(self.webpackChunkagv6_ui=self.webpackChunkagv6_ui||[]).push([[179],{2237:jt=>{jt.exports=function(){var u=["navigation","request","process","log","user","state","error","manual"],e=function(lt,Ut,Kt){for(var Qt=Kt,vn=0,kn=lt.length;vn<kn;vn++)Qt=Ut(Qt,lt[vn],vn,lt);return Qt},m=function(lt,Ut){return e(lt,function(Kt,Qt,vn,kn){return Ut(Qt,vn,kn)?Kt.concat(Qt):Kt},[])},p=function(lt,Ut){return e(lt,function(Kt,Qt,vn,kn){return!0===Kt||Qt===Ut},!1)},U=function(lt){return"[object Array]"===Object.prototype.toString.call(lt)},n=!{toString:null}.propertyIsEnumerable("toString"),I=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],L=function(lt){var Kt,Ut=[];for(Kt in lt)Object.prototype.hasOwnProperty.call(lt,Kt)&&Ut.push(Kt);if(!n)return Ut;for(var Qt=0,vn=I.length;Qt<vn;Qt++)Object.prototype.hasOwnProperty.call(lt,I[Qt])&&Ut.push(I[Qt]);return Ut},y=function(lt,Ut){return void 0===lt&&(lt=1),void 0===Ut&&(Ut=1/0),function(Kt){return"number"==typeof Kt&&parseInt(""+Kt,10)===Kt&&Kt>=lt&&Kt<=Ut}},O=function(lt){return"function"==typeof lt||U(lt)&&m(lt,function(Ut){return"function"==typeof Ut}).length===lt.length},M=function(lt){return"string"==typeof lt&&!!lt.length},E={};E.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:M},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(lt){return void 0===lt||M(lt)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(lt){return void 0===lt||M(lt)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(lt){return!0===lt||!1===lt}},enabledErrorTypes:{defaultValue:function(){return{unhandledExceptions:!0,unhandledRejections:!0}},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(lt){if("object"!=typeof lt||!lt)return!1;var Ut=L(lt),Kt=L({unhandledExceptions:!0,unhandledRejections:!0});return!(m(Ut,function(Qt){return p(Kt,Qt)}).length<Ut.length||m(L(lt),function(Qt){return"boolean"!=typeof lt[Qt]}).length>0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:O},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:O},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:O},endpoints:{defaultValue:function(){return{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}},message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(lt){return lt&&"object"==typeof lt&&M(lt.notify)&&M(lt.sessions)&&0===m(L(lt),function(Ut){return!p(["notify","sessions"],Ut)}).length}},autoTrackSessions:{defaultValue:function(lt){return!0},message:"should be true|false",validate:function(lt){return!0===lt||!1===lt}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(lt){return null===lt||U(lt)&&m(lt,function(Ut){return"string"==typeof Ut}).length===lt.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(lt){return"string"==typeof lt&&lt.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number \u2264100",validate:function(lt){return y(0,100)(lt)}},enabledBreadcrumbTypes:{defaultValue:function(){return u},message:"should be null or a list of available breadcrumb types ("+u.join(",")+")",validate:function(lt){return null===lt||U(lt)&&e(lt,function(Ut,Kt){return!1===Ut?Ut:p(u,Kt)},!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(lt){return void 0===lt||"string"==typeof lt}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(lt){return null===lt||lt&&e(L(lt),function(Ut,Kt){return Ut&&p(["id","email","name"],Kt)},!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(lt){return"object"==typeof lt&&null!==lt}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(lt){return!lt||lt&&e(["debug","info","warn","error"],function(Ut,Kt){return Ut&&"function"==typeof lt[Kt]},!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(lt){return U(lt)&&lt.length===m(lt,function(Ut){return"string"==typeof Ut||Ut&&"function"==typeof Ut.test}).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(lt){return U(lt)&&lt.length===m(lt,function(Ut){return Ut&&"object"==typeof Ut&&"function"==typeof Ut.load}).length}},featureFlags:{defaultValue:function(){return[]},message:'should be an array of objects that have a "name" property',validate:function(lt){return U(lt)&&lt.length===m(lt,function(Ut){return Ut&&"object"==typeof Ut&&"string"==typeof Ut.name}).length}}};var S=function(lt){for(var Ut=1;Ut<arguments.length;Ut++){var Kt=arguments[Ut];for(var Qt in Kt)Object.prototype.hasOwnProperty.call(Kt,Qt)&&(lt[Qt]=Kt[Qt])}return lt},Z=function(lt,Ut){return e(lt,function(Kt,Qt,vn,kn){return Kt.concat(Ut(Qt,vn,kn))},[])};function oe(){return oe=Object.assign||function(lt){for(var Ut=1;Ut<arguments.length;Ut++){var Kt=arguments[Ut];for(var Qt in Kt)Object.prototype.hasOwnProperty.call(Kt,Qt)&&(lt[Qt]=Kt[Qt])}return lt},oe.apply(this,arguments)}var le=E.schema,ee={releaseStage:S({},le.releaseStage,{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"}}),appType:oe({},le.appType,{defaultValue:function(){return"browser"}}),logger:S({},le.logger,{defaultValue:function(){return typeof console<"u"&&"function"==typeof console.debug?K():void 0}})},K=function(){var lt={},Ut=console.log;return Z(["debug","info","warn","error"],function(Kt){var Qt=console[Kt];lt[Kt]="function"==typeof Qt?Qt.bind(console,"[bugsnag]"):Ut.bind(console,"[bugsnag]")}),lt},q=function(){function lt(Kt,Qt,vn,kn){void 0===kn&&(kn=new Date),this.type=vn,this.message=Kt,this.metadata=Qt,this.timestamp=kn}return lt.prototype.toJSON=function(){return{type:this.type,name:this.message,timestamp:this.timestamp,metaData:this.metadata}},lt}(),H={};!function(lt,Ut){"use strict";"object"==typeof H?H=Ut():lt.StackFrame=Ut()}(this,function(){"use strict";function lt(ki){return!isNaN(parseFloat(ki))&&isFinite(ki)}function Ut(ki){return ki.charAt(0).toUpperCase()+ki.substring(1)}function Kt(ki){return function(){return this[ki]}}var Qt=["isConstructor","isEval","isNative","isToplevel"],vn=["columnNumber","lineNumber"],kn=["fileName","functionName","source"],gi=Qt.concat(vn,kn,["args"]);function oi(ki){if(ki instanceof Object)for(var Hi=0;Hi<gi.length;Hi++)ki.hasOwnProperty(gi[Hi])&&void 0!==ki[gi[Hi]]&&this["set"+Ut(gi[Hi])](ki[gi[Hi]])}oi.prototype={getArgs:function(){return this.args},setArgs:function(ki){if("[object Array]"!==Object.prototype.toString.call(ki))throw new TypeError("Args must be an Array");this.args=ki},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(ki){if(ki instanceof oi)this.evalOrigin=ki;else{if(!(ki instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new oi(ki)}},toString:function(){return(this.getFunctionName()||"{anonymous}")+"("+(this.getArgs()||[]).join(",")+")"+(this.getFileName()?"@"+this.getFileName():"")+(lt(this.getLineNumber())?":"+this.getLineNumber():"")+(lt(this.getColumnNumber())?":"+this.getColumnNumber():"")}};for(var Pi=0;Pi<Qt.length;Pi++)oi.prototype["get"+Ut(Qt[Pi])]=Kt(Qt[Pi]),oi.prototype["set"+Ut(Qt[Pi])]=function(ki){return function(Hi){this[ki]=!!Hi}}(Qt[Pi]);for(var wi=0;wi<vn.length;wi++)oi.prototype["get"+Ut(vn[wi])]=Kt(vn[wi]),oi.prototype["set"+Ut(vn[wi])]=function(ki){return function(Hi){if(!lt(Hi))throw new TypeError(ki+" must be a Number");this[ki]=Number(Hi)}}(vn[wi]);for(var $i=0;$i<kn.length;$i++)oi.prototype["get"+Ut(kn[$i])]=Kt(kn[$i]),oi.prototype["set"+Ut(kn[$i])]=function(ki){return function(Hi){this[ki]=String(Hi)}}(kn[$i]);return oi});var T={};!function(lt,Ut){"use strict";"object"==typeof T?T=Ut(H):lt.ErrorStackParser=Ut(lt.StackFrame)}(this,function(Ut){"use strict";var Kt=/(^|@)\S+\:\d+/,Qt=/^\s*at .*(\S+\:\d+|\(native\))/m,vn=/^(eval@)?(\[native code\])?$/;return{parse:function(zn){if(typeof zn.stacktrace<"u"||typeof zn["opera#sourceloc"]<"u")return this.parseOpera(zn);if(zn.stack&&zn.stack.match(Qt))return this.parseV8OrIE(zn);if(zn.stack)return this.parseFFOrSafari(zn);throw new Error("Cannot parse given Error object")},extractLocation:function(zn){if(-1===zn.indexOf(":"))return[zn];var oi=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(zn.replace(/[\(\)]/g,""));return[oi[1],oi[2]||void 0,oi[3]||void 0]},parseV8OrIE:function(zn){return zn.stack.split("\n").filter(function(oi){return!!oi.match(Qt)},this).map(function(oi){oi.indexOf("(eval ")>-1&&(oi=oi.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var Pi=oi.replace(/^\s+/,"").replace(/\(eval code/g,"("),wi=Pi.match(/ (\((.+):(\d+):(\d+)\)$)/),$i=(Pi=wi?Pi.replace(wi[0],""):Pi).split(/\s+/).slice(1),ki=this.extractLocation(wi?wi[1]:$i.pop()),Hi=$i.join(" ")||void 0,D=["eval","<anonymous>"].indexOf(ki[0])>-1?void 0:ki[0];return new Ut({functionName:Hi,fileName:D,lineNumber:ki[1],columnNumber:ki[2],source:oi})},this)},parseFFOrSafari:function(zn){return zn.stack.split("\n").filter(function(oi){return!oi.match(vn)},this).map(function(oi){if(oi.indexOf(" > eval")>-1&&(oi=oi.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===oi.indexOf("@")&&-1===oi.indexOf(":"))return new Ut({functionName:oi});var Pi=/((.*".+"[^@]*)?[^@]*)(?:@)/,wi=oi.match(Pi),$i=wi&&wi[1]?wi[1]:void 0,ki=this.extractLocation(oi.replace(Pi,""));return new Ut({functionName:$i,fileName:ki[0],lineNumber:ki[1],columnNumber:ki[2],source:oi})},this)},parseOpera:function(zn){return!zn.stacktrace||zn.message.indexOf("\n")>-1&&zn.message.split("\n").length>zn.stacktrace.split("\n").length?this.parseOpera9(zn):zn.stack?this.parseOpera11(zn):this.parseOpera10(zn)},parseOpera9:function(zn){for(var gi=/Line (\d+).*script (?:in )?(\S+)/i,oi=zn.message.split("\n"),Pi=[],wi=2,$i=oi.length;wi<$i;wi+=2){var ki=gi.exec(oi[wi]);ki&&Pi.push(new Ut({fileName:ki[2],lineNumber:ki[1],source:oi[wi]}))}return Pi},parseOpera10:function(zn){for(var gi=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,oi=zn.stacktrace.split("\n"),Pi=[],wi=0,$i=oi.length;wi<$i;wi+=2){var ki=gi.exec(oi[wi]);ki&&Pi.push(new Ut({functionName:ki[3]||void 0,fileName:ki[2],lineNumber:ki[1],source:oi[wi]}))}return Pi},parseOpera11:function(zn){return zn.stack.split("\n").filter(function(oi){return!!oi.match(Kt)&&!oi.match(/^Error created at/)},this).map(function(oi){var Hi,Pi=oi.split("@"),wi=this.extractLocation(Pi.pop()),$i=Pi.shift()||"",ki=$i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;$i.match(/\(([^\)]*)\)/)&&(Hi=$i.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var D=void 0===Hi||"[arguments not available]"===Hi?void 0:Hi.split(",");return new Ut({functionName:ki,args:D,fileName:wi[0],lineNumber:wi[1],columnNumber:wi[2],source:oi})},this)}}});var ie=T,_e=function(lt,Ut,Kt,Qt){return JSON.stringify(function we(lt,Ut,Kt){var Qt=[],vn=0;function kn(zn,gi){function oi(){return gi.length>ae&&vn>Ve}if(vn++,gi.length>Ce||oi())return pe;if(null===zn||"object"!=typeof zn)return zn;if(function dt(lt,Ut){for(var Kt=0,Qt=lt.length;Kt<Qt;Kt++)if(lt[Kt]===Ut)return!0;return!1}(Qt,zn))return"[Circular]";if(Qt.push(zn),"function"==typeof zn.toJSON)try{vn--;var Pi=kn(zn.toJSON(),gi);return Qt.pop(),Pi}catch(je){return Ze(je)}if(function Ae(lt){return lt instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(lt))}(zn)){vn--;var $i=kn({name:zn.name,message:zn.message},gi);return Qt.pop(),$i}if(function Ie(lt){return"[object Array]"===Object.prototype.toString.call(lt)}(zn)){for(var ki=[],Hi=0,D=zn.length;Hi<D;Hi++){if(oi()){ki.push(pe);break}ki.push(kn(zn[Hi],gi.concat("[]")))}return Qt.pop(),ki}var te={};try{for(var Pe in zn)if(Object.prototype.hasOwnProperty.call(zn,Pe)){if(Fe(Kt,gi.join("."))&&Xe(Ut,Pe)){te[Pe]="[REDACTED]";continue}if(oi()){te[Pe]=pe;break}te[Pe]=kn(W(zn,Pe),gi.concat(Pe))}}catch{}return Qt.pop(),te}return kn(lt,[])}(lt,Qt&&Qt.redactedKeys?Qt.redactedKeys:[],Qt&&Qt.redactedPaths?Qt.redactedPaths:[]),Ut,Kt)},Ce=20,Ve=25e3,ae=8,pe="...";function Ze(lt){return"[Throws: "+(lt?lt.message:"?")+"]"}function Fe(lt,Ut){for(var Kt=0,Qt=lt.length;Kt<Qt;Kt++)if(0===Ut.indexOf(lt[Kt]))return!0;return!1}function Xe(lt,Ut){for(var Kt=0,Qt=lt.length;Kt<Qt;Kt++)if("string"==typeof lt[Kt]&&lt[Kt].toLowerCase()===Ut.toLowerCase()||lt[Kt]&&"function"==typeof lt[Kt].test&&lt[Kt].test(Ut))return!0;return!1}function W(lt,Ut){try{return lt[Ut]}catch(Kt){return Ze(Kt)}}function P(lt,Ut,Kt,Qt){if("string"==typeof Kt){void 0===Qt?Qt=null:null!==Qt&&"string"!=typeof Qt&&(Qt=_e(Qt));var vn=Ut[Kt];if("number"==typeof vn)return void(lt[vn]={name:Kt,variant:Qt});lt.push({name:Kt,variant:Qt}),Ut[Kt]=lt.length-1}}var be={add:P,clear:function G(lt,Ut,Kt){var Qt=Ut[Kt];"number"==typeof Qt&&(lt[Qt]=null,delete Ut[Kt])},merge:function V(lt,Ut,Kt){if(U(Ut)){for(var Qt=0;Qt<Ut.length;++Qt){var vn=Ut[Qt];null===vn||"object"!=typeof vn||P(lt,Kt,vn.name,vn.variant)}return lt}},toEventApi:function Se(lt){return Z(m(lt,Boolean),function(Ut){var Qt=Ut.variant,vn={featureFlag:Ut.name};return"string"==typeof Qt&&(vn.variant=Qt),vn})}},de=function(lt){return!(!lt||!lt.stack&&!lt.stacktrace&&!lt["opera#sourceloc"]||"string"!=typeof(lt.stack||lt.stacktrace||lt["opera#sourceloc"])||lt.stack===lt.name+": "+lt.message)};var Re=function tt(lt){switch(Object.prototype.toString.call(lt)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return lt instanceof Error}},sn=function(lt,Ut,Kt){if("string"==typeof Ut){if(!Kt)return void delete lt[Ut];lt[Ut]&&delete lt[Ut][Kt]}},hn={add:function(lt,Ut,Kt,Qt){var vn;if(Ut){var kn;if(null===Kt)return sn(lt,Ut);"object"==typeof Kt&&(kn=Kt),"string"==typeof Kt&&((vn={})[Kt]=Qt,kn=vn),kn&&(lt[Ut]||(lt[Ut]={}),lt[Ut]=S({},lt[Ut],kn))}},get:function(lt,Ut,Kt){if("string"==typeof Ut){if(!Kt)return lt[Ut];if(lt[Ut])return lt[Ut][Kt]}},clear:sn},Nn={};!function(lt,Ut){"use strict";"object"==typeof Nn?Nn=Ut(H):lt.StackGenerator=Ut(lt.StackFrame)}(this,function(lt){return{backtrace:function(Kt){var Qt=[],vn=10;"object"==typeof Kt&&"number"==typeof Kt.maxStackSize&&(vn=Kt.maxStackSize);for(var kn=arguments.callee;kn&&Qt.length<vn&&kn.arguments;){for(var zn=new Array(kn.arguments.length),gi=0;gi<zn.length;++gi)zn[gi]=kn.arguments[gi];/function(?:\s+([\w$]+))+\s*\(/.test(kn.toString())?Qt.push(new lt({functionName:RegExp.$1||void 0,args:zn})):Qt.push(new lt({args:zn}));try{kn=kn.caller}catch{break}}return Qt}}});var Jt=function(){function lt(Kt,Qt,vn,kn,zn){void 0===vn&&(vn=[]),void 0===kn&&(kn=fe()),this.apiKey=void 0,this.context=void 0,this.groupingHash=void 0,this.originalError=zn,this._handledState=kn,this.severity=this._handledState.severity,this.unhandled=this._handledState.unhandled,this.app={},this.device={},this.request={},this.breadcrumbs=[],this.threads=[],this._metadata={},this._features=[],this._featuresIndex={},this._user={},this._session=void 0,this.errors=[$(Kt,Qt,lt.__type,vn)]}var Ut=lt.prototype;return Ut.addMetadata=function(Qt,vn,kn){return hn.add(this._metadata,Qt,vn,kn)},Ut.getMetadata=function(Qt,vn){return hn.get(this._metadata,Qt,vn)},Ut.clearMetadata=function(Qt,vn){return hn.clear(this._metadata,Qt,vn)},Ut.addFeatureFlag=function(Qt,vn){void 0===vn&&(vn=null),be.add(this._features,this._featuresIndex,Qt,vn)},Ut.addFeatureFlags=function(Qt){be.merge(this._features,Qt,this._featuresIndex)},Ut.getFeatureFlags=function(){return be.toEventApi(this._features)},Ut.clearFeatureFlag=function(Qt){be.clear(this._features,this._featuresIndex,Qt)},Ut.clearFeatureFlags=function(){this._features=[],this._featuresIndex={}},Ut.getUser=function(){return this._user},Ut.setUser=function(Qt,vn,kn){this._user={id:Qt,email:vn,name:kn}},Ut.toJSON=function(){return{payloadVersion:"4",exceptions:Z(this.errors,function(Qt){return S({},Qt,{message:Qt.errorMessage})}),severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,request:this.request,breadcrumbs:this.breadcrumbs,context:this.context,groupingHash:this.groupingHash,metaData:this._metadata,user:this._user,session:this._session,featureFlags:this.getFeatureFlags()}},lt}(),cn=function(lt){var Ut={file:lt.fileName,method:He(lt.functionName),lineNumber:lt.lineNumber,columnNumber:lt.columnNumber,code:void 0,inProject:void 0};return Ut.lineNumber>-1&&!Ut.file&&!Ut.method&&(Ut.file="global code"),Ut},He=function(lt){return/^global code$/i.test(lt)?"global code":lt},fe=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},Ne=function(lt){return"string"==typeof lt?lt:""};function $(lt,Ut,Kt,Qt){return{errorClass:Ne(lt),errorMessage:Ne(Ut),type:Kt,stacktrace:e(Qt,function(vn,kn){var zn=cn(kn);try{return"{}"===JSON.stringify(zn)?vn:vn.concat(zn)}catch{return vn}},[])}}function Ee(lt){return lt.cause?[lt].concat(Ee(lt.cause)):[lt]}Jt.getStacktrace=function(lt,Ut,Kt){if(de(lt))return ie.parse(lt).slice(Ut);try{return m(Nn.backtrace(),function(Qt){return-1===(Qt.functionName||"").indexOf("StackGenerator$$")}).slice(1+Kt)}catch{return[]}},Jt.create=function(lt,Ut,Kt,Qt,vn,kn){void 0===vn&&(vn=0);var Pi,zn=Ke(lt,Ut,Qt,kn),gi=zn[0],oi=zn[1];try{var wi=Jt.getStacktrace(gi,oi>0?1+oi+vn:0,1+vn);Pi=new Jt(gi.name,gi.message,wi,Kt,lt)}catch{Pi=new Jt(gi.name,gi.message,[],Kt,lt)}if("InvalidError"===gi.name&&Pi.addMetadata(""+Qt,"non-error parameter",Ge(lt)),gi.cause){var $i,ki=Ee(gi).slice(1),Hi=Z(ki,function(D){var te=Re(D)&&de(D)?ie.parse(D):[],je=Ke(D,!0,"error cause")[0];return"InvalidError"===je.name&&Pi.addMetadata("error cause",Ge(D)),$(je.name,je.message,Jt.__type,te)});($i=Pi.errors).push.apply($i,Hi)}return Pi};var Ge=function(lt){return null===lt?"null":void 0===lt?"undefined":lt},Ke=function(lt,Ut,Kt,Qt){var vn,kn=0,zn=function(gi){var oi="error cause"===Kt?"was":"received";Qt&&Qt.warn(Kt+" "+oi+' a non-error: "'+gi+'"');var Pi=new Error(Kt+" "+oi+' a non-error. See "'+Kt+'" tab for more detail.');return Pi.name="InvalidError",Pi};if(Ut)switch(typeof lt){case"string":case"number":case"boolean":vn=new Error(String(lt)),kn+=1;break;case"function":vn=zn("function"),kn+=2;break;case"object":null!==lt&&Re(lt)?vn=lt:null!==lt&&Et(lt)?((vn=new Error(lt.message||lt.errorMessage)).name=lt.name||lt.errorClass,kn+=1):(vn=zn(null===lt?"null":"unsupported object"),kn+=2);break;default:vn=zn("nothing"),kn+=2}else Re(lt)?vn=lt:(vn=zn(typeof lt),kn+=2);if(!de(vn))try{throw vn}catch(gi){de(gi)&&(vn=gi,kn=1)}return[vn,kn]};Jt.__type="browserjs";var Et=function(lt){return!("string"!=typeof lt.name&&"string"!=typeof lt.errorClass||"string"!=typeof lt.message&&"string"!=typeof lt.errorMessage)},Tt=Jt,Nt=function(lt,Ut,Kt,Qt){for(var vn=!1,kn=lt.slice();!vn&&kn.length;)try{vn=!1===kn.pop()(Ut)}catch(zn){Qt.error("Error occurred in "+Kt+" callback, continuing anyway\u2026"),Qt.error(zn)}return vn},ft=function(Ut,Kt){var Qt="000000000"+Ut;return Qt.substr(Qt.length-Kt)},Bt="object"==typeof window?window:self,Ue=0;for(var nt in Bt)Object.hasOwnProperty.call(Bt,nt)&&Ue++;var Ye=navigator.mimeTypes?navigator.mimeTypes.length:0,zt=ft((Ye+navigator.userAgent.length).toString(36)+Ue.toString(36),4),$t=function(){return zt},Mn=0,Wn=4,di=36,Pt=Math.pow(di,Wn);function Xt(){return ft((Math.random()*Pt<<0).toString(di),Wn)}function ue(){return"c"+(new Date).getTime().toString(di)+ft(function Le(){return Mn=Mn<Pt?Mn:0,++Mn-1}().toString(di),Wn)+$t()+(Xt()+Xt())}ue.fingerprint=$t;var X=ue,et=function(){function lt(){this.id=X(),this.startedAt=new Date,this._handled=0,this._unhandled=0,this._user={},this.app={},this.device={}}var Ut=lt.prototype;return Ut.getUser=function(){return this._user},Ut.setUser=function(Qt,vn,kn){this._user={id:Qt,email:vn,name:kn}},Ut.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},Ut._track=function(Qt){this[Qt._handledState.unhandled?"_unhandled":"_handled"]+=1},lt}(),j=be.add,F=be.clear,N=be.merge,k=function(){},ne=function(){function lt(Kt,Qt,vn,kn){var zn=this;void 0===Qt&&(Qt=E.schema),void 0===vn&&(vn=[]),this._notifier=kn,this._config={},this._schema=Qt,this._delivery={sendSession:k,sendEvent:k},this._logger={debug:k,info:k,warn:k,error:k},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._featuresIndex={},this._features=[],this._context=void 0,this._user={},this._cbs={e:[],s:[],sp:[],b:[]},this.Client=lt,this.Event=Tt,this.Breadcrumb=q,this.Session=et,this._config=this._configure(Kt,vn),Z(vn.concat(this._config.plugins),function(Pi){Pi&&zn._loadPlugin(Pi)}),this._depth=1;var gi=this,oi=this.notify;this.notify=function(){return oi.apply(gi,arguments)}}var Ut=lt.prototype;return Ut.addMetadata=function(Qt,vn,kn){return hn.add(this._metadata,Qt,vn,kn)},Ut.getMetadata=function(Qt,vn){return hn.get(this._metadata,Qt,vn)},Ut.clearMetadata=function(Qt,vn){return hn.clear(this._metadata,Qt,vn)},Ut.addFeatureFlag=function(Qt,vn){void 0===vn&&(vn=null),j(this._features,this._featuresIndex,Qt,vn)},Ut.addFeatureFlags=function(Qt){N(this._features,Qt,this._featuresIndex)},Ut.clearFeatureFlag=function(Qt){F(this._features,this._featuresIndex,Qt)},Ut.clearFeatureFlags=function(){this._features=[],this._featuresIndex={}},Ut.getContext=function(){return this._context},Ut.setContext=function(Qt){this._context=Qt},Ut._configure=function(Qt,vn){var kn=e(vn,function(Pi,wi){return wi&&wi.configSchema?S({},Pi,wi.configSchema):Pi},this._schema),zn=e(L(kn),function(Pi,wi){var $i=kn[wi].defaultValue(Qt[wi]);return void 0!==Qt[wi]?kn[wi].validate(Qt[wi])?Pi.config[wi]=kn[wi].allowPartialObject?S($i,Qt[wi]):Qt[wi]:(Pi.errors[wi]=kn[wi].message,Pi.config[wi]=$i):Pi.config[wi]=$i,Pi},{errors:{},config:{}}),gi=zn.errors,oi=zn.config;if(kn.apiKey){if(!oi.apiKey)throw new Error("No Bugsnag API Key set");/^[0-9a-f]{32}$/i.test(oi.apiKey)||(gi.apiKey="should be a string of 32 hexadecimal characters")}return this._metadata=S({},oi.metadata),N(this._features,oi.featureFlags,this._featuresIndex),this._user=S({},oi.user),this._context=oi.context,oi.logger&&(this._logger=oi.logger),oi.onError&&(this._cbs.e=this._cbs.e.concat(oi.onError)),oi.onBreadcrumb&&(this._cbs.b=this._cbs.b.concat(oi.onBreadcrumb)),oi.onSession&&(this._cbs.s=this._cbs.s.concat(oi.onSession)),L(gi).length&&this._logger.warn(z(gi,Qt)),oi},Ut.getUser=function(){return this._user},Ut.setUser=function(Qt,vn,kn){this._user={id:Qt,email:vn,name:kn}},Ut._loadPlugin=function(Qt){var vn=Qt.load(this);return Qt.name&&(this._plugins["~"+Qt.name+"~"]=vn),this},Ut.getPlugin=function(Qt){return this._plugins["~"+Qt+"~"]},Ut._setDelivery=function(Qt){this._delivery=Qt(this)},Ut.startSession=function(){var Qt=new et;return Qt.app.releaseStage=this._config.releaseStage,Qt.app.version=this._config.appVersion,Qt.app.type=this._config.appType,Qt._user=S({},this._user),Nt(this._cbs.s,Qt,"onSession",this._logger)?(this._logger.debug("Session not started due to onSession callback"),this):this._sessionDelegate.startSession(this,Qt)},Ut.addOnError=function(Qt,vn){void 0===vn&&(vn=!1),this._cbs.e[vn?"unshift":"push"](Qt)},Ut.removeOnError=function(Qt){this._cbs.e=m(this._cbs.e,function(vn){return vn!==Qt})},Ut._addOnSessionPayload=function(Qt){this._cbs.sp.push(Qt)},Ut.addOnSession=function(Qt){this._cbs.s.push(Qt)},Ut.removeOnSession=function(Qt){this._cbs.s=m(this._cbs.s,function(vn){return vn!==Qt})},Ut.addOnBreadcrumb=function(Qt,vn){void 0===vn&&(vn=!1),this._cbs.b[vn?"unshift":"push"](Qt)},Ut.removeOnBreadcrumb=function(Qt){this._cbs.b=m(this._cbs.b,function(vn){return vn!==Qt})},Ut.pauseSession=function(){return this._sessionDelegate.pauseSession(this)},Ut.resumeSession=function(){return this._sessionDelegate.resumeSession(this)},Ut.leaveBreadcrumb=function(Qt,vn,kn){if(Qt="string"==typeof Qt?Qt:"",kn="string"==typeof kn&&p(u,kn)?kn:"manual",vn="object"==typeof vn&&null!==vn?vn:{},Qt){var zn=new q(Qt,vn,kn);if(Nt(this._cbs.b,zn,"onBreadcrumb",this._logger))return void this._logger.debug("Breadcrumb not attached due to onBreadcrumb callback");this._breadcrumbs.push(zn),this._breadcrumbs.length>this._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs))}},Ut._isBreadcrumbTypeEnabled=function(Qt){var vn=this._config.enabledBreadcrumbTypes;return null===vn||p(vn,Qt)},Ut.notify=function(Qt,vn,kn){void 0===kn&&(kn=k);var zn=Tt.create(Qt,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(zn,vn,kn)},Ut._notify=function(Qt,vn,kn){var zn=this;if(void 0===kn&&(kn=k),Qt.app=S({},Qt.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),Qt.context=Qt.context||this._context,Qt._metadata=S({},Qt._metadata,this._metadata),Qt._user=S({},Qt._user,this._user),Qt.breadcrumbs=this._breadcrumbs.slice(),N(Qt._features,this._features,Qt._featuresIndex),null!==this._config.enabledReleaseStages&&!p(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),kn(null,Qt);var gi=Qt.severity,oi=function(wi){zn._logger.error("Error occurred in onError callback, continuing anyway\u2026"),zn._logger.error(wi)};!function(lt,Ut,Kt,Qt){!function(lt,Ut,Kt){var Qt=0,vn=function(){if(Qt>=lt.length)return Kt(null,!0);Ut(lt[Qt],function(kn,zn){return kn?Kt(kn):!1===zn?Kt(null,!1):(Qt++,void vn())})};vn()}(lt,function(kn,zn){if("function"!=typeof kn)return zn(null);try{if(2!==kn.length){var gi=kn(Ut);return gi&&"function"==typeof gi.then?gi.then(function(oi){return setTimeout(function(){return zn(null,oi)})},function(oi){setTimeout(function(){return Kt(oi),zn(null,!0)})}):zn(null,gi)}kn(Ut,function(oi,Pi){if(oi)return Kt(oi),zn(null);zn(null,Pi)})}catch(oi){Kt(oi),zn(null)}},Qt)}([].concat(this._cbs.e).concat(vn),Qt,oi,function(wi,$i){if(wi&&oi(wi),!$i)return zn._logger.debug("Event not sent due to onError callback"),kn(null,Qt);zn._isBreadcrumbTypeEnabled("error")&&lt.prototype.leaveBreadcrumb.call(zn,Qt.errors[0].errorClass,{errorClass:Qt.errors[0].errorClass,errorMessage:Qt.errors[0].errorMessage,severity:Qt.severity},"error"),gi!==Qt.severity&&(Qt._handledState.severityReason={type:"userCallbackSetSeverity"}),Qt.unhandled!==Qt._handledState.unhandled&&(Qt._handledState.severityReason.unhandledOverridden=!0,Qt._handledState.unhandled=Qt.unhandled),zn._session&&(zn._session._track(Qt),Qt._session=zn._session),zn._delivery.sendEvent({apiKey:Qt.apiKey||zn._config.apiKey,notifier:zn._notifier,events:[Qt]},function(ki){return kn(ki,Qt)})})},lt}(),z=function(lt,Ut){return new Error("Invalid configuration\n"+Z(L(lt),function(Qt){return"  - "+Qt+" "+lt[Qt]+", got "+re(Ut[Qt])}).join("\n\n"))},re=function(lt){switch(typeof lt){case"string":case"number":case"object":return JSON.stringify(lt);default:return String(lt)}},B=ne,Y={},Qe=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];Y.event=function(lt,Ut){var Kt=_e(lt,null,null,{redactedPaths:Qe,redactedKeys:Ut});return Kt.length>1e6&&(lt.events[0]._metadata={notifier:"WARNING!\nSerialized payload was "+Kt.length/1e6+"MB (limit = 1MB)\nmetadata was removed"},Kt=_e(lt,null,null,{redactedPaths:Qe,redactedKeys:Ut})),Kt},Y.session=function(lt,Ut){return _e(lt,null,null)};var _t;_t=function(lt,Ut){return void 0===Ut&&(Ut=window),{sendEvent:function(Kt,Qt){void 0===Qt&&(Qt=function(){});var vn=Vt(lt._config,"notify","4",Ut),kn=Y.event(Kt,lt._config.redactedKeys),zn=new Ut.XDomainRequest;zn.onload=function(){Qt(null)},zn.onerror=function(){var gi=new Error("Event failed to send");lt._logger.error("Event failed to send\u2026",gi),kn.length>1e6&&lt._logger.warn("Event oversized ("+(kn.length/1e6).toFixed(2)+" MB)"),Qt(gi)},zn.open("POST",vn),setTimeout(function(){try{zn.send(kn)}catch(gi){lt._logger.error(gi),Qt(gi)}},0)},sendSession:function(Kt,Qt){void 0===Qt&&(Qt=function(){});var vn=Vt(lt._config,"sessions","1",Ut),kn=new Ut.XDomainRequest;kn.onload=function(){Qt(null)},kn.open("POST",vn),setTimeout(function(){try{kn.send(Y.session(Kt,lt._config.redactedKeys))}catch(zn){lt._logger.error(zn),Qt(zn)}},0)}}};var Vt=function(lt,Ut,Kt,Qt){var vn=JSON.parse(JSON.stringify(new Date));return bn(lt.endpoints[Ut],Qt.location.protocol)+"?apiKey="+encodeURIComponent(lt.apiKey)+"&payloadVersion="+Kt+"&sentAt="+encodeURIComponent(vn)},bn=_t._matchPageProtocol=function(lt,Ut){return"http:"===Ut?lt.replace(/^https:/,"http:"):lt},xn=function(lt,Ut){return void 0===Ut&&(Ut=window),{sendEvent:function(Kt,Qt){void 0===Qt&&(Qt=function(){});try{var vn=lt._config.endpoints.notify,kn=new Ut.XMLHttpRequest,zn=Y.event(Kt,lt._config.redactedKeys);kn.onreadystatechange=function(){if(kn.readyState===Ut.XMLHttpRequest.DONE){var gi=kn.status;if(0===gi||gi>=400){var oi=new Error("Request failed with status "+gi);lt._logger.error("Event failed to send\u2026",oi),zn.length>1e6&&lt._logger.warn("Event oversized ("+(zn.length/1e6).toFixed(2)+" MB)"),Qt(oi)}else Qt(null)}},kn.open("POST",vn),kn.setRequestHeader("Content-Type","application/json"),kn.setRequestHeader("Bugsnag-Api-Key",Kt.apiKey||lt._config.apiKey),kn.setRequestHeader("Bugsnag-Payload-Version","4"),kn.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),kn.send(zn)}catch(gi){lt._logger.error(gi)}},sendSession:function(Kt,Qt){void 0===Qt&&(Qt=function(){});try{var vn=lt._config.endpoints.sessions,kn=new Ut.XMLHttpRequest;kn.onreadystatechange=function(){if(kn.readyState===Ut.XMLHttpRequest.DONE){var zn=kn.status;if(0===zn||zn>=400){var gi=new Error("Request failed with status "+zn);lt._logger.error("Session failed to send\u2026",gi),Qt(gi)}else Qt(null)}},kn.open("POST",vn),kn.setRequestHeader("Content-Type","application/json"),kn.setRequestHeader("Bugsnag-Api-Key",lt._config.apiKey),kn.setRequestHeader("Bugsnag-Payload-Version","1"),kn.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),kn.send(Y.session(Kt,lt._config.redactedKeys))}catch(zn){lt._logger.error(zn)}}}},Fn=new Date,Ot=function(){Fn=new Date},En={name:"appDuration",load:function(lt){return lt.addOnError(function(Ut){Ut.app.duration=new Date-Fn},!0),{reset:Ot}}},ye=function(lt){return void 0===lt&&(lt=window),{load:function(Ut){Ut.addOnError(function(Kt){void 0===Kt.context&&(Kt.context=lt.location.pathname)},!0)}}},It=function(Ut,Kt){var Qt="000000000"+Ut;return Qt.substr(Qt.length-Kt)},pt="object"==typeof window?window:self,wt=0;for(var $n in pt)Object.hasOwnProperty.call(pt,$n)&&wt++;var pn=navigator.mimeTypes?navigator.mimeTypes.length:0,Vn=It((pn+navigator.userAgent.length).toString(36)+wt.toString(36),4),Ct=function(){return Vn},nn=0,Wt=4,Pn=36,Un=Math.pow(Pn,Wt);function jn(){return It((Math.random()*Un<<0).toString(Pn),Wt)}function Ai(){return"c"+(new Date).getTime().toString(Pn)+It(function ui(){return nn=nn<Un?nn:0,++nn-1}().toString(Pn),Wt)+Ct()+(jn()+jn())}Ai.fingerprint=Ct;var hi=Ai,Xi="bugsnag-anonymous-id",xi=function(lt,Ut){return void 0===lt&&(lt=navigator),void 0===Ut&&(Ut=window),{load:function(Kt){var Qt={locale:lt.browserLanguage||lt.systemLanguage||lt.userLanguage||lt.language,userAgent:lt.userAgent};Ut&&Ut.screen&&Ut.screen.orientation&&Ut.screen.orientation.type?Qt.orientation=Ut.screen.orientation.type:Ut&&Ut.document&&(Qt.orientation=Ut.document.documentElement.clientWidth>Ut.document.documentElement.clientHeight?"landscape":"portrait"),Kt._config.generateAnonymousId&&(Qt.id=function(lt){try{var Ut=lt.localStorage,Kt=Ut.getItem(Xi);return Kt&&/^c[a-z0-9]{20,32}$/.test(Kt)||(Kt=hi(),Ut.setItem(Xi,Kt)),Kt}catch{}}(Ut)),Kt.addOnSession(function(vn){vn.device=S({},vn.device,Qt),Kt._config.collectUserIp||Bi(vn)}),Kt.addOnError(function(vn){vn.device=S({},vn.device,Qt,{time:new Date}),Kt._config.collectUserIp||Bi(vn)},!0)},configSchema:{generateAnonymousId:{validate:function(Kt){return!0===Kt||!1===Kt},defaultValue:function(){return!0},message:"should be true|false"}}}},Bi=function(lt){var Ut=lt.getUser();(!Ut||!Ut.id)&&lt.setUser(lt.device.id)},bo=function(lt){return void 0===lt&&(lt=window),{load:function(Ut){Ut.addOnError(function(Kt){Kt.request&&Kt.request.url||(Kt.request=S({},Kt.request,{url:lt.location.href}))},!0)}}},Qi={load:function(lt){lt._sessionDelegate=On}},On={startSession:function(lt,Ut){var Kt=lt;return Kt._session=Ut,Kt._pausedSession=null,null===Kt._config.enabledReleaseStages||p(Kt._config.enabledReleaseStages,Kt._config.releaseStage)?(Kt._delivery.sendSession({notifier:Kt._notifier,device:Ut.device,app:Ut.app,sessions:[{id:Ut.id,startedAt:Ut.startedAt,user:Ut._user}]}),Kt):(Kt._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),Kt)},resumeSession:function(lt){return lt._session?lt:lt._pausedSession?(lt._session=lt._pausedSession,lt._pausedSession=null,lt):lt.startSession()},pauseSession:function(lt){lt._pausedSession=lt._session,lt._session=null}},mi={load:function(lt){lt._config.collectUserIp||lt.addOnError(function(Ut){Ut._user&&typeof Ut._user.id>"u"&&delete Ut._user.id,Ut._user=S({id:"[REDACTED]"},Ut._user),Ut.request=S({clientIp:"[REDACTED]"},Ut.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(lt){return!0===lt||!1===lt}}}},Rt={load:function(lt){/^(local-)?dev(elopment)?$/.test(lt._config.releaseStage)||!lt._isBreadcrumbTypeEnabled("log")||Z(on,function(Kt){var Qt=console[Kt];console[Kt]=function(){for(var vn=arguments.length,kn=new Array(vn),zn=0;zn<vn;zn++)kn[zn]=arguments[zn];lt.leaveBreadcrumb("Console output",e(kn,function(gi,oi,Pi){var wi="[Unknown value]";try{wi=String(oi)}catch{}if("[object Object]"===wi)try{wi=JSON.stringify(oi)}catch{}return gi["["+Pi+"]"]=wi,gi},{severity:0===Kt.indexOf("group")?"log":Kt}),"log"),Qt.apply(console,kn)},console[Kt]._restore=function(){console[Kt]=Qt}})}},on=m(["log","debug","info","warn","error"],function(lt){return typeof console<"u"&&"function"==typeof console[lt]}),st=function(lt,Ut){return void 0===lt&&(lt=document),void 0===Ut&&(Ut=window),{load:function(Kt){if(Kt._config.trackInlineScripts){var Qt=Ut.location.href,vn="",zn=lt.attachEvent?"complete"===lt.readyState:"loading"!==lt.readyState,gi=function(){return lt.documentElement.outerHTML};vn=gi();var oi=lt.onreadystatechange;lt.onreadystatechange=function(){"interactive"===lt.readyState&&(vn=gi(),zn=!0);try{oi.apply(this,arguments)}catch{}};var Pi=null,wi=function(Pe){Pi=Pe},$i=function(){var Pe=lt.currentScript||Pi;if(!Pe&&!zn){var je=lt.scripts||lt.getElementsByTagName("script");Pe=je[je.length-1]}return Pe};Kt.addOnError(function(Pe){Pe.errors[0].stacktrace=m(Pe.errors[0].stacktrace,function(gn){return!/__trace__$/.test(gn.method)});var je=Pe.errors[0].stacktrace[0],bt=function(gn){return gn.replace(/#.*$/,"").replace(/\?.*$/,"")};if(!je||!je.file||bt(je.file)===bt(Qt)){var vt=$i();if(vt){var Lt=vt.innerHTML;Pe.addMetadata("script","content",Lt.length<=5e5?Lt:Lt.substr(0,5e5)),je&&je.lineNumber&&(je.code=function(Pe){(!zn||!vn)&&(vn=gi());var je=["\x3c!-- DOC START --\x3e"].concat(vn.split("\n")),bt=Pe-1,vt=Math.max(bt-3,0),Lt=Math.min(bt+3,je.length);return e(je.slice(vt,Lt),function(gn,mn,In){return gn[vt+1+In]=mn.length<=200?mn:mn.substr(0,200),gn},{})}(je.lineNumber))}}},!0);var D=Z(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(Pe){return Zt(Ut,Pe,function(je){return te(je,function(bt){return{get:function(){return bt[0]},replace:function(vt){bt[0]=vt}}})})})[0];Z(["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"],function(Pe){!Ut[Pe]||!Ut[Pe].prototype||!Object.prototype.hasOwnProperty.call(Ut[Pe].prototype,"addEventListener")||(Zt(Ut[Pe].prototype,"addEventListener",function(je){return te(je,an)}),Zt(Ut[Pe].prototype,"removeEventListener",function(je){return te(je,an,!0)}))})}function te(Pe,je,bt){return void 0===bt&&(bt=!1),function(){var vt=[].slice.call(arguments);try{var Lt=je(vt),gn=Lt.get();if(bt&&Pe.apply(this,vt),"function"!=typeof gn)return Pe.apply(this,vt);if(gn.__trace__)Lt.replace(gn.__trace__);else{var mn=$i();gn.__trace__=function(){wi(mn),D(function(){wi(null)},0);var An=gn.apply(this,arguments);return wi(null),An},gn.__trace__.__trace__=gn.__trace__,Lt.replace(gn.__trace__)}}catch{}if(Pe.apply)return Pe.apply(this,vt);switch(vt.length){case 1:return Pe(vt[0]);case 2:return Pe(vt[0],vt[1]);default:return Pe()}}}},configSchema:{trackInlineScripts:{validate:function(Kt){return!0===Kt||!1===Kt},defaultValue:function(){return!0},message:"should be true|false"}}}};function Zt(lt,Ut,Kt){var Qt=lt[Ut];if(!Qt)return Qt;var vn=Kt(Qt);return lt[Ut]=vn,Qt}function an(lt){var Ut=!!lt[1]&&"function"==typeof lt[1].handleEvent;return{get:function(){return Ut?lt[1].handleEvent:lt[1]},replace:function(Kt){Ut?lt[1].handleEvent=Kt:lt[1]=Kt}}}var Xn=function(lt){return void 0===lt&&(lt=window),{load:function(Ut){"addEventListener"in lt&&Ut._isBreadcrumbTypeEnabled("user")&&lt.addEventListener("click",function(Kt){var Qt,vn;try{Qt=function So(lt){var Ut=lt.textContent||lt.innerText||"";return!Ut&&("submit"===lt.type||"button"===lt.type)&&(Ut=lt.value),(Ut=Ut.replace(fi,"").replace(Ui,"$1")).length>140?Ut.slice(0,135)+"(...)":Ut}(Kt.target),vn=Lo(Kt.target,lt)}catch{Qt="[hidden]",vn="[hidden]",Ut._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}Ut.leaveBreadcrumb("UI click",{targetText:Qt,targetSelector:vn},"user")},!0)}}},fi=/^\s+/,Ui=/(^|[^\s])\s+$/;function Lo(lt,Ut){var Kt=[lt.tagName];if(lt.id&&Kt.push("#"+lt.id),lt.className&&lt.className.length&&Kt.push("."+lt.className.split(" ").join(".")),!Ut.document.querySelectorAll||!Array.prototype.indexOf)return Kt.join("");try{if(1===Ut.document.querySelectorAll(Kt.join("")).length)return Kt.join("")}catch{return Kt.join("")}if(lt.parentNode.childNodes.length>1){var Qt=Array.prototype.indexOf.call(lt.parentNode.childNodes,lt)+1;Kt.push(":nth-child("+Qt+")")}return 1===Ut.document.querySelectorAll(Kt.join("")).length?Kt.join(""):lt.parentNode?Lo(lt.parentNode,Ut)+" > "+Kt.join(""):Kt.join("")}var Co;Co=function(lt){return void 0===lt&&(lt=window),{load:function(Kt){if("addEventListener"in lt&&Kt._isBreadcrumbTypeEnabled("navigation")){var Qt=function(vn){return function(){return Kt.leaveBreadcrumb(vn,{},"navigation")}};lt.addEventListener("pagehide",Qt("Page hidden"),!0),lt.addEventListener("pageshow",Qt("Page shown"),!0),lt.addEventListener("load",Qt("Page loaded"),!0),lt.document.addEventListener("DOMContentLoaded",Qt("DOMContentLoaded"),!0),lt.addEventListener("load",function(){return lt.addEventListener("popstate",Qt("Navigated back"),!0)}),lt.addEventListener("hashchange",function(vn){var kn=vn.oldURL?{from:Yo(vn.oldURL,lt),to:Yo(vn.newURL,lt),state:Mr(lt)}:{to:Yo(lt.location.href,lt)};Kt.leaveBreadcrumb("Hash changed",kn,"navigation")},!0),lt.history.replaceState&&tr(Kt,lt.history,"replaceState",lt),lt.history.pushState&&tr(Kt,lt.history,"pushState",lt)}}}};var Yo=function(lt,Ut){var Kt=Ut.document.createElement("A");return Kt.href=lt,""+Kt.pathname+Kt.search+Kt.hash},tr=function(lt,Ut,Kt,Qt){var vn=Ut[Kt];Ut[Kt]=function(kn,zn,gi){lt.leaveBreadcrumb("History "+Kt,function(lt,Ut,Kt,Qt){var vn=Yo(lt.location.href,lt);return{title:Kt,state:Ut,prevState:Mr(lt),to:Qt||vn,from:vn}}(Qt,kn,zn,gi),"navigation"),"function"==typeof lt.resetEventCount&&lt.resetEventCount(),lt._config.autoTrackSessions&&lt.startSession(),vn.apply(Ut,[kn,zn].concat(void 0!==gi?gi:[]))}},Mr=function(lt){try{return lt.history.state}catch{}},cr="request",dr=function(lt,Ut){void 0===lt&&(lt=[]),void 0===Ut&&(Ut=window);var Qt={load:function(vn){if(vn._isBreadcrumbTypeEnabled("request")){var kn=[vn._config.endpoints.notify,vn._config.endpoints.sessions].concat(lt);(function zn(){if("addEventListener"in Ut.XMLHttpRequest.prototype){var ki=Ut.XMLHttpRequest.prototype.open;Ut.XMLHttpRequest.prototype.open=function(D,te){var Pe=this,je=!1,bt=function(){return function oi(ki,Hi){void 0!==Hi?"string"==typeof Hi&&p(kn,Hi.replace(/\?.*$/,""))||vn.leaveBreadcrumb("XMLHttpRequest error",{request:ki+" "+Hi},cr):vn._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}(D,te)},vt=function(){return function gi(ki,Hi,D){if(void 0!==Hi){if("string"!=typeof Hi||!p(kn,Hi.replace(/\?.*$/,""))){vn.leaveBreadcrumb(D>=400?"XMLHttpRequest failed":"XMLHttpRequest succeeded",{status:D,request:ki+" "+Hi},cr)}}else vn._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}(D,te,Pe.status)};je&&(this.removeEventListener("load",vt),this.removeEventListener("error",bt)),this.addEventListener("load",vt),this.addEventListener("error",bt),je=!0,ki.apply(this,arguments)}}})(),function Pi(){if("fetch"in Ut&&!Ut.fetch.polyfill){var ki=Ut.fetch;Ut.fetch=function(){var je,D=arguments,te=arguments[0],Pe=arguments[1],bt=null;return te&&"object"==typeof te?(bt=te.url,Pe&&"method"in Pe?je=Pe.method:te&&"method"in te&&(je=te.method)):(bt=te,Pe&&"method"in Pe&&(je=Pe.method)),void 0===je&&(je="GET"),new Promise(function(vt,Lt){ki.apply(void 0,D).then(function(gn){wi(gn,je,bt),vt(gn)}).catch(function(gn){$i(je,bt),Lt(gn)})})}}}();var wi=function(ki,Hi,D){vn.leaveBreadcrumb(ki.status>=400?"fetch() failed":"fetch() succeeded",{status:ki.status,request:Hi+" "+D},cr)},$i=function(ki,Hi){vn.leaveBreadcrumb("fetch() error",{request:ki+" "+Hi},cr)}}}};return Qt},qr={load:function(lt){var Ut=0;lt.addOnError(function(Kt){if(Ut>=lt._config.maxEvents)return lt._logger.warn("Cancelling event send due to maxEvents per session limit of "+lt._config.maxEvents+" being reached"),!1;Ut++}),lt.resetEventCount=function(){Ut=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer \u2264100",validate:function(lt){return y(1,100)(lt)}}}},Nr={},Er=(Nr={load:function(lt){lt.addOnError(function(Ut){var Kt=e(Ut.errors,function(Qt,vn){return Qt.concat(vn.stacktrace)},[]);Z(Kt,function(Qt){Qt.file=Er(Qt.file)})})}})._strip=function(lt){return"string"==typeof lt?lt.replace(/\?.*$/,"").replace(/#.*$/,""):lt},ln=function(lt,Ut){return void 0===lt&&(lt=window),void 0===Ut&&(Ut="window onerror"),{load:function(Kt){if(Kt._config.autoDetectErrors&&Kt._config.enabledErrorTypes.unhandledExceptions){var vn=lt.onerror;lt.onerror=function Qt(kn,zn,gi,oi,Pi){if(0===gi&&/Script error\.?/.test(kn))Kt._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var $i,wi={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};Pi?($i=Kt.Event.create(Pi,!0,wi,Ut,1),Ci($i.errors[0].stacktrace,zn,gi,oi)):"object"!=typeof kn||null===kn||zn&&"string"==typeof zn||gi||oi||Pi?($i=Kt.Event.create(kn,!0,wi,Ut,1),Ci($i.errors[0].stacktrace,zn,gi,oi)):(($i=Kt.Event.create({name:kn.type?"Event: "+kn.type:"Error",message:kn.message||kn.detail||""},!0,wi,Ut,1)).originalError=kn,$i.addMetadata(Ut,{event:kn,extraParameters:zn})),Kt._notify($i)}"function"==typeof vn&&vn.apply(this,arguments)}}}}},Ci=function(lt,Ut,Kt,Qt){lt[0]||lt.push({});var vn=lt[0];!vn.file&&"string"==typeof Ut&&(vn.file=Ut),!vn.lineNumber&&me(Kt)&&(vn.lineNumber=Kt),vn.columnNumber||(me(Qt)?vn.columnNumber=Qt:window.event&&me(window.event.errorCharacter)&&(vn.columnNumber=window.event.errorCharacter))},me=function(lt){return"number"==typeof lt&&"NaN"!==String.call(lt)},it=function(lt){return void 0===lt&&(lt=window),{load:function(Kt){if(Kt._config.autoDetectErrors&&Kt._config.enabledErrorTypes.unhandledRejections){var Qt=function(vn){var kn=vn.reason,zn=!1;try{vn.detail&&vn.detail.reason&&(kn=vn.detail.reason,zn=!0)}catch{}var gi=Kt.Event.create(kn,!1,{severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,Kt._logger);zn&&Z(gi.errors[0].stacktrace,Yt(kn)),Kt._notify(gi,function(oi){var Pi;Re(oi.originalError)&&!oi.originalError.stack&&oi.addMetadata("unhandledRejection handler",((Pi={})[Object.prototype.toString.call(oi.originalError)]={name:oi.originalError.name,message:oi.originalError.message,code:oi.originalError.code},Pi))})};"addEventListener"in lt?lt.addEventListener("unhandledrejection",Qt):lt.onunhandledrejection=function(vn,kn){Qt({detail:{reason:vn,promise:kn}})}}}}},Yt=function(lt){return function(Ut){Ut.file!==lt.toString()&&Ut.method&&(Ut.method=Ut.method.replace(/^\s+/,""))}},yn={},Pr=S({},E.schema,ee),so={_client:null,createClient:function(lt){"string"==typeof lt&&(lt={apiKey:lt}),lt||(lt={});var Ut=[En,xi(),ye(),bo(),qr,Qi,mi,Nr,ln(),it(),Co(),Xn(),dr(),Rt,st()],Kt=new B(lt,Pr,Ut,{name:"Bugsnag JavaScript",version:"7.22.3",url:"https://github.com/bugsnag/bugsnag-js"});return Kt._setDelivery(window.XDomainRequest?_t:xn),Kt._logger.debug("Loaded!"),Kt.leaveBreadcrumb("Bugsnag loaded",{},"state"),Kt._config.autoTrackSessions?Kt.startSession():Kt},start:function(lt){return so._client?(so._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),so._client):(so._client=so.createClient(lt),so._client)},isStarted:function(){return null!=so._client}};return Z(["resetEventCount"].concat(L(B.prototype)),function(lt){/^_/.test(lt)||(so[lt]=function(){if(!so._client)return console.log("Bugsnag."+lt+"() was called before Bugsnag.start()");so._client._depth+=1;var Ut=so._client[lt].apply(so._client,arguments);return so._client._depth-=1,Ut})}),(yn=so).Client=B,yn.Event=Tt,yn.Session=et,yn.Breadcrumb=q,yn.default=so,yn}()},9250:(jt,$e,s)=>{jt.exports=s(2237)},5587:(jt,$e,s)=>{"use strict";s.d($e,{K:()=>be});var t=s(9081),u=s(5548),e=s(9212),m=s(6223),p=s(6814),U=s(9828),n=s(4505),I=s(9025),L=s(4187),y=s(617),O=s(2400),M=s(110),E=s(481),A=s(9594);function S(de,De){if(1&de){const tt=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(tt);const Ft=e.oxw(2);return e.KtG(Ft.clear())}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function Z(de,De){1&de&&(e.TgZ(0,"button",9)(1,"mat-icon"),e._uU(2,"search"),e.qZA()())}function oe(de,De){if(1&de){const tt=e.EpF();e.TgZ(0,"mat-list-option",10),e.NdJ("click",function(){const mt=e.CHM(tt).$implicit,sn=e.oxw(2);return e.KtG(sn.toggleDisplayedColumn(mt))}),e._uU(1),e.qZA()}if(2&de){const tt=De.$implicit;e.Q6J("value",tt.value)("selected",tt.display),e.xp6(),e.hij(" ",tt.label," ")}}function le(de,De){if(1&de){const tt=e.EpF();e.TgZ(0,"mat-card")(1,"div",3)(2,"mat-form-field")(3,"input",4),e.NdJ("keyup",function(Ft){e.CHM(tt);const mt=e.oxw();return e.KtG(mt.filter(Ft))}),e.qZA(),e.YNc(4,S,3,0,"button",5)(5,Z,3,0,"ng-template",null,6,e.W1O),e.qZA(),e.TgZ(7,"mat-card-content")(8,"mat-selection-list"),e.YNc(9,oe,2,3,"mat-list-option",7),e.qZA()()()()}if(2&de){const tt=e.MAs(6),Re=e.oxw();e.xp6(),e.Q6J("formGroup",Re.form),e.xp6(2),e.Q6J("placeholder",Re.placeholder),e.xp6(),e.Q6J("ngIf",Re.form.get("filter").value.length)("ngIfElse",tt),e.xp6(5),e.Q6J("ngForOf",Re.filteredColumns)}}let ee=(()=>{class de{constructor(tt,Re){this._fb=tt,this._sharedService=Re}ngOnInit(){this.initializeFilterForm(),this.createColumns(this.data)}createColumns(tt){if(!tt?.length)return;const Re=this._sharedService.groupBy(tt,"display"),Ft=this._sharedService.sortArray(Re.true,"value"),mt=this._sharedService.sortArray(Re.false,"value");let sn;sn=Ft?.length&&mt?.length?Ft.concat(mt):Ft&&!mt?.length?Ft:mt,this._columns=sn.filter(hn=>hn.value!==u.y3.CHECKBOX&&hn.value!==u.y3.ACTIONS),this.filteredColumns=this._columns}sort(tt){return tt.sort((Re,Ft)=>Re.value-Ft.value)}initializeFilterForm(){this.form=this._fb.group({filter:[""]})}toggleFilter(){this.showFilter=!this.showFilter,this.resetList(),this.clear()}filter(tt){const Re=tt.target.value;this.filteredColumns=this._columns.filter(Ft=>Ft.label.toLowerCase().includes(Re.toLowerCase()))}toggleDisplayedColumn(tt){tt.display=!tt.display}clear(){this.form.get("filter").setValue(""),this.resetList()}resetList(){this.filteredColumns=this._columns}static#e=this.\u0275fac=function(Re){return new(Re||de)(e.Y36(m.QS),e.Y36(t.F))};static#t=this.\u0275cmp=e.Xpm({type:de,selectors:[["ag-table-filter"]],inputs:{data:"data",placeholder:"placeholder"},decls:5,vars:4,consts:[["cdkOverlayOrigin","","mat-icon-button","","matTooltip","Hide or Show Columns","type","button",3,"click"],["trigger","cdkOverlayOrigin"],["cdkConnectedOverlay","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPanelClass","cdkConnectedOverlayHasBackdrop","backdropClick"],[3,"formGroup"],["agAutofocus","","type","text","matInput","","formControlName","filter","appearance","flat","autocomplete","off",3,"placeholder","keyup"],["mat-icon-button","","matSuffix","","type","button",3,"click",4,"ngIf","ngIfElse"],["showSearchIcon",""],[3,"value","selected","click",4,"ngFor","ngForOf"],["mat-icon-button","","matSuffix","","type","button",3,"click"],["mat-icon-button","","matSuffix","","disabled","","type","button"],[3,"value","selected","click"]],template:function(Re,Ft){if(1&Re&&(e.TgZ(0,"button",0,1),e.NdJ("click",function(sn){return sn.stopPropagation(),Ft.toggleFilter()}),e.TgZ(2,"mat-icon"),e._uU(3,"view_column"),e.qZA()(),e.YNc(4,le,10,5,"ng-template",2),e.NdJ("backdropClick",function(){return Ft.toggleFilter()})),2&Re){const mt=e.MAs(1);e.xp6(4),e.Q6J("cdkConnectedOverlayOrigin",mt)("cdkConnectedOverlayOpen",Ft.showFilter)("cdkConnectedOverlayPanelClass","ag-table-filter")("cdkConnectedOverlayHasBackdrop",!0)}},dependencies:[p.sg,p.O5,U.Q,m.Fj,m.JJ,m.JL,n.eB,I.S$,I.Qi,L.v_,L.nX,y.Hw,O.k0,M.kh,M.O$,E.Kd,A.pI,A.xu,m.sg,m.u],styles:["[_nghost-%COMP%]     .mat-tab-body-content{overflow:hidden!important;padding:20px 10px!important}mat-card[_ngcontent-%COMP%]{max-width:300px}mat-selection-list[_ngcontent-%COMP%]{height:30vh;overflow-y:auto}"]})}return de})();var K=s(2787),Q=s(9993),q=s(6284),H=s(3256),T=s(6805),ie=s(3883),_e=s(6387),Ce=s(8178),Ve=s(2163),ae=s(6208),pe=s(114),Ae=s(3999),Ze=s(6433),dt=s(2609),Fe=s(4021),Xe=s(6385),Ie=s(6718),W=s(1335),we=s(1438),P=s(3566),V=s(2214),Se=s(6593);let G=(()=>{class de{constructor(tt){this.sanitizer=tt}transform(tt,Re){if(!tt||!Re||!tt.toLowerCase().includes(Re.toLowerCase()))return tt;const Ft=Re.replace(/[\-\[\]\/\{\}\(\)\*\+\@\!\_\?\.\\\^\$\|]/g,"\\$&").split(" ").filter(mt=>mt.length>0).join("|");return this.sanitizer.bypassSecurityTrustHtml(tt.replace(new RegExp(Ft,"gi"),mt=>`<span class='highlightText'">${mt}</span>`))}static#e=this.\u0275fac=function(Re){return new(Re||de)(e.Y36(Se.H7,16))};static#t=this.\u0275pipe=e.Yjl({name:"highlight",type:de,pure:!0})}return de})(),be=(()=>{class de{static#e=this.\u0275fac=function(Re){return new(Re||de)};static#t=this.\u0275mod=e.oAB({type:de});static#n=this.\u0275inj=e.cJS({imports:[Ve.h,Ce.J,_e.p,Q.IJ,K.Bz,q.e4,H.qE,ae.m,T.Iq,pe.Z,Ae.aw,Ve.h,ie.N,q.e4,_e.p,H.qE,T.Iq,pe.Z]})}return de})();e.B6R(u.y3,[p.mk,p.sg,p.O5,p.tP,Ze.xw,Ze.SQ,Ze.Wh,dt.oO,m.Fj,m.JJ,m.On,n.eB,Fe.FC,Xe.d,L.v_,L.g4,L.nX,y.Hw,O.k0,Ie.W0,Ie.tN,Ie.D8,W.cl,we.sN,P.YE,P.nU,V.ty,V.wO,V.S4,V.t3,V.R3,V.Al,V.L7,V.ML,V.fg,V.Zw,V.ZB,E.Kd,ee],[G,u.vQ,u.x$])},64:(jt,$e,s)=>{"use strict";s.d($e,{a:()=>I});var t=s(7592),u=s(9212),e=s(6814),m=s(4505),p=s(3999);function U(L,y){if(1&L&&(u.TgZ(0,"button",4),u._uU(1),u.qZA()),2&L){const O=u.oxw();u.Q6J("mat-dialog-close",!1),u.xp6(),u.hij(" ",O.data.closeLabel," ")}}function n(L,y){if(1&L&&(u.TgZ(0,"button",4),u._uU(1),u.qZA()),2&L){const O=u.oxw();u.Q6J("mat-dialog-close",!0),u.xp6(),u.hij(" ",O.data.okLabel," ")}}let I=(()=>{class L{constructor(O,M){this.dialogRef=O,this.data=M}static#e=this.\u0275fac=function(M){return new(M||L)(u.Y36(t.hV),u.Y36(t.eJ))};static#t=this.\u0275cmp=u.Xpm({type:L,selectors:[["ag-dialog"]],decls:9,vars:10,consts:[["mat-dialog-title",""],["id","dialog-content"],["align","end"],["mat-button","","type","button",3,"mat-dialog-close",4,"ngIf"],["mat-button","","type","button",3,"mat-dialog-close"]],template:function(M,E){1&M&&(u.TgZ(0,"h1",0),u._uU(1),u.ALo(2,"translate"),u.qZA(),u.TgZ(3,"mat-dialog-content",1),u._uU(4),u.ALo(5,"translate"),u.qZA(),u.TgZ(6,"mat-dialog-actions",2),u.YNc(7,U,2,2,"button",3)(8,n,2,2,"button",3),u.qZA()),2&M&&(u.xp6(),u.Oqu(u.xi3(2,4,E.data.title,E.data.titleParams)),u.xp6(3),u.hij(" ",u.xi3(5,7,E.data.content,E.data.contentParams),"\n"),u.xp6(3),u.Q6J("ngIf",E.data.closeLabel),u.xp6(),u.Q6J("ngIf",E.data.okLabel))},dependencies:[e.O5,m.eB,t.aO,t.YS,t.Rb,t.ev,p.X$]})}return L})()},7244:(jt,$e,s)=>{"use strict";s.d($e,{U:()=>p});var t=s(7895),u=s(9212),e=s(4593),m=s(3941);let p=(()=>{class U{constructor(I,L,y){this._apiService=I,this._configService=L,this._searchService=y,this.zeroResultsTextBlock$=this._searchService.zeroResultsTextBlock$}saveZeroResultsTextBlock(I){const L=this._searchService.saveZeroResultsTextBlock(I);return this.zeroResultsTextBlock$=this._searchService.zeroResultsTextBlock$,L}getNewRDP(){return this._apiService.get(this._configService.agApi+"/opacSettings/SolrNextRecordDisplayProfile")}updateNewRDP(I){return this._apiService.put(this._configService.agApi+"/opacSettings/SolrNextRecordDisplayProfile",I)}uploadImage(I){return this._apiService.post(this._configService.expressApi+"/file/upload",I)}static#e=this.\u0275fac=function(L){return new(L||U)(u.LFG(e.s),u.LFG(m.E),u.LFG(t.oD))};static#t=this.\u0275prov=u.Yz7({token:U,factory:U.\u0275fac})}return U})()},7276:(jt,$e,s)=>{"use strict";s.d($e,{L:()=>Se});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(4614),n=s(707),I=s(1414),L=s(8935),y=s(5289),O=s(5343),M=s(5861),E=s(6223),A=s(8159),S=s(8377),Z=s(9081);let oe=(()=>{class G{constructor(de){this._sharedService=de}transform(de,...De){let tt=JSON.parse(JSON.stringify(de));return tt=this._sharedService.insertStrAtPos(tt,"-",3),tt=this._sharedService.insertStrAtPos(tt,"-",7),tt}static#e=this.\u0275fac=function(De){return new(De||G)(t.Y36(Z.F,16))};static#t=this.\u0275pipe=t.Yjl({name:"modifyPhoneNumber",type:G,pure:!0})}return G})();function le(G,be){if(1&G&&(t.ynx(0),t.TgZ(1,"div",23),t._UZ(2,"i",24),t.qZA(),t.TgZ(3,"div",25)(4,"p",26)(5,"span",19),t._uU(6),t.qZA()(),t.TgZ(7,"p",26)(8,"span",27)(9,"a",20)(10,"span",21),t._uU(11),t.qZA()()()()(),t.BQk()),2&G){const de=t.oxw(2);t.xp6(6),t.Oqu(null==de.customerCareDetails?null:de.customerCareDetails.customerPortalText),t.xp6(3),t.Q6J("href",null==de.customerCareDetails?null:de.customerCareDetails.customerPortalLink,t.LSH),t.xp6(2),t.hij(" ",null==de.customerCareDetails?null:de.customerCareDetails.customerPortalLinkLabel," ")}}function ee(G,be){if(1&G&&(t.ynx(0),t.TgZ(1,"div",28),t._UZ(2,"i",29),t.qZA(),t.TgZ(3,"div",30)(4,"p",18)(5,"span",19),t._uU(6),t.qZA()(),t.TgZ(7,"p",18)(8,"a",31)(9,"span",21),t._uU(10),t.qZA()()()(),t.BQk()),2&G){const de=t.oxw(2);t.xp6(6),t.Oqu(null==de.customerCareDetails?null:de.customerCareDetails.customerSurveyText),t.xp6(2),t.Q6J("href",null==de.customerCareDetails?null:de.customerCareDetails.customerSurveyLink,t.LSH),t.xp6(2),t.Oqu(null==de.customerCareDetails?null:de.customerCareDetails.customerSurveyLinkLabel)}}function K(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",32)(1,"form",33),t.NdJ("ngSubmit",function(){t.CHM(de);const tt=t.oxw(2);return t.KtG(tt.submitCustomerCareForm())}),t.TgZ(2,"div",2)(3,"div",34)(4,"div",35)(5,"div",2)(6,"div",36)(7,"label",37),t._uU(8,"Name:"),t.qZA()(),t.TgZ(9,"div",38),t._UZ(10,"input",39),t.qZA()()(),t.TgZ(11,"div",35)(12,"div",2)(13,"div",36)(14,"label",40),t._uU(15,"Phone:"),t.qZA()(),t.TgZ(16,"div",38),t._UZ(17,"input",41),t.qZA()()(),t.TgZ(18,"div",35)(19,"div",2)(20,"div",36)(21,"label",42),t._uU(22,"Library Code:"),t.qZA()(),t.TgZ(23,"div",38),t._UZ(24,"input",43),t.qZA()()(),t.TgZ(25,"div",35)(26,"div",2)(27,"div",36)(28,"label",44),t._uU(29,"Browser Name:"),t.qZA()(),t.TgZ(30,"div",38),t._UZ(31,"input",45),t.qZA()()()(),t.TgZ(32,"div",34)(33,"div",35)(34,"div",2)(35,"div",36)(36,"label",46),t._uU(37,"Library Name:"),t.qZA()(),t.TgZ(38,"div",38),t._UZ(39,"input",47),t.qZA()()(),t.TgZ(40,"div",35)(41,"div",2)(42,"div",36)(43,"label",48),t._uU(44,"Email Address:"),t.qZA()(),t.TgZ(45,"div",38),t._UZ(46,"input",49),t.qZA()()(),t.TgZ(47,"div",35)(48,"div",2)(49,"div",36)(50,"label",50),t._uU(51,"Product:"),t.qZA()(),t.TgZ(52,"div",38),t._UZ(53,"input",51),t.qZA()()(),t.TgZ(54,"div",35)(55,"div",2)(56,"div",36)(57,"label",52),t._uU(58,"Subject of Problem:"),t.qZA()(),t.TgZ(59,"div",38),t._UZ(60,"input",53),t.qZA()()()()(),t.TgZ(61,"div",54)(62,"div",55)(63,"div",35)(64,"label",56),t._uU(65),t.qZA(),t._UZ(66,"textarea",57),t.qZA()()(),t.TgZ(67,"div",2)(68,"div",58)(69,"div",59)(70,"button",60),t._uU(71," Submit "),t.qZA(),t.TgZ(72,"button",61),t.NdJ("click",function(){t.CHM(de);const tt=t.oxw(2);return t.KtG(tt.cancel())}),t._uU(73," Cancel "),t.qZA()()()()()()}if(2&G){const de=t.oxw(2);t.xp6(),t.Q6J("formGroup",de.customerCareForm),t.xp6(64),t.hij("",de.detailedInforText,":"),t.xp6(5),t.Q6J("disabled",!de.customerCareForm.valid)}}function Q(G,be){if(1&G&&(t.TgZ(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5)(5,"section",6)(6,"h1"),t._uU(7,"Customer Care"),t.qZA()()()()(),t.TgZ(8,"div",7)(9,"div",8)(10,"section",9)(11,"h2",10),t._UZ(12,"div",11),t.qZA()(),t.TgZ(13,"section",12)(14,"div",2)(15,"div",13),t.YNc(16,le,12,3,"ng-container",14),t.qZA(),t.TgZ(17,"div",13)(18,"div",15),t._UZ(19,"i",16),t.qZA(),t.TgZ(20,"div",17)(21,"p",18)(22,"span",19),t._uU(23),t.qZA()(),t.TgZ(24,"p",18)(25,"span",19),t._uU(26),t.ALo(27,"modifyPhoneNumber"),t.qZA()(),t.TgZ(28,"p",18)(29,"a",20)(30,"span",21),t._uU(31),t.qZA()()()()(),t.TgZ(32,"div",13),t.YNc(33,ee,11,3,"ng-container",14),t.qZA()()()()(),t.YNc(34,K,74,3,"div",22),t.qZA()()),2&G){const de=t.oxw();t.xp6(12),t.Q6J("innerHTML",null==de.customerCareDetails?null:de.customerCareDetails.customerCareHeaderHtml,t.oJD),t.xp6(4),t.Q6J("ngIf",null==de.customerCareDetails?null:de.customerCareDetails.isCustomerPortal),t.xp6(7),t.Oqu(null==de.customerCareDetails?null:de.customerCareDetails.timingsText),t.xp6(3),t.Oqu(t.lcZ(27,8,null==de.customerCareDetails?null:de.customerCareDetails.phoneNumber)),t.xp6(3),t.Q6J("href","mailto: "+(null==de.customerCareDetails?null:de.customerCareDetails.emailAddress),t.LSH),t.xp6(2),t.Oqu(null==de.customerCareDetails?null:de.customerCareDetails.emailAddressText),t.xp6(2),t.Q6J("ngIf",null==de.customerCareDetails?null:de.customerCareDetails.isCustomerSurvey),t.xp6(),t.Q6J("ngIf",de.customerCareForm)}}let q=(()=>{class G{constructor(de,De,tt){this._emailService=de,this._fb=De,this._routingService=tt,this.detailedInforText="Enter detailed information on function being performed, error message, ILL number, etc.",this._phoneNumberPattern="^((\\+1-?)|0)?[0-9]{10}$"}ngOnChanges(de){de.customerCareDetails&&this._componentBindings(de.customerCareDetails.currentValue)}ngOnInit(){this.customerCareDetails&&this._componentBindings(this.customerCareDetails)}_componentBindings(de){this.customerCareDetails=de,this._createCustomerCareForm()}submitCustomerCareForm(){var de=this;return(0,M.Z)(function*(){const De={toAddress:de.customerCareDetails.toEmailAddressOnSubmit,messageBody:de._buildEmailRequestMessage()};yield de._emailService.sendEmailCustomerCareAsync(De)})()}_buildEmailRequestMessage(){let de="";return de+=`Name:${this.customerCareForm.value.name}\r\n`,de+=`Phone:${this._normalizePhoneNumber()}\r\n`,de+=`Browser Name:${this.customerCareForm.value.browserName}\r\n`,de+=`Library Name:${this.customerCareForm.value.libraryName}\r\n`,de+=`Library Code:${this.customerCareForm.value.libraryCode}\r\n`,de+=`Email Address:${this.customerCareForm.value.email}\r\n`,de+=`Product:${this.customerCareForm.value.productName}\r\n`,de+=`Subject of Problem:${this.customerCareForm.value.problemSubject}\r\n`,de+=`Enter detailed information on function being performed, error message, ILL number, etc.:${this.customerCareForm.value.detailedInformation}\r\n`,de}_normalizePhoneNumber(){return this.customerCareForm.value.phone.replace("-","")}_createCustomerCareForm(){this.customerCareForm=this._fb.group({name:["",[E.kI.required,E.kI.minLength(2)]],phone:["",[E.kI.required,E.kI.pattern(this._phoneNumberPattern)]],libraryCode:["",[E.kI.required,E.kI.minLength(2)]],browserName:["",[E.kI.required,E.kI.minLength(2)]],libraryName:["",[E.kI.required,E.kI.minLength(2)]],email:["",[E.kI.required,E.kI.email]],productName:["",[E.kI.required,E.kI.minLength(5)]],problemSubject:["",[E.kI.required,E.kI.minLength(5)]],detailedInformation:["",[E.kI.required,E.kI.minLength(5)]]})}get form(){return this.customerCareForm.controls}cancel(){this._routingService.goToPreviousUrl()}static#e=this.\u0275fac=function(De){return new(De||G)(t.Y36(A.j),t.Y36(E.QS),t.Y36(S.Z))};static#t=this.\u0275cmp=t.Xpm({type:G,selectors:[["customer-care"]],inputs:{customerCareDetails:"customerCareDetails"},features:[t.TTD],decls:2,vars:1,consts:[["class","container-fluid header",4,"ngIf"],[1,"container-fluid","header"],[1,"row"],[1,"col-12"],[1,"header_content","margin-bottom-10","custom_border"],[1,"text-center"],[1,"mw-100","text-center","margin-rl-auto","padding-30"],[1,"col-12","mw-80","margin-auto"],[1,"body_library_info","margin-bottom-40"],[1,"mw-100","body_library_info"],[1,"body_library_info__section__h3"],[3,"innerHTML"],[1,"body_library_info__content","mw-100","margin-auto","text-center"],[1,"col-12","col-sm-12","col-md-4"],[4,"ngIf"],[1,"contact_icon","margin-bottom-40"],["aria-hidden","true",1,"fa","fa-phone","fa-2x"],[1,"contact_text","text-center"],[1,"margin-bottom-40"],[1,"three-row-ellipsis"],[3,"href"],[1,"three-row-ellipsis",2,"text-decoration","underline"],["class","col-12 body_enquiry_form mw-80 margin-auto",4,"ngIf"],[1,"group_icon","margin-bottom-40"],["aria-hidden","true",1,"fa","fa-users","fa-2x"],[1,"group_text"],[1,"text-center","margin-bottom-40"],[2,"color","#0000ff"],[1,"support_icon","margin-bottom-40"],["aria-hidden","true",1,"fa","fa-thumbs-up","fa-2x"],[1,"support_text","text-center"],["target","_Blank","rel","noopener noreferrer",3,"href"],[1,"col-12","body_enquiry_form","mw-80","margin-auto"],["novalidate","",3,"formGroup","ngSubmit"],[1,"col-sm-6"],[1,"form-group"],[1,"col-sm-4"],["for","name",1,"control-label","margin-0"],[1,"col-sm-8"],["type","text","id","name","formControlName","name",1,"form-control"],["for","phone",1,"control-label","margin-0"],["type","text","id","phone","formControlName","phone",1,"form-control"],["for","libraryCode",1,"control-label","margin-0"],["type","text","id","libraryCode","formControlName","libraryCode",1,"form-control"],["for","browserName",1,"control-label","margin-0","text-start"],["type","text","id","browserName","formControlName","browserName",1,"form-control"],["for","libraryName",1,"control-label","margin-0"],["type","text","id","libraryName","formControlName","libraryName",1,"form-control"],["for","email",1,"control-label","margin-0"],["type","text","id","email","formControlName","email",1,"form-control"],["for","productName",1,"control-label","margin-0"],["type","text","id","productName","formControlName","productName",1,"form-control"],["for","problemSubject",1,"control-label","margin-0","text-start"],["type","text","id","problemSubject","formControlName","problemSubject",1,"form-control"],[1,"row","body_enquiry_form__detailed_info"],[1,"col-12","col-sm-12",2,"margin-top","20px"],["for","detailedInformation",1,"control-label","float-start"],["rows","6","id","detailedInformation","formControlName","detailedInformation",1,"form-control"],[1,"col-12","col-sm-12","mw-70","margin-auto"],[1,"form-group","text-end"],["role","button","aria-label","Submit","type","submit",1,"btn","btn-primary","margin-right-10",3,"disabled"],["role","button","aria-label","Submit","type","button",1,"btn","btn-primary",3,"click"]],template:function(De,tt){1&De&&(t.TgZ(0,"main"),t.YNc(1,Q,35,10,"div",0),t.qZA()),2&De&&(t.xp6(),t.Q6J("ngIf",tt.customerCareDetails))},dependencies:[m.O5,E._Y,E.Fj,E.JJ,E.JL,E.sg,E.u,oe],styles:['label[_ngcontent-%COMP%]{text-align:right;clear:both;float:right;margin-right:15px}input[_ngcontent-%COMP%]{width:58%}input.ng-invalid[_ngcontent-%COMP%], textarea.ng-invalid[_ngcontent-%COMP%]{border-left:5px solid red}.required[_ngcontent-%COMP%]:before{content:" *";color:#e32}.body_library_info__content[_ngcontent-%COMP%], .body_enquiry_form[_ngcontent-%COMP%]{font-size:1.4em}.body_library_info__section__h3[_ngcontent-%COMP%]{text-transform:uppercase;text-align:center;margin:60px}.body_enquiry_form__detailed_info[_ngcontent-%COMP%]{max-width:90%;margin-left:20px}.body_enquiry_form[_ngcontent-%COMP%]{padding-top:20px}.custom_border[_ngcontent-%COMP%]{border:1px solid var(--body-background)!important;box-shadow:0 3px 5px var(--box-shadows);background:#fafafa!important}.three-row-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;display:inline-block;-webkit-line-clamp:3;width:80%}']})}return G})();function H(G,be){if(1&G&&t._UZ(0,"cta",12),2&G){const de=t.oxw();t.Q6J("cta",de.components[0])}}function T(G,be){if(1&G&&t._UZ(0,"embed-url",13),2&G){const de=t.oxw();t.Q6J("embed",de.components[0])}}function ie(G,be){if(1&G&&t._UZ(0,"image-block",14),2&G){const de=t.oxw();t.Q6J("imgblock",de.components[0])}}function _e(G,be){if(1&G&&t._UZ(0,"app-feedback",15),2&G){const de=t.oxw();t.Q6J("feed",de.components[0])}}function Ce(G,be){if(1&G&&t._UZ(0,"showcase",16),2&G){const de=t.oxw();t.Q6J("showcase",de.components[0])("slideCount",10)("dynamic",!0)}}function Ve(G,be){if(1&G&&t._UZ(0,"showcase",16),2&G){const de=t.oxw();t.Q6J("showcase",de.components[0])("slideCount",10)("dynamic",!1)}}function ae(G,be){if(1&G&&t._UZ(0,"showcase",16),2&G){const de=t.oxw();t.Q6J("showcase",de.components[0])("slideCount",10)("dynamic",!1)}}function pe(G,be){if(1&G&&t._UZ(0,"text-block",17),2&G){const de=t.oxw();t.Q6J("textBlock",de.components[0])}}function Ae(G,be){if(1&G&&t._UZ(0,"topic-search",18),2&G){const de=t.oxw();t.Q6J("topicSearch",de.components[0])}}function Ze(G,be){if(1&G&&t._UZ(0,"customer-care",19),2&G){const de=t.oxw();t.Q6J("customerCareDetails",de.components[0])}}function dt(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function Fe(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",21)(1,"select",22,23),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(2),Re=t.oxw(2);return t.KtG(Re.openSideNav(tt.value,0,Re.components,"col-1",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,dt,2,3,"option",25),t.qZA()()}if(2&G){const de=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",de.editComponentList)}}function Xe(G,be){1&G&&(t.ynx(0),t.YNc(1,Fe,6,1,"div",20),t.BQk()),2&G&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function Ie(G,be){1&G&&t._UZ(0,"div")}function W(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function we(G,be){if(1&G){const de=t.EpF();t.ynx(0),t.TgZ(1,"div",31),t._uU(2,"- OR -"),t.qZA(),t.TgZ(3,"select",32,23),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(4),Re=t.oxw(3);return t.KtG(Re.openSideNav(tt.value,0,Re.components,"col-1",!1))}),t.TgZ(5,"option",24),t._uU(6,"--Choose New--"),t.qZA(),t.YNc(7,W,2,3,"option",25),t.qZA(),t.BQk()}if(2&G){const de=t.oxw(3);t.xp6(7),t.Q6J("ngForOf",de.editComponentList)}}function P(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",28)(1,"div",29)(2,"a",30),t.NdJ("click",function(){t.CHM(de);const tt=t.oxw(2);return t.KtG(tt.openSideNav(tt.components[0].typeOf,0,tt.components,"col-1",!0))})("keyup.enter",function(){t.CHM(de);const tt=t.oxw(2);return t.KtG(tt.openSideNav(tt.components[0].typeOf,0,tt.components,"col-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.YNc(4,we,8,1,"ng-container",10),t.qZA()()}if(2&G){const de=t.oxw(2);t.xp6(4),t.Q6J("ngIf","customerCare"!==de.components[0].typeOf)}}function V(G,be){if(1&G&&(t.ynx(0),t.YNc(1,P,5,1,"div",27),t.BQk()),2&G){const de=t.oxw();t.xp6(),t.Q6J("ngIf",de.edit&&"edit"!==de.components[0].typeOf)}}let Se=(()=>{class G{constructor(de,De){this.dialog=de,this._layoutService=De,this.component=new t.vpe,this.editComponentWidget=[{typeOf:"showcase",height:"95vh",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0}],this.editComponentListFooter=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.editComponentList=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"95vh",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"auto",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!0},{typeOf:"feedback",height:"95vh",width:"90vw",value:"feedback",name:"Feed Back",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"embed",height:"85vh",width:"90vw",value:"embed",name:"Embed Web Link",selected:!1}]}ngOnChanges(de){de&&(de.index&&(this.index=de.index.currentValue),de.footer&&(this.footer=de.footer.currentValue,"true"==this.footer&&(this.editComponentList=this.editComponentListFooter)),de.widgetEdit?.currentValue&&(this.editComponentList=this.editComponentWidget))}openSideNav(de,De,tt,Re,Ft){if(0===de)return;const mt={typeOf:de,rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!1,widgetEdit:this.widgetEdit};switch(de){case"showcase":mt.typeOf=de,mt.dynamic=!0;break;case"showcase-list":mt.typeOf="showcase-list";break;case"popular-list":mt.typeOf="popular-list"}this._layoutService.openSideNav({template:"comp",position:"start",data:mt,mode:"side"})}static#e=this.\u0275fac=function(De){return new(De||G)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:G,selectors:[["col-1"]],inputs:{index:"index",components:"components",footer:"footer",edit:"edit",widgetEdit:"widgetEdit"},outputs:{component:"component"},features:[t.TTD],decls:15,vars:14,consts:[[1,"row"],[1,"col-12","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"embed",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","slideCount","dynamic",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[3,"customerCareDetails",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],[2,"width","100%",3,"cta"],[3,"embed"],[3,"imgblock"],[3,"feed"],[3,"showcase","slideCount","dynamic"],[3,"textBlock"],[3,"topicSearch"],[3,"customerCareDetails"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Choose a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],["class","edit-component text-center",4,"ngIf"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose New Component",1,"form-control",3,"change"]],template:function(De,tt){1&De&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,H,1,1,"cta",2)(3,T,1,1,"embed-url",3)(4,ie,1,1,"image-block",4)(5,_e,1,1,"app-feedback",5)(6,Ce,1,3,"showcase",6)(7,Ve,1,3,"showcase",6)(8,ae,1,3,"showcase",6)(9,pe,1,1,"text-block",7)(10,Ae,1,1,"topic-search",8)(11,Ze,1,1,"customer-care",9)(12,Xe,2,1,"ng-container",10)(13,Ie,1,0,"div",11)(14,V,2,1,"ng-container",10),t.qZA()()),2&De&&(t.xp6(),t.Q6J("ngClass",tt.components[0].flushed?"flushed":"no-flush")("ngSwitch",tt.components[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngSwitchCase","customerCare"),t.xp6(),t.Q6J("ngIf",tt.edit),t.xp6(2),t.Q6J("ngIf",tt.components[0].typeOf))},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.m,n.A,I.v,L.v,y.c,O.I,q],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:120px;height:350px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return G})()},7004:(jt,$e,s)=>{"use strict";s.d($e,{u:()=>Se});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(4614),n=s(707),I=s(1414),L=s(8935),y=s(5289),O=s(5343);function M(G,be){if(1&G&&t._UZ(0,"cta",14),2&G){const de=t.oxw();t.Q6J("cta",de.templates[0])}}function E(G,be){if(1&G&&t._UZ(0,"image-block",15),2&G){const de=t.oxw();t.Q6J("imgblock",de.templates[0])}}function A(G,be){if(1&G&&t._UZ(0,"app-feedback",16),2&G){const de=t.oxw();t.Q6J("feed",de.templates[0])}}function S(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[0])("slideCount",3)("dynamic",!0)}}function Z(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[0])("slideCount",3)("dynamic",!1)}}function oe(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[0])("slideCount",3)("dynamic",!1)}}function le(G,be){if(1&G&&t._UZ(0,"text-block",18),2&G){const de=t.oxw();t.Q6J("textBlock",de.templates[0])}}function ee(G,be){if(1&G&&t._UZ(0,"topic-search",19),2&G){const de=t.oxw();t.Q6J("topicSearch",de.templates[0])}}function K(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function Q(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",21)(1,"select",22,23),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(2),Re=t.oxw(2);return t.KtG(Re.openSideNav(tt.value,0,Re.templates,"col-2-1-2",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,K,2,3,"option",25),t.qZA()()}if(2&G){const de=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",de.getWithOutIndex(5,8))}}function q(G,be){1&G&&(t.ynx(0),t.YNc(1,Q,6,1,"div",20),t.BQk()),2&G&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function H(G,be){1&G&&t._UZ(0,"div")}function T(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function ie(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[0].typeOf,0,tt.templates,"col-2-1-2",!0))})("keyup.enter",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[0].typeOf,0,tt.templates,"col-2-1-2",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,23),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(7),Re=t.oxw();return t.KtG(Re.openSideNav(tt.value,0,Re.templates,"col-2-1-2",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,T,2,3,"option",25),t.qZA()()()}if(2&G){const de=t.oxw();t.xp6(10),t.Q6J("ngForOf",de.getWithOutIndex(5,8))}}function _e(G,be){if(1&G&&t._UZ(0,"cta",14),2&G){const de=t.oxw();t.Q6J("cta",de.templates[1])}}function Ce(G,be){if(1&G&&t._UZ(0,"embed-url",32),2&G){const de=t.oxw();t.Q6J("embed",de.templates[1])}}function Ve(G,be){if(1&G&&t._UZ(0,"image-block",15),2&G){const de=t.oxw();t.Q6J("imgblock",de.templates[1])}}function ae(G,be){if(1&G&&t._UZ(0,"app-feedback",16),2&G){const de=t.oxw();t.Q6J("feed",de.templates[1])}}function pe(G,be){if(1&G&&t._UZ(0,"showcase",33),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[1])("dynamic",!0)("slideCount",7)}}function Ae(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[1])("slideCount",7)("dynamic",!1)}}function Ze(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[1])("slideCount",7)("dynamic",!1)}}function dt(G,be){if(1&G&&t._UZ(0,"text-block",18),2&G){const de=t.oxw();t.Q6J("textBlock",de.templates[1])}}function Fe(G,be){if(1&G&&t._UZ(0,"topic-search",19),2&G){const de=t.oxw();t.Q6J("topicSearch",de.templates[1])}}function Xe(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function Ie(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",21)(1,"select",31,34),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(2),Re=t.oxw(2);return t.KtG(Re.openSideNav(tt.value,1,Re.templates,"col-2-1-2",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Xe,2,3,"option",25),t.qZA()()}if(2&G){const de=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",de.Components)}}function W(G,be){1&G&&(t.ynx(0),t.YNc(1,Ie,6,1,"div",20),t.BQk()),2&G&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function we(G,be){1&G&&t._UZ(0,"div")}function P(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function V(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[1].typeOf,1,tt.templates,"col-2-1-2",!0))})("keyup.enter",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[1].typeOf,1,tt.templates,"col-2-1-2",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",22,34),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(7),Re=t.oxw();return t.KtG(Re.openSideNav(tt.value,1,Re.templates,"col-2-1-2",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,P,2,3,"option",25),t.qZA()()()}if(2&G){const de=t.oxw();t.xp6(10),t.Q6J("ngForOf",de.Components)}}let Se=(()=>{class G{constructor(de,De){this.dialog=de,this._layoutService=De,this.component=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"feedback",height:"95vh",width:"90vw",value:"feedback",name:"Feed Back",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1},{typeOf:"embed",height:"85vh",width:"90vw",value:"embed",name:"Embed Web Link",selected:!1}]}ngOnChanges(de){de&&(de.index&&(this.index=de.index.currentValue),de.footer&&(this.footer=de.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav(de,De,tt,Re,Ft){if(0!=de){let mt=null;mt="showcase"===de?{typeOf:de,rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!0}:"showcase-list"===de?{typeOf:"showcase-list",rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!1}:"popular-list"===de?{typeOf:"popular-list",rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!1}:{typeOf:de,rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft},mt&&this._openSideNav(mt)}}_openSideNav(de){this._layoutService.openSideNav({template:"comp",position:"start",data:de,mode:"side"})}getWithOutIndex(de,De){const tt=[];for(let Re=0;Re<this.Components.length;Re++)Re!=de&&Re!=De&&tt.push(this.Components[Re]);return tt}static#e=this.\u0275fac=function(De){return new(De||G)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:G,selectors:[["col-2-1-2"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:26,vars:25,consts:[[1,"row"],[1,"col-12","col-md-4","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","slideCount","dynamic",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-12","col-md-8","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[3,"embed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[2,"width","100%",3,"cta"],[3,"imgblock"],[3,"feed"],[3,"showcase","slideCount","dynamic"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Choose a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Edit a Component",1,"form-control",3,"change"],[3,"embed"],[3,"showcase","dynamic","slideCount"],["select2",""]],template:function(De,tt){1&De&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,M,1,1,"cta",2)(3,E,1,1,"image-block",3)(4,A,1,1,"app-feedback",4)(5,S,1,3,"showcase",5)(6,Z,1,3,"showcase",5)(7,oe,1,3,"showcase",5)(8,le,1,1,"text-block",6)(9,ee,1,1,"topic-search",7)(10,q,2,1,"ng-container",8)(11,H,1,0,"div",9)(12,ie,11,1,"div",10),t.qZA(),t.TgZ(13,"div",11),t.YNc(14,_e,1,1,"cta",2)(15,Ce,1,1,"embed-url",12)(16,Ve,1,1,"image-block",3)(17,ae,1,1,"app-feedback",4)(18,pe,1,3,"showcase",13)(19,Ae,1,3,"showcase",5)(20,Ze,1,3,"showcase",5)(21,dt,1,1,"text-block",6)(22,Fe,1,1,"topic-search",7)(23,W,2,1,"ng-container",8)(24,we,1,0,"div",9)(25,V,11,1,"div",10),t.qZA()()),2&De&&(t.xp6(),t.Q6J("ngClass",tt.templates[0].flushed?"flushed":"no-flush")("ngSwitch",tt.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",tt.edit),t.xp6(2),t.Q6J("ngIf",tt.edit&&"edit"!==tt.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",tt.templates[1].flushed?"flushed":"no-flush")("ngSwitch",tt.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",tt.edit),t.xp6(2),t.Q6J("ngIf",tt.edit&&"edit"!==tt.templates[1].typeOf))},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.m,n.A,I.v,L.v,y.c,O.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:100px;height:250px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return G})()},6440:(jt,$e,s)=>{"use strict";s.d($e,{o:()=>Se});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(4614),n=s(707),I=s(1414),L=s(8935),y=s(5289),O=s(5343);function M(G,be){if(1&G&&t._UZ(0,"cta",13),2&G){const de=t.oxw();t.Q6J("cta",de.templates[0])}}function E(G,be){if(1&G&&t._UZ(0,"image-block",14),2&G){const de=t.oxw();t.Q6J("imgblock",de.templates[0])}}function A(G,be){if(1&G&&t._UZ(0,"app-feedback",15),2&G){const de=t.oxw();t.Q6J("feed",de.templates[0])}}function S(G,be){if(1&G&&t._UZ(0,"showcase",16),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[0])("dynamic",!0)("slideCount",2)}}function Z(G,be){if(1&G&&t._UZ(0,"showcase",16),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[0])("dynamic",!1)("slideCount",2)}}function oe(G,be){if(1&G&&t._UZ(0,"showcase",16),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[0])("dynamic",!1)("slideCount",2)}}function le(G,be){if(1&G&&t._UZ(0,"text-block",17),2&G){const de=t.oxw();t.Q6J("textBlock",de.templates[0])}}function ee(G,be){if(1&G&&t._UZ(0,"topic-search",18),2&G){const de=t.oxw();t.Q6J("topicSearch",de.templates[0])}}function K(G,be){if(1&G&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function Q(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",20)(1,"select",21,22),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(2),Re=t.oxw(2);return t.KtG(Re.openSideNav(tt.value,0,Re.templates,"col-2-1-3",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,K,2,3,"option",24),t.qZA()()}if(2&G){const de=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",de.getWithOutIndex(5,7,8))}}function q(G,be){1&G&&(t.ynx(0),t.YNc(1,Q,6,1,"div",19),t.BQk()),2&G&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function H(G,be){1&G&&t._UZ(0,"div")}function T(G,be){if(1&G&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function ie(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[0].typeOf,0,tt.templates,"col-2-1-3",!0))})("keyup.enter",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[0].typeOf,0,tt.templates,"col-2-1-3",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,22),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(7),Re=t.oxw();return t.KtG(Re.openSideNav(tt.value,0,Re.templates,"col-2-1-3",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,T,2,3,"option",24),t.qZA()()()}if(2&G){const de=t.oxw();t.xp6(10),t.Q6J("ngForOf",de.getWithOutIndex(5,7,8))}}function _e(G,be){if(1&G&&t._UZ(0,"cta",13),2&G){const de=t.oxw();t.Q6J("cta",de.templates[1])}}function Ce(G,be){if(1&G&&t._UZ(0,"embed-url",31),2&G){const de=t.oxw();t.Q6J("embed",de.templates[1])}}function Ve(G,be){if(1&G&&t._UZ(0,"image-block",14),2&G){const de=t.oxw();t.Q6J("imgblock",de.templates[1])}}function ae(G,be){if(1&G&&t._UZ(0,"app-feedback",15),2&G){const de=t.oxw();t.Q6J("feed",de.templates[1])}}function pe(G,be){if(1&G&&t._UZ(0,"showcase",16),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[1])("dynamic",!0)("slideCount",8)}}function Ae(G,be){if(1&G&&t._UZ(0,"showcase",16),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[1])("dynamic",!1)("slideCount",8)}}function Ze(G,be){if(1&G&&t._UZ(0,"showcase",16),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[1])("dynamic",!1)("slideCount",8)}}function dt(G,be){if(1&G&&t._UZ(0,"text-block",17),2&G){const de=t.oxw();t.Q6J("textBlock",de.templates[1])}}function Fe(G,be){if(1&G&&t._UZ(0,"topic-search",18),2&G){const de=t.oxw();t.Q6J("topicSearch",de.templates[1])}}function Xe(G,be){if(1&G&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function Ie(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",20)(1,"select",21,32),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(2),Re=t.oxw(2);return t.KtG(Re.openSideNav(tt.value,1,Re.templates,"col-2-1-3",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Xe,2,3,"option",24),t.qZA()()}if(2&G){const de=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",de.Components)}}function W(G,be){1&G&&(t.ynx(0),t.YNc(1,Ie,6,1,"div",19),t.BQk()),2&G&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function we(G,be){1&G&&t._UZ(0,"div")}function P(G,be){if(1&G&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function V(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[1].typeOf,1,tt.templates,"col-2-1-3",!0))})("keyup.enter",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[1].typeOf,1,tt.templates,"col-2-1-3",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,32),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(7),Re=t.oxw();return t.KtG(Re.openSideNav(tt.value,1,Re.templates,"col-2-1-3",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,P,2,3,"option",24),t.qZA()()()}if(2&G){const de=t.oxw();t.xp6(10),t.Q6J("ngForOf",de.Components)}}let Se=(()=>{class G{constructor(de,De){this.dialog=de,this._layoutService=De,this.component=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"feedback",height:"95vh",width:"90vw",value:"feedback",name:"Feed Back",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1},{typeOf:"embed",height:"85vh",width:"90vw",value:"embed",name:"Embed Web Link",selected:!1}]}ngOnChanges(de){de&&(de.index&&(this.index=de.index.currentValue),de.footer&&(this.footer=de.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav(de,De,tt,Re,Ft){if(0!=de){let mt=null;mt="showcase"===de?{typeOf:de,rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!0}:"showcase-list"===de?{typeOf:"showcase-list",rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!1}:"popular-list"===de?{typeOf:"popular-list",rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!1}:{typeOf:de,rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft},mt&&this._openSideNav(mt)}}_openSideNav(de){this._layoutService.openSideNav({template:"comp",position:"start",data:de,mode:"side"})}getWithOutIndex(de,De,tt){const Re=[];for(let Ft=0;Ft<this.Components.length;Ft++)Ft!=de&&Ft!=De&&Ft!=tt&&Re.push(this.Components[Ft]);return Re}static#e=this.\u0275fac=function(De){return new(De||G)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:G,selectors:[["col-2-1-3"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:26,vars:25,consts:[[1,"row"],[1,"col-12","col-md-3","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-12","col-md-9","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[3,"embed",4,"ngSwitchCase"],[2,"width","100%",3,"cta"],[3,"imgblock"],[3,"feed"],[3,"showcase","dynamic","slideCount"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],[3,"embed"],["select2",""]],template:function(De,tt){1&De&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,M,1,1,"cta",2)(3,E,1,1,"image-block",3)(4,A,1,1,"app-feedback",4)(5,S,1,3,"showcase",5)(6,Z,1,3,"showcase",5)(7,oe,1,3,"showcase",5)(8,le,1,1,"text-block",6)(9,ee,1,1,"topic-search",7)(10,q,2,1,"ng-container",8)(11,H,1,0,"div",9)(12,ie,11,1,"div",10),t.qZA(),t.TgZ(13,"div",11),t.YNc(14,_e,1,1,"cta",2)(15,Ce,1,1,"embed-url",12)(16,Ve,1,1,"image-block",3)(17,ae,1,1,"app-feedback",4)(18,pe,1,3,"showcase",5)(19,Ae,1,3,"showcase",5)(20,Ze,1,3,"showcase",5)(21,dt,1,1,"text-block",6)(22,Fe,1,1,"topic-search",7)(23,W,2,1,"ng-container",8)(24,we,1,0,"div",9)(25,V,11,1,"div",10),t.qZA()()),2&De&&(t.xp6(),t.Q6J("ngClass",tt.templates[0].flushed?"flushed":"no-flush")("ngSwitch",tt.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",tt.edit),t.xp6(2),t.Q6J("ngIf",tt.edit&&"edit"!==tt.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",tt.templates[1].flushed?"flushed":"no-flush")("ngSwitch",tt.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",tt.edit),t.xp6(2),t.Q6J("ngIf",tt.edit&&"edit"!==tt.templates[1].typeOf))},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.m,n.A,I.v,L.v,y.c,O.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:100px;height:250px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return G})()},4873:(jt,$e,s)=>{"use strict";s.d($e,{D:()=>Se});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(4614),n=s(707),I=s(1414),L=s(8935),y=s(5289),O=s(5343);function M(G,be){if(1&G&&t._UZ(0,"cta",13),2&G){const de=t.oxw();t.Q6J("cta",de.templates[0])}}function E(G,be){if(1&G&&t._UZ(0,"embed-url",14),2&G){const de=t.oxw();t.Q6J("embed",de.templates[0])}}function A(G,be){if(1&G&&t._UZ(0,"image-block",15),2&G){const de=t.oxw();t.Q6J("imgblock",de.templates[0])}}function S(G,be){if(1&G&&t._UZ(0,"app-feedback",16),2&G){const de=t.oxw();t.Q6J("feed",de.templates[0])}}function Z(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[0])("dynamic",!0)("slideCount",7)}}function oe(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[0])("dynamic",!1)("slideCount",7)}}function le(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[0])("dynamic",!1)("slideCount",7)}}function ee(G,be){if(1&G&&t._UZ(0,"text-block",18),2&G){const de=t.oxw();t.Q6J("textBlock",de.templates[0])}}function K(G,be){if(1&G&&t._UZ(0,"topic-search",19),2&G){const de=t.oxw();t.Q6J("topicSearch",de.templates[0])}}function Q(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function q(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",21)(1,"select",22,23),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(2),Re=t.oxw(2);return t.KtG(Re.openSideNav(tt.value,0,Re.templates,"col-2-2-1",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Q,2,3,"option",25),t.qZA()()}if(2&G){const de=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",de.Components)}}function H(G,be){1&G&&(t.ynx(0),t.YNc(1,q,6,1,"div",20),t.BQk()),2&G&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function T(G,be){1&G&&t._UZ(0,"div")}function ie(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function _e(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[0].typeOf,0,tt.templates,"col-2-2-1",!0))})("keyup.enter",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[0].typeOf,0,tt.templates,"col-2-2-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,23),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(7),Re=t.oxw();return t.KtG(Re.openSideNav(tt.value,0,Re.templates,"col-2-2-1",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,ie,2,3,"option",25),t.qZA()()()}if(2&G){const de=t.oxw();t.xp6(10),t.Q6J("ngForOf",de.Components)}}function Ce(G,be){if(1&G&&t._UZ(0,"cta",13),2&G){const de=t.oxw();t.Q6J("cta",de.templates[1])}}function Ve(G,be){if(1&G&&t._UZ(0,"image-block",15),2&G){const de=t.oxw();t.Q6J("imgblock",de.templates[1])}}function ae(G,be){if(1&G&&t._UZ(0,"app-feedback",16),2&G){const de=t.oxw();t.Q6J("feed",de.templates[1])}}function pe(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[1])("dynamic",!0)("slideCount",3)}}function Ae(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[1])("dynamic",!1)("slideCount",3)}}function Ze(G,be){if(1&G&&t._UZ(0,"showcase",17),2&G){const de=t.oxw();t.Q6J("showcase",de.templates[1])("dynamic",!1)("slideCount",3)}}function dt(G,be){if(1&G&&t._UZ(0,"text-block",18),2&G){const de=t.oxw();t.Q6J("textBlock",de.templates[1])}}function Fe(G,be){if(1&G&&t._UZ(0,"topic-search",19),2&G){const de=t.oxw();t.Q6J("topicSearch",de.templates[1])}}function Xe(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function Ie(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",21)(1,"select",22,32),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(2),Re=t.oxw(2);return t.KtG(Re.openSideNav(tt.value,1,Re.templates,"col-2-2-1",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Xe,2,3,"option",25),t.qZA()()}if(2&G){const de=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",de.getWithOutIndex(5,8))}}function W(G,be){1&G&&(t.ynx(0),t.YNc(1,Ie,6,1,"div",20),t.BQk()),2&G&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function we(G,be){1&G&&t._UZ(0,"div")}function P(G,be){if(1&G&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&G){const de=be.$implicit;t.Q6J("value",de.value)("title",de.height),t.xp6(),t.hij(" ",de.name," ")}}function V(G,be){if(1&G){const de=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[1].typeOf,1,tt.templates,"col-2-2-1",!0))})("keyup.enter",function(){t.CHM(de);const tt=t.oxw();return t.KtG(tt.openSideNav(tt.templates[1].typeOf,1,tt.templates,"col-2-2-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,32),t.NdJ("change",function(){t.CHM(de);const tt=t.MAs(7),Re=t.oxw();return t.KtG(Re.openSideNav(tt.value,1,Re.templates,"col-2-2-1",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,P,2,3,"option",25),t.qZA()()()}if(2&G){const de=t.oxw();t.xp6(10),t.Q6J("ngForOf",de.getWithOutIndex(5,8))}}let Se=(()=>{class G{constructor(de,De){this.dialog=de,this._layoutService=De,this.component=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"feedback",height:"95vh",width:"90vw",value:"feedback",name:"Feed Back",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1},{typeOf:"embed",height:"85vh",width:"90vw",value:"embed",name:"Embed Web Link",selected:!1}]}ngOnChanges(de){de&&(de.index&&(this.index=de.index.currentValue),de.footer&&(this.footer=de.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav(de,De,tt,Re,Ft){if(0!=de){let mt=null;mt="showcase"===de?{typeOf:de,rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!0}:"showcase-list"===de?{typeOf:"showcase-list",rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!1}:"popular-list"===de?{typeOf:"popular-list",rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft,dynamic:!1}:{typeOf:de,rowType:Re,rowArray:this.index,compArray:De,template:tt,edit:Ft},mt&&this._openSideNav(mt)}}_openSideNav(de){this._layoutService.openSideNav({template:"comp",position:"start",data:de,mode:"side"})}getWithOutIndex(de,De){const tt=[];for(let Re=0;Re<this.Components.length;Re++)Re!=de&&Re!=De&&tt.push(this.Components[Re]);return tt}static#e=this.\u0275fac=function(De){return new(De||G)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:G,selectors:[["col-2-2-1"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:26,vars:25,consts:[[1,"row"],[1,"col-12","col-md-8","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"embed",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-12","col-md-4","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[2,"width","100%",3,"cta"],[3,"embed"],[3,"imgblock"],[3,"feed"],[3,"showcase","dynamic","slideCount"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],["select2",""]],template:function(De,tt){1&De&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,M,1,1,"cta",2)(3,E,1,1,"embed-url",3)(4,A,1,1,"image-block",4)(5,S,1,1,"app-feedback",5)(6,Z,1,3,"showcase",6)(7,oe,1,3,"showcase",6)(8,le,1,3,"showcase",6)(9,ee,1,1,"text-block",7)(10,K,1,1,"topic-search",8)(11,H,2,1,"ng-container",9)(12,T,1,0,"div",10)(13,_e,11,1,"div",11),t.qZA(),t.TgZ(14,"div",12),t.YNc(15,Ce,1,1,"cta",2)(16,Ve,1,1,"image-block",4)(17,ae,1,1,"app-feedback",5)(18,pe,1,3,"showcase",6)(19,Ae,1,3,"showcase",6)(20,Ze,1,3,"showcase",6)(21,dt,1,1,"text-block",7)(22,Fe,1,1,"topic-search",8)(23,W,2,1,"ng-container",9)(24,we,1,0,"div",10)(25,V,11,1,"div",11),t.qZA()()),2&De&&(t.xp6(),t.Q6J("ngClass",tt.templates[0].flushed?"flushed":"no-flush")("ngSwitch",tt.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",tt.edit),t.xp6(2),t.Q6J("ngIf",tt.edit&&"edit"!==tt.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",tt.templates[1].flushed?"flushed":"no-flush")("ngSwitch",tt.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",tt.edit),t.xp6(2),t.Q6J("ngIf",tt.edit&&"edit"!==tt.templates[1].typeOf))},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.m,n.A,I.v,L.v,y.c,O.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:100px;height:250px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return G})()},9639:(jt,$e,s)=>{"use strict";s.d($e,{y:()=>G});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(4614),n=s(707),I=s(1414),L=s(8935),y=s(5289),O=s(5343);function M(be,de){if(1&be&&t._UZ(0,"cta",14),2&be){const De=t.oxw(2);t.Q6J("cta",De.templates[0])}}function E(be,de){if(1&be&&t._UZ(0,"embed-url",15),2&be){const De=t.oxw(2);t.Q6J("embed",De.templates[0])}}function A(be,de){if(1&be&&t._UZ(0,"image-block",16),2&be){const De=t.oxw(2);t.Q6J("imgblock",De.templates[0])}}function S(be,de){if(1&be&&t._UZ(0,"app-feedback",17),2&be){const De=t.oxw(2);t.Q6J("feed",De.templates[0])}}function Z(be,de){if(1&be&&t._UZ(0,"showcase",18),2&be){const De=t.oxw(2);t.Q6J("showcase",De.templates[0])("dynamic",!0)("slideCount",8)}}function oe(be,de){if(1&be&&t._UZ(0,"showcase",18),2&be){const De=t.oxw(2);t.Q6J("showcase",De.templates[0])("dynamic",!1)("slideCount",8)}}function le(be,de){if(1&be&&t._UZ(0,"showcase",18),2&be){const De=t.oxw(2);t.Q6J("showcase",De.templates[0])("dynamic",!1)("slideCount",8)}}function ee(be,de){if(1&be&&t._UZ(0,"text-block",19),2&be){const De=t.oxw(2);t.Q6J("textBlock",De.templates[0])}}function K(be,de){if(1&be&&t._UZ(0,"topic-search",20),2&be){const De=t.oxw(2);t.Q6J("topicSearch",De.templates[0])}}function Q(be,de){if(1&be&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&be){const De=de.$implicit;t.Q6J("value",De.value)("title",De.height),t.xp6(),t.hij(" ",De.name," ")}}function q(be,de){if(1&be){const De=t.EpF();t.TgZ(0,"div",22)(1,"select",23,24),t.NdJ("change",function(){t.CHM(De);const Re=t.MAs(2),Ft=t.oxw(3);return t.KtG(Ft.openSideNav(Re.value,0,Ft.templates,"col-2-3-1",!1))}),t.TgZ(3,"option",25),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Q,2,3,"option",26),t.qZA()()}if(2&be){const De=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",De.Components)}}function H(be,de){1&be&&(t.ynx(0),t.YNc(1,q,6,1,"div",21),t.BQk()),2&be&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function T(be,de){1&be&&t._UZ(0,"div")}function ie(be,de){if(1&be&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&be){const De=de.$implicit;t.Q6J("value",De.value)("title",De.height),t.xp6(),t.hij(" ",De.name," ")}}function _e(be,de){if(1&be){const De=t.EpF();t.TgZ(0,"div",28)(1,"div",29)(2,"a",30),t.NdJ("click",function(){t.CHM(De);const Re=t.oxw(2);return t.KtG(Re.openSideNav(Re.templates[0].typeOf,0,Re.templates,"col-2-3-1",!0))})("keyup.enter",function(){t.CHM(De);const Re=t.oxw(2);return t.KtG(Re.openSideNav(Re.templates[0].typeOf,0,Re.templates,"col-2-3-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",31),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",32,24),t.NdJ("change",function(){t.CHM(De);const Re=t.MAs(7),Ft=t.oxw(2);return t.KtG(Ft.openSideNav(Re.value,0,Ft.templates,"col-2-3-1",!1))}),t.TgZ(8,"option",25),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,ie,2,3,"option",26),t.qZA()()()}if(2&be){const De=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",De.Components)}}function Ce(be,de){if(1&be&&t._UZ(0,"cta",14),2&be){const De=t.oxw(2);t.Q6J("cta",De.templates[1])}}function Ve(be,de){if(1&be&&t._UZ(0,"image-block",16),2&be){const De=t.oxw(2);t.Q6J("imgblock",De.templates[1])}}function ae(be,de){if(1&be&&t._UZ(0,"app-feedback",17),2&be){const De=t.oxw(2);t.Q6J("feed",De.templates[1])}}function pe(be,de){if(1&be&&t._UZ(0,"showcase",18),2&be){const De=t.oxw(2);t.Q6J("showcase",De.templates[1])("dynamic",!0)("slideCount",2)}}function Ae(be,de){if(1&be&&t._UZ(0,"showcase",18),2&be){const De=t.oxw(2);t.Q6J("showcase",De.templates[1])("dynamic",!1)("slideCount",2)}}function Ze(be,de){if(1&be&&t._UZ(0,"showcase",18),2&be){const De=t.oxw(2);t.Q6J("showcase",De.templates[1])("dynamic",!1)("slideCount",2)}}function dt(be,de){if(1&be&&t._UZ(0,"text-block",19),2&be){const De=t.oxw(2);t.Q6J("textBlock",De.templates[1])}}function Fe(be,de){if(1&be&&t._UZ(0,"topic-search",20),2&be){const De=t.oxw(2);t.Q6J("topicSearch",De.templates[1])}}function Xe(be,de){if(1&be&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&be){const De=de.$implicit;t.Q6J("value",De.value)("title",De.height),t.xp6(),t.hij(" ",De.name," ")}}function Ie(be,de){if(1&be){const De=t.EpF();t.TgZ(0,"div",22)(1,"select",23,33),t.NdJ("change",function(){t.CHM(De);const Re=t.MAs(2),Ft=t.oxw(3);return t.KtG(Ft.openSideNav(Re.value,1,Ft.templates,"col-2-3-1",!1))}),t.TgZ(3,"option",25),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Xe,2,3,"option",26),t.qZA()()}if(2&be){const De=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",De.getWithOutIndex(5,7,8))}}function W(be,de){1&be&&(t.ynx(0),t.YNc(1,Ie,6,1,"div",21),t.BQk()),2&be&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function we(be,de){1&be&&t._UZ(0,"div")}function P(be,de){if(1&be&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&be){const De=de.$implicit;t.Q6J("value",De.value)("title",De.height),t.xp6(),t.hij(" ",De.name," ")}}function V(be,de){if(1&be){const De=t.EpF();t.TgZ(0,"div",28)(1,"div",29)(2,"a",30),t.NdJ("click",function(){t.CHM(De);const Re=t.oxw(2);return t.KtG(Re.openSideNav(Re.templates[1].typeOf,1,Re.templates,"col-2-3-1",!0))})("keyup.enter",function(){t.CHM(De);const Re=t.oxw(2);return t.KtG(Re.openSideNav(Re.templates[1].typeOf,1,Re.templates,"col-2-3-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",31),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",32,33),t.NdJ("change",function(){t.CHM(De);const Re=t.MAs(7),Ft=t.oxw(2);return t.KtG(Ft.openSideNav(Re.value,1,Ft.templates,"col-2-3-1",!1))}),t.TgZ(8,"option",25),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,P,2,3,"option",26),t.qZA()()()}if(2&be){const De=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",De.getWithOutIndex(5,7,8))}}function Se(be,de){if(1&be&&(t.TgZ(0,"div",1)(1,"div",2),t.YNc(2,M,1,1,"cta",3)(3,E,1,1,"embed-url",4)(4,A,1,1,"image-block",5)(5,S,1,1,"app-feedback",6)(6,Z,1,3,"showcase",7)(7,oe,1,3,"showcase",7)(8,le,1,3,"showcase",7)(9,ee,1,1,"text-block",8)(10,K,1,1,"topic-search",9)(11,H,2,1,"ng-container",10)(12,T,1,0,"div",11)(13,_e,11,1,"div",12),t.qZA(),t.TgZ(14,"div",13),t.YNc(15,Ce,1,1,"cta",3)(16,Ve,1,1,"image-block",5)(17,ae,1,1,"app-feedback",6)(18,pe,1,3,"showcase",7)(19,Ae,1,3,"showcase",7)(20,Ze,1,3,"showcase",7)(21,dt,1,1,"text-block",8)(22,Fe,1,1,"topic-search",9)(23,W,2,1,"ng-container",10)(24,we,1,0,"div",11)(25,V,11,1,"div",12),t.qZA()()),2&be){const De=t.oxw();t.xp6(),t.Q6J("ngClass",De.templates[0].flushed?"flushed":"no-flush")("ngSwitch",De.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",De.edit),t.xp6(2),t.Q6J("ngIf",De.edit&&"edit"!==De.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",De.templates[1].flushed?"flushed":"no-flush")("ngSwitch",De.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",De.edit),t.xp6(2),t.Q6J("ngIf",De.edit&&"edit"!==De.templates[1].typeOf)}}let G=(()=>{class be{constructor(De,tt){this.dialog=De,this._layoutService=tt,this.component=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"feedback",height:"95vh",width:"90vw",value:"feedback",name:"Feed Back",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1},{typeOf:"embed",height:"85vh",width:"90vw",value:"embed",name:"Embed Web Link",selected:!1}]}ngOnChanges(De){De&&(De.index&&(this.index=De.index.currentValue),De.footer&&(this.footer=De.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav(De,tt,Re,Ft,mt){if(0!=De){let sn=null;sn="showcase"===De?{typeOf:De,rowType:Ft,rowArray:this.index,compArray:tt,template:Re,edit:mt,dynamic:!0}:"showcase-list"===De?{typeOf:"showcase-list",rowType:Ft,rowArray:this.index,compArray:tt,template:Re,edit:mt,dynamic:!1}:"popular-list"===De?{typeOf:"popular-list",rowType:Ft,rowArray:this.index,compArray:tt,template:Re,edit:mt,dynamic:!1}:{typeOf:De,rowType:Ft,rowArray:this.index,compArray:tt,template:Re,edit:mt},this._openSideNav(sn)}}_openSideNav(De){this._layoutService.openSideNav({template:"comp",position:"start",data:De,mode:"side"})}getWithOutIndex(De,tt,Re){const Ft=[];for(let mt=0;mt<this.Components.length;mt++)mt!=De&&mt!=tt&&mt!=Re&&Ft.push(this.Components[mt]);return Ft}static#e=this.\u0275fac=function(tt){return new(tt||be)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:be,selectors:[["col-2-3-1"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:1,vars:1,consts:[["class","row",4,"ngIf"],[1,"row"],[1,"col-12","col-md-9","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"embed",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-12","col-md-3","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[2,"width","100%",3,"cta"],[3,"embed"],[3,"imgblock"],[3,"feed"],[3,"showcase","dynamic","slideCount"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],["select2",""]],template:function(tt,Re){1&tt&&t.YNc(0,Se,26,25,"div",0),2&tt&&t.Q6J("ngIf",Re.templates)},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.m,n.A,I.v,L.v,y.c,O.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:100px;height:250px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return be})()},9365:(jt,$e,s)=>{"use strict";s.d($e,{q:()=>de});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(4614),n=s(707),I=s(1414),L=s(8935),y=s(5289),O=s(5343);function M(De,tt){if(1&De&&t._UZ(0,"cta",12),2&De){const Re=t.oxw();t.Q6J("cta",Re.templates[0])}}function E(De,tt){if(1&De&&t._UZ(0,"embed-url",13),2&De){const Re=t.oxw();t.Q6J("embed",Re.templates[0])}}function A(De,tt){if(1&De&&t._UZ(0,"image-block",14),2&De){const Re=t.oxw();t.Q6J("imgblock",Re.templates[0])}}function S(De,tt){if(1&De&&t._UZ(0,"app-feedback",15),2&De){const Re=t.oxw();t.Q6J("feed",Re.templates[0])}}function Z(De,tt){if(1&De&&t._UZ(0,"showcase",16),2&De){const Re=t.oxw();t.Q6J("showcase",Re.templates[0])("dynamic",!0)("slideCount",5)}}function oe(De,tt){if(1&De&&t._UZ(0,"showcase",16),2&De){const Re=t.oxw();t.Q6J("showcase",Re.templates[0])("dynamic",!1)("slideCount",5)}}function le(De,tt){if(1&De&&t._UZ(0,"showcase",16),2&De){const Re=t.oxw();t.Q6J("showcase",Re.templates[0])("dynamic",!1)("slideCount",5)}}function ee(De,tt){if(1&De&&t._UZ(0,"text-block",17),2&De){const Re=t.oxw();t.Q6J("textBlock",Re.templates[0])}}function K(De,tt){if(1&De&&t._UZ(0,"topic-search",18),2&De){const Re=t.oxw();t.Q6J("topicSearch",Re.templates[0])}}function Q(De,tt){if(1&De&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&De){const Re=tt.$implicit;t.Q6J("value",Re.value)("title",Re.height),t.xp6(),t.hij(" ",Re.name," ")}}function q(De,tt){if(1&De){const Re=t.EpF();t.TgZ(0,"div",20)(1,"select",21,22),t.NdJ("change",function(){t.CHM(Re);const mt=t.MAs(2),sn=t.oxw(2);return t.KtG(sn.openSideNav(mt.value,0,sn.templates,"col-21",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Q,2,3,"option",24),t.qZA()()}if(2&De){const Re=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",Re.Components)}}function H(De,tt){1&De&&(t.ynx(0),t.YNc(1,q,6,1,"div",19),t.BQk()),2&De&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function T(De,tt){1&De&&t._UZ(0,"div")}function ie(De,tt){if(1&De&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&De){const Re=tt.$implicit;t.Q6J("value",Re.value)("title",Re.height),t.xp6(),t.hij(" ",Re.name," ")}}function _e(De,tt){if(1&De){const Re=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM(Re);const mt=t.oxw(2);return t.KtG(mt.openSideNav(mt.templates[0].typeOf,0,mt.templates,"col-21",!0))})("keyup.enter",function(){t.CHM(Re);const mt=t.oxw(2);return t.KtG(mt.openSideNav(mt.templates[0].typeOf,0,mt.templates,"col-21",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,22),t.NdJ("change",function(){t.CHM(Re);const mt=t.MAs(7),sn=t.oxw(2);return t.KtG(sn.openSideNav(mt.value,0,sn.templates,"col-21",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,ie,2,3,"option",24),t.qZA()()()}if(2&De){const Re=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",Re.Components)}}function Ce(De,tt){if(1&De&&(t.ynx(0),t.YNc(1,_e,11,1,"div",26),t.BQk()),2&De){const Re=t.oxw();t.xp6(),t.Q6J("ngIf",Re.edit&&"edit"!==Re.templates[0].typeOf)}}function Ve(De,tt){if(1&De&&t._UZ(0,"cta",12),2&De){const Re=t.oxw();t.Q6J("cta",Re.templates[1])}}function ae(De,tt){if(1&De&&t._UZ(0,"embed-url",13),2&De){const Re=t.oxw();t.Q6J("embed",Re.templates[1])}}function pe(De,tt){if(1&De&&t._UZ(0,"image-block",14),2&De){const Re=t.oxw();t.Q6J("imgblock",Re.templates[1])}}function Ae(De,tt){if(1&De&&t._UZ(0,"app-feedback",15),2&De){const Re=t.oxw();t.Q6J("feed",Re.templates[1])}}function Ze(De,tt){if(1&De&&t._UZ(0,"showcase",16),2&De){const Re=t.oxw();t.Q6J("showcase",Re.templates[1])("dynamic",!0)("slideCount",5)}}function dt(De,tt){if(1&De&&t._UZ(0,"showcase",16),2&De){const Re=t.oxw();t.Q6J("showcase",Re.templates[1])("dynamic",!1)("slideCount",5)}}function Fe(De,tt){if(1&De&&t._UZ(0,"showcase",16),2&De){const Re=t.oxw();t.Q6J("showcase",Re.templates[1])("dynamic",!1)("slideCount",5)}}function Xe(De,tt){if(1&De&&t._UZ(0,"text-block",17),2&De){const Re=t.oxw();t.Q6J("textBlock",Re.templates[1])}}function Ie(De,tt){if(1&De&&t._UZ(0,"topic-search",18),2&De){const Re=t.oxw();t.Q6J("topicSearch",Re.templates[1])}}function W(De,tt){if(1&De&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&De){const Re=tt.$implicit;t.Q6J("value",Re.value)("title",Re.height),t.xp6(),t.hij(" ",Re.name," ")}}function we(De,tt){if(1&De){const Re=t.EpF();t.TgZ(0,"div",20)(1,"select",21,32),t.NdJ("change",function(){t.CHM(Re);const mt=t.MAs(2),sn=t.oxw(2);return t.KtG(sn.openSideNav(mt.value,1,sn.templates,"col-21",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,W,2,3,"option",24),t.qZA()()}if(2&De){const Re=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",Re.Components)}}function P(De,tt){1&De&&(t.ynx(0),t.YNc(1,we,6,1,"div",19),t.BQk()),2&De&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function V(De,tt){1&De&&t._UZ(0,"div")}function Se(De,tt){if(1&De&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&De){const Re=tt.$implicit;t.Q6J("value",Re.value)("title",Re.height),t.xp6(),t.hij(" ",Re.name," ")}}function G(De,tt){if(1&De){const Re=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM(Re);const mt=t.oxw(2);return t.KtG(mt.openSideNav(mt.templates[1].typeOf,1,mt.templates,"col-21",!0))})("keyup.enter",function(){t.CHM(Re);const mt=t.oxw(2);return t.KtG(mt.openSideNav(mt.templates[1].typeOf,1,mt.templates,"col-21",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,32),t.NdJ("change",function(){t.CHM(Re);const mt=t.MAs(7),sn=t.oxw(2);return t.KtG(sn.openSideNav(mt.value,1,sn.templates,"col-21",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,Se,2,3,"option",24),t.qZA()()()}if(2&De){const Re=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",Re.Components)}}function be(De,tt){if(1&De&&(t.ynx(0),t.YNc(1,G,11,1,"div",26),t.BQk()),2&De){const Re=t.oxw();t.xp6(),t.Q6J("ngIf",Re.edit&&"edit"!==Re.templates[1].typeOf)}}let de=(()=>{class De{constructor(Re,Ft){this.dialog=Re,this._layoutService=Ft,this.component=new t.vpe,this.searchRes=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"auto",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!0},{typeOf:"feedback",height:"95vh",width:"90vw",value:"feedback",name:"Feed Back",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1},{typeOf:"embed",height:"85vh",width:"90vw",value:"embed",name:"Embed Web Link",selected:!1}]}ngOnChanges(Re){Re&&(Re.index&&(this.index=Re.index.currentValue),Re.footer&&(this.footer=Re.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav(Re,Ft,mt,sn,hn){if(0!=Re){let Nn=null;Nn="showcase"===Re?{typeOf:Re,rowType:sn,rowArray:this.index,compArray:Ft,template:mt,edit:hn,dynamic:!0}:"showcase-list"===Re?{typeOf:"showcase-list",rowType:sn,rowArray:this.index,compArray:Ft,template:mt,edit:hn,dynamic:!1}:"popular-list"===Re?{typeOf:"popular-list",rowType:sn,rowArray:this.index,compArray:Ft,template:mt,edit:hn,dynamic:!1}:{typeOf:Re,rowType:sn,rowArray:this.index,compArray:Ft,template:mt,edit:hn},Nn&&this._openSideNav(Nn)}}_openSideNav(Re){this._layoutService.openSideNav({template:"comp",position:"start",data:Re,mode:"side"})}getWithOutIndex(Re,Ft){const mt=[];for(let sn=0;sn<this.Components.length;sn++)sn!=Re&&sn!=Ft&&mt.push(this.Components[sn]);return mt}static#e=this.\u0275fac=function(Ft){return new(Ft||De)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:De,selectors:[["col-21"]],inputs:{index:"index",templates:"templates",edit:"edit",footer:"footer"},outputs:{component:"component",searchRes:"searchRes"},features:[t.TTD],decls:27,vars:26,consts:[[1,"row"],[1,"col-12","col-md-6","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"embed",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],[1,"col-12","col-md-6","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[2,"width","100%",3,"cta"],[3,"embed"],[3,"imgblock"],[3,"feed"],[3,"showcase","dynamic","slideCount"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],["class","edit-component text-center",4,"ngIf"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],["select2",""]],template:function(Ft,mt){1&Ft&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,M,1,1,"cta",2)(3,E,1,1,"embed-url",3)(4,A,1,1,"image-block",4)(5,S,1,1,"app-feedback",5)(6,Z,1,3,"showcase",6)(7,oe,1,3,"showcase",6)(8,le,1,3,"showcase",6)(9,ee,1,1,"text-block",7)(10,K,1,1,"topic-search",8)(11,H,2,1,"ng-container",9)(12,T,1,0,"div",10)(13,Ce,2,1,"ng-container",9),t.qZA(),t.TgZ(14,"div",11),t.YNc(15,Ve,1,1,"cta",2)(16,ae,1,1,"embed-url",3)(17,pe,1,1,"image-block",4)(18,Ae,1,1,"app-feedback",5)(19,Ze,1,3,"showcase",6)(20,dt,1,3,"showcase",6)(21,Fe,1,3,"showcase",6)(22,Xe,1,1,"text-block",7)(23,Ie,1,1,"topic-search",8)(24,P,2,1,"ng-container",9)(25,V,1,0,"div",10)(26,be,2,1,"ng-container",9),t.qZA()()),2&Ft&&(t.xp6(),t.Q6J("ngClass",mt.templates[0].flushed?"flushed":"no-flush")("ngSwitch",mt.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",mt.edit),t.xp6(2),t.Q6J("ngIf",null!==mt.templates[0].typeOf||void 0!==mt.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",mt.templates[1].flushed?"flushed":"no-flush")("ngSwitch",mt.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",mt.edit),t.xp6(2),t.Q6J("ngIf",null!==mt.templates[1].typeOf||void 0!==mt.templates[1].typeOf))},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.m,n.A,I.v,L.v,y.c,O.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:100px;height:250px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return De})()},5862:(jt,$e,s)=>{"use strict";s.d($e,{W:()=>He});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(4614),n=s(707),I=s(1414),L=s(8935),y=s(5289),O=s(5343);function M(fe,Ne){if(1&fe&&t._UZ(0,"cta",15),2&fe){const $=t.oxw();t.Q6J("cta",$.templates[0])}}function E(fe,Ne){if(1&fe&&t._UZ(0,"image-block",16),2&fe){const $=t.oxw();t.Q6J("imgblock",$.templates[0])}}function A(fe,Ne){if(1&fe&&t._UZ(0,"app-feedback",17),2&fe){const $=t.oxw();t.Q6J("feed",$.templates[0])}}function S(fe,Ne){if(1&fe&&t._UZ(0,"showcase",18),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[0])("slideCount",2)("dynamic",!0)}}function Z(fe,Ne){if(1&fe&&t._UZ(0,"showcase",18),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[0])("slideCount",2)("dynamic",!1)}}function oe(fe,Ne){if(1&fe&&t._UZ(0,"showcase",18),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[0])("slideCount",2)("dynamic",!1)}}function le(fe,Ne){if(1&fe&&t._UZ(0,"text-block",19),2&fe){const $=t.oxw();t.Q6J("textBlock",$.templates[0])}}function ee(fe,Ne){if(1&fe&&t._UZ(0,"topic-search",20),2&fe){const $=t.oxw();t.Q6J("topicSearch",$.templates[0])}}function K(fe,Ne){if(1&fe&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function Q(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",22)(1,"select",23,24),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(2),Ke=t.oxw(2);return t.KtG(Ke.openSideNav(Ge.value,0,Ke.templates,"col-3-1-1-2",!1))}),t.TgZ(3,"option",25),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,K,2,3,"option",26),t.qZA()()}if(2&fe){const $=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",$.Components2)}}function q(fe,Ne){1&fe&&(t.ynx(0),t.YNc(1,Q,6,1,"div",21),t.BQk()),2&fe&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function H(fe,Ne){1&fe&&t._UZ(0,"div")}function T(fe,Ne){if(1&fe&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function ie(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",28)(1,"div",29)(2,"a",30),t.NdJ("click",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[0].typeOf,0,Ge.templates,"col-3-1-1-2",!0))})("keyup.enter",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[0].typeOf,0,Ge.templates,"col-3-1-1-2",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",31),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",32,24),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(7),Ke=t.oxw();return t.KtG(Ke.openSideNav(Ge.value,0,Ke.templates,"col-3-1-1-2",!1))}),t.TgZ(8,"option",25),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,T,2,3,"option",26),t.qZA()()()}if(2&fe){const $=t.oxw();t.xp6(10),t.Q6J("ngForOf",$.Components2)}}function _e(fe,Ne){if(1&fe&&t._UZ(0,"cta",15),2&fe){const $=t.oxw();t.Q6J("cta",$.templates[1])}}function Ce(fe,Ne){if(1&fe&&t._UZ(0,"image-block",16),2&fe){const $=t.oxw();t.Q6J("imgblock",$.templates[1])}}function Ve(fe,Ne){if(1&fe&&t._UZ(0,"app-feedback",17),2&fe){const $=t.oxw();t.Q6J("feed",$.templates[1])}}function ae(fe,Ne){if(1&fe&&t._UZ(0,"showcase",33),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[1])("dynamic",!0)("slideCount",2)}}function pe(fe,Ne){if(1&fe&&t._UZ(0,"showcase",33),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[1])("dynamic",!1)("slideCount",2)}}function Ae(fe,Ne){if(1&fe&&t._UZ(0,"showcase",33),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[1])("dynamic",!1)("slideCount",2)}}function Ze(fe,Ne){if(1&fe&&t._UZ(0,"text-block",19),2&fe){const $=t.oxw();t.Q6J("textBlock",$.templates[1])}}function dt(fe,Ne){if(1&fe&&t._UZ(0,"topic-search",20),2&fe){const $=t.oxw();t.Q6J("topicSearch",$.templates[1])}}function Fe(fe,Ne){if(1&fe&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function Xe(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",22)(1,"select",23,34),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(2),Ke=t.oxw(2);return t.KtG(Ke.openSideNav(Ge.value,1,Ke.templates,"col-3-1-1-2",!1))}),t.TgZ(3,"option",25),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Fe,2,3,"option",26),t.qZA()()}if(2&fe){const $=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",$.Components2)}}function Ie(fe,Ne){1&fe&&(t.ynx(0),t.YNc(1,Xe,6,1,"div",21),t.BQk()),2&fe&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function W(fe,Ne){1&fe&&t._UZ(0,"div")}function we(fe,Ne){if(1&fe&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function P(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",28)(1,"div",29)(2,"a",30),t.NdJ("click",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[1].typeOf,1,Ge.templates,"col-3-1-1-2",!0))})("keyup.enter",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[1].typeOf,1,Ge.templates,"col-3-1-1-2",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",31),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",32,34),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(7),Ke=t.oxw();return t.KtG(Ke.openSideNav(Ge.value,1,Ke.templates,"col-3-1-1-2",!1))}),t.TgZ(8,"option",25),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,we,2,3,"option",26),t.qZA()()()}if(2&fe){const $=t.oxw();t.xp6(10),t.Q6J("ngForOf",$.Components2)}}function V(fe,Ne){if(1&fe&&t._UZ(0,"cta",15),2&fe){const $=t.oxw();t.Q6J("cta",$.templates[2])}}function Se(fe,Ne){if(1&fe&&t._UZ(0,"image-block",16),2&fe){const $=t.oxw();t.Q6J("imgblock",$.templates[2])}}function G(fe,Ne){if(1&fe&&t._UZ(0,"app-feedback",17),2&fe){const $=t.oxw();t.Q6J("feed",$.templates[2])}}function be(fe,Ne){if(1&fe&&t._UZ(0,"showcase",33),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[2])("dynamic",!0)("slideCount",5)}}function de(fe,Ne){if(1&fe&&t._UZ(0,"showcase",33),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[2])("dynamic",!1)("slideCount",5)}}function De(fe,Ne){if(1&fe&&t._UZ(0,"showcase",33),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[2])("dynamic",!1)("slideCount",5)}}function tt(fe,Ne){if(1&fe&&t._UZ(0,"text-block",19),2&fe){const $=t.oxw();t.Q6J("textBlock",$.templates[2])}}function Re(fe,Ne){if(1&fe&&t._UZ(0,"topic-search",20),2&fe){const $=t.oxw();t.Q6J("topicSearch",$.templates[2])}}function Ft(fe,Ne){if(1&fe&&t._UZ(0,"embed-url",35),2&fe){const $=t.oxw();t.Q6J("embed",$.templates[2])}}function mt(fe,Ne){if(1&fe&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function sn(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",22)(1,"select",23,36),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(2),Ke=t.oxw(2);return t.KtG(Ke.openSideNav(Ge.value,2,Ke.templates,"col-3-1-1-2",!1))}),t.TgZ(3,"option",25),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,mt,2,3,"option",26),t.qZA()()}if(2&fe){const $=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",$.Components)}}function hn(fe,Ne){1&fe&&(t.ynx(0),t.YNc(1,sn,6,1,"div",21),t.BQk()),2&fe&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function Nn(fe,Ne){1&fe&&t._UZ(0,"div")}function Jt(fe,Ne){if(1&fe&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function cn(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",28)(1,"div",29)(2,"a",30),t.NdJ("click",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[2].typeOf,2,Ge.templates,"col-3-1-1-2",!0))})("keyup.enter",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[2].typeOf,2,Ge.templates,"col-3-1-1-2",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",31),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",32,36),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(7),Ke=t.oxw();return t.KtG(Ke.openSideNav(Ge.value,2,Ke.templates,"col-3-1-1-2",!1))}),t.TgZ(8,"option",25),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,Jt,2,3,"option",26),t.qZA()()()}if(2&fe){const $=t.oxw();t.xp6(10),t.Q6J("ngForOf",$.Components)}}let He=(()=>{class fe{constructor($,Ee){this.dialog=$,this._layoutService=Ee,this.component=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components2=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1},{typeOf:"embed",height:"85vh",width:"90vw",value:"embed",name:"Embed Web Link",selected:!1}]}ngOnChanges($){$&&($.index&&(this.index=$.index.currentValue),$.footer&&(this.footer=$.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav($,Ee,Ge,Ke,Et){if(0!=$){let Tt=null;Tt="showcase"===$?{typeOf:$,rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et,dynamic:!0}:"showcase-list"===$?{typeOf:"showcase-list",rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et,dynamic:!1}:"popular-list"===$?{typeOf:"popular-list",rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et,dynamic:!1}:{typeOf:$,rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et},Tt&&this._openSideNav(Tt)}}_openSideNav($){this._layoutService.openSideNav({template:"comp",position:"start",data:$,mode:"side"})}static#e=this.\u0275fac=function(Ee){return new(Ee||fe)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:fe,selectors:[["col-3-1-1-2"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:38,vars:37,consts:[[1,"row"],[1,"col-12","col-md-3","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","slideCount","dynamic",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-12","col-md-3","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[1,"col-12","col-md-6","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[3,"embed",4,"ngSwitchCase"],[2,"width","100%",3,"cta"],[3,"imgblock"],[3,"feed"],[3,"showcase","slideCount","dynamic"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],[3,"showcase","dynamic","slideCount"],["select2",""],[3,"embed"],["select3",""]],template:function(Ee,Ge){1&Ee&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,M,1,1,"cta",2)(3,E,1,1,"image-block",3)(4,A,1,1,"app-feedback",4)(5,S,1,3,"showcase",5)(6,Z,1,3,"showcase",5)(7,oe,1,3,"showcase",5)(8,le,1,1,"text-block",6)(9,ee,1,1,"topic-search",7)(10,q,2,1,"ng-container",8)(11,H,1,0,"div",9)(12,ie,11,1,"div",10),t.qZA(),t.TgZ(13,"div",11),t.YNc(14,_e,1,1,"cta",2)(15,Ce,1,1,"image-block",3)(16,Ve,1,1,"app-feedback",4)(17,ae,1,3,"showcase",12)(18,pe,1,3,"showcase",12)(19,Ae,1,3,"showcase",12)(20,Ze,1,1,"text-block",6)(21,dt,1,1,"topic-search",7)(22,Ie,2,1,"ng-container",8)(23,W,1,0,"div",9)(24,P,11,1,"div",10),t.qZA(),t.TgZ(25,"div",13),t.YNc(26,V,1,1,"cta",2)(27,Se,1,1,"image-block",3)(28,G,1,1,"app-feedback",4)(29,be,1,3,"showcase",12)(30,de,1,3,"showcase",12)(31,De,1,3,"showcase",12)(32,tt,1,1,"text-block",6)(33,Re,1,1,"topic-search",7)(34,Ft,1,1,"embed-url",14)(35,hn,2,1,"ng-container",8)(36,Nn,1,0,"div",9)(37,cn,11,1,"div",10),t.qZA()()),2&Ee&&(t.xp6(),t.Q6J("ngClass",Ge.templates[0].flushed?"flushed":"no-flush")("ngSwitch",Ge.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ge.edit),t.xp6(2),t.Q6J("ngIf",Ge.edit&&"edit"!==Ge.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",Ge.templates[1].flushed?"flushed":"no-flush")("ngSwitch",Ge.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ge.edit),t.xp6(2),t.Q6J("ngIf",Ge.edit&&"edit"!==Ge.templates[1].typeOf),t.xp6(),t.Q6J("ngClass",Ge.templates[2].flushed?"flushed":"no-flush")("ngSwitch",Ge.templates[2].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngIf",Ge.edit),t.xp6(2),t.Q6J("ngIf",Ge.edit&&"edit"!==Ge.templates[2].typeOf))},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.m,n.A,I.v,L.v,y.c,O.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:80px;height:200px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return fe})()},8477:(jt,$e,s)=>{"use strict";s.d($e,{U:()=>He});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(4614),n=s(707),I=s(1414),L=s(8935),y=s(5289),O=s(5343);function M(fe,Ne){if(1&fe&&t._UZ(0,"cta",14),2&fe){const $=t.oxw();t.Q6J("cta",$.templates[0])}}function E(fe,Ne){if(1&fe&&t._UZ(0,"image-block",15),2&fe){const $=t.oxw();t.Q6J("imgblock",$.templates[0])}}function A(fe,Ne){if(1&fe&&t._UZ(0,"app-feedback",16),2&fe){const $=t.oxw();t.Q6J("feed",$.templates[0])}}function S(fe,Ne){if(1&fe&&t._UZ(0,"showcase",17),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[0])("dynamic",!0)("slideCount",2)}}function Z(fe,Ne){if(1&fe&&t._UZ(0,"showcase",17),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[0])("dynamic",!1)("slideCount",2)}}function oe(fe,Ne){if(1&fe&&t._UZ(0,"showcase",17),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[0])("dynamic",!1)("slideCount",2)}}function le(fe,Ne){if(1&fe&&t._UZ(0,"text-block",18),2&fe){const $=t.oxw();t.Q6J("textBlock",$.templates[0])}}function ee(fe,Ne){if(1&fe&&t._UZ(0,"topic-search",19),2&fe){const $=t.oxw();t.Q6J("topicSearch",$.templates[0])}}function K(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function Q(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",21)(1,"select",22,23),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(2),Ke=t.oxw(2);return t.KtG(Ke.openSideNav(Ge.value,0,Ke.templates,"col-3-1-2-1",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,K,2,3,"option",25),t.qZA()()}if(2&fe){const $=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",$.Components2)}}function q(fe,Ne){1&fe&&(t.ynx(0),t.YNc(1,Q,6,1,"div",20),t.BQk()),2&fe&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function H(fe,Ne){1&fe&&t._UZ(0,"div")}function T(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function ie(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[0].typeOf,0,Ge.templates,"col-3-1-2-1",!0))})("keyup.enter",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[0].typeOf,0,Ge.templates,"col-3-1-2-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,23),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(7),Ke=t.oxw();return t.KtG(Ke.openSideNav(Ge.value,0,Ke.templates,"col-3-1-2-1",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,T,2,3,"option",25),t.qZA()()()}if(2&fe){const $=t.oxw();t.xp6(10),t.Q6J("ngForOf",$.Components2)}}function _e(fe,Ne){if(1&fe&&t._UZ(0,"cta",14),2&fe){const $=t.oxw();t.Q6J("cta",$.templates[1])}}function Ce(fe,Ne){if(1&fe&&t._UZ(0,"image-block",15),2&fe){const $=t.oxw();t.Q6J("imgblock",$.templates[1])}}function Ve(fe,Ne){if(1&fe&&t._UZ(0,"app-feedback",16),2&fe){const $=t.oxw();t.Q6J("feed",$.templates[1])}}function ae(fe,Ne){if(1&fe&&t._UZ(0,"showcase",17),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[1])("dynamic",!0)("slideCount",5)}}function pe(fe,Ne){if(1&fe&&t._UZ(0,"showcase",17),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[1])("dynamic",!1)("slideCount",5)}}function Ae(fe,Ne){if(1&fe&&t._UZ(0,"showcase",17),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[1])("dynamic",!1)("slideCount",5)}}function Ze(fe,Ne){if(1&fe&&t._UZ(0,"text-block",18),2&fe){const $=t.oxw();t.Q6J("textBlock",$.templates[1])}}function dt(fe,Ne){if(1&fe&&t._UZ(0,"topic-search",19),2&fe){const $=t.oxw();t.Q6J("topicSearch",$.templates[1])}}function Fe(fe,Ne){if(1&fe&&t._UZ(0,"embed-url",32),2&fe){const $=t.oxw();t.Q6J("embed",$.templates[1])}}function Xe(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function Ie(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",21)(1,"select",22,33),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(2),Ke=t.oxw(2);return t.KtG(Ke.openSideNav(Ge.value,1,Ke.templates,"col-3-1-2-1",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Xe,2,3,"option",25),t.qZA()()}if(2&fe){const $=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",$.Components)}}function W(fe,Ne){1&fe&&(t.ynx(0),t.YNc(1,Ie,6,1,"div",20),t.BQk()),2&fe&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function we(fe,Ne){1&fe&&t._UZ(0,"div")}function P(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function V(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[1].typeOf,1,Ge.templates,"col-3-1-2-1",!0))})("keyup.enter",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[1].typeOf,1,Ge.templates,"col-3-1-2-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,33),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(7),Ke=t.oxw();return t.KtG(Ke.openSideNav(Ge.value,1,Ke.templates,"col-3-1-2-1",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,P,2,3,"option",25),t.qZA()()()}if(2&fe){const $=t.oxw();t.xp6(10),t.Q6J("ngForOf",$.Components)}}function Se(fe,Ne){if(1&fe&&t._UZ(0,"cta",14),2&fe){const $=t.oxw();t.Q6J("cta",$.templates[2])}}function G(fe,Ne){if(1&fe&&t._UZ(0,"image-block",15),2&fe){const $=t.oxw();t.Q6J("imgblock",$.templates[2])}}function be(fe,Ne){if(1&fe&&t._UZ(0,"app-feedback",16),2&fe){const $=t.oxw();t.Q6J("feed",$.templates[2])}}function de(fe,Ne){if(1&fe&&t._UZ(0,"showcase",17),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[2])("dynamic",!0)("slideCount",2)}}function De(fe,Ne){if(1&fe&&t._UZ(0,"showcase",17),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[2])("dynamic",!1)("slideCount",2)}}function tt(fe,Ne){if(1&fe&&t._UZ(0,"showcase",17),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[2])("dynamic",!1)("slideCount",2)}}function Re(fe,Ne){if(1&fe&&t._UZ(0,"text-block",18),2&fe){const $=t.oxw();t.Q6J("textBlock",$.templates[2])}}function Ft(fe,Ne){if(1&fe&&t._UZ(0,"topic-search",19),2&fe){const $=t.oxw();t.Q6J("topicSearch",$.templates[2])}}function mt(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function sn(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",21)(1,"select",22,34),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(2),Ke=t.oxw(2);return t.KtG(Ke.openSideNav(Ge.value,2,Ke.templates,"col-3-1-2-1",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,mt,2,3,"option",25),t.qZA()()}if(2&fe){const $=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",$.Components2)}}function hn(fe,Ne){1&fe&&(t.ynx(0),t.YNc(1,sn,6,1,"div",20),t.BQk()),2&fe&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function Nn(fe,Ne){1&fe&&t._UZ(0,"div")}function Jt(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function cn(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[2].typeOf,2,Ge.templates,"col-3-1-2-1",!0))})("keyup.enter",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[2].typeOf,2,Ge.templates,"col-3-1-2-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,34),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(7),Ke=t.oxw();return t.KtG(Ke.openSideNav(Ge.value,2,Ke.templates,"col-3-1-2-1",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,Jt,2,3,"option",25),t.qZA()()()}if(2&fe){const $=t.oxw();t.xp6(10),t.Q6J("ngForOf",$.Components2)}}let He=(()=>{class fe{constructor($,Ee){this.dialog=$,this._layoutService=Ee,this.component=new t.vpe,this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components2=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1},{typeOf:"embed",height:"85vh",width:"90vw",value:"embed",name:"Embed Web Link",selected:!1}]}ngOnChanges($){$&&($.index&&(this.index=$.index.currentValue),$.footer&&(this.footer=$.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav($,Ee,Ge,Ke,Et){if(0!=$){let Tt=null;Tt="showcase"===$?{typeOf:$,rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et,dynamic:!0}:"showcase-list"===$?{typeOf:"showcase-list",rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et,dynamic:!1}:"popular-list"===$?{typeOf:"popular-list",rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et,dynamic:!1}:{typeOf:$,rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et},Tt&&this._openSideNav(Tt)}}_openSideNav($){this._layoutService.openSideNav({template:"comp",position:"start",data:$,mode:"side"})}static#e=this.\u0275fac=function(Ee){return new(Ee||fe)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:fe,selectors:[["col-3-1-2-1"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:38,vars:37,consts:[[1,"row"],[1,"col-12","col-md-3","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-12","col-md-6","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[3,"embed",4,"ngSwitchCase"],[1,"col-12","col-md-3","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[2,"width","100%",3,"cta"],[3,"imgblock"],[3,"feed"],[3,"showcase","dynamic","slideCount"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],[3,"embed"],["select2",""],["select3",""]],template:function(Ee,Ge){1&Ee&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,M,1,1,"cta",2)(3,E,1,1,"image-block",3)(4,A,1,1,"app-feedback",4)(5,S,1,3,"showcase",5)(6,Z,1,3,"showcase",5)(7,oe,1,3,"showcase",5)(8,le,1,1,"text-block",6)(9,ee,1,1,"topic-search",7)(10,q,2,1,"ng-container",8)(11,H,1,0,"div",9)(12,ie,11,1,"div",10),t.qZA(),t.TgZ(13,"div",11),t.YNc(14,_e,1,1,"cta",2)(15,Ce,1,1,"image-block",3)(16,Ve,1,1,"app-feedback",4)(17,ae,1,3,"showcase",5)(18,pe,1,3,"showcase",5)(19,Ae,1,3,"showcase",5)(20,Ze,1,1,"text-block",6)(21,dt,1,1,"topic-search",7)(22,Fe,1,1,"embed-url",12)(23,W,2,1,"ng-container",8)(24,we,1,0,"div",9)(25,V,11,1,"div",10),t.qZA(),t.TgZ(26,"div",13),t.YNc(27,Se,1,1,"cta",2)(28,G,1,1,"image-block",3)(29,be,1,1,"app-feedback",4)(30,de,1,3,"showcase",5)(31,De,1,3,"showcase",5)(32,tt,1,3,"showcase",5)(33,Re,1,1,"text-block",6)(34,Ft,1,1,"topic-search",7)(35,hn,2,1,"ng-container",8)(36,Nn,1,0,"div",9)(37,cn,11,1,"div",10),t.qZA()()),2&Ee&&(t.xp6(),t.Q6J("ngClass",Ge.templates[0].flushed?"flushed":"no-flush")("ngSwitch",Ge.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ge.edit),t.xp6(2),t.Q6J("ngIf",Ge.edit&&"edit"!==Ge.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",Ge.templates[1].flushed?"flushed":"no-flush")("ngSwitch",Ge.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngIf",Ge.edit),t.xp6(2),t.Q6J("ngIf",Ge.edit&&"edit"!==Ge.templates[1].typeOf),t.xp6(),t.Q6J("ngClass",Ge.templates[2].flushed?"flushed":"no-flush")("ngSwitch",Ge.templates[2].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ge.edit),t.xp6(2),t.Q6J("ngIf",Ge.edit&&"edit"!==Ge.templates[2].typeOf))},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.m,n.A,I.v,L.v,y.c,O.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:80px;height:200px;padding-bottom:initial;background:#d3d3d3;text-align:center}.choose-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{max-width:200px;margin:0 auto}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return fe})()},1286:(jt,$e,s)=>{"use strict";s.d($e,{E:()=>He});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(4614),n=s(707),I=s(1414),L=s(8935),y=s(5289),O=s(5343);function M(fe,Ne){if(1&fe&&t._UZ(0,"cta",13),2&fe){const $=t.oxw();t.Q6J("cta",$.templates[0])}}function E(fe,Ne){if(1&fe&&t._UZ(0,"image-block",14),2&fe){const $=t.oxw();t.Q6J("imgblock",$.templates[0])}}function A(fe,Ne){if(1&fe&&t._UZ(0,"app-feedback",15),2&fe){const $=t.oxw();t.Q6J("feed",$.templates[0])}}function S(fe,Ne){if(1&fe&&t._UZ(0,"showcase",16),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[0])("dynamic",!0)("slideCount",5)}}function Z(fe,Ne){if(1&fe&&t._UZ(0,"showcase",16),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[0])("dynamic",!1)("slideCount",5)}}function oe(fe,Ne){if(1&fe&&t._UZ(0,"showcase",16),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[0])("dynamic",!1)("slideCount",5)}}function le(fe,Ne){if(1&fe&&t._UZ(0,"text-block",17),2&fe){const $=t.oxw();t.Q6J("textBlock",$.templates[0])}}function ee(fe,Ne){if(1&fe&&t._UZ(0,"topic-search",18),2&fe){const $=t.oxw();t.Q6J("topicSearch",$.templates[0])}}function K(fe,Ne){if(1&fe&&t._UZ(0,"embed-url",19),2&fe){const $=t.oxw();t.Q6J("embed",$.templates[0])}}function Q(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function q(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",21)(1,"select",22,23),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(2),Ke=t.oxw(2);return t.KtG(Ke.openSideNav(Ge.value,0,Ke.templates,"col-3-2-1-1",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Q,2,3,"option",25),t.qZA()()}if(2&fe){const $=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",$.Components)}}function H(fe,Ne){1&fe&&(t.ynx(0),t.YNc(1,q,6,1,"div",20),t.BQk()),2&fe&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function T(fe,Ne){1&fe&&t._UZ(0,"div")}function ie(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function _e(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[0].typeOf,0,Ge.templates,"col-3-2-1-1",!0))})("keyup.enter",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[0].typeOf,0,Ge.templates,"col-3-2-1-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,23),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(7),Ke=t.oxw();return t.KtG(Ke.openSideNav(Ge.value,0,Ke.templates,"col-3-2-1-1",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,ie,2,3,"option",25),t.qZA()()()}if(2&fe){const $=t.oxw();t.xp6(10),t.Q6J("ngForOf",$.Components)}}function Ce(fe,Ne){if(1&fe&&t._UZ(0,"cta",13),2&fe){const $=t.oxw();t.Q6J("cta",$.templates[1])}}function Ve(fe,Ne){if(1&fe&&t._UZ(0,"image-block",14),2&fe){const $=t.oxw();t.Q6J("imgblock",$.templates[1])}}function ae(fe,Ne){if(1&fe&&t._UZ(0,"app-feedback",15),2&fe){const $=t.oxw();t.Q6J("feed",$.templates[1])}}function pe(fe,Ne){if(1&fe&&t._UZ(0,"showcase",16),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[1])("dynamic",!0)("slideCount",2)}}function Ae(fe,Ne){if(1&fe&&t._UZ(0,"showcase",16),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[1])("dynamic",!1)("slideCount",2)}}function Ze(fe,Ne){if(1&fe&&t._UZ(0,"showcase",16),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[1])("dynamic",!1)("slideCount",2)}}function dt(fe,Ne){if(1&fe&&t._UZ(0,"text-block",17),2&fe){const $=t.oxw();t.Q6J("textBlock",$.templates[1])}}function Fe(fe,Ne){if(1&fe&&t._UZ(0,"topic-search",18),2&fe){const $=t.oxw();t.Q6J("topicSearch",$.templates[1])}}function Xe(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function Ie(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",21)(1,"select",22,32),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(2),Ke=t.oxw(2);return t.KtG(Ke.openSideNav(Ge.value,1,Ke.templates,"col-3-2-1-1",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Xe,2,3,"option",25),t.qZA()()}if(2&fe){const $=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",$.Components2)}}function W(fe,Ne){1&fe&&(t.ynx(0),t.YNc(1,Ie,6,1,"div",20),t.BQk()),2&fe&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function we(fe,Ne){1&fe&&t._UZ(0,"div")}function P(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function V(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[1].typeOf,1,Ge.templates,"col-3-2-1-1",!0))})("keyup.enter",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[1].typeOf,1,Ge.templates,"col-3-2-1-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,32),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(7),Ke=t.oxw();return t.KtG(Ke.openSideNav(Ge.value,1,Ke.templates,"col-3-2-1-1",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,P,2,3,"option",25),t.qZA()()()}if(2&fe){const $=t.oxw();t.xp6(10),t.Q6J("ngForOf",$.Components2)}}function Se(fe,Ne){if(1&fe&&t._UZ(0,"cta",13),2&fe){const $=t.oxw();t.Q6J("cta",$.templates[2])}}function G(fe,Ne){if(1&fe&&t._UZ(0,"image-block",14),2&fe){const $=t.oxw();t.Q6J("imgblock",$.templates[2])}}function be(fe,Ne){if(1&fe&&t._UZ(0,"app-feedback",15),2&fe){const $=t.oxw();t.Q6J("feed",$.templates[2])}}function de(fe,Ne){if(1&fe&&t._UZ(0,"showcase",16),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[2])("dynamic",!0)("slideCount",2)}}function De(fe,Ne){if(1&fe&&t._UZ(0,"showcase",16),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[2])("dynamic",!1)("slideCount",2)}}function tt(fe,Ne){if(1&fe&&t._UZ(0,"showcase",16),2&fe){const $=t.oxw();t.Q6J("showcase",$.templates[2])("dynamic",!1)("slideCount",2)}}function Re(fe,Ne){if(1&fe&&t._UZ(0,"text-block",17),2&fe){const $=t.oxw();t.Q6J("textBlock",$.templates[2])}}function Ft(fe,Ne){if(1&fe&&t._UZ(0,"topic-search",18),2&fe){const $=t.oxw();t.Q6J("topicSearch",$.templates[2])}}function mt(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function sn(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",21)(1,"select",22,33),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(2),Ke=t.oxw(2);return t.KtG(Ke.openSideNav(Ge.value,2,Ke.templates,"col-3-2-1-1",!1))}),t.TgZ(3,"option",24),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,mt,2,3,"option",25),t.qZA()()}if(2&fe){const $=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",$.Components2)}}function hn(fe,Ne){1&fe&&(t.ynx(0),t.YNc(1,sn,6,1,"div",20),t.BQk()),2&fe&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function Nn(fe,Ne){1&fe&&t._UZ(0,"div")}function Jt(fe,Ne){if(1&fe&&(t.TgZ(0,"option",26),t._uU(1),t.qZA()),2&fe){const $=Ne.$implicit;t.Q6J("value",$.value)("title",$.height),t.xp6(),t.hij(" ",$.name," ")}}function cn(fe,Ne){if(1&fe){const $=t.EpF();t.TgZ(0,"div",27)(1,"div",28)(2,"a",29),t.NdJ("click",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[2].typeOf,2,Ge.templates,"col-3-2-1-1",!0))})("keyup.enter",function(){t.CHM($);const Ge=t.oxw();return t.KtG(Ge.openSideNav(Ge.templates[2].typeOf,2,Ge.templates,"col-3-2-1-1",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",30),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",31,33),t.NdJ("change",function(){t.CHM($);const Ge=t.MAs(7),Ke=t.oxw();return t.KtG(Ke.openSideNav(Ge.value,2,Ke.templates,"col-3-2-1-1",!1))}),t.TgZ(8,"option",24),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,Jt,2,3,"option",25),t.qZA()()()}if(2&fe){const $=t.oxw();t.xp6(10),t.Q6J("ngForOf",$.Components2)}}let He=(()=>{class fe{constructor($,Ee){this.dialog=$,this._layoutService=Ee,this.component=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components2=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1},{typeOf:"embed",height:"85vh",width:"90vw",value:"embed",name:"Embed Web Link",selected:!1}]}ngOnChanges($){$&&($.index&&(this.index=$.index.currentValue),$.footer&&(this.footer=$.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav($,Ee,Ge,Ke,Et){if(0!=$){let Tt=null;Tt="showcase"===$?{typeOf:$,rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et,dynamic:!0}:"showcase-list"===$?{typeOf:"showcase-list",rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et,dynamic:!1}:"popular-list"===$?{typeOf:"popular-list",rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et,dynamic:!1}:{typeOf:$,rowType:Ke,rowArray:this.index,compArray:Ee,template:Ge,edit:Et},Tt&&this._openSideNav(Tt)}}_openSideNav($){this._layoutService.openSideNav({template:"comp",position:"start",data:$,mode:"side"})}static#e=this.\u0275fac=function(Ee){return new(Ee||fe)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:fe,selectors:[["col-3-2-1-1"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:38,vars:37,consts:[[1,"row"],[1,"col-12","col-md-6","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[3,"embed",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-12","col-md-3","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[2,"width","100%",3,"cta"],[3,"imgblock"],[3,"feed"],[3,"showcase","dynamic","slideCount"],[3,"textBlock"],[3,"topicSearch"],[3,"embed"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],["select2",""],["select3",""]],template:function(Ee,Ge){1&Ee&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,M,1,1,"cta",2)(3,E,1,1,"image-block",3)(4,A,1,1,"app-feedback",4)(5,S,1,3,"showcase",5)(6,Z,1,3,"showcase",5)(7,oe,1,3,"showcase",5)(8,le,1,1,"text-block",6)(9,ee,1,1,"topic-search",7)(10,K,1,1,"embed-url",8)(11,H,2,1,"ng-container",9)(12,T,1,0,"div",10)(13,_e,11,1,"div",11),t.qZA(),t.TgZ(14,"div",12),t.YNc(15,Ce,1,1,"cta",2)(16,Ve,1,1,"image-block",3)(17,ae,1,1,"app-feedback",4)(18,pe,1,3,"showcase",5)(19,Ae,1,3,"showcase",5)(20,Ze,1,3,"showcase",5)(21,dt,1,1,"text-block",6)(22,Fe,1,1,"topic-search",7)(23,W,2,1,"ng-container",9)(24,we,1,0,"div",10)(25,V,11,1,"div",11),t.qZA(),t.TgZ(26,"div",12),t.YNc(27,Se,1,1,"cta",2)(28,G,1,1,"image-block",3)(29,be,1,1,"app-feedback",4)(30,de,1,3,"showcase",5)(31,De,1,3,"showcase",5)(32,tt,1,3,"showcase",5)(33,Re,1,1,"text-block",6)(34,Ft,1,1,"topic-search",7)(35,hn,2,1,"ng-container",9)(36,Nn,1,0,"div",10)(37,cn,11,1,"div",11),t.qZA()()),2&Ee&&(t.xp6(),t.Q6J("ngClass",Ge.templates[0].flushed?"flushed":"no-flush")("ngSwitch",Ge.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngSwitchCase","embed"),t.xp6(),t.Q6J("ngIf",Ge.edit),t.xp6(2),t.Q6J("ngIf",Ge.edit&&"edit"!==Ge.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",Ge.templates[1].flushed?"flushed":"no-flush")("ngSwitch",Ge.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ge.edit),t.xp6(2),t.Q6J("ngIf",Ge.edit&&"edit"!==Ge.templates[1].typeOf),t.xp6(),t.Q6J("ngClass",Ge.templates[2].flushed?"flushed":"no-flush")("ngSwitch",Ge.templates[2].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ge.edit),t.xp6(2),t.Q6J("ngIf",Ge.edit&&"edit"!==Ge.templates[2].typeOf))},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.m,n.A,I.v,L.v,y.c,O.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:80px;height:200px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return fe})()},3162:(jt,$e,s)=>{"use strict";s.d($e,{q:()=>Jt});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(707),n=s(1414),I=s(8935),L=s(5289),y=s(5343);function O(cn,He){if(1&cn&&t._UZ(0,"cta",12),2&cn){const fe=t.oxw();t.Q6J("cta",fe.templates[0])}}function M(cn,He){if(1&cn&&t._UZ(0,"image-block",13),2&cn){const fe=t.oxw();t.Q6J("imgblock",fe.templates[0])}}function E(cn,He){if(1&cn&&t._UZ(0,"app-feedback",14),2&cn){const fe=t.oxw();t.Q6J("feed",fe.templates[0])}}function A(cn,He){if(1&cn&&t._UZ(0,"showcase",15),2&cn){const fe=t.oxw();t.Q6J("showcase",fe.templates[0])("dynamic",!0)("slideCount",3)}}function S(cn,He){if(1&cn&&t._UZ(0,"showcase",15),2&cn){const fe=t.oxw();t.Q6J("showcase",fe.templates[0])("dynamic",!1)("slideCount",3)}}function Z(cn,He){if(1&cn&&t._UZ(0,"showcase",15),2&cn){const fe=t.oxw();t.Q6J("showcase",fe.templates[0])("dynamic",!1)("slideCount",3)}}function oe(cn,He){if(1&cn&&t._UZ(0,"text-block",16),2&cn){const fe=t.oxw();t.Q6J("textBlock",fe.templates[0])}}function le(cn,He){if(1&cn&&t._UZ(0,"topic-search",17),2&cn){const fe=t.oxw();t.Q6J("topicSearch",fe.templates[0])}}function ee(cn,He){if(1&cn&&(t.TgZ(0,"option",24),t._uU(1),t.qZA()),2&cn){const fe=He.$implicit;t.Q6J("value",fe.value)("title",fe.height),t.xp6(),t.hij(" ",fe.name," ")}}function K(cn,He){if(1&cn){const fe=t.EpF();t.TgZ(0,"div",19)(1,"select",20,21),t.NdJ("change",function(){t.CHM(fe);const $=t.MAs(2),Ee=t.oxw(2);return t.KtG(Ee.openSideNav($.value,0,Ee.templates,"col-31",!1))}),t.TgZ(3,"option",22),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,ee,2,3,"option",23),t.qZA()()}if(2&cn){const fe=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",fe.Components)}}function Q(cn,He){1&cn&&(t.ynx(0),t.YNc(1,K,6,1,"div",18),t.BQk()),2&cn&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function q(cn,He){1&cn&&t._UZ(0,"div")}function H(cn,He){if(1&cn&&(t.TgZ(0,"option",24),t._uU(1),t.qZA()),2&cn){const fe=He.$implicit;t.Q6J("value",fe.value)("title",fe.height),t.xp6(),t.hij(" ",fe.name," ")}}function T(cn,He){if(1&cn){const fe=t.EpF();t.TgZ(0,"div",25)(1,"div",26)(2,"a",27),t.NdJ("click",function(){t.CHM(fe);const $=t.oxw();return t.KtG($.openSideNav($.templates[0].typeOf,0,$.templates,"col-31",!0))})("keyup.enter",function(){t.CHM(fe);const $=t.oxw();return t.KtG($.openSideNav($.templates[0].typeOf,0,$.templates,"col-31",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",28),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",29,21),t.NdJ("change",function(){t.CHM(fe);const $=t.MAs(7),Ee=t.oxw();return t.KtG(Ee.openSideNav($.value,0,Ee.templates,"col-31",!1))}),t.TgZ(8,"option",22),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,H,2,3,"option",23),t.qZA()()()}if(2&cn){const fe=t.oxw();t.xp6(10),t.Q6J("ngForOf",fe.Components)}}function ie(cn,He){if(1&cn&&t._UZ(0,"cta",12),2&cn){const fe=t.oxw();t.Q6J("cta",fe.templates[1])}}function _e(cn,He){if(1&cn&&t._UZ(0,"image-block",13),2&cn){const fe=t.oxw();t.Q6J("imgblock",fe.templates[1])}}function Ce(cn,He){if(1&cn&&t._UZ(0,"app-feedback",14),2&cn){const fe=t.oxw();t.Q6J("feed",fe.templates[1])}}function Ve(cn,He){if(1&cn&&t._UZ(0,"showcase",15),2&cn){const fe=t.oxw();t.Q6J("showcase",fe.templates[1])("dynamic",!0)("slideCount",3)}}function ae(cn,He){if(1&cn&&t._UZ(0,"showcase",15),2&cn){const fe=t.oxw();t.Q6J("showcase",fe.templates[1])("dynamic",!1)("slideCount",3)}}function pe(cn,He){if(1&cn&&t._UZ(0,"showcase",15),2&cn){const fe=t.oxw();t.Q6J("showcase",fe.templates[1])("dynamic",!1)("slideCount",3)}}function Ae(cn,He){if(1&cn&&t._UZ(0,"text-block",16),2&cn){const fe=t.oxw();t.Q6J("textBlock",fe.templates[1])}}function Ze(cn,He){if(1&cn&&t._UZ(0,"topic-search",17),2&cn){const fe=t.oxw();t.Q6J("topicSearch",fe.templates[1])}}function dt(cn,He){if(1&cn&&(t.TgZ(0,"option",24),t._uU(1),t.qZA()),2&cn){const fe=He.$implicit;t.Q6J("value",fe.value)("title",fe.height),t.xp6(),t.hij(" ",fe.name," ")}}function Fe(cn,He){if(1&cn){const fe=t.EpF();t.TgZ(0,"div",19)(1,"select",20,30),t.NdJ("change",function(){t.CHM(fe);const $=t.MAs(2),Ee=t.oxw(2);return t.KtG(Ee.openSideNav($.value,1,Ee.templates,"col-31",!1))}),t.TgZ(3,"option",22),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,dt,2,3,"option",23),t.qZA()()}if(2&cn){const fe=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",fe.Components)}}function Xe(cn,He){1&cn&&(t.ynx(0),t.YNc(1,Fe,6,1,"div",18),t.BQk()),2&cn&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function Ie(cn,He){1&cn&&t._UZ(0,"div")}function W(cn,He){if(1&cn&&(t.TgZ(0,"option",24),t._uU(1),t.qZA()),2&cn){const fe=He.$implicit;t.Q6J("value",fe.value)("title",fe.height),t.xp6(),t.hij(" ",fe.name," ")}}function we(cn,He){if(1&cn){const fe=t.EpF();t.TgZ(0,"div",25)(1,"div",26)(2,"a",27),t.NdJ("click",function(){t.CHM(fe);const $=t.oxw();return t.KtG($.openSideNav($.templates[1].typeOf,1,$.templates,"col-31",!0))})("keyup.enter",function(){t.CHM(fe);const $=t.oxw();return t.KtG($.openSideNav($.templates[1].typeOf,1,$.templates,"col-31",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",28),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",29,30),t.NdJ("change",function(){t.CHM(fe);const $=t.MAs(7),Ee=t.oxw();return t.KtG(Ee.openSideNav($.value,1,Ee.templates,"col-31",!1))}),t.TgZ(8,"option",22),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,W,2,3,"option",23),t.qZA()()()}if(2&cn){const fe=t.oxw();t.xp6(10),t.Q6J("ngForOf",fe.Components)}}function P(cn,He){if(1&cn&&t._UZ(0,"cta",12),2&cn){const fe=t.oxw();t.Q6J("cta",fe.templates[2])}}function V(cn,He){if(1&cn&&t._UZ(0,"image-block",13),2&cn){const fe=t.oxw();t.Q6J("imgblock",fe.templates[2])}}function Se(cn,He){if(1&cn&&t._UZ(0,"app-feedback",14),2&cn){const fe=t.oxw();t.Q6J("feed",fe.templates[2])}}function G(cn,He){if(1&cn&&t._UZ(0,"showcase",15),2&cn){const fe=t.oxw();t.Q6J("showcase",fe.templates[2])("dynamic",!0)("slideCount",3)}}function be(cn,He){if(1&cn&&t._UZ(0,"showcase",15),2&cn){const fe=t.oxw();t.Q6J("showcase",fe.templates[2])("dynamic",!1)("slideCount",3)}}function de(cn,He){if(1&cn&&t._UZ(0,"showcase",15),2&cn){const fe=t.oxw();t.Q6J("showcase",fe.templates[2])("dynamic",!1)("slideCount",3)}}function De(cn,He){if(1&cn&&t._UZ(0,"text-block",16),2&cn){const fe=t.oxw();t.Q6J("textBlock",fe.templates[2])}}function tt(cn,He){if(1&cn&&t._UZ(0,"topic-search",17),2&cn){const fe=t.oxw();t.Q6J("topicSearch",fe.templates[2])}}function Re(cn,He){if(1&cn&&(t.TgZ(0,"option",24),t._uU(1),t.qZA()),2&cn){const fe=He.$implicit;t.Q6J("value",fe.value)("title",fe.height),t.xp6(),t.hij(" ",fe.name," ")}}function Ft(cn,He){if(1&cn){const fe=t.EpF();t.TgZ(0,"div",19)(1,"select",20,31),t.NdJ("change",function(){t.CHM(fe);const $=t.MAs(2),Ee=t.oxw(2);return t.KtG(Ee.openSideNav($.value,2,Ee.templates,"col-31",!1))}),t.TgZ(3,"option",22),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Re,2,3,"option",23),t.qZA()()}if(2&cn){const fe=t.oxw(2);t.xp6(5),t.Q6J("ngForOf",fe.Components)}}function mt(cn,He){1&cn&&(t.ynx(0),t.YNc(1,Ft,6,1,"div",18),t.BQk()),2&cn&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function sn(cn,He){1&cn&&t._UZ(0,"div")}function hn(cn,He){if(1&cn&&(t.TgZ(0,"option",24),t._uU(1),t.qZA()),2&cn){const fe=He.$implicit;t.Q6J("value",fe.value)("title",fe.height),t.xp6(),t.hij(" ",fe.name," ")}}function Nn(cn,He){if(1&cn){const fe=t.EpF();t.TgZ(0,"div",25)(1,"div",26)(2,"a",27),t.NdJ("click",function(){t.CHM(fe);const $=t.oxw();return t.KtG($.openSideNav($.templates[2].typeOf,2,$.templates,"col-31",!0))})("keyup.enter",function(){t.CHM(fe);const $=t.oxw();return t.KtG($.openSideNav($.templates[2].typeOf,2,$.templates,"col-31",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",28),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",29,31),t.NdJ("change",function(){t.CHM(fe);const $=t.MAs(7),Ee=t.oxw();return t.KtG(Ee.openSideNav($.value,2,Ee.templates,"col-31",!1))}),t.TgZ(8,"option",22),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,hn,2,3,"option",23),t.qZA()()()}if(2&cn){const fe=t.oxw();t.xp6(10),t.Q6J("ngForOf",fe.Components)}}let Jt=(()=>{class cn{constructor(fe,Ne){this.dialog=fe,this._layoutService=Ne,this.component=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1}]}ngOnChanges(fe){fe&&(fe.index&&(this.index=fe.index.currentValue),fe.footer&&(this.footer=fe.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav(fe,Ne,$,Ee,Ge){if(0!=fe){let Ke=null;Ke="showcase"===fe?{typeOf:fe,rowType:Ee,rowArray:this.index,compArray:Ne,template:$,edit:Ge,dynamic:!0}:"showcase-list"===fe?{typeOf:"showcase-list",rowType:Ee,rowArray:this.index,compArray:Ne,template:$,edit:Ge,dynamic:!1}:"popular-list"===fe?{typeOf:"popular-list",rowType:Ee,rowArray:this.index,compArray:Ne,template:$,edit:Ge,dynamic:!1}:{typeOf:fe,rowType:Ee,rowArray:this.index,compArray:Ne,template:$,edit:Ge},Ke&&this._openSideNav(Ke)}}_openSideNav(fe){this._layoutService.openSideNav({template:"comp",position:"start",data:fe,mode:"side"})}static#e=this.\u0275fac=function(Ne){return new(Ne||cn)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:cn,selectors:[["col-31"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:37,vars:36,consts:[[1,"row"],[1,"col-12","col-md-4","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-12","col-md-4","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[2,"width","100%",3,"cta"],[3,"imgblock"],[3,"feed"],[3,"showcase","dynamic","slideCount"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],["select2",""],["select3",""]],template:function(Ne,$){1&Ne&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,O,1,1,"cta",2)(3,M,1,1,"image-block",3)(4,E,1,1,"app-feedback",4)(5,A,1,3,"showcase",5)(6,S,1,3,"showcase",5)(7,Z,1,3,"showcase",5)(8,oe,1,1,"text-block",6)(9,le,1,1,"topic-search",7)(10,Q,2,1,"ng-container",8)(11,q,1,0,"div",9)(12,T,11,1,"div",10),t.qZA(),t.TgZ(13,"div",11),t.YNc(14,ie,1,1,"cta",2)(15,_e,1,1,"image-block",3)(16,Ce,1,1,"app-feedback",4)(17,Ve,1,3,"showcase",5)(18,ae,1,3,"showcase",5)(19,pe,1,3,"showcase",5)(20,Ae,1,1,"text-block",6)(21,Ze,1,1,"topic-search",7)(22,Xe,2,1,"ng-container",8)(23,Ie,1,0,"div",9)(24,we,11,1,"div",10),t.qZA(),t.TgZ(25,"div",11),t.YNc(26,P,1,1,"cta",2)(27,V,1,1,"image-block",3)(28,Se,1,1,"app-feedback",4)(29,G,1,3,"showcase",5)(30,be,1,3,"showcase",5)(31,de,1,3,"showcase",5)(32,De,1,1,"text-block",6)(33,tt,1,1,"topic-search",7)(34,mt,2,1,"ng-container",8)(35,sn,1,0,"div",9)(36,Nn,11,1,"div",10),t.qZA()()),2&Ne&&(t.xp6(),t.Q6J("ngClass",$.templates[0].flushed?"flushed":"no-flush")("ngSwitch",$.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",$.edit),t.xp6(2),t.Q6J("ngIf",$.edit&&"edit"!==$.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",$.templates[1].flushed?"flushed":"no-flush")("ngSwitch",$.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",$.edit),t.xp6(2),t.Q6J("ngIf",$.edit&&"edit"!==$.templates[1].typeOf),t.xp6(),t.Q6J("ngClass",$.templates[2].flushed?"flushed":"no-flush")("ngSwitch",$.templates[2].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",$.edit),t.xp6(2),t.Q6J("ngIf",$.edit&&"edit"!==$.templates[2].typeOf))},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.A,n.v,I.v,L.c,y.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:80px;height:200px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return cn})()},893:(jt,$e,s)=>{"use strict";s.d($e,{J:()=>Bt});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(707),n=s(1414),I=s(8935),L=s(5289),y=s(5343);function O(Ue,nt){if(1&Ue&&t._UZ(0,"cta",13),2&Ue){const Ye=t.oxw(2);t.Q6J("cta",Ye.templates[0])}}function M(Ue,nt){if(1&Ue&&t._UZ(0,"image-block",14),2&Ue){const Ye=t.oxw(2);t.Q6J("imgblock",Ye.templates[0])}}function E(Ue,nt){if(1&Ue&&t._UZ(0,"app-feedback",15),2&Ue){const Ye=t.oxw(2);t.Q6J("feed",Ye.templates[0])}}function A(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[0])("dynamic",!0)("slideCount",2)}}function S(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[0])("dynamic",!1)("slideCount",2)}}function Z(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[0])("dynamic",!1)("slideCount",2)}}function oe(Ue,nt){if(1&Ue&&t._UZ(0,"text-block",17),2&Ue){const Ye=t.oxw(2);t.Q6J("textBlock",Ye.templates[0])}}function le(Ue,nt){if(1&Ue&&t._UZ(0,"topic-search",18),2&Ue){const Ye=t.oxw(2);t.Q6J("topicSearch",Ye.templates[0])}}function ee(Ue,nt){if(1&Ue&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&Ue){const Ye=nt.$implicit;t.Q6J("value",Ye.value)("title",Ye.height),t.xp6(),t.hij(" ",Ye.name," ")}}function K(Ue,nt){if(1&Ue){const Ye=t.EpF();t.TgZ(0,"div",20)(1,"select",21,22),t.NdJ("change",function(){t.CHM(Ye);const $t=t.MAs(2),Mn=t.oxw(3);return t.KtG(Mn.openSideNav($t.value,0,Mn.templates,"col-421",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,ee,2,3,"option",24),t.qZA()()}if(2&Ue){const Ye=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",Ye.Components)}}function Q(Ue,nt){1&Ue&&(t.ynx(0),t.YNc(1,K,6,1,"div",19),t.BQk()),2&Ue&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function q(Ue,nt){1&Ue&&t._UZ(0,"div")}function H(Ue,nt){if(1&Ue&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&Ue){const Ye=nt.$implicit;t.Q6J("value",Ye.value)("title",Ye.height),t.xp6(),t.hij(" ",Ye.name," ")}}function T(Ue,nt){if(1&Ue){const Ye=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(Ye);const $t=t.oxw(2);return t.KtG($t.openSideNav($t.templates[0].typeOf,0,$t.templates,"col-421",!0))})("keyup.enter",function(){t.CHM(Ye);const $t=t.oxw(2);return t.KtG($t.openSideNav($t.templates[0].typeOf,0,$t.templates,"col-421",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,22),t.NdJ("change",function(){t.CHM(Ye);const $t=t.MAs(7),Mn=t.oxw(2);return t.KtG(Mn.openSideNav($t.value,0,Mn.templates,"col-421",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,H,2,3,"option",24),t.qZA()()()}if(2&Ue){const Ye=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",Ye.Components)}}function ie(Ue,nt){if(1&Ue&&t._UZ(0,"cta",13),2&Ue){const Ye=t.oxw(2);t.Q6J("cta",Ye.templates[1])}}function _e(Ue,nt){if(1&Ue&&t._UZ(0,"image-block",14),2&Ue){const Ye=t.oxw(2);t.Q6J("imgblock",Ye.templates[1])}}function Ce(Ue,nt){if(1&Ue&&t._UZ(0,"app-feedback",15),2&Ue){const Ye=t.oxw(2);t.Q6J("feed",Ye.templates[1])}}function Ve(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[1])("dynamic",!0)("slideCount",2)}}function ae(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[1])("dynamic",!1)("slideCount",2)}}function pe(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[1])("dynamic",!1)("slideCount",2)}}function Ae(Ue,nt){if(1&Ue&&t._UZ(0,"text-block",17),2&Ue){const Ye=t.oxw(2);t.Q6J("textBlock",Ye.templates[1])}}function Ze(Ue,nt){if(1&Ue&&t._UZ(0,"topic-search",18),2&Ue){const Ye=t.oxw(2);t.Q6J("topicSearch",Ye.templates[1])}}function dt(Ue,nt){if(1&Ue&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&Ue){const Ye=nt.$implicit;t.Q6J("value",Ye.value)("title",Ye.height),t.xp6(),t.hij(" ",Ye.name," ")}}function Fe(Ue,nt){if(1&Ue){const Ye=t.EpF();t.TgZ(0,"div",20)(1,"select",21,31),t.NdJ("change",function(){t.CHM(Ye);const $t=t.MAs(2),Mn=t.oxw(3);return t.KtG(Mn.openSideNav($t.value,1,Mn.templates,"col-421",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,dt,2,3,"option",24),t.qZA()()}if(2&Ue){const Ye=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",Ye.Components)}}function Xe(Ue,nt){1&Ue&&(t.ynx(0),t.YNc(1,Fe,6,1,"div",19),t.BQk()),2&Ue&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function Ie(Ue,nt){1&Ue&&t._UZ(0,"div")}function W(Ue,nt){if(1&Ue&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&Ue){const Ye=nt.$implicit;t.Q6J("value",Ye.value)("title",Ye.height),t.xp6(),t.hij(" ",Ye.name," ")}}function we(Ue,nt){if(1&Ue){const Ye=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(Ye);const $t=t.oxw(2);return t.KtG($t.openSideNav($t.templates[1].typeOf,1,$t.templates,"col-421",!0))})("keyup.enter",function(){t.CHM(Ye);const $t=t.oxw(2);return t.KtG($t.openSideNav($t.templates[1].typeOf,1,$t.templates,"col-421",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,31),t.NdJ("change",function(){t.CHM(Ye);const $t=t.MAs(7),Mn=t.oxw(2);return t.KtG(Mn.openSideNav($t.value,1,Mn.templates,"col-421",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,W,2,3,"option",24),t.qZA()()()}if(2&Ue){const Ye=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",Ye.Components)}}function P(Ue,nt){if(1&Ue&&t._UZ(0,"cta",13),2&Ue){const Ye=t.oxw(2);t.Q6J("cta",Ye.templates[2])}}function V(Ue,nt){if(1&Ue&&t._UZ(0,"image-block",14),2&Ue){const Ye=t.oxw(2);t.Q6J("imgblock",Ye.templates[2])}}function Se(Ue,nt){if(1&Ue&&t._UZ(0,"app-feedback",15),2&Ue){const Ye=t.oxw(2);t.Q6J("feed",Ye.templates[2])}}function G(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[2])("dynamic",!0)("slideCount",2)}}function be(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[2])("dynamic",!1)("slideCount",2)}}function de(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[2])("dynamic",!1)("slideCount",2)}}function De(Ue,nt){if(1&Ue&&t._UZ(0,"text-block",17),2&Ue){const Ye=t.oxw(2);t.Q6J("textBlock",Ye.templates[2])}}function tt(Ue,nt){if(1&Ue&&t._UZ(0,"topic-search",18),2&Ue){const Ye=t.oxw(2);t.Q6J("topicSearch",Ye.templates[2])}}function Re(Ue,nt){if(1&Ue&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&Ue){const Ye=nt.$implicit;t.Q6J("value",Ye.value)("title",Ye.height),t.xp6(),t.hij(" ",Ye.name," ")}}function Ft(Ue,nt){if(1&Ue){const Ye=t.EpF();t.TgZ(0,"div",20)(1,"select",21,32),t.NdJ("change",function(){t.CHM(Ye);const $t=t.MAs(2),Mn=t.oxw(3);return t.KtG(Mn.openSideNav($t.value,2,Mn.templates,"col-421",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Re,2,3,"option",24),t.qZA()()}if(2&Ue){const Ye=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",Ye.Components)}}function mt(Ue,nt){1&Ue&&(t.ynx(0),t.YNc(1,Ft,6,1,"div",19),t.BQk()),2&Ue&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function sn(Ue,nt){1&Ue&&t._UZ(0,"div")}function hn(Ue,nt){if(1&Ue&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&Ue){const Ye=nt.$implicit;t.Q6J("value",Ye.value)("title",Ye.height),t.xp6(),t.hij(" ",Ye.name," ")}}function Nn(Ue,nt){if(1&Ue){const Ye=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(Ye);const $t=t.oxw(2);return t.KtG($t.openSideNav($t.templates[2].typeOf,2,$t.templates,"col-421",!0))})("keyup.enter",function(){t.CHM(Ye);const $t=t.oxw(2);return t.KtG($t.openSideNav($t.templates[2].typeOf,2,$t.templates,"col-421",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,32),t.NdJ("change",function(){t.CHM(Ye);const $t=t.MAs(7),Mn=t.oxw(2);return t.KtG(Mn.openSideNav($t.value,2,Mn.templates,"col-421",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,hn,2,3,"option",24),t.qZA()()()}if(2&Ue){const Ye=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",Ye.Components)}}function Jt(Ue,nt){if(1&Ue&&t._UZ(0,"cta",13),2&Ue){const Ye=t.oxw(2);t.Q6J("cta",Ye.templates[3])}}function cn(Ue,nt){if(1&Ue&&t._UZ(0,"image-block",14),2&Ue){const Ye=t.oxw(2);t.Q6J("imgblock",Ye.templates[3])}}function He(Ue,nt){if(1&Ue&&t._UZ(0,"app-feedback",15),2&Ue){const Ye=t.oxw(2);t.Q6J("feed",Ye.templates[3])}}function fe(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[3])("dynamic",!0)("slideCount",2)}}function Ne(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[3])("dynamic",!1)("slideCount",2)}}function $(Ue,nt){if(1&Ue&&t._UZ(0,"showcase",16),2&Ue){const Ye=t.oxw(2);t.Q6J("showcase",Ye.templates[3])("dynamic",!1)("slideCount",2)}}function Ee(Ue,nt){if(1&Ue&&t._UZ(0,"text-block",17),2&Ue){const Ye=t.oxw(2);t.Q6J("textBlock",Ye.templates[3])}}function Ge(Ue,nt){if(1&Ue&&t._UZ(0,"topic-search",18),2&Ue){const Ye=t.oxw(2);t.Q6J("topicSearch",Ye.templates[3])}}function Ke(Ue,nt){if(1&Ue&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&Ue){const Ye=nt.$implicit;t.Q6J("value",Ye.value)("title",Ye.height),t.xp6(),t.hij(" ",Ye.name," ")}}function Et(Ue,nt){if(1&Ue){const Ye=t.EpF();t.TgZ(0,"div",20)(1,"select",21,33),t.NdJ("change",function(){t.CHM(Ye);const $t=t.MAs(2),Mn=t.oxw(3);return t.KtG(Mn.openSideNav($t.value,3,Mn.templates,"col-421",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Ke,2,3,"option",24),t.qZA()()}if(2&Ue){const Ye=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",Ye.Components)}}function Tt(Ue,nt){1&Ue&&(t.ynx(0),t.YNc(1,Et,6,1,"div",19),t.BQk()),2&Ue&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function tn(Ue,nt){1&Ue&&t._UZ(0,"div")}function rn(Ue,nt){if(1&Ue&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&Ue){const Ye=nt.$implicit;t.Q6J("value",Ye.value)("title",Ye.height),t.xp6(),t.hij(" ",Ye.name," ")}}function Nt(Ue,nt){if(1&Ue){const Ye=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(Ye);const $t=t.oxw(2);return t.KtG($t.openSideNav($t.templates[3].typeOf,3,$t.templates,"col-421",!0))})("keyup.enter",function(){t.CHM(Ye);const $t=t.oxw(2);return t.KtG($t.openSideNav($t.templates[3].typeOf,3,$t.templates,"col-421",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,33),t.NdJ("change",function(){t.CHM(Ye);const $t=t.MAs(7),Mn=t.oxw(2);return t.KtG(Mn.openSideNav($t.value,3,Mn.templates,"col-421",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,rn,2,3,"option",24),t.qZA()()()}if(2&Ue){const Ye=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",Ye.Components)}}function ft(Ue,nt){if(1&Ue&&(t.TgZ(0,"div",1)(1,"div",2),t.YNc(2,O,1,1,"cta",3)(3,M,1,1,"image-block",4)(4,E,1,1,"app-feedback",5)(5,A,1,3,"showcase",6)(6,S,1,3,"showcase",6)(7,Z,1,3,"showcase",6)(8,oe,1,1,"text-block",7)(9,le,1,1,"topic-search",8)(10,Q,2,1,"ng-container",9)(11,q,1,0,"div",10)(12,T,11,1,"div",11),t.qZA(),t.TgZ(13,"div",12),t.YNc(14,ie,1,1,"cta",3)(15,_e,1,1,"image-block",4)(16,Ce,1,1,"app-feedback",5)(17,Ve,1,3,"showcase",6)(18,ae,1,3,"showcase",6)(19,pe,1,3,"showcase",6)(20,Ae,1,1,"text-block",7)(21,Ze,1,1,"topic-search",8)(22,Xe,2,1,"ng-container",9)(23,Ie,1,0,"div",10)(24,we,11,1,"div",11),t.qZA(),t.TgZ(25,"div",12),t.YNc(26,P,1,1,"cta",3)(27,V,1,1,"image-block",4)(28,Se,1,1,"app-feedback",5)(29,G,1,3,"showcase",6)(30,be,1,3,"showcase",6)(31,de,1,3,"showcase",6)(32,De,1,1,"text-block",7)(33,tt,1,1,"topic-search",8)(34,mt,2,1,"ng-container",9)(35,sn,1,0,"div",10)(36,Nn,11,1,"div",11),t.qZA(),t.TgZ(37,"div",2),t.YNc(38,Jt,1,1,"cta",3)(39,cn,1,1,"image-block",4)(40,He,1,1,"app-feedback",5)(41,fe,1,3,"showcase",6)(42,Ne,1,3,"showcase",6)(43,$,1,3,"showcase",6)(44,Ee,1,1,"text-block",7)(45,Ge,1,1,"topic-search",8)(46,Tt,2,1,"ng-container",9)(47,tn,1,0,"div",10)(48,Nt,11,1,"div",11),t.qZA()()),2&Ue){const Ye=t.oxw();t.xp6(),t.Q6J("ngClass",Ye.templates[0].flushed?"flushed":"no-flush")("ngSwitch",Ye.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ye.edit),t.xp6(2),t.Q6J("ngIf",Ye.edit&&"edit"!==Ye.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",Ye.templates[1].flushed?"flushed":"no-flush")("ngSwitch",Ye.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ye.edit),t.xp6(2),t.Q6J("ngIf",Ye.edit&&"edit"!==Ye.templates[1].typeOf),t.xp6(),t.Q6J("ngClass",Ye.templates[2].flushed?"flushed":"no-flush")("ngSwitch",Ye.templates[2].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ye.edit),t.xp6(2),t.Q6J("ngIf",Ye.edit&&"edit"!==Ye.templates[2].typeOf),t.xp6(),t.Q6J("ngClass",Ye.templates[3].flushed?"flushed":"no-flush")("ngSwitch",Ye.templates[3].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","showcase-list"),t.xp6(),t.Q6J("ngSwitchCase","popular-list"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",Ye.edit),t.xp6(2),t.Q6J("ngIf",Ye.edit&&"edit"!==Ye.templates[3].typeOf)}}let Bt=(()=>{class Ue{constructor(Ye,zt){this.dialog=Ye,this._layoutService=zt,this.component=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"showcase-list",height:"95vh",width:"80vw",value:"showcase-list",name:"List Carousel",selected:!1,dynamic:!1},{typeOf:"showcase",height:"auto",width:"80vw",value:"showcase",name:"Showcase Carousel",selected:!1,dynamic:!0},{typeOf:"popular-list",height:"95vh",width:"80vw",value:"popular-list",name:"Popular Carousel",selected:!1,dynamic:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1}]}ngOnChanges(Ye){Ye&&(Ye.index&&(this.index=Ye.index.currentValue),Ye.footer&&(this.footer=Ye.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav(Ye,zt,$t,Mn,Wn){if(0!=Ye){let di=null;di="showcase"===Ye?{typeOf:Ye,rowType:Mn,rowArray:this.index,compArray:zt,template:$t,edit:Wn,dynamic:!0}:"showcase-list"===Ye?{typeOf:"showcase-list",rowType:Mn,rowArray:this.index,compArray:zt,template:$t,edit:Wn,dynamic:!1}:"popular-list"===Ye?{typeOf:"popular-list",rowType:Mn,rowArray:this.index,compArray:zt,template:$t,edit:Wn,dynamic:!1}:{typeOf:Ye,rowType:Mn,rowArray:this.index,compArray:zt,template:$t,edit:Wn},di&&this._openSideNav(di)}}_openSideNav(Ye){this._layoutService.openSideNav({template:"comp",position:"start",data:Ye,mode:"side"})}static#e=this.\u0275fac=function(zt){return new(zt||Ue)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:Ue,selectors:[["col-421"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:1,vars:1,consts:[["class","row",4,"ngIf"],[1,"row"],[1,"col-12","col-md-6","col-lg-3","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-12","col-md-6","col-lg-3","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[2,"width","100%",3,"cta"],[3,"imgblock"],[3,"feed"],[3,"showcase","dynamic","slideCount"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],["select2",""],["select3",""],["select4",""]],template:function(zt,$t){1&zt&&t.YNc(0,ft,49,48,"div",0),2&zt&&t.Q6J("ngIf",$t.templates)},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.A,n.v,I.v,L.c,y.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:80px;height:200px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return Ue})()},502:(jt,$e,s)=>{"use strict";s.d($e,{l:()=>j});var t=s(9212),u=s(4132),e=s(7592),m=s(6814),p=s(5403),U=s(707),n=s(1414),I=s(8935),L=s(5289),y=s(5343);function O(F,N){if(1&F&&t._UZ(0,"cta",13),2&F){const k=t.oxw(2);t.Q6J("cta",k.templates[0])}}function M(F,N){if(1&F&&t._UZ(0,"image-block",14),2&F){const k=t.oxw(2);t.Q6J("imgblock",k.templates[0])}}function E(F,N){if(1&F&&t._UZ(0,"app-feedback",15),2&F){const k=t.oxw(2);t.Q6J("feed",k.templates[0])}}function A(F,N){if(1&F&&t._UZ(0,"showcase",16),2&F){const k=t.oxw(2);t.Q6J("showcase",k.templates[0])("dynamic",!0)("slideCount",2)}}function S(F,N){if(1&F&&t._UZ(0,"text-block",17),2&F){const k=t.oxw(2);t.Q6J("textBlock",k.templates[0])}}function Z(F,N){if(1&F&&t._UZ(0,"topic-search",18),2&F){const k=t.oxw(2);t.Q6J("topicSearch",k.templates[0])}}function oe(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function le(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",20)(1,"select",21,22),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(2),re=t.oxw(3);return t.KtG(re.openSideNav(z.value,0,re.templates,"col-632",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,oe,2,3,"option",24),t.qZA()()}if(2&F){const k=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",k.Components)}}function ee(F,N){1&F&&(t.ynx(0),t.YNc(1,le,6,1,"div",19),t.BQk()),2&F&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function K(F,N){1&F&&t._UZ(0,"div")}function Q(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function q(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[0].typeOf,0,z.templates,"col-632",!0))})("keyup.enter",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[0].typeOf,0,z.templates,"col-632",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,22),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(7),re=t.oxw(2);return t.KtG(re.openSideNav(z.value,0,re.templates,"col-632",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,Q,2,3,"option",24),t.qZA()()()}if(2&F){const k=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",k.Components)}}function H(F,N){if(1&F&&t._UZ(0,"cta",13),2&F){const k=t.oxw(2);t.Q6J("cta",k.templates[1])}}function T(F,N){if(1&F&&t._UZ(0,"image-block",14),2&F){const k=t.oxw(2);t.Q6J("imgblock",k.templates[1])}}function ie(F,N){if(1&F&&t._UZ(0,"app-feedback",15),2&F){const k=t.oxw(2);t.Q6J("feed",k.templates[1])}}function _e(F,N){if(1&F&&t._UZ(0,"showcase",16),2&F){const k=t.oxw(2);t.Q6J("showcase",k.templates[1])("dynamic",!0)("slideCount",2)}}function Ce(F,N){if(1&F&&t._UZ(0,"text-block",17),2&F){const k=t.oxw(2);t.Q6J("textBlock",k.templates[1])}}function Ve(F,N){if(1&F&&t._UZ(0,"topic-search",18),2&F){const k=t.oxw(2);t.Q6J("topicSearch",k.templates[1])}}function ae(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function pe(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",20)(1,"select",21,31),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(2),re=t.oxw(3);return t.KtG(re.openSideNav(z.value,1,re.templates,"col-632",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,ae,2,3,"option",24),t.qZA()()}if(2&F){const k=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",k.Components)}}function Ae(F,N){1&F&&(t.ynx(0),t.YNc(1,pe,6,1,"div",19),t.BQk()),2&F&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function Ze(F,N){1&F&&t._UZ(0,"div")}function dt(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function Fe(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[1].typeOf,1,z.templates,"col-632",!0))})("keyup.enter",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[1].typeOf,1,z.templates,"col-632",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,31),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(7),re=t.oxw(2);return t.KtG(re.openSideNav(z.value,1,re.templates,"col-632",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,dt,2,3,"option",24),t.qZA()()()}if(2&F){const k=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",k.Components)}}function Xe(F,N){if(1&F&&t._UZ(0,"cta",13),2&F){const k=t.oxw(2);t.Q6J("cta",k.templates[2])}}function Ie(F,N){if(1&F&&t._UZ(0,"image-block",14),2&F){const k=t.oxw(2);t.Q6J("imgblock",k.templates[2])}}function W(F,N){if(1&F&&t._UZ(0,"app-feedback",15),2&F){const k=t.oxw(2);t.Q6J("feed",k.templates[2])}}function we(F,N){if(1&F&&t._UZ(0,"showcase",16),2&F){const k=t.oxw(2);t.Q6J("showcase",k.templates[2])("dynamic",!0)("slideCount",2)}}function P(F,N){if(1&F&&t._UZ(0,"text-block",17),2&F){const k=t.oxw(2);t.Q6J("textBlock",k.templates[2])}}function V(F,N){if(1&F&&t._UZ(0,"topic-search",18),2&F){const k=t.oxw(2);t.Q6J("topicSearch",k.templates[2])}}function Se(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function G(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",20)(1,"select",21,32),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(2),re=t.oxw(3);return t.KtG(re.openSideNav(z.value,2,re.templates,"col-632",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Se,2,3,"option",24),t.qZA()()}if(2&F){const k=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",k.Components)}}function be(F,N){1&F&&(t.ynx(0),t.YNc(1,G,6,1,"div",19),t.BQk()),2&F&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function de(F,N){1&F&&t._UZ(0,"div")}function De(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function tt(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[2].typeOf,2,z.templates,"col-632",!0))})("keyup.enter",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[2].typeOf,2,z.templates,"col-632",!0))}),t._uU(3," Edit Component "),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,32),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(7),re=t.oxw(2);return t.KtG(re.openSideNav(z.value,2,re.templates,"col-632",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,De,2,3,"option",24),t.qZA()()()}if(2&F){const k=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",k.Components)}}function Re(F,N){if(1&F&&t._UZ(0,"cta",13),2&F){const k=t.oxw(2);t.Q6J("cta",k.templates[3])}}function Ft(F,N){if(1&F&&t._UZ(0,"image-block",14),2&F){const k=t.oxw(2);t.Q6J("imgblock",k.templates[3])}}function mt(F,N){if(1&F&&t._UZ(0,"app-feedback",15),2&F){const k=t.oxw(2);t.Q6J("feed",k.templates[3])}}function sn(F,N){if(1&F&&t._UZ(0,"showcase",16),2&F){const k=t.oxw(2);t.Q6J("showcase",k.templates[3])("dynamic",!0)("slideCount",2)}}function hn(F,N){if(1&F&&t._UZ(0,"text-block",17),2&F){const k=t.oxw(2);t.Q6J("textBlock",k.templates[3])}}function Nn(F,N){if(1&F&&t._UZ(0,"topic-search",18),2&F){const k=t.oxw(2);t.Q6J("topicSearch",k.templates[3])}}function Jt(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function cn(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",20)(1,"select",21,33),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(2),re=t.oxw(3);return t.KtG(re.openSideNav(z.value,3,re.templates,"col-632",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Jt,2,3,"option",24),t.qZA()()}if(2&F){const k=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",k.Components)}}function He(F,N){1&F&&(t.ynx(0),t.YNc(1,cn,6,1,"div",19),t.BQk()),2&F&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function fe(F,N){1&F&&t._UZ(0,"div")}function Ne(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function $(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[3].typeOf,3,z.templates,"col-632",!0))})("keyup.enter",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[3].typeOf,3,z.templates,"col-632",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,33),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(7),re=t.oxw(2);return t.KtG(re.openSideNav(z.value,3,re.templates,"col-632",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,Ne,2,3,"option",24),t.qZA()()()}if(2&F){const k=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",k.Components)}}function Ee(F,N){if(1&F&&t._UZ(0,"cta",13),2&F){const k=t.oxw(2);t.Q6J("cta",k.templates[4])}}function Ge(F,N){if(1&F&&t._UZ(0,"image-block",14),2&F){const k=t.oxw(2);t.Q6J("imgblock",k.templates[4])}}function Ke(F,N){if(1&F&&t._UZ(0,"app-feedback",15),2&F){const k=t.oxw(2);t.Q6J("feed",k.templates[4])}}function Et(F,N){if(1&F&&t._UZ(0,"showcase",16),2&F){const k=t.oxw(2);t.Q6J("showcase",k.templates[4])("dynamic",!0)("slideCount",2)}}function Tt(F,N){if(1&F&&t._UZ(0,"text-block",17),2&F){const k=t.oxw(2);t.Q6J("textBlock",k.templates[4])}}function tn(F,N){if(1&F&&t._UZ(0,"topic-search",18),2&F){const k=t.oxw(2);t.Q6J("topicSearch",k.templates[4])}}function rn(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function Nt(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",20)(1,"select",21,34),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(2),re=t.oxw(3);return t.KtG(re.openSideNav(z.value,4,re.templates,"col-632",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,rn,2,3,"option",24),t.qZA()()}if(2&F){const k=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",k.Components)}}function ft(F,N){1&F&&(t.ynx(0),t.YNc(1,Nt,6,1,"div",19),t.BQk()),2&F&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function Bt(F,N){1&F&&t._UZ(0,"div")}function Ue(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function nt(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[4].typeOf,4,z.templates,"col-632",!0))})("keyup.enter",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[4].typeOf,4,z.templates,"col-632",!0))}),t._uU(3,"Edit Component"),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,34),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(7),re=t.oxw(2);return t.KtG(re.openSideNav(z.value,4,re.templates,"col-632",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,Ue,2,3,"option",24),t.qZA()()()}if(2&F){const k=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",k.Components)}}function Ye(F,N){if(1&F&&t._UZ(0,"cta",13),2&F){const k=t.oxw(2);t.Q6J("cta",k.templates[5])}}function zt(F,N){if(1&F&&t._UZ(0,"image-block",14),2&F){const k=t.oxw(2);t.Q6J("imgblock",k.templates[5])}}function $t(F,N){if(1&F&&t._UZ(0,"app-feedback",15),2&F){const k=t.oxw(2);t.Q6J("feed",k.templates[5])}}function Mn(F,N){if(1&F&&t._UZ(0,"showcase",16),2&F){const k=t.oxw(2);t.Q6J("showcase",k.templates[5])("dynamic",!0)("slideCount",2)}}function Wn(F,N){if(1&F&&t._UZ(0,"text-block",17),2&F){const k=t.oxw(2);t.Q6J("textBlock",k.templates[5])}}function di(F,N){if(1&F&&t._UZ(0,"topic-search",18),2&F){const k=t.oxw(2);t.Q6J("topicSearch",k.templates[5])}}function Pt(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function Xt(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",20)(1,"select",21,35),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(2),re=t.oxw(3);return t.KtG(re.openSideNav(z.value,5,re.templates,"col-632",!1))}),t.TgZ(3,"option",23),t._uU(4,"--Choose--"),t.qZA(),t.YNc(5,Pt,2,3,"option",24),t.qZA()()}if(2&F){const k=t.oxw(3);t.xp6(5),t.Q6J("ngForOf",k.Components)}}function Le(F,N){1&F&&(t.ynx(0),t.YNc(1,Xt,6,1,"div",19),t.BQk()),2&F&&(t.xp6(),t.Q6J("ngSwitchCase","edit"))}function ue(F,N){1&F&&t._UZ(0,"div")}function X(F,N){if(1&F&&(t.TgZ(0,"option",25),t._uU(1),t.qZA()),2&F){const k=N.$implicit;t.Q6J("value",k.value)("title",k.height),t.xp6(),t.hij(" ",k.name," ")}}function xe(F,N){if(1&F){const k=t.EpF();t.TgZ(0,"div",26)(1,"div",27)(2,"a",28),t.NdJ("click",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[5].typeOf,5,z.templates,"col-632",!0))})("keyup.enter",function(){t.CHM(k);const z=t.oxw(2);return t.KtG(z.openSideNav(z.templates[5].typeOf,5,z.templates,"col-632",!0))}),t._uU(3," Edit Component "),t.qZA(),t.TgZ(4,"div",29),t._uU(5,"- OR -"),t.qZA(),t.TgZ(6,"select",30,35),t.NdJ("change",function(){t.CHM(k);const z=t.MAs(7),re=t.oxw(2);return t.KtG(re.openSideNav(z.value,5,re.templates,"col-632",!1))}),t.TgZ(8,"option",23),t._uU(9,"--Choose New--"),t.qZA(),t.YNc(10,X,2,3,"option",24),t.qZA()()()}if(2&F){const k=t.oxw(2);t.xp6(10),t.Q6J("ngForOf",k.Components)}}function et(F,N){if(1&F&&(t.TgZ(0,"div",1)(1,"div",2),t.YNc(2,O,1,1,"cta",3)(3,M,1,1,"image-block",4)(4,E,1,1,"app-feedback",5)(5,A,1,3,"showcase",6)(6,S,1,1,"text-block",7)(7,Z,1,1,"topic-search",8)(8,ee,2,1,"ng-container",9)(9,K,1,0,"div",10)(10,q,11,1,"div",11),t.qZA(),t.TgZ(11,"div",12),t.YNc(12,H,1,1,"cta",3)(13,T,1,1,"image-block",4)(14,ie,1,1,"app-feedback",5)(15,_e,1,3,"showcase",6)(16,Ce,1,1,"text-block",7)(17,Ve,1,1,"topic-search",8)(18,Ae,2,1,"ng-container",9)(19,Ze,1,0,"div",10)(20,Fe,11,1,"div",11),t.qZA(),t.TgZ(21,"div",12),t.YNc(22,Xe,1,1,"cta",3)(23,Ie,1,1,"image-block",4)(24,W,1,1,"app-feedback",5)(25,we,1,3,"showcase",6)(26,P,1,1,"text-block",7)(27,V,1,1,"topic-search",8)(28,be,2,1,"ng-container",9)(29,de,1,0,"div",10)(30,tt,11,1,"div",11),t.qZA(),t.TgZ(31,"div",12),t.YNc(32,Re,1,1,"cta",3)(33,Ft,1,1,"image-block",4)(34,mt,1,1,"app-feedback",5)(35,sn,1,3,"showcase",6)(36,hn,1,1,"text-block",7)(37,Nn,1,1,"topic-search",8)(38,He,2,1,"ng-container",9)(39,fe,1,0,"div",10)(40,$,11,1,"div",11),t.qZA(),t.TgZ(41,"div",12),t.YNc(42,Ee,1,1,"cta",3)(43,Ge,1,1,"image-block",4)(44,Ke,1,1,"app-feedback",5)(45,Et,1,3,"showcase",6)(46,Tt,1,1,"text-block",7)(47,tn,1,1,"topic-search",8)(48,ft,2,1,"ng-container",9)(49,Bt,1,0,"div",10)(50,nt,11,1,"div",11),t.qZA(),t.TgZ(51,"div",12),t.YNc(52,Ye,1,1,"cta",3)(53,zt,1,1,"image-block",4)(54,$t,1,1,"app-feedback",5)(55,Mn,1,3,"showcase",6)(56,Wn,1,1,"text-block",7)(57,di,1,1,"topic-search",8)(58,Le,2,1,"ng-container",9)(59,ue,1,0,"div",10)(60,xe,11,1,"div",11),t.qZA()()),2&F){const k=t.oxw();t.xp6(),t.Q6J("ngClass",k.templates[0].flushed?"flushed":"no-flush")("ngSwitch",k.templates[0].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",k.edit),t.xp6(2),t.Q6J("ngIf",k.edit&&"edit"!==k.templates[0].typeOf),t.xp6(),t.Q6J("ngClass",k.templates[1].flushed?"flushed":"no-flush")("ngSwitch",k.templates[1].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",k.edit),t.xp6(2),t.Q6J("ngIf",k.edit&&"edit"!==k.templates[1].typeOf),t.xp6(),t.Q6J("ngClass",k.templates[2].flushed?"flushed":"no-flush")("ngSwitch",k.templates[2].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",k.edit),t.xp6(2),t.Q6J("ngIf",k.edit&&"edit"!==k.templates[2].typeOf),t.xp6(),t.Q6J("ngClass",k.templates[3].flushed?"flushed":"no-flush")("ngSwitch",k.templates[3].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",k.edit),t.xp6(2),t.Q6J("ngIf",k.edit&&"edit"!==k.templates[3].typeOf),t.xp6(),t.Q6J("ngClass",k.templates[4].flushed?"flushed":"no-flush")("ngSwitch",k.templates[4].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",k.edit),t.xp6(2),t.Q6J("ngIf",k.edit&&"edit"!==k.templates[4].typeOf),t.xp6(),t.Q6J("ngClass",k.templates[5].flushed?"flushed":"no-flush")("ngSwitch",k.templates[5].typeOf),t.xp6(),t.Q6J("ngSwitchCase","cta"),t.xp6(),t.Q6J("ngSwitchCase","image"),t.xp6(),t.Q6J("ngSwitchCase","feedback"),t.xp6(),t.Q6J("ngSwitchCase","showcase"),t.xp6(),t.Q6J("ngSwitchCase","text"),t.xp6(),t.Q6J("ngSwitchCase","topic"),t.xp6(),t.Q6J("ngIf",k.edit),t.xp6(2),t.Q6J("ngIf",k.edit&&"edit"!==k.templates[5].typeOf)}}let j=(()=>{class F{constructor(k,ne){this.dialog=k,this._layoutService=ne,this.component=new t.vpe,this.componentData=[],this.Footer=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1}],this.Components=[{typeOf:"cta",height:"100vh",width:"95vw",value:"cta",name:"Call to Action",selected:!1},{typeOf:"image",height:"95vh",width:"90vw",value:"image",name:"Image Block",selected:!1},{typeOf:"text",height:"95vh",width:"90vw",value:"text",name:"Text Block",selected:!1},{typeOf:"topic",height:"85vh",width:"90vw",value:"topic",name:"Topic Search",selected:!1}]}ngOnChanges(k){k&&(k.index&&(this.index=k.index.currentValue),k.footer&&(this.footer=k.footer.currentValue,"true"==this.footer&&(this.Components=this.Footer)))}openSideNav(k,ne,z,re,B){0!=k&&this._openSideNav({typeOf:k,rowType:re,rowArray:this.index,compArray:ne,template:z,edit:B})}_openSideNav(k){this._layoutService.openSideNav({template:"comp",position:"start",data:k,mode:"side"})}static#e=this.\u0275fac=function(ne){return new(ne||F)(t.Y36(e.on),t.Y36(u.P))};static#t=this.\u0275cmp=t.Xpm({type:F,selectors:[["col-632"]],inputs:{index:"index",templates:"templates",footer:"footer",edit:"edit"},outputs:{component:"component"},features:[t.TTD],decls:1,vars:1,consts:[["class","row",4,"ngIf"],[1,"row"],[1,"col-6","col-md-4","col-xl-2","relative",3,"ngClass","ngSwitch"],["style","width: 100%",3,"cta",4,"ngSwitchCase"],[3,"imgblock",4,"ngSwitchCase"],[3,"feed",4,"ngSwitchCase"],[3,"showcase","dynamic","slideCount",4,"ngSwitchCase"],[3,"textBlock",4,"ngSwitchCase"],[3,"topicSearch",4,"ngSwitchCase"],[4,"ngIf"],[4,"ngSwitchDefault"],["class","edit-component text-center",4,"ngIf"],[1,"col-6","col-md-4","col-xl-2","relative",2,"margin-bottom","10px",3,"ngClass","ngSwitch"],[2,"width","100%",3,"cta"],[3,"imgblock"],[3,"feed"],[3,"showcase","dynamic","slideCount"],[3,"textBlock"],[3,"topicSearch"],["class","choose-component",4,"ngSwitchCase"],[1,"choose-component"],["title","Edit a Component",1,"form-control",3,"change"],["select1",""],["value","0"],[3,"value","title",4,"ngFor","ngForOf"],[3,"value","title"],[1,"edit-component","text-center"],[1,"edit-existing"],["tabindex","0",3,"click","keyup.enter"],[1,"edit-or"],["title","Choose a Component",1,"form-control",3,"change"],["select2",""],["select3",""],["select4",""],["select5",""],["select6",""]],template:function(ne,z){1&ne&&t.YNc(0,et,61,60,"div",0),2&ne&&t.Q6J("ngIf",z.templates)},dependencies:[m.mk,m.sg,m.O5,m.RF,m.n9,m.ED,p.Y,U.A,n.v,I.v,L.c,y.I],styles:[".choose-component[_ngcontent-%COMP%]{padding-top:80px;height:200px}.edit-component[_ngcontent-%COMP%]{width:calc(100% - 30px);height:100%;position:absolute;z-index:100;top:0;left:15px;background:transparent}.edit-existing[_ngcontent-%COMP%]{padding:2% 10%;visibility:hidden}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.5em;font-weight:700;color:#d3d3d3;text-decoration:underline;cursor:pointer}.edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-existing[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff}.edit-or[_ngcontent-%COMP%]{color:#d3d3d3}.edit-component[_ngcontent-%COMP%]:hover, .edit-component[_ngcontent-%COMP%]:focus{background:#00000080}.edit-component[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin:0 auto;max-width:250px}.edit-component[_ngcontent-%COMP%]:hover   .edit-existing[_ngcontent-%COMP%], .edit-component[_ngcontent-%COMP%]:focus   .edit-existing[_ngcontent-%COMP%]{visibility:visible}"]})}return F})()},5403:(jt,$e,s)=>{"use strict";s.d($e,{Y:()=>oe});var t=s(3352),u=s(2276),m=s(9212),p=s(6814),U=s(5722),n=s(2609);const I=le=>({background:le});function L(le,ee){if(1&le&&(m.TgZ(0,"h3",7),m._uU(1),m.qZA()),2&le){const K=m.oxw(2);m.Q6J("ngStyle",m.VKq(2,I,K.cta.titleBack?K.cta.titleBack:K.titleBack)),m.xp6(),m.hij(" ",null==K.cta?null:K.cta.title," ")}}function y(le,ee){if(1&le&&(m.TgZ(0,"p",7),m._uU(1),m.qZA()),2&le){const K=m.oxw(2);m.Q6J("ngStyle",m.VKq(2,I,K.cta.paraBack?K.cta.paraBack:K.paraBack)),m.xp6(),m.hij(" ",null==K.cta?null:K.cta.paragraph," ")}}function O(le,ee){if(1&le){const K=m.EpF();m.TgZ(0,"button",8),m.NdJ("focus",function(q){m.CHM(K);const H=m.oxw(2);return m.KtG(H.onBtnFocus(q))})("focusout",function(q){m.CHM(K);const H=m.oxw(2);return m.KtG(H.onBtnFocusOut(q))}),m._uU(1),m.qZA()}if(2&le){const K=m.oxw(2);m.Q6J("ngClass",K.cta.btnClass?K.cta.btnClass:"btn btn-primary"),m.uIk("aria-label",K.cta.btnLabel),m.xp6(),m.hij(" ",K.cta.btnLabel," ")}}function M(le,ee){if(1&le){const K=m.EpF();m.TgZ(0,"div",2),m.NdJ("agInteract",function(){m.CHM(K);const q=m.oxw();return m.KtG(q.targetLink(q.cta.targetUrl))}),m.TgZ(1,"div",3)(2,"div",4),m.YNc(3,L,2,4,"h3",5)(4,y,2,4,"p",5)(5,O,2,3,"button",6),m.qZA()()()}if(2&le){const K=m.oxw();m.Q6J("className",null==K.cta?null:K.cta.rowClass),m.xp6(),m.Q6J("ngStyle",K.getCTAstyles())("title",null!=K.cta&&K.cta.imgTitle&&""!==(null==K.cta?null:K.cta.imgTitle)?null==K.cta?null:K.cta.imgTitle:"")("tabindex",K.cta.imgUrl?0:-1),m.xp6(2),m.Q6J("ngIf",K.cta.title),m.xp6(),m.Q6J("ngIf",K.cta.paragraph),m.xp6(),m.Q6J("ngIf",K.cta.btnShow)}}function E(le,ee){if(1&le&&(m.TgZ(0,"h3",7),m._uU(1),m.qZA()),2&le){const K=m.oxw(2);m.Q6J("ngStyle",m.VKq(2,I,K.cta.titleBack?K.cta.titleBack:K.titleBack)),m.xp6(),m.hij(" ",null==K.cta?null:K.cta.title," ")}}function A(le,ee){if(1&le&&(m.TgZ(0,"p",7),m._uU(1),m.qZA()),2&le){const K=m.oxw(2);m.Q6J("ngStyle",m.VKq(2,I,K.cta.paraBack?K.cta.paraBack:K.paraBack)),m.xp6(),m.hij(" ",null==K.cta?null:K.cta.paragraph," ")}}function S(le,ee){if(1&le){const K=m.EpF();m.TgZ(0,"button",12),m.NdJ("focus",function(q){m.CHM(K);const H=m.oxw(2);return m.KtG(H.onBtnFocus(q))})("focusout",function(q){m.CHM(K);const H=m.oxw(2);return m.KtG(H.onBtnFocusOut(q))}),m._uU(1),m.qZA()}if(2&le){const K=m.oxw(2);m.Q6J("ngClass",K.cta.btnClass?K.cta.btnClass:K.btnClass),m.uIk("aria-label",K.cta.btnLabel),m.xp6(),m.hij(" ",K.cta.btnLabel," ")}}function Z(le,ee){if(1&le&&(m.TgZ(0,"div",9)(1,"div",10)(2,"div",4),m.YNc(3,E,2,4,"h3",5)(4,A,2,4,"p",5)(5,S,2,3,"button",11),m.qZA()()()),2&le){const K=m.oxw();m.Q6J("className",K.cta.rowClass),m.xp6(),m.Q6J("ngStyle",K.getCTAstyles())("title",null!=K.cta&&K.cta.imgTitle&&""!==(null==K.cta?null:K.cta.imgTitle)?null==K.cta?null:K.cta.imgTitle:""),m.xp6(2),m.Q6J("ngIf",K.cta.title),m.xp6(),m.Q6J("ngIf",K.cta.paragraph),m.xp6(),m.Q6J("ngIf",K.cta.btnShow)}}let oe=(()=>{class le{constructor(K){this._templateService=K,this.btnClass="btn btn-primary",this._color="white",this._backRepeat="no-repeat",this._backPos="center",this._backSize="cover"}targetLink(K){window.open(K,"_blank")}getCTAstyles(){return{color:null!=this.cta.color?this.cta.color:this._color,"background-color":null!=this.cta.background?this.cta.background:this._background,"background-image":"undefined"!=this.cta.imgUrl?"url("+this.cta.imgUrl+")":"url("+this._imgUrl+")",opacity:null!=this.cta.backOpacity?this.cta.backOpacity:this._backOpacity,filter:null!=this.cta.backOpacity?"alpha(opacity="+this.cta.filter+")":"alpha(opacity="+this._filter+")","background-repeat":null!=this.cta.backRepeat?this.cta.backRepeat:this._backRepeat,"background-attachment":null!=this.cta.backAttach?this.cta.backAttach:this._backAttach,"background-position":null!=this.cta.backPos?this.cta.backPos:this._backPos,"background-size":null!=this.cta.backSize?this.cta.backSize:this._backSize}}onBtnFocus(K){const Q=this._templateService.getBtnColorForTabFocus508(K.target.className);K.target&&Q&&""!=Q&&u(K.target).css("outline",Q+" solid")}onBtnFocusOut(K){K&&K.target&&K.target.style.removeProperty("outline")}static#e=this.\u0275fac=function(Q){return new(Q||le)(m.Y36(t.fs))};static#t=this.\u0275cmp=m.Xpm({type:le,selectors:[["cta"]],inputs:{cta:"cta"},decls:2,vars:2,consts:[["tabindex","0",3,"className","agInteract",4,"ngIf"],[3,"className",4,"ngIf"],["tabindex","0",3,"className","agInteract"],["alt","",1,"link-one","cursor-pointer",3,"ngStyle","title","tabindex"],[1,"border-line"],[3,"ngStyle",4,"ngIf"],["role","button","type","button","tabindex","0",3,"ngClass","focus","focusout",4,"ngIf"],[3,"ngStyle"],["role","button","type","button","tabindex","0",3,"ngClass","focus","focusout"],[3,"className"],["alt","",1,"link-one",3,"ngStyle","title"],["role","button","type","button",3,"ngClass","focus","focusout",4,"ngIf"],["role","button","type","button",3,"ngClass","focus","focusout"]],template:function(Q,q){1&Q&&m.YNc(0,M,6,7,"div",0)(1,Z,6,6,"div",1),2&Q&&(m.Q6J("ngIf",null==q.cta?null:q.cta.targetUrl),m.xp6(),m.Q6J("ngIf",!q.cta.targetUrl))},dependencies:[p.mk,p.O5,p.PC,U.o,n.oO,n.Zl],styles:[".border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{cursor:pointer;bottom:15%;left:5%;position:absolute}.border-line[_ngcontent-%COMP%]{padding:15px;height:100%;width:100%}h3[_ngcontent-%COMP%]{display:inline-block;border-radius:3px;padding:10px;float:left}p[_ngcontent-%COMP%]{display:inline-block;border-radius:3px;padding:5px;float:left;clear:left}button[_ngcontent-%COMP%]{left:8%}.link-one[_ngcontent-%COMP%]{display:inline-block;height:100%;width:100%;padding:0!important}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.back-icon[_ngcontent-%COMP%]{width:100%;text-align:center;height:250px}.back-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:3em;position:absolute;display:inline;margin:auto;inset:0}.one-link[_ngcontent-%COMP%]{display:inline-block;width:100%;padding:0!important;background-attachment:initial;background-position:center;background-repeat:no-repeat;background-size:cover}.one-link-2[_ngcontent-%COMP%]{display:inline-block;height:100%;padding:0!important;height:40vh;background-position:center;background-repeat:no-repeat;background-size:cover}.two-links[_ngcontent-%COMP%]{width:100%;position:relative;clear:both;cursor:pointer}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:25px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:5px;line-height:1.25em;font-size:1.25em;font-weight:700;padding:10px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em;margin-top:15px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;left:25px;position:absolute}.three-links[_ngcontent-%COMP%]{width:100%;position:relative;clear:both}.three-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%], .three-links[_ngcontent-%COMP%]   .one-link-2[_ngcontent-%COMP%]{height:300px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:5%}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;font-size:1.25em;font-weight:700;padding:7px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em;margin-top:15px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;left:5%;position:absolute}.four-links[_ngcontent-%COMP%]{width:100%;position:relative;clear:both}.four-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:200px}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:5%}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;font-size:1.25em;font-weight:700;padding:5px}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;position:absolute}@media screen and (min-width: 576px){.two-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:450px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:25px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;line-height:1.3em;font-size:1.5em;font-weight:700}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em;font-size:1.1em;margin-top:0}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;left:25px;position:absolute}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.25em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.75em;font-size:1.1em;margin-top:15px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%}}@media screen and (min-width: 768px){.border-line[_ngcontent-%COMP%]{padding:5%;height:100%;width:100%}.two-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:400px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:25px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;line-height:1.3em;font-size:1.5em;font-weight:700}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em;font-size:1em;margin-top:15px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;left:25px;position:absolute}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.25em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em;font-size:1em;margin-top:15px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%}}@media screen and (min-width: 992px){.two-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:425px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:25px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;line-height:1.3em;font-size:1.5em;font-weight:700}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em;font-size:1em;margin-top:15px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;left:25px;position:absolute}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.5em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em;font-size:1em;margin-top:15px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;font-size:1.25em;font-weight:700}}@media screen and (min-width: 1200px){.two-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:400px}.three-links[_ngcontent-%COMP%]{font-size:1em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.5em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;font-size:1.25em;font-weight:700}}*[tabindex][_ngcontent-%COMP%]:focus{outline:black solid}"]})}return le})()},4614:(jt,$e,s)=>{"use strict";s.d($e,{m:()=>n});var t=s(9212),u=s(6814),e=s(2609),m=s(9104);function p(I,L){if(1&I&&(t.TgZ(0,"h3"),t._uU(1),t.qZA()),2&I){const y=t.oxw();t.xp6(),t.Oqu(y.embed.title)}}const U=I=>({height:I});let n=(()=>{class I{constructor(){}getEmbedStyles(){return{...null!=this.embed.background&&{background:this.embed.background},...null!=this.embed.color&&{color:this.embed.color},...null!=this.embed.className&&{className:this.embed.className}}}static#e=this.\u0275fac=function(O){return new(O||I)};static#t=this.\u0275cmp=t.Xpm({type:I,selectors:[["embed-url"]],inputs:{embed:"embed"},decls:4,vars:7,consts:[[3,"className","ngStyle"],[4,"ngIf"],[1,"w-100",3,"ngStyle"],[3,"url"]],template:function(O,M){1&O&&(t.TgZ(0,"div",0),t.YNc(1,p,2,1,"h3",1),t.TgZ(2,"div",2),t._UZ(3,"ag-iframe",3),t.qZA()()),2&O&&(t.Q6J("className",null==M.embed?null:M.embed.className)("ngStyle",M.getEmbedStyles()),t.xp6(),t.Q6J("ngIf",null==M.embed?null:M.embed.title),t.xp6(),t.Q6J("ngStyle",t.VKq(5,U,null==M.embed?null:M.embed.height)),t.xp6(),t.Q6J("url",null==M.embed?null:M.embed.targetUrl))},dependencies:[u.O5,u.PC,e.Zl,m.u],styles:["iframe[_ngcontent-%COMP%]{border:0px}.oneRows[_ngcontent-%COMP%]{width:100%;height:100%;margin:10px 0!important;padding:0!important}.twoRows[_ngcontent-%COMP%], .threeRows[_ngcontent-%COMP%]{width:100%;height:100%;margin:0!important;padding:0!important}.fourRows[_ngcontent-%COMP%]{width:100%;height:100%;margin:10px 0!important;padding:0!important}@media screen and (min-width: 460px){.oneRows[_ngcontent-%COMP%], .twoRows[_ngcontent-%COMP%], .threeRows[_ngcontent-%COMP%], .fourRows[_ngcontent-%COMP%]{height:260px}}@media screen and (min-width: 576px){.oneRows[_ngcontent-%COMP%], .twoRows[_ngcontent-%COMP%]{height:260px}.threeRows[_ngcontent-%COMP%]{height:100px}.fourRows[_ngcontent-%COMP%]{height:160px}}@media screen and (min-width: 768px){.oneRows[_ngcontent-%COMP%], .twoRows[_ngcontent-%COMP%]{height:360px}.threeRows[_ngcontent-%COMP%]{height:140px}.fourRows[_ngcontent-%COMP%]{height:200px}}@media screen and (min-width: 992px){.oneRows[_ngcontent-%COMP%]{height:460px}.twoRows[_ngcontent-%COMP%]{height:275px}.threeRows[_ngcontent-%COMP%]{height:180px}.fourRows[_ngcontent-%COMP%]{height:140px}}@media screen and (min-width: 1200px){.oneRows[_ngcontent-%COMP%]{height:560px}.twoRows[_ngcontent-%COMP%]{height:300px}.threeRows[_ngcontent-%COMP%]{height:200px}.fourRows[_ngcontent-%COMP%]{height:160px}}"]})}return I})()},707:(jt,$e,s)=>{"use strict";s.d($e,{A:()=>K});var t=s(9212),u=s(3352),e=s(8159),m=s(9081),p=s(4259),U=s(6814),n=s(2609),I=s(6223),L=s(2400);function y(Q,q){if(1&Q&&(t.TgZ(0,"div",22)(1,"h3"),t._uU(2),t.qZA()()),2&Q){const H=t.oxw(2);t.xp6(2),t.Oqu(null==H.feed?null:H.feed.title)}}const O=Q=>({"background-color":Q}),M=Q=>({color:Q});function E(Q,q){if(1&Q&&(t.TgZ(0,"div",23),t._UZ(1,"input",24),t.TgZ(2,"label",25)(3,"span",26),t._uU(4,"Name (required)"),t.qZA()()()),2&Q){const H=t.oxw(2);t.xp6(),t.Q6J("ngStyle",t.VKq(2,O,null==H.feed?null:H.feed.inputBack)),t.xp6(2),t.Q6J("ngStyle",t.VKq(4,M,null==H.feed?null:H.feed.labelColor))}}function A(Q,q){if(1&Q&&(t.TgZ(0,"div",23),t._UZ(1,"input",27),t.TgZ(2,"label",28)(3,"span",26),t._uU(4,"Email (required)"),t.qZA()()()),2&Q){const H=t.oxw(2);t.xp6(),t.Q6J("ngStyle",t.VKq(2,O,null==H.feed?null:H.feed.inputBack)),t.xp6(2),t.Q6J("ngStyle",t.VKq(4,M,null==H.feed?null:H.feed.labelColor))}}function S(Q,q){if(1&Q&&(t.TgZ(0,"div",23),t._UZ(1,"input",29),t.TgZ(2,"label",30)(3,"span",26),t._uU(4,"Phone"),t.qZA()()()),2&Q){const H=t.oxw(2);t.xp6(),t.Q6J("ngStyle",t.VKq(2,O,null==H.feed?null:H.feed.inputBack)),t.xp6(2),t.Q6J("ngStyle",t.VKq(4,M,null==H.feed?null:H.feed.labelColor))}}function Z(Q,q){if(1&Q){const H=t.EpF();t.TgZ(0,"div",31)(1,"input",32),t.NdJ("click",function(){t.CHM(H);const ie=t.oxw(2);return t.KtG(ie.toggleEmail())}),t.qZA(),t.TgZ(2,"label",33),t._uU(3," Include Reply Email"),t.qZA()()}if(2&Q){const H=t.oxw(2);t.xp6(),t.Q6J("ngStyle",t.VKq(2,O,null==H.feed?null:H.feed.inputBack)),t.xp6(),t.Q6J("ngStyle",t.VKq(4,M,null==H.feed?null:H.feed.labelColor))}}function oe(Q,q){if(1&Q){const H=t.EpF();t.TgZ(0,"input",34),t.NdJ("click",function(){t.CHM(H),t.oxw();const ie=t.MAs(2),_e=t.oxw();return t.KtG(_e.resetForm(ie))}),t.qZA()}if(2&Q){t.oxw();const H=t.MAs(2);t.Q6J("disabled",!H.touched)}}const le=(Q,q)=>({color:Q,"background-color":q});function ee(Q,q){if(1&Q){const H=t.EpF();t.TgZ(0,"div",1)(1,"form",2,3),t.NdJ("ngSubmit",function(){t.CHM(H);const ie=t.MAs(2),_e=t.oxw();return t.KtG(_e.submitFeedback(ie))}),t.TgZ(3,"div",4),t.YNc(4,y,3,1,"div",5),t.TgZ(5,"div",6),t.YNc(6,E,5,6,"div",7)(7,A,5,6,"div",7)(8,S,5,6,"div",7)(9,Z,4,6,"div",8),t.qZA(),t.TgZ(10,"div",9)(11,"div",10)(12,"select",11)(13,"option",12),t._uU(14," -- Select an Option (required)-- "),t.qZA(),t.TgZ(15,"option",13),t._uU(16,"Suggestion"),t.qZA(),t.TgZ(17,"option",14),t._uU(18,"Questions"),t.qZA(),t.TgZ(19,"option",15),t._uU(20,"Compliment"),t.qZA(),t.TgZ(21,"option",16),t._uU(22,"Problems or Complaint"),t.qZA()()(),t.TgZ(23,"div",17)(24,"textarea",18),t._uU(25,"          "),t.qZA()(),t.TgZ(26,"div",19),t.YNc(27,oe,1,1,"input",20),t._UZ(28,"input",21),t.qZA()()()()()}if(2&Q){const H=t.oxw();t.Q6J("className",null==H.feed?null:H.feed.className)("ngStyle",H.getFEEDStyles()),t.xp6(4),t.Q6J("ngIf",null==H.feed?null:H.feed.title),t.xp6(2),t.Q6J("ngIf",null==H.feed?null:H.feed.name),t.xp6(),t.Q6J("ngIf",null==H.feed?null:H.feed.email),t.xp6(),t.Q6J("ngIf",null==H.feed?null:H.feed.phone),t.xp6(),t.Q6J("ngIf",null==H.feed?null:H.feed.emailCheckbox),t.xp6(3),t.Q6J("ngModel",H.feedbackType)("ngStyle",t.WLB(16,le,null==H.feed?null:H.feed.labelColor,null==H.feed?null:H.feed.inputBack)),t.xp6(),t.Q6J("ngValue",null),t.xp6(11),t.Q6J("placeholder",null!=H.feed&&H.feed.placeholder?H.feed.placeholder:"write us a message")("ngStyle",t.WLB(19,le,null==H.feed?null:H.feed.labelColor,null==H.feed?null:H.feed.inputBack)),t.uIk("title",null!=H.feed&&H.feed.placeholder?H.feed.placeholder:"write us a message"),t.xp6(3),t.Q6J("ngIf",null==H.feed?null:H.feed.resetButton),t.xp6(),t.Q6J("value",null!=H.feed&&H.feed.sendButton?null==H.feed?null:H.feed.sendButton:"Send")("ngClass",null!=H.feed&&H.feed.btnClass?null==H.feed?null:H.feed.btnClass:"btn btn-primary")}}let K=(()=>{class Q{constructor(H,T,ie,_e){this._emailService=H,this._predefinedTemplatesService=T,this._sharedService=ie,this._storageService=_e,this.editClicked=new t.vpe,this.feedbackType=null,this._checked=!0,this._color="#454545",this._background="transparent"}ngOnInit(){this.feed.labelColor="#000"}getFEEDStyles(){return{color:this.feed.color?this.feed.color:this._color,"background-color":this.feed.background?this.feed.background:this._background}}toggleEmail(){this._checked=!this._checked}onEdit(){this.editClicked.emit("New desciption")}resetForm(H){H.resetForm()}submitFeedback(H){let T="",ie=!0,_e=!1,Ce=[],Ve={};if((!this.feed.sendEmail||!/\S/.test(this.feed.sendEmail))&&(ie=!1,T="Send to Email Address is not configured, please reconfigure the widget",this._sharedService.openSnackBar(T,"ok")),ie&&/\S/.test(this.feed.sendEmail)&&this.feed.sendEmail.includes(",")&&(_e=!0,Ce=this.feed.sendEmail.split(","),Ce.length<=0&&(ie=!1,T="Send to Email Address is not configured, please reconfigure the widget",this._sharedService.openSnackBar(T,"ok"))),ie&&this.feed.name&&(/\S/.test(H.form.value.name)||(ie=!1,T+="Please enter name field;")),ie&&this.feed.email&&(/^(([^<>()\[\]\\.,;:\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,}))$/i.test(H.form.value.email)||(ie=!1,T+="Please enter a valid email address;")),ie&&(null==H.form.value.option?(ie=!1,T+="Please select a valid option for message;"):!1===/\S/.test(H.form.value.description)&&(ie=!1,T+="add description")),""!==T&&this._sharedService.openSnackBar(T,"ok"),ie){const dt=`no-reply-feedback-${this._storageService.getLid().toUpperCase()}@librarycard.com`;let Fe="Feedback Type : "+H.form.value.option+"\r\n";if(Fe+="Feedback : "+H.form.value.description+"\r\n",this.feed.emailCheckbox&&(Fe+="Reply Requested : "+(H.form.value.replyEmail?"Yes":"No")+"\r\n"),this.feed.name&&(Fe+="Name : "+H.form.value.name+"\r\n"),this.feed.phone&&(Fe+="Phone : "+H.form.value.phone+"\r\n"),this.feed.email&&(Fe+="Email : "+H.form.value.email+"\r\n"),this.feed.optionalTxt&&(Fe+="\r\n"+this.feed.optionalTxt+"\r\n"),_e){if(_e){let Xe=0;const Ie=Ce.length;for(let W=0;W<Ce.length;W++){const we=Ce[W];Ve={FromAddress:we||"",FromAddressName:this.feed.name?H.form.value.name:"",ToAddress:we?we.trim():"",CCAddress:"",BCCAddress:"",Subject:this.feed.subjectLine?this.feed.subjectLine:H.form.value.option?H.form.value.option:"",MessageBody:Fe,IsBodyHtml:!0},this._emailService.SendEmail(Ve).subscribe(P=>{"200 OK"===P.status&&P.data&&(Xe+=1,Xe===Ie&&(this._sharedService.openSnackBar(P.data.msg,"ok"),H.resetForm()))})}}}else Ve={FromAddress:dt||"",FromAddressName:this.feed.name?H.form.value.name:"",ToAddress:this.feed.sendEmail,CCAddress:"",BCCAddress:"",Subject:this.feed.subjectLine?this.feed.subjectLine:H.form.value.option?H.form.value.option:"",MessageBody:Fe,IsBodyHtml:!0},this._emailService.SendEmail(Ve).subscribe(Xe=>{"200 OK"===Xe.status&&(Xe.data&&this._sharedService.openSnackBar(Xe.data.msg,"ok"),H.resetForm())})}}onSubmit(H){const T=H.value;if(isNaN(T.phone))this._sharedService.openSnackBar("Enter a valid Phone number","ok");else if(T.email.includes(".com")&&T.email.includes("@")){const ie={cid:this._storageService.getCid(),lid:this._storageService.getLid(),name:T.name,phone:T.phone,description:T.description,option:T.option,email:T.email};this._predefinedTemplatesService.postFeedBack(ie).subscribe(_e=>{"200 OK"===_e.status&&(this._sharedService.openSnackBar(_e.message,"ok"),H.resetForm())})}else this._sharedService.openSnackBar("enter a valid email address","ok")}static#e=this.\u0275fac=function(T){return new(T||Q)(t.Y36(e.j),t.Y36(u.fs),t.Y36(m.F),t.Y36(p.V))};static#t=this.\u0275cmp=t.Xpm({type:Q,selectors:[["app-feedback"]],inputs:{feed:"feed"},outputs:{editClicked:"editClicked"},decls:1,vars:1,consts:[["class","feedback","style","height: 100%",3,"className","ngStyle",4,"ngIf"],[1,"feedback",2,"height","100%",3,"className","ngStyle"],[3,"ngSubmit"],["f","ngForm"],[1,"feedback-trim"],["class","feedback-desc",4,"ngIf"],[1,"feedback-inputs"],["class","form-input",4,"ngIf"],["class","form-checkbox",4,"ngIf"],[1,"feedback-story"],[1,"feedback-select"],["name","option","required","true","title","Choose a Feedback Option",3,"ngModel","ngStyle"],["value","default","selected","",3,"ngValue"],["value","suggestion"],["value","question"],["value","compliment"],["value","complaint"],[1,"feedback-details"],["rows","3","ngModel","","name","description",3,"placeholder","ngStyle"],[1,"feedback-buttons"],["type","button","value","reset","title","Reset","class","btn btn-link",3,"disabled","click",4,"ngIf"],["type","submit","value","send","title","Send",3,"value","ngClass"],[1,"feedback-desc"],[1,"form-input"],["matInput","","id","feedback-name","type","text","placeholder","Enter Your Name","title","Enter Your Name","name","name","ngModel","",3,"ngStyle"],["for","feedback-name"],[3,"ngStyle"],["id","feedback-email","type","email","placeholder","Enter Your Email","title","Enter Your Email","name","email","ngModel","",3,"ngStyle"],["for","feedback-email"],["id","feedback-phone","type","tel","placeholder","Enter Your Phone","title","Enter Your Phone","name","phone","ngModel","",3,"ngStyle"],["for","feedback-phone"],[1,"form-checkbox"],["type","checkbox","id","reply-checkbox","name","replyEmail","ngModel","","title","if reply Email is required",3,"ngStyle","click"],["for","reply-checkbox",3,"ngStyle"],["type","button","value","reset","title","Reset",1,"btn","btn-link",3,"disabled","click"]],template:function(T,ie){1&T&&t.YNc(0,ee,29,22,"div",0),2&T&&t.Q6J("ngIf",null!==ie.feed||void 0!==ie.feed)},dependencies:[U.mk,U.O5,U.PC,n.oO,n.Zl,I._Y,I.YN,I.Kr,I.Fj,I.Wl,I.EJ,I.JJ,I.JL,I.Q7,I.On,I.F,L.k0],styles:[".feedback[_ngcontent-%COMP%]{width:100%;background:none;display:inline-block;padding-top:10px}.feedback-trim[_ngcontent-%COMP%]{display:block;width:100%}h3[_ngcontent-%COMP%]{font-size:1.25em;margin-bottom:0}form[_ngcontent-%COMP%]{width:100%}select[_ngcontent-%COMP%]{padding:7px;color:var(--header-color);background:var(--header-background);border:none;border-radius:4px;font-size:1rem;width:100%;max-width:280px}textarea[_ngcontent-%COMP%]{width:100%;color:var(--header-color);background:var(--header-background);font-size:1.15rem;border:none;border-radius:4px;padding:15px}.feedback-desc[_ngcontent-%COMP%]{text-align:left;line-height:1.5em;padding:5px 10px}.feedback-select[_ngcontent-%COMP%]{padding:5px 10px}.feedback-buttons[_ngcontent-%COMP%]{text-align:left;padding:15px 0}.feedback-buttons[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin:0 5px}.feedback-details[_ngcontent-%COMP%], .feedback-inputs[_ngcontent-%COMP%], .feedback-buttons[_ngcontent-%COMP%], .feedback-result[_ngcontent-%COMP%]{padding:0 8px}.feedback-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;padding:5px;margin:5px}.feedback-inputs[_ngcontent-%COMP%]{padding:5px}.form-checkbox[_ngcontent-%COMP%]{color:var(--link);padding-top:25px;vertical-align:top}.form-checkbox[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{width:22px;height:22px;margin-top:5px}.form-checkbox[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{padding-left:10px;padding-bottom:3px;font-size:1em;vertical-align:top}.form-input[_ngcontent-%COMP%]{position:relative;margin-bottom:5px}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;display:block;margin:10px;padding:5px;border:none;font-size:22px}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:var(--header-color)!important}textarea[_ngcontent-%COMP%]::placeholder{color:var(--header-color)!important}.form-input[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:-ms-input-placeholder{color:var(--header-color)!important}.form-input[_ngcontent-%COMP%]   [_ngcontent-%COMP%]::-ms-input-placeholder{color:var(--header-color)!important}.form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus, .form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{outline:0}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-size:22px;font-weight:300;border-radius:2px;padding-top:24px;margin:0;border:none;width:100%;color:var(--header-color);background:var(--header-background);transition:padding-top .2s ease,margin-top .2s ease;overflow-x:hidden}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus + textarea[_ngcontent-%COMP%]{display:block;position:relative;white-space:nowrap;padding:0;margin:0;width:10%;height:0px;border-top:none;transition:width .4s ease}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{display:block;position:relative;white-space:nowrap;padding:0;margin:0;border-top:none;transition:width .4s ease;height:0px;width:90%;z-index:20}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%]{width:90%}.form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:valid, .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus{margin-top:35px}input[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:valid + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{top:-65px;font-size:14px;color:var(--link)}input[_ngcontent-%COMP%]:invalid + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{top:-65px;font-size:14px;color:red!important}textarea[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]:valid + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{top:-65px;font-size:22px;color:var(--link)}input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-weight:300;margin:0;position:absolute;color:var(--link);font-size:22px;top:-40px;left:0;z-index:-1;transition:top .2s ease,font-size .2s ease,color .2s ease}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:invalid, .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:invalid{box-shadow:none}.form-input[_ngcontent-%COMP%]{width:100%}.form-input[_ngcontent-%COMP%]   .alert-success[_ngcontent-%COMP%]{position:absolute;top:28px;right:5px;width:30px;height:30px;border-radius:50%;font-size:1.5em;padding:3px}.form-input[_ngcontent-%COMP%]   .alert-danger[_ngcontent-%COMP%]{position:absolute;top:28px;right:5px;width:30px;height:30px;border-radius:50%;font-size:1.5em;padding:2px 5px}input.ng-invalid.ng-touched[_ngcontent-%COMP%]:invalid{border-bottom:1px solid #a94442}input.valid.touched[_ngcontent-%COMP%]{border:1px solid green}.form-input.has-success[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:invalid{border-bottom:1px solid var(--link)}.form-input.has-success[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:valid{border-bottom:1px solid #3c763d}.feedback-inputs[_ngcontent-%COMP%], .feedback-story[_ngcontent-%COMP%]{display:inline-block;float:left;width:100%}.feedback-story[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-indent:15px;display:inline-block}@media screen and (min-width: 768px){.col-md-4[_ngcontent-%COMP%]   .form-checkbox[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{padding:7px 0 0;font-size:.65em}.feedback-buttons[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:.7em}.feedback-story[_ngcontent-%COMP%], .feedback-inputs[_ngcontent-%COMP%]{width:50%}.col-md-4[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-size:1em}.feedback-buttons[_ngcontent-%COMP%]{text-align:left;padding-right:5%}}@media screen and (min-width: 1200px){.feedback-inputs[_ngcontent-%COMP%]{width:33%}.feedback-story[_ngcontent-%COMP%]{width:66%}}"]})}return Q})()},5289:(jt,$e,s)=>{"use strict";s.d($e,{c:()=>I});var t=s(9212),u=s(6814),e=s(2609);const m=L=>({"margin-bottom:10px; display:block;":!0,color:L});function p(L,y){if(1&L&&(t.TgZ(0,"h3",3),t._uU(1),t.qZA()),2&L){const O=t.oxw();t.Q6J("ngStyle",t.VKq(2,m,O.imgblock.color?O.imgblock.color:O.color)),t.xp6(),t.hij(" ",null==O.imgblock?null:O.imgblock.title," ")}}const U=(L,y,O,M,E)=>({display:L,background:y,"padding-top":O,"padding-bottom":M,"text-align":E}),n=L=>({pointer:L});let I=(()=>{class L{constructor(){this._height="auto",this._maxWidth="100%"}getMyStyles(){return{color:this.imgblock.color?this.imgblock.color:this._title,display:this.imgblock.display?this.imgblock.display:this._display,height:this.imgblock.height?this.imgblock.height:this._height,width:this.imgblock.width?this.imgblock.width:this._width,"max-width":this.imgblock.maxWidth?this.imgblock.maxWidth:this._maxWidth,align:this.imgblock.align?this.imgblock.align:this._align,alt:this.imgblock.alt?this.imgblock.alt:this._alt,border:this.imgblock.border?this.imgblock.border:this._border,filter:this.imgblock.filter?this.imgblock.filter:this._filter,opacity:this.imgblock.opacity?this.imgblock.opacity:this._opacity,"border-radius":this.imgblock.radius?this.imgblock.radius:this._radius,transform:this.imgblock.transform?this.imgblock.transform:this._transform,"margin-left":this.imgblock.marginLeft?this.imgblock.marginLeft:this._marginLeft,"margin-right":this.imgblock.marginRight?this.imgblock.marginRight:this._marginRight}}openImageUrl(O){O&&""!==O&&"https://"!==O&&window.open(O)}static#e=this.\u0275fac=function(M){return new(M||L)};static#t=this.\u0275cmp=t.Xpm({type:L,selectors:[["image-block"]],inputs:{imgblock:"imgblock"},decls:3,vars:17,consts:[[3,"className","ngStyle"],[3,"ngStyle",4,"ngIf"],[3,"src","alt","title","ngStyle","ngClass","tabindex","click","keyup.enter"],[3,"ngStyle"]],template:function(M,E){1&M&&(t.TgZ(0,"div",0),t.YNc(1,p,2,4,"h3",1),t.TgZ(2,"img",2),t.NdJ("click",function(){return E.openImageUrl(null==E.imgblock?null:E.imgblock.targetUrl)})("keyup.enter",function(){return E.openImageUrl(null==E.imgblock?null:E.imgblock.targetUrl)}),t.qZA()()),2&M&&(t.Q6J("className",null==E.imgblock?null:E.imgblock.className)("ngStyle",t.qbA(9,U,E.imgblock.display,E.imgblock.background,E.imgblock.paddingTop,E.imgblock.paddingBottom,E.imgblock.align)),t.xp6(),t.Q6J("ngIf",E.imgblock.title),t.xp6(),t.Q6J("src",null==E.imgblock?null:E.imgblock.imgUrl,t.LSH)("alt",E.imgblock.alt)("title",null!=E.imgblock&&E.imgblock.imgTitle&&""!==(null==E.imgblock?null:E.imgblock.imgTitle)?null==E.imgblock?null:E.imgblock.imgTitle:"")("ngStyle",E.getMyStyles())("ngClass",t.VKq(15,n,(null==E.imgblock?null:E.imgblock.targetUrl)&&""!==(null==E.imgblock?null:E.imgblock.targetUrl)&&"https://"!==(null==E.imgblock?null:E.imgblock.targetUrl)))("tabindex",null!=E.imgblock&&E.imgblock.targetUrl?0:-1))},dependencies:[u.mk,u.O5,u.PC,e.oO,e.Zl],styles:[".pointer[_ngcontent-%COMP%]{cursor:pointer}*[tabindex][_ngcontent-%COMP%]:focus{outline:black solid}"]})}return L})()},1414:(jt,$e,s)=>{"use strict";s.d($e,{v:()=>P});var t=s(9927),u=s(9212),e=s(2787),m=s(5619),p=s(8645),U=s(9773),n=s(3352),I=s(7895),L=s(9081),y=s(4259),O=s(3213),M=s(5175),E=s(4716),A=s(8377),S=s(8321),Z=s(6814),oe=s(5722),le=s(6433),ee=s(2609),K=s(1438);const Q=["swipe"],q=["swipeNext"],H=["swipePrev"],T=V=>({background:V});function ie(V,Se){if(1&V&&(u.TgZ(0,"div",14)(1,"span",15),u._uU(2),u.qZA()()),2&V){const G=u.oxw(2);u.xp6(),u.Q6J("ngStyle",u.VKq(2,T,null==G.showcase?null:G.showcase.titleBackground)),u.xp6(),u.hij(" ",G.showcase.title," ")}}function _e(V,Se){1&V&&(u.TgZ(0,"div"),u._UZ(1,"mat-spinner",18),u.qZA()),2&V&&(u.xp6(),u.Q6J("diameter",25))}function Ce(V,Se){if(1&V&&(u.TgZ(0,"div",16),u.YNc(1,_e,2,1,"div",17),u.qZA()),2&V){const G=u.oxw(2);u.xp6(),u.Q6J("ngIf",G.loading)}}function Ve(V,Se){if(1&V&&(u.TgZ(0,"span"),u._uU(1),u.qZA()),2&V){const G=Se.$implicit;u.xp6(),u.hij(" ",G," ")}}function ae(V,Se){if(1&V&&(u.TgZ(0,"div",24),u.YNc(1,Ve,2,1,"span",26),u.qZA()),2&V){const G=u.oxw().$implicit;u.xp6(),u.Q6J("ngForOf",G.pubYear)}}function pe(V,Se){if(1&V){const G=u.EpF();u.TgZ(0,"div",19)(1,"div",20),u.NdJ("agInteract",function(){const De=u.CHM(G).$implicit,tt=u.oxw(2);return u.KtG(tt.goToFullRecord(De))}),u._UZ(2,"img",21),u.qZA(),u.TgZ(3,"div",22),u.NdJ("keyup.enter",function(){const De=u.CHM(G).$implicit,tt=u.oxw(2);return u.KtG(tt.goToFullRecord(De))}),u.TgZ(4,"div",23),u._uU(5),u.qZA(),u.TgZ(6,"div")(7,"div",24),u._uU(8),u.qZA(),u.TgZ(9,"div",24),u._uU(10),u.qZA(),u.TgZ(11,"div",24),u._uU(12),u.qZA(),u.YNc(13,ae,2,1,"div",25),u.qZA()()()}if(2&V){const G=Se.$implicit;u.xp6(2),u.Q6J("alt",G.title)("src",G.jacketArt.small,u.LSH)("title",G.title),u.xp6(3),u.Oqu(G.title),u.xp6(3),u.Oqu(G.author),u.xp6(2),u.Oqu(G.publisher),u.xp6(2),u.Oqu(G.format_Long),u.xp6(),u.Q6J("ngIf",G.pubYear)}}function Ae(V,Se){if(1&V&&(u.TgZ(0,"div",3),u.YNc(1,ie,3,4,"div",4),u.TgZ(2,"div",5,6)(4,"div",7),u.YNc(5,Ce,2,1,"div",8),u.ALo(6,"async"),u.YNc(7,pe,14,8,"div",9),u.ALo(8,"async"),u.qZA(),u._UZ(9,"div",10,11)(11,"div",12,13),u.qZA()()),2&V){const G=u.oxw();u.Q6J("ngStyle",G.getShowcaseStyles())("ngClass",G.showcase.className),u.xp6(),u.Q6J("ngIf",G.showcase.title),u.xp6(4),u.Q6J("ngIf",0===u.lcZ(6,5,G.documents$).length),u.xp6(2),u.Q6J("ngForOf",u.lcZ(8,7,G.documents$))}}function Ze(V,Se){if(1&V&&(u.TgZ(0,"div",14)(1,"span",15),u._uU(2),u.qZA()()),2&V){const G=u.oxw(2);u.xp6(),u.Q6J("ngStyle",u.VKq(2,T,G.showcase.titleBackground)),u.xp6(),u.hij(" ",G.showcase.title," ")}}function dt(V,Se){1&V&&(u.TgZ(0,"div",16),u._UZ(1,"mat-spinner",18),u.qZA()),2&V&&(u.xp6(),u.Q6J("diameter",25))}function Fe(V,Se){if(1&V&&(u.TgZ(0,"div",24),u._uU(1),u.qZA()),2&V){const G=u.oxw().$implicit;u.xp6(),u.hij(" ",G.pubYear," ")}}function Xe(V,Se){if(1&V&&(u.TgZ(0,"div",24),u._uU(1),u.qZA()),2&V){const G=u.oxw().$implicit;u.xp6(),u.hij(" ",G.formatType," ")}}function Ie(V,Se){if(1&V){const G=u.EpF();u.TgZ(0,"div",19)(1,"div",20),u.NdJ("agInteract",function(){const De=u.CHM(G).$implicit,tt=u.oxw(2);return u.KtG(tt.goToFullRecordList(De))}),u._UZ(2,"img",21),u.qZA(),u.TgZ(3,"div",22),u.NdJ("keyup.enter",function(){const De=u.CHM(G).$implicit,tt=u.oxw(2);return u.KtG(tt.goToFullRecordList(De))}),u.TgZ(4,"div",28),u.NdJ("agInteract",function(){const De=u.CHM(G).$implicit,tt=u.oxw(2);return u.KtG(tt.goToFullRecordList(De))}),u._uU(5),u.qZA(),u.TgZ(6,"div")(7,"div",24),u._uU(8),u.qZA(),u.TgZ(9,"div",24),u._uU(10),u.qZA(),u.YNc(11,Fe,2,1,"div",25)(12,Xe,2,1,"div",25),u.qZA()()()}if(2&V){const G=Se.$implicit;u.xp6(2),u.Q6J("alt",G.title)("src",G.jacketArt.small,u.LSH)("title",G.title),u.xp6(3),u.hij(" ",G.title," "),u.xp6(3),u.Oqu(G.author),u.xp6(2),u.Oqu(G.publisher),u.xp6(),u.Q6J("ngIf",""!==G.pubYear),u.xp6(),u.Q6J("ngIf",""!==G.formatType)}}function W(V,Se){if(1&V&&(u.TgZ(0,"div",27),u.YNc(1,Ze,3,4,"div",4)(2,dt,2,1,"div",8),u.TgZ(3,"div",5,6)(5,"div",7),u.YNc(6,Ie,13,8,"div",9),u.ALo(7,"async"),u.qZA(),u._UZ(8,"div",10,11)(10,"div",12,13),u.qZA()()),2&V){const G=u.oxw();u.Q6J("ngStyle",G.getShowcaseStyles())("ngClass",null==G.showcase?null:G.showcase.className),u.xp6(),u.Q6J("ngIf",G.showcase.title),u.xp6(),u.Q6J("ngIf",G.loading),u.xp6(4),u.Q6J("ngForOf",u.lcZ(7,5,G.listItems$))}}function we(V,Se){if(1&V&&(u.TgZ(0,"div",29)(1,"h4"),u._uU(2),u.ALo(3,"async"),u.qZA()()),2&V){const G=u.oxw();u.xp6(2),u.Oqu(u.lcZ(3,1,G.message$))}}let P=(()=>{class V{constructor(){this.actionEE=new u.vpe(null),this._holdService=(0,u.f3M)(t.M),this._predefinedTemplatesService=(0,u.f3M)(n.fs),this._route=(0,u.f3M)(e.F0),this._routingService=(0,u.f3M)(A.Z),this._sharedService=(0,u.f3M)(L.F),this._storageService=(0,u.f3M)(y.V),this._yourListService=(0,u.f3M)(O.K),this.authService=(0,u.f3M)(M.e8),this.searchService=(0,u.f3M)(I.oD),this._searchResults=new m.X(null),this.searchResults$=this._searchResults.asObservable(),this._documents=new m.X([]),this.documents$=this._documents.asObservable(),this._listItems=new m.X([]),this.listItems$=this._listItems.asObservable(),this._message=new m.X(null),this.message$=this._message.asObservable(),this.loading=!0,this.SYSTEMCATEGORY=M._n,this._swiperConfig={centeredSlides:!1,direction:"horizontal",keyboard:!0,observer:!0,pagination:!1,rewind:!0,a11y:{enabled:!0}},this._destroyed$=new p.x}ngOnInit(){this.systemCategory=this.authService.getUserDataFromSession().systemCategory,this.allowPatronGuestReserve=this._holdService.allowPatronGuestReserve()}ngOnDestroy(){this._destroyed$.next(),this._destroyed$.complete(),this._swiper.destroy()}ngOnChanges(G){G.shelf?.currentValue&&(this._swiper?.autoplay.stop(),this.loading=!1),G.slideCount&&(this._swiperConfig.breakpoints=this._setResponsive(G.slideCount.currentValue)),G.showcase&&(G.showcase.currentValue.autoplay?this._swiper?.autoplay.start():this._swiper?.autoplay.stop()),this.dynamic?this._dynamicShowcase():this.showcase&&this._listShowcase()}ngAfterViewInit(){this._swiperConfig.navigation={nextEl:this.swiperNext.nativeElement,prevEl:this.swiperPrev.nativeElement},this._swiperConfig.autoplay=!!this.showcase?.autoplay&&{delay:2e3,stopOnLastSlide:!1,pauseOnMouseEnter:!0},this._swiperConfig.breakpoints=this._setResponsive(this.slideCount),this._swiper=new S.Z(this.swiperRef.nativeElement,this._swiperConfig),this.listItems$.pipe((0,U.R)(this._destroyed$)).subscribe(()=>{this.showcase.autoplay?this._swiper.autoplay.start():this._swiper.autoplay.stop()}),this.documents$.pipe((0,U.R)(this._destroyed$)).subscribe(()=>{this.showcase.autoplay?this._swiper.autoplay.start():this._swiper.autoplay.stop()})}_setResponsive(G){switch(G){case 1:case 2:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:1},1200:{slidesPerView:2},1400:{slidesPerView:2},1700:{slidesPerView:2},2e3:{slidesPerView:2}};case 3:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:2},1200:{slidesPerView:2},1400:{slidesPerView:3},1700:{slidesPerView:3},2e3:{slidesPerView:3}};case 4:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:3},1200:{slidesPerView:3},1400:{slidesPerView:4},1700:{slidesPerView:4},2e3:{slidesPerView:4}};case 5:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:3},1200:{slidesPerView:4},1400:{slidesPerView:5},1700:{slidesPerView:5},2e3:{slidesPerView:5}};case 6:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:4},1200:{slidesPerView:5},1400:{slidesPerView:5},1700:{slidesPerView:6},2e3:{slidesPerView:6}};case 7:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:4},1200:{slidesPerView:4},1400:{slidesPerView:5},1700:{slidesPerView:6},2e3:{slidesPerView:7}};case 8:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:4},1200:{slidesPerView:5},1400:{slidesPerView:6},1700:{slidesPerView:7},2e3:{slidesPerView:8}};default:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:6},1200:{slidesPerView:7},1400:{slidesPerView:8},1700:{slidesPerView:9},2e3:{slidesPerView:10}}}}action(G,be){G&&this.actionEE.emit({action:G,item:be})}getShowcaseStyles(){return{color:this.showcase.color,"background-color":this.showcase.background}}goToFullRecord(G){this._route.url.includes("/page-widgets")?this._routingService.goToFullRecordNewTab(G.agControlId,G.shard):(this.searchService.setSearchResults(this._searchResults.value),this._routingService.pushOnBackStack(),this._routingService.goToFullRecord(G.agControlId,G.shard,this._searchResults.value.searchId,G.isRefdb,G.refdbFullRecUrl))}goToFullRecordList(G){this._routingService.goToFullRecordRelativeUrl(G.relativeUrl)}_listShowcase(){this.loading=!0,this.listId=this.showcase.listId,this.cid=this._storageService.getCid(),this.lid=this._storageService.getLid();const G={listid:this.listId,cid:this.cid,lid:this.lid};""!==this.showcase.typeOf?("popular-list"===this.showcase.typeOf?this._yourListService.getShowcasePopularList(this.listId):this._yourListService.getShowcaseList(G)).pipe((0,E.x)(()=>{this.loading=!1})).subscribe({next:de=>{this._bindShowcaseInfo(de)},error:de=>{this._sharedService.openSnackBar(`Unable to fetch ${this.showcase.typeOf}`),de instanceof Error&&console.error(de.message)}}):(this._sharedService.openSnackBar(`Unable to fetch ${this.showcase.typeOf}`),console.error("typeof showcase missing!!"))}_bindShowcaseInfo(G){this._listItems.next(G?.listItems??[]),this._listItems.value.length>0?(this._documents.next([]),this._message.next(null)):0===this._listItems.value.length&&this._message.next("The list is empty")}_dynamicShowcase(){this.searchRequest={searchQuery:{facetOffset:this.showcase.query.searchQuery.facetOffset??0,filters:this.showcase.query.searchQuery.filters??{},matches:this.showcase.query.searchQuery.matches,numOfFacetPerGroup:this.showcase.query.searchQuery.numOfFacetPerGroup??20,numOfRecords:40,orderBy:this.showcase.query.searchQuery.orderBy??"asc",resources:this.showcase.query.searchQuery.resources??this.searchService.getSearchResources(),resulttype:"none",sortBy:this.showcase.query.searchQuery.sortBy??["relevance"],startRecord:this.showcase.query.searchQuery.startRecord??1,isKidsSearch:this._sharedService.getIsKidsCat()}},this.searchService.performSearchAndWait(this.searchRequest).subscribe(G=>{this._searchResults.next(G.results),this._documents.next(G.results.flatMap(be=>be.formats).flatMap(be=>be.documents)),this._initShowCaseAutoplay()})}_initShowCaseAutoplay(){setTimeout(()=>{this.showcase.autoplay||(this._swiperConfig.autoplay=!1)},this._predefinedTemplatesService.SHOWCASE_TIMEOUT)}static#e=this.\u0275fac=function(be){return new(be||V)};static#t=this.\u0275cmp=u.Xpm({type:V,selectors:[["showcase"]],viewQuery:function(be,de){if(1&be&&(u.Gf(Q,5),u.Gf(q,5),u.Gf(H,5)),2&be){let De;u.iGM(De=u.CRH())&&(de.swiperRef=De.first),u.iGM(De=u.CRH())&&(de.swiperNext=De.first),u.iGM(De=u.CRH())&&(de.swiperPrev=De.first)}},inputs:{slides:"slides",slideCount:"slideCount",showcase:"showcase",dynamic:"dynamic",FRTargetType:"FRTargetType"},outputs:{actionEE:"actionEE"},features:[u._Bn([{provide:u.QbO,useValue:"BrowserAnimations"}]),u.TTD],decls:4,vars:5,consts:[[3,"ngStyle","ngClass",4,"ngIf"],["class","showcaseDiv static list-showcase",3,"ngStyle","ngClass",4,"ngIf"],["class","text-center",4,"ngIf"],[3,"ngStyle","ngClass"],["fxLayoutAlign","start end",4,"ngIf"],[1,"swiper"],["swipe",""],[1,"swiper-wrapper"],["class","text-center","style","width: 100%; position: relative; height: 250px; vertical-align: middle; top: 45%",4,"ngIf"],["class","pointer swiper-slide",4,"ngFor","ngForOf"],[1,"swiper-button-prev"],["swipePrev",""],[1,"swiper-button-next"],["swipeNext",""],["fxLayoutAlign","start end"],[1,"ag-pa-sm",2,"font-size","1.1em","font-weight","500",3,"ngStyle"],[1,"text-center",2,"width","100%","position","relative","height","250px","vertical-align","middle","top","45%"],[4,"ngIf"],["strokeWidth","3","color","accent",2,"display","inline-block","position","relative","margin-top","5em",3,"diameter"],[1,"pointer","swiper-slide"],["tabindex","0",1,"jacketarturl","pointer","slick-img",3,"agInteract"],["onerror","this.onerror=null;this.alt='Image not available';this.src='https\\:\\/\\/www5.auto-graphics.com/v6assets/no-image-foundlrg.png?local'",1,"max-height-100",3,"alt","src","title"],["tabindex","0",1,"captions",3,"keyup.enter"],[1,"mat-body-strong","ellipsis"],[1,"ellipsis"],["class","ellipsis",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"showcaseDiv","static","list-showcase",3,"ngStyle","ngClass"],["tabindex","0",1,"mat-body-strong","ellipsis",3,"agInteract"],[1,"text-center"]],template:function(be,de){1&be&&(u.YNc(0,Ae,13,9,"div",0)(1,W,12,7,"div",1)(2,we,4,3,"div",2),u.ALo(3,"async")),2&be&&(u.Q6J("ngIf",de.dynamic),u.xp6(),u.Q6J("ngIf",!de.dynamic),u.xp6(),u.Q6J("ngIf",u.lcZ(3,3,de.message$)&&!de.loading))},dependencies:[Z.mk,Z.sg,Z.O5,Z.PC,oe.o,le.Wh,ee.oO,ee.Zl,K.sN,Z.Ov],styles:["[_nghost-%COMP%]{z-index:0;text-align:center;position:relative}.jacketarturl[_ngcontent-%COMP%]{height:100px}.captions[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0})}return V})()},5343:(jt,$e,s)=>{"use strict";s.d($e,{I:()=>n});var t=s(9212),u=s(6814),e=s(2609),m=s(5339);function p(I,L){if(1&I&&(t._UZ(0,"div",3),t.ALo(1,"santizeValue")),2&I){const y=t.oxw(2);t.Q6J("innerHTML",t.lcZ(1,1,y.textBlock.text),t.oJD)}}function U(I,L){if(1&I&&(t.TgZ(0,"div",1),t.YNc(1,p,2,3,"div",2),t.qZA()),2&I){const y=t.oxw();t.Q6J("className",y.textBlock.className)("ngStyle",y.getStyles()),t.xp6(),t.Q6J("ngIf",y.textBlock.text)}}let n=(()=>{class I{constructor(){}ngOnChanges(y){if(y.textBlock&&y.textBlock.currentValue){let O=this.textBlock.text.toString();O=O.replace(/<a/g,'<a class="link-text-block"'),this.textBlock.text=O}}getStyles(){return{"background-color":this.textBlock.background?this.textBlock.background:null,color:this.textBlock.color?this.textBlock.color:null}}static#e=this.\u0275fac=function(O){return new(O||I)};static#t=this.\u0275cmp=t.Xpm({type:I,selectors:[["text-block"]],inputs:{textBlock:"textBlock"},features:[t.TTD],decls:1,vars:1,consts:[[3,"className","ngStyle",4,"ngIf"],[3,"className","ngStyle"],["id","text-block",3,"innerHTML",4,"ngIf"],["id","text-block",3,"innerHTML"]],template:function(O,M){1&O&&t.YNc(0,U,2,3,"div",0),2&O&&t.Q6J("ngIf",M.textBlock)},dependencies:[u.O5,u.PC,e.Zl,m.t],styles:[".medium-editor[_ngcontent-%COMP%]{width:100%;padding:50px 100px}"]})}return I})()},8935:(jt,$e,s)=>{"use strict";s.d($e,{v:()=>O});var t=s(7895),u=s(9081),e=s(9212),m=s(2787),p=s(4259),U=s(6814),n=s(2609);const I=(M,E)=>({"background-color":M,color:E});function L(M,E){if(1&M){const A=e.EpF();e.TgZ(0,"li",4),e.NdJ("click",function(){const oe=e.CHM(A).$implicit,le=e.oxw();return e.KtG(le.chooseTopic(oe.query))})("keyup.enter",function(){const oe=e.CHM(A).$implicit,le=e.oxw();return e.KtG(le.chooseTopic(oe.query))}),e.TgZ(1,"a"),e._UZ(2,"i",5),e._uU(3),e.qZA()()}if(2&M){const A=E.$implicit,S=e.oxw();e.Q6J("title","Search for: "+A.description)("ngStyle",e.WLB(3,I,S.topicSearchObj.topicBack,S.topicSearchObj.topicColor)),e.xp6(3),e.hij(" ",A.description," ")}}const y=(M,E)=>({"topic-search":!0,"per-row":M,hover:E});let O=(()=>{class M{constructor(A,S,Z,oe){this._router=A,this._searchService=S,this._storage=Z,this._sharedService=oe,this.className="pad-space",this.startRecord=1,this.numOfRecords=10,this.facetOffset=0,this.numOfFacetPerGroup=20}ngOnInit(){this.topicSearchObj=this.topicSearch}ngOnChanges(A){A?.topicSearch?.currentValue&&(this.topicSearchObj=A.topicSearch.currentValue)}chooseTopic(A){if(this._storage.getItem("access_Token")){const S=(A=A.searchQuery).filters,Z=A.matches;let oe="";for(let K=0;K<Z.length;K++){const Q=Z[K];if(0===K)oe=Q.query,this._storage.setItem("Search-TERM",oe);else{oe=oe+","+Q.query;const H=this._storage.getItem("Search-TERM")+" "+Q.query;this._storage.setItem("Search-TERM",H)}}this._storage.setItem("Search-TERM",oe),Z.forEach(K=>{K.hasOwnProperty("_id")&&delete K._id});const le={matches:Z,resources:A.resources,facetOffset:A.facetOffset,numOfFacetPerGroup:A.numOfFacetPerGroup,startRecord:A.startRecord,numOfRecords:A.numOfRecords,orderBy:A.orderBy,resultType:A.resulttype,sortBy:A.sortBy,isKidsSearch:this._sharedService.getIsKidsCat()};S&&(le.filters=S),this._searchService.performSearch({searchQuery:le}).subscribe(K=>{this.searchId=K.searchId;const Q=this._storage.getCid(),q=this._storage.getLid();this._router.navigate(["/search",Q,q],{queryParams:{searchId:this.searchId,startRecord:this.startRecord}})})}}static#e=this.\u0275fac=function(S){return new(S||M)(e.Y36(m.F0),e.Y36(t.oD),e.Y36(p.V),e.Y36(u.F))};static#t=this.\u0275cmp=e.Xpm({type:M,selectors:[["topic-search"]],inputs:{headerTitle:"headerTitle",rowClass:"rowClass",topicSearch:"topicSearch",className:"className"},features:[e.TTD],decls:5,vars:11,consts:[[3,"className","ngStyle","classNameChange"],["aria-label","Title",1,"text-start"],[3,"ngClass"],["class","badge badge-pill badge-default","tabindex","0",3,"title","ngStyle","click","keyup.enter",4,"ngFor","ngForOf"],["tabindex","0",1,"badge","badge-pill","badge-default",3,"title","ngStyle","click","keyup.enter"],["aria-hidden","true",1,"fa","fa-search"]],template:function(S,Z){1&S&&(e.TgZ(0,"div",0),e.NdJ("classNameChange",function(le){return Z.topicSearchObj.className=le}),e.TgZ(1,"h2",1),e._uU(2),e.qZA(),e.TgZ(3,"ul",2),e.YNc(4,L,4,6,"li",3),e.qZA()()),2&S&&(e.Q6J("className",Z.topicSearchObj.className)("ngStyle",e.WLB(5,I,Z.topicSearchObj.background,Z.topicSearchObj.color)),e.xp6(2),e.Oqu(null==Z.topicSearchObj?null:Z.topicSearchObj.title),e.xp6(),e.Q6J("ngClass",e.WLB(8,y,Z.topicSearchObj.eachRow,Z.topicSearchObj.hoverTheme)),e.xp6(),e.Q6J("ngForOf",Z.topicSearchObj.rowChips))},dependencies:[U.mk,U.sg,U.PC,n.oO,n.Zl],styles:[".pad-space[_ngcontent-%COMP%]{padding:15px;font-size:1.25em}.topic-search[_ngcontent-%COMP%]{list-style:none;padding:2px}.topic-search[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{cursor:pointer;padding:.5em 10px .5em 7px;margin:3px 2px}.hover.topic-search[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover, .hover.topic-search[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus{background:var(--link)!important;color:#fff!important}.topic-search[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.5em;vertical-align:top;margin-top:.5em;margin-right:.75em}.topic-search[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:600}.topic-search[_ngcontent-%COMP%]   .badge-pill[_ngcontent-%COMP%]{color:var(--link);background:var(--body-background);border:1px solid transparent}@media screen and (min-width: 768px){h5[_ngcontent-%COMP%]{padding-left:25px}.topic-search[_ngcontent-%COMP%]{list-style:none;padding:2px}.topic-search.per-row[_ngcontent-%COMP%]{padding:5px;width:90%}.topic-search.per-row[_ngcontent-%COMP%]   .badge-pill[_ngcontent-%COMP%]{display:block;padding:.5em;margin:2px;border-radius:2px;font-weight:400;text-align:left}}@media screen and (min-width: 1200px){.topic-search.per-row[_ngcontent-%COMP%]{padding:5px;width:95%}}"]})}return M})()},9104:(jt,$e,s)=>{"use strict";s.d($e,{u:()=>M});var t=s(9212),u=s(9602),e=s(441),m=s(6593),p=s(4259),U=s(6814),n=s(2609),I=s(8623);const L=["iframe"],y=E=>({iOS:E});let M=(()=>{class E{constructor(S,Z,oe,le){this._sanitizer=S,this._storageService=Z,this._quickMenuService=oe,this._analyticsService=le,this.printStatus=!1,this.height="100%",this.width="100%",this.onloaded=new t.vpe,this._onIframeMessage=ee=>{if(this._quickMenuService.hotkey(ee))return;const K=this._storageService.getUserData(),Q=K.customerId,q=K.libraryId,H=ee.data;switch(H.Category){case"Open Lending Policy":"Lending"==H.Event&&(window.location.href="/dashboard/lending?cid="+Q+"&lid="+q+"&lending=y");break;case"Open Borrowing Policy":"Borrowing"==H.Event&&(window.location.href="/dashboard/borrow?cid="+Q+"&lid="+q+"&borrow=y");break;case"Lookedup Patron":const T=""!=H.Event.patron_lookup_value1&&null!=H.Event.patron_lookup_value1?H.Event.patron_lookup_value1:null,ie=""!=H.Event.patron_lookup_value2&&null!=H.Event.patron_lookup_value2?H.Event.patron_lookup_value2:null;T&&this._storageService.setItem("_curr_pat",T),ie&&this._storageService.setItem("_prev_pat",ie);break;case"HomeButtonClick":const _e=document.getElementById("iframe-child");_e.src=_e.src;break;case"LenderLists":window.location.href=`/staff/ill/lender-lists?cid=${Q}&lid=${q}`}"IframeAction"!==H.Event&&"CloseIframe"!==H.Event&&this._analyticsService.logEvent(H.Category,{page_title:H.Event})},this.iOS=!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)}ngOnInit(){window.addEventListener("message",this._onIframeMessage)}ngAfterViewInit(){this.url&&this.url.includes("/ILSP/Circulation/PatronStatusCheckout")&&this.postMessageToIframe("send styles to iframe"),this.iframe.nativeElement.contentWindow.focus()}postMessageToIframe(S){this.send(this.iframe.nativeElement.contentWindow||this.iframe.nativeElement.contentDocument,S)}send(S,Z){if("send styles to iframe"===Z){const oe=this._createStylesEvent();setTimeout(()=>{this._sendStylesToIframe(S,oe)},3e3)}}_sendStylesToIframe(S,Z){let oe=!1;do{S&&(S.postMessage(Z,this.url),oe=!0)}while(!S&&!oe)}_createStylesEvent(){return{event:"styles",headerStyles:this._storageService.getItem("layoutSettings")}}refresh(){this.iframe.nativeElement.contentWindow.reload()}ngOnChanges(S){S.printStatus?.currentValue&&this.print()}print(){window.print()}trustSrcUrl(S){return this._sanitizer.bypassSecurityTrustResourceUrl(S)}ngOnDestroy(){window.removeEventListener("message",this._onIframeMessage)}iframeOnLoad(){this.onloaded.emit(!0)}static#e=this.\u0275fac=function(Z){return new(Z||E)(t.Y36(m.H7),t.Y36(p.V),t.Y36(e.M),t.Y36(u.y))};static#t=this.\u0275cmp=t.Xpm({type:E,selectors:[["ag-iframe"]],viewQuery:function(Z,oe){if(1&Z&&t.Gf(L,5),2&Z){let le;t.iGM(le=t.CRH())&&(oe.iframe=le.first)}},inputs:{url:"url",printStatus:"printStatus",height:"height",width:"width",refreshUrl:"refreshUrl"},outputs:{onloaded:"onloaded"},features:[t.TTD],decls:4,vars:6,consts:[["id","iframe-parent",3,"ngClass"],["id","iframe-child","name","iframe-child","scrolling","yes",3,"src","load"],["iframe",""]],template:function(Z,oe){1&Z&&(t.TgZ(0,"div",0)(1,"iframe",1,2),t.NdJ("load",function(){return oe.iframeOnLoad()}),t.ALo(3,"safeUrl"),t.qZA()()),2&Z&&(t.Q6J("ngClass",t.VKq(4,y,oe.iOS)),t.xp6(),t.Q6J("src",t.lcZ(3,2,oe.url),t.uOi))},dependencies:[U.mk,n.oO,I.Q],styles:["[_nghost-%COMP%]{position:relative}[_nghost-%COMP%]     button{color:#00f}#iframe-parent[_ngcontent-%COMP%]{height:100%;padding-left:10px;padding-right:10px}iframe[_ngcontent-%COMP%]{border:0px;background:var(--body-background)!important;color:var(--body-color)!important;height:100%!important;width:100%!important}.iOS[_ngcontent-%COMP%]{overflow:auto;-webkit-overflow-scrolling:touch!important}"]})}return E})()},6608:(jt,$e,s)=>{"use strict";s.d($e,{S:()=>M});var t=s(2495),u=s(4132),e=s(2572),m=s(9212),p=s(6814);function U(E,A){1&E&&m.GkF(0)}function n(E,A){if(1&E&&m.YNc(0,U,1,0,"ng-container",1),2&E){m.oxw();const S=m.MAs(3);m.Q6J("ngTemplateOutlet",S)}}function I(E,A){1&E&&m.GkF(0)}function L(E,A){if(1&E&&(m.TgZ(0,"div"),m.YNc(1,I,1,0,"ng-container",1),m.qZA()),2&E){m.oxw();const S=m.MAs(3);m.xp6(),m.Q6J("ngTemplateOutlet",S)}}function y(E,A){1&E&&m.Hsn(0)}const O=["*"];let M=(()=>{class E{get position(){return this._position}set position(S){this._position=S||"bottom-right"}get expand(){return this._expand}set expand(S){this._expand=(0,t.Ig)(S)}constructor(S,Z,oe){this._renderer=S,this._elementHost=Z,this.layoutService=oe,this._position="bottom-right",this._expand=!1,this.headerHeight=0,this.drawerWidth=0,this.drawerPosition=null,this.hostElement=this._elementHost.nativeElement}ngOnInit(){this._setPositions(),(0,e.a)([this.layoutService.headerHeight$,this.layoutService.drawerWidth$,this.layoutService.drawerPosition$]).subscribe(([S,Z,oe])=>{this.headerHeight=S,this.drawerWidth=Z,this.drawerPosition=oe,this._handleLayoutChange(S,Z,oe)})}ngOnChanges(S){S.offset&&this._handleLayoutChange(this.headerHeight,this.drawerWidth,this.drawerPosition)}_setPositions(){this._elementHost.nativeElement.classList.add("fixed"),this._elementHost.nativeElement.classList.add(`fixed-${this.position}`),this._expand||this._elementHost.nativeElement.classList.add("ag-page-sticky--shrink")}_handleLayoutChange(S,Z,oe){this._handleLayoutOffsets(S,"start"===oe?Z:0,"end"===oe?Z:0)}_handleLayoutOffsets(S,Z,oe){switch(this.position){case"top":this._translate("0px",S+"px"),this._renderer.setStyle(this.hostElement,"left",`${Z}px`),this._renderer.setStyle(this.hostElement,"right",`${oe}px`);break;case"bottom":this._translate("0px","0px"),this._renderer.setStyle(this.hostElement,"left",`${Z}px`),this._renderer.setStyle(this.hostElement,"right",`${oe}px`);break;case"left":this._translate(`${Z}px`,"0px"),this._renderer.setStyle(this.hostElement,"top",`${S}px`),this._renderer.setStyle(this.hostElement,"bottom","0px");break;case"right":this._translate(`-${oe}px`,"0px"),this._renderer.setStyle(this.hostElement,"top",`${S}px`),this._renderer.setStyle(this.hostElement,"bottom","0px");break;case"top-left":this._translate(`${Z}px`,`${S}px`);break;case"top-right":this._translate(`-${oe}px`,`${S}px`);break;case"bottom-left":this._translate(`${Z}px`,"0px");break;case"bottom-right":this._translate(`-${oe}px`,"0px")}this.offset&&this._renderer.setStyle(this.hostElement,"margin",4===this.offset.length?`${this.offset[0]}px ${this.offset[1]}px ${this.offset[2]}px ${this.offset[3]}px`:`${this.offset[0]}px ${this.offset[1]}px`)}_translate(S,Z){this._renderer.setStyle(this.hostElement,"transform",`translate(${S},${Z})`)}static#e=this.\u0275fac=function(Z){return new(Z||E)(m.Y36(m.Qsj),m.Y36(m.SBq),m.Y36(u.P))};static#t=this.\u0275cmp=m.Xpm({type:E,selectors:[["ag-page-sticky"]],inputs:{position:"position",expand:"expand",offset:"offset"},features:[m.TTD],ngContentSelectors:O,decls:4,vars:1,consts:[["outlet",""],[4,"ngTemplateOutlet"]],template:function(Z,oe){1&Z&&(m.F$t(),m.YNc(0,n,1,1,"ng-container")(1,L,2,1)(2,y,1,0,"ng-template",null,0,m.W1O)),2&Z&&m.um2(0,oe.expand?0:1)},dependencies:[p.tP],styles:["[_nghost-%COMP%]{z-index:1;display:flex;align-items:center;justify-content:center}.fixed[_nghost-%COMP%]{position:fixed}.fixed-top[_nghost-%COMP%]{position:fixed;top:0;left:0;right:0}.fixed-top-left[_nghost-%COMP%]{position:fixed;top:0;left:0}.fixed-top-right[_nghost-%COMP%]{position:fixed;top:0;right:0}.fixed-bottom[_nghost-%COMP%]{position:fixed;bottom:0;left:0;right:0}.fixed-bottom-left[_nghost-%COMP%]{position:fixed;bottom:0;left:0}.fixed-bottom-right[_nghost-%COMP%]{position:fixed;bottom:0;right:0}.fixed-left[_nghost-%COMP%]{position:fixed;left:0;top:0;bottom:0}.fixed-right[_nghost-%COMP%]{position:fixed;right:0;top:0;bottom:0}.ag-page-sticky--shrink[_nghost-%COMP%]{pointer-events:none}.ag-page-sticky--shrink[_nghost-%COMP%]   div[_ngcontent-%COMP%]{pointer-events:auto}"]})}return E})()},6123:(jt,$e,s)=>{"use strict";s.d($e,{K:()=>m});var t=s(7592),u=s(9212),e=s(4505);let m=(()=>{class p{constructor(n,I){this.dialogRef=n,this.data=I}ngOnInit(){this.data&&(this.field=this.data.charAt(0).toUpperCase()+this.data.slice(1))}static#e=this.\u0275fac=function(I){return new(I||p)(u.Y36(t.hV),u.Y36(t.eJ))};static#t=this.\u0275cmp=u.Xpm({type:p,selectors:[["required-field-dialog"]],decls:11,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-button","","mat-dialog-close","","type","button"],["mat-button","","cdkFocusInitial","","type","button",3,"mat-dialog-close"]],template:function(I,L){1&I&&(u.TgZ(0,"h1",0),u._uU(1),u.qZA(),u.TgZ(2,"div",1)(3,"p"),u._uU(4),u.qZA()(),u._UZ(5,"br"),u.TgZ(6,"mat-dialog-actions",2)(7,"button",3),u._uU(8,"Close"),u.qZA(),u.TgZ(9,"button",4),u._uU(10),u.qZA()()),2&I&&(u.xp6(),u.hij("",L.field," Required"),u.xp6(3),u.hij("",L.field," is required for this feature. Click the button below to update your profile."),u.xp6(5),u.Q6J("mat-dialog-close",!0),u.xp6(),u.hij(" Add ",L.field," "))},dependencies:[e.eB,t.aO,t.YS,t.Rb,t.ev]})}return p})()},8898:(jt,$e,s)=>{"use strict";s.d($e,{T:()=>U});var t=s(2495),u=s(9212);const e=["projectedContent"],m=["scrollAreaContainer"],p=["*"];let U=(()=>{class n{get hiddenScroll(){return this._hiddenScroll}set hiddenScroll(L){this._hiddenScroll=(0,t.Ig)(L)}get horizontalScroll(){return this._horizontalScroll}set horizontalScroll(L){this._horizontalScroll=(0,t.Ig)(L)}get verticalScroll(){return this._verticalScroll}set verticalScroll(L){this._verticalScroll=(0,t.Ig)(L)}constructor(L){this._elementref=L,this.alignContent="left",this._hiddenScroll=!1,this._verticalScroll=!0,this._horizontalScroll=!0}onWheel(L){this.horizontalScroll&&(L.preventDefault(),this.scrollAreaContainer.nativeElement.scrollLeft+=L.deltaY)}ngAfterViewInit(){this._verticalScroll&&this.scrollAreaContainer.nativeElement.classList.add("vertical-scroll"),this._horizontalScroll&&this.scrollAreaContainer.nativeElement.classList.add("horizontal-scroll"),this._hiddenScroll&&this.scrollAreaContainer.nativeElement.classList.add("hidden-scroll"),this._updateContentWidth(),this._observeContentChanges()}_updateContentWidth(){this._setContainerSize(this._elementref.nativeElement.clientHeight,this._elementref.nativeElement.clientWidth)}_observeContentChanges(){this.resizeObserver=new ResizeObserver(L=>{this._setContainerSize(this._elementref.nativeElement.clientHeight,this._elementref.nativeElement.clientWidth)}),this.resizeObserver.observe(this._elementref.nativeElement),this.projectedContentList.changes.subscribe(()=>{this._updateContentWidth()})}_setContainerSize(L,y){this.scrollAreaContainer.nativeElement.style.width=y+"px",this.scrollAreaContainer.nativeElement.style.height=L?L+"px":null}ngOnDestroy(){this.resizeObserver.disconnect()}static#e=this.\u0275fac=function(y){return new(y||n)(u.Y36(u.SBq))};static#t=this.\u0275cmp=u.Xpm({type:n,selectors:[["ag-scroll-area"]],contentQueries:function(y,O,M){if(1&y&&u.Suo(M,e,4),2&y){let E;u.iGM(E=u.CRH())&&(O.projectedContentList=E)}},viewQuery:function(y,O){if(1&y&&u.Gf(m,5),2&y){let M;u.iGM(M=u.CRH())&&(O.scrollAreaContainer=M.first)}},hostBindings:function(y,O){1&y&&u.NdJ("wheel",function(E){return O.onWheel(E)})},inputs:{hiddenScroll:"hiddenScroll",size:"size",height:"height",width:"width",alignContent:"alignContent",horizontalScroll:"horizontalScroll",verticalScroll:"verticalScroll"},ngContentSelectors:p,decls:3,vars:2,consts:[[1,"scroll-area"],["scrollAreaContainer",""]],template:function(y,O){1&y&&(u.F$t(),u.TgZ(0,"div",0,1),u.Hsn(2),u.qZA()),2&y&&u.Akn("text-align: "+O.alignContent)},styles:["[_nghost-%COMP%]{display:block;overflow:hidden;touch-action:none}.scroll-area[_ngcontent-%COMP%]{overflow:hidden;scrollbar-color:gray transparent;scrollbar-width:thin}.scroll-area[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px;background-color:transparent}.scroll-area[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#0000001f;border-radius:8px}.scroll-area.horizontal-scroll[_ngcontent-%COMP%]{overflow-x:auto;touch-action:pan-x;white-space:nowrap}.scroll-area.vertical-scroll[_ngcontent-%COMP%]{overflow-y:auto;touch-action:pan-y}.scroll-area.hidden-scroll[_ngcontent-%COMP%]{overflow:hidden}.scroll-area.hidden-scroll[_ngcontent-%COMP%]:hover.horizontal-scroll{overflow-x:auto}.scroll-area.hidden-scroll[_ngcontent-%COMP%]:hover.vertical-scroll{overflow-y:auto}"]})}return n})()},8159:(jt,$e,s)=>{"use strict";s.d($e,{j:()=>n});var t=s(5861),u=s(9081),e=s(9212),m=s(4593),p=s(3941),U=s(9862);let n=(()=>{class I{constructor(y,O,M,E){this._apiService=y,this._configService=O,this._http=M,this._sharedService=E,this.url=""}SendEmail(y){return this.url=this._configService.agApi+"/email/SendEmail",this._apiService.post(this.url,y)}sendEmailCustomerCareAsync(y){var O=this;return(0,t.Z)(function*(){try{O.url=`${O._configService.agApi}/email/customerCare`;const M=yield O._http.post(O.url,y).toPromise();if(M)return O._sharedService.openSnackBar(M.data.message,"ok"),M.data;console.error("failed to send customer care email")}catch(M){O._sharedService.openSnackBar(M.message),console.error(`error in fn emailService: sendEmailCustomerCareAsync fn  => ${M}`)}return null})()}static#e=this.\u0275fac=function(O){return new(O||I)(e.LFG(m.s),e.LFG(p.E),e.LFG(U.eN),e.LFG(u.F))};static#t=this.\u0275prov=e.Yz7({token:I,factory:I.\u0275fac})}return I})()},318:(jt,$e,s)=>{"use strict";s.d($e,{c:()=>n});var t=s(7398),u=s(5619),e=s(9212),m=s(4593),p=s(3941),U=s(9862);let n=(()=>{class I{constructor(y,O,M){this._apiserviceService=y,this._configService=O,this._http=M,this.openNotificationBS=new u.X(null),this.unreadMessageCount$=new u.X(0)}startUnreadMessageCountUpdates(){this.updateUnreadMessageCount(),this._messageUpdateTimer=window.setInterval(()=>this.updateUnreadMessageCount(),60*this._configService.unreadMessageFetchIntervalInMinutes*1e3)}stopUnreadMessagecountUpdates(){this._messageUpdateTimer&&(window.clearInterval(this._messageUpdateTimer),this._messageUpdateTimer=void 0)}getNotificationMessages(){return this._http.get(`${this._configService.agApi}/Motd`).pipe((0,t.U)(O=>O.data))}updateUnreadMessageCount(){this._http.get(`${this._configService.agApi}/Motd/unread-count`).pipe((0,t.U)(O=>O.data)).subscribe(O=>{this.unreadMessageCount$.next(O)},O=>console.log("Unable to retrieve Unread Message Count",O))}ackMessage(y){return this._apiserviceService.post(`${this._configService.agApi}/Motd/ack`,y)}setOpenNotSideNavBS(y){this.openNotificationBS.next(y)}getOpenNotSideNavBS(){return this.openNotificationBS.asObservable()}static#e=this.\u0275fac=function(O){return new(O||I)(e.LFG(m.s),e.LFG(p.E),e.LFG(U.eN))};static#t=this.\u0275prov=e.Yz7({token:I,factory:I.\u0275fac})}return I})()},9780:(jt,$e,s)=>{"use strict";s.d($e,{$:()=>W});var t=s(2276),u=s(9927),e=s(9081),m=s(9212),p=s(4132),U=s(9643),n=s(4716),I=s(7398),L=s(7592),y=s(6814),O=s(4505);function M(we,P){if(1&we&&(m.TgZ(0,"li"),m._uU(1),m.qZA()),2&we){const V=P.$implicit;m.xp6(),m.Oqu(V)}}let E=(()=>{class we{constructor(V,Se){this.dialogRef=V,this.data=Se,this.messages=[]}ngOnInit(){this.name=this.data.name,this.messages=this.data.messages}static#e=this.\u0275fac=function(Se){return new(Se||we)(m.Y36(L.hV),m.Y36(L.eJ))};static#t=this.\u0275cmp=m.Xpm({type:we,selectors:[["ag-add-patron-error"]],decls:12,vars:2,consts:[["mat-dialog-title",""],[2,"list-style-type","disc","padding-left","20px"],[4,"ngFor","ngForOf"],["align","end"],["mat-button","","mat-dialog-close","","type","button"]],template:function(Se,G){1&Se&&(m.TgZ(0,"h1",0),m._uU(1,"Add Patron Error"),m.qZA(),m.TgZ(2,"mat-dialog-content")(3,"p"),m._uU(4,"The following patron cannot place a hold:"),m.qZA(),m.TgZ(5,"p"),m._uU(6),m.qZA(),m.TgZ(7,"ul",1),m.YNc(8,M,2,1,"li",2),m.qZA()(),m.TgZ(9,"mat-dialog-actions",3)(10,"button",4),m._uU(11,"OK"),m.qZA()()),2&Se&&(m.xp6(6),m.Oqu(G.name),m.xp6(2),m.Q6J("ngForOf",G.messages))},dependencies:[y.sg,O.eB,L.aO,L.YS,L.Rb,L.ev]})}return we})();var A=s(2787),S=s(1865),Z=s(4259),oe=s(2609),le=s(6223),ee=s(617),K=s(1438);function Q(we,P){1&we&&(m.TgZ(0,"div",2),m._UZ(1,"mat-spinner",3),m.qZA()),2&we&&(m.xp6(),m.Q6J("diameter",25))}function q(we,P){if(1&we){const V=m.EpF();m.TgZ(0,"i",27),m.NdJ("click",function(){m.CHM(V);const G=m.oxw(3);return m.KtG(G.closeNav())}),m.qZA()}}function H(we,P){if(1&we&&(m.TgZ(0,"h5",25),m._uU(1," Select a Patron "),m.YNc(2,q,1,0,"i",26),m.qZA()),2&we){const V=m.oxw(2);m.xp6(2),m.Q6J("ngIf",V.isInSideNav&&V.isInSideNav)}}function T(we,P){if(1&we){const V=m.EpF();m.TgZ(0,"i",27),m.NdJ("click",function(){m.CHM(V);const G=m.oxw(3);return m.KtG(G.closeNav())}),m.qZA()}}function ie(we,P){if(1&we&&(m.TgZ(0,"h5",25),m._uU(1," SHAREit Lookup "),m.YNc(2,T,1,0,"i",26),m.qZA()),2&we){const V=m.oxw(2);m.xp6(2),m.Q6J("ngIf",V.isInSideNav&&V.isInSideNav)}}function _e(we,P){if(1&we&&(m.TgZ(0,"option",28),m._uU(1),m.qZA()),2&we){const V=P.$implicit;m.Q6J("value",V.code),m.xp6(),m.hij(" ",V.displayName," ")}}function Ce(we,P){if(1&we&&(m.TgZ(0,"option",28),m._uU(1),m.qZA()),2&we){const V=P.$implicit,Se=P.index;m.Q6J("value",null==V?null:V.groupID),m.uIk("selected",0===Se||null),m.xp6(),m.hij(" ",null==V?null:V.groupName," ")}}function Ve(we,P){1&we&&(m.TgZ(0,"mat-icon"),m._UZ(1,"mat-spinner",29),m.qZA())}function ae(we,P){if(1&we){const V=m.EpF();m.TgZ(0,"button",30),m.NdJ("click",function(){m.CHM(V);const G=m.oxw(2);return m.KtG(G.currentPatron())}),m._uU(1," Current Patron "),m.qZA()}}const pe=we=>({"greyed-out":we});function Ae(we,P){if(1&we){const V=m.EpF();m.TgZ(0,"div",31)(1,"span",32)(2,"a",33),m.NdJ("click",function(){m.CHM(V);const G=m.oxw(2);return m.KtG(G.getPrevPatrons())})("keyup.enter",function(){m.CHM(V);const G=m.oxw(2);return m.KtG(G.getPrevPatrons())}),m._UZ(3,"i",34),m._uU(4," Previous "),m.qZA(),m.TgZ(5,"a",33),m.NdJ("click",function(){m.CHM(V);const G=m.oxw(2);return m.KtG(G.getNextPatrons())})("keyup.enter",function(){m.CHM(V);const G=m.oxw(2);return m.KtG(G.getNextPatrons())}),m._uU(6,"Next "),m._UZ(7,"i",35),m.qZA()()()}if(2&we){const V=m.oxw(2);m.xp6(2),m.Q6J("ngClass",m.VKq(2,pe,!V.hasPrevious||V.searching)),m.xp6(3),m.Q6J("ngClass",m.VKq(4,pe,!V.hasNext||V.searching))}}function Ze(we,P){if(1&we){const V=m.EpF();m.TgZ(0,"tr",42),m.NdJ("click",function(){const be=m.CHM(V).index,de=m.oxw(3);return m.KtG(de.choosePatron(de.submitSelectPatron.patrons[be]))}),m.TgZ(1,"td",39),m._uU(2),m.qZA(),m.TgZ(3,"td",43),m._uU(4),m.qZA(),m.TgZ(5,"td",43),m._uU(6),m.qZA(),m.TgZ(7,"td",44),m._uU(8),m.qZA()()}if(2&we){const V=P.$implicit;m.xp6(2),m.Oqu(null==V?null:V.barcode),m.xp6(2),m.Oqu(null==V?null:V.lastName),m.xp6(2),m.Oqu(null==V?null:V.firstName),m.xp6(2),m.Oqu(null==V?null:V.address)}}function dt(we,P){if(1&we&&(m.TgZ(0,"div",36)(1,"table",37)(2,"thead",38)(3,"tr")(4,"th",39),m._uU(5,"Barcode"),m.qZA(),m.TgZ(6,"th",40),m._uU(7,"Last Name"),m.qZA(),m.TgZ(8,"th",40),m._uU(9,"First Name"),m.qZA(),m.TgZ(10,"th",39),m._uU(11,"Address"),m.qZA()()(),m.TgZ(12,"tbody"),m.YNc(13,Ze,9,4,"tr",41),m.qZA()()()),2&we){const V=m.oxw(2);m.xp6(13),m.Q6J("ngForOf",V.submitSelectPatron.patrons)}}function Fe(we,P){if(1&we){const V=m.EpF();m.TgZ(0,"div",31)(1,"span",32)(2,"a",33),m.NdJ("click",function(){m.CHM(V);const G=m.oxw(2);return m.KtG(G.getPrevPatrons())})("keyup.enter",function(){m.CHM(V);const G=m.oxw(2);return m.KtG(G.getPrevPatrons())}),m._UZ(3,"i",34),m._uU(4," Previous "),m.qZA(),m.TgZ(5,"a",33),m.NdJ("click",function(){m.CHM(V);const G=m.oxw(2);return m.KtG(G.getNextPatrons())})("keyup.enter",function(){m.CHM(V);const G=m.oxw(2);return m.KtG(G.getNextPatrons())}),m._uU(6,"Next "),m._UZ(7,"i",35),m.qZA()()()}if(2&we){const V=m.oxw(2);m.xp6(2),m.Q6J("ngClass",m.VKq(2,pe,!V.hasPrevious||V.searching)),m.xp6(3),m.Q6J("ngClass",m.VKq(4,pe,!V.hasNext||V.searching))}}const Xe=()=>({standalone:!0});function Ie(we,P){if(1&we){const V=m.EpF();m.TgZ(0,"div",4),m.YNc(1,H,3,1,"h5",5)(2,ie,3,1,"h5",5),m.TgZ(3,"div",6)(4,"div",7)(5,"form",8),m.NdJ("ngSubmit",function(){m.CHM(V);const G=m.oxw();return m.KtG(G.searchPatrons())}),m.TgZ(6,"div",9)(7,"div",10)(8,"div",11)(9,"input",12,13),m.NdJ("ngModelChange",function(G){m.CHM(V);const be=m.oxw();return m.KtG(be.searchTerm=G)}),m.qZA()()(),m.TgZ(11,"div",14)(12,"div",15)(13,"select",16),m.NdJ("ngModelChange",function(G){m.CHM(V);const be=m.oxw();return m.KtG(be.searchIndex=G)}),m.YNc(14,_e,2,2,"option",17),m.qZA()(),m.TgZ(15,"div",15)(16,"select",18),m.NdJ("ngModelChange",function(G){m.CHM(V);const be=m.oxw();return m.KtG(be.patronGroupId=G)}),m.YNc(17,Ce,2,3,"option",17),m.qZA()()()(),m.TgZ(18,"div",19)(19,"button",20),m.YNc(20,Ve,2,0,"mat-icon",21),m._uU(21," Search "),m.qZA(),m.YNc(22,ae,2,0,"button",22),m.qZA()(),m.YNc(23,Ae,8,6,"div",23),m.qZA(),m.YNc(24,dt,14,1,"div",24),m.qZA(),m.YNc(25,Fe,8,6,"div",23),m.qZA()}if(2&we){const V=m.oxw();m.xp6(),m.Q6J("ngIf",V.hold),m.xp6(),m.Q6J("ngIf",V.request),m.xp6(7),m.Q6J("disabled",!V.couldReserve)("ngModel",V.searchTerm)("ngModelOptions",m.DdM(19,Xe)),m.xp6(4),m.Q6J("ngModel",V.searchIndex)("ngModelOptions",m.DdM(20,Xe))("disabled",!V.couldReserve),m.xp6(),m.Q6J("ngForOf",null==V.newSelectPatron?null:V.newSelectPatron.data.patronIndicesList),m.xp6(2),m.Q6J("ngModel",V.patronGroupId)("ngModelOptions",m.DdM(21,Xe))("disabled",!V.couldReserve),m.xp6(),m.Q6J("ngForOf",V.newSelectPatron.data.patronGroupsList),m.xp6(2),m.Q6J("disabled",V.searching||!V.couldReserve),m.xp6(),m.Q6J("ngIf",V.searching),m.xp6(2),m.Q6J("ngIf",V.showCurrentPatron),m.xp6(),m.Q6J("ngIf",V.submitSelectPatron),m.xp6(),m.Q6J("ngIf",V.submitSelectPatron),m.xp6(),m.Q6J("ngIf",V.submitSelectPatron)}}let W=(()=>{class we extends U.e{constructor(V,Se,G,be,de,De,tt){super(be),this._router=V,this._snackBar=Se,this._holdService=G,this._layoutService=be,this._sharedService=de,this._storageService=De,this._dialog=tt,this.newSelectPatron=!1,this._pageLimit=16,this.lookUpPatron()}ngAfterViewInit(){setTimeout(function(){t("#searchPatron").focus()},1500),this.showCurrentPatron=this._storageService.isCurrentPatron()}ngOnInit(){this.getLocation()}ngOnChanges(V){V&&V.agControlId&&(this.agControlId=+V.agControlId.currentValue),this.getLocation()}currentPatron(){this._searchPatron(this._storageService.getPrevPatronValue(),1).subscribe(V=>{this._selectPatron(V.patrons[0])})}getLocation(){"/request"===this._router.url.split("?")[0]?(this.request=!0,this.hold=!1):(this.request=!1,this.hold=!0)}lookUpPatron(){this._holdService.getPatronGroupAndIndex().subscribe(V=>{this.newSelectPatron=V,this.searchIndex=this.newSelectPatron.data.patronIndicesList[0].code,this.patronGroupId=this.newSelectPatron.data.patronGroupsList[0].groupID,t("#searchPatron").focus()})}getNextPatrons(){this._getPatrons(this._current+1)}getPrevPatrons(){this._getPatrons(this._current-1)}_getPatrons(V){this.searching=!0,this._searchPatron(this.searchTerm,this.searchIndex,V).pipe((0,n.x)(()=>this.searching=!1)).subscribe(Se=>{this.submitSelectPatron=Se,this._current=V,this.hasPrevious=1!==V,this.hasNext=this.submitSelectPatron.matchedPatronCount===this._pageLimit})}searchPatrons(){this._searchPatron(this.searchTerm,this.searchIndex).subscribe(V=>{this.submitSelectPatron=V,this._current=1,this.hasPrevious=!1,this.hasNext=this.submitSelectPatron.matchedPatronCount===this._pageLimit,1==this.submitSelectPatron.patrons.length&&this._selectPatron(this.submitSelectPatron.patrons[0])})}_selectPatron(V){this.choosePatron(V),this.closeNav(),this.submitSelectPatron=null}_searchPatron(V,Se,G=1){return this.searching=!0,this._holdService.getPatrons(this._titleReserveBody(V,Se,G)).pipe((0,I.U)(be=>be.data),(0,n.x)(()=>this.searching=!1))}_titleReserveBody(V,Se,G){return{PageNumber:G,PageSize:this._pageLimit,PatronGroupId:this.patronGroupId,SearchTerm:V,searchIndex:Se,agcontrolId:this.agControlId?this.agControlId:0}}choosePatron(V){V.messages.length>0?this._dialog.open(E,{width:"600px",height:"auto",data:{messages:V.messages,name:V.fullName?V.fullName:V.firstName}}):(this._sharedService.setPatronInfo(V),t("#searchPatron").val(""),this.submitSelectPatron=null,this.request&&this.closeNav(),this._snackBar.open(V.fullName,"OK",{duration:2500,verticalPosition:"top"}))}static#e=this.\u0275fac=function(Se){return new(Se||we)(m.Y36(A.F0),m.Y36(S.pl),m.Y36(u.M),m.Y36(p.P),m.Y36(e.F),m.Y36(Z.V),m.Y36(L.on))};static#t=this.\u0275cmp=m.Xpm({type:we,selectors:[["ag-patron-search"]],inputs:{searchInput:"searchInput",agControlId:"agControlId",isInSideNav:"isInSideNav",couldReserve:"couldReserve"},features:[m._Bn([{provide:m.QbO,useValue:"BrowserAnimations"}]),m.qOj,m.TTD],decls:2,vars:2,consts:[["class","text-center","style","width: 100%; position: relative; margin-top: 200px",4,"ngIf"],["class","select-patron",4,"ngIf"],[1,"text-center",2,"width","100%","position","relative","margin-top","200px"],["strokeWidth","3","color","accent",2,"display","inline-block","position","relative","margin-top","5em",3,"diameter"],[1,"select-patron"],["class","text-center width-100",4,"ngIf"],[1,"card-block"],[1,"patron-select"],[1,"font-0-9",3,"ngSubmit"],[1,"container-fluid"],[1,"row","ag-mb-sm"],[1,"col-12"],["type","text","id","searchPatron","title","Search Patron","placeholder","Search Patron",1,"form-control",3,"disabled","ngModel","ngModelOptions","ngModelChange"],["searchPatron",""],[1,"row","g-1","ag-mb-sm"],[1,"col-6"],["title","Select Search Index","id","inlineFormCustomSelect",1,"form-select",3,"ngModel","ngModelOptions","disabled","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["title","Choose User Group","id","UserGroup",1,"form-select",3,"ngModel","ngModelOptions","disabled","ngModelChange"],[1,"go-block","col-12","padding-0-10","text-center"],["mat-button","","role","button","aria-label","Submit","type","submit",1,"ag-mat-button-primary","margin-right-5",3,"disabled"],[4,"ngIf"],["mat-button","","role","button","aria-label","Submit","type","button","class","ag-mat-button-primary",3,"click",4,"ngIf"],["class","patron-summary text-center",4,"ngIf"],["class","card patron-listings",4,"ngIf"],[1,"text-center","width-100"],["class","fa fa-times pull-right close-sidenav","aria-hidden","true","title","Close Text Block",3,"click",4,"ngIf"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],[3,"value"],["diameter","20"],["mat-button","","role","button","aria-label","Submit","type","button",1,"ag-mat-button-primary",3,"click"],[1,"patron-summary","text-center"],[1,"summary-pagination"],["tabindex","0",3,"ngClass","click","keyup.enter"],["aria-hidden","true",1,"fa","fa-angle-left"],["aria-hidden","true",1,"fa","fa-angle-right"],[1,"card","patron-listings"],[1,"patron-items","table-sm","table-hover","table-responsive"],[1,"thead-default"],[1,"width-30"],[1,"width-20"],[3,"click",4,"ngFor","ngForOf"],[3,"click"],[1,"width-20","truncate-ellipsis"],[1,"width-90","inline-block","truncate-ellipsis"]],template:function(Se,G){1&Se&&m.YNc(0,Q,2,1,"div",0)(1,Ie,26,22,"div",1),2&Se&&(m.Q6J("ngIf",!G.newSelectPatron.data),m.xp6(),m.Q6J("ngIf",G.newSelectPatron.data))},dependencies:[y.mk,y.sg,y.O5,oe.oO,le._Y,le.YN,le.Kr,le.Fj,le.EJ,le.JJ,le.JL,le.On,le.F,O.eB,ee.Hw,K.sN],styles:[".table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:.3rem}form[_ngcontent-%COMP%], .reserve-button[_ngcontent-%COMP%]{width:100%}.mat-datepicker-content-touch[_ngcontent-%COMP%]{margin:0!important}h6[_ngcontent-%COMP%]{margin-bottom:3px}.table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border-top:2px solid transparent}.profile-background[_ngcontent-%COMP%]{background:var(--body-background);padding:5px 0;margin-bottom:10px;display:inline-block;clear:both;border-top:2px solid var(--offset-three)}.no-more[_ngcontent-%COMP%]{display:inline-block;float:right}.add-more[_ngcontent-%COMP%]{display:inline-block;float:none;color:var(--link);background:#efefef;font-size:2em;text-align:center;width:100%;padding:10px}.add-more[_ngcontent-%COMP%]:hover, .add-more[_ngcontent-%COMP%]:focus{background:#d3d3d3;color:var(--link);cursor:pointer}.no-delete[_ngcontent-%COMP%]{display:inline-block;float:left}.delete[_ngcontent-%COMP%]{color:var(--link);background:transparent;font-size:1.5em;text-align:center;width:50%;cursor:pointer;padding:0 10px;margin:0 auto}.img-hold[_ngcontent-%COMP%]{box-shadow:0 5px 8px var(--box-shadows);cursor:pointer}.user-guest-img[_ngcontent-%COMP%]{margin-top:5px;width:100px;height:100px;border-radius:50%;background:var(--body-background);vertical-align:middle;text-align:center}.user-guest-img[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:var(--body-color);font-size:5em;margin-top:5px}.profile[_ngcontent-%COMP%]{display:inline-block;float:left;width:100%;min-height:120px}.profile-image[_ngcontent-%COMP%]{display:inline-block;float:left;width:175px;text-align:center;padding-top:40px}.profile[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100px;height:100px;border-radius:100px;display:block}.profile-desc[_ngcontent-%COMP%]{display:inline-block;float:left;text-align:center;width:100%;padding-top:25px}.profile-name[_ngcontent-%COMP%]{width:95%;font-size:1.1em;font-weight:700;color:var(--link);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-barcode[_ngcontent-%COMP%]{width:95%;font-size:1em;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-email[_ngcontent-%COMP%], .profile-phone[_ngcontent-%COMP%]{width:95%;font-size:.9em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-userId[_ngcontent-%COMP%]{width:95%;font-size:.9em;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.change-user[_ngcontent-%COMP%]{text-decoration:underline;font-size:.75em;color:var(--link)}.change-user[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer}.loc-dates[_ngcontent-%COMP%]{font-size:.75em;width:calc(100% - 75px);float:left;display:inline-block;padding:0 20px}.loc-dates[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin-bottom:1px;font-weight:400}.loc-dates[_ngcontent-%COMP%]   .select-location[_ngcontent-%COMP%], .loc-dates[_ngcontent-%COMP%]   .date-input[_ngcontent-%COMP%]{margin-bottom:3px}.loc-dates[_ngcontent-%COMP%]   .select-location[_ngcontent-%COMP%]{max-width:95%}.inline-block[_ngcontent-%COMP%]{display:inline-block!important;float:left!important;padding-top:2px;padding-bottom:2px}.go-block[_ngcontent-%COMP%]{display:inline-block!important;float:left!important;padding:0 15px 5px}.go-block[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:2.25em;color:gray;cursor:pointer}.go-block[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:hover, .go-block[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:focus{color:var(--link)}.label-compact[_ngcontent-%COMP%]{margin-bottom:0;margin-right:0;font-size:.9em}.patron-select[_ngcontent-%COMP%]{display:inline-block!important;float:left;width:100%}.patron-listings[_ngcontent-%COMP%]{width:100%;font-size:.8em;padding:10px;background:var(--body-background)!important;color:var(--body-color)!important}.reserve-info[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-width:100px;max-width:125px}.reserve-items-head[_ngcontent-%COMP%]{width:100%}.reserve-items[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{cursor:pointer}.reserve-results[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px;clear:both}.product-info[_ngcontent-%COMP%]{padding-bottom:15px;margin-bottom:15px;position:relative}.product-info[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-width:100px;max-width:100px}.product-image[_ngcontent-%COMP%]{display:inline-block;float:left;width:130px;text-align:center;padding-bottom:10px}.product-description[_ngcontent-%COMP%]{display:inline-block;float:left;width:calc(100% - 130px)}.reserve-button[_ngcontent-%COMP%]{margin-top:25px}.reserve-items[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{height:20px;width:100%}.reserve-items[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]{padding-top:20px}.patron-summary[_ngcontent-%COMP%]{width:100%;font-size:1.15em;padding:0;clear:both}.greyed-out[_ngcontent-%COMP%]{color:#d3d3d3!important;cursor:not-allowed!important}.greyed-out[_ngcontent-%COMP%]:hover, .greyed-out[_ngcontent-%COMP%]:focus{text-decoration:none!important}.summary-count[_ngcontent-%COMP%]{padding:0 20px}.summary-pagination[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:0 5px;font-size:.8em;color:var(--link);cursor:pointer}.summary-pagination[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.staff-form[_ngcontent-%COMP%]{margin-bottom:50px;margin-top:25px}.btn-user-group[_ngcontent-%COMP%]{margin-top:10px;display:block}.btn-barcode-list[_ngcontent-%COMP%]{display:block;margin:15px 0}.divide-left[_ngcontent-%COMP%]{border-left:3px solid var(--text-icons);padding-left:20px;height:225px}input-calendar[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:5px;border-radius:4px;border-color:#d3d3d3}.library-section[_ngcontent-%COMP%]{width:100%}.reserve-box[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px}.notes-box[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:90%!important;border:1px solid lightgrey;border-radius:4px}.reserve-expires[_ngcontent-%COMP%]{font-size:1em;display:inline-block}.reserve-expDate[_ngcontent-%COMP%]{font-size:1.25em;padding:10px;display:inline-block}.product-description[_ngcontent-%COMP%]   .reserve-expDate[_ngcontent-%COMP%]{padding:0}.patron-items[_ngcontent-%COMP%]{max-height:55vh;border-spacing:0px}.patron-items[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-size:.9em}.patron-items[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:2px}.patron-items[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{cursor:pointer}.reserve-items[_ngcontent-%COMP%]{width:100%}.reserve-items[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin-left:25px}.select-location[_ngcontent-%COMP%]{padding:5px;border-radius:5px;margin-bottom:0;max-width:100%;font-size:1.25em;border:1px solid lightgrey}.reserve-info[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 auto;max-width:133px}.reserve-buttons[_ngcontent-%COMP%]{text-align:center;padding:25px}.reserve-anyItems[_ngcontent-%COMP%]{padding:10px 0;text-align:left;font-size:1.25em;border-top:2px solid var(--offset-three)}.product-description[_ngcontent-%COMP%]   .reserve-anyItems[_ngcontent-%COMP%]{padding:5px 0 10px}.reserve-anyItems[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{vertical-align:top}.reserve-anyItems[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin-top:5px}.reserve-title-author[_ngcontent-%COMP%]{padding-top:15px}.dropdown-box[_ngcontent-%COMP%]{padding:10px 0;display:block}.calendar-box[_ngcontent-%COMP%]{padding-bottom:10px}.date-input[_ngcontent-%COMP%]{background:#fff;width:100%;max-width:85px!important;padding:5px;border-radius:5px;border:1px solid lightgrey}.input-datepicker[_ngcontent-%COMP%], .calendar-box[_ngcontent-%COMP%]{display:inline-block;padding-right:10px}.any-items[_ngcontent-%COMP%]{margin-bottom:5px;cursor:pointer;font-size:1.25em;line-height:inherit;z-index:50}.any-items[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin-right:10px;vertical-align:middle;margin-top:-5px;z-index:100}.reserve-items[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]{max-height:50px}input-calendar[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:calc(100% - 80px)!important;border:1px solid grey}.check-locations[_ngcontent-%COMP%], .check-all-locations[_ngcontent-%COMP%]{width:20px;height:20px}.libRow[_ngcontent-%COMP%]{cursor:pointer;z-index:100}.libRow[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{z-index:50}.example-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:300px}.mat-table[_ngcontent-%COMP%]{overflow:auto;max-height:500px}.select-patron[_ngcontent-%COMP%]{max-width:300px}.patron-listing[_ngcontent-%COMP%]{width:330px}@media screen and (min-width: 330px){.select-patron[_ngcontent-%COMP%]{max-width:330px}.patron-listing[_ngcontent-%COMP%]{width:330px}}@media screen and (min-width: 360px){.select-patron[_ngcontent-%COMP%]{max-width:360px}.patron-listing[_ngcontent-%COMP%]{width:360px}}@media screen and (min-width: 400px){.select-patron[_ngcontent-%COMP%]{max-width:400px}.patron-listing[_ngcontent-%COMP%]{width:400px}}@media screen and (min-width: 460px){.select-patron[_ngcontent-%COMP%]{max-width:425px}.patron-listing[_ngcontent-%COMP%]{width:425px}}@media screen and (min-width: 576px){.select-patron[_ngcontent-%COMP%]{max-width:480px}.patron-listing[_ngcontent-%COMP%]{width:480px}}@media screen and (min-width: 768px){.profile-desc[_ngcontent-%COMP%]{text-align:left}.btn-barcode-list[_ngcontent-%COMP%]{display:inline;margin:initial}.notes-box[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%!important;max-width:768px}.profile[_ngcontent-%COMP%]{display:inline-block;float:left;width:30%}.loc-dates[_ngcontent-%COMP%]{font-size:.75em;width:calc(70% - 35px);float:left;display:inline-block;padding-top:5px}.delete[_ngcontent-%COMP%]{display:inline-block;color:var(--link);float:left;min-height:120px;font-size:2em;text-align:center;width:35px;padding:initial;padding-top:40px}.no-delete[_ngcontent-%COMP%]{display:inline-block;float:left;min-height:120px;font-size:2em;text-align:center;width:35px;padding-top:65px}.add-more[_ngcontent-%COMP%]{display:inline-block;float:right;color:gray;background:transparent;min-height:180px;font-size:2em;text-align:center;width:35px;padding:initial;padding-top:65px}.no-more[_ngcontent-%COMP%]{display:inline-block;float:right;min-height:180px;width:35px}}@media screen and (min-width: 992px){.profile[_ngcontent-%COMP%]{display:inline-block;float:left;width:25%}.loc-dates[_ngcontent-%COMP%]{font-size:.75em;width:calc(75% - 35px);float:left;display:inline-block;padding:0 10px}.input-datepicker[_ngcontent-%COMP%], .calendar-box[_ngcontent-%COMP%]{display:inline-block;padding-right:0}}@media screen and (min-width: 1200px){.profile[_ngcontent-%COMP%]{display:inline-block;float:left;width:25%}.loc-dates[_ngcontent-%COMP%]{font-size:.75em;width:calc(75% - 35px);float:left;display:inline-block}.input-datepicker[_ngcontent-%COMP%], .calendar-box[_ngcontent-%COMP%]{display:inline-block}}"]})}return we})()},441:(jt,$e,s)=>{"use strict";s.d($e,{M:()=>O});var t=s(5619),u=s(8504),e=s(7398),m=s(6306),p=s(8377),U=s(2413),n=s(4132),I=s(9212),L=s(3941),y=s(4593);let O=(()=>{class M{constructor(A,S,Z,oe,le){this._configService=A,this._routingService=S,this._layoutService=Z,this._dashboardService=oe,this._apiService=le,this._quickMenuItems=new t.X(null),this.quickMenuItems$=this._quickMenuItems.asObservable()}loadQuickMenu(){return this._apiService.get(this._configService.agApi+"/quickmenu").pipe((0,e.U)(S=>(S?.data&&"200 OK"==S.status&&this._quickMenuItems.next(S.data),S.data)))}addQuickMenu(A){return this._quickMenuItems.getValue().length>9?(0,u._)("Cannot add more that 10 items to quickmenu. Delete some items"):this._apiService.post(this._configService.agApi+"/quickmenu",A).pipe((0,e.U)(Z=>{if("200 OK"!=Z.status)throw Error("Failed to add quick link item");return this.loadQuickMenu().subscribe(),Z.data}),(0,m.K)(Z=>{throw this.loadQuickMenu().subscribe(),Error("Failed to add quick link item")}))}updateQuickMenu(A){return this._apiService.put(this._configService.agApi+"/quickmenu",A).pipe((0,e.U)(Z=>{if("200 OK"!=Z.status)throw Error("Failed to update quick links");this.loadQuickMenu().subscribe()}),(0,m.K)(Z=>{throw this.loadQuickMenu().subscribe(),Error("Failed to update quick links")}))}deleteQuickMenu(A){return this._apiService.post(this._configService.agApi+"/QuickMenu/DeleteQuickMenu",A).pipe((0,e.U)(Z=>{if("200 OK"!=Z.status)throw Error("Failed to delete quick link item");return this.loadQuickMenu().subscribe(),Z.data}),(0,m.K)(Z=>{throw this.loadQuickMenu().subscribe(),Error("Failed to delete quick link item")}))}hotkey(A){let S;if(A instanceof KeyboardEvent)("F9"==A.key||A.ctrlKey&&("0"==A.key||"1"==A.key||"2"==A.key||"3"==A.key||"4"==A.key||"5"==A.key||"6"==A.key||"7"==A.key||"8"==A.key||"9"==A.key||"b"==A.key||"B"==A.key||"l"==A.key||"L"==A.key))&&(S=A.key);else if(A instanceof MessageEvent){const Z=A.data.Event;"string"==typeof Z&&(Z.includes("Ctrl+")?S=Z.split("+")[1]:Z.includes("Numpad")?S=Z.replace("Numpad",""):Z.includes("F9")&&(S=Z))}if(!S)return!1;if(A.stopPropagation(),A.preventDefault(),"b"==S||"B"==S)this._routingService.goToDashboard();else if("l"==S||"L"==S)this._dashboardService.popStaffLinksHistory();else if("F9"==S)this._layoutService.openSideNav({template:"quickmenu",position:"end"});else{let Z=parseInt(S)-1;Z<0&&(Z=9);const oe=this._quickMenuItems.value?.find(le=>le.ordinal==Z);oe&&this._dashboardService.goToMenuItem(oe.menuItem)}return!0}static#e=this.\u0275fac=function(S){return new(S||M)(I.LFG(L.E),I.LFG(p.Z),I.LFG(n.P),I.LFG(U.s),I.LFG(y.s))};static#t=this.\u0275prov=I.Yz7({token:M,factory:M.\u0275fac})}return M})()},3439:(jt,$e,s)=>{"use strict";s.d($e,{r:()=>n});var t=s(5619),u=s(8913),e=s(9212),m=s(4593),p=s(3941),U=s(4259);let n=(()=>{class I{constructor(y,O,M){this._apiService=y,this._configService=O,this._storageService=M,this.modifySearchBS=new t.X(null),this._searchHistory=new t.X(null)}get searchHistory$(){if(this._searchHistory.getValue())return this._searchHistory.asObservable();this.getSearchHistory().subscribe(y=>{"OK"===y.status&&this._searchHistory.next(y.data)})}setModifySearchBSBS(y){this.modifySearchBS.next(y)}getModifySearchBSBS(){return this.modifySearchBS.asObservable()}getSearchHistory(){return this._apiService.get(`${this._configService.searchApi}/SearchHistory/GetSearchHistory`)}clearSearchHistory(){return this._apiService.get(this._configService.searchApi+"/SearchHistory/ClearSearchHistory")}getHistoryCached(){return this._storageService.getItem(u.P.searchHistorySessionKey)}setHistoryCached(y){this._storageService.setItem(u.P.searchHistorySessionKey,y)}static#e=this.\u0275fac=function(O){return new(O||I)(e.LFG(m.s),e.LFG(p.E),e.LFG(U.V))};static#t=this.\u0275prov=e.Yz7({token:I,factory:I.\u0275fac})}return I})()},9643:(jt,$e,s)=>{"use strict";s.d($e,{e:()=>t});class t{constructor(e){this.layoutService=e}closeNav(){this.layoutService.closeSideNav()}}},5961:(jt,$e,s)=>{"use strict";s.d($e,{p:()=>K});var t=s(2413),u=s(7592),e=s(9212);let m=(()=>{class Q{constructor(H,T){this._dialogRef=H,this.data=T}ngOnInit(){this.prevFullName=this.data.prevFullName,this.currentFullName=this.data.currentFullName}confirm(H){this._dialogRef.close(H)}static#e=this.\u0275fac=function(T){return new(T||Q)(e.Y36(u.hV),e.Y36(u.eJ))};static#t=this.\u0275cmp=e.Xpm({type:Q,selectors:[["app-home-location-dialog"]],decls:12,vars:2,consts:[["mat-dialog-title",""],["mat-dilaog-content",""],[1,"container-fluid"],[1,"row"],[1,"col-12","colmd-12","col-lg-12"],["mat-dialog-actions",""],["type","button",1,"btn","btn-primary",2,"margin-right","5%",3,"click"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(T,ie){1&T&&(e.TgZ(0,"h1",0),e._uU(1,"Confirmation"),e.qZA(),e.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),e._uU(6),e.qZA()()()(),e.TgZ(7,"div",5)(8,"button",6),e.NdJ("click",function(){return ie.confirm("yes")}),e._uU(9," Confirm "),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return ie.confirm("cancel")}),e._uU(11,"Cancel"),e.qZA()()),2&T&&(e.xp6(6),e.AsE(" You are changing your home location from ",ie.prevFullName," to ",ie.currentFullName," "))},dependencies:[u.YS,u.ev]})}return Q})();var p=s(441),U=s(9773),n=s(8645),I=s(4132),L=s(6814),y=s(5722),O=s(481),M=s(6223),E=s(6433);const A=["staffHeader"];function S(Q,q){if(1&Q&&(e.TgZ(0,"option",17),e._uU(1),e.qZA()),2&Q){const H=q.$implicit;e.Q6J("ngValue",H),e.xp6(),e.hij(" ",H.FullName," ")}}function Z(Q,q){if(1&Q){const H=e.EpF();e.TgZ(0,"div",12),e._UZ(1,"i",13),e.TgZ(2,"select",14,15),e.NdJ("ngModelChange",function(ie){e.CHM(H);const _e=e.oxw();return e.KtG(_e.updateLocation(ie))}),e.YNc(4,S,2,2,"option",16),e.qZA()()}if(2&Q){const H=e.oxw();e.xp6(2),e.Q6J("ngModel",H.selectedLocation),e.xp6(2),e.Q6J("ngForOf",H.locations)}}function oe(Q,q){if(1&Q){const H=e.EpF();e.ynx(0),e.TgZ(1,"a",18),e.NdJ("agInteract",function(){const _e=e.CHM(H).$implicit,Ce=e.oxw();return e.KtG(Ce.openQuickLink(_e))}),e.ALo(2,"quickLinkLabel"),e.TgZ(3,"span",19),e._uU(4),e.qZA()(),e.BQk()}if(2&Q){const H=q.$implicit,T=q.index;e.xp6(),e.Q6J("matTooltip",e.lcZ(2,2,H)),e.xp6(3),e.Oqu(9===T?"0":T+1)}}function le(Q,q){if(1&Q){const H=e.EpF();e.TgZ(0,"a",5),e.NdJ("agInteract",function(){e.CHM(H);const ie=e.oxw();return e.KtG(ie.openLastStaffHistory())}),e.TgZ(1,"span",19),e._uU(2,"L"),e.qZA()()}}let ee=(()=>{class Q{transform(H){return H.parentLabels.join(" > ")+` > ${H.label}`}static#e=this.\u0275fac=function(T){return new(T||Q)};static#t=this.\u0275pipe=e.Yjl({name:"quickLinkLabel",type:Q,pure:!0})}return Q})(),K=(()=>{class Q{constructor(H,T,ie,_e){this._dialog=H,this._dashboardService=T,this._layoutService=ie,this.quickMenuService=_e,this._unsubscribe=new n.x,this._onIframeClose=Ce=>{const Ve=Ce.data;"CloseIframe"==Ve.Event&&"Close Iframe"==Ve.Category&&this.closeStaffModule(),"close"==Ve&&this.closeStaffModule()}}ngOnInit(){window.addEventListener("message",this._onIframeClose),this._dashboardService.staffHistory$.pipe((0,U.R)(this._unsubscribe)).subscribe(H=>{this.staffHistory=H}),this._dashboardService.toggleStaffNavigationDisplay(!0)}ngOnChanges(H){this.selectedLocation=H?.locations?.currentValue?this.locations.find(T=>T.IsDefault):null,H?.staffMenu?.currentValue&&(this.fullLabel=this.staffMenu.fullLabel?this.staffMenu.fullLabel:this._dashboardService.fullLabel(this.staffMenu.menuItem))}ngAfterViewInit(){this._layoutService.setStaffNavigationHeight(this.staffHeader.nativeElement.offsetHeight),this._staffHeaderObserver=new ResizeObserver(H=>{this._layoutService.setStaffNavigationHeight(H[0].contentRect.height)}),this._staffHeaderObserver.observe(this.staffHeader.nativeElement)}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete(),window.removeEventListener("message",this._onIframeClose),this._dashboardService.toggleStaffNavigationDisplay(!1),this._layoutService.setStaffNavigationHeight(0),this._staffHeaderObserver.disconnect()}updateLocation(H){const T=this.selectedLocation;this.selectedLocation=H,this._dialog.open(m,{width:"500px",height:"auto",disableClose:!0,data:{prevFullName:T.FullName,currentFullName:this.selectedLocation.FullName}}).afterClosed().subscribe(_e=>{"yes"==_e?this.updateHomeLocation():this.selectedLocation=T})}updateHomeLocation(){this._dashboardService.updateHomeLocationsApi(this.homeLocationLink,this.selectedLocation.LocationID).subscribe()}openStaffMenu(){this._layoutService.openSideNav({template:"staffMenu",position:"start",data:this.staffMenu})}openQuickLink(H){this._dashboardService.goToMenuItem(H.menuItem)}openLastStaffHistory(){this._dashboardService.popStaffLinksHistory()}closeStaffModule(){this._dashboardService.closeStaff()}static#e=this.\u0275fac=function(T){return new(T||Q)(e.Y36(u.on),e.Y36(t.s),e.Y36(I.P),e.Y36(p.M))};static#t=this.\u0275cmp=e.Xpm({type:Q,selectors:[["ag-staff-navigation"]],viewQuery:function(T,ie){if(1&T&&e.Gf(A,5),2&T){let _e;e.iGM(_e=e.CRH())&&(ie.staffHeader=_e.first)}},inputs:{homeLocationLink:"homeLocationLink",locations:"locations",staffMenu:"staffMenu",pageLabel:"pageLabel"},features:[e.TTD],decls:16,vars:6,consts:[["fxLayout","row",1,"staff-title"],["staffHeader",""],["fxLayoutAlign","start center","fxLayoutGap","10px","fxFlex","grow"],["class","nav-links",4,"ngIf"],[1,"bread-links"],["tabindex","0",3,"agInteract"],["aria-hidden","true",1,"fa","fa-link"],[4,"ngFor","ngForOf"],["tabindex","0",3,"agInteract",4,"ngIf"],["fxLayoutAlign","end center"],["title","Close",1,"close-staff"],["id","staffClose","aria-hidden","true","tabindex","0",1,"fa","fa-lg","fa-times-circle",3,"agInteract"],[1,"nav-links"],["aria-hidden","true",1,"fa","fa-map-marker",2,"font-size","1em","margin-left","15px","margin-right","5px"],["title","Select Home Location",3,"ngModel","ngModelChange"],["select",""],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],["tabindex","0",1,"quicklinks-color",3,"matTooltip","agInteract"],[1,"quick-hotkey","badge","badge-pill"]],template:function(T,ie){if(1&T&&(e.TgZ(0,"div",0,1)(2,"div",2),e.YNc(3,Z,5,2,"div",3),e.TgZ(4,"div",4)(5,"a",5),e.NdJ("agInteract",function(){return ie.openStaffMenu()}),e._UZ(6,"i",6),e.TgZ(7,"span"),e._uU(8),e.qZA()()(),e.TgZ(9,"div",4),e.YNc(10,oe,5,4,"ng-container",7),e.ALo(11,"async"),e.YNc(12,le,3,0,"a",8),e.qZA()(),e.TgZ(13,"div",9)(14,"div",10)(15,"i",11),e.NdJ("agInteract",function(){return ie.closeStaffModule()}),e.qZA()()()()),2&T){let _e;e.xp6(3),e.Q6J("ngIf",ie.locations),e.xp6(5),e.hij(" ",null!==(_e=ie.fullLabel)&&void 0!==_e?_e:ie.pageLabel,""),e.xp6(2),e.Q6J("ngForOf",e.lcZ(11,4,ie.quickMenuService.quickMenuItems$)),e.xp6(2),e.Q6J("ngIf",null==ie.staffHistory?null:ie.staffHistory.length)}},dependencies:[L.sg,L.O5,y.o,O.Kd,M.YN,M.Kr,M.EJ,M.JJ,M.On,E.xw,E.SQ,E.Wh,E.yH,L.Ov,ee],styles:[".staff-title[_ngcontent-%COMP%]{font-size:1em;background:var(--header-background);color:var(--header-color)}.close-staff[_ngcontent-%COMP%]{padding:5px 10px;color:var(--header-color);opacity:.75;text-align:center;vertical-align:middle;cursor:pointer}.bread-links[_ngcontent-%COMP%]{display:inline-block;font-weight:500;cursor:pointer;color:var(--header-color);margin-left:10px}.bread-links[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;padding-left:10px;font-size:.8em;white-space:nowrap}.bread-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{white-space:nowrap}.nav-links[_ngcontent-%COMP%]{color:var(--header-color)}.nav-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer}.nav-links[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.9em}.nav-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%], .nav-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus   span[_ngcontent-%COMP%]{text-decoration:underline!important}.nav-links[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{border:1px solid grey;color:var(--header-color);background:var(--header-background);border-radius:4px;width:225px}.tooltip[_ngcontent-%COMP%]{position:relative;display:inline-block;border-bottom:1px dotted black}.tooltip[_ngcontent-%COMP%]   .tooltiptext[_ngcontent-%COMP%]{visibility:hidden;width:120px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1}.tooltip[_ngcontent-%COMP%]:hover   .tooltiptext[_ngcontent-%COMP%]{visibility:visible}.quicklinks-color[_ngcontent-%COMP%]{color:var(--header-color)!important}.quick-hotkey[_ngcontent-%COMP%]{width:40px;height:18px;margin-top:2px;display:inline-block;font-size:.65em;padding-right:.25em;padding-left:.25em;color:var(--header-color);background:var(--offset-two)}.badge[_ngcontent-%COMP%]{display:inline-block;padding:.25em .4em;font-size:75%;font-weight:700;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem}.badge-pill[_ngcontent-%COMP%]{padding-right:.6em;padding-left:.6em;border-radius:10rem}"]})}return Q})()},5548:(jt,$e,s)=>{"use strict";s.d($e,{vQ:()=>we,x$:()=>W,y3:()=>P});var t=s(7895),u=s(2214),e=s(9212),m=s(3566),p=s(1335),U=s(2495);const n=["rowActionIcons"],I=["data","","displayedColumns","","noDataMessage",""];function L(V,Se){if(1&V){const G=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){e.CHM(G);const de=e.oxw();return e.KtG(de.clearFilter())}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function y(V,Se){1&V&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",17),e.qZA())}function O(V,Se){if(1&V){const G=e.EpF();e.ynx(0),e.TgZ(1,"button",15),e.NdJ("click",function(){const de=e.CHM(G),De=de.$implicit,tt=de.index,Re=e.oxw();return e.KtG(Re.tableClickAction(De.type,tt))}),e.YNc(2,y,2,0,"mat-icon",16),e._uU(3),e.qZA(),e.BQk()}if(2&V){const G=Se.$implicit,be=Se.index,de=e.oxw();e.xp6(),e.Q6J("disabled",G.canDisable&&de.checkBoxStatus===de.checkedStatus.NONE||de.showSpinner),e.xp6(),e.Q6J("ngIf",de.showSpinner&&de.actionIndex===be),e.xp6(),e.hij(" ",G.label," ")}}function M(V,Se){if(1&V){const G=e.EpF();e.TgZ(0,"th",23)(1,"mat-checkbox",24),e.NdJ("change",function(){e.CHM(G);const de=e.oxw(3);return e.KtG(de.toggleAllRowsSelected())}),e.qZA()()}if(2&V){const G=e.oxw(3);e.xp6(),e.Q6J("checked",G.checkBoxStatus===G.checkedStatus.ALL)("indeterminate",G.checkBoxStatus===G.checkedStatus.PARTIAL)}}function E(V,Se){if(1&V){const G=e.EpF();e.TgZ(0,"td",25)(1,"mat-checkbox",26),e.NdJ("ngModelChange",function(de){const tt=e.CHM(G).$implicit;return e.KtG(tt.selected=de)})("change",function(){e.CHM(G);const de=e.oxw(3);return e.KtG(de.checkIndeterminateStatus())})("click",function(de){return de.stopPropagation()}),e.qZA()()}if(2&V){const G=Se.$implicit;e.xp6(),e.Q6J("ngModel",G.selected)}}function A(V,Se){1&V&&(e.ynx(0),e.YNc(1,M,2,2,"th",21)(2,E,2,1,"td",22),e.BQk())}function S(V,Se){if(1&V&&e._UZ(0,"ag-table-filter",31),2&V){const G=e.oxw(4);e.Q6J("placeholder","Filter Column")("data",G.displayedColumns)}}function Z(V,Se){if(1&V&&(e.TgZ(0,"th",29),e.Hsn(1),e.YNc(2,S,1,2,"ag-table-filter",30),e.qZA()),2&V){const G=e.oxw(3);e.xp6(2),e.Q6J("ngIf",G.displayFilterColumns)}}function oe(V,Se){if(1&V){const G=e.EpF();e.ynx(0),e.TgZ(1,"button",36),e.NdJ("click",function(){const De=e.CHM(G).$implicit,tt=e.oxw(2).$implicit,Re=e.oxw(3);return e.KtG(Re.rowActionSelect(De.type,tt))}),e._uU(2),e.qZA(),e.BQk()}if(2&V){const G=Se.$implicit;e.xp6(2),e.hij(" ",G.label," ")}}function le(V,Se){if(1&V&&(e.ynx(0),e.TgZ(1,"button",34),e.NdJ("click",function(be){return be.stopPropagation()}),e.TgZ(2,"mat-icon"),e._uU(3,"more_vert"),e.qZA()(),e.TgZ(4,"mat-menu",null,35),e.YNc(6,oe,3,1,"ng-container",7),e.qZA(),e.BQk()),2&V){const G=e.MAs(5),be=e.oxw(4);e.xp6(),e.Q6J("matMenuTriggerFor",G)("disabled",be.showSpinner),e.xp6(5),e.Q6J("ngForOf",be.rowActions)}}const ee=V=>({data:V}),K=V=>({$implicit:V});function Q(V,Se){if(1&V&&(e.TgZ(0,"td",32),e.GkF(1,33),e.YNc(2,le,7,3,"ng-container",16),e.qZA()),2&V){const G=Se.$implicit,be=e.oxw(3);e.xp6(),e.Q6J("ngTemplateOutlet",be.rowActionIcons)("ngTemplateOutletContext",e.VKq(5,K,e.VKq(3,ee,G))),e.xp6(),e.Q6J("ngIf",be.rowActions)}}function q(V,Se){1&V&&(e.ynx(0),e.YNc(1,Z,3,1,"th",27)(2,Q,3,7,"td",28),e.BQk())}function H(V,Se){if(1&V&&(e.TgZ(0,"th",39),e._uU(1),e.qZA()),2&V){const G=e.oxw(2).$implicit;e.Q6J("hidden",!G.display),e.xp6(),e.hij(" ",G.label," ")}}function T(V,Se){if(1&V&&(e._UZ(0,"td",41),e.ALo(1,"highlight"),e.ALo(2,"cellConvertArray"),e.ALo(3,"cellDisplayFn")),2&V){const G=e.oxw().$implicit,be=e.oxw(2).$implicit,de=e.oxw();e.Q6J("hidden",!be.display)("matTooltip",be.tooltip?be.tooltip(G[be.value]):null)("innerHTML",e.xi3(1,3,e.lcZ(2,6,e.xi3(3,8,G[be.value],be)),de.filter),e.oJD)}}function ie(V,Se){if(1&V&&(e.ynx(0),e.YNc(1,T,4,11,"td",40),e.BQk()),2&V){const G=e.oxw(2).$implicit,be=e.oxw();e.xp6(),e.Q6J("ngIf",G.value!==be.actions)}}function _e(V,Se){1&V&&e.YNc(0,H,2,2,"th",37)(1,ie,2,1,"ng-container",38)}function Ce(V,Se){if(1&V&&(e.ynx(0,18),e.YNc(1,A,3,0,"ng-container",16)(2,q,3,0,"ng-container",19)(3,_e,2,0,"ng-template",null,20,e.W1O),e.BQk()),2&V){const G=Se.$implicit,be=e.MAs(4),de=e.oxw();e.Q6J("matColumnDef",G.value),e.xp6(),e.Q6J("ngIf",G.value===de.checkbox),e.xp6(),e.Q6J("ngIf",G.value===de.actions)("ngIfElse",be)}}function Ve(V,Se){1&V&&e._UZ(0,"tr",42)}const ae=(V,Se)=>({highlight:V,pointer:Se});function pe(V,Se){if(1&V){const G=e.EpF();e.TgZ(0,"tr",43),e.NdJ("click",function(){const De=e.CHM(G).$implicit,tt=e.oxw();return e.KtG(tt.toggleRow(De))}),e.qZA()}if(2&V){const G=Se.$implicit,be=e.oxw();e.Q6J("ngClass",e.WLB(1,ae,G.selected,be.multiSelect||be.rowSelection))}}function Ae(V,Se){if(1&V&&(e.TgZ(0,"tr",44)(1,"td",45),e._uU(2),e.qZA()()),2&V){const G=e.oxw();e.xp6(),e.uIk("colspan",G.columns.length),e.xp6(),e.hij(" ",G.noDataMessage," ")}}const Ze=V=>({"mat-paginator-sticky":V});function dt(V,Se){if(1&V){const G=e.EpF();e.TgZ(0,"mat-paginator",46),e.NdJ("page",function(de){e.CHM(G);const De=e.oxw();return e.KtG(De.pageEvents.emit(de))}),e.qZA()}if(2&V){const G=e.oxw();e.Q6J("ngClass",e.VKq(5,Ze,G.stickyFooter))("pageSize",G.pageSize)("pageIndex",G.pageIndex)("pageSizeOptions",G.pageSizeOptions)("length",G.length)}}const Fe=[[["","actionButton",""]]],Xe=V=>({"sticky-filter-header":V}),Ie=["[actionButton]"];let W=(()=>{class V{constructor(){}transform(G,be){return be.displayFn?be.displayFn(G):G}static#e=this.\u0275fac=function(be){return new(be||V)};static#t=this.\u0275pipe=e.Yjl({name:"cellDisplayFn",type:V,pure:!0})}return V})(),we=(()=>{class V{constructor(){}transform(G){return Array.isArray(G)?G[0]:G}static#e=this.\u0275fac=function(be){return new(be||V)};static#t=this.\u0275pipe=e.Yjl({name:"cellConvertArray",type:V,pure:!0})}return V})(),P=(()=>{class V{constructor(){this.data=null,this.stickyTopOffset=50,this.multiSelect=!0,this.pageSize=50,this.pageIndex=0,this.pageSizeOptions=[10,25,50,100,250],this.displayFilterColumns=!0,this.length=0,this.showPagination=!0,this.filter="",this.tableActionOutput=new e.vpe,this.rowActionOutput=new e.vpe,this.filterChange=new e.vpe,this.pageEvents=new e.vpe,this.checkedStatus=t.Y$,this.checkBoxStatus=t.Y$.NONE,this.checkbox=V.CHECKBOX,this.actions=V.ACTIONS,this.dataSource=new u.r4(this.data),this._selectAll=!1,this._stickyFilterHeader=!1,this._stickyColumnHeader=!1,this._stickyFooter=!1,this._rowSelection=!1}static#e=this.CHECKBOX="checkbox";static#t=this.ACTIONS="actions";get stickyFilterHeader(){return this._stickyFilterHeader}set stickyFilterHeader(G){this._stickyFilterHeader=(0,U.Ig)(G)}get stickyColumnHeader(){return this._stickyColumnHeader}set stickyColumnHeader(G){this._stickyColumnHeader=(0,U.Ig)(G)}get stickyFooter(){return this._stickyFooter}set stickyFooter(G){this._stickyFooter=(0,U.Ig)(G)}get rowSelection(){return this._rowSelection}set rowSelection(G){this._rowSelection=(0,U.Ig)(G)}ngOnChanges({data:G,displayedColumns:be}){G?.currentValue&&this._setupDataSource(G.currentValue),be?.currentValue&&this._initializeTable(be?.currentValue)}ngAfterViewInit(){this.filter&&this.applyFilter(this.filter),this._setupSortAndPaginator(),this._changeCssVariable("--table-sticky-top-offset",`${this.stickyTopOffset}px`)}ngOnDestroy(){this._changeCssVariable("--table-sticky-top-offset","50px")}_initializeTable(G){this._addCheckboxesToColumns(),this._attachActionsToColumns(),this.setupColumns(G),this._setupDataSource(this.data)}_changeCssVariable(G,be){document.documentElement.style.setProperty(G,be)}setupColumns(G){this.columns=G.map(be=>be.value)}_addCheckboxesToColumns(){this.multiSelect&&this.displayedColumns.unshift({value:V.CHECKBOX,label:V.CHECKBOX,display:!0})}_attachActionsToColumns(){this.displayedColumns.some(G=>G.value===V.ACTIONS)||this.displayedColumns.push({value:V.ACTIONS,label:V.ACTIONS,display:!0})}_setupDataSource(G){this.dataSource=new u.r4(G),this.dataSource.filterPredicate=(be,de)=>{for(const De of this.displayedColumns){let tt=be[De.value];if(De.filterFn)return De.filterFn(de,tt);if(De.displayFn&&(tt=De.displayFn(tt)),tt?.toString().toLowerCase().includes(de.toLowerCase()))return!0}},this.dataSource.sortingDataAccessor=(be,de)=>{const De=be[de];return"string"==typeof De?De.toUpperCase():De},this._setupSortAndPaginator()}_setupSortAndPaginator(){this.dataSource.sort=this.sort,this.sort&&this.initialSort&&(this.sort.active=this.initialSort.id,this.sort.direction=this.initialSort.start,this.sort.sortChange.emit({active:this.sort.active,direction:this.sort.direction})),this.length||(this.dataSource.paginator=this.paginator)}applyFilter(G){this.dataSource.filter=G.toLowerCase(),this.filterChange.emit(G)}toggleAllRowsSelected(){this._selectAll=!this._selectAll,this.dataSource.data.forEach(G=>G.selected=this._selectAll),this.checkBoxStatus=this._selectAll?t.Y$.ALL:t.Y$.NONE}checkIndeterminateStatus(){const G=this.getSelectedRows();G.length===this.dataSource.data.length?this.checkBoxStatus=t.Y$.ALL:G.length?(this.checkBoxStatus=t.Y$.PARTIAL,this._selectAll=!1):this.checkBoxStatus=t.Y$.NONE}toggleRow(G){this.multiSelect&&(G.selected=!G.selected,this.checkIndeterminateStatus()),this.rowSelection&&(G.selected=!G.selected,this.rowActionSelect("rowSelected",G))}getSelectedRows(){return this.dataSource.data.filter(G=>G.selected)}clearFilter(){this.filter="",this.dataSource.filter="",this.filterChange.emit("")}tableClickAction(G,be){this.actionIndex=be;const de=this.getSelectedRows();this.tableActionOutput.emit({type:G,data:de})}rowActionSelect(G,be){this.rowActionOutput.emit({type:G,data:be})}static#n=this.\u0275fac=function(be){return new(be||V)};static#i=this.\u0275cmp=e.Xpm({type:V,selectors:[["ag-table-grid","data","","displayedColumns","","noDataMessage",""]],contentQueries:function(be,de,De){if(1&be&&e.Suo(De,n,5),2&be){let tt;e.iGM(tt=e.CRH())&&(de.rowActionIcons=tt.first)}},viewQuery:function(be,de){if(1&be&&(e.Gf(m.YE,5),e.Gf(p.cl,5)),2&be){let De;e.iGM(De=e.CRH())&&(de.sort=De.first),e.iGM(De=e.CRH())&&(de.paginator=De.first)}},inputs:{data:"data",displayedColumns:"displayedColumns",showSpinner:"showSpinner",initialSort:"initialSort",stickyTopOffset:"stickyTopOffset",stickyFilterHeader:"stickyFilterHeader",stickyColumnHeader:"stickyColumnHeader",stickyFooter:"stickyFooter",rowSelection:"rowSelection",noDataMessage:"noDataMessage",multiSelect:"multiSelect",pageSize:"pageSize",pageIndex:"pageIndex",pageSizeOptions:"pageSizeOptions",tableActions:"tableActions",displayFilterColumns:"displayFilterColumns",rowActions:"rowActions",length:"length",showPagination:"showPagination",filter:"filter"},outputs:{tableActionOutput:"tableActionOutput",rowActionOutput:"rowActionOutput",filterChange:"filterChange",pageEvents:"pageEvents"},features:[e.TTD],attrs:I,ngContentSelectors:Ie,decls:16,vars:12,consts:[[1,"mat-elevation-z1"],["fxLayout","row","fxLayoutAlign","space-between center",1,"filter",3,"ngClass"],[1,"no-wrapper"],["matInput","","title","Filter","type","search","placeholder","Filter",3,"ngModel","ngModelChange","keyup"],["matPrefix","",1,"filter-icon"],["mat-icon-button","","matSuffix","","type","button",3,"click",4,"ngIf"],["fxLayoutGap","10px"],[4,"ngFor","ngForOf"],["mat-table","","matSort","",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",3,"ngClass","click",4,"matRowDef","matRowDefColumns"],["class","mat-row",4,"matNoDataRow"],["showFirstLastButtons","",3,"ngClass","pageSize","pageIndex","pageSizeOptions","length","page",4,"ngIf"],["mat-icon-button","","matSuffix","","type","button",3,"click"],["mat-stroked-button","","type","button",3,"disabled","click"],[4,"ngIf"],["diameter","20"],[3,"matColumnDef"],[4,"ngIf","ngIfElse"],["showColumns",""],["class","column-header","mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-cell","",1,"column-header"],[3,"checked","indeterminate","change"],["mat-cell",""],[3,"ngModel","ngModelChange","change","click"],["mat-header-cell","","style","text-align: right; max-width: 150px","class","column-header",4,"matHeaderCellDef"],["mat-cell","","style","text-align: right; white-space: nowrap",4,"matCellDef"],["mat-header-cell","",1,"column-header",2,"text-align","right","max-width","150px"],[3,"placeholder","data",4,"ngIf"],[3,"placeholder","data"],["mat-cell","",2,"text-align","right","white-space","nowrap"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-icon-button","","type","button",3,"matMenuTriggerFor","disabled","click"],["menu","matMenu"],["mat-menu-item","","type","button",3,"click"],["class","column-header","mat-header-cell","","mat-sort-header","","style","white-space: nowrap",3,"hidden",4,"matHeaderCellDef"],[4,"matCellDef"],["mat-header-cell","","mat-sort-header","",1,"column-header",2,"white-space","nowrap",3,"hidden"],["mat-cell","",3,"hidden","matTooltip","innerHTML",4,"ngIf"],["mat-cell","",3,"hidden","matTooltip","innerHTML"],["mat-header-row",""],["mat-row","",3,"ngClass","click"],[1,"mat-row"],[1,"mat-cell",2,"text-align","center"],["showFirstLastButtons","",3,"ngClass","pageSize","pageIndex","pageSizeOptions","length","page"]],template:function(be,de){1&be&&(e.F$t(Fe),e.TgZ(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"input",3),e.NdJ("ngModelChange",function(tt){return de.filter=tt})("keyup",function(){return de.applyFilter(de.filter)}),e.qZA(),e.TgZ(4,"mat-icon",4),e._uU(5,"filter_alt"),e.qZA(),e.YNc(6,L,3,0,"button",5),e.qZA(),e.TgZ(7,"span",6),e.YNc(8,O,4,3,"ng-container",7),e.qZA()(),e._UZ(9,"mat-divider"),e.TgZ(10,"table",8),e.YNc(11,Ce,5,4,"ng-container",9)(12,Ve,1,0,"tr",10)(13,pe,1,4,"tr",11)(14,Ae,3,2,"tr",12),e.qZA(),e.YNc(15,dt,1,7,"mat-paginator",13),e.qZA()),2&be&&(e.xp6(),e.Q6J("ngClass",e.VKq(10,Xe,de.stickyFilterHeader)),e.xp6(2),e.Q6J("ngModel",de.filter),e.xp6(3),e.Q6J("ngIf",de.filter),e.xp6(2),e.Q6J("ngForOf",de.tableActions),e.xp6(2),e.Q6J("dataSource",de.dataSource),e.xp6(),e.Q6J("ngForOf",de.displayedColumns),e.xp6(),e.Q6J("matHeaderRowDef",de.columns)("matHeaderRowDefSticky",de.stickyColumnHeader),e.xp6(),e.Q6J("matRowDefColumns",de.columns),e.xp6(2),e.Q6J("ngIf",de.showPagination))},styles:["[_ngcontent-%COMP%]:root{--table-sticky-top-offset: 50px}.mat-row[_ngcontent-%COMP%]:hover, .highlight[_ngcontent-%COMP%]{background:#0000001a}.filter[_ngcontent-%COMP%]{padding:0 12px;background-color:#00000005}[_nghost-%COMP%]     .no-wrapper .mat-form-field-wrapper{margin:0!important;padding:0}[_nghost-%COMP%]     .no-wrapper .mat-form-field-outline{display:none;padding-left:0}[_nghost-%COMP%]     .no-wrapper .mat-form-field-flex{padding:0}.filter-icon[_ngcontent-%COMP%]{margin-right:5px}.mat-paginator-sticky[_ngcontent-%COMP%]{bottom:0;position:sticky}table[_ngcontent-%COMP%]{width:100%;border-collapse:separate;border-spacing:0}table[_ngcontent-%COMP%]   th.mat-header-cell[_ngcontent-%COMP%], table[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%], table[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{padding:0 12px}.sticky-filter-header[_ngcontent-%COMP%]{top:0!important;position:sticky;z-index:100}th.column-header[_ngcontent-%COMP%]{top:var(--table-sticky-top-offset)!important}"]})}return V})()},2616:(jt,$e,s)=>{"use strict";s.d($e,{g:()=>m});var t=s(9212),u=s(4593),e=s(3941);let m=(()=>{class p{constructor(n,I){this._apiService=n,this._configService=I,this.url="",this.filterBy="all",this.sortBy="title",this.sortByforLibs="title"}getWebLinks(){return this.url=this._configService.agApi+"/account/GetFavoriteWebLinks",this._apiService.get(this.url)}addFavWebLink(n){return this.url=this._configService.agApi+"/account/AddFavoriteWebLink",this._apiService.post(this.url,n)}updateFavWebLink(n){return this.url=this._configService.agApi+"/account/UpdateFavoriteWebLink",this._apiService.post(this.url,n)}deleteFavWebLink(n){return this.url=this._configService.agApi+"/account/DeleteFavoriteWebLink",this._apiService.post(this.url,n)}getFavResources(){return this.url=this._configService.agApi+"/account/GetFavoriteResources",this._apiService.get(this.url)}setFavResources(n){return this.url=this._configService.agApi+"/account/SetFavoriteResources",this._apiService.post(this.url,n)}static#e=this.\u0275fac=function(I){return new(I||p)(t.LFG(u.s),t.LFG(e.E))};static#t=this.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac})}return p})()},8913:(jt,$e,s)=>{"use strict";s.d($e,{P:()=>t});let t=(()=>{class u{static#e=this.acccessTokenSessionKey="access_Token";static#t=this.cidSessionKey="Cid";static#n=this.lidSessionKey="Lid";static#i=this.libNameSessionKey="libName";static#o=this.userDataSessionKey="userData";static#r=this.currPatronSessionKey="_curr_pat";static#a=this.prevPatronSessionKey="_prev_pat";static#s=this.pastLidSessionKey="_past_lid";static#l=this.newLidSessionKey="_newLid";static#c=this.isGuestSessionKey="isGuest";static#d=this.blankILLLoginDoneSessionKey="blankILLLoginDone";static#u=this.cachedRequest4SamlSessionKey="_cachedRequestGuest4Saml";static#h=this.cachedRequestEzProxySessionKey="_ez";static#p=this.cachedRequest4rmEzProxySessionKey="_4rm_ez";static#m=this.activePagesSessionKey="activePagesArray";static#f=this.inActivePagesSessionKey="inactivePagesArray";static#_=this.isLibraryExistsSessionKey="libExists";static#g=this.searchIdSessionKey="_search_id";static#b=this.didYouMeanSearchRequestSessionKey="_dym_sea";static#v=this.isDidYouMeanSearchSessionKey="_is_dym";static#y=this.searchRequestSessionKey="_sea_req";static#x=this.holdingsSessionKey="_hlds";static#C=this.searchViewSessionKey="_search_view";static#w=this.xfacetFilterSessionKey="facetFilterArray";static#T=this.zeroResultsPostSessionKey="_zres_pb";static#M=this.didYouMeanSearchTermSessionKey="did_you_mean_Search-TERM";static#k=this.searchTermSessionKey="Search-TERM";static#S=this.searchOldestItemAddedKey="oldest_dtadd_";static#E=this.searchHistorySessionKey="history";static#O=this.requestItemsBatchSessionKey="_req_items_bat";static#D=this.fullRecordItemsBatchSessionKey="_fr_items_bat";static#A=this.agentInfoSessionKey="_agent_inf";static#P=this.agControlIdSessionKey="agctrlid";static#I=this.SEARCHRESULTS_FULLRECORD_AGCONTROLID="searchresults_fullrecord_agctrlid";static#R=this.libraryDbPoolSessionKey="libKey";static#L=this.MARC_REPORT_MAX_NUMBER_OF_TABS=2;static#N=this.START_RECORD=1;static#F=this.NUM_OF_RECORDS=40;static#B=this.NUM_OF_FACETS_PER_GROUP=20;static#U=this.FACET_OFFSET=0;static#Z=this.QUERY_OPTION="ALL";static#H=this.MATCH_JOIN_OPERATOR="AND";static#G=this.PAGE_SIZE=40;static#J=this.SEE_MORE_FROM_TARGETS_MAX=8;contructor(){}}return u})()},8036:(jt,$e,s)=>{"use strict";s.d($e,{Jq:()=>U,a1:()=>m,gv:()=>p});var t=s(5175),u=s(8377),e=s(9212);let m=(()=>{class n{constructor(L,y){this._authService=L,this._routingService=y}canActivate(){return!!this._authService.IsAuthenticated()||(this._routingService.goToLogin(),!1)}static#e=this.\u0275fac=function(y){return new(y||n)(e.LFG(t.e8),e.LFG(u.Z))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac})}return n})(),p=(()=>{class n{constructor(L,y){this._authService=L,this._routingService=y}canActivate(L,y){return this._authService.isGuest()?(this._routingService.goToLogin(y.url),!1):this._authService.isStaff()}static#e=this.\u0275fac=function(y){return new(y||n)(e.LFG(t.e8),e.LFG(u.Z))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac})}return n})(),U=(()=>{class n{constructor(L,y){this._authService=L,this._routingService=y}canActivate(L,y){return!(!this._authService.isStaff()&&!this._authService.isPatron()&&(this._routingService.goToLogin(y.url),1))}static#e=this.\u0275fac=function(y){return new(y||n)(e.LFG(t.e8),e.LFG(u.Z))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac})}return n})()},4170:(jt,$e,s)=>{"use strict";s.d($e,{Q:()=>t});var t=function(u){return u.LANGUAGE="lang",u.FORMAT_LONG="format_long",u.PUBLICATION_DATE="publication_date",u.HOLDING_MATERIAL_TYPE="hld_materialtype",u.AUDIENCE="audience",u.ACCELERATED_READER_INTEREST_LEVEL="accelerated_reader_interest_level",u.ACCELERATED_READER_READING_LEVEL="accelerated_reader_reading_level",u.ACCELERATED_READER_TITLE_POINT_VALUE="accelerated_reader_title_point_value",u.READING_COUNTS_INTEREST_LEVEL="reading_counts_interest_level",u.READING_COUNTS_READING_LEVEL="reading_counts_reading_level",u.READING_COUNTS_TITLE_POINT_VALUE="reading_counts_title_point_value",u.HAS_OCLC_NUMBER="has_oclc_number",u.LEXILE_READING_GRADE_LEVEL="lexile_reading_grade_level",u.AWARDS="awards",u.READING_PROGRAM="reading_program",u.DATE_ADDED="date_added",u.CLCD_AGE="clcd_age",u.CLCD_GRADES="clcd_grades",u}(t||{})},252:(jt,$e,s)=>{"use strict";s.d($e,{j:()=>m});var t=s(6814),u=s(2154),e=s(9212);let m=(()=>{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=e.oAB({type:p});static#n=this.\u0275inj=e.cJS({imports:[t.ez,u.N]})}return p})()},2163:(jt,$e,s)=>{"use strict";s.d($e,{h:()=>I});var t=s(3256),u=s(8845),e=s(6284),m=s(6814),p=s(6208),U=s(9212);let n=(()=>{class L{static#e=this.\u0275fac=function(M){return new(M||L)};static#t=this.\u0275mod=U.oAB({type:L});static#n=this.\u0275inj=U.cJS({imports:[m.ez,p.m]})}return L})(),I=(()=>{class L{static#e=this.\u0275fac=function(M){return new(M||L)};static#t=this.\u0275mod=U.oAB({type:L});static#n=this.\u0275inj=U.cJS({imports:[n,p.m,t.qE,u.Ob,e.e4,u.Ob]})}return L})()},6623:(jt,$e,s)=>{"use strict";s.d($e,{J:()=>m});var t=s(6208),u=s(6814),e=s(9212);let m=(()=>{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=e.oAB({type:p});static#n=this.\u0275inj=e.cJS({imports:[u.ez,t.m]})}return p})()},2154:(jt,$e,s)=>{"use strict";s.d($e,{N:()=>U});var t=s(6814),u=s(6387),e=s(6208),m=s(5587),p=s(9212);let U=(()=>{class n{static#e=this.\u0275fac=function(y){return new(y||n)};static#t=this.\u0275mod=p.oAB({type:n});static#n=this.\u0275inj=p.cJS({imports:[t.ez,e.m,u.p,m.K]})}return n})()},8178:(jt,$e,s)=>{"use strict";s.d($e,{J:()=>p});var t=s(6208),u=s(6814),e=s(2787),m=s(9212);let p=(()=>{class U{static#e=this.\u0275fac=function(L){return new(L||U)};static#t=this.\u0275mod=m.oAB({type:U});static#n=this.\u0275inj=m.cJS({imports:[u.ez,t.m,e.Bz]})}return U})()},6387:(jt,$e,s)=>{"use strict";s.d($e,{p:()=>I});var t=s(6223),u=s(6814),e=s(114),m=s(7274),p=s(3883),U=s(6429),n=s(9212);let I=(()=>{class L{static#e=this.\u0275fac=function(M){return new(M||L)};static#t=this.\u0275mod=n.oAB({type:L});static#n=this.\u0275inj=n.cJS({imports:[u.ez,e.Z,m.q,p.N,t.u5,U.o9]})}return L})()},1261:(jt,$e,s)=>{"use strict";s.d($e,{B:()=>U});var t=s(5619),u=s(7398),e=s(9212),m=s(4593),p=s(3941);let U=(()=>{class n{constructor(L,y){this.apiService=L,this.configService=y,this._userPreferences=new t.X(null),this.userPreferences$=this._userPreferences.asObservable()}getProfileDetails(){return this.apiService.post(this.configService.agApi+"/account/GetProfile","")}updateProfileDetails(L){return this.apiService.postWithTokenFormData(this.configService.agApi+"/account/UpdateMyProfile",L)}removePicture(){return this.apiService.post(this.configService.agApi+"/account/RemoveUserPhoto","")}getUserPreferences(){return this.apiService.get(this.configService.agApi+"/account/GetPreferences").pipe((0,u.U)(y=>{if(y.data)return this._userPreferences.next(y?.data),y?.data;throw new Error("Unable to get your preferences.")}))}updateUserPreferences(L){return this.apiService.post(this.configService.agApi+"/account/UpdatePreferences",L).pipe((0,u.U)(()=>{this.getUserPreferences().subscribe()}))}checkPatronAlertMessage(){return this.apiService.get(this.configService.agApi+"/account/GetBlockedPatronAlertMsg")}static#e=this.\u0275fac=function(y){return new(y||n)(e.LFG(m.s),e.LFG(p.E))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac})}return n})()},9376:(jt,$e,s)=>{"use strict";s.d($e,{s:()=>Fn});var t=s(5861),u=s(7895),e=s(9212),m=s(8645),p=s(2572),U=s(9081),n=s(5175),I=s(5501),L=s(9773),y=s(4716),O=s(4170),M=s(6223),E=s(6814),A=s(2609);const S=Ot=>({"col-md-6 col-lg-4":Ot});function Z(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"li",11)(1,"label")(2,"input",12),e.NdJ("change",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.selectFilter(pt,wt.filter.filterIndex))}),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.TgZ(5,"small"),e._uU(6),e.qZA()()()()}if(2&Ot){const ye=En.$implicit,It=e.oxw(2);e.Q6J("ngClass",e.VKq(8,S,!It.embeddedComponent)),e.xp6(2),e.Tol("filter"+It.filter.filterId),e.Q6J("value",ye.value)("name",ye.name)("checked",ye.selected),e.xp6(2),e.hij("",ye.name," "),e.xp6(2),e.hij("( ",ye.count," )")}}function oe(Ot,En){if(1&Ot&&(e.TgZ(0,"div",6)(1,"ul",7)(2,"li",8)(3,"ul",9),e.YNc(4,Z,7,10,"li",10),e.qZA()()()()),2&Ot){const ye=e.oxw();e.xp6(4),e.Q6J("ngForOf",ye.filter.dropdownFields)}}let le=(()=>{class Ot{constructor(){this.embeddedComponent=!1,this.filterSelectedEE=new e.vpe}ngOnChanges(ye){ye.filter.currentValue&&ye.filter.currentValue?.dropdownFields.some(It=>It.selected)&&(this.show=!0)}selectFilter(ye,It){this.filter.dropdownFields.find(wt=>wt.value==ye.target.value).selected=ye.target.checked;const pt=this.filter.dropdownFields?.filter(wt=>wt.selected).map(wt=>wt.value);this.filterSelectedEE.emit({value:pt,filter:It})}toggleFilter(){this.show=!this.show}collapse(){this.show=!1}static#e=this.\u0275fac=function(It){return new(It||Ot)};static#t=this.\u0275cmp=e.Xpm({type:Ot,selectors:[["advanced-filters"]],inputs:{filter:"filter",embeddedComponent:"embeddedComponent"},outputs:{filterSelectedEE:"filterSelectedEE"},features:[e.TTD],decls:7,vars:6,consts:[[1,"width-100"],[3,"ngClass"],["tabindex","0",1,"adv-header-label",3,"click","keyup.enter"],[1,"adv-header-icon","pull-right"],["tabindex","0",3,"title","ngClass","click","keyup.enter"],["class","adv-fields",4,"ngIf"],[1,"adv-fields"],[1,"target-list"],[1,"target-heading"],[1,"target-list-ul",2,"clear","both","display","inline-block","width","100%"],["class","target-list-li col-12",3,"ngClass",4,"ngFor","ngForOf"],[1,"target-list-li","col-12",3,"ngClass"],["type","checkbox",3,"value","name","checked","change"]],template:function(It,pt){1&It&&(e.TgZ(0,"div",0)(1,"div",1)(2,"a",2),e.NdJ("click",function(){return pt.toggleFilter()})("keyup.enter",function(){return pt.toggleFilter()}),e._uU(3),e.qZA(),e.TgZ(4,"span",3)(5,"i",4),e.NdJ("click",function(){return pt.toggleFilter()})("keyup.enter",function(){return pt.toggleFilter()}),e.qZA()()(),e.YNc(6,oe,5,1,"div",5),e.qZA()),2&It&&(e.xp6(),e.Q6J("ngClass",pt.embeddedComponent?"adv-header-comp-class":"adv-header"),e.xp6(2),e.Oqu(null==pt.filter?null:pt.filter.title),e.xp6(2),e.hYB("title","",pt.filter.show?"Collapse":"Expand"," ",pt.filter.title,""),e.Q6J("ngClass",pt.filter.show?"fa fa-compress":"fa fa-expand"),e.xp6(),e.Q6J("ngIf",pt.show))},dependencies:[E.mk,E.sg,E.O5,A.oO],styles:["a[_ngcontent-%COMP%]{color:var(--link)}.advance-phrase[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:10px 5px;margin:0 5px 5px;width:96%;float:left;font-size:.85em;border-radius:5px;border:1px solid lightgrey}.target-event[_ngcontent-%COMP%]:hover, .target-event[_ngcontent-%COMP%]:focus{background:#d3d3d3;color:gray}.target-list[_ngcontent-%COMP%]{padding-left:0;list-style:none;clear:both;margin-bottom:25px}.target-heading[_ngcontent-%COMP%]{width:100%}.target-list-ul[_ngcontent-%COMP%]{padding:5px 35px 5px 15px;list-style:none;clear:both}.target-list-li[_ngcontent-%COMP%]{float:left}.field-range[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{max-width:100px;text-align:center;font-size:1.5em;margin:0 auto;padding-left:20px}.target-list[_ngcontent-%COMP%]{margin-bottom:0}.adv-header[_ngcontent-%COMP%]{border-bottom:1px solid var(--shade-three);margin:5px 30px}.adv-header-comp-class[_ngcontent-%COMP%]{border-bottom:1px solid var(--shade-three)}.adv-header[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:20px;height:20px;vertical-align:middle}.adv-header[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:1.1em;cursor:pointer}.adv-check[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{vertical-align:top}.adv-header-label[_ngcontent-%COMP%]{display:inline-block;cursor:pointer;color:var(--body-color)!important;padding:6px 0}.adv-header-icon[_ngcontent-%COMP%]{padding:6px;cursor:pointer}.adv-fields[_ngcontent-%COMP%]{padding:0}@media screen and (min-width: 768px){.adv-header-label[_ngcontent-%COMP%]{width:32%}}input[type=checkbox][_ngcontent-%COMP%]{margin-right:5px}mat-spinner[_ngcontent-%COMP%]{margin-left:50%;margin-top:3%}"]})}return Ot})();var ee=s(481);const K=Ot=>({"target-list-li col-12":!0,"col-md-6 col-lg-4":Ot});function Q(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"li",1)(1,"label")(2,"input",18),e.NdJ("change",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.selectFilter(pt))}),e.qZA(),e._UZ(3,"span"),e.TgZ(4,"span"),e._uU(5),e.TgZ(6,"small"),e._uU(7),e.qZA()()()()}if(2&Ot){const ye=En.$implicit,It=e.oxw(2);e.Q6J("ngClass",e.VKq(8,K,!It.embeddedComponent)),e.xp6(2),e.Tol("filter"+(null==It.filter?null:It.filter.filterId)),e.Q6J("value",ye.value)("name",ye.name)("checked",ye.selected),e.xp6(3),e.hij("",ye.name," "),e.xp6(2),e.hij("( ",ye.count," )")}}function q(Ot,En){if(1&Ot&&(e.TgZ(0,"div",13)(1,"ul",14)(2,"li",15)(3,"ul",16),e.YNc(4,Q,8,10,"li",17),e.qZA()()()()),2&Ot){const ye=e.oxw();e.xp6(4),e.Q6J("ngForOf",null==ye.filter?null:ye.filter.dropdownFields)}}const H=(Ot,En)=>({"adv-header":Ot,"adv-header-comp-class":En}),T=(Ot,En)=>({"adv-header-label":Ot,"adv-header-label-comp-class":En}),ie=(Ot,En)=>({"range-inputs":Ot,"range-inputs-comp-class":En});let _e=(()=>{class Ot{constructor(ye,It){this._fb=ye,this._sharedService=It,this.embeddedComponent=!1,this.filterSelectedEE=new e.vpe}ngOnChanges(ye){this.customRangeForm||(this.customRangeForm=this._fb.group({from:["",this.validators],to:["",this.validators]},{validators:this.groupValidators})),ye.filter?.currentValue&&(ye.filter?.currentValue.rangeFields.forEach(It=>{this.customRangeForm.patchValue({from:It.from,to:It.to})}),ye.filter?.currentValue?.dropdownFields.some(It=>It.selected)&&(this.show=!0))}selectFilter(ye){this.filter.dropdownFields.find(pt=>pt.value==ye.target.value).selected=ye.target.checked;const It=this.filter?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value).concat(this.filter?.rangeFields.filter(pt=>U.F.isNotEmpty(pt.from)).map(pt=>`${pt.from}<=>${pt.to}`));this.filterSelectedEE.emit({value:It,filter:this.filter.filterIndex})}toggleFilter(){this.show=!this.show}validForm(ye){let It=ye.value.from.trim(),pt=ye.value.to.trim();if(""===It?It=pt:""===pt&&(pt=It),"*"!==It||"*"!==pt)if(ye.invalid){let wt="Invalid form details";ye.errors?wt=this.getFormErrors(ye).join(", "):ye.get("from").invalid?wt=this.getFormErrors(ye.get("from")).join(", "):ye.get("to").invalid&&(wt=this.getFormErrors(ye.get("to")).join(", ")),this._sharedService.openSnackBar(wt,"ok")}else{const wt=this.filter?.dropdownFields?.filter($n=>$n.selected).map($n=>$n.value);wt.push(`${It}<=>${pt}`),this.filterSelectedEE.emit({value:wt,filter:this.filter.filterIndex})}else this._sharedService.openSnackBar("A value is required","ok")}getFormErrors(ye){const It=Object.keys(ye.errors),pt=[];return It.forEach(wt=>{pt.push(this.validationMessage[wt])}),pt}collapse(){this.show=!1}static#e=this.\u0275fac=function(It){return new(It||Ot)(e.Y36(M.QS),e.Y36(U.F))};static#t=this.\u0275cmp=e.Xpm({type:Ot,selectors:[["custom-advanced-filters"]],inputs:{validators:"validators",groupValidators:"groupValidators",validationMessage:"validationMessage",tooltip:"tooltip",filter:"filter",embeddedComponent:"embeddedComponent"},outputs:{filterSelectedEE:"filterSelectedEE"},features:[e.TTD],decls:18,vars:21,consts:[[1,"width-100"],[3,"ngClass"],["tabindex","0",3,"click","keyup.enter"],["aria-hidden","true","matTooltip","Select a filter below or enter a range",1,"range-inputs-tooltip","fa","fa-question-circle-o",3,"matTooltipPosition"],[1,"adv-header-icon","pull-right"],["tabindex","0",3,"title","ngClass","click","keyup.enter"],[3,"formGroup","ngSubmit"],["type","text","formControlName","from"],["type","text","formControlName","to"],["type","submit","title","perform custom range filter",1,"btn","btn-primary"],[1,"fa","fa-chevron-right"],["aria-hidden","true",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltip","matTooltipPosition"],["class","adv-fields",4,"ngIf"],[1,"adv-fields"],[1,"target-list"],[1,"target-heading"],[1,"target-list-ul",2,"clear","both","display","inline-block","width","100%"],[3,"ngClass",4,"ngFor","ngForOf"],["type","checkbox",3,"value","name","checked","change"]],template:function(It,pt){1&It&&(e.TgZ(0,"div",0)(1,"div",1)(2,"span",1)(3,"a",2),e.NdJ("click",function(){return pt.toggleFilter()})("keyup.enter",function(){return pt.toggleFilter()}),e._uU(4),e.qZA(),e._UZ(5,"i",3),e.qZA(),e.TgZ(6,"span",4)(7,"i",5),e.NdJ("click",function(){return pt.toggleFilter()})("keyup.enter",function(){return pt.toggleFilter()}),e.qZA()(),e.TgZ(8,"div",1)(9,"form",6),e.NdJ("ngSubmit",function(){return pt.validForm(pt.customRangeForm)}),e._UZ(10,"input",7),e.TgZ(11,"span"),e._uU(12," to "),e.qZA(),e._UZ(13,"input",8),e.TgZ(14,"button",9),e._UZ(15,"i",10),e.qZA(),e._UZ(16,"i",11),e.qZA()()(),e.YNc(17,q,5,1,"div",12),e.qZA()),2&It&&(e.xp6(),e.Q6J("ngClass",e.WLB(12,H,!pt.embeddedComponent,pt.embeddedComponent)),e.xp6(),e.Q6J("ngClass",e.WLB(15,T,!pt.embeddedComponent,pt.embeddedComponent)),e.xp6(2),e.hij("",null==pt.filter?null:pt.filter.title," "),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.hYB("title","",pt.show?"Compress":"Expand"," ",pt.filter.title,""),e.Q6J("ngClass",pt.show?"fa fa-compress":"fa fa-expand"),e.xp6(),e.Q6J("ngClass",e.WLB(18,ie,!pt.embeddedComponent,pt.embeddedComponent)),e.xp6(),e.Q6J("formGroup",pt.customRangeForm),e.xp6(7),e.Q6J("matTooltip",pt.tooltip)("matTooltipPosition","right"),e.xp6(),e.Q6J("ngIf",pt.show))},dependencies:[E.mk,E.sg,E.O5,A.oO,M._Y,M.Fj,M.JJ,M.JL,ee.Kd,M.sg,M.u],styles:["a[_ngcontent-%COMP%]{color:var(--link)}.target-event[_ngcontent-%COMP%]:hover, .target-event[_ngcontent-%COMP%]:focus{background:#d3d3d3;color:gray}.target-list[_ngcontent-%COMP%]{padding-left:0;list-style:none;clear:both;margin-bottom:25px}.target-heading[_ngcontent-%COMP%]{width:100%}.target-list-ul[_ngcontent-%COMP%]{padding:5px 35px 5px 15px;list-style:none;clear:both}.target-list-li[_ngcontent-%COMP%]{float:left}.adv-fields[_ngcontent-%COMP%]{padding:0}.target-list[_ngcontent-%COMP%]{margin-bottom:0}.adv-header[_ngcontent-%COMP%]{border-bottom:1px solid var(--shade-three);margin:5px 30px}.adv-header-comp-class[_ngcontent-%COMP%]{border-bottom:1px solid var(--shade-three)}.adv-header[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:20px;height:20px;vertical-align:middle}.adv-header[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:1.1em;cursor:pointer}.adv-header-label[_ngcontent-%COMP%]{display:inline-block;cursor:pointer;color:var(--body-color)!important;padding:6px 0}.adv-header-icon[_ngcontent-%COMP%]{padding:6px;cursor:pointer}.adv-header-label-comp-class[_ngcontent-%COMP%]{width:42%!important;margin-left:10px}.range-inputs[_ngcontent-%COMP%]{width:100%;display:inline-block;padding:5px;text-align:center}.range-inputs-comp-class[_ngcontent-%COMP%]{display:inline-block;padding:5px;text-align:center;width:47%!important}.range-inputs-label[_ngcontent-%COMP%]{display:inline-block;font-weight:700;font-size:.65em;padding:6px}.range-inputs[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .range-inputs-comp-class[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:40px;height:25px;border:1px solid lightgrey;border-radius:4px}.range-inputs[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .range-inputs-comp-class[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{height:25px;font-size:.5em;margin-left:5px}.range-inputs-tooltip[_ngcontent-%COMP%]{padding:5px;cursor:pointer}@media screen and (min-width: 768px){.range-inputs[_ngcontent-%COMP%], .adv-header-label[_ngcontent-%COMP%]{width:32%}}"]})}return Ot})();function Ce(...Ot){return En=>{if(En.parent)return console.error("RequiresOne: Did you apply the validator on the FormGroup?"),null;for(const ye of Ot){const It=En.get(ye);if(null!=It&&!M.kI.required(It))return null}return{requiresOne:!0}}}var Ve=s(7780),ae=s(4259);function pe(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"a",7),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw(4);return e.KtG(pt.collapseRefine())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw(4);return e.KtG(pt.collapseRefine())}),e.TgZ(1,"span",8),e._uU(2,"(Collapse )"),e.qZA()()}}function Ae(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"a",7),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw(4);return e.KtG(pt.expandRefine())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw(4);return e.KtG(pt.expandRefine())}),e.TgZ(1,"span",8),e._uU(2,"(Expand )"),e.qZA()()}}function Ze(Ot,En){if(1&Ot&&(e.ynx(0),e.YNc(1,pe,3,0,"a",5)(2,Ae,3,0,"ng-template",null,6,e.W1O),e.BQk()),2&Ot){const ye=e.MAs(3),It=e.oxw(3);e.xp6(),e.Q6J("ngIf",It.expandCollapse)("ngIfElse",ye)}}function dt(Ot,En){if(1&Ot&&(e.TgZ(0,"h3",4),e._uU(1),e.YNc(2,Ze,4,2,"ng-container",3),e.qZA()),2&Ot){const ye=e.oxw(2);e.xp6(),e.hij(" ",ye.availableFilters.filterLabel," "),e.xp6(),e.Q6J("ngIf",ye.embeddedComponent)}}function Fe(Ot,En){if(1&Ot&&(e.TgZ(0,"option",19),e._uU(1),e.qZA()),2&Ot){const ye=En.$implicit;e.Q6J("value",ye.value)("selected",ye.selected),e.xp6(),e.hij(" ",ye.name," ")}}function Xe(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"select",17),e.NdJ("change",function(pt){e.CHM(ye);const wt=e.oxw(5);return e.KtG(wt.selectFiltersDate(pt))}),e.YNc(1,Fe,2,3,"option",18),e.qZA()}if(2&Ot){const ye=e.oxw(2).$implicit;e.Tol("filter"+(null==ye?null:ye.filterId)),e.xp6(),e.Q6J("ngForOf",null==ye?null:ye.dropdownFields)}}function Ie(Ot,En){if(1&Ot&&(e.TgZ(0,"div",14)(1,"label",15),e._uU(2),e.qZA(),e.YNc(3,Xe,2,3,"select",16),e.qZA()),2&Ot){const ye=e.oxw().$implicit;e.xp6(2),e.hij("",null==ye?null:ye.title," - "),e.xp6(),e.Q6J("ngIf",null==ye?null:ye.dropdownFields)}}function W(Ot,En){if(1&Ot&&(e.TgZ(0,"option",19),e._uU(1),e.qZA()),2&Ot){const ye=En.$implicit;e.Q6J("value",ye.value)("selected",ye.selected),e.xp6(),e.hij(" ",ye.name," ")}}function we(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"select",17),e.NdJ("change",function(pt){e.CHM(ye);const wt=e.oxw(5);return e.KtG(wt.selectFiltersLibraries(pt))}),e.YNc(1,W,2,3,"option",18),e.qZA()}if(2&Ot){const ye=e.oxw(2).$implicit;e.Tol("filter"+(null==ye?null:ye.filterId)),e.xp6(),e.Q6J("ngForOf",null==ye?null:ye.dropdownFields)}}function P(Ot,En){if(1&Ot&&(e.TgZ(0,"div",14)(1,"label",15),e._uU(2),e.qZA(),e.YNc(3,we,2,3,"select",16),e.qZA()),2&Ot){const ye=e.oxw().$implicit;e.xp6(2),e.hij("",null==ye?null:ye.title," - "),e.xp6(),e.Q6J("ngIf",null==ye?null:ye.dropdownFields)}}function V(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"custom-advanced-filters",20),e.NdJ("filterSelectedEE",function(pt){e.CHM(ye);const wt=e.oxw(4);return e.KtG(wt.selectFilter(pt))}),e.qZA()}if(2&Ot){const ye=e.oxw().$implicit,It=e.oxw(3);e.Q6J("tooltip",It.tooltip(ye.filterId))("filter",ye)("embeddedComponent",It.embeddedComponent)("validators",It.getValidators(ye.filterId))("groupValidators",It.getGroupValidators(ye.filterId))("validationMessage",It.getValidationMessages(ye.filterId))}}function Se(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"advanced-filters",21),e.NdJ("filterSelectedEE",function(pt){e.CHM(ye);const wt=e.oxw(4);return e.KtG(wt.selectFilter(pt))}),e.qZA()}if(2&Ot){const ye=e.oxw().$implicit,It=e.oxw(3);e.Q6J("filter",ye)("embeddedComponent",It.embeddedComponent)}}function G(Ot,En){if(1&Ot&&(e.TgZ(0,"div"),e.YNc(1,Ie,4,2,"div",10)(2,P,4,2,"div",10),e.TgZ(3,"div",11),e.YNc(4,V,1,6,"custom-advanced-filters",12)(5,Se,1,2,"advanced-filters",13),e.qZA()()),2&Ot){const ye=En.$implicit;e.xp6(),e.Q6J("ngIf",1===(null==ye?null:ye.filterId)),e.xp6(),e.Q6J("ngIf",2===ye.filterId),e.xp6(2),e.Q6J("ngIf",3===ye.filterId||6===ye.filterId||10===ye.filterId||11===ye.filterId||14===ye.filterId||15===ye.filterId),e.xp6(),e.Q6J("ngIf",1!==ye.filterId&&2!==ye.filterId&&3!==ye.filterId&&6!==ye.filterId&&10!==ye.filterId&&11!==ye.filterId&&14!==ye.filterId&&15!==ye.filterId)}}function be(Ot,En){if(1&Ot&&(e.TgZ(0,"div"),e.YNc(1,G,6,4,"div",9),e.qZA()),2&Ot){const ye=e.oxw(2);e.xp6(),e.Q6J("ngForOf",ye.availableFilters.filters)("ngForTrackBy",ye.trackById)}}const de=Ot=>({topic:Ot});function De(Ot,En){if(1&Ot&&(e.TgZ(0,"div",1),e.YNc(1,dt,3,2,"h3",2)(2,be,2,2,"div",3),e.qZA()),2&Ot){const ye=e.oxw();e.Q6J("ngClass",e.VKq(3,de,ye.embeddedComponent)),e.xp6(),e.Q6J("ngIf",ye.availableFilters.filterLabel),e.xp6(),e.Q6J("ngIf",(!ye.embeddedComponent||ye.expandCollapse)&&ye.availableFilters.filters)}}var tt=function(Ot){return Ot[Ot.DateItemsAdded=1]="DateItemsAdded",Ot[Ot.Libraries=2]="Libraries",Ot[Ot.YearOfPublication=3]="YearOfPublication",Ot[Ot.Formats=4]="Formats",Ot[Ot.AudienceLevel=5]="AudienceLevel",Ot[Ot.Lexile=6]="Lexile",Ot[Ot.Languages=7]="Languages",Ot[Ot.AcceleratedReaderInterestLevel=8]="AcceleratedReaderInterestLevel",Ot[Ot.MaterialType=9]="MaterialType",Ot[Ot.AcceleratedReaderReadingLevel=10]="AcceleratedReaderReadingLevel",Ot[Ot.AcceleratedReaderTitlePointValue=11]="AcceleratedReaderTitlePointValue",Ot[Ot.ReadingProgram=12]="ReadingProgram",Ot[Ot.Awards=13]="Awards",Ot[Ot.ReadingCountsReadingLevel=14]="ReadingCountsReadingLevel",Ot[Ot.ReadingCountsTitlePointValue=15]="ReadingCountsTitlePointValue",Ot[Ot.HasOCLC=16]="HasOCLC",Ot[Ot.ReadingCountsInterestLevel=17]="ReadingCountsInterestLevel",Ot[Ot.Age=18]="Age",Ot[Ot.Grade=19]="Grade",Ot}(tt||{});let Ft=(()=>{class Ot{constructor(ye){this._storageService=ye,this.embeddedComponent=!1,this.filterChangeEE=new e.vpe,this.expandCollapse=!1,this._scopingLevel=-1,this._languagesArray=[],this._pubYearsArray=[],this._formatsArray=[],this._materialTypesArray=[],this._audiencesArray=[],this._acceleratedReaderInterestLevel=[],this._acceleratedReaderReadingLevel=[],this._acceleratedReaderTitlePointValue=[],this._readingCountsReadingLevel=[],this._readingCountsTitlePointValue=[],this._readingCountsInterestLevel=[],this._hasOclcNumberArray=[],this._lexilesArray=[],this._dateItemAddedArray=[],this._awardsArray=[],this._readingProgramsArray=[],this._clcdAgeLevel=[],this._clcdGradeLevel=[]}ngOnChanges(ye){ye.availableFilters?.currentValue&&(this.availableFilters=ye.availableFilters.currentValue,this._initialFilterArray(this.availableFilters.filters))}ngOnDestroy(){this._storageService.remove("queryYPubBox"),this._storageService.remove("queryRLevelBox")}_initialFilterArray(ye){ye?.forEach(It=>{switch(It.filterId){case tt.DateItemsAdded:this._dateItemAddedArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value),this._dateItemAddedArray=this._dateItemAddedArray.filter(pt=>U.F.isNotEmpty(pt));break;case tt.Libraries:this._scopingLevel=It?.dropdownFields.find(pt=>1==pt.selected)?.value;break;case tt.YearOfPublication:this._pubYearsArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value).concat(It?.rangeFields.filter(pt=>U.F.isNotEmpty(pt.from)).map(pt=>`${pt.from}<=>${pt.to}`));break;case tt.Formats:this._formatsArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.AudienceLevel:this._audiencesArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.Lexile:this._lexilesArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value).concat(It?.rangeFields.filter(pt=>U.F.isNotEmpty(pt.from)).map(pt=>`${pt.from}<=>${pt.to}`));break;case tt.Languages:this._languagesArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.AcceleratedReaderInterestLevel:this._acceleratedReaderInterestLevel=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.MaterialType:this._materialTypesArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.AcceleratedReaderReadingLevel:this._acceleratedReaderReadingLevel=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value).concat(It?.rangeFields.filter(pt=>U.F.isNotEmpty(pt.from)).map(pt=>`${pt.from}<=>${pt.to}`));break;case tt.AcceleratedReaderTitlePointValue:this._acceleratedReaderTitlePointValue=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value).concat(It?.rangeFields.filter(pt=>U.F.isNotEmpty(pt.from)).map(pt=>`${pt.from}<=>${pt.to}`));break;case tt.ReadingProgram:this._readingProgramsArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.Awards:this._awardsArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.ReadingCountsReadingLevel:this._readingCountsReadingLevel=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value).concat(It?.rangeFields.filter(pt=>U.F.isNotEmpty(pt.from)).map(pt=>`${pt.from}<=>${pt.to}`));break;case tt.ReadingCountsTitlePointValue:this._readingCountsTitlePointValue=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value).concat(It?.rangeFields.filter(pt=>U.F.isNotEmpty(pt.from)).map(pt=>`${pt.from}<=>${pt.to}`));break;case tt.HasOCLC:this._hasOclcNumberArray=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.ReadingCountsInterestLevel:this._readingCountsInterestLevel=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.Age:this._clcdAgeLevel=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value);break;case tt.Grade:this._clcdGradeLevel=It?.dropdownFields?.filter(pt=>pt.selected).map(pt=>pt.value)}}),ye||(this._dateItemAddedArray=[],this._scopingLevel=-1)}tooltip(ye){switch(ye){case 3:return"Enter a date range (1999 - 2005) or use an asterisk to filter before or after a date. For example: To filter for titles published after 1999, enter 1999 - *. To filter by a single year, enter the year in one box and leave the other box blank. ";case 6:return"Enter a range (200 - 450) or use an asterisk to filter before or after a lexile. For example: To filter for lexiles before 199, enter * - 199. To filter for lexiles after 199, enter 199 - *. ";case 11:case 14:return"Enter a range (2.0 - 7.5) or use an asterisk to filter before or after a reading level. For example: To filter for reading level before 2.0, enter * - 2.0. To filter for reading level after 2.0, enter 2.0 - *.";case 10:case 15:return"Enter a range (2.0 - 7.5) or use an asterisk to filter before or after a point level. For example: To filter for point level before 2.0, enter * - 2.0. To filter for point level after 2.0, enter 2.0 - *.";default:return`Missing ${ye}`}}getGroupValidators(ye){if(3===ye)return 3===ye?[Ce("from","to")]:[]}getValidators(ye){switch(ye){case 3:return Ve.VE;case 6:return Ve.YO;case 11:case 14:case 10:case 15:return Ve.oV;default:return[M.kI.required]}}getValidationMessages(ye){let It;return 3===ye?It=Ve.ls:6===ye?It=Ve.gE:[10,11,14,15].some(pt=>pt===ye)&&(It=Ve.FT),It}selectFiltersDate(ye){const It=ye.target.value;this._dateItemAddedArray=[],this._dateItemAddedArray.push(It),this.filterChangeEE.emit(this.getFilters())}selectFiltersLibraries(ye){this._scopingLevel=+ye.target.value,this.filterChangeEE.emit(this.getFilters())}selectFilter(ye){switch(ye.filter){case"forAudiences":this._audiencesArray=ye.value;break;case"languages":this._languagesArray=ye.value;break;case"materialTypes":this._materialTypesArray=ye.value;break;case"awards":this._awardsArray=ye.value;break;case"readingPrograms":this._readingProgramsArray=ye.value;break;case"formats":this._formatsArray=ye.value;break;case"HasOclcNumber":this._hasOclcNumberArray=ye.value;break;case"AcceleratedReaderInterestLevel":this._acceleratedReaderInterestLevel=ye.value;break;case"AcceleratedReaderReadingLevelRangeFullFacets":this._acceleratedReaderReadingLevel=ye.value;break;case"AcceleratedReaderTitlePointValueRangeFullFacets":this._acceleratedReaderTitlePointValue=ye.value;break;case"LexileRangeFullFacets":this._lexilesArray=ye.value;break;case"ReadingCountsReadingLevelRangeFullFacets":this._readingCountsReadingLevel=ye.value;break;case"ReadingCountsTitlePointValueRangeFullFacets":this._readingCountsTitlePointValue=ye.value;break;case"ReadingCountsInterestLevel":this._readingCountsInterestLevel=ye.value;break;case"pubYears":this._pubYearsArray=ye.value;break;case"CLCDAgeFullFacets":this._clcdAgeLevel=ye.value;break;case"CLCDGradesFullFacets":this._clcdGradeLevel=ye.value}this.filterChangeEE.emit(this.getFilters())}collapseRefine(){this.expandCollapse=!1}expandRefine(){this.expandCollapse=!0}clearAll(){this.advancedFilterComponents.forEach(ye=>ye.collapse()),this.customAdvancedFilterComponents.forEach(ye=>ye.collapse()),this._languagesArray=[],this._pubYearsArray=[],this._formatsArray=[],this._materialTypesArray=[],this._audiencesArray=[],this._acceleratedReaderInterestLevel=[],this._acceleratedReaderReadingLevel=[],this._acceleratedReaderTitlePointValue=[],this._readingCountsReadingLevel=[],this._readingCountsTitlePointValue=[],this._readingCountsInterestLevel=[],this._hasOclcNumberArray=[],this._lexilesArray=[],this._awardsArray=[],this._readingProgramsArray=[],this._dateItemAddedArray=[],this._clcdAgeLevel=[],this._clcdGradeLevel=[],this._scopingLevel=-1}trackById(ye){return ye.id}getFilters(){return{languages:this._languagesArray,pubYears:this._pubYearsArray,formats:this._formatsArray,materialTypes:this._materialTypesArray,forAudiences:this._audiencesArray,acceleratedReaderInterestLevel:this._acceleratedReaderInterestLevel,acceleratedReaderReadingLevel:this._acceleratedReaderReadingLevel,acceleratedReaderTitlePointValue:this._acceleratedReaderTitlePointValue,readingCountsReadingLevel:this._readingCountsReadingLevel,readingCountsInterestLevel:this._readingCountsInterestLevel,readingCountsTitlePointValue:this._readingCountsTitlePointValue,hasOclcNumber:this._hasOclcNumberArray,Lexile:this._lexilesArray,awards:this._awardsArray,readingPrograms:this._readingProgramsArray,DateItemsAdded:this._dateItemAddedArray,scopingLevel:this._scopingLevel,clcdAge:this._clcdAgeLevel,clcdGrades:this._clcdGradeLevel}}static#e=this.\u0275fac=function(It){return new(It||Ot)(e.Y36(ae.V))};static#t=this.\u0275cmp=e.Xpm({type:Ot,selectors:[["refine-search"]],viewQuery:function(It,pt){if(1&It&&(e.Gf(le,5),e.Gf(_e,5)),2&It){let wt;e.iGM(wt=e.CRH())&&(pt.advancedFilterComponents=wt),e.iGM(wt=e.CRH())&&(pt.customAdvancedFilterComponents=wt)}},inputs:{embeddedComponent:"embeddedComponent",availableFilters:"availableFilters"},outputs:{filterChangeEE:"filterChangeEE"},features:[e._Bn([{provide:e.QbO,useValue:"BrowserAnimations"}]),e.TTD],decls:1,vars:1,consts:[["class","width-100",3,"ngClass",4,"ngIf"],[1,"width-100",3,"ngClass"],["class","advHeading",4,"ngIf"],[4,"ngIf"],[1,"advHeading"],["tabindex","0",3,"click","keyup.enter",4,"ngIf","ngIfElse"],["showExpand",""],["tabindex","0",3,"click","keyup.enter"],[1,"linkText"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","advSearchOptions",4,"ngIf"],[1,"target-list","row"],["class","width-100",3,"tooltip","filter","embeddedComponent","validators","groupValidators","validationMessage","filterSelectedEE",4,"ngIf"],["class","width-100",3,"filter","embeddedComponent","filterSelectedEE",4,"ngIf"],[1,"advSearchOptions"],["for","refineLibrarySelect"],["id","refineLibrarySelect","class","refineLibrarySelect",3,"class","change",4,"ngIf"],["id","refineLibrarySelect",1,"refineLibrarySelect",3,"change"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"],[1,"width-100",3,"tooltip","filter","embeddedComponent","validators","groupValidators","validationMessage","filterSelectedEE"],[1,"width-100",3,"filter","embeddedComponent","filterSelectedEE"]],template:function(It,pt){1&It&&e.YNc(0,De,3,5,"div",0),2&It&&e.Q6J("ngIf",(null==pt.availableFilters?null:pt.availableFilters.filters)&&pt.availableFilters.filters.length>0)},dependencies:[E.mk,E.sg,E.O5,A.oO,M.YN,M.Kr,le,_e],styles:["a[_ngcontent-%COMP%]{color:var(--link)}select[_ngcontent-%COMP%]{padding:5px 10px;border-radius:5px;border:1px solid lightgrey}.advHeading[_ngcontent-%COMP%]{margin-top:30px;border-bottom:3px solid var(--text-icons);text-indent:15px;clear:both;width:100%;display:inline-block}.linkText[_ngcontent-%COMP%]{font-size:.65em;color:var(--link);cursor:pointer}.advance-phrase[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:10px 5px;margin:0 5px 5px;width:96%;float:left;font-size:.85em;border-radius:5px;border:1px solid lightgrey}.advance-phrase[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin-bottom:5px;float:left}.advIndexOperator[_ngcontent-%COMP%]{max-width:initial!important}.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{display:inline-block;float:left;width:88%;margin:0 5px 5px;padding:10px;font-size:.85em}.textIn[_ngcontent-%COMP%]{padding:0 10px;display:inline;line-height:36px;float:left;line-height:48px;height:48px;color:var(--header-color)}.advSearchOptions[_ngcontent-%COMP%]{display:inline-block;width:100%;padding:5px 15px 10px}.advSearchOptions[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{display:inline-block;clear:right;padding:5px;float:inherit;margin-left:5px!important}.advCTA[_ngcontent-%COMP%]{padding:25px}.advCTA[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}.target-events[_ngcontent-%COMP%]{background:#efefef;color:gray;cursor:pointer;text-align:center;border-radius:5px}.target-event[_ngcontent-%COMP%]{padding:10px}.target-event[_ngcontent-%COMP%]:hover, .target-event[_ngcontent-%COMP%]:focus{background:#d3d3d3;color:gray}.target-list[_ngcontent-%COMP%]{padding-left:0;list-style:none;clear:both;margin-bottom:25px}.target-heading[_ngcontent-%COMP%]{width:100%}.target-heading[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{padding-bottom:10px;font-size:1.15rem}.target-heading[_ngcontent-%COMP%] > span.target-icon[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{color:gray;font-size:1.75em;margin-top:5px;display:inline-block}.target-icon[_ngcontent-%COMP%]{padding:5px;vertical-align:middle}.target-list-ul[_ngcontent-%COMP%]{padding:5px 35px 5px 15px;list-style:none;clear:both}.target-list-li[_ngcontent-%COMP%]{float:left}.custom-control[_ngcontent-%COMP%]{padding-left:2rem;line-height:2rem}.custom-control-indicator[_ngcontent-%COMP%]{height:1.5rem;width:1.5rem}.refineLibrarySelect[_ngcontent-%COMP%]{padding:5px;margin-left:35px}.field-range[_ngcontent-%COMP%]{text-align:center;width:100%}.field-range[_ngcontent-%COMP%]   .min[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]   .max[_ngcontent-%COMP%]{max-width:125px;text-align:center;display:inline-block}.range-action[_ngcontent-%COMP%]{font-size:.5em;color:#009688!important;display:block;padding-top:10px;cursor:pointer}@media screen and (max-width: 575px){.linkText[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 768px) and (max-width: 991px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:130px}}@media screen and (min-width: 992px) and (max-width: 1199px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:180px}}@media screen and (min-width: 1200px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:220px}}.target-list[_ngcontent-%COMP%]{margin-bottom:0}.advFilter[_ngcontent-%COMP%]{margin-top:15px;padding-bottom:20px}.adv-check[_ngcontent-%COMP%]{color:#454545;font-size:1.1em;padding:5px 10px;margin-top:20px}.adv-check[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{vertical-align:top}.adv-fields[_ngcontent-%COMP%]{padding:0}.field-range[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{max-width:100px;text-align:center;font-size:1.5em;margin:0 auto;padding-left:20px}.field-range[_ngcontent-%COMP%]   .dash[_ngcontent-%COMP%]{font-size:3em;padding-top:4px;color:#d3d3d3;display:inline-block;vertical-align:top}.field-drop[_ngcontent-%COMP%]{padding:15px}.field-drop[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{font-size:1.5em;padding-left:15px;max-width:261px;margin:0 auto;height:42px}.field-array[_ngcontent-%COMP%]{width:100%;height:auto;position:relative}.array-left[_ngcontent-%COMP%]{border-left:2px solid lightgrey;border-top:2px solid lightgrey;border-bottom:2px solid lightgrey;display:block;float:left;width:15px;min-height:25px;height:5em}.array-right[_ngcontent-%COMP%]{border-right:2px solid lightgrey;border-top:2px solid lightgrey;border-bottom:2px solid lightgrey;display:block;float:left;width:15px;min-height:25px;height:5em}.array-container[_ngcontent-%COMP%]{width:100%;padding:10px;display:inline-block;float:left;min-height:25px}.array-container[_ngcontent-%COMP%]   .badge-pill[_ngcontent-%COMP%]{padding:7px 10px 7px 15px;margin:2px 4px;font-size:1.1em}@media screen and (min-width: 576px){.field-drop[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]{text-align:center;width:100%}}@media screen and (min-width: 768px){.field-drop[_ngcontent-%COMP%]{width:50%;display:inline-block;float:left}.field-range[_ngcontent-%COMP%]{width:50%;display:inline-block;float:left;padding-top:10px}.field-range[_ngcontent-%COMP%]   .min[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]   .max[_ngcontent-%COMP%]{max-width:110px}.mat-slider-horizontal[_ngcontent-%COMP%]{height:48px;min-width:110px}}@media screen and (min-width: 992px){.field-drop[_ngcontent-%COMP%]{text-align:center;width:100%}.field-range[_ngcontent-%COMP%]{text-align:center;width:100%;padding-top:10px}.field-range[_ngcontent-%COMP%]   .min[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]   .max[_ngcontent-%COMP%]{max-width:110px}.mat-slider-horizontal[_ngcontent-%COMP%]{height:48px;min-width:110px}}@media screen and (min-width: 1200px){.field-drop[_ngcontent-%COMP%]{width:50%;display:inline-block;float:left}.field-range[_ngcontent-%COMP%]{width:50%;display:inline-block;float:left;padding-top:10px}.field-range[_ngcontent-%COMP%]   .min[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]   .max[_ngcontent-%COMP%]{max-width:110px}.mat-slider-horizontal[_ngcontent-%COMP%]{height:48px;min-width:110px}}.topic[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%], .topic[_ngcontent-%COMP%]   h3.advHeading[_ngcontent-%COMP%]{font-size:1.25em!important}.topic[_ngcontent-%COMP%]   .refineLibrarySelect[_ngcontent-%COMP%]{margin:0;max-width:300px}.topic[_ngcontent-%COMP%]   .adv-header[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:.85em}.select-filter-text[_ngcontent-%COMP%]{font-size:.7em;margin-left:35px;margin-top:5px;font-weight:800}input[type=checkbox][_ngcontent-%COMP%]{margin-right:5px}mat-spinner[_ngcontent-%COMP%]{margin-left:50%;margin-top:3%;margin-bottom:3%}"]})}return Ot})();var mt=s(9602),sn=s(1865),hn=s(2787),Nn=s(3439),Jt=s(9828),cn=s(6433),He=s(2400);function fe(Ot,En){if(1&Ot){const ye=e.EpF();e.ynx(0),e.TgZ(1,"a",25),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw().$implicit,wt=e.oxw(4);return e.KtG(wt.openUrl(pt.targetUrl))})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw().$implicit,wt=e.oxw(4);return e.KtG(wt.openUrl(pt.targetUrl))}),e._UZ(2,"div",26),e.qZA(),e.BQk()}if(2&Ot){const ye=e.oxw().$implicit;e.xp6(2),e.Q6J("innerHTML",ye.targetName,e.oJD)}}function Ne(Ot,En){if(1&Ot&&e._UZ(0,"i",30),2&Ot){const ye=e.oxw(2).$implicit;e.Q6J("matTooltip",ye.targetDescription)}}function $(Ot,En){if(1&Ot){const ye=e.EpF();e.ynx(0),e.TgZ(1,"input",27),e.NdJ("click",function(pt){e.CHM(ye);const wt=e.oxw().$implicit,$n=e.oxw(4);return e.KtG($n.checkResource(pt,wt))})("keyup.enter",function(pt){e.CHM(ye);const wt=e.oxw().$implicit,$n=e.oxw(4);return e.KtG($n.checkResource(pt,wt))}),e.qZA(),e.TgZ(2,"span",28),e._UZ(3,"div",26),e.YNc(4,Ne,1,1,"i",29),e.qZA(),e.BQk()}if(2&Ot){const ye=e.oxw().$implicit;e.xp6(),e.Q6J("id",ye.libraryDBpoolKey)("value",ye.libraryDBpoolKey)("checked",ye.isDefault),e.uIk("title",ye.targetName),e.xp6(2),e.Q6J("innerHTML",ye.targetName,e.oJD),e.xp6(),e.Q6J("ngIf",ye.targetDescription)}}function Ee(Ot,En){if(1&Ot&&e._UZ(0,"i",30),2&Ot){const ye=e.oxw(2).$implicit;e.Q6J("matTooltip",ye.targetDescription)}}function Ge(Ot,En){if(1&Ot){const ye=e.EpF();e.ynx(0),e.TgZ(1,"input",27),e.NdJ("click",function(pt){e.CHM(ye);const wt=e.oxw().$implicit,$n=e.oxw(4);return e.KtG($n.checkResource(pt,wt))})("keyup.enter",function(pt){e.CHM(ye);const wt=e.oxw().$implicit,$n=e.oxw(4);return e.KtG($n.checkResource(pt,wt))}),e.qZA(),e.TgZ(2,"span",28)(3,"a",31),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw().$implicit,wt=e.oxw(4);return e.KtG(wt.openLink(null==pt?null:pt.noteUrl))})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw().$implicit,wt=e.oxw(4);return e.KtG(wt.openLink(null==pt?null:pt.noteUrl))}),e._UZ(4,"div",26),e.qZA(),e.YNc(5,Ee,1,1,"i",29),e.qZA(),e.BQk()}if(2&Ot){const ye=e.oxw().$implicit;e.xp6(),e.Q6J("id",ye.libraryDBpoolKey)("value",ye.libraryDBpoolKey)("checked",ye.isDefault),e.uIk("title",ye.targetName),e.xp6(3),e.Q6J("innerHTML",ye.targetName,e.oJD),e.xp6(),e.Q6J("ngIf",ye.targetDescription)}}function Ke(Ot,En){if(1&Ot&&(e.TgZ(0,"div",23),e.YNc(1,fe,3,1,"ng-container",24)(2,$,5,6,"ng-container",24)(3,Ge,6,6,"ng-container",24),e.qZA()),2&Ot){const ye=En.$implicit;e.xp6(),e.Q6J("ngIf","WL"===ye.targetType),e.xp6(),e.Q6J("ngIf","WL"!==ye.targetType&&(null===(null==ye?null:ye.noteUrl)||""===(null==ye?null:ye.noteUrl))),e.xp6(),e.Q6J("ngIf","WL"!==ye.targetType&&null!==(null==ye?null:ye.noteUrl)&&""!==(null==ye?null:ye.noteUrl))}}function Et(Ot,En){if(1&Ot&&(e.TgZ(0,"div",21),e.YNc(1,Ke,4,3,"div",22),e.qZA()),2&Ot){const ye=e.oxw().$implicit;e.xp6(),e.Q6J("ngForOf",ye.searchTargets)}}function Tt(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"div",15)(1,"div",16)(2,"input",17),e.NdJ("click",function(pt){const $n=e.CHM(ye).$implicit,pn=e.oxw(2);return e.KtG(pn.checkGroup(pt,$n.searchTargets))})("keyup.enter",function(pt){const $n=e.CHM(ye).$implicit,pn=e.oxw(2);return e.KtG(pn.checkGroup(pt,$n.searchTargets))}),e.qZA(),e._UZ(3,"span",18),e.TgZ(4,"i",19),e.NdJ("click",function(){const wt=e.CHM(ye).$implicit,$n=e.oxw(2);return e.KtG($n.toggleGroup(wt))})("keyup.enter",function(){const wt=e.CHM(ye).$implicit,$n=e.oxw(2);return e.KtG($n.toggleGroup(wt))}),e.qZA()(),e.YNc(5,Et,2,1,"div",20),e.qZA()}if(2&Ot){const ye=En.$implicit,It=En.index,pt=e.oxw(2);e.xp6(2),e.Q6J("id","home2"+It+ye.id)("value",ye.id)("checked",ye.isDefault)("indeterminate",ye.checkedStatus===pt.PARTIAL_CHECKED),e.uIk("title",ye.id),e.xp6(),e.Q6J("innerHTML",ye.heading,e.oJD),e.xp6(2),e.Q6J("ngIf",!ye.isCollapse)}}function tn(Ot,En){if(1&Ot){const ye=e.EpF();e.ynx(0),e.TgZ(1,"div",3)(2,"div",4)(3,"a",5),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.checkAll(!1))})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.checkAll(!1))}),e._UZ(4,"i",6),e.qZA()(),e.TgZ(5,"div",4)(6,"a",7),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.checkAll(!0))})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.checkAll(!0))}),e._UZ(7,"i",8),e.qZA()(),e.TgZ(8,"div",4)(9,"a",9),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.resetAll())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.resetAll())}),e._UZ(10,"i",10),e.qZA()(),e.TgZ(11,"div",4)(12,"a",11),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.toggleExpandCollapse())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.toggleExpandCollapse())}),e._UZ(13,"i",12),e.qZA()()(),e.TgZ(14,"div",13),e.YNc(15,Tt,6,7,"div",14),e.qZA(),e.BQk()}if(2&Ot){const ye=e.oxw();e.xp6(13),e.Q6J("ngClass",ye.showCollapseAll?"fa fa-lg fa-compress":"fa fa-lg fa-expand"),e.xp6(2),e.Q6J("ngForOf",ye.resourcesAS)}}function rn(Ot,En){if(1&Ot){const ye=e.EpF();e.ynx(0),e.TgZ(1,"a",25),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw().$implicit,wt=e.oxw(4);return e.KtG(wt.openUrl(pt.targetUrl))})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw().$implicit,wt=e.oxw(4);return e.KtG(wt.openUrl(pt.targetUrl))}),e._UZ(2,"div",26),e.qZA(),e.BQk()}if(2&Ot){const ye=e.oxw().$implicit;e.xp6(2),e.Q6J("innerHTML",ye.targetName,e.oJD)}}function Nt(Ot,En){if(1&Ot&&e._UZ(0,"i",30),2&Ot){const ye=e.oxw(2).$implicit;e.Q6J("matTooltip",ye.targetDescription)}}function ft(Ot,En){if(1&Ot){const ye=e.EpF();e.ynx(0),e.TgZ(1,"label")(2,"input",27),e.NdJ("click",function(pt){e.CHM(ye);const wt=e.oxw().$implicit,$n=e.oxw(4);return e.KtG($n.checkResource(pt,wt))})("keyup.enter",function(pt){e.CHM(ye);const wt=e.oxw().$implicit,$n=e.oxw(4);return e.KtG($n.checkResource(pt,wt))}),e.qZA(),e.TgZ(3,"span"),e._UZ(4,"div",26),e.YNc(5,Nt,1,1,"i",29),e.qZA()(),e.BQk()}if(2&Ot){const ye=e.oxw().$implicit;e.xp6(2),e.Q6J("id",ye.libraryDBpoolKey)("value",ye.libraryDBpoolKey)("checked",ye.isDefault),e.uIk("title",ye.libraryDBpoolKey),e.xp6(2),e.Q6J("innerHTML",ye.targetName,e.oJD),e.xp6(),e.Q6J("ngIf",ye.targetDescription)}}function Bt(Ot,En){if(1&Ot&&e._UZ(0,"i",30),2&Ot){const ye=e.oxw(2).$implicit;e.Q6J("matTooltip",ye.targetDescription)}}function Ue(Ot,En){if(1&Ot){const ye=e.EpF();e.ynx(0),e.TgZ(1,"label")(2,"input",27),e.NdJ("click",function(pt){e.CHM(ye);const wt=e.oxw().$implicit,$n=e.oxw(4);return e.KtG($n.checkResource(pt,wt))})("keyup.enter",function(pt){e.CHM(ye);const wt=e.oxw().$implicit,$n=e.oxw(4);return e.KtG($n.checkResource(pt,wt))}),e.qZA(),e.TgZ(3,"span")(4,"a",31),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw().$implicit,wt=e.oxw(4);return e.KtG(wt.openLink(null==pt?null:pt.noteUrl))})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw().$implicit,wt=e.oxw(4);return e.KtG(wt.openLink(null==pt?null:pt.noteUrl))}),e._UZ(5,"div",26),e.qZA(),e.YNc(6,Bt,1,1,"i",29),e.qZA()(),e.BQk()}if(2&Ot){const ye=e.oxw().$implicit;e.xp6(2),e.Q6J("id",ye.libraryDBpoolKey)("value",ye.libraryDBpoolKey)("checked",ye.isDefault),e.uIk("title",ye.libraryDBpoolKey),e.xp6(3),e.Q6J("innerHTML",ye.targetName,e.oJD),e.xp6(),e.Q6J("ngIf",ye.targetDescription)}}function nt(Ot,En){if(1&Ot&&(e.TgZ(0,"div",45),e.YNc(1,rn,3,1,"ng-container",24)(2,ft,6,6,"ng-container",24)(3,Ue,7,6,"ng-container",24),e.qZA()),2&Ot){const ye=En.$implicit;e.xp6(),e.Q6J("ngIf","WL"===ye.targetType),e.xp6(),e.Q6J("ngIf","WL"!==ye.targetType&&(null===(null==ye?null:ye.noteUrl)||""===(null==ye?null:ye.noteUrl))),e.xp6(),e.Q6J("ngIf","WL"!==(null==ye?null:ye.targetType)&&null!==(null==ye?null:ye.noteUrl)&&""!==(null==ye?null:ye.noteUrl))}}function Ye(Ot,En){if(1&Ot&&(e.TgZ(0,"div",21),e.YNc(1,nt,4,3,"div",44),e.qZA()),2&Ot){const ye=e.oxw().$implicit;e.xp6(),e.Q6J("ngForOf",ye.searchTargets)}}function zt(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"div",39)(1,"div",40)(2,"label")(3,"input",17),e.NdJ("click",function(pt){const $n=e.CHM(ye).$implicit,pn=e.oxw(2);return e.KtG(pn.checkGroup(pt,$n.searchTargets))})("keyup.enter",function(pt){const $n=e.CHM(ye).$implicit,pn=e.oxw(2);return e.KtG(pn.checkGroup(pt,$n.searchTargets))}),e.qZA(),e._UZ(4,"span",41)(5,"div",42),e.ALo(6,"addStyleToHtml"),e.qZA(),e.TgZ(7,"i",43),e.NdJ("click",function(){const wt=e.CHM(ye).$implicit,$n=e.oxw(2);return e.KtG($n.toggleGroup(wt))})("keyup.enter",function(){const wt=e.CHM(ye).$implicit,$n=e.oxw(2);return e.KtG($n.toggleGroup(wt))}),e.qZA()(),e.YNc(8,Ye,2,1,"div",20),e.qZA()}if(2&Ot){const ye=En.$implicit,It=En.index,pt=e.oxw(2);e.xp6(3),e.Q6J("id","adv2"+It+ye.id)("value",ye.id)("checked",ye.isDefault)("indeterminate",ye.checkedStatus===pt.PARTIAL_CHECKED),e.uIk("title",ye.id),e.xp6(2),e.Q6J("innerHTML",e.lcZ(6,8,null==ye?null:ye.heading),e.oJD),e.xp6(2),e.Q6J("ngClass",ye.isCollapse?"fa fa-sm fa-expand":"fa fa-sm fa-compress"),e.xp6(),e.Q6J("ngIf",!ye.isCollapse)}}function $t(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"div",3)(1,"div",32)(2,"span",33),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.checkAll(!1))})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.checkAll(!1))}),e._UZ(3,"i",6),e.TgZ(4,"span"),e._uU(5," Clear All"),e.qZA()()(),e.TgZ(6,"div",32)(7,"span",34),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.checkAll(!0))})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.checkAll(!0))}),e._UZ(8,"i",8),e.TgZ(9,"span"),e._uU(10," Check All"),e.qZA()()(),e.TgZ(11,"div",32)(12,"span",35),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.resetAll())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.resetAll())}),e._UZ(13,"i",10),e.TgZ(14,"span"),e._uU(15," Set Default"),e.qZA()()(),e.TgZ(16,"div",32)(17,"span",36),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.toggleExpandCollapse())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.toggleExpandCollapse())}),e._UZ(18,"i",12),e.TgZ(19,"span"),e._uU(20),e.qZA()()()(),e.TgZ(21,"div",37),e.YNc(22,zt,9,10,"div",38),e.qZA()}if(2&Ot){const ye=e.oxw();e.xp6(17),e.s9C("title",ye.showCollapseAll?"Collapse All":"Expand All"),e.xp6(),e.Q6J("ngClass",ye.showCollapseAll?"fa fa-lg fa-compress":"fa fa-lg fa-expand"),e.xp6(2),e.Oqu(ye.showCollapseAll?"Collapse All":"Expand All"),e.xp6(2),e.Q6J("ngForOf",ye.resourcesAS)}}let Mn=(()=>{class Ot{transform(ye){return ye.includes("<h3>")&&(ye=ye.replace("<h3>","<h3 style='display:inline-block !imponrtant'>")),ye.includes("<H3>")&&(ye=ye.replace("<H3>","<h3 style='display:inline-block !important'>")),ye}static#e=this.\u0275fac=function(It){return new(It||Ot)};static#t=this.\u0275pipe=e.Yjl({name:"addStyleToHtml",type:Ot,pure:!0})}return Ot})(),Wn=(()=>{class Ot{constructor(ye,It){this._searchService=ye,this._storageService=It,this.embeddedComponent=!1,this.resourcesAS=[],this.fetchResEE=new e.vpe,this.PARTIAL_CHECKED=u.Y$.PARTIAL}ngOnChanges(ye){ye.resourcesAS?.currentValue&&(this.showCollapseAll=!ye.resourcesAS.currentValue.some(It=>It.isCollapse))}openUrl(ye=""){ye?.includes("useracct.asp?")||ye?.includes("MyStatus.aspx")?(ye=this._includeSessId(ye),this.openLink(ye)):this.openLink(ye)}_includeSessId(ye=""){if(ye?.includes("myses=&")){const pt=this._storageService.getItem("userData")?.sessionId;pt&&(ye=ye.replace("myses=&",`myses=${pt}&`))}return ye}openLink(ye){ye&&window.open(ye,"_blank","location=yes,height=650,width=650,scrollbars=yes,status=yes")}resetAll(){this.resourcesAS=this._searchService.getSearchResources(),this._emitResourceSelection()}checkGroup(ye,It){It.forEach(pt=>pt.isDefault=ye.target.checked),u.oD.setCheckStatus(this.resourcesAS),this._emitResourceSelection()}checkResource(ye,It){It.isDefault=ye.target.checked,u.oD.toggleResourcesByLibraryDBPoolKey(this.resourcesAS,It),this._emitResourceSelection()}checkAll(ye){this.resourcesAS.forEach(It=>It.searchTargets.forEach(pt=>pt.isDefault=ye)),u.oD.setCheckStatus(this.resourcesAS),this._emitResourceSelection()}toggleGroup(ye){ye.isCollapse=!ye.isCollapse,ye.isCollapse?!this.resourcesAS.some(pt=>!pt.isCollapse)&&(this.showCollapseAll=!1):!this.resourcesAS.some(pt=>pt.isCollapse)&&(this.showCollapseAll=!0)}toggleExpandCollapse(){this.resourcesAS.map(ye=>ye.isCollapse=this.showCollapseAll),this.showCollapseAll=!this.showCollapseAll}_emitResourceSelection(){const ye=u.oD.getSelectResources(this.resourcesAS);this.fetchResEE.emit(ye)}static#e=this.\u0275fac=function(It){return new(It||Ot)(e.Y36(u.oD),e.Y36(ae.V))};static#t=this.\u0275cmp=e.Xpm({type:Ot,selectors:[["advanced-resources"]],inputs:{embeddedComponent:"embeddedComponent",resourcesAS:"resourcesAS"},outputs:{fetchResEE:"fetchResEE"},features:[e.TTD],decls:4,vars:2,consts:[[1,"container-fluid"],[4,"ngIf","ngIfElse"],["showFullPage",""],[1,"checks","row"],[1,"text-center","col-3","pointer"],["title","Clear All","tabindex","0",3,"click","keyup.enter"],[1,"fa","fa-lg","fa-square-o"],["title","Check All","tabindex","0",3,"click","keyup.enter"],[1,"fa","fa-lg","fa-check-square-o"],["title","Reset to Default","tabindex","0",3,"click","keyup.enter"],[1,"fa","fa-lg","fa-retweet"],["title","Collapse All","tabindex","0",3,"click","keyup.enter"],[3,"ngClass"],[1,"row"],["class","width-100 compPadding",4,"ngFor","ngForOf"],[1,"width-100","compPadding"],[1,"adv-header2","margin-5-0",2,"padding-left","0px"],["type","checkbox",3,"id","value","checked","indeterminate","click","keyup.enter"],[1,"custom-control-description","font-0-8",3,"innerHTML"],["aria-hidden","true","title","Show or Hide Resources","tabindex","0",1,"fa","fa-sm","fa-expand",3,"click","keyup.enter"],["class","resources-main2",4,"ngIf"],[1,"resources-main2"],["class","resource-ulist2 col-12 font-0-8",4,"ngFor","ngForOf"],[1,"resource-ulist2","col-12","font-0-8"],[4,"ngIf"],["tabindex","0",1,"resource-links",3,"click","keyup.enter"],[1,"d-inline-block",2,"cursor","pointer","text-decoration","underline",3,"innerHTML"],["type","checkbox",3,"id","value","checked","click","keyup.enter"],[1,"custom-control-description"],["class","resource-icon fa fa-comment-o","aria-hidden","true",3,"matTooltip",4,"ngIf"],["aria-hidden","true",1,"resource-icon","fa","fa-comment-o",3,"matTooltip"],["tabindex","0",1,"resource-links-2",3,"click","keyup.enter"],[1,"text-center","col-6","col-md-3"],["title","Clear All","tabindex","0",1,"pointer",3,"click","keyup.enter"],["title","Check All","tabindex","0",1,"pointer",3,"click","keyup.enter"],["title","Reset to Default","tabindex","0",1,"pointer",3,"click","keyup.enter"],["tabindex","0",1,"pointer",3,"title","click","keyup.enter"],["id","gridclass",1,"row"],["class","width-100","style","border-bottom: 1px solid var(--shade-three)",4,"ngFor","ngForOf"],[1,"width-100",2,"border-bottom","1px solid var(--shade-three)"],[1,"adv-header2","resource-group2","margin-5-0"],[1,"custom-control-indicator"],[1,"custom-control-description","font-size-09","d-inline-block",3,"innerHTML"],["aria-hidden","true","title","Show or Hide Resources","tabindex","0",3,"ngClass","click","keyup.enter"],["class","resource-ulist2 col-12 col-sm-6 col-lg-4",4,"ngFor","ngForOf"],[1,"resource-ulist2","col-12","col-sm-6","col-lg-4"]],template:function(It,pt){if(1&It&&(e.TgZ(0,"form",0),e.YNc(1,tn,16,2,"ng-container",1)(2,$t,23,4,"ng-template",null,2,e.W1O),e.qZA()),2&It){const wt=e.MAs(3);e.xp6(),e.Q6J("ngIf",pt.embeddedComponent)("ngIfElse",wt)}},dependencies:[E.mk,E.sg,E.O5,A.oO,M._Y,M.JL,M.F,ee.Kd,Mn],styles:["a.active[_ngcontent-%COMP%]{display:inline-block;color:var(--header-color);font-weight:600;cursor:pointer;padding:5px}a.active[_ngcontent-%COMP%]:hover, a.active[_ngcontent-%COMP%]:focus{color:var(--link)!important}.resource-events[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:5px}.resource-event[_ngcontent-%COMP%]{padding:10px}.resource-ulist[_ngcontent-%COMP%]{margin-bottom:initial!important;display:inline-block;min-height:0px!important;vertical-align:top}.resource-ulist[_ngcontent-%COMP%]   .hide[_ngcontent-%COMP%]{visibility:hidden;height:0px;display:initial!important}.no-grid-comp[_ngcontent-%COMP%]   .resource-ulist[_ngcontent-%COMP%]{display:inline-block}.resources-ulist-hide[_ngcontent-%COMP%]{display:none}.compPadding[_ngcontent-%COMP%]{padding:0 4px}.resource-links-2[_ngcontent-%COMP%]{display:inline-block;text-decoration:underline!important;color:#00e!important;cursor:pointer!important}.resource-links[_ngcontent-%COMP%]{display:inline-block;padding:2px 32px;text-decoration:underline}.resources-main[_ngcontent-%COMP%]{padding:0 10px;font-size:.8em!important}.resources-list[_ngcontent-%COMP%]{padding:10px 5px;list-style:none}.resources-heading[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{padding-bottom:10px;font-size:1.25rem}.resources-heading[_ngcontent-%COMP%] > span.resource-icon[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{font-size:1.75em;margin-top:5px;display:inline-block}.resource-icon[_ngcontent-%COMP%]{padding:5px}.resource-list[_ngcontent-%COMP%]{padding:0 5px;list-style:none}.custom-control[_ngcontent-%COMP%]{padding-left:2rem;line-height:initial}.custom-control-indicator[_ngcontent-%COMP%]{height:1.3rem;width:1.3rem}.target-list[_ngcontent-%COMP%]{margin-bottom:0}.advFilter[_ngcontent-%COMP%]{margin-top:15px;padding-bottom:20px}.adv-check[_ngcontent-%COMP%]{color:#454545;font-size:1.1em;padding:5px 10px;margin-top:20px}@media screen and (min-width: 0px) and (max-width: 768px){.adv-header[_ngcontent-%COMP%]{padding-bottom:12%!important}}@media screen and (min-width: 769px) and (max-width: 992px){.adv-header[_ngcontent-%COMP%]{padding-bottom:4%!important}}@media screen and (min-width: 993px) and (max-width: 1200px){.adv-header[_ngcontent-%COMP%]{padding-bottom:3%!important}}.adv-header[_ngcontent-%COMP%]{padding-bottom:10px;clear:none}.adv-header[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:10px;vertical-align:middle;cursor:pointer}.adv-header[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:1.1em;cursor:pointer;width:calc(100% - 30px);display:block;margin-right:5px;margin-bottom:0;float:left;height:35px}.adv-header[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{display:inline-block;width:25px;cursor:pointer}@media screen and (min-width: 0px) and (max-width: 768px){.adv-header2[_ngcontent-%COMP%]{padding-bottom:12%!important}}@media screen and (min-width: 769px) and (max-width: 992px){.adv-header2[_ngcontent-%COMP%]{padding-bottom:4%!important}}@media screen and (min-width: 993px) and (max-width: 1200px){.adv-header2[_ngcontent-%COMP%]{padding-bottom:3%!important}}.adv-header2[_ngcontent-%COMP%]{padding-bottom:10px;clear:none}.adv-header2[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:10px;vertical-align:middle;cursor:pointer}.adv-header2[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:1.1em;cursor:pointer;width:calc(100% - 30px);display:block;margin-right:5px;margin-bottom:0;float:left;height:35px}.adv-header2[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{display:inline-block;width:25px;cursor:pointer}.resource-ulist2[_ngcontent-%COMP%]{margin-bottom:initial!important;display:inline-block;min-height:0px!important;vertical-align:top}.resource-ulist2[_ngcontent-%COMP%]   .hide[_ngcontent-%COMP%]{visibility:hidden;height:0px;display:initial!important}.no-grid-comp[_ngcontent-%COMP%]   .resource-ulist2[_ngcontent-%COMP%]{display:inline-block}.resources-main2[_ngcontent-%COMP%]{padding:0 10px;font-size:.8em!important}.adv-check[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{vertical-align:top}.adv-link[_ngcontent-%COMP%]{color:var(--link)!important;font-size:.85em;cursor:pointer}.rows[_ngcontent-%COMP%]{font-size:1.1em;font-weight:300}.checks[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .header-boxes[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:20px;width:20px}.checks[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{color:var(--text-icons)}.checks[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}.checks[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover, .checks[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus{text-decoration:none;cursor:pointer}.header[_ngcontent-%COMP%]   i[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-top:2px;margin-right:5px;display:inline-block;vertical-align:top;cursor:pointer}.header[_ngcontent-%COMP%]   i.fa-eye-slash[_ngcontent-%COMP%], .header[_ngcontent-%COMP%]   i.fa-compress[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   i.fa-eye-slash[_ngcontent-%COMP%]{color:#ccc}.header[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:0;font-size:1em;vertical-align:top;line-height:1em}.header[_ngcontent-%COMP%]   i.fa-eye[_ngcontent-%COMP%]{color:var(--link)}.header[_ngcontent-%COMP%]{background:var(--text-icons);padding:10px 15px 10px 5px;font-size:1.25em}.boxes[_ngcontent-%COMP%]{padding:5px 10px 5px 35px}.toggle[_ngcontent-%COMP%]{cursor:pointer;padding:5px 10px}p[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{display:block!important}.display-none-class[_ngcontent-%COMP%]{display:none!important}.font-size-09[_ngcontent-%COMP%]{font-size:.9em !important!important}"]})}return Ot})();function di(Ot,En){1&Ot&&(e.TgZ(0,"div",2)(1,"div",3)(2,"div",4)(3,"h3",5),e._uU(4," Warning: You must login to the system before searching the catalog "),e.qZA()()()())}function Pt(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"i",18),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.collapseAS())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.collapseAS())}),e.qZA()}}function Xt(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"i",19),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.expandAS())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.expandAS())}),e.qZA()}}function Le(Ot,En){if(1&Ot&&(e.TgZ(0,"option",53),e._uU(1),e.qZA()),2&Ot){const ye=En.$implicit;e.Q6J("ngValue",ye.value),e.xp6(),e.hij(" ",ye.name," ")}}function ue(Ot,En){if(1&Ot&&(e.TgZ(0,"option",53),e._uU(1),e.qZA()),2&Ot){const ye=En.$implicit;e.Q6J("ngValue",ye.value),e.xp6(),e.hij(" ",ye.name," ")}}function X(Ot,En){if(1&Ot&&(e.TgZ(0,"option",53),e._uU(1),e.qZA()),2&Ot){const ye=En.$implicit;e.Q6J("ngValue",ye.value),e.xp6(),e.hij(" ",ye.name," ")}}const xe=(Ot,En)=>({"advInput col-sm-11":!0,"col-md-3":Ot,"col-md-5":En});function et(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"div",20)(1,"div",21)(2,"div",6)(3,"input",22),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.inputValue1=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())})("keydown.enter",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.onEnterInput())}),e.qZA()(),e.TgZ(4,"div",23)(5,"select",24),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.queryOpt1=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.TgZ(6,"option",25),e._uU(7,"All of these words"),e.qZA(),e.TgZ(8,"option",26),e._uU(9,"Any of these words"),e.qZA(),e.TgZ(10,"option",27),e._uU(11,"This Exact Phrase"),e.qZA()(),e.TgZ(12,"div",28),e._uU(13,"in"),e.qZA(),e.TgZ(14,"select",29),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.ind1=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.YNc(15,Le,2,2,"option",30),e.qZA(),e.TgZ(16,"select",31),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.matchJoinOpt1=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.TgZ(17,"option",32),e._uU(18,"AND"),e.qZA(),e.TgZ(19,"option",33),e._uU(20,"OR"),e.qZA(),e.TgZ(21,"option",34),e._uU(22,"NOT"),e.qZA()()(),e._UZ(23,"div",35),e.qZA(),e.TgZ(24,"div",21)(25,"div",6)(26,"input",36),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.inputValue2=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())})("keydown.enter",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.onEnterInput())}),e.qZA()(),e.TgZ(27,"div",23)(28,"select",37),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.queryOpt2=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.TgZ(29,"option",25),e._uU(30,"All of these words"),e.qZA(),e.TgZ(31,"option",26),e._uU(32,"Any of these words"),e.qZA(),e.TgZ(33,"option",27),e._uU(34,"This Exact Phrase"),e.qZA()(),e.TgZ(35,"div",28),e._uU(36,"in"),e.qZA(),e.TgZ(37,"select",38),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.ind2=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.YNc(38,ue,2,2,"option",30),e.qZA(),e.TgZ(39,"select",39),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.matchJoinOpt2=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.TgZ(40,"option",32),e._uU(41,"AND"),e.qZA(),e.TgZ(42,"option",33),e._uU(43,"OR"),e.qZA(),e.TgZ(44,"option",34),e._uU(45,"NOT"),e.qZA()()(),e._UZ(46,"div",35),e.qZA(),e.TgZ(47,"div",21)(48,"div",6)(49,"input",40),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.inputValue3=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())})("keydown.enter",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.onEnterInput())}),e.qZA()(),e.TgZ(50,"div",23)(51,"select",41),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.queryOpt3=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.TgZ(52,"option",25),e._uU(53,"All of these words"),e.qZA(),e.TgZ(54,"option",26),e._uU(55,"Any of these words"),e.qZA(),e.TgZ(56,"option",27),e._uU(57,"This Exact Phrase"),e.qZA()(),e.TgZ(58,"div",28),e._uU(59,"in"),e.qZA(),e.TgZ(60,"select",42),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.ind3=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.YNc(61,X,2,2,"option",30),e.qZA(),e.TgZ(62,"select",43),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.matchJoinOpt3=pt)})("change",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.TgZ(63,"option",32),e._uU(64,"AND"),e.qZA(),e.TgZ(65,"option",33),e._uU(66,"OR"),e.qZA(),e.TgZ(67,"option",34),e._uU(68,"NOT"),e.qZA()()(),e._UZ(69,"div",35),e.qZA(),e.TgZ(70,"div",44)(71,"div"),e._uU(72,"Sort Order -"),e.qZA(),e.TgZ(73,"select",45),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.sortByValue=pt)}),e.TgZ(74,"option",46),e._uU(75,"Relevance"),e.qZA(),e.TgZ(76,"option",47),e._uU(77,"Title Ascending"),e.qZA(),e.TgZ(78,"option",48),e._uU(79,"Title Descending"),e.qZA(),e.TgZ(80,"option",49),e._uU(81,"Date Ascending"),e.qZA(),e.TgZ(82,"option",50),e._uU(83,"Date Descending"),e.qZA(),e.TgZ(84,"option",51),e._uU(85,"Author Ascending"),e.qZA(),e.TgZ(86,"option",52),e._uU(87,"Author Descending"),e.qZA()()()()}if(2&Ot){const ye=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.WLB(22,xe,!ye.embeddedComponent,ye.embeddedComponent)),e.xp6(),e.Q6J("ngModel",ye.inputValue1)("placeholder",ye.embeddedComponent?"Search Term":"Enter a Search Term"),e.xp6(2),e.Q6J("ngModel",ye.queryOpt1),e.xp6(9),e.Q6J("ngModel",ye.ind1),e.xp6(),e.Q6J("ngForOf",null==ye.advancedSearchIndexes?null:ye.advancedSearchIndexes.advancedSearchBoxOneIndexes),e.xp6(),e.Q6J("ngModel",ye.matchJoinOpt1),e.xp6(9),e.Q6J("ngClass",e.WLB(25,xe,!ye.embeddedComponent,ye.embeddedComponent)),e.xp6(),e.Q6J("ngModel",ye.inputValue2)("placeholder",ye.embeddedComponent?"Search Term":"Enter a Search Term"),e.xp6(2),e.Q6J("ngModel",ye.queryOpt2),e.xp6(9),e.Q6J("ngModel",ye.ind2),e.xp6(),e.Q6J("ngForOf",null==ye.advancedSearchIndexes?null:ye.advancedSearchIndexes.advancedSearchBoxOneIndexes),e.xp6(),e.Q6J("ngModel",ye.matchJoinOpt2),e.xp6(9),e.Q6J("ngClass",e.WLB(28,xe,!ye.embeddedComponent,ye.embeddedComponent)),e.xp6(),e.Q6J("ngModel",ye.inputValue3)("placeholder",ye.embeddedComponent?"Search Term":"Enter a Search Term"),e.xp6(2),e.Q6J("ngModel",ye.queryOpt3),e.xp6(9),e.Q6J("ngModel",ye.ind3),e.xp6(),e.Q6J("ngForOf",null==ye.advancedSearchIndexes?null:ye.advancedSearchIndexes.advancedSearchBoxOneIndexes),e.xp6(),e.Q6J("ngModel",ye.matchJoinOpt3),e.xp6(11),e.Q6J("ngModel",ye.sortByValue)}}function j(Ot,En){1&Ot&&(e.TgZ(0,"div",54)(1,"div",3)(2,"div")(3,"strong",55),e._uU(4,"Please provide one or more valid resources!"),e.qZA()()()())}function F(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"i",58),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw(3);return e.KtG(pt.collapseResources())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw(3);return e.KtG(pt.collapseResources())}),e.qZA()}}function N(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"i",59),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw(3);return e.KtG(pt.expandResources())})("keyup.enter",function(){e.CHM(ye);const pt=e.oxw(3);return e.KtG(pt.expandResources())}),e.qZA()}}function k(Ot,En){if(1&Ot&&(e.TgZ(0,"h3",7),e._uU(1),e.YNc(2,F,1,0,"i",56)(3,N,1,0,"i",57),e.qZA()),2&Ot){const ye=e.oxw(2);e.xp6(),e.hij(" ",ye.resourceLabel," "),e.xp6(),e.Q6J("ngIf",ye.toggleResource),e.xp6(),e.Q6J("ngIf",!ye.toggleResource)}}function ne(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"div",54)(1,"advanced-resources",60),e.NdJ("fetchResEE",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.setResources(pt))}),e.qZA()()}if(2&Ot){const ye=e.oxw(2);e.xp6(),e.Q6J("embeddedComponent",ye.embeddedComponent)("resourcesAS",ye.resourcesArray)}}function z(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"div")(1,"refine-search",61),e.NdJ("filterChangeEE",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.fetchFilters())}),e.qZA()()}if(2&Ot){const ye=e.oxw(2);e.xp6(),e.Q6J("availableFilters",ye.availableFilters)("embeddedComponent",ye.embeddedComponent)}}function re(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"div",54)(1,"div",3)(2,"div",4)(3,"input",62),e.NdJ("ngModelChange",function(pt){e.CHM(ye);const wt=e.oxw(2);return e.KtG(wt.chipDescription=pt)}),e.qZA(),e.TgZ(4,"button",63),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.saveChipQuery())}),e._uU(5,"Save Query"),e.qZA()()()()}if(2&Ot){const ye=e.oxw(2);e.xp6(3),e.Q6J("ngModel",ye.chipDescription)}}function B(Ot,En){if(1&Ot&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&Ot){const ye=e.oxw(3);e.xp6(),e.hij("",ye.hitsCount," Records")}}const Y=Ot=>({"greyed-out":Ot});function Qe(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"button",64),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.doAdvancedSearch())}),e._UZ(1,"i",65),e._uU(2,"Search "),e.YNc(3,B,2,1,"span",14),e.qZA()}if(2&Ot){const ye=e.oxw(2);e.Q6J("disabled",!ye.canDoAdvancedSearch)("ngClass",e.VKq(4,Y,!ye.canDoAdvancedSearch)),e.xp6(),e.Q6J("ngClass",ye.fetchingFilters?"fa fa-spin fa-circle-o-notch":"fa fa-search"),e.xp6(2),e.Q6J("ngIf",ye.hitsCount>-1)}}function _t(Ot,En){if(1&Ot&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&Ot){const ye=e.oxw(3);e.xp6(),e.hij("",ye.hitsCount," Records")}}function Vt(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"button",66),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw(2);return e.KtG(pt.doAdvancedSearch())}),e._UZ(1,"i",67),e._uU(2,"Search "),e.YNc(3,_t,2,1,"span",14),e.qZA()}if(2&Ot){const ye=e.oxw(2);e.Q6J("disabled",!ye.canDoAdvancedSearch)("ngClass",e.VKq(4,Y,!ye.canDoAdvancedSearch)),e.xp6(),e.Q6J("ngClass",ye.fetchingFilters?"fa fa-spin fa-circle-o-notch":"fa fa-search"),e.xp6(2),e.Q6J("ngIf",ye.hitsCount>-1)}}const bn=Ot=>({container:!0,topic:Ot});function xn(Ot,En){if(1&Ot){const ye=e.EpF();e.TgZ(0,"div",6)(1,"h3",7),e._uU(2," Advanced Search "),e.TgZ(3,"button",8),e.NdJ("click",function(){e.CHM(ye);const pt=e.oxw();return e.KtG(pt.clearAll())}),e._uU(4,"Reset"),e.qZA(),e.YNc(5,Pt,1,0,"i",9)(6,Xt,1,0,"i",10),e.qZA(),e.YNc(7,et,88,31,"div",11)(8,j,5,0,"div",12)(9,k,4,3,"h3",13)(10,ne,2,2,"div",12)(11,z,2,2,"div",14)(12,re,6,1,"div",12),e.TgZ(13,"div",15),e.YNc(14,Qe,4,6,"button",16)(15,Vt,4,6,"button",17),e.qZA()()}if(2&Ot){const ye=e.oxw();e.Q6J("ngClass",e.VKq(11,bn,ye.embeddedComponent)),e.xp6(5),e.Q6J("ngIf",ye.toggleAS),e.xp6(),e.Q6J("ngIf",!ye.toggleAS),e.xp6(),e.Q6J("ngIf",ye.toggleAS),e.xp6(),e.Q6J("ngIf",ye.showNoResourceMessage),e.xp6(),e.Q6J("ngIf",ye.resourceLabel),e.xp6(),e.Q6J("ngIf",ye.toggleResource),e.xp6(),e.Q6J("ngIf",ye.availableFilters),e.xp6(),e.Q6J("ngIf",ye.showSaveQueryButton),e.xp6(2),e.Q6J("ngIf",!ye.embeddedComponent),e.xp6(),e.Q6J("ngIf",!ye.embeddedComponent)}}let Fn=(()=>{class Ot{constructor(ye,It,pt,wt,$n,pn,Vn,Ct,nn,Wt){this.snackBar=ye,this._router=It,this._activatedRoute=pt,this._storageService=wt,this._advancedSearchService=$n,this._searchService=pn,this._authService=Vn,this._analyticsService=Ct,this._searchHistoryService=nn,this._sharedService=Wt,this.grid=!0,this.count=new e.vpe,this.editedChip=new e.vpe,this.toggleResource=!0,this.toggleAS=!0,this.resourcesArray=[],this.ind1="all_headings",this.ind2="all_headings",this.ind3="all_headings",this.queryOpt1="ALL",this.queryOpt2="ALL",this.queryOpt3="ALL",this.matchJoinOpt1="AND",this.matchJoinOpt2="AND",this.matchJoinOpt3="AND",this.inputValue1="",this.inputValue2="",this.inputValue3="",this.sortByValue=u.n2.RELEVANCE,this.canDoAdvancedSearch=!0,this.showNoResourceMessage=!1,this.enableSearch=!0,this.fetchingFilters=!0,this._startRecord=1,this._unsubscribeAll=new m.x}ngOnChanges(ye){ye?.topic?.currentValue&&(this.topic=ye.topic.currentValue),ye?.topicTemplate?.currentValue&&(this.topicTemplate=ye.topicTemplate.currentValue),ye?.chipEdit?.currentValue&&(this.chipEdit=ye.chipEdit.currentValue,this.loadEditTopicInfoAsync()),ye?.template?.currentValue&&(this.template=ye.template.currentValue),this.template?.query&&this._loadEditShowCaseInfoAsync()}ngOnInit(){if(this._userData=this._authService.getUserDataFromSession(),!this._userData)throw new Error("userData missing !!!");this.enableSearch=this._userData.opacOptions.enableSearch,this.template?.query||(this.sortByValue="relevance"===this._searchService.sortBy?this._searchService.sortBy:`${this._searchService.sortBy}_${this._searchService.orderBy}`),this._activatedRoute.queryParams.pipe((0,L.R)(this._unsubscribeAll)).subscribe(ye=>{this._isHistory="true"==ye.history||this.embeddedComponent&&this.template&&"edit"!=this.template.typeOf,this._isModifySearch="true"==ye.fromSearch,this._hasListenedToParams||(this._hasListenedToParams=!0),(0,p.a)([this._searchService.getSearchResourcesBS(),this._searchService.getSearchIndexesBS()]).pipe((0,L.R)(this._unsubscribeAll)).subscribe(([It,pt])=>{!It||!pt||(this.resourcesArray=this._searchService.getSearchResources(),this.advancedSearchIndexes=pt.advancedSearchIndexes,this._performAdvancedSearchAsync(),this.fetchFilters())})})}ngOnDestroy(){this._unsubscribeAll.next(),this._unsubscribeAll.complete()}_performAdvancedSearchAsync(){var ye=this;return(0,t.Z)(function*(){if(ye.resetSearch(),ye._isHistory||ye._isModifySearch){const It=ye._searchHistoryService.getHistoryCached();if(!It)throw new Error("history info missing !!");ye._searchQuery=It.searchQuery,ye._filters=ye._searchQuery.filters,u.oD.setSelectedSearchResources(ye.resourcesArray,ye._searchQuery?.resources??[]),ye.sortByValue="relevance"===It.searchQuery.sortBy[0]?It.searchQuery.sortBy[0]:`${It.searchQuery.sortBy[0]}_${It.searchQuery.orderBy}`,ye._searchQuery?.facetMatches?.forEach($n=>{switch($n.index){case"lang":ye._filters.languages=ye.addToFilter(ye._filters.languages,$n.query);break;case"format_long":ye._filters.formats=ye.addToFilter(ye._filters.formats,$n.query);break;case"publication_date_range":case"publication_date":ye._filters.pubYears=ye.addToFilter(ye._filters.pubYears,$n.query);break;case"hld_materialtype":ye._filters.materialTypes=ye.addToFilter(ye._filters.materialTypes,$n.query);break;case"audience":ye._filters.forAudiences=ye.addToFilter(ye._filters.forAudiences,$n.query);break;case O.Q.ACCELERATED_READER_INTEREST_LEVEL:ye._filters.acceleratedReaderInterestLevel=ye.addToFilter(ye._filters.acceleratedReaderInterestLevel,$n.query);break;case O.Q.ACCELERATED_READER_READING_LEVEL+"_range":case O.Q.ACCELERATED_READER_READING_LEVEL:ye._filters.acceleratedReaderReadingLevel=ye.addToFilter(ye._filters.acceleratedReaderReadingLevel,$n.query);break;case O.Q.ACCELERATED_READER_TITLE_POINT_VALUE+"_range":case O.Q.ACCELERATED_READER_TITLE_POINT_VALUE:ye._filters.acceleratedReaderTitlePointValue=ye.addToFilter(ye._filters.acceleratedReaderTitlePointValue,$n.query);break;case O.Q.READING_COUNTS_READING_LEVEL+"_range":case O.Q.READING_COUNTS_READING_LEVEL:ye._filters.readingCountsReadingLevel=ye.addToFilter(ye._filters.readingCountsReadingLevel,$n.query);break;case O.Q.READING_COUNTS_TITLE_POINT_VALUE+"_range":case O.Q.READING_COUNTS_TITLE_POINT_VALUE:ye._filters.readingCountsTitlePointValue=ye.addToFilter(ye._filters.readingCountsTitlePointValue,$n.query);break;case O.Q.READING_COUNTS_INTEREST_LEVEL:ye._filters.readingCountsInterestLevel=ye.addToFilter(ye._filters.readingCountsInterestLevel,$n.query);break;case"has_oclc_number":ye._filters.hasOclcNumber=ye.addToFilter(ye._filters.hasOclcNumber,$n.query);break;case O.Q.LEXILE_READING_GRADE_LEVEL+"_range":case O.Q.LEXILE_READING_GRADE_LEVEL:ye._filters.Lexile=ye.addToFilter(ye._filters.Lexile,$n.query);break;case"awards":ye._filters.awards=ye.addToFilter(ye._filters.awards,$n.query);break;case"reading_program":ye._filters.readingPrograms=ye.addToFilter(ye._filters.readingPrograms,$n.query);break;case"date_added":ye._filters.DateItemsAdded=ye.addToFilter(ye._filters.DateItemsAdded,$n.query);break;case O.Q.CLCD_AGE:ye._filters.clcdAge=ye.addToFilter(ye._filters.clcdAge,$n.query);break;case O.Q.CLCD_GRADES:ye._filters.clcdGrades=ye.addToFilter(ye._filters.clcdGrades,$n.query)}});const wt=ye._searchQuery?.matches;for(let $n=0;$n<wt.length;$n++){const pn=wt[$n];pn.query="*"==pn.query?.trim()?"":pn.query?.trim(),0==$n&&(ye.inputValue1=pn.query,ye.queryOpt1=pn.queryOption,ye.ind1=pn.index,ye.matchJoinOpt1=pn.matchJoinOperator),1==$n&&(ye.inputValue2=pn.query,ye.queryOpt2=pn.queryOption,ye.ind2=pn.index,ye.matchJoinOpt2=pn.matchJoinOperator),2==$n&&(ye.inputValue3=pn.query,ye.queryOpt3=pn.queryOption,ye.ind3=pn.index,ye.matchJoinOpt3=pn.matchJoinOperator)}}})()}addToFilter(ye,It){return(ye=ye??[]).push(It),ye}loadEditTopicInfoAsync(){var ye=this;return(0,t.Z)(function*(){ye.template=ye.chipEdit,ye._chipPosition=ye.chipEdit.position,ye.chipEdit.description&&(ye.chipDescription=Array.isArray(ye.chipEdit.description)?ye.chipEdit.description[0]:ye.chipEdit.description),ye.chipEdit.query&&(ye.showSaveQueryButton=!0,yield ye._loadEditComponentInfoAsync(ye.chipEdit.query))})()}_loadEditShowCaseInfoAsync(){var ye=this;return(0,t.Z)(function*(){ye._hasListenedToParams=!0,ye.sortByValue=ye._searchService.getSortByType(ye.template.query.searchQuery.sortBy,ye.template.query.searchQuery.orderBy),yield ye._loadEditComponentInfoAsync(ye.template.query)})()}_loadEditComponentInfoAsync(ye){var It=this;return(0,t.Z)(function*(){u.oD.setSelectedSearchResources(It.resourcesArray,ye?.searchQuery?.resources??[]),It._searchHistoryService.setHistoryCached(ye),It._isHistory=!0,It._isModifySearch=!1,It.resetSearch(),It._performAdvancedSearchAsync(),It.fetchFilters()})()}setResources(ye){if(u.oD.setSelectedSearchResources(this.resourcesArray,ye),0==ye.length)return this.showNoResourceMessage=!0,void this.disableSearch();this.showNoResourceMessage=!1,this.resourcesArray.flatMap(pt=>pt.searchTargets).filter(pt=>pt.isDefault).some(pt=>"AG"==pt.targetType||"AV"==pt.targetType)?this.fetchFilters():this._filtersBindings({hitsCount:-1,filters:[],filterLabel:this._filterLabel,resourceLabel:this.resourceLabel})}_filtersBindings(ye){this.availableFilters=ye,this.hitsCount=ye.hitsCount,this._filterLabel=ye.filterLabel,this.resourceLabel=ye.resourceLabel,this.canDoAdvancedSearch=-1==this.hitsCount||this.hitsCount>0||this.howNonAGAZSelect(),this.count.emit(this.hitsCount)}disableSearch(){this.availableFilters=null,this.canDoAdvancedSearch=!1,this.hitsCount=-1,this.count.emit(this.hitsCount)}howNonAGAZSelect(){return this.resourcesArray.map(ye=>ye.searchTargets.filter(It=>It.isDefault)).flat().filter(ye=>ye).some(ye=>"AG"!=ye.targetType&&"AV"!=ye.targetType)}fetchFilters(){this.fetchingFilters=!0,this._advancedSearchService.getAvailableFilters(this.buildFilterRequest()).pipe((0,y.x)(()=>this.fetchingFilters=!1)).subscribe(ye=>{this._filtersBindings(ye)},()=>{this.disableSearch()})}saveChipQuery(){if(""==this.chipDescription)this.openSnackBar("Enter description for the chip","ok");else{const ye=[];ye.push(this.chipDescription);const It={query:this.buildAdvancedSearchRequest(),description:ye,position:this._chipPosition};this.editedChip.emit(It),this.showSaveQueryButton=!1}}resetSearch(){this.resourcesArray=this._searchService.getSearchResources(),this.queryOpt1="ALL",this.queryOpt2="ALL",this.queryOpt3="ALL",this.matchJoinOpt1="AND",this.matchJoinOpt2="AND",this.matchJoinOpt3="AND",this.inputValue1="",this.inputValue2="",this.inputValue3="",this.ind1=this.advancedSearchIndexes?.advancedSearchBoxOneIndexes.find(ye=>1==ye.isDefault)?.value,this.ind2=this.advancedSearchIndexes?.advancedSearchBoxTwoIndexes.find(ye=>1==ye.isDefault)?.value,this.ind3=this.advancedSearchIndexes?.advancedSearchBoxThreeIndexes.find(ye=>1==ye.isDefault)?.value}clearAll(){this.refineSearchComponent?.clearAll(),this.resetSearch();const ye=u.oD.getSelectResources(this.resourcesArray);this.setResources(ye)}doAdvancedSearch(){if(this.hitsCount<1&&U.F.isEmpty(this.inputValue1)&&U.F.isEmpty(this.inputValue2)&&U.F.isEmpty(this.inputValue3))return void this.openSnackBar("Please enter a search term to start searching","ok");this._analyticsService.logEvent("Search",{query1:this.inputValue1.trim(),index1:this.ind1,query2:this.inputValue2.trim(),index2:this.ind2,query3:this.inputValue3.trim(),index3:this.ind3}),this._storageService.setItem("facetFilterArray",[]);const ye=u.oD.getSelectResources(this.resourcesArray);this._storageService.setItem("history",this.buildAdvancedSearchRequest());const It=this.createMatches();let pt="";if(It.length>0){for(let wt=0;wt<It.length;wt++){const $n=It[wt];if(0==wt)pt=$n.query,this._storageService.setItem("Search-TERM",pt);else{pt=pt+","+$n.query;const Vn=this._storageService.getItem("Search-TERM")+" "+$n.query;this._storageService.setItem("Search-TERM",Vn)}}this._storageService.setItem("Search-TERM",pt)}else this._storageService.remove("Search-TERM");ye.length?this._searchService.doSearch(this.buildAdvancedSearchRequest()):this.openSnackBar("Please select resources for search","ok")}onEnterInput(){this.canDoAdvancedSearch&&(this.embeddedComponent||this.doAdvancedSearch())}buildAdvancedSearchRequest(){const ye=this.createMatches(),It=this.refineSearchComponent?.getFilters()??{},pt=this._searchService.getSortAndOrderBy(this.sortByValue);return{searchQuery:{matches:ye,filters:It,resources:u.oD.getSelectResources(this.resourcesArray),resultType:this._searchService.resultType,sortBy:[pt.sortBy],orderBy:pt.orderBy,startRecord:this._startRecord,numOfRecords:this._searchService.numOfRecords,searchType:u.VO.ADVANCED,resultStatusOnly:!1,isKidsSearch:this._sharedService.getIsKidsCat()}}}buildFilterRequest(){const ye=this.createMatches();return this._filters=this.refineSearchComponent?.getFilters()??this._filters,{searchQuery:{matches:ye,filters:this._filters,resources:u.oD.getSelectResources(this.resourcesArray)}}}createMatches(){const ye=[];return U.F.isEmpty(this.inputValue1)||ye.push(this.createMatch(this.ind1,this.inputValue1,this.queryOpt1,this.matchJoinOpt1)),U.F.isEmpty(this.inputValue2)||ye.push(this.createMatch(this.ind2,this.inputValue2,this.queryOpt2,this.matchJoinOpt2)),U.F.isEmpty(this.inputValue3)||ye.push(this.createMatch(this.ind3,this.inputValue3,this.queryOpt3,this.matchJoinOpt3)),ye}createMatch(ye,It,pt,wt){return{index:ye,query:It,queryOption:pt,matchJoinOperator:wt}}toggleGroup(){this._isCollapsed=!this._isCollapsed}openSnackBar(ye,It){this.snackBar.open(ye,It,{duration:5e3,verticalPosition:"top"})}collapseResources(){this.toggleResource=!1}expandResources(){this.toggleResource=!0}collapseAS(){this.toggleAS=!1}expandAS(){this.toggleAS=!0}static#e=this.\u0275fac=function(It){return new(It||Ot)(e.Y36(sn.pl),e.Y36(hn.F0),e.Y36(hn.gz),e.Y36(ae.V),e.Y36(I.i),e.Y36(u.oD),e.Y36(n.e8),e.Y36(mt.y),e.Y36(Nn.r),e.Y36(U.F))};static#t=this.\u0275cmp=e.Xpm({type:Ot,selectors:[["ag-advanced-search"]],viewQuery:function(It,pt){if(1&It&&e.Gf(Ft,5),2&It){let wt;e.iGM(wt=e.CRH())&&(pt.refineSearchComponent=wt.first)}},inputs:{topic:"topic",showcase:"showcase",grid:"grid",embeddedComponent:"embeddedComponent",template:"template",topicTemplate:"topicTemplate",chipEdit:"chipEdit",clear:"clear"},outputs:{count:"count",editedChip:"editedChip"},features:[e._Bn([{provide:e.QbO,useValue:"BrowserAnimations"}]),e.TTD],decls:4,vars:2,consts:[["class","container",4,"ngIf","ngIfElse"],["showSearchForm",""],[1,"container"],[1,"row"],[1,"col-12"],[2,"color","red","text-align","center","margin-top","20px"],[3,"ngClass"],[1,"advHeading"],["type","button","s","",1,"btn","btn-link",3,"click"],["class","fa fa-lg fa-compress","title","collapse Advanced Search boxes","style","\n            font-size: 0.6em;\n            float: right;\n            margin-right: 2%;\n            cursor: pointer;\n            margin-top: 1.5%;\n          ","tabindex","0",3,"click","keyup.enter",4,"ngIf"],["class","fa fa-lg fa-expand","title","expand Advanced Search boxes","style","\n            font-size: 0.6em;\n            float: right;\n            margin-right: 2%;\n            cursor: pointer;\n            margin-top: 1.5%;\n          ","tabindex","0",3,"click","keyup.enter",4,"ngIf"],["class","advance-phrase",4,"ngIf"],["class","container-fluid",4,"ngIf"],["class","advHeading",4,"ngIf"],[4,"ngIf"],[1,"mob-actions","one-btn"],["type","button","class","d-inline d-lg-none btn btn-link",3,"disabled","ngClass","click",4,"ngIf"],["type","button","class","d-none d-lg-inline-block btn btn-lg fixed shadow right-100 bottom-40 btn-primary",3,"disabled","ngClass","click",4,"ngIf"],["title","collapse Advanced Search boxes","tabindex","0",1,"fa","fa-lg","fa-compress",2,"font-size","0.6em","float","right","margin-right","2%","cursor","pointer","margin-top","1.5%",3,"click","keyup.enter"],["title","expand Advanced Search boxes","tabindex","0",1,"fa","fa-lg","fa-expand",2,"font-size","0.6em","float","right","margin-right","2%","cursor","pointer","margin-top","1.5%",3,"click","keyup.enter"],[1,"advance-phrase"],[1,"advPhraseContainer"],["agAutofocus","","name","input1","type","text","role","textbox",3,"ngModel","placeholder","ngModelChange","change","keydown.enter"],[1,"advIndexOperator","col-12","text-center"],["name","queryOption1",3,"ngModel","ngModelChange","change"],["value","ALL"],["value","ANY"],["value","phrase"],[1,"textIn"],["name","index1",3,"ngModel","ngModelChange","change"],[3,"ngValue",4,"ngFor","ngForOf"],["name","matchJoinOperator1",3,"ngModel","ngModelChange","change"],["value","AND"],["value","OR"],["value","NOT"],[1,"clearfix"],["name","input2","type","text","role","textbox",3,"ngModel","placeholder","ngModelChange","change","keydown.enter"],["name","queryOption2",3,"ngModel","ngModelChange","change"],["name","index2",3,"ngModel","ngModelChange","change"],["name","matchJoinOperator2",3,"ngModel","ngModelChange","change"],["name","input3","type","text","role","textbox",3,"ngModel","placeholder","ngModelChange","change","keydown.enter"],["name","queryOption3",3,"ngModel","ngModelChange","change"],["name","index3",3,"ngModel","ngModelChange","change"],["name","matchJoinOperator3",3,"ngModel","ngModelChange","change"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","10px"],["name","sortOrder",3,"ngModel","ngModelChange"],["value","relevance"],["value","title_asc"],["value","title_desc"],["value","date_asc"],["value","date_desc"],["value","author_asc"],["value","author_desc"],[3,"ngValue"],[1,"container-fluid"],[2,"color","red"],["class","fa fa-lg fa-compress","title","collapse resources","style","\n            font-size: 0.6em;\n            float: right;\n            margin-right: 2%;\n            cursor: pointer;\n            margin-top: 1.5%;\n          ","tabindex","0",3,"click","keyup.enter",4,"ngIf"],["class","fa fa-lg fa-expand","title","expand resources","style","\n            font-size: 0.6em;\n            float: right;\n            margin-right: 2%;\n            cursor: pointer;\n            margin-top: 1.5%;\n          ","tabindex","0",3,"click","keyup.enter",4,"ngIf"],["title","collapse resources","tabindex","0",1,"fa","fa-lg","fa-compress",2,"font-size","0.6em","float","right","margin-right","2%","cursor","pointer","margin-top","1.5%",3,"click","keyup.enter"],["title","expand resources","tabindex","0",1,"fa","fa-lg","fa-expand",2,"font-size","0.6em","float","right","margin-right","2%","cursor","pointer","margin-top","1.5%",3,"click","keyup.enter"],[3,"embeddedComponent","resourcesAS","fetchResEE"],[3,"availableFilters","embeddedComponent","filterChangeEE"],["matInput","","placeholder","Chip Description",2,"border-style","solid",3,"ngModel","ngModelChange"],["type","button",1,"btn","btn-dark",3,"click"],["type","button",1,"d-inline","d-lg-none","btn","btn-link",3,"disabled","ngClass","click"],["aria-hidden","true",2,"color","var(--button-color) !important","margin-right","10px",3,"ngClass"],["type","button",1,"d-none","d-lg-inline-block","btn","btn-lg","fixed","shadow","right-100","bottom-40","btn-primary",3,"disabled","ngClass","click"],["aria-hidden","true",2,"margin-right","10px",3,"ngClass"]],template:function(It,pt){if(1&It&&(e.TgZ(0,"main"),e.YNc(1,di,5,0,"div",0)(2,xn,16,13,"ng-template",null,1,e.W1O),e.qZA()),2&It){const wt=e.MAs(3);e.xp6(),e.Q6J("ngIf",!pt.enableSearch)("ngIfElse",wt)}},dependencies:[E.mk,E.sg,E.O5,Jt.Q,cn.xw,cn.SQ,cn.Wh,A.oO,M.YN,M.Kr,M.Fj,M.EJ,M.JJ,M.On,He.k0,Wn,Ft],styles:["a[_ngcontent-%COMP%]{color:var(--link)}select[_ngcontent-%COMP%]{padding:5px 10px;border-radius:5px;border:1px solid lightgrey}.advHeading[_ngcontent-%COMP%]{margin-top:15px;border-bottom:3px solid var(--text-icons);text-indent:15px;clear:both;width:100%;display:inline-block;margin-bottom:0}.linkText[_ngcontent-%COMP%]{font-size:.65em;color:var(--link);cursor:pointer}.adv-link[_ngcontent-%COMP%]{color:var(--link)!important;cursor:pointer}.advPhraseContainer[_ngcontent-%COMP%]{padding:5px 0 0;clear:both;display:block;margin:5px 0;color:var(text-icons);background:var(--offset-three)}.advInput[_ngcontent-%COMP%]{clear:left}.advance-phrase[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:10px 5px;margin:0 5px 5px;width:96%;float:left;font-size:.85em;border-radius:5px;border:1px solid lightgrey}.advance-phrase[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin-bottom:5px;float:left}.advIndexOperator[_ngcontent-%COMP%]{max-width:initial!important}.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{display:inline-block;float:left;width:88%;margin:0 5px 5px;padding:10px;font-size:.85em}.textIn[_ngcontent-%COMP%]{padding:0 10px;display:inline;line-height:36px;float:left;line-height:48px;height:48px;color:var(--header-color)}.advSearchOptions[_ngcontent-%COMP%]{display:inline-block;width:100%;padding:5px 15px 10px}.advSearchOptionsLabel[_ngcontent-%COMP%]{display:inline-block}.advSearchOptions[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{display:inline-block;clear:right;padding:5px;float:inherit;margin-left:5px}.advCTA[_ngcontent-%COMP%]{position:fixed;z-index:1029;cursor:pointer;text-align:right;text-decoration:none;right:100px;bottom:40px;opacity:.85;line-height:45px}.advCTA[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}.target-events[_ngcontent-%COMP%]{background:#efefef;color:gray;cursor:pointer;text-align:center;border-radius:5px}.target-event[_ngcontent-%COMP%]{padding:10px}.target-event[_ngcontent-%COMP%]:hover, .target-event[_ngcontent-%COMP%]:focus{background:#d3d3d3;color:gray}.target-list[_ngcontent-%COMP%]{padding-left:0;list-style:none;clear:both;margin-bottom:25px}.target-heading[_ngcontent-%COMP%]{width:100%}.target-heading[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{padding-bottom:10px;font-size:1.15rem}.target-heading[_ngcontent-%COMP%] > span.target-icon[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{color:gray;font-size:1.75em;margin-top:5px;display:inline-block}.target-icon[_ngcontent-%COMP%]{padding:5px;vertical-align:middle}.target-list-ul[_ngcontent-%COMP%]{padding:5px 35px 5px 15px;list-style:none;margin-bottom:30px;clear:both}.target-list-li[_ngcontent-%COMP%]{float:left}.custom-control[_ngcontent-%COMP%]{padding-left:2rem;line-height:2rem}.custom-control-indicator[_ngcontent-%COMP%]{height:1.5rem;width:1.5rem}.refineLibrarySelect[_ngcontent-%COMP%]{padding:5px;margin-left:35px}.adv-fields[_ngcontent-%COMP%]{padding:0}.field-range[_ngcontent-%COMP%]{text-align:center;width:100%}.field-range[_ngcontent-%COMP%]   .min[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]   .max[_ngcontent-%COMP%]{max-width:125px;text-align:center;display:inline-block}.field-range[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{max-width:100px;text-align:center;font-size:1.5em;margin:0 auto;padding-left:20px}.field-range[_ngcontent-%COMP%]   .dash[_ngcontent-%COMP%]{font-size:3em;padding-top:4px;color:#d3d3d3;display:inline-block;vertical-align:top}.range-action[_ngcontent-%COMP%]{font-size:.5em;color:#009688!important;display:block;padding-top:10px;cursor:pointer}@media screen and (min-width: 768px) and (max-width: 991px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:130px}}@media screen and (min-width: 992px) and (max-width: 1199px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:180px}}@media screen and (min-width: 1200px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:220px}}.topic[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.25em!important}.topic[_ngcontent-%COMP%]   h3.advHeading[_ngcontent-%COMP%]{font-size:1.25em!important;margin-top:initial!important}.topic[_ngcontent-%COMP%]   .advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:145px!important}.greyed-out[_ngcontent-%COMP%]{color:#d3d3d3!important;cursor:not-allowed!important;pointer-events:none}.greyed-out[_ngcontent-%COMP%]:hover, .greyed-out[_ngcontent-%COMP%]:focus{text-decoration:none!important}.container[_ngcontent-%COMP%]{max-width:1152px!important}"]})}return Ot})()},5501:(jt,$e,s)=>{"use strict";s.d($e,{i:()=>L});var t=s(5861),u=s(8913),e=s(7895),m=s(7398),p=s(9212),U=s(4259),n=s(3941),I=s(9862);let L=(()=>{class y extends u.P{constructor(M,E,A){super(),this.storageService=M,this.configService=E,this._http=A}getDefaultAvailableFiltersAsync(){var M=this;return(0,t.Z)(function*(){const E=M.storageService.getItem("availableResources"),S={searchQuery:{matches:[],filters:{},resources:e.oD.getSelectResources(E)}};yield M.getFiltersAsync(S)})()}getFiltersAsync(M){var E=this;return(0,t.Z)(function*(){return yield E.getAvailableFilters(M).toPromise()})()}getAvailableFilters(M){return this._http.post(`${this.configService.searchApi}/search/AdvancedFilters`,M).pipe((0,m.U)(A=>{if(A&&"success"==A.message.toLowerCase())return A.data}))}static#e=this.\u0275fac=function(E){return new(E||y)(p.LFG(U.V),p.LFG(n.E),p.LFG(I.eN))};static#t=this.\u0275prov=p.Yz7({token:y,factory:y.\u0275fac})}return y})()},2506:(jt,$e,s)=>{"use strict";s.r($e),s.d($e,{BrowseModule:()=>W});var t=s(6814),u=s(2787),e=s(8036),m=s(4716),p=s(6223),U=s(7895),n=s(9081),I=s(9212);function L(we,P){1&we&&(I.TgZ(0,"label",16),I._uU(1," Please Enter a Search "),I.qZA())}function y(we,P){if(1&we&&(I.TgZ(0,"option",17),I._uU(1),I.qZA()),2&we){const V=P.$implicit;I.Q6J("ngValue",V.value),I.xp6(),I.Oqu(V.label)}}function O(we,P){if(1&we&&(I.TgZ(0,"option",17),I._uU(1),I.qZA()),2&we){const V=P.$implicit;I.Q6J("ngValue",V),I.xp6(),I.hij(" ",V," ")}}function M(we,P){1&we&&I._UZ(0,"mat-spinner",18),2&we&&I.Q6J("diameter",100)}function E(we,P){if(1&we){const V=I.EpF();I.TgZ(0,"ag-browse-table-paging",24),I.NdJ("paging",function(G){I.CHM(V);const be=I.oxw(2);return I.KtG(be.setQueryParams(G))}),I.qZA()}if(2&we){const V=I.oxw(2);I.Q6J("initialOffset",V.initialSearchOffset)("currentOffset",V.browseSearchData.currentSetId)("previousOffset",V.browseSearchData.prevSetId)("nextOffset",V.browseSearchData.nextSetId)}}function A(we,P){if(1&we&&I._UZ(0,"ag-browse-table",25),2&we){const V=I.oxw(2);I.Q6J("browseTerms",V.browseTerms)}}function S(we,P){if(1&we){const V=I.EpF();I.TgZ(0,"ag-browse-table-paging",26),I.NdJ("paging",function(G){I.CHM(V);const be=I.oxw(2);return I.KtG(be.setQueryParams(G))}),I.qZA()}if(2&we){const V=I.oxw(2);I.Q6J("initialOffset",V.initialSearchOffset)("currentOffset",V.browseSearchData.currentSetId)("previousOffset",V.browseSearchData.prevSetId)("nextOffset",V.browseSearchData.nextSetId)}}function Z(we,P){if(1&we&&(I.TgZ(0,"div",19),I.YNc(1,E,1,4,"ag-browse-table-paging",20),I.qZA(),I.YNc(2,A,1,1,"ag-browse-table",21),I.TgZ(3,"div",22),I.YNc(4,S,1,4,"ag-browse-table-paging",23),I.qZA()),2&we){const V=I.oxw();I.xp6(),I.Q6J("ngIf",V.browseSearchData),I.xp6(),I.Q6J("ngIf",V.browseTerms),I.xp6(2),I.Q6J("ngIf",V.browseSearchData)}}const oe=we=>({"border-red":we});var le=function(we){return we.SEARCH_TERM="searchTerm",we.INDEX="index",we.PAGE_SIZE="pageSize",we.CURRENT_SEARCH_OFFSET="currentSearchOffset",we.INITIAL_SEARCH_OFFSET="initialSearchOffset",we}(le||{}),ee=function(we){return we.SEARCH_TERM="st",we.INDEX="i",we.PAGE_SIZE="ps",we.CURRENT_SEARCH_OFFSET="cso",we.INITIAL_SEARCH_OFFSET="iso",we}(ee||{});let K=(()=>{class we{constructor(V,Se,G,be,de){this._fb=V,this._router=Se,this._activatedRoute=G,this._searchService=be,this._sharedService=de,this.pageSizes=[25,50,75,100],this.indexes=[{label:"Item Call Number",value:"local_call_number"}],this._pageSize=this.pageSizes[0],this._browseIndex=this.indexes[0].value}ngOnInit(){this.createForm(),this._activatedRoute.queryParams.subscribe(V=>{V[ee.SEARCH_TERM]?(this.setFormValues(V),this._pageSize=this.browseForm.get(le.PAGE_SIZE).value,this.initialSearchOffset=V[ee.INITIAL_SEARCH_OFFSET],V[ee.CURRENT_SEARCH_OFFSET]?this.paging(V[ee.CURRENT_SEARCH_OFFSET]):this.browseSearch()):this.browseTerms=null})}createForm(){this.browseForm=this._fb.group({searchTerm:["",p.kI.required],index:[this.indexes[0].value],pageSize:this._pageSize})}setFormValues(V){this.browseForm.get(le.SEARCH_TERM).setValue(V[ee.SEARCH_TERM]),this.browseForm.get(le.INDEX).setValue(V[ee.INDEX]),this.browseForm.get(le.PAGE_SIZE).setValue(parseInt(V[ee.PAGE_SIZE]))}browseSearch(){this.browseForm.get(le.SEARCH_TERM)?.value&&(this._pageSize=this.browseForm.get(le.PAGE_SIZE)?.value,this.toggleLoading(!0),this._searchService.getBrowseSearchResults(this.browseForm.get(le.INDEX)?.value,this.browseForm.get(le.SEARCH_TERM)?.value,this.browseForm.get(le.PAGE_SIZE)?.value).pipe((0,m.x)(()=>this.toggleLoading(!1))).subscribe(V=>this.successHandler(V),V=>{this.errorHandler(V)}))}paging(V){this.toggleLoading(!0),this._searchService.getBrowseSearchOffset(this._browseIndex,V,this._pageSize).pipe((0,m.x)(()=>this.toggleLoading(!1))).subscribe(Se=>this.successHandler(Se),Se=>{this.errorHandler(Se)})}successHandler(V){this.mapResults(V)}errorHandler(V){console.error(V),this._sharedService.unableToCompleteRequestMessage()}toggleLoading(V){this.isLoading=V}mapResults(V){this.initialSearchOffset||(this.initialSearchOffset=V.currentSetId),this.browseSearchData=V,this.browseTerms=this.removeNonASCII(V.browseTerms)}removeNonASCII(V){for(const Se of V){const G=Se.term.split("\x1f");Se.searchTerm=G[0],Se.title=G[1]}return V}setQueryParams(V=null){this._router.navigate([],{queryParams:this.mapQueryParams(V)})}mapQueryParams(V){const Se={[ee.SEARCH_TERM]:this.browseForm.get(le.SEARCH_TERM)?.value,[ee.INDEX]:this.browseForm.get(le.INDEX)?.value,[ee.PAGE_SIZE]:this.browseForm.get(le.PAGE_SIZE)?.value};return V&&(Se.iso=this.initialSearchOffset,Se.cso=V,Se.ps=this._pageSize),Se}static#e=this.\u0275fac=function(Se){return new(Se||we)(I.Y36(p.QS),I.Y36(u.F0),I.Y36(u.gz),I.Y36(U.oD),I.Y36(n.F))};static#t=this.\u0275cmp=I.Xpm({type:we,selectors:[["ng-component"]],decls:25,vars:10,consts:[[1,"header","ag-ma-md"],[1,"form-inline",3,"formGroup","ngSubmit"],[1,"row","align-items-center"],[1,"col-sm-12","col-md-6","col-lg-3"],["agAutofocus","","aria-label","Search Term","formControlName","searchTerm","type","text",1,"form-control","form-group__input",3,"ngClass"],["class","red","for","searchTerm",4,"ngIf"],["formControlName","index",1,"form-select"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"col-auto"],["for","page-count",1,"col",2,"white-space","nowrap"],[1,"col"],["formControlName","pageSize","id","page-count",1,"form-select"],["type","submit","aria-label","Browse Search",1,"btn","search__button","shadow","btn-ripple",3,"disabled"],[1,"fa","fa-search"],["strokeWidth","3",3,"diameter",4,"ngIf","ngIfElse"],["showBrowseTable",""],["for","searchTerm",1,"red"],[3,"ngValue"],["strokeWidth","3",3,"diameter"],[1,"ag-mb-sm",2,"height","38px","position","relative"],["class","paging",3,"initialOffset","currentOffset","previousOffset","nextOffset","paging",4,"ngIf"],[3,"browseTerms",4,"ngIf"],[2,"height","38px","position","relative"],["class","bottom-paging",3,"initialOffset","currentOffset","previousOffset","nextOffset","paging",4,"ngIf"],[1,"paging",3,"initialOffset","currentOffset","previousOffset","nextOffset","paging"],[3,"browseTerms"],[1,"bottom-paging",3,"initialOffset","currentOffset","previousOffset","nextOffset","paging"]],template:function(Se,G){if(1&Se&&(I.TgZ(0,"div",0)(1,"h2"),I._uU(2,"Browse Search"),I.qZA(),I.TgZ(3,"form",1),I.NdJ("ngSubmit",function(){return G.setQueryParams()}),I.TgZ(4,"div",2)(5,"div",3),I._UZ(6,"input",4),I.YNc(7,L,2,0,"label",5),I.qZA(),I.TgZ(8,"div",3)(9,"select",6),I.YNc(10,y,2,2,"option",7),I.qZA()(),I.TgZ(11,"div",8)(12,"div",2)(13,"label",9),I._uU(14,"Records Per Page:"),I.qZA(),I.TgZ(15,"div",10)(16,"select",11),I.YNc(17,O,2,2,"option",7),I.qZA()()()(),I.TgZ(18,"div",10)(19,"button",12),I._UZ(20,"i",13),I._uU(21," Browse Search "),I.qZA()()()(),I.YNc(22,M,1,1,"mat-spinner",14)(23,Z,5,3,"ng-template",null,15,I.W1O),I.qZA()),2&Se){const be=I.MAs(24);I.xp6(3),I.Q6J("formGroup",G.browseForm),I.xp6(3),I.Q6J("ngClass",I.VKq(8,oe,!G.browseForm.controls.searchTerm.valid&&G.browseForm.controls.searchTerm.dirty)),I.xp6(),I.Q6J("ngIf",!G.browseForm.controls.searchTerm.valid&&G.browseForm.controls.searchTerm.dirty),I.xp6(3),I.Q6J("ngForOf",G.indexes),I.xp6(7),I.Q6J("ngForOf",G.pageSizes),I.xp6(2),I.Q6J("disabled",!G.browseForm.valid),I.xp6(3),I.Q6J("ngIf",G.isLoading)("ngIfElse",be)}},styles:[".border-red[_ngcontent-%COMP%]{box-shadow:0 0 5px red!important;padding:3px 0 3px 3px;border:1px solid red!important}label[_ngcontent-%COMP%]{margin-right:15px}.form-group[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:15px}mat-spinner[_ngcontent-%COMP%]{margin:150px auto}.paging[_ngcontent-%COMP%], .bottom-paging[_ngcontent-%COMP%]{position:absolute;right:0}.search__button[_ngcontent-%COMP%], .paging__button[_ngcontent-%COMP%]{background-color:var(--offset-two);color:var(--header-color)}.search__button[_ngcontent-%COMP%]:hover{filter:brightness(90%)}"]})}return we})();const Q=[{path:"",component:K,canActivate:[e.a1]}];let q=(()=>{class we{static#e=this.\u0275fac=function(Se){return new(Se||we)};static#t=this.\u0275mod=I.oAB({type:we});static#n=this.\u0275inj=I.cJS({imports:[u.Bz.forChild(Q),u.Bz]})}return we})();var H=s(8377),T=s(9602),ie=s(4259);function _e(we,P){if(1&we){const V=I.EpF();I.TgZ(0,"tr",5),I.NdJ("click",function(){const be=I.CHM(V).$implicit,de=I.oxw(2);return I.KtG(de.search(be))}),I.TgZ(1,"td",6),I._uU(2),I.qZA(),I.TgZ(3,"td",7),I._uU(4),I.qZA(),I.TgZ(5,"td",7),I._uU(6),I.qZA()()}if(2&we){const V=P.$implicit;I.xp6(2),I.Oqu(V.searchTerm),I.xp6(2),I.Oqu(V.title),I.xp6(2),I.AsE(" [",V.hitCount," ",1===V.hitCount?"Title":"Titles","] ")}}function Ce(we,P){if(1&we&&(I.TgZ(0,"div")(1,"div",1)(2,"table",2)(3,"thead",3)(4,"tr")(5,"th"),I._uU(6,"Item Call Number"),I.qZA(),I.TgZ(7,"th"),I._uU(8,"Title"),I.qZA(),I.TgZ(9,"th"),I._uU(10,"Title Count"),I.qZA()()(),I.TgZ(11,"tbody"),I.YNc(12,_e,7,4,"tr",4),I.qZA()()()()),2&we){const V=I.oxw();I.xp6(12),I.Q6J("ngForOf",V.browseTerms)}}let Ve=(()=>{class we{constructor(V,Se,G,be,de,De){this._router=V,this._routingService=Se,this._searchService=G,this._sharedService=be,this._storageService=de,this._analyticsService=De}search(V){const Se={searchQuery:{limitToQueryOnly:!0,facetMatches:[],facetOffset:0,filters:{scopingLevel:0},matches:[{index:V.index,query:V.term,queryOption:"STARTS",matchJoinOperator:"AND"}],numOfFacetPerGroup:0,numOfRecords:40,orderBy:"asc",resources:[V.resource],resultType:"none",searchType:U.VO.BROWSE,sortBy:["relevance"],startRecord:1,isKidsSearch:this._sharedService.getIsKidsCat()}};V.hitCount>1?this._searchService.doSearch(Se):this._searchService.performSearchAndWait(Se).subscribe(G=>{const de=G.results[0].formats[0].documents[0];this._analyticsService.logEvent("View Details"),this._routingService.pushOnBackStack(),this._routingService.goToFullRecord(de.agControlId,de.shard,null,de.isRefdb,de.refdbFullRecUrl)},G=>{console.error(`Error in BrowseTableComponent: ${JSON.stringify(G)}`),this._sharedService.unableToCompleteRequestMessage()})}static#e=this.\u0275fac=function(Se){return new(Se||we)(I.Y36(u.F0),I.Y36(H.Z),I.Y36(U.oD),I.Y36(n.F),I.Y36(ie.V),I.Y36(T.y))};static#t=this.\u0275cmp=I.Xpm({type:we,selectors:[["ag-browse-table"]],inputs:{browseTerms:"browseTerms"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"browse-data"],[1,"table","table-sm","table-hover"],[1,"thead"],[3,"click",4,"ngFor","ngForOf"],[3,"click"],[1,"w-15"],[1,"w-40"]],template:function(Se,G){1&Se&&I.YNc(0,Ce,13,1,"div",0),2&Se&&I.Q6J("ngIf",G.browseTerms&&G.browseTerms.length)},dependencies:[t.sg,t.O5],styles:["td[_ngcontent-%COMP%]{cursor:pointer}th[_ngcontent-%COMP%]{border-color:var(--offset-two);background-color:var(--header-background);color:var(--header-color)}.w-5[_ngcontent-%COMP%]{flex:0 0 5%!important;width:5%}.w-10[_ngcontent-%COMP%]{flex:0 0 10%!important;width:10%}.w-15[_ngcontent-%COMP%]{flex:0 0 15%!important;width:15%}.w-20[_ngcontent-%COMP%]{flex:0 0 20%!important;width:20%}.w-25[_ngcontent-%COMP%]{flex:0 0 25%!important;width:25%}.w-30[_ngcontent-%COMP%]{flex:0 0 30%!important;width:30%}.w-35[_ngcontent-%COMP%]{flex:0 0 35%!important;width:35%}.w-40[_ngcontent-%COMP%]{flex:0 0 40%!important;width:40%}.w-45[_ngcontent-%COMP%]{flex:0 0 45%!important;width:45%}.w-50[_ngcontent-%COMP%]{flex:0 0 50%!important;width:50%}.w-55[_ngcontent-%COMP%]{flex:0 0 55%!important;width:55%}"]})}return we})(),ae=(()=>{class we{constructor(){this.paging=new I.vpe}ngOnInit(){this.disablePrevious=parseInt(this.initialOffset)===parseInt(this.currentOffset)}onPaging(V){this.paging.emit(V)}static#e=this.\u0275fac=function(Se){return new(Se||we)};static#t=this.\u0275cmp=I.Xpm({type:we,selectors:[["ag-browse-table-paging"]],inputs:{initialOffset:"initialOffset",currentOffset:"currentOffset",previousOffset:"previousOffset",nextOffset:"nextOffset"},outputs:{paging:"paging"},decls:6,vars:2,consts:[["aria-label","previous","type","button",1,"btn","paging-button","shadow","btn-ripple",3,"disabled","click"],[1,"fa","fa-angle-left"],["aria-label","next","type","button",1,"btn","paging-button","shadow","primary","btn-ripple",3,"disabled","click"],[1,"fa","fa-angle-right"]],template:function(Se,G){1&Se&&(I.TgZ(0,"button",0),I.NdJ("click",function(){return G.onPaging(G.previousOffset)}),I._UZ(1,"i",1),I._uU(2," Prev\n"),I.qZA(),I.TgZ(3,"button",2),I.NdJ("click",function(){return G.onPaging(G.nextOffset)}),I._uU(4," Next "),I._UZ(5,"i",3),I.qZA()),2&Se&&(I.Q6J("disabled",G.disablePrevious),I.xp6(3),I.Q6J("disabled","-1"===G.nextOffset))},styles:[".paging[_ngcontent-%COMP%]{margin-bottom:15px}.paging[_ngcontent-%COMP%]:first-child{margin-right:5px}.paging-button[_ngcontent-%COMP%]{background-color:var(--offset-two);color:var(--header-color)}.paging-button[_ngcontent-%COMP%]:hover{filter:brightness(90%)}"]})}return we})();var pe=s(9993),Ae=s(6208),Ze=s(6387),dt=s(114),Fe=s(9828),Xe=s(2609),Ie=s(1438);let W=(()=>{class we{static#e=this.\u0275fac=function(Se){return new(Se||we)};static#t=this.\u0275mod=I.oAB({type:we});static#n=this.\u0275inj=I.cJS({imports:[t.ez,Ae.m,q,pe.IJ,Ze.p,dt.Z]})}return we})();I.B6R(K,[t.mk,t.sg,t.O5,Fe.Q,Xe.oO,p._Y,p.YN,p.Kr,p.Fj,p.EJ,p.JJ,p.JL,Ie.sN,p.sg,p.u,Ve,ae],[])},1938:(jt,$e,s)=>{"use strict";s.d($e,{M:()=>P});var t=s(9212),u=s(2413),e=s(9081),m=s(441),p=s(3352),U=s(9773),n=s(3620),I=s(8645),L=s(6223),y=s(2787),O=s(4259),M=s(1261),E=s(6814),A=s(9828),S=s(5722),Z=s(2609),oe=s(9025),le=s(4187),ee=s(2400),K=s(1735),Q=s(9931);const q=["masonry"];function H(V,Se){if(1&V){const G=t.EpF();t.TgZ(0,"i",17),t.NdJ("agInteract",function(){t.CHM(G);const de=t.oxw(3);return t.KtG(de.clearDash())}),t.qZA()}}function T(V,Se){if(1&V&&(t.TgZ(0,"form",13),t.YNc(1,H,1,0,"i",14),t.TgZ(2,"mat-form-field",15),t._UZ(3,"input",16),t.qZA()()),2&V){const G=t.oxw(2);t.Q6J("formGroup",G.searchText),t.xp6(),t.Q6J("ngIf",(null==G.searchText?null:G.searchText.get("searchInput").value.length)>=1)}}function ie(V,Se){if(1&V){const G=t.EpF();t.TgZ(0,"div",8),t.YNc(1,T,4,2,"form",9),t.TgZ(2,"button",10),t.NdJ("click",function(){t.CHM(G);const de=t.oxw();return t.KtG(de.toggleAll())}),t._UZ(3,"i",11),t.TgZ(4,"span",12),t._uU(5,"Toggle Menu"),t.qZA()()()}if(2&V){const G=t.oxw();t.xp6(),t.Q6J("ngIf",G.searchText),t.xp6(2),t.Q6J("ngClass",G.expandedAll?"fa-compress":"fa-expand")}}function _e(V,Se){if(1&V&&(t.TgZ(0,"span",25),t._uU(1),t.qZA()),2&V){const G=t.oxw().index;t.xp6(),t.Oqu(G+1)}}function Ce(V,Se){1&V&&(t.TgZ(0,"span",25),t._uU(1,"0"),t.qZA())}function Ve(V,Se){if(1&V){const G=t.EpF();t.ynx(0),t.TgZ(1,"a",22),t.NdJ("agInteract",function(){const De=t.CHM(G).$implicit,tt=t.oxw(2);return t.KtG(tt.quickmenuLink(De))}),t.TgZ(2,"span",23),t._uU(3),t.ALo(4,"replaceUserGuidesStringsQuickLinks"),t.qZA(),t.YNc(5,_e,2,1,"span",24)(6,Ce,2,0,"span",24),t.qZA(),t.BQk()}if(2&V){const G=Se.$implicit,be=Se.index;t.xp6(),t.uIk("title",G.label),t.xp6(2),t.Oqu(t.lcZ(4,4,G.label)),t.xp6(2),t.Q6J("ngIf",be<9),t.xp6(),t.Q6J("ngIf",9===be)}}function ae(V,Se){if(1&V&&(t.TgZ(0,"div",18)(1,"mat-card")(2,"mat-card-title")(3,"div",19),t._uU(4,"Quick Links (Ctrl+)"),t.qZA()(),t.TgZ(5,"mat-card-content",20),t.YNc(6,Ve,7,6,"ng-container",21),t.qZA()()()),2&V){const G=t.oxw();t.xp6(6),t.Q6J("ngForOf",G.quickMenuList)}}function pe(V,Se){if(1&V){const G=t.EpF();t.TgZ(0,"a",37),t.NdJ("agInteract",function(){t.CHM(G);const de=t.oxw(2).$implicit,De=t.oxw(3);return t.KtG(De.itemClick(de))}),t._uU(1),t.qZA()}if(2&V){const G=t.oxw(2).$implicit,be=t.oxw(2).$implicit;t.Q6J("rel",be.label+" > "+G.label)("id","items_"+G.menuItem),t.xp6(),t.hij(" ",G.label," ")}}function Ae(V,Se){if(1&V&&(t.TgZ(0,"span",38),t._uU(1),t.qZA()),2&V){const G=t.oxw(2).$implicit;t.Q6J("id","items_"+G.menuItem),t.xp6(),t.hij(" ",G.label," ")}}function Ze(V,Se){if(1&V){const G=t.EpF();t.TgZ(0,"i",39),t.NdJ("agInteract",function(){t.CHM(G);const de=t.oxw(2).$implicit,De=t.oxw(3);return t.KtG(De.addToQuickMenu(de.menuId,de.menuItem))}),t.qZA()}}function dt(V,Se){if(1&V){const G=t.EpF();t.TgZ(0,"ul")(1,"li",40)(2,"a",37),t.NdJ("agInteract",function(){const De=t.CHM(G).$implicit,tt=t.oxw(5);return t.KtG(tt.itemClick(De))}),t._uU(3),t.qZA(),t.TgZ(4,"i",39),t.NdJ("agInteract",function(){const De=t.CHM(G).$implicit,tt=t.oxw(5);return t.KtG(tt.addToQuickMenu(De.menuId,De.menuItem))}),t.qZA()()()}if(2&V){const G=Se.$implicit,be=t.oxw(2).$implicit,de=t.oxw(2).$implicit;t.xp6(2),t.Q6J("rel",(null==de?null:de.label)+" > "+be.label+" > "+G.label)("id","subItems_"+G.menuItem),t.xp6(),t.hij(" ",G.label," ")}}function Fe(V,Se){if(1&V&&(t.TgZ(0,"li",33),t.YNc(1,pe,2,3,"a",34)(2,Ae,2,2,"ng-template",null,35,t.W1O)(4,Ze,1,0,"i",36)(5,dt,5,3,"ul",21),t.qZA()),2&V){const G=t.MAs(3),be=t.oxw().$implicit;t.Q6J("ngClass",be.url?"main-link":"no-link"),t.xp6(),t.Q6J("ngIf",be.url)("ngIfElse",G),t.xp6(3),t.Q6J("ngIf",be.url),t.xp6(),t.Q6J("ngForOf",be.subItems)}}function Xe(V,Se){if(1&V&&(t.TgZ(0,"ul"),t.YNc(1,Fe,6,5,"li",32),t.qZA()),2&V){const G=Se.$implicit,be=t.oxw(3);t.xp6(),t.Q6J("ngIf",!(null!=G.url&&G.url.includes("customer-care"))||be.showCustomerCarePage)}}function Ie(V,Se){if(1&V&&(t.TgZ(0,"mat-card-content",31),t.YNc(1,Xe,2,1,"ul",21),t.qZA()),2&V){const G=t.oxw(),de=G.$implicit;t.Q6J("id","content"+G.index),t.xp6(),t.Q6J("ngForOf",de.items)}}function W(V,Se){if(1&V){const G=t.EpF();t.TgZ(0,"div",26)(1,"mat-card",27)(2,"mat-card-title")(3,"div",28),t.NdJ("agInteract",function(){const De=t.CHM(G).$implicit,tt=t.oxw();return t.KtG(tt.toggleMenu(De))}),t._uU(4),t._UZ(5,"i",29),t.qZA()(),t.YNc(6,Ie,2,2,"mat-card-content",30),t.qZA()()}if(2&V){const G=Se.$implicit,be=Se.index;t.xp6(4),t.hij(" ",null==G?null:G.label," "),t.xp6(),t.Q6J("id","icon"+be)("ngClass",G.expanded?"fa-compress":"fa-expand"),t.xp6(),t.Q6J("ngIf",G.expanded)}}const we=(V,Se)=>({"dash-board":V,"dash-quick":Se});let P=(()=>{class V{constructor(G,be,de,De,tt,Re,Ft,mt){this._fb=G,this._router=be,this._dashboardService=de,this._sharedService=De,this._storageService=tt,this._quickMenuService=Re,this._accountService=Ft,this._predefinedTemplatesService=mt,this.viewQuick=new t.vpe,this.filterStaffList=[],this.staffList=[],this.quickMenuList=[],this.masonryKnights={gutter:20,percentPosition:!0,initLayout:!0,resize:!0,horizontalOrder:!0,animations:{}},this.showCustomerCarePage=!0,this._unsubscribe=new I.x,this.searchText=this._fb.group({searchInput:""}),this._storageService.setItem("currentUrl",this._router.url)}ngOnInit(){this._quickMenuService.quickMenuItems$.pipe((0,U.R)(this._unsubscribe)).subscribe(G=>{G&&(this.quickMenuList=G)}),this._accountService.userPreferences$.pipe((0,U.R)(this._unsubscribe)).subscribe(G=>{G&&(this._userPreferences=G)}),this._dashboardService.staffDashboardMenu$.pipe((0,U.R)(this._unsubscribe)).subscribe(G=>{G&&(this.staffList.data=G.data,this._expandDefaultMenu(),this.filterStaffList.data=[...G.data],this.expandedAll=!this.filterStaffList.data.some(be=>!be.expanded),this._masonryLayoutComplete())})}_expandDefaultMenu(){if(!this.staffList.data.some(G=>G.hasOwnProperty("expanded"))){const G=this._userPreferences?.find(de=>"DefaultStaffTab"==de.name)?.preferenceList?.find(de=>de.isChecked),be=this.staffList.data.find(de=>de.label==G?.label);be&&(be.expanded=!0)}}ngAfterViewInit(){this.showCustomerCarePage=this._predefinedTemplatesService.showCustomerCarePage(),setTimeout(()=>{this._predefinedTemplatesService.highlightStaffLink()},400),this.searchText&&this.searchText.controls.searchInput.valueChanges.pipe((0,n.b)(250)).subscribe(G=>{if(this.filterStaffList.data=[...this.staffList.data],G.length>0){const be=G.toLowerCase();this.filterStaffList.data=this.filterStaffList.data.map(de=>((de={...de}).items=de.items.filter(De=>De.subItems.length>0||De.label.toLowerCase().includes(be)),de.items=de.items.map(De=>(De={...De}).subItems.length>0?(De.subItems=De.subItems.filter(tt=>tt.label.toLowerCase().includes(be)),De.subItems.length>0?De:null):De),de.items=de.items.filter(De=>null!=De),de)),this.filterStaffList.data=this.filterStaffList.data.filter(de=>de.items.length>0),this.filterStaffList.data.forEach(de=>de.expanded=!0)}this._masonryLayoutComplete()}),this._masonryLayoutComplete()}ngOnDestroy(){this._predefinedTemplatesService.addRemoveCurrentClass(-1),this._unsubscribe.next(),this._unsubscribe.complete()}quickmenuLink(G){this._dashboardService.goToMenuItem(G.menuItem)}addToQuickMenu(G,be){this._quickMenuService.addQuickMenu([{menuId:G,menuItem:be}]).subscribe(De=>{},De=>{this._sharedService.openSnackBar("string"==typeof De?De:"Failed to add quick link","ok")})}clearDash(){this.searchText?.controls.searchInput.setValue("")}toggleMenu(G){G.expanded=!G.expanded,this.staffList.data.find(be=>be.menuId==G.menuId).expanded=G.expanded,this.expandedAll=!this.filterStaffList.data.some(be=>!be.expanded),this._masonryLayoutComplete()}toggleAll(){this.expandedAll=this.filterStaffList.data.some(G=>!G.expanded),this.filterStaffList.data.forEach(G=>G.expanded=this.expandedAll),this.staffList.data.forEach(G=>G.expanded=this.expandedAll),this._masonryLayoutComplete()}_masonryLayoutComplete(){this.masonry&&this.masonry.layout()}itemClick(G){this._dashboardService.goToMenuItem(G)}static#e=this.\u0275fac=function(be){return new(be||V)(t.Y36(L.QS),t.Y36(y.F0),t.Y36(u.s),t.Y36(e.F),t.Y36(O.V),t.Y36(m.M),t.Y36(M.B),t.Y36(p.fs))};static#t=this.\u0275cmp=t.Xpm({type:V,selectors:[["app-dashboard"]],viewQuery:function(be,de){if(1&be&&t.Gf(q,5),2&be){let De;t.iGM(De=t.CRH())&&(de.masonry=De.first)}},outputs:{viewQuick:"viewQuick"},decls:9,vars:9,consts:[[1,"container-fluid"],[1,"row"],["class","col-12","class","mobile-control inline-block",4,"ngIf"],["class","quickmenu-container d-none d-md-block",4,"ngIf"],[1,"pm-select",3,"ngClass"],[3,"options","ordered"],["masonry",""],["ngxMasonryItem","","class","card-padding masonry-item",4,"ngFor","ngForOf"],[1,"mobile-control","inline-block"],["class","inline",3,"formGroup",4,"ngIf"],["role","button","aria-label","Add to Quick Menu","type","button",1,"btn","btn-link","pull-right",3,"click"],["aria-hidden","true",1,"fa","padding-5",3,"ngClass"],[1,"d-none","d-sm-inline"],[1,"inline",3,"formGroup"],["class","fa fa-times fa-2 nav-cross padding-5 pointer","style","font-size: 1.7em !important","title","Clear Search","aria-label","Clear Search","tabindex","0",3,"agInteract",4,"ngIf"],[1,"example-full-width",2,"margin-left","10px !important"],["matInput","","agAutofocus","","formControlName","searchInput","autocomplete","off","title","Search Staff Dashboard","id","typeahead-staff","type","text","placeholder","Search Staff Dashboard"],["title","Clear Search","aria-label","Clear Search","tabindex","0",1,"fa","fa-times","fa-2","nav-cross","padding-5","pointer",2,"font-size","1.7em !important",3,"agInteract"],[1,"quickmenu-container","d-none","d-md-block"],[1,"menu-header"],[1,"scroll"],[4,"ngFor","ngForOf"],["tabindex","0",3,"agInteract"],[1,"quick-desc","block-ellipsis","pointer","pull-left"],["class","quick-hotkey badge badge-pill badge-default pull-right pointer",4,"ngIf"],[1,"quick-hotkey","badge","badge-pill","badge-default","pull-right","pointer"],["ngxMasonryItem","",1,"card-padding","masonry-item"],[2,"padding","0px"],["tabindex","0",1,"menu-header","pointer",3,"agInteract"],["aria-hidden","true",1,"fa","menu-icon","padding-5",3,"id","ngClass"],["class","scroll menu-content",3,"id",4,"ngIf"],[1,"scroll","menu-content",3,"id"],["class","main-items",3,"ngClass",4,"ngIf"],[1,"main-items",3,"ngClass"],["tabindex","0",3,"rel","id","agInteract",4,"ngIf","ngIfElse"],["noLink",""],["class","add-quick pull-right fa fa-plus","title","Add to Quick Links","tabindex","0",3,"agInteract",4,"ngIf"],["tabindex","0",3,"rel","id","agInteract"],[3,"id"],["title","Add to Quick Links","tabindex","0",1,"add-quick","pull-right","fa","fa-plus",3,"agInteract"],[1,"sub-items"]],template:function(be,de){1&be&&(t.TgZ(0,"main")(1,"div",0)(2,"div",1),t.YNc(3,ie,6,2,"div",2)(4,ae,7,1,"div",3),t.TgZ(5,"div",4)(6,"ngx-masonry",5,6),t.YNc(8,W,7,4,"div",7),t.qZA()()()()()),2&be&&(t.xp6(3),t.Q6J("ngIf",null==de.filterStaffList?null:de.filterStaffList.data),t.xp6(),t.Q6J("ngIf",de.quickMenuList&&de.filterStaffList.data),t.xp6(),t.Q6J("ngClass",t.WLB(6,we,!de.quickMenuList,de.quickMenuList)),t.xp6(),t.Q6J("options",de.masonryKnights)("ordered",!0),t.xp6(2),t.Q6J("ngForOf",null==de.filterStaffList?null:de.filterStaffList.data))},dependencies:[E.mk,E.sg,E.O5,A.Q,S.o,Z.oO,L._Y,L.Fj,L.JJ,L.JL,oe.S$,oe.Qi,oe.mi,le.v_,ee.k0,L.sg,L.u,K.gn,K.CL,Q.G],styles:[".scroll[_ngcontent-%COMP%]{overflow:auto}search-staff[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{width:540px!important}#ngb-typeahead-0[_ngcontent-%COMP%]{min-width:480px!important}.mat-form-field[_ngcontent-%COMP%]{width:40%!important}.search-staff[_ngcontent-%COMP%]{margin-top:5px}.quickmenu-container[_ngcontent-%COMP%]{width:200px;padding:5px}.quickmenu-container[_ngcontent-%COMP%]   mat-card[_ngcontent-%COMP%]{padding:5px}.dash-quick[_ngcontent-%COMP%], .dash-board[_ngcontent-%COMP%]{width:100%;padding:0 10px}.quick-desc[_ngcontent-%COMP%]{width:calc(100% - 50px);font-size:.9em}.quick-hotkey[_ngcontent-%COMP%]{width:40px;height:14px;margin-top:2px;display:inline-block;font-size:.65em;padding-right:.25em;padding-left:.25em;color:var(--header-color);background:var(--offset-two)}.search-menu-icon[_ngcontent-%COMP%]{color:var(--link);margin-right:5px;vertical-align:top;margin-top:10px}.card-padding[_ngcontent-%COMP%]{padding-top:5px;padding-bottom:10px;display:inline-block}.control-panel[_ngcontent-%COMP%]{margin:3px;border:1px solid lightgrey;min-height:25px}.mat-card[_ngcontent-%COMP%]{background:#ffffff40}.mat-card-title[_ngcontent-%COMP%]{font-weight:400;margin-bottom:0;text-align:center;font-size:initial}.mat-card-content[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:0}.mat-card-content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{padding:0;margin-bottom:0}.mat-card-content[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:100%;padding:0}.mobile-control[_ngcontent-%COMP%]{height:50px}.mobile-control[_ngcontent-%COMP%]   button.btn-link[_ngcontent-%COMP%]{padding:12px 10px 8px}.mobile-control[_ngcontent-%COMP%]   i.fa-search[_ngcontent-%COMP%], .mobile-control[_ngcontent-%COMP%]   i.fa-times[_ngcontent-%COMP%]{padding:12px 15px 8px}.mat-card-content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--link)!important;display:contents}.mat-drawer-content[_ngcontent-%COMP%]{overflow:inherit;padding-top:0}.mat-drawer-container[_ngcontent-%COMP%]{background:var(--body-background)!important}.menu-header[_ngcontent-%COMP%]{color:var(--header-color);background:var(--header-background);padding:3px;width:100%}.menu-header[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{color:var(--header-color)}.header-title[_ngcontent-%COMP%]{margin-bottom:.25rem;font-family:inherit;font-size:.95em;font-weight:500;line-height:1.2;color:#454545;cursor:pointer;padding:2px 10px}.header-icon[_ngcontent-%COMP%]{float:right;font-size:1.05em;color:#d3d3d3}.collapsable[_ngcontent-%COMP%]{display:none}ul[_ngcontent-%COMP%]{padding-left:0;margin-bottom:0}.main-items[_ngcontent-%COMP%], .sub-items[_ngcontent-%COMP%]{list-style:none;padding-left:7px!important;position:relative;display:inline-block}.main-items[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .sub-items[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:0 5px 0 0;display:inline-block}.add-quick[_ngcontent-%COMP%]{position:absolute;top:2px;right:0;padding:3px;margin-right:4px;display:none}.add-quick[_ngcontent-%COMP%]:hover{cursor:pointer}.main-link[_ngcontent-%COMP%]{color:var(--link)!important;font-size:.9rem}.main-link[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{width:calc(100% - 18px);margin-left:.5em;text-indent:-.5em}.main-link[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}.main-link[_ngcontent-%COMP%]:hover > i.add-quick[_ngcontent-%COMP%]{display:inline-block;position:absolute}.sub-items[_ngcontent-%COMP%]{color:var(--link)!important;cursor:pointer;font-size:.9rem;text-decoration:underline;padding:1px}.sub-items[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{width:calc(100% - 18px);margin-left:.5em;text-indent:-.5em}.sub-items[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}.sub-items[_ngcontent-%COMP%]:hover > i.add-quick[_ngcontent-%COMP%]{display:inline-block}.no-link[_ngcontent-%COMP%]{color:#676767!important;font-weight:400;cursor:default;font-size:.9rem}.no-link[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .no-link[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{width:100%;border-bottom:2px solid var(--dark-primary-color);padding-bottom:2px;margin-bottom:5px;display:inline-block;color:var(--body-color)!important;font-weight:600}.collapsable[_ngcontent-%COMP%]{border-top:1px solid grey;border-bottom:1px solid grey;background:#fefefe}.menu-content[_ngcontent-%COMP%]{overflow-y:auto;padding:2px 0}@media screen and (min-width: 768px){.mat-drawer-content[_ngcontent-%COMP%]{overflow:inherit;padding-top:0}}.mat-dialog-container[_ngcontent-%COMP%]{overflow:none!important;padding:10px!important}.staff-links[_ngcontent-%COMP%]{color:#006400!important;font-weight:500;font-size:1.25em;text-decoration:underline!important;padding:5px;cursor:pointer}.staffMenu[_ngcontent-%COMP%]:hover{background:#d3d3d3;cursor:pointer}.masonry-item[_ngcontent-%COMP%]{width:100%}@media screen and (min-width: 400px){.masonry-item[_ngcontent-%COMP%]{width:47%}}@media screen and (min-width: 576px){.masonry-item[_ngcontent-%COMP%]{width:30%}}@media screen and (min-width: 768px){.masonry-item[_ngcontent-%COMP%]{width:30%}.dash-quick[_ngcontent-%COMP%]{width:calc(100% - 200px)!important;padding:0 10px}}@media screen and (min-width: 992px){.masonry-item[_ngcontent-%COMP%]{width:23%}}@media screen and (min-width: 1200px){.masonry-item[_ngcontent-%COMP%]{width:18%}}@media screen and (min-width: 1400px){.masonry-item[_ngcontent-%COMP%]{width:18.25%}}@media screen and (min-width: 1675px){.masonry-item[_ngcontent-%COMP%]{width:15.25%}}.selected[_ngcontent-%COMP%]{background:#bfb9bc}"]})}return V})()},2413:(jt,$e,s)=>{"use strict";s.d($e,{s:()=>S});var t=s(5861),u=s(5619),e=s(2181),m=s(7398),p=s(8377),U=s(9081),n=s(3352),I=s(9212),L=s(9862),y=s(2787),O=s(4593),M=s(3941),E=s(6593);class A extends u.X{constructor(oe,le){const ee=sessionStorage.getItem(oe);super(ee?JSON.parse(ee):le),this._key=oe}next(oe){super.next(oe),sessionStorage.setItem(this._key,JSON.stringify(oe))}}let S=(()=>{class Z{constructor(le,ee,K,Q,q,H,T,ie){this._http=le,this._router=ee,this._apiService=K,this._configService=Q,this._predefinedTemplatesService=q,this._routingService=H,this._sharedService=T,this._titleService=ie,this._helpManualsUrl="https://www5.auto-graphics.com/folder2/HTML_Manuals",this._staffDashboardMenu=new u.X(null),this._staffHistory=new A("recentHistory",[]),this.staffDashboardMenu$=this._staffDashboardMenu.asObservable(),this.staffHistory$=this._staffHistory.asObservable(),this._sharedService.getLoginStatusBS().pipe((0,e.h)(_e=>_e==U.P.LOGOUT)).subscribe(()=>{this._staffHistory.next([])})}loadStaffDashboard(){return this._apiService.get(this._configService.agApi+"/staff/dashboard").pipe((0,m.U)(ee=>{if("200 OK"==ee.status){const K={data:ee.data.staffMenu};return this._staffDashboardMenu.next(K),K}return{data:[]}}))}updateDashboardLinkInfoAsync(le){var ee=this;return(0,t.Z)(function*(){try{const K=`${ee._configService.agApi}/staff/link`,Q=yield ee._http.patch(K,le).toPromise();if(Q&&"200 OK"==Q.status&&"success"==Q.message.toLowerCase()&&null!==Q.data)return Q.data}catch(K){console.error(`dahboardservice:updateDashboardLinkInfoAsync => ${K.message}`)}return null})()}openHelpLocationGroups(){window.open(`${this._helpManualsUrl}/Circ_Administration/Managing_Location_Groups.htm`,"help")}getHomeLocationsApi(le){return this._apiService.get(le)}updateHomeLocationsApi(le,ee){return this._apiService.get(le+ee)}closeStaff(){this._titleService.setTitle(this._previousNonStaffTitle),this._sharedService.setOpenStaffPage(null),this._routingService.goToUrl(this._previousNonStaffRoute)}goToMenuItem(le){let ee;if(ee="number"==typeof le?this.findMenuItem(le):le,!ee)return;this._staffPageIsDisplayed||(this._previousNonStaffRoute=this._router.url,this._previousNonStaffTitle=this._titleService.getTitle()),this.pushStaffLinksHistory(ee);const K=ee.url;switch(K){case"ux":this._sharedService.setOpenSideNavSettings(!0);break;case"blankrequest":const Q={agctrlid:-1,shard:-1,format:"none",isCill:!0,requestType:"loan",requestFormType:"blank",multiCopy:!1,data:Date.now()};this._routingService.goToIllRequest(Q);break;default:if(K.toLowerCase().includes("customer-care")){this._routingService.goToPageById(this._predefinedTemplatesService.getCustomerCarePageBSValue());break}"route"==ee.urlType?(this._sharedService.setOpenStaffPage(null),this._routingService.goToUrl(ee.url)):this._sharedService.setOpenStaffPage({...ee})}}fullLabel(le){if(!le)return;let ee;return this._staffDashboardMenu.value.data.forEach(K=>{if(ee)return null;K.items.forEach(Q=>{Q.menuItem==le&&(ee=`${K.label} > ${Q.label}`),ee||Q.subItems.forEach(q=>{q.menuItem==le&&(ee=`${K.label} > ${Q.label} > ${q.label}`)})})}),ee}findMenu(le){if(le)return this._staffDashboardMenu.value.data.find(ee=>ee.menuId==le)}findMenuItem(le){let ee;return this._staffDashboardMenu.value.data.forEach(K=>{if(ee)return null;K.items.forEach(Q=>{Q.menuItem==le&&(ee=Q),ee||Q.subItems.forEach(q=>{q.menuItem==le&&(ee=q)})})}),ee}toggleStaffNavigationDisplay(le){this._staffPageIsDisplayed=le}pushStaffLinksHistory(le){const ee=this._staffHistory.value;0!=ee.findIndex(Q=>Q.menuItem==le.menuItem)&&(ee.unshift(le)>3&&ee.pop(),this._staffHistory.next(ee))}popStaffLinksHistory(){let le=this._staffHistory.value;if(!le)return;const ee=this._staffPageIsDisplayed?1:0,K=le[ee];K&&(le=le.slice(ee+1),this._staffHistory.next(le),this.goToMenuItem(K))}static#e=this.\u0275fac=function(ee){return new(ee||Z)(I.LFG(L.eN),I.LFG(y.F0),I.LFG(O.s),I.LFG(M.E),I.LFG(n.fs),I.LFG(p.Z),I.LFG(U.F),I.LFG(E.Dx))};static#t=this.\u0275prov=I.Yz7({token:Z,factory:Z.\u0275fac})}return Z})()},9001:(jt,$e,s)=>{"use strict";s.d($e,{MC:()=>Oc,TC:()=>nu});var t=s(5861),u=s(896),e=s(6765),m=s(9927),p=s(7592),U=s(6223),n=s(9212);let I=(()=>{class v{constructor(f,Oe,ot){this._fb=f,this._dialogRef=Oe,this.data=ot}ngOnInit(){this.emailForm=this._fb.group({email:["",[U.kI.required,U.kI.pattern("[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,3}$")]]})}saveEmailForm(f){this._dialogRef.close({email:f.value.email,answer:"yes"})}close(){this._dialogRef.close({answer:"close"})}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(U.QS),n.Y36(p.hV),n.Y36(p.eJ))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["app-bx-dailog"]],decls:15,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"container"],[1,"row"],[1,"col-12"],[3,"formGroup","ngSubmit"],[2,"color","red"],[1,"form-group"],["type","email","title","Email","formControlName","email","aria-describedby","emailHelp",1,"form-control"],["role","button","aria-label","Submit","type","submit",1,"btn","btn-primary",3,"disabled"],["role","button","aria-label","Submit","type","button",1,"btn","btn-primary",3,"click"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"h1",0),n._uU(1,"Email Required"),n.qZA(),n.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"form",5),n.NdJ("ngSubmit",function(){return ot.saveEmailForm(ot.emailForm)}),n.TgZ(7,"h6",6),n._uU(8,"Enter the email address:*"),n.qZA(),n.TgZ(9,"div",7),n._UZ(10,"input",8),n.qZA(),n.TgZ(11,"button",9),n._uU(12," Send "),n.qZA(),n.TgZ(13,"button",10),n.NdJ("click",function(){return ot.close()}),n._uU(14," Cancel "),n.qZA()()()()()()),2&Oe&&(n.xp6(6),n.Q6J("formGroup",ot.emailForm),n.xp6(5),n.Q6J("disabled",!ot.emailForm.valid))},dependencies:[U._Y,U.Fj,U.JJ,U.JL,U.sg,U.u,p.YS,p.Rb]})}return v})();var L=s(9081),y=s(2119),O=s(5175),M=s(7895),E=s(6123),A=s(1082),S=s(4505);let Z=(()=>{class v{constructor(f,Oe){this.dialogRef=f,this.data=Oe,this.reply1="yes",this.reply2="no"}saveData(){this.dialogRef.close("yes")}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(p.hV),n.Y36(p.eJ))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["app-bib-record-dialog"]],decls:12,vars:1,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"container-fluid"],[1,"row"],[1,"col-12"],[3,"innerHTML"],["mat-dialog-actions",""],["role","button","type","button","aria-label","Yes","mat-button","","cdkFocusInitial","",3,"click"],["role","button","type","button","aria-label","Now","mat-button","",3,"click"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"h1",0),n._uU(1,"Bib Record"),n.qZA(),n.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),n._UZ(6,"p",5),n.qZA()()()(),n.TgZ(7,"div",6)(8,"button",7),n.NdJ("click",function(){return ot.saveData()}),n._uU(9," Yes "),n.qZA(),n.TgZ(10,"button",8),n.NdJ("click",function(){return ot.dialogRef.close("no")}),n._uU(11," No "),n.qZA()()),2&Oe&&(n.xp6(6),n.Q6J("innerHTML",ot.data,n.oJD))},dependencies:[S.eB,p.YS,p.Rb,p.ev]})}return v})();var oe=s(2939),le=s(6814);function ee(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.Oqu(f.message)}}function K(v,rt){if(1&v&&n._UZ(0,"div",2),2&v){const f=n.oxw(2);n.Q6J("innerHTML",f.extraMessage,n.oJD)}}function Q(v,rt){if(1&v&&(n.TgZ(0,"div"),n.YNc(1,ee,2,1,"div",0)(2,K,1,1,"div",1),n.qZA()),2&v){const f=n.oxw();n.xp6(),n.Q6J("ngIf",f.message),n.xp6(),n.Q6J("ngIf",f.extraMessage)}}let q=(()=>{class v{constructor(f){this.data=f}ngOnInit(){console.log("data in details snackbar"),console.log(`${JSON.stringify(this.data)}`),"checkout BX"===this.data.location&&(this.message=this.data.message,this.extraMessage=this.data.extraMessage,this.showDiv=this.data.location)}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(oe.qD))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["app-details-snackbar"]],decls:1,vars:1,consts:[[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"]],template:function(Oe,ot){1&Oe&&n.YNc(0,Q,3,2,"div",0),2&Oe&&n.Q6J("ngIf","checkout BX"===ot.showDiv)},dependencies:[le.O5]})}return v})();var H=s(8615);function T(v,rt){if(1&v&&(n.TgZ(0,"td",15),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.value)}}function ie(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" Address 1: ",null==f.value?null:f.value.address1," ")}}function _e(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" Address 2: ",null==f.value?null:f.value.address2," ")}}function Ce(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" City: ",null==f.value?null:f.value.city," ")}}function Ve(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" State: ",null==f.value?null:f.value.state," ")}}function ae(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" Zip Code: ",null==f.value?null:f.value.zipCode," ")}}function pe(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,ie,2,1,"div",2)(2,_e,2,1,"div",2)(3,Ce,2,1,"div",2)(4,Ve,2,1,"div",2)(5,ae,2,1,"div",2),n.qZA()),2&v){const f=n.oxw(2).$implicit;n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.address1)&&""!==(null==f.value?null:f.value.address1)),n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.address2)&&""!==(null==f.value?null:f.value.address2)),n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.city)&&""!==(null==f.value?null:f.value.city)),n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.state)&&""!==(null==f.value?null:f.value.state)),n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.zipCode)&&""!==(null==f.value?null:f.value.zipCode))}}function Ae(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" Name: ",null==f.value?null:f.value.name," ")}}function Ze(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" Address 1: ",null==f.value?null:f.value.address1," ")}}function dt(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" Address 2:",null==f.value?null:f.value.address2," ")}}function Fe(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" City:",null==f.value?null:f.value.city," ")}}function Xe(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" State:",null==f.value?null:f.value.state," ")}}function Ie(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" Zip Code:",null==f.value?null:f.value.zipCode," ")}}function W(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,Ae,2,1,"div",2)(2,Ze,2,1,"div",2)(3,dt,2,1,"div",2)(4,Fe,2,1,"div",2)(5,Xe,2,1,"div",2)(6,Ie,2,1,"div",2),n.qZA()),2&v){const f=n.oxw(2).$implicit;n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.name)&&""!==(null==f.value?null:f.value.name)),n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.address1)&&""!==(null==f.value?null:f.value.address1)),n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.address2)&&""!==(null==f.value?null:f.value.address2)),n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.city)&&""!==(null==f.value?null:f.value.city)),n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.state)&&""!==(null==f.value?null:f.value.state)),n.xp6(),n.Q6J("ngIf",(null==f.value?null:f.value.zipCode)&&""!==(null==f.value?null:f.value.zipCode))}}function we(v,rt){if(1&v&&(n.TgZ(0,"td",16),n.YNc(1,pe,6,5,"span",2)(2,W,7,6,"span",2),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Q6J("ngIf","Address"===(null==f?null:f.fieldId)),n.xp6(),n.Q6J("ngIf","ShipToAddress"===(null==f?null:f.fieldId))}}function P(v,rt){if(1&v&&(n.TgZ(0,"span")(1,"div"),n._uU(2),n.qZA(),n.TgZ(3,"div"),n._uU(4),n.qZA()()),2&v){const f=n.oxw().$implicit;n.xp6(2),n.hij("Start Date: ",null==f?null:f.startDate,""),n.xp6(2),n.hij("End Date: ",null==f?null:f.endDate,"")}}function V(v,rt){if(1&v&&(n.TgZ(0,"div"),n.YNc(1,P,5,2,"span",2),n._UZ(2,"br"),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf",(null==f?null:f.startDate)&&""!==f.startDate&&f.endDate&&""!==f.endDate)}}function Se(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,V,3,1,"div",18),n.qZA()),2&v){const f=n.oxw(2).$implicit;n.xp6(),n.Q6J("ngForOf",null==f?null:f.value)}}function G(v,rt){if(1&v&&(n.TgZ(0,"td",17),n.YNc(1,Se,2,1,"span",2),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Q6J("ngIf","HolidayList"===(null==f?null:f.fieldId))}}function be(v,rt){if(1&v&&(n.TgZ(0,"tr",11)(1,"td"),n._uU(2),n.qZA(),n.YNc(3,T,2,1,"td",12)(4,we,3,2,"td",13)(5,G,2,1,"td",14),n.qZA()),2&v){const f=rt.$implicit,Oe=n.oxw(3);n.xp6(2),n.Oqu(null==f?null:f.label),n.xp6(),n.Q6J("ngIf","string"===Oe.typeOf(null==f?null:f.value)),n.xp6(),n.Q6J("ngIf","object"===Oe.typeOf(null==f?null:f.value)),n.xp6(),n.Q6J("ngIf","array"===Oe.typeOf(null==f?null:f.value))}}function de(v,rt){if(1&v&&(n.TgZ(0,"mat-tab",9)(1,"div")(2,"table"),n.YNc(3,be,6,4,"tr",10),n.qZA()()()),2&v){const f=n.oxw(2);n.Q6J("label",null==f.holdDetails?null:f.holdDetails.tabHeaders[0]),n.xp6(3),n.Q6J("ngForOf",null==f.holdDetails?null:f.holdDetails.libraryInfo)}}function De(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(f)}}function tt(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1,"\xa0"),n.qZA())}function Re(v,rt){if(1&v&&(n.TgZ(0,"td"),n.YNc(1,De,2,1,"span",2)(2,tt,2,0,"span",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf",""!==f&&null!==f),n.xp6(),n.Q6J("ngIf",""===f||null===f)}}function Ft(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.shippingMethod)}}function mt(v,rt){1&v&&(n.TgZ(0,"td"),n._uU(1,"\xa0"),n.qZA())}function sn(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.materials)}}function hn(v,rt){1&v&&(n.TgZ(0,"td"),n._uU(1,"\xa0"),n.qZA())}function Nn(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.willShip)}}function Jt(v,rt){1&v&&(n.TgZ(0,"td"),n._uU(1,"\xa0"),n.qZA())}function cn(v,rt){if(1&v&&(n.TgZ(0,"tr",11),n.YNc(1,Ft,2,1,"td",2)(2,mt,2,0,"td",2)(3,sn,2,1,"td",2)(4,hn,2,0,"td",2)(5,Nn,2,1,"td",2)(6,Jt,2,0,"td",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf",null!==(null==f?null:f.shippingMethod)),n.xp6(),n.Q6J("ngIf",null===(null==f?null:f.shippingMethod)),n.xp6(),n.Q6J("ngIf",null!==(null==f?null:f.materials)),n.xp6(),n.Q6J("ngIf",null===(null==f?null:f.materials)),n.xp6(),n.Q6J("ngIf",null!==(null==f?null:f.willShip)),n.xp6(),n.Q6J("ngIf",null===(null==f?null:f.willShip))}}function He(v,rt){if(1&v&&(n.TgZ(0,"mat-tab",19)(1,"table")(2,"thead")(3,"tr"),n.YNc(4,Re,3,2,"td",18),n.qZA()(),n.TgZ(5,"tbody"),n.YNc(6,cn,7,6,"tr",10),n.qZA()()()),2&v){const f=n.oxw(2);n.Q6J("label",null==f.holdDetails?null:f.holdDetails.tabHeaders[1]),n.xp6(4),n.Q6J("ngForOf",f.holdDetails.shipping.headers),n.xp6(2),n.Q6J("ngForOf",f.holdDetails.shipping.items)}}function fe(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(f)}}function Ne(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1,"\xa0"),n.qZA())}function $(v,rt){if(1&v&&(n.TgZ(0,"td"),n.YNc(1,fe,2,1,"span",2)(2,Ne,2,0,"span",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf",""!==f&&null!==f),n.xp6(),n.Q6J("ngIf",""===f||null===f)}}function Ee(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.illAcceptanceMethods)}}function Ge(v,rt){1&v&&(n.TgZ(0,"td"),n._uU(1,"\xa0"),n.qZA())}function Ke(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.illAcceptILLBy)}}function Et(v,rt){1&v&&(n.TgZ(0,"td"),n._uU(1,"\xa0"),n.qZA())}function Tt(v,rt){if(1&v&&(n.TgZ(0,"tr",11),n.YNc(1,Ee,2,1,"td",2)(2,Ge,2,0,"td",2)(3,Ke,2,1,"td",2)(4,Et,2,0,"td",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf",null!==(null==f?null:f.illAcceptanceMethods)),n.xp6(),n.Q6J("ngIf",null===(null==f?null:f.illAcceptanceMethods)),n.xp6(),n.Q6J("ngIf",null!==(null==f?null:f.illAcceptILLBy)),n.xp6(),n.Q6J("ngIf",null===(null==f?null:f.illAcceptILLBy))}}function tn(v,rt){if(1&v&&(n.TgZ(0,"mat-tab",20)(1,"table")(2,"thead")(3,"tr"),n.YNc(4,$,3,2,"td",18),n.qZA()(),n.TgZ(5,"tbody"),n.YNc(6,Tt,5,4,"tr",10),n.qZA()()()),2&v){const f=n.oxw(2);n.Q6J("label",null==f.holdDetails?null:f.holdDetails.tabHeaders[2]),n.xp6(4),n.Q6J("ngForOf",f.holdDetails.illAcceptance.headers),n.xp6(2),n.Q6J("ngForOf",f.holdDetails.illAcceptance.items)}}function rn(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(f)}}function Nt(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1,"\xa0"),n.qZA())}function ft(v,rt){if(1&v&&(n.TgZ(0,"td"),n.YNc(1,rn,2,1,"span",2)(2,Nt,2,0,"span",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf",""!==f&&null!==f),n.xp6(),n.Q6J("ngIf",""===f||null===f)}}function Bt(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.copyies)}}function Ue(v,rt){1&v&&(n.TgZ(0,"td"),n._uU(1,"\xa0"),n.qZA())}function nt(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.photoCopy)}}function Ye(v,rt){1&v&&(n.TgZ(0,"td"),n._uU(1,"\xa0"),n.qZA())}function zt(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.fax)}}function $t(v,rt){1&v&&(n.TgZ(0,"td"),n._uU(1,"\xa0"),n.qZA())}function Mn(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(null==f?null:f.arielEmailOther)}}function Wn(v,rt){1&v&&(n.TgZ(0,"td"),n._uU(1,"\xa0"),n.qZA())}function di(v,rt){if(1&v&&(n.TgZ(0,"tr",11),n.YNc(1,Bt,2,1,"td",2)(2,Ue,2,0,"td",2)(3,nt,2,1,"td",2)(4,Ye,2,0,"td",2)(5,zt,2,1,"td",2)(6,$t,2,0,"td",2)(7,Mn,2,1,"td",2)(8,Wn,2,0,"td",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf",null!==(null==f?null:f.copyies)),n.xp6(),n.Q6J("ngIf",null===(null==f?null:f.copyies)),n.xp6(),n.Q6J("ngIf",null!==(null==f?null:f.photoCopy)),n.xp6(),n.Q6J("ngIf",null===(null==f?null:f.photoCopy)),n.xp6(),n.Q6J("ngIf",null!==(null==f?null:f.fax)),n.xp6(),n.Q6J("ngIf",null===(null==f?null:f.fax)),n.xp6(),n.Q6J("ngIf",null!==(null==f?null:f.arielEmailOther)),n.xp6(),n.Q6J("ngIf",null===(null==f?null:f.arielEmailOther))}}function Pt(v,rt){if(1&v&&(n.TgZ(0,"mat-tab",21)(1,"table")(2,"thead")(3,"tr"),n.YNc(4,ft,3,2,"td",18),n.qZA()(),n.TgZ(5,"tbody"),n.YNc(6,di,9,8,"tr",10),n.qZA()()()),2&v){const f=n.oxw(2);n.Q6J("label",null==f.holdDetails?null:f.holdDetails.tabHeaders[3]),n.xp6(4),n.Q6J("ngForOf",f.holdDetails.copies.headers),n.xp6(2),n.Q6J("ngForOf",f.holdDetails.copies.items)}}function Xt(v,rt){if(1&v&&(n.TgZ(0,"mat-tab-group"),n.YNc(1,de,4,2,"mat-tab",5)(2,He,7,3,"mat-tab",6)(3,tn,7,3,"mat-tab",7)(4,Pt,7,3,"mat-tab",8),n.qZA()),2&v){const f=n.oxw();n.xp6(),n.Q6J("ngIf",null==f.holdDetails?null:f.holdDetails.tabHeaders[0]),n.xp6(),n.Q6J("ngIf",null==f.holdDetails?null:f.holdDetails.tabHeaders[1]),n.xp6(),n.Q6J("ngIf",null==f.holdDetails?null:f.holdDetails.tabHeaders[2]),n.xp6(),n.Q6J("ngIf",null==f.holdDetails?null:f.holdDetails.tabHeaders[3])}}let Le=(()=>{class v{constructor(f,Oe){this.dialogRef=f,this.data=Oe}ngOnInit(){this.data&&(this.holdDetails=this.data)}typeOf(f){return"object"==typeof f?Array.isArray(f)?"array":"object":"string"}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(p.hV),n.Y36(p.eJ))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["app-holdings-details-dialog"]],decls:8,vars:1,consts:[["mat-dialog-title","",1,"text-center"],["mat-dialog-content",""],[4,"ngIf"],["align","end"],["role","button","type","button","aria-label","Place Hold","mat-raised-button","","cdkFocusInitial","",1,"popup-btn","save-btn",3,"click"],["class","tab0",3,"label",4,"ngIf"],["class","tab1",3,"label",4,"ngIf"],["class","tab2",3,"label",4,"ngIf"],[3,"label",4,"ngIf"],[1,"tab0",3,"label"],["class","spaceUnder",4,"ngFor","ngForOf"],[1,"spaceUnder"],["class","str",4,"ngIf"],["class","obj",4,"ngIf"],["class","array",4,"ngIf"],[1,"str"],[1,"obj"],[1,"array"],[4,"ngFor","ngForOf"],[1,"tab1",3,"label"],[1,"tab2",3,"label"],[3,"label"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"h3",0),n._uU(1,"Holding Detail"),n.qZA(),n._UZ(2,"br"),n.TgZ(3,"div",1),n.YNc(4,Xt,5,4,"mat-tab-group",2),n.qZA(),n.TgZ(5,"mat-dialog-actions",3)(6,"button",4),n.NdJ("click",function(){return ot.dialogRef.close("yes")}),n._uU(7," Close "),n.qZA()()),2&Oe&&(n.xp6(4),n.Q6J("ngIf",ot.holdDetails))},dependencies:[le.sg,le.O5,S.eB,p.YS,p.Rb,p.ev,H.SK,H.R7],styles:["tr.spaceUnder[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding-bottom:1em!important}td[_ngcontent-%COMP%]{padding-right:10px;text-align:left;color:#000;padding-left:.5em;vertical-align:top}"]})}return v})();var ue=s(9773),X=s(2276),xe=s(8645),et=s(8377),j=s(8913),F=s(6034),N=s(3213),k=s(2413),ne=s(4132),z=s(9602),re=s(6825),B=s(2787),Y=s(3576),Qe=s(4399),_t=s(4259),Vt=s(1261),bn=s(5722),xn=s(6608),Fn=s(8321),Ot=s(2495);const En=["swipe"],ye=["swipeNext"],It=["swipePrev"],pt=["*"];let wt=(()=>{class v{get autoplay(){return this._autoplay}set autoplay(f){this._autoplay=(0,Ot.Ig)(f)}ngAfterViewInit(){this._swiper=new Fn.Z(this.componentRef.nativeElement,{centeredSlides:!1,direction:"horizontal",keyboard:!0,observer:!0,pagination:!1,spaceBetween:20,autoplay:this._autoplay,navigation:{nextEl:this.swiperNext.nativeElement,prevEl:this.swiperPrev.nativeElement},slidesPerView:this.slideCount??10,breakpoints:this._setResponsive(this.slideCount),rewind:!0,a11y:{enabled:!0}})}_setResponsive(f){switch(f){case 1:case 2:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:1},1200:{slidesPerView:2},1400:{slidesPerView:2},1700:{slidesPerView:2},2e3:{slidesPerView:2}};case 3:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:2},1200:{slidesPerView:2},1400:{slidesPerView:3},1700:{slidesPerView:3},2e3:{slidesPerView:3}};case 4:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:3},1200:{slidesPerView:3},1400:{slidesPerView:4},1700:{slidesPerView:4},2e3:{slidesPerView:4}};case 5:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:3},1200:{slidesPerView:4},1400:{slidesPerView:5},1700:{slidesPerView:5},2e3:{slidesPerView:5}};case 6:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:4},1200:{slidesPerView:5},1400:{slidesPerView:5},1700:{slidesPerView:6},2e3:{slidesPerView:6}};case 7:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:4},1200:{slidesPerView:4},1400:{slidesPerView:5},1700:{slidesPerView:6},2e3:{slidesPerView:7}};case 8:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:4},1200:{slidesPerView:5},1400:{slidesPerView:6},1700:{slidesPerView:7},2e3:{slidesPerView:8}};default:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:6},1200:{slidesPerView:7},1400:{slidesPerView:8},1700:{slidesPerView:9},2e3:{slidesPerView:10}}}}ngOnDestroy(){this._swiper.destroy()}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-carousel"]],viewQuery:function(Oe,ot){if(1&Oe&&(n.Gf(En,5),n.Gf(ye,5),n.Gf(It,5)),2&Oe){let qn;n.iGM(qn=n.CRH())&&(ot.componentRef=qn.first),n.iGM(qn=n.CRH())&&(ot.swiperNext=qn.first),n.iGM(qn=n.CRH())&&(ot.swiperPrev=qn.first)}},inputs:{slideCount:"slideCount",autoplay:"autoplay"},ngContentSelectors:pt,decls:8,vars:0,consts:[[1,"swiper",2,"z-index","0","text-align","center"],["swipe",""],[1,"swiper-wrapper"],[1,"swiper-button-prev"],["swipePrev",""],[1,"swiper-button-next"],["swipeNext",""]],template:function(Oe,ot){1&Oe&&(n.F$t(),n.TgZ(0,"div",0,1)(2,"div",2),n.Hsn(3),n.qZA(),n._UZ(4,"div",3,4)(6,"div",5,6),n.qZA())},encapsulation:2})}return v})();function $n(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw();n.xp6(),n.Oqu(f.carouselItem.callNumber)}}const pn=["*"];let Vn=(()=>{class v{get showCallNumber(){return this._showCallNumber}set showCallNumber(f){this._showCallNumber=(0,Ot.Ig)(f)}constructor(f){this._elementRef=f,this.selectedCarouselItem=new n.vpe,this._elementRef.nativeElement.classList.add("swiper-slide")}goToFullRecord(f){this.selectedCarouselItem.emit(f)}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(n.SBq))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-carousel-item"]],inputs:{carouselItem:"carouselItem",showCallNumber:"showCallNumber"},outputs:{selectedCarouselItem:"selectedCarouselItem"},ngContentSelectors:pn,decls:20,vars:12,consts:[["tabindex","0",1,"jacketart","pointer",3,"agInteract"],["onerror","this.onerror=null;this.alt='Image not available';this.src='https\\:\\/\\/www5.auto-graphics.com/v6assets/no-image-foundlrg.png?local'",1,"max-height-100","max-width-80",3,"alt","src","title"],[1,"slide-content","pointer"],[1,"mat-body-strong"],[1,"mat-caption"],[4,"ngIf"]],template:function(Oe,ot){1&Oe&&(n.F$t(),n.TgZ(0,"div",0),n.NdJ("agInteract",function(){return ot.goToFullRecord(ot.carouselItem)}),n._UZ(1,"img",1),n.qZA(),n.TgZ(2,"div",2)(3,"div",3),n._uU(4),n.qZA(),n.TgZ(5,"div",4)(6,"div"),n._uU(7),n.qZA(),n.TgZ(8,"div"),n._uU(9),n.qZA(),n.TgZ(10,"div"),n._uU(11),n.qZA(),n.TgZ(12,"div"),n._uU(13),n.qZA(),n.YNc(14,$n,2,1,"div",5),n.qZA(),n.TgZ(15,"div",3),n._uU(16),n.qZA(),n.TgZ(17,"div",3),n._uU(18),n.qZA()(),n.Hsn(19)),2&Oe&&(n.xp6(),n.Q6J("alt",ot.carouselItem.title)("src",ot.carouselItem.jacketArt.large,n.LSH)("title",ot.carouselItem.title),n.xp6(3),n.Oqu(ot.carouselItem.title),n.xp6(3),n.Oqu(ot.carouselItem.author),n.xp6(2),n.Oqu(ot.carouselItem.publisher),n.xp6(2),n.Oqu(null==ot.carouselItem.format?null:ot.carouselItem.format.long),n.xp6(2),n.Oqu(ot.carouselItem.pubYear),n.xp6(),n.Q6J("ngIf",ot.showCallNumber),n.xp6(2),n.hij("Holds: ",ot.carouselItem.totalHolds,""),n.xp6(2),n.AsE(" Availability: ",ot.carouselItem.totalAvailables," of ",ot.carouselItem.totalCopies," "))},dependencies:[le.O5,bn.o],styles:[".jacketart[_ngcontent-%COMP%]{height:100px}"]})}return v})();var Ct=s(6433),nn=s(2609),Wt=s(617),Pn=s(6718),Un=s(965),jn=s(481),ui=s(4593),Ai=s(3941),hi=s(9862);let Xi=(()=>{class v{constructor(f,Oe,ot,qn){this._apiService=f,this._configService=Oe,this._sharedService=ot,this._http=qn,this._clcdUrl=`${this._configService.agApi}/econtent/clcd`}getClcdContent(f,Oe){return this._apiService.get(`${this._clcdUrl}/${f}?searchId=${Oe}`)}getBooksLikeThis(f){return this._http.post(`${this._clcdUrl}/bookslikethis`,f,{params:{isKidsSearch:this._sharedService.getIsKidsCat()}})}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.LFG(ui.s),n.LFG(Ai.E),n.LFG(L.F),n.LFG(hi.eN))};static#t=this.\u0275prov=n.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})();var ao=s(4716);const xi=["swipe"],Bi=["swipeNext"],bo=["swipePrev"];function Qi(v,rt){if(1&v&&(n.TgZ(0,"div",17)(1,"div"),n.O4$(),n.TgZ(2,"svg",18),n._UZ(3,"use",19),n.qZA()(),n.kcU(),n.TgZ(4,"div",20)(5,"div",21),n._uU(6),n.qZA(),n.TgZ(7,"div",22),n._uU(8),n.qZA(),n.TgZ(9,"div",7),n._uU(10),n.qZA()()()),2&v){const f=rt.$implicit,Oe=n.oxw();n.xp6(2),n.Q6J("ngClass",Oe.getAwardClass(f.status)),n.xp6(4),n.Oqu(f.status),n.xp6(2),n.Oqu(f.title),n.xp6(2),n.Oqu(f.year)}}let On=(()=>{class v{constructor(){this.winners=["winner","won","win"],this.finalists=["finalist","runner up"],this.honors=["honor"]}ngAfterViewInit(){this._swiper=new Fn.Z(this.componentRef.nativeElement,{centeredSlides:!1,direction:"horizontal",keyboard:!0,observer:!0,pagination:!1,spaceBetween:40,autoplay:!1,navigation:{nextEl:this.swiperNext.nativeElement,prevEl:this.swiperPrev.nativeElement},slidesPerView:4,breakpoints:this._setResponsive(4),rewind:!0,a11y:{enabled:!0}})}_setResponsive(f){switch(f){case 1:case 2:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:1},1200:{slidesPerView:2},1400:{slidesPerView:2},1700:{slidesPerView:2},2e3:{slidesPerView:2}};case 3:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:2},1200:{slidesPerView:2},1400:{slidesPerView:3},1700:{slidesPerView:3},2e3:{slidesPerView:3}};case 4:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:3},1200:{slidesPerView:3},1400:{slidesPerView:4},1700:{slidesPerView:4},2e3:{slidesPerView:4}};case 5:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:3},1200:{slidesPerView:4},1400:{slidesPerView:5},1700:{slidesPerView:5},2e3:{slidesPerView:5}};case 6:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:4},1200:{slidesPerView:5},1400:{slidesPerView:5},1700:{slidesPerView:6},2e3:{slidesPerView:6}};case 7:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:4},1200:{slidesPerView:4},1400:{slidesPerView:5},1700:{slidesPerView:6},2e3:{slidesPerView:7}};case 8:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:4},1200:{slidesPerView:5},1400:{slidesPerView:6},1700:{slidesPerView:7},2e3:{slidesPerView:8}};default:return{320:{slidesPerView:1},480:{slidesPerView:2},640:{slidesPerView:4},768:{slidesPerView:5},992:{slidesPerView:6},1200:{slidesPerView:7},1400:{slidesPerView:8},1700:{slidesPerView:9},2e3:{slidesPerView:10}}}}getAwardClass(f){return f.toLowerCase().includes("gold")?"gold":f.toLowerCase().includes("silver")?"silver":f.toLowerCase().includes("bronze")?"bronze":this.winners.some(Oe=>f.toLowerCase().includes(Oe))?"winner":this.finalists.some(Oe=>f.toLowerCase().includes(Oe))?"finalist":this.honors.some(Oe=>f.toLowerCase().includes(Oe))?"honor":"default"}ngOnDestroy(){this._swiper.destroy()}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-clcd-awards"]],viewQuery:function(Oe,ot){if(1&Oe&&(n.Gf(xi,5),n.Gf(Bi,5),n.Gf(bo,5)),2&Oe){let qn;n.iGM(qn=n.CRH())&&(ot.componentRef=qn.first),n.iGM(qn=n.CRH())&&(ot.swiperNext=qn.first),n.iGM(qn=n.CRH())&&(ot.swiperPrev=qn.first)}},inputs:{awards:"awards"},decls:19,vars:1,consts:[["version","2.0",2,"display","none"],["id","ag-award","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24",1,"ag-icon"],["fill","currentColor"],["d","M7.346 14.205 4.893 21.49a4.245 9.854 18.604 0 1 2.217-.451 4.245 9.854 18.604 0 1 1.5 1.677l.837-2.487V16.2c-.03-.008-.053-.008-.084-.018-1.216-.38-.929-1.212-1.968-1.948-.017-.012-.032-.018-.049-.029zM16.597 14.257c-.825.722-.633 1.477-1.77 1.86-.103.036-.192.05-.284.068v4.236l.773 2.296a9.854 4.245 71.396 0 1 1.5-1.678 9.854 4.245 71.396 0 1 2.216.452z"],["d","M-230.42 370.98c-17.196.203-23.553 9.058-35.478 9.871v132.49a73.433 170.46 0 0 1 33.849-19.642 73.433 170.46 0 0 1 33.849 19.233v-133.47c-9.858-1.844-16.794-8.664-32.221-8.482z","paint-order","markers stroke fill","transform","translate(25.411 -5.748) scale(.05781)",2,"font-variation-settings","normal"],["d","M14 .042c-.792-.083-1.082.504-2.088.516-1.15.014-1.382-.746-2.471-.378-1.09.368-.813 1.113-1.735 1.8s-1.557.208-2.222 1.146-.003 1.378-.345 2.476C4.796 6.7 4 6.686 4.015 7.836c.013 1.15.807 1.117 1.176 2.206.368 1.09-.283 1.545.403 2.467.687.923 1.31.429 2.248 1.094.939.665.68 1.416 1.778 1.759 1.097.342 1.311-.423 2.461-.437 1.15-.013 1.382.747 2.471.379 1.09-.368.813-1.114 1.735-1.8s1.557-.209 2.222-1.147c.665-.938.003-1.378.346-2.476.342-1.098 1.137-1.083 1.123-2.233-.014-1.15-.807-1.117-1.175-2.206-.369-1.09.283-1.545-.404-2.468-.687-.922-1.31-.429-2.249-1.094-.938-.665-.679-1.416-1.776-1.759A1.923 1.923 0 0 0 14 .041zm-.508 1.95c.085.01.177.029.28.06.819.257.625.817 1.326 1.314.7.496 1.165.128 1.678.816.513.689.026 1.029.301 1.842.275.814.868.79.878 1.648.01.858-.583.847-.838 1.667-.256.82.238 1.148-.259 1.848-.496.7-.97.344-1.658.856-.69.513-.482 1.07-1.295 1.344-.814.275-.987-.293-1.845-.283-.859.01-1.018.582-1.838.327-.82-.256-.626-.817-1.327-1.314-.7-.496-1.165-.127-1.678-.816-.513-.688-.026-1.028-.301-1.842-.275-.813-.868-.789-.878-1.647-.01-.858.583-.848.839-1.667.255-.82-.239-1.148.258-1.849.496-.7.97-.343 1.658-.856.689-.513.482-1.069 1.296-1.344.813-.275.986.293 1.844.283.752-.01.968-.448 1.56-.386z","paint-order","markers stroke fill"],["d","M441.04 466.28c-16.592 12.356-11.61 25.757-31.208 32.38s-23.768-7.052-44.453-6.808c-20.685.243-24.532 14.013-44.281 7.852-19.748-6.16-15.084-19.675-31.962-31.637s-28.084-3.082-40.439-19.675c-12.356-16.592-.638-24.783-7.262-44.38s-20.908-19.002-21.152-39.688c-.243-20.685 14.051-20.425 20.212-40.174 6.16-19.748-5.746-27.662 6.215-44.54 11.962-16.878 23.373-8.265 39.965-20.62s11.61-25.758 31.208-32.38 23.768 7.051 44.453 6.808c20.685-.244 24.532-14.013 44.281-7.853 19.748 6.16 15.084 19.675 31.962 31.637s28.084 3.083 40.44 19.675.637 24.783 7.261 44.381c6.624 19.598 20.908 19.001 21.152 39.687.244 20.685-14.05 20.425-20.212 40.174-6.16 19.748 5.747 27.662-6.215 44.54s-23.373 8.265-39.965 20.621z","paint-order","markers stroke fill","transform","matrix(.0318 0 0 .0318 .428 -3.787)",2,"font-variation-settings","normal"],[1,"mat-title"],["id","awards-swiper"],[1,"swiper"],["swipe",""],[1,"swiper-wrapper"],["fxLayout","row","class","swiper-slide",4,"ngFor","ngForOf"],[1,"swiper-button-prev"],["swipePrev",""],[1,"swiper-button-next"],["swipeNext",""],["fxLayout","row",1,"swiper-slide"],["width","100","height","100","version","2.0",3,"ngClass"],["href","#ag-award"],[1,"slide-content"],[1,"mat-title",2,"text-transform","uppercase"],[1,"mat-caption"]],template:function(Oe,ot){1&Oe&&(n.O4$(),n.TgZ(0,"svg",0)(1,"defs")(2,"symbol",1)(3,"g",2),n._UZ(4,"path",3)(5,"path",4)(6,"path",5)(7,"path",6),n.qZA()()()(),n.kcU(),n.TgZ(8,"div",7),n._uU(9,"Awards & Honors"),n.qZA(),n.TgZ(10,"div",8)(11,"div",9,10)(13,"div",11),n.YNc(14,Qi,11,4,"div",12),n.qZA(),n._UZ(15,"div",13,14)(17,"div",15,16),n.qZA()()),2&Oe&&(n.xp6(14),n.Q6J("ngForOf",ot.awards))},dependencies:[le.mk,le.sg,Ct.xw,nn.oO],styles:["[_nghost-%COMP%]{z-index:0}.ag-icon[_ngcontent-%COMP%]{height:64px}.winner[_ngcontent-%COMP%]{color:#3d3dd1}.finalist[_ngcontent-%COMP%]{color:#d73535}.honor[_ngcontent-%COMP%]{color:#aaa}.default[_ngcontent-%COMP%]{color:#9d72c2}.gold[_ngcontent-%COMP%]{color:gold}.silver[_ngcontent-%COMP%]{color:#a9a9a9}.bronze[_ngcontent-%COMP%]{color:#cd7f32}"]})}return v})();var mi=s(9025);function Rt(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.hij("Grade ",f.age.grade,"")}}function on(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"mat-card",3),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.search(ot.age.searchQuery,"Age"))}),n.TgZ(2,"div",4),n._uU(3,"Recommended Age"),n.qZA(),n.TgZ(4,"div",5)(5,"h3"),n._uU(6),n.qZA(),n.YNc(7,Rt,2,1,"div",2),n.qZA()(),n.BQk()}if(2&v){const f=n.oxw();n.xp6(6),n.Oqu(f.recommendedAge),n.xp6(),n.Q6J("ngIf",f.age.grade)}}function ze(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"mat-card",3),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.search(ot.studyProgram.lexile.searchQuery,"Lexile"))}),n.TgZ(2,"div",4),n._uU(3,"Lexile"),n.qZA(),n.TgZ(4,"div",6)(5,"h3"),n._uU(6),n.qZA(),n.TgZ(7,"div",7),n._uU(8),n.qZA()()(),n.BQk()}if(2&v){const f=n.oxw(2);let Oe;n.xp6(6),n.Oqu(f.studyProgram.lexile.measure),n.xp6(),n.Q6J("matTooltip",null!==(Oe=f.studyProgram.lexile.definition)&&void 0!==Oe?Oe:null),n.xp6(),n.hij(" ",f.studyProgram.lexile.code," ")}}function en(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"mat-card",3),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.search(ot.studyProgram.acceleratedReader.searchQuery,"Accelerated Reader"))}),n.TgZ(2,"div",4),n._uU(3,"Accelerated Reader"),n.qZA(),n.TgZ(4,"div",6)(5,"h3"),n._uU(6),n.qZA(),n.TgZ(7,"div"),n._uU(8),n.qZA()()(),n.BQk()}if(2&v){const f=n.oxw(2);n.xp6(6),n.Oqu(f.studyProgram.acceleratedReader.atos),n.xp6(2),n.hij("Points: ",f.studyProgram.acceleratedReader.titlePoint,"")}}function st(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"mat-card",3),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.search(ot.studyProgram.readingCounts.searchQuery,"Reading Count"))}),n.TgZ(2,"div",4),n._uU(3,"Reading Counts"),n.qZA(),n.TgZ(4,"div",6)(5,"h3"),n._uU(6),n.qZA(),n.TgZ(7,"div"),n._uU(8),n.qZA()()(),n.BQk()}if(2&v){const f=n.oxw(2);n.xp6(6),n.Oqu(f.studyProgram.readingCounts.readingLevel),n.xp6(2),n.hij("Points: ",f.studyProgram.readingCounts.titlePoint,"")}}function Zt(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,ze,9,3,"ng-container",2)(2,en,9,2,"ng-container",2)(3,st,9,2,"ng-container",2),n.BQk()),2&v){const f=n.oxw();n.xp6(),n.Q6J("ngIf",f.studyProgram.lexile),n.xp6(),n.Q6J("ngIf",f.studyProgram.acceleratedReader),n.xp6(),n.Q6J("ngIf",f.studyProgram.readingCounts)}}let an=(()=>{class v{constructor(f,Oe,ot){this._searchService=f,this._analyticsService=Oe,this._sharedService=ot}ngOnInit(){this.age&&(this.recommendedAge=this.age.min===this.age.max?`${this.age.min}`:`${this.age.min}-${this.age.max}`)}search(f,Oe){this._analyticsService.logEvent(`CLCD ${Oe}`),this._searchService.search(f)}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(M.oD),n.Y36(z.y),n.Y36(L.F))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-clcd-study-programs"]],inputs:{age:"age",studyProgram:"studyProgram"},decls:5,vars:2,consts:[[1,"mat-title"],["fxLayout","row wrap","fxLayoutAlign","space-evenly stretch","fxLayoutGap","10px"],[4,"ngIf"],["tabindex","0",1,"pointer",3,"agInteract"],["mat-card-title",""],["mat-card-content","","align","center"],["mat-card-content",""],[3,"matTooltip"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"div",0),n._uU(1,"Study Programs"),n.qZA(),n.TgZ(2,"div",1),n.YNc(3,on,8,2,"ng-container",2)(4,Zt,4,3,"ng-container",2),n.qZA()),2&Oe&&(n.xp6(3),n.Q6J("ngIf",ot.age),n.xp6(),n.Q6J("ngIf",ot.studyProgram))},dependencies:[le.O5,bn.o,Ct.xw,Ct.SQ,Ct.Wh,mi.S$,mi.Qi,mi.mi,jn.Kd],styles:["mat-card[_ngcontent-%COMP%]{width:250px;text-align:center;margin-bottom:10px}"]})}return v})();function Xn(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-carousel-item",2),n.NdJ("selectedCarouselItem",function(ot){n.CHM(f);const qn=n.oxw();return n.KtG(qn.goToFullRecord(ot))}),n.qZA()}2&v&&n.Q6J("carouselItem",rt.$implicit)}let fi=(()=>{class v{constructor(){this._routingService=(0,n.f3M)(et.Z),this._analyticService=(0,n.f3M)(z.y)}goToFullRecord(f){this._analyticService.logEvent("Books Like This"),this._routingService.goToFullRecordByAgControlId(f.agControlId,f.libraryDbPoolKey)}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-clcd-books-like-this"]],inputs:{carouselItems:"carouselItems",slideCounts:"slideCounts"},decls:5,vars:1,consts:[[1,"mat-title"],[3,"slideCount"],[3,"carouselItem","selectedCarouselItem"],[3,"carouselItem"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"div",0),n._uU(1,"Books Like This"),n.qZA(),n.TgZ(2,"ag-carousel",1),n.SjG(3,Xn,1,1,"ag-carousel-item",3,n.x6l),n.qZA()),2&Oe&&(n.xp6(2),n.Q6J("slideCount",8),n.xp6(),n.wJu(ot.carouselItems))},dependencies:[wt,Vn]})}return v})();function Ui(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n._uU(1," ... "),n.TgZ(2,"a",1),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.showMore=!0)})("keyup.enter",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.showMore=!0)}),n._uU(3,"(read more)"),n.qZA(),n.BQk()}}function So(v,rt){if(1&v&&(n.ynx(0),n._uU(1),n.BQk()),2&v){const f=n.oxw();n.xp6(),n.hij(" ",f.more," ")}}let Lo=(()=>{class v{constructor(){}ngOnInit(){this.preview=this.review.content.substring(0,this.review.content.length>this.reviewLength?this.reviewLength:this.review.content.length),this.more=this.preview.length!==this.review.content.length?this.review.content.substring(this.reviewLength,this.review.content.length):""}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-review"]],inputs:{review:"review",reviewLength:"reviewLength"},decls:6,vars:5,consts:[[4,"ngIf"],["mat-button","","tabindex","0",3,"click","keyup.enter"]],template:function(Oe,ot){1&Oe&&(n._uU(0,"("),n.TgZ(1,"strong"),n._uU(2),n.qZA(),n._uU(3),n.YNc(4,Ui,4,0,"ng-container",0)(5,So,2,1,"ng-container",0)),2&Oe&&(n.xp6(2),n.AsE("",ot.review.by," - ",ot.review.source,") "),n.xp6(),n.hij("\n",ot.preview,"\n"),n.xp6(),n.Q6J("ngIf",ot.more&&!ot.showMore),n.xp6(),n.Q6J("ngIf",ot.showMore))},dependencies:[le.O5,S.Nr]})}return v})();function Co(v,rt){if(1&v&&(n.ynx(0),n._UZ(1,"ag-review",5),n.BQk()),2&v){const f=rt.$implicit,Oe=n.oxw();n.xp6(),n.Q6J("review",f)("reviewLength",Oe.reviewLength)}}function Yo(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",6),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.showMoreReviews())}),n._uU(1," See More Reviews "),n.qZA()}}let $o=(()=>{class v{constructor(){this.reviewLength=500,this.numberOfReviews=3,this.showMoreSize=10}ngOnInit(){this.reviews&&(this.displayedReviews=this.reviews.slice(0,this.numberOfReviews))}showMoreReviews(){this.displayedReviews.push(...this.reviews.slice(this.displayedReviews.length,this.displayedReviews.length+this.showMoreSize>this.reviews.length?this.reviews.length:this.displayedReviews.length+this.showMoreSize))}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-clcd-reviews"]],inputs:{reviews:"reviews",reviewLength:"reviewLength",numberOfReviews:"numberOfReviews",showMoreSize:"showMoreSize"},decls:6,vars:2,consts:[[1,"mat-title"],["fxLayout","column","fxLayoutGap","20px"],[4,"ngFor","ngForOf"],["fxLayout","row","fxLayoutAlign","center start"],["mat-button","","color","primary","class","ag-mat-button-primary","type","button",3,"click",4,"ngIf"],[3,"review","reviewLength"],["mat-button","","color","primary","type","button",1,"ag-mat-button-primary",3,"click"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"div",0),n._uU(1,"Reviews"),n.qZA(),n.TgZ(2,"div",1),n.YNc(3,Co,2,2,"ng-container",2),n.TgZ(4,"div",3),n.YNc(5,Yo,2,0,"button",4),n.qZA()()),2&Oe&&(n.xp6(3),n.Q6J("ngForOf",ot.displayedReviews),n.xp6(2),n.Q6J("ngIf",ot.displayedReviews.length<ot.reviews.length))},dependencies:[le.sg,le.O5,Ct.xw,Ct.SQ,Ct.Wh,S.eB,Lo]})}return v})();function tr(v,rt){if(1&v&&n._UZ(0,"ag-clcd-study-programs",7),2&v){const f=n.oxw(2);n.Q6J("studyProgram",f.content.studyProgram)("age",f.content.age)}}function Mr(v,rt){if(1&v&&n._UZ(0,"ag-clcd-awards",8),2&v){const f=n.oxw(2);n.Q6J("awards",f.content.awards)}}function cr(v,rt){if(1&v&&n._UZ(0,"ag-clcd-reviews",9),2&v){const f=n.oxw(2);n.Q6J("reviews",f.content.reviews)}}function dr(v,rt){if(1&v&&n._UZ(0,"ag-clcd-books-like-this",10),2&v){const f=n.oxw(2);n.Q6J("carouselItems",f.carouselItems)}}function qr(v,rt){if(1&v&&(n.ynx(0),n.TgZ(1,"div",1)(2,"h2",2),n._uU(3),n.qZA(),n.YNc(4,tr,1,2,"ag-clcd-study-programs",3)(5,Mr,1,1,"ag-clcd-awards",4)(6,cr,1,1,"ag-clcd-reviews",5)(7,dr,1,1,"ag-clcd-books-like-this",6),n.qZA(),n.BQk()),2&v){const f=n.oxw();n.xp6(3),n.Oqu(f.label),n.xp6(),n.Q6J("ngIf",f.content.studyProgram||f.content.age),n.xp6(),n.Q6J("ngIf",f.content.awards),n.xp6(),n.Q6J("ngIf",f.content.reviews),n.xp6(),n.Q6J("ngIf",f.carouselItems.length>0)}}let Nr=(()=>{class v{constructor(f,Oe){this._clcdService=f,this._analyticsService=Oe,this.label="CLCD",this.contentLoaded=new n.vpe(!1),this.carouselItems=[]}ngOnInit(){this.clcd&&this._clcdService.getClcdContent(this.clcd,this.searchId).pipe((0,ao.x)(()=>this.hasContentLoaded())).subscribe(f=>{this._analyticsService.logEvent("CLCD Display"),this.content=f,this.content.booksLikeThis&&this._clcdService.getBooksLikeThis(this.content.booksLikeThis).pipe((0,ao.x)(()=>this.hasContentLoaded())).subscribe(Oe=>{this.carouselItems=Oe.items})})}hasContentLoaded(){this.hasContent=null!=this.content?.age||this.content?.awards?.length>0||this.content?.reviews?.length>0||null!=this.content?.studyProgram||this.carouselItems?.length>0,this.contentLoaded.emit(this.hasContent)}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(Xi),n.Y36(z.y))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-clcd"]],inputs:{clcd:"clcd",label:"label",searchId:"searchId"},outputs:{contentLoaded:"contentLoaded"},decls:1,vars:1,consts:[[4,"ngIf"],["fxLayout","column","fxLayoutGap","20px"],[1,"text-center"],[3,"studyProgram","age",4,"ngIf"],[3,"awards",4,"ngIf"],[3,"reviews",4,"ngIf"],[3,"carouselItems",4,"ngIf"],[3,"studyProgram","age"],[3,"awards"],[3,"reviews"],[3,"carouselItems"]],template:function(Oe,ot){1&Oe&&n.YNc(0,qr,8,5,"ng-container",0),2&Oe&&n.Q6J("ngIf",ot.content&&ot.hasContent)},dependencies:[le.O5,Ct.xw,Ct.SQ,On,an,fi,$o]})}return v})();var Er=s(110);function ln(v,rt){if(1&v&&(n.TgZ(0,"mat-list-option",6),n._UZ(1,"img",7),n._uU(2),n.qZA()),2&v){const f=rt.$implicit;n.Q6J("value",f),n.xp6(),n.Q6J("src",f.images.thumbnail.href,n.LSH),n.uIk("alt",f.edition),n.xp6(),n.hij(" ",f.edition," ")}}let Ci=(()=>{class v{constructor(f,Oe){this.dialogRef=f,this.data=Oe,this.selectItemControl=new U.NI}ngOnInit(){this.selectItemControl.setValue([this.data.magazineIssues.find(f=>f.edition===this.data.selectedMagazineEdition)])}closeDialog(f){this.dialogRef.close(f)}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(p.hV),n.Y36(p.eJ))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-overdrive-magazine-dialog"]],decls:8,vars:4,consts:[["mat-dialog-title","","fxLayoutAlign","center"],["fxLayoutAlign","center"],[2,"width","100%","max-height","300px",3,"formControl","multiple","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayoutAlign","end"],["mat-button","","aria-label","Cancel","mat-dialog-close","","type","button"],[3,"value"],["matListAvatar","",1,"magaine-jacket-art",3,"src"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"h1",0),n._uU(1),n.qZA(),n.TgZ(2,"mat-dialog-content",1)(3,"mat-selection-list",2),n.NdJ("selectionChange",function(){return ot.closeDialog(ot.selectItemControl.value[0])}),n.YNc(4,ln,3,4,"mat-list-option",3),n.qZA()(),n.TgZ(5,"mat-dialog-actions",4)(6,"button",5),n._uU(7,"Cancel"),n.qZA()()),2&Oe&&(n.xp6(),n.Oqu(ot.data.title),n.xp6(2),n.Q6J("formControl",ot.selectItemControl)("multiple",!1),n.xp6(),n.Q6J("ngForOf",ot.data.magazineIssues))},dependencies:[le.sg,U.JJ,U.oH,S.eB,Ct.Wh,p.aO,p.YS,p.Rb,p.ev,Er.Wx,Er.kh,Er.O$],styles:[".magaine-jacket-art[_ngcontent-%COMP%]{height:auto!important;width:auto!important;max-height:40px;max-width:40px;border-radius:0!important}"]})}return v})();var me=s(9594);function ct(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",3),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.login())}),n._uU(1," Login "),n.qZA()}}function it(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"div",9)(1,"h6",10),n._uU(2),n.qZA(),n.TgZ(3,"button",11),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.openDialog())}),n._uU(4," Select An Issue "),n.qZA()()}if(2&v){const f=n.oxw(2);n.xp6(2),n.hij("Issue: ",f.magazineEdition,"")}}function Yt(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",12),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.showSample(ot.item.samples[0].url))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(2);n.xp6(),n.hij(" ","Audiobook"===f.format?"Listen To Sample":"Read Sample"," ")}}function yn(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",13),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.placeItemHold())}),n._uU(1," Place Hold "),n.qZA()}}function Fi(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",18),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.cancelOverDriveHold())}),n._uU(1," Cancel Hold "),n.qZA()}}function ur(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",19),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.earlyReturn())}),n._uU(1," Early Return "),n.qZA()}}function hr(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"button",20),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.goToOverDriveFulfillment())}),n._uU(2),n.qZA(),n.BQk()}if(2&v){const f=n.oxw(3);n.xp6(2),n.hij(" Get ",f.format," ")}}function Pr(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",22),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.checkout())}),n._uU(1," Checkout "),n.qZA()}}function so(v,rt){if(1&v&&n.YNc(0,Pr,2,0,"button",21),2&v){const f=n.oxw(3);n.Q6J("ngIf",f.item.isReadyForPickup&&f.item.isReserved||!f.item.isCheckedOut&&!f.item.isReserved)}}function lt(v,rt){if(1&v&&n.YNc(0,Fi,2,0,"button",14)(1,ur,2,0,"button",15)(2,hr,3,1,"ng-container",16)(3,so,1,1,"ng-template",null,17,n.W1O),2&v){const f=n.MAs(4),Oe=n.oxw(2);n.Q6J("ngIf",Oe.item.isReserved),n.xp6(),n.Q6J("ngIf",Oe.item.isCheckedOut),n.xp6(),n.Q6J("ngIf",Oe.item.isCheckedOut)("ngIfElse",f)}}function Ut(v,rt){if(1&v&&(n.TgZ(0,"div",4),n.YNc(1,it,5,1,"div",5),n.TgZ(2,"div",4),n.YNc(3,Yt,2,1,"button",6),n.qZA(),n.YNc(4,yn,2,0,"button",7)(5,lt,5,4,"ng-template",null,8,n.W1O),n.qZA()),2&v){const f=n.MAs(6),Oe=n.oxw();n.xp6(),n.Q6J("ngIf","eMagazine"===Oe.format&&(null==Oe.item.magazineIssues?null:Oe.item.magazineIssues.products.length)),n.xp6(2),n.Q6J("ngIf",!Oe.item.isCheckedOut&&Oe.item.samples[0]),n.xp6(),n.Q6J("ngIf",!Oe.item.isReserved&&!Oe.item.availability.available&&!Oe.item.isCheckedOut)("ngIfElse",f)}}let Kt=(()=>{class v{constructor(f,Oe,ot,qn,Ro){this._eContentService=f,this._sharedService=Oe,this._routingService=ot,this._dialog=qn,this._overlay=Ro,this.refreshItem=new n.vpe,this.placeHold=new n.vpe,this.selectedProduct=new n.vpe}ngOnInit(){this.magazineEdition=this.item?.magazineIssues?.products[0].edition}ngOnChanges({item:f}){this.item=f?.currentValue,this.magazineEdition=this.magazineEdition??f?.currentValue?.magazineIssues?.products[0].edition}showSample(f){window.open(f)}placeItemHold(){this.placeHold.emit()}cancelOverDriveHold(){this._eContentService.overDriveCancelHold(this.item.productId).subscribe(()=>{this._sharedService.openSnackBar(F.o.CANCEL_SUCCESS,"ok"),this.refresh()},()=>{this._sharedService.openSnackBar(F.o.CANCEL_ERROR,"ok")})}earlyReturn(){this._eContentService.overDriveEarlyReturn(this.item.productId).subscribe(()=>{this._sharedService.openSnackBar(F.o.EARLY_RETURN_SUCCESS,"ok"),this.refresh()},()=>{this._sharedService.openSnackBar(F.o.EARLY_RETURN_ERROR,"ok")})}goToOverDriveFulfillment(){this._eContentService.overDriveGetDownloadLink(this.item.downloadRedirectLink).subscribe(f=>{window.open(f,"_blank")},()=>{this._sharedService.openSnackBar(F.o.GENERIC_ERROR,"ok")})}checkout(){this._eContentService.overDriveCheckOut(this.item.productId).subscribe(f=>{window.open(f,"_blank"),this.refresh()},()=>{this._sharedService.openSnackBar(F.o.GENERIC_ERROR,"ok")})}toggleMagazineEdition(f){this.item.productId=f.id,this.item.isCheckedOut=f.isCheckedOut,this.item.downloadRedirectLink=f.downloadRedirectLink,this.magazineEdition=f.edition,this.selectedProduct.emit(f)}refresh(){this.refreshItem.emit()}login(){this._routingService.goToLogin()}openDialog(){this._dialog.open(Ci,{scrollStrategy:this._overlay.scrollStrategies.noop(),width:"300px",data:{title:"Magazine Editions",magazineIssues:this.item.magazineIssues.products,selectedMagazineEdition:this.magazineEdition}}).afterClosed().subscribe(Oe=>{Oe&&this.toggleMagazineEdition(Oe)})}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(F.y),n.Y36(L.F),n.Y36(et.Z),n.Y36(p.on),n.Y36(me.aV))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-overdrive-fullrecord"]],inputs:{item:"item",format:"format",isGuest:"isGuest"},outputs:{refreshItem:"refreshItem",placeHold:"placeHold",selectedProduct:"selectedProduct"},features:[n.TTD],decls:4,vars:2,consts:[["fxLayout","column","fxLayoutAlign","stretch"],["aria-label","Login","class","btn btn-primary","title","Login","type","button",3,"click",4,"ngIf","ngIfElse"],["notGuest",""],["aria-label","Login","title","Login","type","button",1,"btn","btn-primary",3,"click"],[1,"button-width"],["class","margin-top-10",4,"ngIf"],["role","button","type","button","aria-label","View Sample","class","btn btn-primary item-buttons","title","View Sample Material",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Place Hold","class","btn btn-primary item-buttons",3,"click",4,"ngIf","ngIfElse"],["showAvailable",""],[1,"margin-top-10"],[1,"text-center"],["role","button","type","button","aria-label","Select An Issue",1,"btn","btn-primary","width-100",3,"click"],["role","button","type","button","aria-label","View Sample","title","View Sample Material",1,"btn","btn-primary","item-buttons",3,"click"],["role","button","type","button","aria-label","Place Hold",1,"btn","btn-primary","item-buttons",3,"click"],["role","button","type","button","aria-label","Cancel Hold","class","btn btn-primary item-buttons","title","Cancel Hold",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Early Return Overdrive","class","btn btn-primary item-buttons","title","Early Return",3,"click",4,"ngIf"],[4,"ngIf","ngIfElse"],["notCheckedOut",""],["role","button","type","button","aria-label","Cancel Hold","title","Cancel Hold",1,"btn","btn-primary","item-buttons",3,"click"],["role","button","type","button","aria-label","Early Return Overdrive","title","Early Return",1,"btn","btn-primary","item-buttons",3,"click"],["role","button","type","button","aria-label","'Get' format",1,"btn","btn-primary","item-buttons",3,"click"],["role","button","type","button","aria-label","Read In Browser","class","btn btn-primary item-buttons","title","Checkout",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Read In Browser","title","Checkout",1,"btn","btn-primary","item-buttons",3,"click"]],template:function(Oe,ot){if(1&Oe&&(n.TgZ(0,"div",0),n.YNc(1,ct,2,0,"button",1)(2,Ut,7,4,"ng-template",null,2,n.W1O),n.qZA()),2&Oe){const qn=n.MAs(3);n.xp6(),n.Q6J("ngIf",ot.isGuest)("ngIfElse",qn)}},dependencies:[le.O5,Ct.xw,Ct.Wh],styles:["@media screen and (max-width: 992px){.button-width[_ngcontent-%COMP%]{max-width:206px}}.sample[_ngcontent-%COMP%]{margin-bottom:10px}.item-buttons[_ngcontent-%COMP%]{margin-top:10px;width:100%}"]})}return v})();function Qt(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",3),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.login())}),n._uU(1," Login "),n.qZA()}}function vn(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"button",8),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.earlyReturn())}),n._uU(2," Early Return "),n.qZA(),n.TgZ(3,"button",9),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.goToHooplaFulfillment())}),n._uU(4),n.qZA(),n.BQk()}if(2&v){const f=n.oxw(3);n.xp6(4),n.hij(" Get ",f.format," ")}}const kn=v=>({"greyed-out":v});function zn(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",12),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.checkout())}),n._uU(1," Checkout "),n.qZA()}if(2&v){const f=n.oxw(4);n.Q6J("disabled",f.disableCheckout)("ngClass",n.VKq(2,kn,f.disableCheckout))}}function gi(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",13),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.cancelHold())}),n._uU(1," Cancel Hold "),n.qZA()}}function oi(v,rt){if(1&v&&n.YNc(0,zn,2,4,"button",10)(1,gi,2,0,"button",11),2&v){const f=n.oxw(3);n.Q6J("ngIf",f.showCheckOut),n.xp6(),n.Q6J("ngIf",f.showCancelHold)}}function Pi(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"button",14),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.placeHold())}),n._uU(2," Place Hold "),n.qZA(),n.BQk()}}function wi(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,vn,5,1,"ng-container",4)(2,oi,2,2,"ng-template",null,6,n.W1O)(4,Pi,3,0,"ng-container",7),n.BQk()),2&v){const f=n.MAs(3),Oe=n.oxw(2);n.xp6(),n.Q6J("ngIf",null==Oe.item?null:Oe.item.isCheckedOut)("ngIfElse",f),n.xp6(3),n.Q6J("ngIf",Oe.showPlaceHold)}}function $i(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",16),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.goToHoopla())}),n._uU(1," Create Hoopla Account "),n.qZA()}}function ki(v,rt){if(1&v&&n.YNc(0,$i,2,0,"button",15),2&v){const f=n.oxw(2);n.Q6J("ngIf",f.item)}}function Hi(v,rt){if(1&v&&n.YNc(0,wi,5,3,"ng-container",4)(1,ki,1,1,"ng-template",null,5,n.W1O),2&v){const f=n.MAs(2),Oe=n.oxw();n.Q6J("ngIf",null==Oe.item?null:Oe.item.hasAccount)("ngIfElse",f)}}let D=(()=>{class v{constructor(f,Oe,ot){this._eContentService=f,this._sharedService=Oe,this._routingService=ot,this.refreshItem=new n.vpe}ngOnChanges({item:f}){f?.currentValue&&(this.item=f.currentValue,this.disableCheckout="Limit Reached"===this.item.availability||this.item.status==e.P3.UNAVAILABLE),this.item&&this.purchaseModel&&(this.showCheckOut=this.purchaseModel===e.wg.INSTANT||this.purchaseModel===e.wg.FLEX&&(this.item.isReserved&&this.item.isReadyForPickup||this.item.status==e.P3.BORROW),this.showCancelHold=this.purchaseModel===e.wg.FLEX&&!this.item.isCheckedOut&&this.item.isReserved&&!this.item.isReadyForPickup,this.showPlaceHold=this.purchaseModel===e.wg.FLEX&&!this.showCancelHold&&!this.item.isCheckedOut&&!this.item.isReserved&&this.item.status===e.P3.HOLD)}goToHooplaFulfillment(){window.open(this.item.downloadLink,"_blank")}goToHoopla(){window.open("http://www.hoopladigital.com/","_blank")}placeHold(){this._eContentService.hooplaPlaceHold(this.item.id).subscribe(()=>{this._sharedService.openSnackBar(F.o.PLACE_HOLD_SUCCESS),this.refresh()},()=>{this._sharedService.openSnackBar(F.o.PLACE_HOLD_ERROR)})}cancelHold(){this._eContentService.hooplaCancelHold(this.item.id).subscribe(()=>{this._sharedService.openSnackBar(F.o.CANCEL_SUCCESS),this.refresh()},()=>{this._sharedService.openSnackBar(F.o.CANCEL_ERROR)})}checkout(){this._eContentService.hooplaCheckout(this.item.id).subscribe(f=>{this.refresh(),window.open(f.downloadLink,"_blank")},()=>{this._sharedService.openSnackBar(F.o.CHECKOUT_ERROR,"ok")})}earlyReturn(){this._eContentService.hooplaReturnTitle(this.item.id).subscribe(()=>{this._sharedService.openSnackBar(F.o.EARLY_RETURN_SUCCESS,"ok"),this.refresh()},()=>{this._sharedService.openSnackBar(F.o.EARLY_RETURN_ERROR,"ok")})}refresh(){this.refreshItem.emit()}login(){this._routingService.goToLogin()}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(F.y),n.Y36(L.F),n.Y36(et.Z))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-hoopla-fullrecord"]],inputs:{item:"item",format:"format",isGuest:"isGuest",purchaseModel:"purchaseModel"},outputs:{refreshItem:"refreshItem"},features:[n.TTD],decls:4,vars:2,consts:[["fxLayout","column","fxLayoutAlign","stretch"],["aria-label","Login","class","btn btn-primary","title","Login","type","button",3,"click",4,"ngIf","ngIfElse"],["notGuest",""],["aria-label","Login","title","Login","type","button",1,"btn","btn-primary",3,"click"],[4,"ngIf","ngIfElse"],["hasNoAccount",""],["notCheckedOut",""],[4,"ngIf"],["aria-label","Early Return Hoopla","title","Early Return","type","button",1,"btn","btn-primary",3,"click"],["role","button","type","button","aria-label","'Get' format",1,"btn","btn-primary",3,"click"],["aria-label","Checkout","class","btn btn-primary","title","Checkout","type","button",3,"disabled","ngClass","click",4,"ngIf"],["aria-label","Cancel Hold","class","btn btn-primary","title","Cancel Hold","type","button",3,"click",4,"ngIf"],["aria-label","Checkout","title","Checkout","type","button",1,"btn","btn-primary",3,"disabled","ngClass","click"],["aria-label","Cancel Hold","title","Cancel Hold","type","button",1,"btn","btn-primary",3,"click"],["aria-label","Place Hold","title","Place Hold","type","button",1,"btn","btn-primary",3,"click"],["role","button","type","button","aria-label","Create Hoopla Account","class","btn btn-primary",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Create Hoopla Account",1,"btn","btn-primary",3,"click"]],template:function(Oe,ot){if(1&Oe&&(n.TgZ(0,"div",0),n.YNc(1,Qt,2,0,"button",1)(2,Hi,3,2,"ng-template",null,2,n.W1O),n.qZA()),2&Oe){const qn=n.MAs(3);n.xp6(),n.Q6J("ngIf",ot.isGuest)("ngIfElse",qn)}},dependencies:[le.mk,le.O5,Ct.xw,Ct.Wh,nn.oO],styles:["@media screen and (max-width: 992px){div[_ngcontent-%COMP%]{max-width:206px}}button[_ngcontent-%COMP%]{margin-top:10px}"]})}return v})();var te=s(1438),Pe=s(7692);function je(v,rt){if(1&v&&(n.TgZ(0,"div")(1,"div",4),n._UZ(2,"em",5),n.TgZ(3,"p",6),n._uU(4),n.qZA()()()),2&v){const f=n.oxw();n.xp6(4),n.Oqu(f.error)}}function bt(v,rt){if(1&v&&(n._UZ(0,"div",7),n.ALo(1,"safeHtml")),2&v){const f=n.oxw();n.Q6J("innerHtml",n.lcZ(1,1,f.novelist),n.oJD)}}function vt(v,rt){1&v&&(n.TgZ(0,"div"),n._UZ(1,"mat-spinner",8),n.qZA()),2&v&&(n.xp6(),n.Q6J("diameter",100))}let Lt=(()=>{class v{constructor(f,Oe){this._detailService=f,this._sharedService=Oe}ngOnInit(){this._isbn=Array.isArray(this.isbn)?this.isbn[0]:this.isbn,this.getNovelistCredentials()}getNovelistCredentials(){var f=this;return(0,t.Z)(function*(){f.loader=!0,yield f._sharedService.addScriptToIndex("novelistScript","https://imageserver.ebscohost.com/novelistselect/ns2init.js"),f.novelist=`<div data-novelist-novelistselect="${f._isbn}"></div>`,f._detailService.getNovelistCredentials().subscribe(Oe=>{Oe.data.profile&&Oe.data.password?f.getNovelist(Oe.data.profile,Oe.data.password):f.getNovelistErrorHandler()},()=>{f.getNovelistErrorHandler()})})()}getNovelist(f,Oe){const ot=setTimeout(()=>{this.getNovelistErrorHandler()},1e4);novSelect.loadContentForQuery({ClientIdentifier:this._isbn,ISBN:this._isbn,version:"2.3"},f,Oe,qn=>{clearTimeout(ot),this.loader=!1,qn.length||(this.error="Novelist has not sent recommendations for this title")})}getNovelistErrorHandler(){this.loader=!1,this.error="We can't reach the Novelist recommendation service at this time. Please notify the library."}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(y.nP),n.Y36(L.F))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["novelist-fullrecord"]],inputs:{isbn:"isbn",label:"label"},decls:6,vars:4,consts:[[1,"text-center"],[4,"ngIf","ngIfElse"],["showNovelist",""],[4,"ngIf"],[1,"error"],[1,"fa","fa-book"],[1,"text-center","error-message"],[3,"innerHtml"],["strokeWidth","5","color","accent",1,"spinner",3,"diameter"]],template:function(Oe,ot){if(1&Oe&&(n.TgZ(0,"h2",0),n._uU(1),n.qZA(),n.YNc(2,je,5,1,"div",1)(3,bt,2,3,"ng-template",null,2,n.W1O)(5,vt,2,1,"div",3)),2&Oe){const qn=n.MAs(4);n.xp6(),n.Oqu(ot.label),n.xp6(),n.Q6J("ngIf",ot.error)("ngIfElse",qn),n.xp6(3),n.Q6J("ngIf",ot.loader)}},dependencies:[le.O5,te.sN,Pe.z],styles:[".error[_ngcontent-%COMP%]{width:100%;text-align:center;padding:1em 0}.error[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{margin-top:1em;font-size:1.5em}.error[_ngcontent-%COMP%]   em.fa-book[_ngcontent-%COMP%]{font-size:8em;display:inline-block;border-radius:50%;margin-top:.1em}.spinner[_ngcontent-%COMP%]{margin:50px auto}"]})}return v})(),gn=(()=>{class v{constructor(f){this._sharedService=f}ngOnInit(){var f=this;return(0,t.Z)(function*(){f._isbn=Array.isArray(f.isbn)?f.isbn[0]:f.isbn,f.initializeSyndeticsUnbound()})()}initializeSyndeticsUnbound(){var f=this;return(0,t.Z)(function*(){window.unboundInit=(0,t.Z)(function*(){}),window.LibraryThingConnector&&LibraryThingConnector.destroy(),yield f._sharedService.addScriptToIndex("syndeticsUnboundScript",`https://unbound.syndetics.com/syndeticsunbound/connector/initiator.php?a_id=${f.id}`),LibraryThingConnector.runUnboundWithMetadata({isbn:f._isbn})})()}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(L.F))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["syndetics-fullrecord"]],inputs:{isbn:"isbn",label:"label",id:"id"},decls:4,vars:1,consts:[[1,"record-group"],[1,"text-center"],["id","syndetics_unbound"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"div",0)(1,"h2",1),n._uU(2),n.qZA(),n._UZ(3,"div",2),n.qZA()),2&Oe&&(n.xp6(2),n.Oqu(ot.label))},styles:["a[_ngcontent-%COMP%]{color:var(--link);font-weight:600}.active-link[_ngcontent-%COMP%]{text-decoration:underline!important}.card[_ngcontent-%COMP%]{color:var(--body-color)!important;background:var(--body-background)!important}.truncate-ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-group__h2[_ngcontent-%COMP%]{color:gray}.record-image[_ngcontent-%COMP%]{width:100%;padding-top:10px}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:33%;max-width:100px;box-shadow:0 5px 8px var(--box-shadows)}.record-author[_ngcontent-%COMP%]{color:var(--link);font-weight:500;padding-left:10px}.record-title[_ngcontent-%COMP%]{font-size:1.5rem;padding-top:0;padding-left:10px;margin-bottom:0}.record-isbn[_ngcontent-%COMP%]{font-weight:500;padding-left:10px}.record-available[_ngcontent-%COMP%]{padding:0 5px;margin:0 5px;background:transparent;color:#454545;font-weight:700;font-size:.85em}.record-desc[_ngcontent-%COMP%]{font-size:.9em}.record-details[_ngcontent-%COMP%]   .table-sm[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .record-details[_ngcontent-%COMP%]   .table-sm[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:0!important}.record-buttons[_ngcontent-%COMP%]{display:inline-block;width:60%;float:right}.record-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;max-width:206px}.record-category-links[_ngcontent-%COMP%]{color:var(--link);text-decoration:underline;color:var(--header-color)!important;background:var(--header-background);border-radius:4px;text-align:center;margin:3px;width:auto;padding:5px;display:inline-block;vertical-align:top;font-size:.75em;font-weight:400;cursor:pointer}.record-content[_ngcontent-%COMP%]{padding:10px;font-size:.85em}.record-content[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{padding-top:20px}.record-detail-desc[_ngcontent-%COMP%]{min-width:140px}.record-desc[_ngcontent-%COMP%]{width:100%}.record-group[_ngcontent-%COMP%]{clear:both;margin-top:25px}.record-group[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.5em;color:var(--body-color)!important}.record-group[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{color:var(--body-color)!important}.tablesortNhoney[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:0 5px!important}.img-gallery[_ngcontent-%COMP%]{box-shadow:0 5px 8px var(--box-shadows);cursor:pointer;float:left}.details-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:none}.shelf-browse[_ngcontent-%COMP%]{text-align:center}.staff-links[_ngcontent-%COMP%]{color:var(--link)!important;font-weight:400;font-size:.85rem}.staff-links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{width:100%;display:inline-block}.staff-links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}.record-sticky[_ngcontent-%COMP%]{position:sticky;top:60px;width:240px;padding:0 15px}#sticky-tabs[_ngcontent-%COMP%]{width:100%;height:45px;align-items:center;justify-content:center;color:var(--header-color)!important;background-color:var(--offset-two)}#page-header[_ngcontent-%COMP%]{min-height:60px}#page-header[_ngcontent-%COMP%]   .mat-title[_ngcontent-%COMP%], #page-header[_ngcontent-%COMP%]   .mat-subheading-1[_ngcontent-%COMP%], #page-header[_ngcontent-%COMP%]   .mat-subheading-2[_ngcontent-%COMP%]{margin:0}#page-header.sticky-header[_ngcontent-%COMP%]{background:var(--body-background)}.sticky-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:2;background-color:#fff}.sticky-header.sticky-header-scroll[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.no-margin-lineheight1-1[_ngcontent-%COMP%]{margin:0!important;line-height:1.1}.d-inline-block-actions[_ngcontent-%COMP%]{margin-top:20px}.dropdown-menu.show[_ngcontent-%COMP%]{width:206px!important}.btn-outline-primary-b[_ngcontent-%COMP%]{color:var(--button-border);background-color:var(--button-color);border:solid 1px var(--button-border);padding:5px;margin:0 0 0 10px;font-size:14px}@keyframes _ngcontent-%COMP%_moveon{0%{background-color:var(--body-background);height:65px}to{background-color:var(--offset-two);height:45px}}@keyframes _ngcontent-%COMP%_moveoff{0%{background-color:var(--offset-two);height:45px}to{background-color:var(--body-background);height:65px}}@media screen and (min-width: 320px){.record-isbn[_ngcontent-%COMP%]{display:inline-block;width:50%}.record-available[_ngcontent-%COMP%]{display:inline-block;width:44%}}@media screen and (min-width: 768px){.record-image[_ngcontent-%COMP%]{width:200px;float:left}.record-desc[_ngcontent-%COMP%]{float:none}.record-available[_ngcontent-%COMP%]{padding-top:5px}.record-author[_ngcontent-%COMP%]{margin-top:5px;font-size:1.15em}.record-image[_ngcontent-%COMP%]{padding-top:20px}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.record-content[_ngcontent-%COMP%]{padding:10px 0 10px 25px;width:calc(100% - 210px);float:left}.record-buttons[_ngcontent-%COMP%]{width:50%;float:left}}@media screen and (min-width: 992px){.details-info[_ngcontent-%COMP%]   .slick-prev[_ngcontent-%COMP%], .details-info[_ngcontent-%COMP%]   .slick-next[_ngcontent-%COMP%]{display:none!important}.record-image[_ngcontent-%COMP%]{text-align:left;padding:5px 0 2px;width:100%}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:50%;max-width:80px}.record-title[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:2px}.record-author[_ngcontent-%COMP%]{font-size:.9em}.record-isbn[_ngcontent-%COMP%]{display:block;width:initial}.record-summary[_ngcontent-%COMP%]{width:100%;float:left;padding:5px 0}.record-available[_ngcontent-%COMP%]{margin:5px 0 0;background:transparent;border-top:1px solid #f7f7f7;width:100%}.record-holds[_ngcontent-%COMP%]{margin:0;width:100%;background:transparent;border-top:1px solid #f7f7f7}.record-desc[_ngcontent-%COMP%]{width:auto}.record-content[_ngcontent-%COMP%]{font-size:1em}.record-buttons[_ngcontent-%COMP%]{width:100%}.record-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:100%}.record-category-links[_ngcontent-%COMP%]{width:auto;padding-left:15px;padding-right:15px;margin:2px 5px;font-size:.85em}.record-popup-links[_ngcontent-%COMP%]{width:auto;font-size:14px}.record-details[_ngcontent-%COMP%]{display:block;padding:0 15px}.shelf-browse[_ngcontent-%COMP%]{text-align:center}}@media screen and (min-width: 1280px){.sticky-buttons[_ngcontent-%COMP%]{display:block!important;min-width:900px!important}}.hidebuttons[_ngcontent-%COMP%]{display:none!important}.a-center-font-size[_ngcontent-%COMP%]{font-size:.7rem;text-align:center;display:block;margin:0 auto;text-decoration:none!important;padding:.3em}.border-black[_ngcontent-%COMP%]{border:1.5px solid black}.isDisabled[_ngcontent-%COMP%]{color:currentColor;cursor:not-allowed;opacity:.5;text-decoration:none}.show-more-fewer[_ngcontent-%COMP%]{cursor:pointer!important;text-decoration:underline!important;color:var(--primary)!important}.hr-lines[_ngcontent-%COMP%]{padding:0;margin-top:3px;margin-bottom:3px}.margin-left-3[_ngcontent-%COMP%]{margin-left:3px}.three[_ngcontent-%COMP%]:hover{text-decoration:underline;color:#00f;cursor:pointer}.main-link[_ngcontent-%COMP%]{color:#00f!important;cursor:pointer;text-decoration:underline!important}.holdings-label[_ngcontent-%COMP%]{vertical-align:middle;border:.3px solid lightgray;border-bottom:0;color:#a9a9a9;font-weight:600}.border-top-0[_ngcontent-%COMP%]{font-size:15px;border-top:0!important}.author-class[_ngcontent-%COMP%]{display:block!important;display:-webkit-box!important;max-width:100%;line-height:1.2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;margin-bottom:10px}.title-class[_ngcontent-%COMP%]{display:block!important;display:-webkit-box!important;max-width:90%;margin-bottom:5px;line-height:1.5;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.foundin-class[_ngcontent-%COMP%]{display:block!important;max-width:90%;margin-bottom:5px;line-height:1.5;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.buttons[_ngcontent-%COMP%]{font-size:14px!important;padding:0!important}.full-width-div[_ngcontent-%COMP%]{width:100%;left:0}.holding-details[_ngcontent-%COMP%]{text-decoration:underline!important;cursor:pointer}.color-red[_ngcontent-%COMP%]{color:red}.desktop[_ngcontent-%COMP%]{padding:20px}.staff-links-scroll[_ngcontent-%COMP%]{margin-top:5px}.staff-links-scroll-active[_ngcontent-%COMP%]{width:206px!important;max-height:135px;overflow:auto}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--button-background);outline:1px solid var(--button-border)}.record-popup-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--header-color)!important}.record-popup-links[_ngcontent-%COMP%]{line-height:2;background:var(--header-background)}.record-popup-links[_ngcontent-%COMP%]:hover{color:var(--button-color)!important;background-color:var(--button-background)}.tabs-not-stick[_ngcontent-%COMP%]{width:100%;display:block;margin:20px 0;padding:0 10px;text-align:center;overflow:auto}.tabs-not-stick-back[_ngcontent-%COMP%]{float:left;top:-10px;position:relative}.staff-function-dropdown-list-holder[_ngcontent-%COMP%]{background-color:var(--button-background)}.staff-function-dropdown[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:45px}.staff-function-dropdown-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.overDriveButtons[_ngcontent-%COMP%]{max-width:206px}.pagination-wrapper[_ngcontent-%COMP%]{background:var(--header-background);color:var(--header-color);border-radius:4px}.details-external-link[_ngcontent-%COMP%]{display:inline-flex}.card-block[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-bottom:.5rem}.action-icon-button[_ngcontent-%COMP%]{background:#00000005;border:1px solid rgba(0,0,0,.12)}.action-icon-button[_ngcontent-%COMP%]:hover{background:#0000001a}"]})}return v})();function mn(v,rt){if(1&v&&(n.TgZ(0,"h1",6),n._uU(1),n.qZA()),2&v){const f=n.oxw();n.xp6(),n.Oqu(f.data.title)}}let In=(()=>{class v{constructor(f,Oe){this.dialogRef=f,this.data=Oe,this.reply1="yes",this.reply2="no"}download(){this.dialogRef.close("yes")}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(p.hV),n.Y36(p.eJ))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["app-error-bib-dialog"]],decls:8,vars:1,consts:[["mat-dialog-title","",4,"ngIf"],["mat-dialog-content",""],[1,"container-fluid"],["mat-dialog-actions",""],["role","button","type","button","aria-label","Download Now","mat-button","","cdkFocusInitial","",3,"click"],["role","button","type","button","aria-label","Download Later","mat-button","",3,"click"],["mat-dialog-title",""]],template:function(Oe,ot){1&Oe&&(n.YNc(0,mn,2,1,"h1",0),n.TgZ(1,"div",1),n._UZ(2,"div",2),n.qZA(),n.TgZ(3,"div",3)(4,"button",4),n.NdJ("click",function(){return ot.download()}),n._uU(5," Download Now "),n.qZA(),n.TgZ(6,"button",5),n.NdJ("click",function(){return ot.dialogRef.close("no")}),n._uU(7," Download Later "),n.qZA()()),2&Oe&&n.Q6J("ngIf",null==ot.data?null:ot.data.title)},dependencies:[le.O5,S.eB,p.YS,p.Rb,p.ev]})}return v})();var An=function(v){return v[v.ModifySearch=0]="ModifySearch",v[v.ModifyExistingRequest=1]="ModifyExistingRequest",v[v.AddToYourList=2]="AddToYourList",v[v.MultiCopy=3]="MultiCopy",v[v.PermanentLink=4]="PermanentLink",v[v.EmailThisItem=5]="EmailThisItem",v[v.PrintThisItem=6]="PrintThisItem",v[v.DownloadRecord=7]="DownloadRecord",v[v.AddNewItemRecord=8]="AddNewItemRecord",v[v.AddToDownloadCart=9]="AddToDownloadCart",v[v.AddLocations=10]="AddLocations",v[v.EditLocations=11]="EditLocations",v[v.DeleteLocations=12]="DeleteLocations",v[v.CopyCatalog=13]="CopyCatalog",v[v.AuthorizeBibRecord=14]="AuthorizeBibRecord",v[v.EditBibRecord=15]="EditBibRecord",v}(An||{});let ai=(()=>{class v{constructor(f,Oe,ot,qn,Ro,mr,Ar,rr){this._storageService=f,this._authService=Oe,this._routingService=ot,this._analyticsService=qn,this._layoutService=Ro,this._dialog=mr,this._sharedService=Ar,this._detailsService=rr,this.addItem=new n.vpe,this.addItemToList=new n.vpe,this.printItem=new n.vpe,this.emailItem=new n.vpe,this.multiCopy=new n.vpe,this.staffFunctionSideNav=new n.vpe,this.systemCatagory=O._n,this.allActionItems=[{label:"Modify Search",action:An.ModifySearch},{label:"Modify Existing Request",action:An.ModifyExistingRequest},{label:"Add to Your List",action:An.AddToYourList},{label:"Multi Copy",action:An.MultiCopy},{label:"Permanent Link",action:An.PermanentLink},{label:"Email This Item",action:An.EmailThisItem},{label:"Print This Item",action:An.PrintThisItem},{label:"Download Record",action:An.DownloadRecord},{label:"Add Item",action:An.AddNewItemRecord},{label:"Add to Download Cart",action:An.AddToDownloadCart},{label:"Add Locations",action:An.AddLocations},{label:"Edit Locations",action:An.EditLocations},{label:"Delete Locations",action:An.DeleteLocations},{label:"Copy Catalog",action:An.CopyCatalog},{label:"Authorize Bib Record",action:An.AuthorizeBibRecord},{label:"Edit Bib Record",action:An.EditBibRecord}],this.actionItems=[],this.showModify=this._storageService.isExisted(j.P.searchHistorySessionKey),this.showAddToList=this._authService.hasDisplayYourListPermission(),this.isKids=this._sharedService.getIsKidsCat()}ngOnChanges(f){this._buildFullRecordActions()}_buildFullRecordActions(){!this.isKids&&this.showModify&&this._addActionItem(An.ModifySearch),this.userData.isStaff&&this.userData.systemCategory===this.systemCatagory.SHAREIT&&this.fullRecord.fullRecordSettings.displayModifyRequest&&this._addActionItem(An.ModifyExistingRequest),!this.isKids&&["AV","AG","ZZ","WM"].includes(this.fullRecord.targetType)&&this.showAddToList&&this._addActionItem(An.AddToYourList),!this.isKids&&this.userData.isStaff&&this.userData.illOptions.showMultiCopy&&this.showFormat&&this._addActionItem(An.MultiCopy),!this.isKids&&this.fullRecord.persistentLinkRelativeUrl&&this._addActionItem(An.PermanentLink),!this.isKids&&this.fullRecord.fullRecordSettings.displayEmail&&this._addActionItem(An.EmailThisItem),(!this.isKids||this.userData.isStaff)&&this.fullRecord.fullRecordSettings.displayPrint&&this._addActionItem(An.PrintThisItem),!this.isKids&&this.userData.isStaff&&this.fullRecord.dowloadSettings.showDownloadLink&&"WM"!==this.fullRecord.targetType&&this._addActionItem(An.DownloadRecord),!this.isKids&&this.userData.isStaff&&this.userData.systemCategory===this.systemCatagory.VERSO&&this.fullRecord.fullRecordSettings.displayVersoAddNewItem&&this._addActionItem(An.AddNewItemRecord),!this.isKids&&this.userData.isStaff&&this.userData.showAddToDownloadCart&&"WM"!==this.fullRecord.targetType&&this._addActionItem(An.AddToDownloadCart),!this.isKids&&this.userData.isStaff&&this.fullRecord.fullRecordSettings.displayAddLocation&&"WM"!==this.fullRecord.targetType&&this._addActionItem(An.AddLocations),!this.isKids&&this.userData.isStaff&&this.fullRecord.fullRecordSettings.displayEditLocation&&"WM"!==this.fullRecord.targetType&&this._addActionItem(An.EditLocations),!this.isKids&&this.userData.isStaff&&this.fullRecord.fullRecordSettings.displayDeleteLocation&&"WM"!==this.fullRecord.targetType&&this._addActionItem(An.DeleteLocations),!this.isKids&&this.userData.isStaff&&this.fullRecord.fullRecordSettings.displayCopyCatalog&&"WM"!==this.fullRecord.targetType&&this._addActionItem(An.CopyCatalog),!this.isKids&&this.userData.isStaff&&"WM"!==this.fullRecord.targetType&&this.fullRecord.authorizeOptions?.showAuthorize&&this._addActionItem(An.AuthorizeBibRecord),!this.isKids&&this.userData.isStaff&&["AV","AG","ZZ"].includes(this.fullRecord.targetType)&&this.fullRecord.fullRecordSettings.displayEditBibRecord&&this._addActionItem(An.EditBibRecord)}_addActionItem(f){this.actionItems.push(this.allActionItems.find(Oe=>Oe.action===f))}handleFullRecordAction(f){switch(f){case An.ModifySearch:this.modifySearch();break;case An.ModifyExistingRequest:this.staffFunction("staffFullRecord","modifyRequest");break;case An.AddToYourList:this.addToList();break;case An.MultiCopy:this.multiCopyForm();break;case An.PermanentLink:this.persistentLink();break;case An.EmailThisItem:this.email();break;case An.PrintThisItem:this.print();break;case An.DownloadRecord:this.downloadRecord();break;case An.AddNewItemRecord:this.openAddItem();break;case An.AddToDownloadCart:this.addToDownloadCart();break;case An.AddLocations:this.staffFunction("addLocation","addLocation");break;case An.EditLocations:this.staffFunction("editLocation","editLocation");break;case An.DeleteLocations:this.staffFunction("deleteLocation","deleteLocation");break;case An.CopyCatalog:this.staffFunction("copyCatalog","copyCatalog");break;case An.AuthorizeBibRecord:this.authorize(this.fullRecord.authorizeOptions.authorizeUrl);break;case An.EditBibRecord:this.editBibRecord()}}modifySearch(){this._routingService.goToAdvancedSearch(!1,!0)}openAddItem(){this.addItem.emit()}addToList(){this.addItemToList.emit()}email(){this.emailItem.emit()}print(){this.printItem.emit()}multiCopyForm(){this.multiCopy.emit()}persistentLink(){this._analyticsService.logEvent("Permalink Copied"),this._layoutService.openSideNav({template:"copyLink",position:"end",data:`${this._routingService.baseUri}${this.fullRecord.persistentLinkRelativeUrl}`})}downloadRecord(){const f=this.fullRecord.dowloadSettings.url;f&&(window.location.href=f)}staffFunction(f,Oe){this._layoutService.openSideNav({template:"staffFullRecord",position:"start",data:{template:f,type:Oe,agControlId:this.fullRecord.agControlId,libraryDBPoolKey:this.fullRecord.libraryDBPoolKey,sourceKey:this.fullRecord.sourceKey}})}authorize(f){this._analyticsService.logEvent("Authorize Bib Record"),window.open(f,"_blank","location=yes,height=780,width=780,scrollbars=yes,status=yes")}addToDownloadCart(){var f=this;return(0,t.Z)(function*(){const Oe=yield f._detailsService.listAddItemToCartByAgcnAsync({agControlId:f.fullRecord.agControlId,libraryDbPoolKey:f.fullRecord.libraryDBPoolKey});Oe&&null!==Oe&&("200 OK"==Oe.status?Oe.data&&Oe.data.msg&&f._sharedService.openSnackBar(Oe.data.msg,"ok"):f._sharedService.openSnackBar("something went wrong!! Please try again","ok"))})()}editBibRecord(){this._analyticsService.logEvent("Edit Bib Record"),this.fullRecord.agCatSettings?this._launchAGCat(this.fullRecord.agCatSettings.agcpUrl,null):this._routingService.goToMarcEditor(this.fullRecord.sourceKey)}_launchAGCat(f,Oe){/chrome/i.test(navigator.userAgent)||-1!=navigator.userAgent.indexOf("Firefox")?this._launchMozilla(f):"Microsoft Internet Explorer"==navigator.appName||navigator.userAgent.match(/Trident/)&&!navigator.userAgent.match(/MSIE/)?null!=Oe&&this._launchIE(Oe):window.location.assign(f)}_launchMozilla(f){if(f)window.location.assign(f);else{let Oe="<b><h5>A newer version of AGCat is available.</h5></b><br>";Oe+="Please click the download button to get the recommended and secure version of AGCat for your computer.<br><br>",Oe+="If you elect to download later, please go to Staff Menu \u2013 Cat Admin to download the latest version of AGCat.<br><br>",this._openErrorBibDialog(Oe)}}_launchIE(f){const Oe=window.open("/MVC/AGCat/IECreateNewRec/"+f);setTimeout(function(){Oe.close()},5e3)}_openErrorBibDialog(f){this._dialog.open(In,{width:"600px",height:"auto",disableClose:!0,data:{title:f}}).afterClosed().subscribe(ot=>{if("yes"==ot){const qn=this._authService.getUserDataFromSession().agServiceBaseUrl;window.location.assign(`${qn}/ILSP/Public/downloads/AGCatInstall.exe`)}})}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(_t.V),n.Y36(O.e8),n.Y36(et.Z),n.Y36(z.y),n.Y36(ne.P),n.Y36(p.on),n.Y36(L.F),n.Y36(y.nP))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ng-component"]],inputs:{userData:"userData",fullRecord:"fullRecord",showFormat:"showFormat"},outputs:{addItem:"addItem",addItemToList:"addItemToList",printItem:"printItem",emailItem:"emailItem",multiCopy:"multiCopy",staffFunctionSideNav:"staffFunctionSideNav"},features:[n.TTD],decls:0,vars:0,template:function(Oe,ot){},encapsulation:2})}return v})();var Gn=s(9993);function yi(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"button",4),n.NdJ("click",function(){const qn=n.CHM(f).$implicit,Ro=n.oxw();return n.KtG(Ro.handleFullRecordAction(qn.action))}),n._uU(2),n.qZA(),n.BQk()}if(2&v){const f=rt.$implicit;n.xp6(),n.uIk("aria-label",f.label),n.xp6(),n.hij(" ",f.label," ")}}let co=(()=>{class v extends ai{constructor(f,Oe,ot,qn,Ro,mr,Ar,rr){super(f,Oe,ot,qn,Ro,mr,Ar,rr),this._storageService=f,this._authService=Oe,this._routingService=ot,this._analyticsService=qn,this._layoutService=Ro,this._dialog=mr,this._sharedService=Ar,this._detailsService=rr}ngOnChanges(f){super.ngOnChanges(f)}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(_t.V),n.Y36(O.e8),n.Y36(et.Z),n.Y36(z.y),n.Y36(ne.P),n.Y36(p.on),n.Y36(L.F),n.Y36(y.nP))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-item-actions-dropdown"]],features:[n.qOj,n.TTD],decls:5,vars:5,consts:[["ngbDropdown","",1,"d-inline-block","d-inline-block-actions","width-100"],["role","button","type","button","ngbDropdownToggle","",1,"btn","btn-outline-primary","width-100",2,"max-width","206px"],["ngbDropdownMenu","",2,"max-width","206px"],[4,"ngFor","ngForOf"],["role","button","type","button",1,"dropdown-item",3,"click"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"div",0)(1,"button",1),n._uU(2),n.qZA(),n.TgZ(3,"div",2),n.YNc(4,yi,3,2,"ng-container",3),n.qZA()()),2&Oe&&(n.xp6(),n.uIk("aria-label",ot.userData.isStaff?"Staff Actions":"Other Actions")("id",ot.userData.systemCategory===ot.systemCatagory.VERSO?"ilsdesk":"illdesk"),n.xp6(),n.hij(" ",ot.userData.isStaff?"Staff":"Other"," Actions "),n.xp6(),n.uIk("aria-labelledby",ot.userData.systemCategory===ot.systemCatagory.VERSO?"ilsdesk":"illdesk"),n.xp6(),n.Q6J("ngForOf",ot.actionItems))},dependencies:[le.sg,Gn.jt,Gn.iD,Gn.Vi],styles:["a[_ngcontent-%COMP%]{color:var(--link);font-weight:600}.active-link[_ngcontent-%COMP%]{text-decoration:underline!important}.card[_ngcontent-%COMP%]{color:var(--body-color)!important;background:var(--body-background)!important}.truncate-ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-group__h2[_ngcontent-%COMP%]{color:gray}.record-image[_ngcontent-%COMP%]{width:100%;padding-top:10px}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:33%;max-width:100px;box-shadow:0 5px 8px var(--box-shadows)}.record-author[_ngcontent-%COMP%]{color:var(--link);font-weight:500;padding-left:10px}.record-title[_ngcontent-%COMP%]{font-size:1.5rem;padding-top:0;padding-left:10px;margin-bottom:0}.record-isbn[_ngcontent-%COMP%]{font-weight:500;padding-left:10px}.record-available[_ngcontent-%COMP%]{padding:0 5px;margin:0 5px;background:transparent;color:#454545;font-weight:700;font-size:.85em}.record-desc[_ngcontent-%COMP%]{font-size:.9em}.record-details[_ngcontent-%COMP%]   .table-sm[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .record-details[_ngcontent-%COMP%]   .table-sm[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:0!important}.record-buttons[_ngcontent-%COMP%]{display:inline-block;width:60%;float:right}.record-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;max-width:206px}.record-category-links[_ngcontent-%COMP%]{color:var(--link);text-decoration:underline;color:var(--header-color)!important;background:var(--header-background);border-radius:4px;text-align:center;margin:3px;width:auto;padding:5px;display:inline-block;vertical-align:top;font-size:.75em;font-weight:400;cursor:pointer}.record-content[_ngcontent-%COMP%]{padding:10px;font-size:.85em}.record-content[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{padding-top:20px}.record-detail-desc[_ngcontent-%COMP%]{min-width:140px}.record-desc[_ngcontent-%COMP%]{width:100%}.record-group[_ngcontent-%COMP%]{clear:both;margin-top:25px}.record-group[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.5em;color:var(--body-color)!important}.record-group[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{color:var(--body-color)!important}.tablesortNhoney[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:0 5px!important}.img-gallery[_ngcontent-%COMP%]{box-shadow:0 5px 8px var(--box-shadows);cursor:pointer;float:left}.details-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:none}.shelf-browse[_ngcontent-%COMP%]{text-align:center}.staff-links[_ngcontent-%COMP%]{color:var(--link)!important;font-weight:400;font-size:.85rem}.staff-links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{width:100%;display:inline-block}.staff-links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}.record-sticky[_ngcontent-%COMP%]{position:sticky;top:60px;width:240px;padding:0 15px}#sticky-tabs[_ngcontent-%COMP%]{width:100%;height:45px;align-items:center;justify-content:center;color:var(--header-color)!important;background-color:var(--offset-two)}#page-header[_ngcontent-%COMP%]{min-height:60px}#page-header[_ngcontent-%COMP%]   .mat-title[_ngcontent-%COMP%], #page-header[_ngcontent-%COMP%]   .mat-subheading-1[_ngcontent-%COMP%], #page-header[_ngcontent-%COMP%]   .mat-subheading-2[_ngcontent-%COMP%]{margin:0}#page-header.sticky-header[_ngcontent-%COMP%]{background:var(--body-background)}.sticky-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:2;background-color:#fff}.sticky-header.sticky-header-scroll[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.no-margin-lineheight1-1[_ngcontent-%COMP%]{margin:0!important;line-height:1.1}.d-inline-block-actions[_ngcontent-%COMP%]{margin-top:20px}.dropdown-menu.show[_ngcontent-%COMP%]{width:206px!important}.btn-outline-primary-b[_ngcontent-%COMP%]{color:var(--button-border);background-color:var(--button-color);border:solid 1px var(--button-border);padding:5px;margin:0 0 0 10px;font-size:14px}@keyframes _ngcontent-%COMP%_moveon{0%{background-color:var(--body-background);height:65px}to{background-color:var(--offset-two);height:45px}}@keyframes _ngcontent-%COMP%_moveoff{0%{background-color:var(--offset-two);height:45px}to{background-color:var(--body-background);height:65px}}@media screen and (min-width: 320px){.record-isbn[_ngcontent-%COMP%]{display:inline-block;width:50%}.record-available[_ngcontent-%COMP%]{display:inline-block;width:44%}}@media screen and (min-width: 768px){.record-image[_ngcontent-%COMP%]{width:200px;float:left}.record-desc[_ngcontent-%COMP%]{float:none}.record-available[_ngcontent-%COMP%]{padding-top:5px}.record-author[_ngcontent-%COMP%]{margin-top:5px;font-size:1.15em}.record-image[_ngcontent-%COMP%]{padding-top:20px}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.record-content[_ngcontent-%COMP%]{padding:10px 0 10px 25px;width:calc(100% - 210px);float:left}.record-buttons[_ngcontent-%COMP%]{width:50%;float:left}}@media screen and (min-width: 992px){.details-info[_ngcontent-%COMP%]   .slick-prev[_ngcontent-%COMP%], .details-info[_ngcontent-%COMP%]   .slick-next[_ngcontent-%COMP%]{display:none!important}.record-image[_ngcontent-%COMP%]{text-align:left;padding:5px 0 2px;width:100%}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:50%;max-width:80px}.record-title[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:2px}.record-author[_ngcontent-%COMP%]{font-size:.9em}.record-isbn[_ngcontent-%COMP%]{display:block;width:initial}.record-summary[_ngcontent-%COMP%]{width:100%;float:left;padding:5px 0}.record-available[_ngcontent-%COMP%]{margin:5px 0 0;background:transparent;border-top:1px solid #f7f7f7;width:100%}.record-holds[_ngcontent-%COMP%]{margin:0;width:100%;background:transparent;border-top:1px solid #f7f7f7}.record-desc[_ngcontent-%COMP%]{width:auto}.record-content[_ngcontent-%COMP%]{font-size:1em}.record-buttons[_ngcontent-%COMP%]{width:100%}.record-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:100%}.record-category-links[_ngcontent-%COMP%]{width:auto;padding-left:15px;padding-right:15px;margin:2px 5px;font-size:.85em}.record-popup-links[_ngcontent-%COMP%]{width:auto;font-size:14px}.record-details[_ngcontent-%COMP%]{display:block;padding:0 15px}.shelf-browse[_ngcontent-%COMP%]{text-align:center}}@media screen and (min-width: 1280px){.sticky-buttons[_ngcontent-%COMP%]{display:block!important;min-width:900px!important}}.hidebuttons[_ngcontent-%COMP%]{display:none!important}.a-center-font-size[_ngcontent-%COMP%]{font-size:.7rem;text-align:center;display:block;margin:0 auto;text-decoration:none!important;padding:.3em}.border-black[_ngcontent-%COMP%]{border:1.5px solid black}.isDisabled[_ngcontent-%COMP%]{color:currentColor;cursor:not-allowed;opacity:.5;text-decoration:none}.show-more-fewer[_ngcontent-%COMP%]{cursor:pointer!important;text-decoration:underline!important;color:var(--primary)!important}.hr-lines[_ngcontent-%COMP%]{padding:0;margin-top:3px;margin-bottom:3px}.margin-left-3[_ngcontent-%COMP%]{margin-left:3px}.three[_ngcontent-%COMP%]:hover{text-decoration:underline;color:#00f;cursor:pointer}.main-link[_ngcontent-%COMP%]{color:#00f!important;cursor:pointer;text-decoration:underline!important}.holdings-label[_ngcontent-%COMP%]{vertical-align:middle;border:.3px solid lightgray;border-bottom:0;color:#a9a9a9;font-weight:600}.border-top-0[_ngcontent-%COMP%]{font-size:15px;border-top:0!important}.author-class[_ngcontent-%COMP%]{display:block!important;display:-webkit-box!important;max-width:100%;line-height:1.2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;margin-bottom:10px}.title-class[_ngcontent-%COMP%]{display:block!important;display:-webkit-box!important;max-width:90%;margin-bottom:5px;line-height:1.5;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.foundin-class[_ngcontent-%COMP%]{display:block!important;max-width:90%;margin-bottom:5px;line-height:1.5;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.buttons[_ngcontent-%COMP%]{font-size:14px!important;padding:0!important}.full-width-div[_ngcontent-%COMP%]{width:100%;left:0}.holding-details[_ngcontent-%COMP%]{text-decoration:underline!important;cursor:pointer}.color-red[_ngcontent-%COMP%]{color:red}.desktop[_ngcontent-%COMP%]{padding:20px}.staff-links-scroll[_ngcontent-%COMP%]{margin-top:5px}.staff-links-scroll-active[_ngcontent-%COMP%]{width:206px!important;max-height:135px;overflow:auto}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--button-background);outline:1px solid var(--button-border)}.record-popup-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--header-color)!important}.record-popup-links[_ngcontent-%COMP%]{line-height:2;background:var(--header-background)}.record-popup-links[_ngcontent-%COMP%]:hover{color:var(--button-color)!important;background-color:var(--button-background)}.tabs-not-stick[_ngcontent-%COMP%]{width:100%;display:block;margin:20px 0;padding:0 10px;text-align:center;overflow:auto}.tabs-not-stick-back[_ngcontent-%COMP%]{float:left;top:-10px;position:relative}.staff-function-dropdown-list-holder[_ngcontent-%COMP%]{background-color:var(--button-background)}.staff-function-dropdown[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:45px}.staff-function-dropdown-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.overDriveButtons[_ngcontent-%COMP%]{max-width:206px}.pagination-wrapper[_ngcontent-%COMP%]{background:var(--header-background);color:var(--header-color);border-radius:4px}.details-external-link[_ngcontent-%COMP%]{display:inline-flex}.card-block[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-bottom:.5rem}.action-icon-button[_ngcontent-%COMP%]{background:#00000005;border:1px solid rgba(0,0,0,.12)}.action-icon-button[_ngcontent-%COMP%]:hover{background:#0000001a}"]})}return v})();function Ao(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"a",2),n.NdJ("agInteract",function(){const qn=n.CHM(f).$implicit,Ro=n.oxw();return n.KtG(Ro.handleFullRecordAction(qn.action))}),n._uU(2),n.qZA(),n.BQk()}if(2&v){const f=rt.$implicit;n.xp6(),n.uIk("aria-label",f.label),n.xp6(),n.Oqu(f.label)}}let _o=(()=>{class v extends ai{constructor(f,Oe,ot,qn,Ro,mr,Ar,rr){super(f,Oe,ot,qn,Ro,mr,Ar,rr),this._storageService=f,this._authService=Oe,this._routingService=ot,this._analyticsService=qn,this._layoutService=Ro,this._dialog=mr,this._sharedService=Ar,this._detailsService=rr}ngOnChanges(f){super.ngOnChanges(f)}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(_t.V),n.Y36(O.e8),n.Y36(et.Z),n.Y36(z.y),n.Y36(ne.P),n.Y36(p.on),n.Y36(L.F),n.Y36(y.nP))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-item-actions-list"]],features:[n.qOj,n.TTD],decls:2,vars:1,consts:[["role","list",1,"staff-links","text-start","margin-left-3","margin-top-10","width-100"],[4,"ngFor","ngForOf"],["role","listitem","tabindex","0",3,"agInteract"]],template:function(Oe,ot){1&Oe&&(n.TgZ(0,"div",0),n.YNc(1,Ao,3,2,"ng-container",1),n.qZA()),2&Oe&&(n.xp6(),n.Q6J("ngForOf",ot.actionItems))},dependencies:[bn.o,le.sg],styles:["a[_ngcontent-%COMP%]{color:var(--link);font-weight:600}.active-link[_ngcontent-%COMP%]{text-decoration:underline!important}.card[_ngcontent-%COMP%]{color:var(--body-color)!important;background:var(--body-background)!important}.truncate-ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-group__h2[_ngcontent-%COMP%]{color:gray}.record-image[_ngcontent-%COMP%]{width:100%;padding-top:10px}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:33%;max-width:100px;box-shadow:0 5px 8px var(--box-shadows)}.record-author[_ngcontent-%COMP%]{color:var(--link);font-weight:500;padding-left:10px}.record-title[_ngcontent-%COMP%]{font-size:1.5rem;padding-top:0;padding-left:10px;margin-bottom:0}.record-isbn[_ngcontent-%COMP%]{font-weight:500;padding-left:10px}.record-available[_ngcontent-%COMP%]{padding:0 5px;margin:0 5px;background:transparent;color:#454545;font-weight:700;font-size:.85em}.record-desc[_ngcontent-%COMP%]{font-size:.9em}.record-details[_ngcontent-%COMP%]   .table-sm[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .record-details[_ngcontent-%COMP%]   .table-sm[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:0!important}.record-buttons[_ngcontent-%COMP%]{display:inline-block;width:60%;float:right}.record-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;max-width:206px}.record-category-links[_ngcontent-%COMP%]{color:var(--link);text-decoration:underline;color:var(--header-color)!important;background:var(--header-background);border-radius:4px;text-align:center;margin:3px;width:auto;padding:5px;display:inline-block;vertical-align:top;font-size:.75em;font-weight:400;cursor:pointer}.record-content[_ngcontent-%COMP%]{padding:10px;font-size:.85em}.record-content[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{padding-top:20px}.record-detail-desc[_ngcontent-%COMP%]{min-width:140px}.record-desc[_ngcontent-%COMP%]{width:100%}.record-group[_ngcontent-%COMP%]{clear:both;margin-top:25px}.record-group[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.5em;color:var(--body-color)!important}.record-group[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{color:var(--body-color)!important}.tablesortNhoney[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:0 5px!important}.img-gallery[_ngcontent-%COMP%]{box-shadow:0 5px 8px var(--box-shadows);cursor:pointer;float:left}.details-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:none}.shelf-browse[_ngcontent-%COMP%]{text-align:center}.staff-links[_ngcontent-%COMP%]{color:var(--link)!important;font-weight:400;font-size:.85rem}.staff-links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{width:100%;display:inline-block}.staff-links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}.record-sticky[_ngcontent-%COMP%]{position:sticky;top:60px;width:240px;padding:0 15px}#sticky-tabs[_ngcontent-%COMP%]{width:100%;height:45px;align-items:center;justify-content:center;color:var(--header-color)!important;background-color:var(--offset-two)}#page-header[_ngcontent-%COMP%]{min-height:60px}#page-header[_ngcontent-%COMP%]   .mat-title[_ngcontent-%COMP%], #page-header[_ngcontent-%COMP%]   .mat-subheading-1[_ngcontent-%COMP%], #page-header[_ngcontent-%COMP%]   .mat-subheading-2[_ngcontent-%COMP%]{margin:0}#page-header.sticky-header[_ngcontent-%COMP%]{background:var(--body-background)}.sticky-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:2;background-color:#fff}.sticky-header.sticky-header-scroll[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.no-margin-lineheight1-1[_ngcontent-%COMP%]{margin:0!important;line-height:1.1}.d-inline-block-actions[_ngcontent-%COMP%]{margin-top:20px}.dropdown-menu.show[_ngcontent-%COMP%]{width:206px!important}.btn-outline-primary-b[_ngcontent-%COMP%]{color:var(--button-border);background-color:var(--button-color);border:solid 1px var(--button-border);padding:5px;margin:0 0 0 10px;font-size:14px}@keyframes _ngcontent-%COMP%_moveon{0%{background-color:var(--body-background);height:65px}to{background-color:var(--offset-two);height:45px}}@keyframes _ngcontent-%COMP%_moveoff{0%{background-color:var(--offset-two);height:45px}to{background-color:var(--body-background);height:65px}}@media screen and (min-width: 320px){.record-isbn[_ngcontent-%COMP%]{display:inline-block;width:50%}.record-available[_ngcontent-%COMP%]{display:inline-block;width:44%}}@media screen and (min-width: 768px){.record-image[_ngcontent-%COMP%]{width:200px;float:left}.record-desc[_ngcontent-%COMP%]{float:none}.record-available[_ngcontent-%COMP%]{padding-top:5px}.record-author[_ngcontent-%COMP%]{margin-top:5px;font-size:1.15em}.record-image[_ngcontent-%COMP%]{padding-top:20px}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.record-content[_ngcontent-%COMP%]{padding:10px 0 10px 25px;width:calc(100% - 210px);float:left}.record-buttons[_ngcontent-%COMP%]{width:50%;float:left}}@media screen and (min-width: 992px){.details-info[_ngcontent-%COMP%]   .slick-prev[_ngcontent-%COMP%], .details-info[_ngcontent-%COMP%]   .slick-next[_ngcontent-%COMP%]{display:none!important}.record-image[_ngcontent-%COMP%]{text-align:left;padding:5px 0 2px;width:100%}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:50%;max-width:80px}.record-title[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:2px}.record-author[_ngcontent-%COMP%]{font-size:.9em}.record-isbn[_ngcontent-%COMP%]{display:block;width:initial}.record-summary[_ngcontent-%COMP%]{width:100%;float:left;padding:5px 0}.record-available[_ngcontent-%COMP%]{margin:5px 0 0;background:transparent;border-top:1px solid #f7f7f7;width:100%}.record-holds[_ngcontent-%COMP%]{margin:0;width:100%;background:transparent;border-top:1px solid #f7f7f7}.record-desc[_ngcontent-%COMP%]{width:auto}.record-content[_ngcontent-%COMP%]{font-size:1em}.record-buttons[_ngcontent-%COMP%]{width:100%}.record-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:100%}.record-category-links[_ngcontent-%COMP%]{width:auto;padding-left:15px;padding-right:15px;margin:2px 5px;font-size:.85em}.record-popup-links[_ngcontent-%COMP%]{width:auto;font-size:14px}.record-details[_ngcontent-%COMP%]{display:block;padding:0 15px}.shelf-browse[_ngcontent-%COMP%]{text-align:center}}@media screen and (min-width: 1280px){.sticky-buttons[_ngcontent-%COMP%]{display:block!important;min-width:900px!important}}.hidebuttons[_ngcontent-%COMP%]{display:none!important}.a-center-font-size[_ngcontent-%COMP%]{font-size:.7rem;text-align:center;display:block;margin:0 auto;text-decoration:none!important;padding:.3em}.border-black[_ngcontent-%COMP%]{border:1.5px solid black}.isDisabled[_ngcontent-%COMP%]{color:currentColor;cursor:not-allowed;opacity:.5;text-decoration:none}.show-more-fewer[_ngcontent-%COMP%]{cursor:pointer!important;text-decoration:underline!important;color:var(--primary)!important}.hr-lines[_ngcontent-%COMP%]{padding:0;margin-top:3px;margin-bottom:3px}.margin-left-3[_ngcontent-%COMP%]{margin-left:3px}.three[_ngcontent-%COMP%]:hover{text-decoration:underline;color:#00f;cursor:pointer}.main-link[_ngcontent-%COMP%]{color:#00f!important;cursor:pointer;text-decoration:underline!important}.holdings-label[_ngcontent-%COMP%]{vertical-align:middle;border:.3px solid lightgray;border-bottom:0;color:#a9a9a9;font-weight:600}.border-top-0[_ngcontent-%COMP%]{font-size:15px;border-top:0!important}.author-class[_ngcontent-%COMP%]{display:block!important;display:-webkit-box!important;max-width:100%;line-height:1.2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;margin-bottom:10px}.title-class[_ngcontent-%COMP%]{display:block!important;display:-webkit-box!important;max-width:90%;margin-bottom:5px;line-height:1.5;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.foundin-class[_ngcontent-%COMP%]{display:block!important;max-width:90%;margin-bottom:5px;line-height:1.5;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.buttons[_ngcontent-%COMP%]{font-size:14px!important;padding:0!important}.full-width-div[_ngcontent-%COMP%]{width:100%;left:0}.holding-details[_ngcontent-%COMP%]{text-decoration:underline!important;cursor:pointer}.color-red[_ngcontent-%COMP%]{color:red}.desktop[_ngcontent-%COMP%]{padding:20px}.staff-links-scroll[_ngcontent-%COMP%]{margin-top:5px}.staff-links-scroll-active[_ngcontent-%COMP%]{width:206px!important;max-height:135px;overflow:auto}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--button-background);outline:1px solid var(--button-border)}.record-popup-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--header-color)!important}.record-popup-links[_ngcontent-%COMP%]{line-height:2;background:var(--header-background)}.record-popup-links[_ngcontent-%COMP%]:hover{color:var(--button-color)!important;background-color:var(--button-background)}.tabs-not-stick[_ngcontent-%COMP%]{width:100%;display:block;margin:20px 0;padding:0 10px;text-align:center;overflow:auto}.tabs-not-stick-back[_ngcontent-%COMP%]{float:left;top:-10px;position:relative}.staff-function-dropdown-list-holder[_ngcontent-%COMP%]{background-color:var(--button-background)}.staff-function-dropdown[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:45px}.staff-function-dropdown-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.overDriveButtons[_ngcontent-%COMP%]{max-width:206px}.pagination-wrapper[_ngcontent-%COMP%]{background:var(--header-background);color:var(--header-color);border-radius:4px}.details-external-link[_ngcontent-%COMP%]{display:inline-flex}.card-block[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-bottom:.5rem}.action-icon-button[_ngcontent-%COMP%]{background:#00000005;border:1px solid rgba(0,0,0,.12)}.action-icon-button[_ngcontent-%COMP%]:hover{background:#0000001a}"]})}return v})();function ar(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"button",1),n.NdJ("click",function(){const qn=n.CHM(f).$implicit,Ro=n.oxw();return n.KtG(Ro.handleFullRecordAction(qn.action))}),n._uU(2),n.qZA(),n.BQk()}if(2&v){const f=rt.$implicit;n.xp6(),n.uIk("aria-label",f.label),n.xp6(),n.hij(" ",f.label," ")}}let br=(()=>{class v extends ai{constructor(f,Oe,ot,qn,Ro,mr,Ar,rr){super(f,Oe,ot,qn,Ro,mr,Ar,rr),this._storageService=f,this._authService=Oe,this._routingService=ot,this._analyticsService=qn,this._layoutService=Ro,this._dialog=mr,this._sharedService=Ar,this._detailsService=rr}ngOnChanges(f){super.ngOnChanges(f)}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(_t.V),n.Y36(O.e8),n.Y36(et.Z),n.Y36(z.y),n.Y36(ne.P),n.Y36(p.on),n.Y36(L.F),n.Y36(y.nP))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-menu-items-actions"]],features:[n.qOj,n.TTD],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],["mat-menu-item","","type","button",3,"click"]],template:function(Oe,ot){1&Oe&&n.YNc(0,ar,3,2,"ng-container",0),2&Oe&&n.Q6J("ngForOf",ot.actionItems)},dependencies:[le.sg,Pn.tN],styles:["[_nghost-%COMP%]{display:block}"]})}return v})(),Xr=(()=>{class v{transform(f){const ot=f.replace(/(https?:\/\/)/g,""),qn=ot.split("/");return qn.length>2?`${qn[0]}/.../${qn[qn.length-1]}`:ot}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275pipe=n.Yjl({name:"truncateUrl",type:v,pure:!0})}return v})();function Ir(v,rt){if(1&v&&(n.TgZ(0,"div",6)(1,"div",7)(2,"a",8)(3,"div",9),n._uU(4),n.ALo(5,"truncateUrl"),n.qZA()()(),n.TgZ(6,"div")(7,"a",8)(8,"mat-icon",10),n._uU(9,"launch"),n.qZA()()()()),2&v){const f=n.oxw().$implicit;n.xp6(2),n.Q6J("href",f.href,n.LSH)("matTooltip",null!=f.title&&f.title.length?f.title:f.href),n.xp6(2),n.hij(" ",null!=f.title&&f.title.length?f.title:n.lcZ(5,5,f.href)," "),n.xp6(3),n.Q6J("href",f.href,n.LSH)("matTooltip",f.href)}}function vo(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ir,10,7,"div",5),n.BQk()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf",null==f?null:f.href)}}function ei(v,rt){if(1&v&&(n.TgZ(0,"div",2)(1,"h6",3),n._uU(2),n.qZA(),n.YNc(3,vo,2,1,"ng-container",4),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Oqu(null==f.fullRecord?null:f.fullRecord.onlineContents.title),n.xp6(),n.Q6J("ngForOf",null==f.fullRecord?null:f.fullRecord.onlineContents.items)}}function eo(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,ei,4,2,"div",1),n.BQk()),2&v){const f=n.oxw();n.xp6(),n.Q6J("ngIf","AG"===(null==f.fullRecord?null:f.fullRecord.targetType)||"AV"===(null==f.fullRecord?null:f.fullRecord.targetType)||"ZZ"===(null==f.fullRecord?null:f.fullRecord.targetType))}}let yo=(()=>{class v{constructor(){this.itemIndex=-1,this.SYSTEMCATEGORY=O._n,this.position=0}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-online-content"]],inputs:{fullRecord:"fullRecord",itemIndex:"itemIndex"},decls:1,vars:1,consts:[[4,"ngIf"],["class","online-content","fxLayout","column",4,"ngIf"],["fxLayout","column",1,"online-content"],[1,"text-center"],[4,"ngFor","ngForOf"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","166px"],["target","_blank",3,"href","matTooltip"],[1,"ellipsis"],[1,"mat-icon-xs"]],template:function(Oe,ot){1&Oe&&n.YNc(0,eo,2,1,"ng-container",0),2&Oe&&n.Q6J("ngIf",-1===ot.itemIndex&&(null==ot.fullRecord?null:ot.fullRecord.onlineContents))},dependencies:[le.sg,le.O5,Ct.xw,Ct.yH,Wt.Hw,jn.Kd,Xr],styles:[".online-content[_ngcontent-%COMP%]{border:1.5px solid black;font-size:12px;padding:10px;width:210px}"],changeDetection:0})}return v})(),Fr=(()=>{class v{transform(f){const Oe=[];for(const ot in f)Oe.push(ot);return Oe}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275pipe=n.Yjl({name:"keys",type:v,pure:!0})}return v})();var Cr=s(4439),ut=s(5339);let xt=(()=>{class v{transform(f,Oe){return f.replace(/ /g,"")}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275pipe=n.Yjl({name:"removeWhiteSpaces",type:v,pure:!0})}return v})();const qe=["myDrop"],Ht=["stickyBlock"],Cn=["recordButtons"];function li(v,rt){if(1&v&&(n.ynx(0),n.TgZ(1,"a",5),n._UZ(2,"img",6),n.qZA(),n.BQk()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Q6J("href",f.jacketArt.link,n.LSH),n.xp6(),n.Q6J("alt",f.title)("src",f.jacketArt.small,n.LSH)("title",f.title)}}function At(v,rt){if(1&v&&n._UZ(0,"img",6),2&v){const f=n.oxw().$implicit;n.Q6J("alt",f.title)("src",f.jacketArt.small,n.LSH)("title",f.title)}}function Si(v,rt){if(1&v&&n.YNc(0,li,3,4,"ng-container",3)(1,At,1,3,"ng-template",null,4,n.W1O),2&v){const f=rt.$implicit,Oe=n.MAs(2);n.Q6J("ngIf",f.jacketArt.link)("ngIfElse",Oe)}}function Gi(v,rt){1&v&&n._UZ(0,"mat-progress-bar",7)}function Or(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",69),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.goBack())}),n.TgZ(1,"mat-icon"),n._uU(2,"arrow_back_ios"),n.qZA()()}}function Vr(v,rt){if(1&v&&(n.TgZ(0,"div",74),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.Q6J("title",f.fullRecord.title),n.xp6(),n.hij(" ",f.fullRecord.title," ")}}function qo(v,rt){if(1&v&&(n.TgZ(0,"div",75),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.Q6J("title",f.fullRecord.author),n.xp6(),n.hij(" ",f.fullRecord.author," ")}}function To(v,rt){if(1&v&&(n.TgZ(0,"div",70)(1,"div",71),n.YNc(2,Vr,2,2,"div",72)(3,qo,2,2,"div",73),n.qZA()()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngIf",f.fullRecord.title),n.xp6(),n.Q6J("ngIf",f.fullRecord.author)}}function Ii(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("details"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.detailsTabLabel)}}function no(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ii,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.detailsTabLabel)}}function ea(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("moreAbout"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.hij(" ",f.moreAboutTabLabel," ")}}function uo(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,ea,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.showMoreAboutThisTitle)}}function qi(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("whereIsIt"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.whereToTabLabel)}}function zr(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,qi,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.holdings)}}function oa(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("reviews"))}),n._uU(1,"Goodreads\xae Reviews"),n.qZA()}}function nr(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,oa,2,0,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayGoodreadsReview&&(null==f.fullRecord.reviews?null:f.fullRecord.reviews.goodReadReviewData))}}function Br(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("marc"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.marcTabLabel)}}function Sa(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Br,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayMARC&&!f.kids&&f.marcTabLabel)}}function Ur(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("syndetics_unbound"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.syndeticsTabLabel)}}function Ia(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ur,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.showSyndeticsUnbound&&!f.kids)}}function Ga(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("novel"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.novelistTabLabel)}}function Ea(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ga,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayNovelist&&!f.kids)}}function xs(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("clcd"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.clcdTabLabel)}}function ra(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,xs,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.showClcd&&f.clcdLoaded)}}function ho(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("shelf"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.shelfTabLabel)}}function Ja(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,ho,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.shelfBrowseLocations&&f.fullRecord.fullRecordSettings.displayShelfBrowse&&f.shelfTabLabel)}}function Wa(v,rt){}function aa(v,rt){1&v&&n.YNc(0,Wa,0,0,"ng-template")}function us(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,no,2,1,"ng-container",80)(2,uo,2,1,"ng-container",80)(3,zr,2,1,"ng-container",80)(4,nr,2,1,"ng-container",80)(5,Sa,2,1,"ng-container",80)(6,Ia,2,1,"ng-container",80)(7,Ea,2,1,"ng-container",80)(8,ra,2,1,"ng-container",80)(9,Ja,2,1,"ng-container",80)(10,aa,1,0,null,81),n.BQk()),2&v){const f=n.oxw(4);n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Details),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.More_About_This_Title),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Where_To_Find),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.GoodreadsReviews),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.MARC_Display),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Syndetics_Unbound),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Novelist),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.CLCD),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Shelf_Browse)}}function dn(v,rt){if(1&v&&(n.ynx(0,79),n.YNc(1,us,11,9,"ng-container",2),n.BQk()),2&v){const f=rt.$implicit;n.Q6J("ngSwitch",f.value),n.xp6(),n.Q6J("ngIf",f.isDefault)}}function Tn(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("details"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.detailsTabLabel)}}function Zn(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Tn,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.detailsTabLabel)}}function Jn(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("moreAbout"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.hij(" ",f.moreAboutTabLabel," ")}}function ti(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Jn,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.showMoreAboutThisTitle)}}function Mi(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("whereIsIt"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.whereToTabLabel)}}function Ri(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Mi,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.holdings)}}function zi(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("reviews"))}),n._uU(1,"Goodreads\xae Reviews"),n.qZA()}}function Ei(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,zi,2,0,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayGoodreadsReview&&(null==f.fullRecord.reviews?null:f.fullRecord.reviews.goodReadReviewData))}}function Po(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("marc"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.marcTabLabel)}}function oo(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Po,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayMARC&&!f.kids&&f.marcTabLabel)}}function lo(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("syndetics_unbound"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.syndeticsTabLabel)}}function Eo(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,lo,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.showSyndeticsUnbound&&!f.kids)}}function to(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("novel"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.novelistTabLabel)}}function ro(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,to,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayNovelist&&!f.kids)}}function kr(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("clcd"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.clcdTabLabel)}}function vr(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,kr,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.showClcd&&f.clcdLoaded)}}function Wo(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",83),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(6);return n.KtG(ot.scrollToSectionById("shelf"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(6);n.xp6(),n.Oqu(f.shelfTabLabel)}}function Te(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Wo,2,1,"a",82),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngIf",f.fullRecord.shelfBrowseLocations&&f.fullRecord.fullRecordSettings.displayShelfBrowse&&f.shelfTabLabel)}}function kt(v,rt){}function We(v,rt){1&v&&n.YNc(0,kt,0,0,"ng-template")}function yt(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Zn,2,1,"ng-container",80)(2,ti,2,1,"ng-container",80)(3,Ri,2,1,"ng-container",80)(4,Ei,2,1,"ng-container",80)(5,oo,2,1,"ng-container",80)(6,Eo,2,1,"ng-container",80)(7,ro,2,1,"ng-container",80)(8,vr,2,1,"ng-container",80)(9,Te,2,1,"ng-container",80)(10,We,1,0,null,81),n.BQk()),2&v){const f=n.oxw(4);n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Details),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.More_About_This_Title),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Where_To_Find),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.GoodreadsReviews),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.MARC_Display),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Syndetics_Unbound),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Novelist),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.CLCD),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Shelf_Browse)}}function _n(v,rt){if(1&v&&(n.ynx(0,84),n.YNc(1,yt,11,9,"ng-container",2),n.BQk()),2&v){const f=rt.$implicit;n.Q6J("ngSwitch",f.value),n.xp6(),n.Q6J("ngIf",!f.isDefault)}}function Kn(v,rt){if(1&v&&(n.TgZ(0,"div",76)(1,"div",77),n.YNc(2,dn,2,2,"ng-container",57)(3,_n,2,2,"ng-container",78),n.qZA()()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",f.fullRecord.fullRecordSettings.fullRecordTabs),n.xp6(),n.Q6J("ngForOf",f.fullRecord.fullRecordSettings.fullRecordTabs)}}function ci(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"div",9)(1,"button",85)(2,"mat-icon"),n._uU(3,"more_vert"),n.qZA()(),n.TgZ(4,"mat-menu",86,87)(6,"ag-menu-items-actions",31),n.NdJ("addItem",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.goToAddItem())})("addItemToList",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.addToList())})("printItem",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.print())})("emailItem",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.email())})("multiCopy",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.multiCopyForm())}),n.qZA()()()}if(2&v){const f=n.MAs(5),Oe=n.oxw(2);n.xp6(),n.Q6J("matMenuTriggerFor",f),n.uIk("aria-label",Oe.userData.isStaff?"Staff Actions":"Other Actions"),n.xp6(5),n.Q6J("userData",Oe.userData)("fullRecord",Oe.fullRecord)("showFormat",Oe.showFormat)}}function bi(v,rt){if(1&v&&(n.TgZ(0,"a",90),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.Oqu(f.messageTextBX)}}function Go(v,rt){if(1&v&&(n.TgZ(0,"div",88),n.YNc(1,bi,2,1,"a",89),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.Q6J("ngIf",f.showMessageBX)}}function po(v,rt){if(1&v&&n._UZ(0,"div",91),2&v){const f=n.oxw(2);n.Q6J("title",f.fullRecord.author)("innerHTML","Author: "+f.fullRecord.author,n.oJD)}}function Jo(v,rt){if(1&v&&n._UZ(0,"h1",92),2&v){const f=n.oxw(2);n.Q6J("title",f.fullRecord.title)("innerHTML","Title:"+f.fullRecord.title,n.oJD)}}function xo(v,rt){if(1&v&&(n.TgZ(0,"div",93),n._UZ(1,"i",94),n._uU(2),n.qZA()),2&v){const f=n.oxw(2);n.Q6J("title",f.fullRecord.format),n.xp6(),n.Q6J("ngClass","fa ag-media-"+f.fullRecord.format_Short+" fa-2x"),n.xp6(),n.hij("",f.fullRecord.format," ")}}function sr(v,rt){if(1&v&&n._UZ(0,"div",95),2&v){const f=n.oxw(2);n.Q6J("title",f.fullRecord.targetName)("innerHTML","Found In: "+f.fullRecord.targetName,n.oJD)}}function zo(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable," ")}}function ir(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1," 0 "),n.qZA())}function Va(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" (of ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies,")")}}function Qr(v,rt){if(1&v&&(n.TgZ(0,"div",22),n._uU(1," Availability: "),n.YNc(2,zo,2,1,"span",2)(3,ir,2,0,"span",2)(4,Va,2,1,"span",2),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngIf",0!==(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",0===(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies)}}function Xa(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable," ")}}function Ra(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1," 0 "),n.qZA())}function sa(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" (of ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies,")")}}function La(v,rt){if(1&v&&(n.TgZ(0,"div",22),n._uU(1," Availability: "),n.YNc(2,Xa,2,1,"span",2)(3,Ra,2,0,"span",2)(4,sa,2,1,"span",2),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngIf",0!==(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",0===(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies)}}function es(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.hij(" ",null==f.BxData?null:f.BxData.availableCopies," ")}}function Cs(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.hij(" (of ",null==f.BxData?null:f.BxData.totalCopies,")")}}function fl(v,rt){if(1&v&&(n.TgZ(0,"span",15),n.YNc(1,es,2,1,"span",2)(2,Cs,2,1,"span",2),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngIf",f.BxData.availableCopies),n.xp6(),n.Q6J("ngIf",f.BxData.totalCopies)}}function _l(v,rt){if(1&v&&(n.TgZ(0,"div",22),n._uU(1," Availability: "),n.YNc(2,fl,3,2,"span",54),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngIf",f.BxData)}}function Pc(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.hij(" ",f.value," ")}}function Ca(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,Pc,2,1,"span",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf","Availability"===f.name)}}function $s(v,rt){if(1&v&&(n.TgZ(0,"div",22),n._uU(1," Availability: "),n.YNc(2,Ca,2,1,"span",96),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",f.fullRecord.details.fields)}}function za(v,rt){if(1&v&&(n.TgZ(0,"div",22),n._uU(1),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.hij(" Availability: ",f.userData.isGuest?"Login Required":null==f.hooplaItem?null:f.hooplaItem.availability," ")}}function gl(v,rt){if(1&v&&(n.ynx(0),n.TgZ(1,"a",97),n._uU(2),n.qZA(),n.BQk()),2&v){const f=n.oxw(3);n.xp6(2),n.hij("",null==f.hooplaItem?null:f.hooplaItem.holdsInQueue," Hold(s) in Queue")}}function ec(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,gl,3,1,"ng-container",2),n.BQk()),2&v){const f=n.oxw(2);n.xp6(),n.Q6J("ngIf",!(null!=f.userData&&f.userData.isGuest)&&f.hooplaPurchaseModel===f.HOOPLA_TYPE.FLEX)}}function wa(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",100),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.holdsInQueue())}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(4);n.xp6(),n.hij("",f.fullRecord.reserveOptions.holsInQueueCount," Hold(s) in Queue")}}function tc(v,rt){if(1&v&&(n.TgZ(0,"a",97),n._uU(1),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.hij("",f.fullRecord.reserveOptions.holsInQueueCount," Hold(s) in Queue")}}function Ic(v,rt){if(1&v&&(n.TgZ(0,"div",22),n.YNc(1,wa,2,1,"a",98)(2,tc,2,1,"a",99),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngIf",f.userData.isStaff),n.xp6(),n.Q6J("ngIf",f.userData.isPatron)}}function pr(v,rt){if(1&v&&n.YNc(0,Ic,3,2,"div",21),2&v){const f=n.oxw(2);n.Q6J("ngIf",null==f.fullRecord.reserveOptions?null:f.fullRecord.reserveOptions.showHoldsInQueue)}}function Ws(v,rt){1&v&&n.GkF(0)}const ts=v=>({$implicit:v});function Hr(v,rt){if(1&v&&(n.TgZ(0,"div",101),n.YNc(1,Ws,1,0,"ng-container",102),n.qZA()),2&v){const f=n.oxw(2),Oe=n.MAs(1);n.xp6(),n.Q6J("ngTemplateOutlet",Oe)("ngTemplateOutletContext",n.VKq(2,ts,f.fullRecord))}}function ta(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",106),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.fulfillItem())}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(3);n.uIk("aria-label",f.fulfillmentLabel),n.xp6(),n.hij(" ",f.fulfillmentLabel," ")}}function bl(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"img",107),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.fulfillItem())}),n.qZA()}}function Bs(v,rt){if(1&v&&(n.TgZ(0,"div",103),n.YNc(1,ta,2,2,"button",104)(2,bl,1,0,"ng-template",null,105,n.W1O),n.qZA()),2&v){const f=n.MAs(3),Oe=n.oxw(2);n.xp6(),n.Q6J("ngIf",!Oe.kids)("ngIfElse",f)}}function _a(v,rt){if(1&v&&n._UZ(0,"ag-online-content",108),2&v){const f=n.oxw(2);n.Q6J("fullRecord",f.fullRecord)}}function Rc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",112),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.checkoutBX())}),n._uU(1," Checkout Now "),n.qZA()}}function Lc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",113),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.addHoldBX())}),n._uU(1," Place Hold "),n.qZA()}}function Nc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",114),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.removeHoldBX())}),n._uU(1," Remove Hold "),n.qZA()}}function jr(v,rt){if(1&v&&(n.TgZ(0,"div"),n.YNc(1,Rc,2,0,"button",109)(2,Lc,2,0,"button",110)(3,Nc,2,0,"button",111),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.Q6J("ngIf",f.canCheckOutBX),n.xp6(),n.Q6J("ngIf",f.canHoldBX),n.xp6(),n.Q6J("ngIf",f.canRemoveHoldBX)}}function vl(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-overdrive-fullrecord",115),n.NdJ("refreshItem",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.refreshItem())})("placeHold",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.placeOverDriveHold())})("selectedProduct",function(ot){n.CHM(f);const qn=n.oxw(2);return n.KtG(qn.changeOverdriveJacketArt(ot))}),n.qZA()}if(2&v){const f=n.oxw(2);n.Q6J("item",f.overDriveItem)("format",f.fullRecord.format)("isGuest",f.userData.isGuest)}}function Fc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-hoopla-fullrecord",116),n.NdJ("refreshItem",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.refreshItem())}),n.qZA()}if(2&v){const f=n.oxw(2);n.Q6J("item",f.hooplaItem)("format",f.fullRecord.format)("purchaseModel",f.hooplaPurchaseModel)("isGuest",f.userData.isGuest)}}function Gr(v,rt){1&v&&n.GkF(0)}function nc(v,rt){if(1&v&&(n.TgZ(0,"div",117),n.YNc(1,Gr,1,0,"ng-container",102),n.qZA()),2&v){const f=n.oxw(2),Oe=n.MAs(1);n.xp6(),n.Q6J("ngTemplateOutlet",Oe)("ngTemplateOutletContext",n.VKq(2,ts,f.fullRecord))}}function hs(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable," ")}}function ws(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1," 0 "),n.qZA())}function Qa(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" (of ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies,")")}}function yl(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1," (of 0)"),n.qZA())}function Kr(v,rt){if(1&v&&(n.TgZ(0,"div",118),n._uU(1," Availability: "),n.YNc(2,hs,2,1,"span",2)(3,ws,2,0,"span",2)(4,Qa,2,1,"span",2)(5,yl,2,0,"span",2),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngIf",0!==(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",0===(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies)>0),n.xp6(),n.Q6J("ngIf",0===(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies))}}function ji(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable," ")}}function Fa(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1," 0 "),n.qZA())}function bd(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" (of ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies,")")}}function xl(v,rt){if(1&v&&(n.TgZ(0,"div",119),n._uU(1," Availability: "),n.YNc(2,ji,2,1,"span",2)(3,Fa,2,0,"span",2)(4,bd,2,1,"span",2),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngIf",0!==(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",0===(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies)}}function ic(v,rt){if(1&v&&(n.TgZ(0,"div",120),n._uU(1),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.hij(" Author : ",f.fullRecord.author," ")}}function vd(v,rt){if(1&v&&(n.TgZ(0,"h1",121),n._uU(1),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.hij("Title : ",f.fullRecord.title,"")}}function oc(v,rt){if(1&v&&(n.TgZ(0,"div",120),n._uU(1),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.hij(" Format : ",f.fullRecord.format," ")}}function ns(v,rt){if(1&v&&(n.TgZ(0,"div",120),n._uU(1),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.hij(" Found In : ",f.fullRecord.targetName," ")}}function Dr(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.hij(" ",f.value," ")}}function rc(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,Dr,2,1,"span",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf","Availability"===f.name)}}function Bc(v,rt){if(1&v&&(n.TgZ(0,"div",122),n._uU(1," Availability: "),n.YNc(2,rc,2,1,"span",96),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",f.fullRecord.details.fields)}}function ac(v,rt){if(1&v&&(n.TgZ(0,"div",22),n._uU(1),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.hij(" Availability: ",f.userData.isGuest?"Login Required":null==f.hooplaItem?null:f.hooplaItem.availability," ")}}function ps(v,rt){if(1&v&&(n.TgZ(0,"div",123)(1,"a",97),n._uU(2),n.qZA()()),2&v){const f=n.oxw(3);n.xp6(2),n.hij("",null==f.hooplaItem?null:f.hooplaItem.holdsInQueue," Hold(s) in Queue")}}function si(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,ps,3,1,"div",52),n.BQk()),2&v){const f=n.oxw(2);n.xp6(),n.Q6J("ngIf",!(null!=f.userData&&f.userData.isGuest)&&f.hooplaPurchaseModel===f.HOOPLA_TYPE.FLEX)}}function Oo(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",100),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.holdsInQueue())}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(4);n.xp6(),n.hij("",f.fullRecord.reserveOptions.holsInQueueCount," Hold(s) in Queue")}}function Ts(v,rt){if(1&v&&(n.TgZ(0,"a",97),n._uU(1),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.hij("",f.fullRecord.reserveOptions.holsInQueueCount," Hold(s) in Queue")}}function is(v,rt){if(1&v&&(n.TgZ(0,"div",123),n.YNc(1,Oo,2,1,"a",98)(2,Ts,2,1,"a",99),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngIf",f.userData.isStaff),n.xp6(),n.Q6J("ngIf",f.userData.isPatron)}}function or(v,rt){if(1&v&&n.YNc(0,is,3,2,"div",52),2&v){const f=n.oxw(2);n.Q6J("ngIf",null==f.fullRecord.reserveOptions?null:f.fullRecord.reserveOptions.showHoldsInQueue)}}function ms(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",125),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.fulfillItem())}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(3);n.uIk("aria-label",f.fulfillmentLabel),n.xp6(),n.hij(" ",f.fulfillmentLabel," ")}}function os(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"img",107),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.fulfillItem())}),n.qZA()}}function Do(v,rt){if(1&v&&(n.TgZ(0,"div",103),n.YNc(1,ms,2,2,"button",124)(2,os,1,0,"ng-template",null,105,n.W1O),n.qZA()),2&v){const f=n.MAs(3),Oe=n.oxw(2);n.xp6(),n.Q6J("ngIf",!Oe.kids)("ngIfElse",f)}}function sc(v,rt){if(1&v&&n._UZ(0,"ag-online-content",108),2&v){const f=n.oxw(2);n.Q6J("fullRecord",f.fullRecord)}}function Xs(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",112),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.checkoutBX())}),n._uU(1," Checkout Now "),n.qZA()}}function Cl(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",113),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.addHoldBX())}),n._uU(1," Place Hold "),n.qZA()}}function el(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",114),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.removeHoldBX())}),n._uU(1," Remove Hold "),n.qZA()}}function ce(v,rt){if(1&v&&(n.TgZ(0,"div"),n.YNc(1,Xs,2,0,"button",109)(2,Cl,2,0,"button",110)(3,el,2,0,"button",111),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.Q6J("ngIf",f.canCheckOutBX),n.xp6(),n.Q6J("ngIf",null==f.BxData?null:f.BxData.canHoldBX),n.xp6(),n.Q6J("ngIf",f.canRemoveHoldBX)}}function Be(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-overdrive-fullrecord",115),n.NdJ("refreshItem",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.refreshItem())})("placeHold",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.placeOverDriveHold())})("selectedProduct",function(ot){n.CHM(f);const qn=n.oxw(2);return n.KtG(qn.changeOverdriveJacketArt(ot))}),n.qZA()}if(2&v){const f=n.oxw(2);n.Q6J("item",f.overDriveItem)("format",f.fullRecord.format)("isGuest",f.userData.isGuest)}}function ve(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-hoopla-fullrecord",116),n.NdJ("refreshItem",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.refreshItem())}),n.qZA()}if(2&v){const f=n.oxw(2);n.Q6J("item",f.hooplaItem)("format",f.fullRecord.format)("purchaseModel",f.hooplaPurchaseModel)("isGuest",f.userData.isGuest)}}function Je(v,rt){if(1&v&&(n.TgZ(0,"a",90),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.Oqu(f.messageTextBX)}}function gt(v,rt){if(1&v&&(n.TgZ(0,"div",88),n.YNc(1,Je,2,1,"a",89),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.Q6J("ngIf",f.showMessageBX)}}function Gt(v,rt){if(1&v&&n._UZ(0,"div",126),2&v){const f=n.oxw(2);n.Q6J("title",f.fullRecord.author)("innerHTML",f.fullRecord.author,n.oJD)}}function fn(v,rt){if(1&v&&n._UZ(0,"h1",127),2&v){const f=n.oxw(2);n.Q6J("title",f.fullRecord.title)("innerHTML",f.fullRecord.title,n.oJD)}}function Qn(v,rt){if(1&v&&(n.TgZ(0,"div",128),n._UZ(1,"i",94),n._uU(2),n.qZA()),2&v){const f=n.oxw(2);n.Q6J("title",f.fullRecord.format),n.xp6(),n.Q6J("ngClass","fa ag-media-"+f.fullRecord.format_Short+" fa-2x"),n.xp6(),n.hij("",f.fullRecord.format," ")}}function Hn(v,rt){1&v&&n.GkF(0)}function Ti(v,rt){if(1&v&&(n.TgZ(0,"div",129),n.YNc(1,Hn,1,0,"ng-container",102),n.qZA()),2&v){const f=n.oxw(2),Oe=n.MAs(1);n.xp6(),n.Q6J("ngTemplateOutlet",Oe)("ngTemplateOutletContext",n.VKq(2,ts,f.fullRecord))}}function io(v,rt){if(1&v&&n._UZ(0,"div",130),2&v){const f=n.oxw(2);n.Q6J("title",f.fullRecord.targetName)("innerHTML","Found In",n.oJD)}}function wo(v,rt){if(1&v&&n._UZ(0,"div",131),2&v){const f=n.oxw(2);n.Q6J("title",f.fullRecord.targetName)("innerHTML",f.fullRecord.targetName,n.oJD)}}function yr(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable," ")}}function la(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1," 0 "),n.qZA())}function fs(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" (of ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies,")")}}function pa(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1," (of 0)"),n.qZA())}function Us(v,rt){if(1&v&&(n.TgZ(0,"div",123),n._uU(1," Availability: "),n.YNc(2,yr,2,1,"span",2)(3,la,2,0,"span",2)(4,fs,2,1,"span",2)(5,pa,2,0,"span",2),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngIf",0!==(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",0===(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies)>0),n.xp6(),n.Q6J("ngIf",0===(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies))}}function rs(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable," ")}}function yd(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1," 0 "),n.qZA())}function xd(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.hij(" (of ",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies,")")}}function Cd(v,rt){if(1&v&&(n.TgZ(0,"div",123),n._uU(1," Availability: "),n.YNc(2,rs,2,1,"span",2)(3,yd,2,0,"span",2)(4,xd,2,1,"span",2),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngIf",0!==(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",0===(null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalAvailable)),n.xp6(),n.Q6J("ngIf",null==f.fullRecord.holdings?null:f.fullRecord.holdings.totalCopies)}}function lc(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.hij(" ",f.value," ")}}function wd(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,lc,2,1,"span",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf","Availability"===f.name)}}function ca(v,rt){if(1&v&&(n.TgZ(0,"div",123),n._uU(1," Availability: "),n.YNc(2,wd,2,1,"span",96),n.qZA()),2&v){const f=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",f.fullRecord.details.fields)}}function Zs(v,rt){if(1&v&&(n.TgZ(0,"div",123),n._uU(1),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.hij(" Availability: ",f.userData.isGuest?"Login Required":null==f.hooplaItem?null:f.hooplaItem.availability," ")}}function Sr(v,rt){if(1&v&&(n.TgZ(0,"div",133)(1,"a",97),n._uU(2),n.qZA()()),2&v){const f=n.oxw(3);n.xp6(2),n.hij("",null==f.hooplaItem?null:f.hooplaItem.holdsInQueue," Hold(s) in Queue")}}function Td(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Sr,3,1,"div",132),n.BQk()),2&v){const f=n.oxw(2);n.xp6(),n.Q6J("ngIf",!(null!=f.userData&&f.userData.isGuest)&&f.hooplaPurchaseModel===f.HOOPLA_TYPE.FLEX)}}function Uc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",100),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.holdsInQueue())}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(4);n.xp6(),n.hij("",f.fullRecord.reserveOptions.holsInQueueCount," Hold(s) in Queue")}}function na(v,rt){if(1&v&&(n.TgZ(0,"a",97),n._uU(1),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.hij("",f.fullRecord.reserveOptions.holsInQueueCount," Hold(s) in Queue")}}function as(v,rt){if(1&v&&(n.TgZ(0,"div",133),n.YNc(1,Uc,2,1,"a",98)(2,na,2,1,"a",99),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngIf",f.userData.isStaff),n.xp6(),n.Q6J("ngIf",f.userData.isPatron)}}function Ms(v,rt){if(1&v&&n.YNc(0,as,3,2,"div",132),2&v){const f=n.oxw(2);n.Q6J("ngIf",null==f.fullRecord.reserveOptions?null:f.fullRecord.reserveOptions.showHoldsInQueue)}}function Ru(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",125),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.fulfillItem())}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(3);n.uIk("aria-label",f.fulfillmentLabel),n.xp6(),n.hij(" ",f.fulfillmentLabel," ")}}function Zc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"img",107),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.fulfillItem())}),n.qZA()}}function Hs(v,rt){if(1&v&&(n.TgZ(0,"div",15)(1,"div",134),n.YNc(2,Ru,2,2,"button",124)(3,Zc,1,0,"ng-template",null,105,n.W1O),n.qZA()()),2&v){const f=n.MAs(4),Oe=n.oxw(2);n.xp6(2),n.Q6J("ngIf",!Oe.kids)("ngIfElse",f)}}function Vh(v,rt){if(1&v&&n._UZ(0,"ag-online-content",108),2&v){const f=n.oxw(2);n.Q6J("fullRecord",f.fullRecord)}}function Hc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",112),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.checkoutBX())}),n._uU(1," Checkout Now "),n.qZA()}}function Gc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",113),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.addHoldBX())}),n._uU(1," Place Hold "),n.qZA()}}function Jc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",114),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(3);return n.KtG(ot.removeHoldBX())}),n._uU(1," Remove Hold "),n.qZA()}}function Md(v,rt){if(1&v&&(n.TgZ(0,"div"),n.YNc(1,Hc,2,0,"button",109)(2,Gc,2,0,"button",110)(3,Jc,2,0,"button",111),n.qZA()),2&v){const f=n.oxw(2);n.xp6(),n.Q6J("ngIf",f.canCheckOutBX),n.xp6(),n.Q6J("ngIf",f.canHoldBX),n.xp6(),n.Q6J("ngIf",f.canRemoveHoldBX)}}function Lu(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-overdrive-fullrecord",115),n.NdJ("refreshItem",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.refreshItem())})("placeHold",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.placeOverDriveHold())})("selectedProduct",function(ot){n.CHM(f);const qn=n.oxw(2);return n.KtG(qn.changeOverdriveJacketArt(ot))}),n.qZA()}if(2&v){const f=n.oxw(2);n.Q6J("item",f.overDriveItem)("format",f.fullRecord.format)("isGuest",f.userData.isGuest)}}function kd(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-hoopla-fullrecord",116),n.NdJ("refreshItem",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.refreshItem())}),n.qZA()}if(2&v){const f=n.oxw(2);n.Q6J("item",f.hooplaItem)("format",f.fullRecord.format)("purchaseModel",f.hooplaPurchaseModel)("isGuest",f.userData.isGuest)}}function zh(v,rt){1&v&&n.GkF(0)}function wl(v,rt){1&v&&n.GkF(0)}function Tl(v,rt){1&v&&n.GkF(0)}function Qh(v,rt){1&v&&n.GkF(0)}function Sd(v,rt){1&v&&n.GkF(0)}function jh(v,rt){1&v&&n.GkF(0)}function Yh(v,rt){1&v&&n.GkF(0)}function qh(v,rt){1&v&&n.GkF(0)}function Cm(v,rt){1&v&&n.GkF(0)}function Nu(v,rt){if(1&v&&(n.TgZ(0,"div"),n.YNc(1,zh,1,0,"ng-container",135)(2,wl,1,0,"ng-container",135)(3,Tl,1,0,"ng-container",135)(4,Qh,1,0,"ng-container",135)(5,Sd,1,0,"ng-container",135)(6,jh,1,0,"ng-container",135)(7,Yh,1,0,"ng-container",135)(8,qh,1,0,"ng-container",135)(9,Cm,1,0,"ng-container",135),n.qZA()),2&v){n.oxw();const f=n.MAs(90),Oe=n.MAs(92),ot=n.MAs(98),qn=n.MAs(94),Ro=n.MAs(100),mr=n.MAs(96),Ar=n.MAs(102),rr=n.MAs(104),Wr=n.MAs(106);n.xp6(),n.Q6J("ngTemplateOutlet",f),n.xp6(),n.Q6J("ngTemplateOutlet",Oe),n.xp6(),n.Q6J("ngTemplateOutlet",ot),n.xp6(),n.Q6J("ngTemplateOutlet",qn),n.xp6(),n.Q6J("ngTemplateOutlet",Ro),n.xp6(),n.Q6J("ngTemplateOutlet",mr),n.xp6(),n.Q6J("ngTemplateOutlet",Ar),n.xp6(),n.Q6J("ngTemplateOutlet",rr),n.xp6(),n.Q6J("ngTemplateOutlet",Wr)}}function Ed(v,rt){1&v&&n.GkF(0)}function Ta(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ed,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(90);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Rr(v,rt){1&v&&n.GkF(0)}function Gs(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Rr,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(98);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function cc(v,rt){1&v&&n.GkF(0)}function tl(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,cc,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(92);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Kh(v,rt){1&v&&n.GkF(0)}function Od(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Kh,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(100);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function dc(v,rt){1&v&&n.GkF(0)}function $h(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,dc,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(94);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Oa(v,rt){1&v&&n.GkF(0)}function uc(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Oa,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(102);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Ml(v,rt){1&v&&n.GkF(0)}function Vc(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ml,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(104);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Dd(v,rt){1&v&&n.GkF(0)}function hc(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Dd,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(106);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function zc(v,rt){1&v&&n.GkF(0)}function nl(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,zc,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(96);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function ks(v,rt){}function il(v,rt){1&v&&n.YNc(0,ks,0,0,"ng-template")}function kl(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ta,2,1,"ng-container",80)(2,Gs,2,1,"ng-container",80)(3,tl,2,1,"ng-container",80)(4,Od,2,1,"ng-container",80)(5,$h,2,1,"ng-container",80)(6,uc,2,1,"ng-container",80)(7,Vc,2,1,"ng-container",80)(8,hc,2,1,"ng-container",80)(9,nl,2,1,"ng-container",80)(10,il,1,0,null,81),n.BQk()),2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Details),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.More_About_This_Title),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Where_To_Find),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.GoodreadsReviews),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.MARC_Display),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Syndetics_Unbound),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Novelist),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.CLCD),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Shelf_Browse)}}function Qc(v,rt){if(1&v&&(n.TgZ(0,"div",79),n.YNc(1,kl,11,9,"ng-container",2),n.qZA()),2&v){const f=rt.$implicit;n.Q6J("ngSwitch",f.value),n.xp6(),n.Q6J("ngIf",f.isDefault)}}function pc(v,rt){1&v&&n.GkF(0)}function ss(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,pc,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(90);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Ss(v,rt){1&v&&n.GkF(0)}function Wh(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ss,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(98);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Fu(v,rt){1&v&&n.GkF(0)}function Bu(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Fu,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(92);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Sl(v,rt){1&v&&n.GkF(0)}function El(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Sl,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(100);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function da(v,rt){1&v&&n.GkF(0)}function Xh(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,da,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(94);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Ad(v,rt){1&v&&n.GkF(0)}function Pd(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ad,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(102);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function ep(v,rt){1&v&&n.GkF(0)}function Uu(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,ep,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(104);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Id(v,rt){1&v&&n.GkF(0)}function Ol(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Id,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(106);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Js(v,rt){1&v&&n.GkF(0)}function ol(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Js,1,0,"ng-container",135),n.BQk()),2&v){n.oxw(3);const f=n.MAs(96);n.xp6(),n.Q6J("ngTemplateOutlet",f)}}function Rd(v,rt){}function Ld(v,rt){1&v&&n.YNc(0,Rd,0,0,"ng-template")}function Vs(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,ss,2,1,"ng-container",80)(2,Wh,2,1,"ng-container",80)(3,Bu,2,1,"ng-container",80)(4,El,2,1,"ng-container",80)(5,Xh,2,1,"ng-container",80)(6,Pd,2,1,"ng-container",80)(7,Uu,2,1,"ng-container",80)(8,Ol,2,1,"ng-container",80)(9,ol,2,1,"ng-container",80)(10,Ld,1,0,null,81),n.BQk()),2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Details),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.More_About_This_Title),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Where_To_Find),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.GoodreadsReviews),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.MARC_Display),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Syndetics_Unbound),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Novelist),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.CLCD),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Shelf_Browse)}}function wm(v,rt){if(1&v&&(n.TgZ(0,"div",79),n.YNc(1,Vs,11,9,"ng-container",2),n.qZA()),2&v){const f=rt.$implicit;n.Q6J("ngSwitch",f.value),n.xp6(),n.Q6J("ngIf",!f.isDefault)}}function jc(v,rt){if(1&v&&(n.TgZ(0,"h2",140),n._uU(1),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.Oqu(f.detailsTabLabel)}}function Tm(v,rt){if(1&v&&(n.ynx(0),n._uU(1),n.BQk()),2&v){const f=n.oxw(2).$implicit;n.xp6(),n.hij("",f.value," ")}}function Mm(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Tm,2,1,"ng-container",2),n.TgZ(2,"a",143),n._uU(3),n.ALo(4,"truncateUrl"),n.TgZ(5,"mat-icon",144),n._uU(6,"launch"),n.qZA()(),n.BQk()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Q6J("ngIf",f.value),n.xp6(),n.Q6J("href",f.hyperLink,n.LSH)("matTooltip",null!=f.hyperLinkText&&f.hyperLinkText.length?f.hyperLinkText:f.hyperLink),n.xp6(),n.hij(" ",null!=f.hyperLinkText&&f.hyperLinkText.length?f.hyperLinkText:n.lcZ(4,4,f.hyperLink)," ")}}function Zu(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"a",145),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw().$implicit,qn=n.oxw(4);return n.KtG(qn.doSearch(ot.searchQuery))}),n.ALo(2,"encapsulateSpan"),n.qZA(),n.BQk()}if(2&v){const f=n.oxw().$implicit,Oe=n.oxw(4);n.xp6(),n.Q6J("innerHTML",Oe.userData.opacOptions.searchResultOptions.enableSearchHightlight?n.xi3(2,1,f.value,Oe.storageService.getItem("Search-TERM")):f.value,n.oJD)}}function tp(v,rt){if(1&v&&(n.ynx(0),n._UZ(1,"div",146),n.ALo(2,"encapsulateSpan"),n.BQk()),2&v){const f=n.oxw().$implicit,Oe=n.oxw(4);n.xp6(),n.Q6J("innerHTML",Oe.userData.opacOptions.searchResultOptions.enableSearchHightlight?n.xi3(2,1,f.value,Oe.storageService.getItem("Search-TERM")):f.value,n.oJD)}}function np(v,rt){if(1&v&&(n.TgZ(0,"tr")(1,"th",141),n._uU(2),n.qZA(),n.TgZ(3,"td",142),n.YNc(4,Mm,7,6,"ng-container",2)(5,Zu,3,4,"ng-container",2)(6,tp,3,4,"ng-container",2),n.qZA()()),2&v){const f=rt.$implicit;n.xp6(2),n.hij("",f.name,":"),n.xp6(2),n.Q6J("ngIf",f.hyperLink),n.xp6(),n.Q6J("ngIf",f.searchQuery),n.xp6(),n.Q6J("ngIf",!f.hyperLink&&!f.searchQuery)}}function ip(v,rt){if(1&v&&(n.TgZ(0,"div",137),n.YNc(1,jc,2,1,"h2",138),n.TgZ(2,"table",139)(3,"tbody"),n.YNc(4,np,7,4,"tr",96),n.qZA()()()),2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngIf",f.detailsTabLabel),n.xp6(3),n.Q6J("ngForOf",f.fullRecord.details.fields)}}function Dl(v,rt){if(1&v&&n.YNc(0,ip,5,2,"div",136),2&v){const f=n.oxw(2);n.Q6J("ngIf",f.fullRecord.details.fields.length)}}function op(v,rt){if(1&v&&(n.TgZ(0,"h2",140),n._uU(1),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.hij(" ",f.whereToTabLabel," ")}}function rp(v,rt){if(1&v&&(n.TgZ(0,"div",152)(1,"i",153),n._uU(2),n.qZA()()),2&v){const f=n.oxw(4);n.xp6(2),n.Oqu(null==f.fullRecord.holdings?null:f.fullRecord.holdings.holdingTableMessage)}}function ua(v,rt){if(1&v&&(n.TgZ(0,"th"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit,Oe=n.oxw(6);n.xp6(),n.hij(" ",Oe.fullRecord.fullRecordSettings.lenderColumnLabel?Oe.fullRecord.fullRecordSettings.lenderColumnLabel:f," ")}}function ap(v,rt){1&v&&(n.TgZ(0,"th")(1,"span"),n._uU(2,"\xa0"),n.qZA()())}function mc(v,rt){if(1&v&&(n.TgZ(0,"th"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.hij(" ",f," ")}}function sp(v,rt){if(1&v&&(n.ynx(0)(1,79),n.YNc(2,ua,2,1,"th",80)(3,ap,3,0,"th",80)(4,mc,2,1,"th",81),n.BQk()()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngSwitch",f),n.xp6(),n.Q6J("ngSwitchCase","ILL Lender?"),n.xp6(),n.Q6J("ngSwitchCase","colorCode")}}function Ma(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit,Oe=n.oxw(7);n.xp6(),n.hij(" ","[ILL Lender]"===f.value?Oe.fullRecord.fullRecordSettings.lenderContentsLabel:f.value," ")}}function rl(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"span",166),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw().$implicit,qn=n.oxw(7);return n.KtG(qn.sendSMS(ot.value))}),n._UZ(1,"i",167),n.qZA()}}function fc(v,rt){if(1&v&&(n.TgZ(0,"span",168),n._UZ(1,"i",169),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Udp("color",f.value)}}function _c(v,rt){if(1&v&&(n.TgZ(0,"span",173),n._uU(1),n.ALo(2,"removeEndSpaces"),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" ",n.lcZ(2,1,f.value)," ")}}function al(v,rt){if(1&v&&(n.TgZ(0,"span",173),n._uU(1),n.ALo(2,"removeEndSpaces"),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" ",n.lcZ(2,1,f.value)," ")}}function sl(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",171),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(3).$implicit,qn=n.oxw(6);return n.KtG(qn.getItemHoldings(ot))}),n.YNc(1,_c,3,3,"span",172)(2,al,3,3,"span",172),n.qZA()}if(2&v){const f=n.oxw(3).$implicit;n.xp6(),n.Q6J("ngIf",!(null!=f&&f.isMyLibrary)),n.xp6(),n.Q6J("ngIf",null==f?null:f.isMyLibrary)}}function Hu(v,rt){1&v&&(n.TgZ(0,"span",175),n._uU(1," - My Library"),n.qZA())}function Al(v,rt){if(1&v&&(n.TgZ(0,"a"),n._uU(1),n.ALo(2,"removeEndSpaces"),n.YNc(3,Hu,2,0,"span",174),n.qZA()),2&v){const f=n.oxw(2).$implicit,Oe=n.oxw().$implicit;n.xp6(),n.hij(" ",n.lcZ(2,2,f.value)," "),n.xp6(2),n.Q6J("ngIf",null==Oe?null:Oe.isMyLibrary)}}function km(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,sl,3,2,"a",170)(2,Al,4,4,"a",2),n.qZA()),2&v){const f=n.oxw(8);n.xp6(),n.Q6J("ngIf","ZZ"===f.fullRecord.targetType||"WM"===f.fullRecord.targetType),n.xp6(),n.Q6J("ngIf","ZZ"!==f.fullRecord.targetType&&"WM"!==f.fullRecord.targetType)}}function Da(v,rt){if(1&v&&(n.TgZ(0,"span")(1,"a"),n._uU(2),n.ALo(3,"removeEndSpaces"),n.qZA()()),2&v){const f=n.oxw().$implicit;n.xp6(2),n.hij(" ",n.lcZ(3,1,f.value)," ")}}function Yc(v,rt){if(1&v&&(n.ynx(0),n.TgZ(1,"td",163),n.YNc(2,Ma,2,1,"span",80)(3,rl,2,0,"span",164)(4,fc,2,2,"span",165)(5,km,3,2,"span",80)(6,Da,4,3,"span",81),n.qZA(),n.BQk()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngSwitch",f.name),n.xp6(),n.Q6J("ngSwitchCase","ILL Lender?"),n.xp6(),n.Q6J("ngSwitchCase","SmsText"),n.xp6(),n.Q6J("ngSwitchCase","colorCode"),n.xp6(),n.Q6J("ngSwitchCase","Location")}}function Ba(v,rt){if(1&v&&(n.TgZ(0,"tr",162),n.YNc(1,Yc,7,5,"ng-container",96),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngForOf",null==f?null:f.item)}}function lp(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit,Oe=n.oxw(8);n.xp6(),n.hij(" ","[ILL Lender]"===f.value?Oe.fullRecord.fullRecordSettings.lenderContentsLabel:f.value," ")}}function Nd(v,rt){if(1&v&&(n.TgZ(0,"span")(1,"a",180),n._uU(2),n.qZA()()),2&v){const f=n.oxw(3).$implicit,Oe=n.oxw(8);n.xp6(2),n.Oqu(Oe.statusCodes.get(Oe.sharedService.getValueFromJSON(f.value,"LibraryCode")))}}function Pl(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",100),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(3).$implicit,qn=n.oxw(8);return n.KtG(qn.showShelfStatus(ot.value))}),n._uU(1,"Check Shelf Status"),n.qZA()}}function Fd(v,rt){if(1&v&&(n.TgZ(0,"span",178),n.YNc(1,Nd,3,1,"span",3)(2,Pl,2,0,"ng-template",null,179,n.W1O),n.qZA()),2&v){const f=n.MAs(3),Oe=n.oxw(2).$implicit,ot=n.oxw(8);n.xp6(),n.Q6J("ngIf",ot.statusCodes.get(ot.sharedService.getValueFromJSON(Oe.value,"LibraryCode")))("ngIfElse",f)}}function Gu(v,rt){if(1&v&&(n.TgZ(0,"td"),n.YNc(1,Fd,4,2,"span",177),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Q6J("ngIf",null!==f.value)}}function Ju(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"td")(1,"span",181)(2,"a",100),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw().$implicit,qn=n.oxw(8);return n.KtG(qn.openMap(ot.value))}),n._uU(3,"Map"),n.qZA()()()}}function Vu(v,rt){1&v&&(n.TgZ(0,"span",175),n._uU(1," - My Library"),n.qZA())}const Il=v=>({"holding-details":v});function qc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",185),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(4).$implicit,qn=n.oxw(7);return n.KtG(qn.getItemHoldings(ot))}),n._uU(1),n.ALo(2,"removeEndSpaces"),n.YNc(3,Vu,2,0,"span",174),n.qZA()}if(2&v){const f=n.oxw(3),ot=f.$implicit;n.Q6J("ngClass",n.VKq(5,Il,0===f.index)),n.xp6(),n.hij(" ",n.lcZ(2,3,ot.value)," "),n.xp6(2),n.Q6J("ngIf",ot.showLibraryText)}}function gc(v,rt){1&v&&(n.TgZ(0,"span",175),n._uU(1," - My Library"),n.qZA())}function Kc(v,rt){if(1&v&&(n.TgZ(0,"a"),n._uU(1),n.ALo(2,"removeEndSpaces"),n.YNc(3,gc,2,0,"span",174),n.qZA()),2&v){const f=n.oxw(3).$implicit;n.xp6(),n.hij(" ",n.lcZ(2,2,f.value)," "),n.xp6(2),n.Q6J("ngIf",f.showLibraryText)}}function Rl(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,qc,4,7,"a",183)(2,Kc,4,4,"ng-template",null,184,n.W1O),n.BQk()),2&v){const f=n.MAs(3),Oe=n.oxw(2).index,ot=n.oxw(8);n.xp6(),n.Q6J("ngIf",0===Oe&&"AG"===ot.fullRecord.targetType)("ngIfElse",f)}}function zu(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",185),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(4).$implicit,qn=n.oxw(7);return n.KtG(qn.getItemHoldings(ot))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(3),ot=f.$implicit;n.Q6J("ngClass",n.VKq(2,Il,0===f.index)),n.xp6(),n.hij(" ",ot.value," ")}}function Ll(v,rt){if(1&v&&(n.TgZ(0,"a"),n._uU(1),n.ALo(2,"removeEndSpaces"),n.qZA()),2&v){const f=n.oxw(3),Oe=f.index,ot=f.$implicit;n.xp6(),n.hij(" ",0===Oe?ot.value:n.lcZ(2,1,ot.value)," ")}}function Qu(v,rt){if(1&v&&n.YNc(0,zu,2,4,"a",183)(1,Ll,3,3,"ng-template",null,186,n.W1O),2&v){const f=n.MAs(2),Oe=n.oxw(2).index,ot=n.oxw(8);n.Q6J("ngIf",0===Oe&&"AG"===ot.fullRecord.targetType)("ngIfElse",f)}}function bc(v,rt){if(1&v&&(n.TgZ(0,"td")(1,"span",178),n.YNc(2,Rl,4,2,"ng-container",3)(3,Qu,3,2,"ng-template",null,182,n.W1O),n.qZA()()),2&v){const f=n.MAs(4),Oe=n.oxw(2).$implicit;n.xp6(2),n.Q6J("ngIf",null==Oe?null:Oe.isMyLibrary)("ngIfElse",f)}}function vc(v,rt){if(1&v&&(n.ynx(0)(1,79),n.YNc(2,lp,2,1,"td",80)(3,Gu,2,1,"td",80)(4,Ju,4,0,"td",80)(5,bc,5,2,"td",81),n.BQk()()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngSwitch",f.name),n.xp6(),n.Q6J("ngSwitchCase","ILL Lender?"),n.xp6(),n.Q6J("ngSwitchCase","Check Shelf Status"),n.xp6(),n.Q6J("ngSwitchCase","Map")}}function ll(v,rt){if(1&v&&(n.TgZ(0,"tr"),n.YNc(1,vc,6,4,"ng-container",96),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngForOf",f.item)}}function Nl(v,rt){if(1&v&&(n.TgZ(0,"tr",176),n._uU(1),n.qZA(),n.YNc(2,ll,2,1,"tr",96)),2&v){const f=rt.$implicit;n.xp6(),n.hij(" ",f.name," "),n.xp6(),n.Q6J("ngForOf",f.data)}}function yc(v,rt){if(1&v&&(n.TgZ(0,"div",156)(1,"table",157)(2,"thead",158)(3,"tr",159),n.YNc(4,sp,5,3,"ng-container",96),n.qZA()(),n.TgZ(5,"tbody"),n.YNc(6,Ba,2,1,"tr",160)(7,Nl,3,2,"ng-template",161),n.qZA()()()),2&v){const f=n.oxw(5);n.xp6(4),n.Q6J("ngForOf",f.fullRecord.holdings.headers),n.xp6(2),n.Q6J("ngForOf",null==f.fullRecord.holdings?null:f.fullRecord.holdings.data),n.xp6(),n.Q6J("ngForOf",null==f.fullRecord.holdings?null:f.fullRecord.holdings.groups)}}const ju=v=>({"border-top-0":v});function cl(v,rt){if(1&v&&(n.TgZ(0,"div",154),n.YNc(1,yc,8,3,"div",155),n.qZA()),2&v){const f=n.oxw(4);n.Q6J("ngClass",n.VKq(2,ju,""!==f.fullRecord.holdings.holdingTableMessage)),n.xp6(),n.Q6J("ngIf",f.fullRecord.holdings)}}function Fl(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(f)}}function Yu(v,rt){1&v&&(n.TgZ(0,"span"),n._uU(1,"\xa0"),n.qZA())}function Bd(v,rt){if(1&v&&(n.TgZ(0,"th"),n.YNc(1,Fl,2,1,"span",2)(2,Yu,2,0,"span",2),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf","colorCode"!==f),n.xp6(),n.Q6J("ngIf","colorCode"===f)}}function qu(v,rt){if(1&v&&(n.TgZ(0,"tr",159),n.YNc(1,Bd,3,2,"th",96),n.qZA()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngForOf",null==f.fullRecord.holdings?null:f.fullRecord.holdings.headers)}}function cp(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"span",194),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw().$implicit,qn=n.oxw(8);return n.KtG(qn.sendSMS(ot.value))}),n._UZ(1,"i",167),n.qZA()}}function Es(v,rt){if(1&v&&(n.TgZ(0,"span",168),n._UZ(1,"i",169),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Udp("color",f.value)}}function Ku(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",197),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(2).$implicit,qn=n.oxw(8);return n.KtG(qn.goToEditItem(ot.value))}),n._uU(1," Edit Item "),n.qZA()}}function Ud(v,rt){if(1&v&&(n.TgZ(0,"span",195),n.YNc(1,Ku,2,0,"button",196),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Q6J("ngIf",null==f?null:f.value)}}function Zd(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",199),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(2).$implicit,qn=n.oxw(8);return n.KtG(qn.openIframeModule(ot.hyperLink,"Circulation > Item Status"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(2).$implicit;n.xp6(),n.hij(" ",f.value," ")}}function Os(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(2).$implicit;n.xp6(),n.hij(" ",f.value," ")}}function $c(v,rt){if(1&v&&(n.TgZ(0,"div"),n._uU(1),n.qZA()),2&v){const f=n.oxw(2).$implicit;n.xp6(),n.Oqu(f.value)}}function xc(v,rt){if(1&v&&(n.TgZ(0,"span",195),n.YNc(1,Zd,2,1,"button",198)(2,Os,2,1,"div",2)(3,$c,2,1,"div",2),n.qZA()),2&v){const f=n.oxw().$implicit,Oe=n.oxw(8);n.xp6(),n.Q6J("ngIf",Oe.checkKey(f)&&Oe.userData.isStaff),n.xp6(),n.Q6J("ngIf",!Oe.checkKey(f)&&Oe.userData.isStaff),n.xp6(),n.Q6J("ngIf",!Oe.userData.isStaff)}}function Bl(v,rt){if(1&v&&(n.TgZ(0,"span",200),n._uU(1),n.ALo(2,"slice"),n.qZA()),2&v){const f=n.oxw().$implicit;n.s9C("title",f.value),n.xp6(),n.Oqu(f.value.length>24?n.Dn7(2,2,f.value,0,24)+"...":f.value)}}function Ul(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(f.value)}}function Hd(v,rt){if(1&v&&(n.TgZ(0,"td"),n.YNc(1,cp,2,0,"span",190)(2,Es,2,2,"span",191)(3,Ud,2,1,"span",192)(4,xc,4,3,"span",192)(5,Bl,3,6,"span",193)(6,Ul,2,1,"span",2),n.qZA()),2&v){const f=rt.$implicit,Oe=n.oxw(8);n.xp6(),n.Q6J("ngIf","SmsText"===(null==f?null:f.name)),n.xp6(),n.Q6J("ngIf","colorCode"===(null==f?null:f.name)),n.xp6(),n.Q6J("ngIf","Edit Item"===(null==f?null:f.name)&&Oe.userData.isStaff),n.xp6(),n.Q6J("ngIf","Status"===(null==f?null:f.name)),n.xp6(),n.Q6J("ngIf","Call Number"===(null==f?null:f.name)),n.xp6(),n.Q6J("ngIf","Call Number"!==(null==f?null:f.name)&&"SmsText"!==(null==f?null:f.name)&&"colorCode"!==(null==f?null:f.name)&&"Edit Item"!==(null==f?null:f.name)&&"Status"!==(null==f?null:f.name))}}function $u(v,rt){if(1&v&&(n.TgZ(0,"tr"),n.YNc(1,Hd,7,6,"td",96),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngForOf",null==f?null:f.item)}}function Wc(v,rt){if(1&v&&(n.TgZ(0,"span")(1,"a",180),n._uU(2),n.qZA()()),2&v){const f=n.oxw(2).$implicit,Oe=n.oxw(9);n.xp6(2),n.Oqu(Oe.statusCodes.get(Oe.sharedService.getValueFromJSON(f.value,"LibraryCode")))}}function Cc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"a",100),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(2).$implicit,qn=n.oxw(9);return n.KtG(qn.showShelfStatus(ot.value))}),n._uU(1,"Check Shelf Status"),n.qZA()}}function dp(v,rt){if(1&v&&(n.TgZ(0,"span",204),n.YNc(1,Wc,3,1,"span",3)(2,Cc,2,0,"ng-template",null,179,n.W1O),n.qZA()),2&v){const f=n.MAs(3),Oe=n.oxw().$implicit,ot=n.oxw(9);n.xp6(),n.Q6J("ngIf",ot.statusCodes.get(ot.sharedService.getValueFromJSON(Oe.value,"LibraryCode")))("ngIfElse",f)}}function Gd(v,rt){if(1&v&&(n.TgZ(0,"span",205),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(),n.Oqu(f.value)}}function up(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"span",206)(1,"a",100),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw().$implicit,qn=n.oxw(9);return n.KtG(qn.openMap(ot.value))}),n._uU(2,"Map"),n.qZA()()}}function Jd(v,rt){if(1&v&&(n.TgZ(0,"td"),n.YNc(1,dp,4,2,"span",201)(2,Gd,2,1,"span",202)(3,up,3,0,"span",203),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngIf","Check Shelf Status"===f.name&&f.value),n.xp6(),n.Q6J("ngIf","Map"!==f.name&&"Check Shelf Status"!==f.name),n.xp6(),n.Q6J("ngIf","Map"===f.name)}}function Wu(v,rt){if(1&v&&(n.TgZ(0,"tr"),n.YNc(1,Jd,4,3,"td",96),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngForOf",f.item)}}function Xu(v,rt){if(1&v&&(n.TgZ(0,"tr",176),n._uU(1),n.qZA(),n.YNc(2,Wu,2,1,"tr",96)),2&v){const f=rt.$implicit;n.xp6(),n.hij(" ",f.name," "),n.xp6(),n.Q6J("ngForOf",f.data)}}function Ds(v,rt){if(1&v&&(n.TgZ(0,"tbody"),n.YNc(1,$u,2,1,"tr",96)(2,Xu,3,2,"ng-template",189),n.qZA()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngForOf",null==f.fullRecord.holdings?null:f.fullRecord.holdings.data),n.xp6(),n.Q6J("ngForOf",null==f.fullRecord.holdings?null:f.fullRecord.holdings.groups)}}function hp(v,rt){if(1&v&&(n.TgZ(0,"div",156)(1,"table",157)(2,"thead"),n.YNc(3,qu,2,1,"tr",188),n.qZA(),n.YNc(4,Ds,3,2,"tbody",2),n.qZA()()),2&v){const f=n.oxw(5);n.xp6(3),n.Q6J("ngIf",(null==f.fullRecord.holdings?null:f.fullRecord.holdings.headers)&&(null==f.fullRecord.holdings?null:f.fullRecord.holdings.headers[0])),n.xp6(),n.Q6J("ngIf",(null==f.fullRecord.holdings?null:f.fullRecord.holdings.data)&&(null==f.fullRecord.holdings?null:f.fullRecord.holdings.data.length)>0)}}function Vd(v,rt){if(1&v&&(n.TgZ(0,"div",187),n.YNc(1,hp,5,2,"div",155),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.Q6J("ngIf",(null==f.fullRecord.holdings?null:f.fullRecord.holdings.data.length)>0)}}function Xc(v,rt){if(1&v&&(n.TgZ(0,"div",148),n.YNc(1,op,2,1,"h2",138)(2,rp,3,1,"div",149)(3,cl,2,4,"div",150)(4,Vd,2,1,"div",151),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngIf",f.fullRecord.holdings),n.xp6(),n.Q6J("ngIf",""!==(null==f.fullRecord.holdings?null:f.fullRecord.holdings.holdingTableMessage)),n.xp6(),n.Q6J("ngIf",("AG"===f.fullRecord.targetType||"ZZ"===f.fullRecord.targetType||"WM"===f.fullRecord.targetType)&&f.fullRecord.holdings),n.xp6(),n.Q6J("ngIf","AV"===f.fullRecord.targetType&&f.fullRecord.holdings)}}function zd(v,rt){if(1&v&&n.YNc(0,Xc,5,4,"div",147),2&v){const f=n.oxw(2);n.Q6J("ngIf","AG"===f.fullRecord.targetType||"AV"===f.fullRecord.targetType||"ZZ"===f.fullRecord.targetType||"WM"===f.fullRecord.targetType)}}function Qd(v,rt){if(1&v&&(n.TgZ(0,"h2",140),n._uU(1),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.hij(" ",f.marcTabLabel," ")}}function ed(v,rt){if(1&v&&(n.TgZ(0,"label",212)(1,"strong",213),n._uU(2,"Control Number : "),n.qZA(),n._uU(3),n.qZA()),2&v){const f=n.oxw(4);n.xp6(3),n.hij(" ",f.fullRecord.agControlId," ")}}function ja(v,rt){if(1&v&&(n.TgZ(0,"label",214)(1,"strong",215),n._uU(2,"Last Modified : "),n.qZA(),n._uU(3),n.qZA()),2&v){const f=n.oxw(4);n.xp6(3),n.hij(" ",f.fullRecord.lastModified.length>0?f.fullRecord.lastModified[0]:""," ")}}function dl(v,rt){if(1&v&&(n.TgZ(0,"label",216)(1,"strong",217),n._uU(2,"Leader : "),n.qZA(),n._uU(3),n.qZA()),2&v){const f=n.oxw(4);n.xp6(3),n.hij(" ",f.fullRecord.marc.record.leader," ")}}function td(v,rt){if(1&v&&(n.TgZ(0,"label",218)(1,"strong",219),n._uU(2,"Quality : "),n.qZA(),n._uU(3),n.qZA()),2&v){const f=n.oxw(4);n.xp6(3),n.hij(" ",f.fullRecord.quality," ")}}function pp(v,rt){if(1&v&&(n.TgZ(0,"td"),n._uU(1),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Oqu(f)}}function mp(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"removeWhiteSpaces"),n.qZA()),2&v){const f=rt.$implicit,Oe=n.oxw(2).$implicit,ot=n.oxw().$implicit;n.xp6(),n.hij(" ",n.lcZ(2,1,ot[Oe].ind1[f])," ")}}function eh(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.ALo(2,"removeWhiteSpaces"),n.qZA()),2&v){const f=rt.$implicit,Oe=n.oxw(2).$implicit,ot=n.oxw().$implicit;n.xp6(),n.hij(" ",n.lcZ(2,1,ot[Oe].ind2[f])," ")}}function Zl(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,mp,3,3,"span",96),n.ALo(2,"keys"),n.YNc(3,eh,3,3,"span",96),n.ALo(4,"keys"),n.qZA()),2&v){const f=n.oxw().$implicit,Oe=n.oxw().$implicit;n.xp6(),n.Q6J("ngForOf",n.lcZ(2,2,Oe[f].ind1)),n.xp6(2),n.Q6J("ngForOf",n.lcZ(4,4,Oe[f].ind2))}}function fp(v,rt){if(1&v&&(n.TgZ(0,"td",222),n.YNc(1,Zl,5,6,"span",2),n.qZA()),2&v){const f=rt.$implicit,Oe=n.oxw().$implicit;n.xp6(),n.Q6J("ngIf",Oe[f].ind1&&Oe[f].ind2)}}function _p(v,rt){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const f=n.oxw().$implicit,Oe=n.oxw().$implicit;n.xp6(),n.hij(" ",Oe[f]," ")}}const th=v=>({"main-link":v});function jd(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"span")(1,"b"),n._UZ(2,"span",146),n.qZA(),n.TgZ(3,"span",223),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw().$implicit,qn=n.oxw().$implicit,Ro=n.oxw(7);return n.KtG(Ro.openLink(qn[ot]))}),n.ALo(4,"highlightsSearchTerm"),n._uU(5),n.qZA()()}if(2&v){const f=n.oxw().$implicit,Oe=n.oxw().$implicit,ot=n.oxw(7);n.xp6(2),n.Q6J("innerHTML",f+";\xa0",n.oJD),n.xp6(),n.Q6J("innerHTML",n.xi3(4,4,Oe[f],ot.storageService.getItem("Search-TERM")),n.oJD)("ngClass",n.VKq(7,th,Oe[f].includes("http"))),n.xp6(2),n.Oqu(Oe[f])}}function Yd(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"span")(1,"b"),n._uU(2),n.qZA(),n.TgZ(3,"span",185),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw().$implicit,qn=n.oxw().$implicit,Ro=n.oxw(7);return n.KtG(Ro.openLink(qn[ot]))}),n._uU(4),n.qZA()()}if(2&v){const f=n.oxw().$implicit,Oe=n.oxw().$implicit;n.xp6(2),n.hij(" ",f," "),n.xp6(),n.Q6J("ngClass",n.VKq(3,th,Oe[f].includes("http"))),n.xp6(),n.hij(" ",Oe[f]," ")}}function nd(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,jd,6,9,"span",2)(2,Yd,5,5,"span",2),n.qZA()),2&v){const f=n.oxw(8);n.xp6(),n.Q6J("ngIf",null==f.userData?null:f.userData.opacOptions.searchResultOptions.enableSearchHightlight),n.xp6(),n.Q6J("ngIf",!(null!=f.userData&&f.userData.opacOptions.searchResultOptions.enableSearchHightlight))}}function nh(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,nd,3,2,"span",96),n.ALo(2,"keys"),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngForOf",n.lcZ(2,1,f))}}function gp(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,nh,3,3,"span",96),n.qZA()),2&v){const f=n.oxw().$implicit,Oe=n.oxw().$implicit;n.xp6(),n.Q6J("ngForOf",Oe[f].subfields)}}function bp(v,rt){if(1&v&&(n.TgZ(0,"td"),n.YNc(1,_p,2,1,"span",2)(2,gp,2,1,"span",2),n.qZA()),2&v){const f=rt.$implicit,Oe=n.oxw().$implicit;n.xp6(),n.Q6J("ngIf",!Oe[f].subfields),n.xp6(),n.Q6J("ngIf",Oe[f].subfields)}}function qd(v,rt){if(1&v&&(n.TgZ(0,"tr"),n.YNc(1,pp,2,1,"td",96),n.ALo(2,"keys"),n.YNc(3,fp,2,1,"td",220),n.ALo(4,"keys"),n.YNc(5,bp,3,2,"td",96),n.ALo(6,"keys"),n.TgZ(7,"td"),n._UZ(8,"b",221),n.qZA()()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("ngForOf",n.lcZ(2,3,f)),n.xp6(2),n.Q6J("ngForOf",n.lcZ(4,5,f)),n.xp6(2),n.Q6J("ngForOf",n.lcZ(6,7,f))}}function vp(v,rt){if(1&v&&(n.ynx(0),n.TgZ(1,"div",207)(2,"div",15),n.YNc(3,Qd,2,1,"h2",138),n.TgZ(4,"div",187)(5,"div",156),n.YNc(6,ed,4,1,"label",208),n._UZ(7,"br"),n.YNc(8,ja,4,1,"label",209),n._UZ(9,"br"),n.YNc(10,dl,4,1,"label",210),n._UZ(11,"br"),n.YNc(12,td,4,1,"label",211),n.TgZ(13,"table",157)(14,"tbody"),n.YNc(15,qd,9,9,"tr",96),n.qZA()()()()()(),n.BQk()),2&v){const f=n.oxw(3);n.xp6(3),n.Q6J("ngIf",f.marcTabLabel),n.xp6(3),n.Q6J("ngIf",f.fullRecord.agControlId&&("AG"===f.fullRecord.targetType||"AV"===f.fullRecord.targetType)),n.xp6(2),n.Q6J("ngIf",f.fullRecord.lastModified&&("AG"===f.fullRecord.targetType||"AV"===f.fullRecord.targetType)),n.xp6(2),n.Q6J("ngIf",f.fullRecord.marc.record.leader),n.xp6(2),n.Q6J("ngIf",f.fullRecord.quality.toString()&&("AG"===f.fullRecord.targetType||"AV"===f.fullRecord.targetType)),n.xp6(3),n.Q6J("ngForOf",f.fullRecord.marc.record.fields)}}function ih(v,rt){if(1&v&&n.YNc(0,vp,16,6,"ng-container",2),2&v){const f=n.oxw(2);n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayMARC&&f.fullRecord.marc&&!f.kids)}}function yp(v,rt){if(1&v&&(n.TgZ(0,"h2",140),n._uU(1),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.Oqu(f.shelfTabLabel)}}function xp(v,rt){if(1&v&&(n.TgZ(0,"option",232),n._uU(1),n.qZA()),2&v){const f=rt.$implicit;n.Q6J("value",f.locationId),n.xp6(),n.hij(" ",f.locationName," ")}}function Kd(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"div",226),n.YNc(1,yp,2,1,"h2",138),n.TgZ(2,"p"),n._uU(3," \u201cShelf browsing is most useful if you are browsing a single location and not the whole library system.\u201d "),n.qZA(),n.TgZ(4,"div",227)(5,"span",228)(6,"select",229,230),n.NdJ("ngModelChange",function(){n.CHM(f);const ot=n.MAs(7),qn=n.oxw(3);return n.KtG(qn.getShelfNewLoc(ot.value))}),n.YNc(8,xp,2,2,"option",231),n.qZA()()(),n._UZ(9,"br")(10,"br"),n.qZA()}if(2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngIf",f.shelfTabLabel),n.xp6(5),n.Q6J("ngModel",f.shelfLibraryValue),n.xp6(2),n.Q6J("ngForOf",f.shelfBrowseLocations)}}function oh(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",239),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(2).$implicit,qn=n.oxw(3);return n.KtG(qn.actionOnShelfBrowseEvent({action:"placehold",item:ot}))}),n._UZ(1,"mat-icon",240),n.qZA()}}function rh(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"div",140),n.YNc(1,oh,2,0,"button",234),n.TgZ(2,"button",235),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw().$implicit,qn=n.oxw(3);return n.KtG(qn.actionOnShelfBrowseEvent({action:"addToList",item:ot}))}),n._UZ(3,"i",236),n.qZA(),n.TgZ(4,"button",237),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw().$implicit,qn=n.oxw(3);return n.KtG(qn.actionOnShelfBrowseEvent({action:"details",item:ot}))}),n._UZ(5,"i",238),n.qZA()()}if(2&v){const f=n.oxw(4);n.xp6(),n.Q6J("ngIf",("AG"===f.fullRecord.targetType||"AV"===f.fullRecord.targetType||"ZZ"===f.fullRecord.targetType)&&(!!f.userData.isStaff||f.allowPatronGuestReserve))}}function Ya(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-carousel-item",233),n.NdJ("selectedCarouselItem",function(ot){n.CHM(f);const qn=n.oxw(3);return n.KtG(qn.selectedCarouselItem(ot))}),n.YNc(1,rh,6,1,"div",138),n.qZA()}if(2&v){const f=rt.$implicit,Oe=n.oxw(3);n.Q6J("carouselItem",f),n.xp6(),n.Q6J("ngIf",Oe.userData&&Oe.systemCategory===Oe.SYSTEMCATEGORY.VERSO)}}function id(v,rt){if(1&v&&(n.YNc(0,Kd,11,3,"div",224),n.TgZ(1,"ag-carousel",225),n.SjG(2,Ya,2,2,"ag-carousel-item",241,n.x6l),n.qZA()),2&v){const f=n.oxw(2);n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayShelfBrowse&&f.fullRecord.shelfBrowseLocations),n.xp6(),n.Q6J("slideCount",8),n.xp6(),n.wJu(f.shelfBrowseItems)}}function zs(v,rt){if(1&v&&(n.TgZ(0,"h2",140),n._uU(1),n.qZA()),2&v){const f=n.oxw(5);n.xp6(),n.Oqu(f.moreAboutTabLabel)}}function Hl(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"div"),n.YNc(1,zs,2,1,"h2",138),n._UZ(2,"div",247)(3,"div",248),n.TgZ(4,"div",249)(5,"a",250),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.toggleShowMoreInfo("more"))}),n._uU(6,"show More"),n.qZA()(),n.TgZ(7,"div",249)(8,"a",250),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.toggleShowMoreInfo("less"))}),n._uU(9,"show Fewer"),n.qZA()(),n.TgZ(10,"div",251),n._UZ(11,"div",252)(12,"div",253)(13,"div",254)(14,"div",255)(15,"div",256)(16,"div",257)(17,"div",258)(18,"div",259)(19,"div",260)(20,"div",261)(21,"div",262)(22,"div",263)(23,"div",264)(24,"div",265)(25,"div",266)(26,"div",267)(27,"div",268)(28,"div",269)(29,"div",270)(30,"div",271)(31,"div",272)(32,"div",273)(33,"div",274)(34,"div",275)(35,"div",276),n.qZA(),n.TgZ(36,"div",249)(37,"a",250),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.toggleShowMoreInfo("less"))}),n._uU(38,"show Fewer"),n.qZA()()()}if(2&v){const f=n.oxw(4);n.xp6(),n.Q6J("ngIf",f.moreAboutTabLabel),n.xp6(3),n.Q6J("hidden",f.showMoreSY),n.xp6(3),n.Q6J("hidden",!f.showFewerSY),n.xp6(3),n.Q6J("hidden",!f.showFewerSY),n.xp6(26),n.Q6J("hidden",!f.showFewerSY)}}function ah(v,rt){if(1&v&&(n.TgZ(0,"h2",140),n._uU(1),n.qZA()),2&v){const f=n.oxw(5);n.xp6(),n.Oqu(f.moreAboutTabLabel)}}function wc(v,rt){if(1&v&&(n.TgZ(0,"div"),n._UZ(1,"p",146),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("innerHTML",f,n.oJD)}}function Cp(v,rt){if(1&v&&(n.TgZ(0,"div",279)(1,"h5"),n._uU(2),n.qZA(),n.YNc(3,wc,2,1,"div",96),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(2),n.Oqu(null==f?null:f.name),n.xp6(),n.Q6J("ngForOf",null==f?null:f.value)}}function wp(v,rt){if(1&v&&(n.TgZ(0,"div"),n._UZ(1,"p",146),n.qZA()),2&v){const f=rt.$implicit;n.xp6(),n.Q6J("innerHTML",f,n.oJD)}}function Tc(v,rt){if(1&v&&(n.TgZ(0,"div",280)(1,"h5"),n._uU(2),n.qZA(),n.YNc(3,wp,2,1,"div",96),n.qZA()),2&v){const f=n.oxw().$implicit;n.xp6(2),n.Oqu(null==f?null:f.name),n.xp6(),n.Q6J("ngForOf",null==f?null:f.value)}}function sh(v,rt){if(1&v&&(n.TgZ(0,"div"),n.YNc(1,Cp,4,2,"div",277)(2,Tc,4,2,"div",278),n.qZA()),2&v){const f=rt.index,Oe=n.oxw(5);n.xp6(),n.Q6J("ngIf",f<=1),n.xp6(),n.Q6J("ngIf",f>1&&Oe.showMoreCF)}}function As(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"div",279)(1,"a",250),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(5);return n.KtG(ot.toggleShowCF("more"))}),n._uU(2,"show More"),n.qZA()()}}function od(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"div",280)(1,"a",250),n.NdJ("agInteract",function(){n.CHM(f);const ot=n.oxw(5);return n.KtG(ot.toggleShowCF("less"))}),n._uU(2,"show Fewer"),n.qZA()()}}function rd(v,rt){if(1&v&&(n.TgZ(0,"div"),n.YNc(1,ah,2,1,"h2",138)(2,sh,3,2,"div",96)(3,As,3,0,"div",277)(4,od,3,0,"div",278),n.qZA()),2&v){const f=n.oxw(4);n.xp6(),n.Q6J("ngIf",f.moreAboutTabLabel),n.xp6(),n.Q6J("ngForOf",f.contentCafeData),n.xp6(),n.Q6J("ngIf",f.contentCafeData.length>2&&!f.showMoreCF),n.xp6(),n.Q6J("ngIf",f.contentCafeData.length>2&&f.showFewerCF)}}function $d(v,rt){if(1&v&&(n.TgZ(0,"div",243)(1,"div",244)(2,"div",245)(3,"div",246),n.YNc(4,Hl,39,5,"div",2)(5,rd,5,4,"div",2),n.qZA()()()()),2&v){const f=n.oxw(3);n.xp6(4),n.Q6J("ngIf",f.fullRecord.moreAboutThisTitleOptions.showSyndetics),n.xp6(),n.Q6J("ngIf",f.contentCafeData)}}function ad(v,rt){if(1&v&&n.YNc(0,$d,6,2,"div",242),2&v){const f=n.oxw(2);n.Q6J("ngIf",f.showMoreAboutThisTitle)}}function Tp(v,rt){if(1&v&&(n._UZ(0,"div",286),n.ALo(1,"santizeValue")),2&v){const f=n.oxw(5);n.Q6J("innerHTML",n.lcZ(1,1,f.fullRecord.reviews.goodReadReviewData.divData),n.oJD)}}function lh(v,rt){if(1&v&&(n.TgZ(0,"div",282)(1,"h2",283),n._uU(2,"Goodreads\xae Reviews"),n.qZA(),n.TgZ(3,"div",244)(4,"div",245)(5,"div",284),n.YNc(6,Tp,2,3,"div",285),n.qZA()()()()),2&v){const f=n.oxw(4);n.xp6(6),n.Q6J("ngIf",null==f.fullRecord.reviews||null==f.fullRecord.reviews.goodReadReviewData?null:f.fullRecord.reviews.goodReadReviewData.divData)}}function Wd(v,rt){if(1&v&&(n.TgZ(0,"span"),n.YNc(1,lh,7,1,"div",281),n.qZA()),2&v){const f=n.oxw(3);n.xp6(),n.Q6J("ngIf",null==f.fullRecord.reviews?null:f.fullRecord.reviews.goodReadReviewData)}}function Mp(v,rt){if(1&v&&n.YNc(0,Wd,2,1,"span",2),2&v){const f=n.oxw(2);n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayGoodreadsReview)}}function kp(v,rt){if(1&v&&n._UZ(0,"syndetics-fullrecord",288),2&v){const f=n.oxw(3);n.Q6J("isbn",f.fullRecord.isbn)("label",f.syndeticsTabLabel)("id",f.userData.syndeticsUnboundId)}}function ch(v,rt){if(1&v&&n.YNc(0,kp,1,3,"syndetics-fullrecord",287),2&v){const f=n.oxw(2);n.Q6J("ngIf",f.showSyndeticsUnbound&&f.fullRecord.isbn)}}function Xd(v,rt){if(1&v&&n._UZ(0,"novelist-fullrecord",290),2&v){const f=n.oxw(3);n.Q6J("isbn",f.fullRecord.isbn)("label",f.novelistTabLabel)}}function dh(v,rt){if(1&v&&n.YNc(0,Xd,1,2,"novelist-fullrecord",289),2&v){const f=n.oxw(2);n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayNovelist&&f.fullRecord.isbn&&!f.kids)}}function Gl(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-clcd",292),n.NdJ("contentLoaded",function(ot){n.CHM(f);const qn=n.oxw(3);return n.KtG(qn.clcdLoaded=ot)}),n.qZA()}if(2&v){const f=n.oxw(3);n.Q6J("clcd",f.fullRecord.clcdGuid)("label",f.clcdTabLabel)("searchId",f.searchId)}}function Ua(v,rt){if(1&v&&n.YNc(0,Gl,1,3,"ag-clcd",291),2&v){const f=n.oxw(2);n.Q6J("ngIf",f.showClcd)}}function Qs(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("details"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.detailsTabLabel," ")}}function Mc(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Qs,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.detailsTabLabel)}}function eu(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("moreAbout"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.moreAboutTabLabel," ")}}function Ps(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,eu,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.showMoreAboutThisTitle)}}function w(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("whereIsIt"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.whereToTabLabel," ")}}function ge(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,w,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.holdings)}}function b(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("reviews"))}),n._uU(1," Goodreads\xae Reviews "),n.qZA()}}function R(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,b,2,0,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayGoodreadsReview&&(null==f.fullRecord.reviews?null:f.fullRecord.reviews.goodReadReviewData))}}function he(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("marc"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.marcTabLabel," ")}}function ht(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,he,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayMARC&&!f.kids&&f.marcTabLabel)}}function Dt(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("syndetics_unbound"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.syndeticsTabLabel," ")}}function Sn(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Dt,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.showSyndeticsUnbound&&!f.kids)}}function Ln(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("novel"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.novelistTabLabel," ")}}function Yn(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Ln,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayNovelist&&!f.kids)}}function ri(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("clcd"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.clcdTabLabel," ")}}function Di(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,ri,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.showClcd&&f.clcdLoaded)}}function Oi(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("shelf"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.shelfTabLabel," ")}}function Ni(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Oi,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.shelfBrowseLocations&&f.fullRecord.fullRecordSettings.displayShelfBrowse&&f.shelfTabLabel)}}function Io(v,rt){}function go(v,rt){1&v&&n.YNc(0,Io,0,0,"ng-template")}function Bo(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Mc,2,1,"ng-container",80)(2,Ps,2,1,"ng-container",80)(3,ge,2,1,"ng-container",80)(4,R,2,1,"ng-container",80)(5,ht,2,1,"ng-container",80)(6,Sn,2,1,"ng-container",80)(7,Yn,2,1,"ng-container",80)(8,Di,2,1,"ng-container",80)(9,Ni,2,1,"ng-container",80)(10,go,1,0,null,81),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Details),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.More_About_This_Title),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Where_To_Find),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.GoodreadsReviews),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.MARC_Display),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Syndetics_Unbound),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Novelist),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.CLCD),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Shelf_Browse)}}function er(v,rt){if(1&v&&(n.ynx(0,79),n.YNc(1,Bo,11,9,"ng-container",2),n.BQk()),2&v){const f=rt.$implicit;n.Q6J("ngSwitch",f.value),n.xp6(),n.Q6J("ngIf",f.isDefault)}}function Qo(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("details"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.detailsTabLabel," ")}}function Lr(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Qo,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.detailsTabLabel)}}function Uo(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("moreAbout"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.moreAboutTabLabel," ")}}function jo(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Uo,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.showMoreAboutThisTitle)}}function Xo(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("whereIsIt"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.whereToTabLabel," ")}}function wr(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Xo,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.holdings)}}function Tr(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("reviews"))}),n._uU(1," Goodreads\xae Reviews "),n.qZA()}}function ia(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Tr,2,0,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayGoodreadsReview&&(null==f.fullRecord.reviews?null:f.fullRecord.reviews.goodReadReviewData))}}function Zr(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("marc"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.marcTabLabel," ")}}function ga(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Zr,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayMARC&&!f.kids&&f.marcTabLabel)}}function Za(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("syndetics_unbound"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.syndeticsTabLabel," ")}}function ba(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Za,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.showSyndeticsUnbound&&!f.kids)}}function ls(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("novel"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.novelistTabLabel," ")}}function qa(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,ls,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.fullRecordSettings.displayNovelist&&!f.kids)}}function va(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("clcd"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.clcdTabLabel," ")}}function Ka(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,va,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.showClcd&&f.clcdLoaded)}}function kc(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(7);return n.KtG(ot.scrollToSectionById("shelf"))}),n._uU(1),n.qZA()}if(2&v){const f=n.oxw(7);n.xp6(),n.hij(" ",f.shelfTabLabel," ")}}function js(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,kc,2,1,"button",298),n.BQk()),2&v){const f=n.oxw(6);n.xp6(),n.Q6J("ngIf",f.fullRecord.shelfBrowseLocations&&f.fullRecord.fullRecordSettings.displayShelfBrowse&&f.shelfTabLabel)}}function Jl(v,rt){}function Vl(v,rt){1&v&&n.YNc(0,Jl,0,0,"ng-template")}function zl(v,rt){if(1&v&&(n.ynx(0),n.YNc(1,Lr,2,1,"ng-container",80)(2,jo,2,1,"ng-container",80)(3,wr,2,1,"ng-container",80)(4,ia,2,1,"ng-container",80)(5,ga,2,1,"ng-container",80)(6,ba,2,1,"ng-container",80)(7,qa,2,1,"ng-container",80)(8,Ka,2,1,"ng-container",80)(9,js,2,1,"ng-container",80)(10,Vl,1,0,null,81),n.BQk()),2&v){const f=n.oxw(5);n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Details),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.More_About_This_Title),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Where_To_Find),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.GoodreadsReviews),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.MARC_Display),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Syndetics_Unbound),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Novelist),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.CLCD),n.xp6(),n.Q6J("ngSwitchCase",f.fullRecordOptionTabs.Shelf_Browse)}}function Sc(v,rt){if(1&v&&(n.ynx(0,79),n.YNc(1,zl,11,9,"ng-container",2),n.BQk()),2&v){const f=rt.$implicit;n.Q6J("ngSwitch",f.value),n.xp6(),n.Q6J("ngIf",!f.isDefault)}}function ul(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",299),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.scrollToTop())}),n._uU(1," Back to Top "),n.qZA()}}function _s(v,rt){if(1&v&&(n.ynx(0),n.TgZ(1,"button",295)(2,"mat-icon"),n._uU(3,"expand_less"),n.qZA()(),n.TgZ(4,"mat-menu",296,297),n.YNc(6,er,2,2,"ng-container",57)(7,Sc,2,2,"ng-container",57)(8,ul,2,0,"button",298),n.qZA(),n.BQk()),2&v){const f=n.MAs(5),Oe=n.oxw(3);n.xp6(),n.Q6J("matMenuTriggerFor",f)("@fadeInOut",void 0),n.xp6(3),n.Q6J("overlapTrigger",!1),n.xp6(2),n.Q6J("ngForOf",Oe.fullRecord.fullRecordSettings.fullRecordTabs),n.xp6(),n.Q6J("ngForOf",Oe.fullRecord.fullRecordSettings.fullRecordTabs),n.xp6(),n.Q6J("ngIf",Oe.scrolled)}}function Ql(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"button",301),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(4);return n.KtG(ot.scrollToTop())}),n.TgZ(1,"mat-icon"),n._uU(2,"expand_less"),n.qZA()()}2&v&&n.Q6J("@fadeInOut",void 0)}function Ec(v,rt){if(1&v&&n.YNc(0,Ql,3,1,"button",300),2&v){const f=n.oxw(3);n.Q6J("ngIf",f.scrolled)}}const $r=()=>[18,18];function jl(v,rt){if(1&v&&(n.TgZ(0,"ag-page-sticky",293),n.YNc(1,_s,9,6,"ng-container",3),n.ALo(2,"async"),n.YNc(3,Ec,1,1,"ng-template",null,294,n.W1O),n.qZA()),2&v){const f=n.MAs(4),Oe=n.oxw(2);n.Q6J("offset",n.DdM(5,$r)),n.xp6(),n.Q6J("ngIf",n.lcZ(2,3,Oe.layoutService.screenRange$).ltMd)("ngIfElse",f)}}const tu=()=>[18,0];function Yl(v,rt){if(1&v){const f=n.EpF();n.TgZ(0,"ag-page-sticky",302)(1,"div",303)(2,"button",304),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.goToAgControlId("previous"))}),n.TgZ(3,"mat-icon"),n._uU(4,"skip_previous_icon"),n.qZA()(),n.TgZ(5,"button",305),n.NdJ("click",function(){n.CHM(f);const ot=n.oxw(2);return n.KtG(ot.goToAgControlId("next"))}),n.TgZ(6,"mat-icon"),n._uU(7,"skip_next_icon"),n.qZA()()()()}if(2&v){const f=n.oxw(2);n.Q6J("offset",n.DdM(3,tu)),n.xp6(2),n.Q6J("disabled",!f.hasPreviousAgControlId),n.xp6(3),n.Q6J("disabled",!f.hasNextAgControlId)}}const Yr=v=>({"mat-elevation-z1 ":v});function Ys(v,rt){if(1&v){const f=n.EpF();n.ynx(0),n.TgZ(1,"div",8)(2,"div",9),n.YNc(3,Or,3,0,"button",10),n.qZA(),n.YNc(4,To,4,2,"div",11)(5,Kn,4,2,"div",12),n.ALo(6,"async"),n.ALo(7,"async"),n.YNc(8,ci,7,5,"div",13),n.ALo(9,"async"),n.YNc(10,Go,2,1,"div",14),n.qZA(),n.TgZ(11,"div")(12,"div",15)(13,"div",16),n.YNc(14,po,1,2,"div",17)(15,Jo,1,2,"h1",18)(16,xo,3,3,"div",19)(17,sr,1,2,"div",20)(18,Qr,5,3,"div",21)(19,La,5,3,"div",21)(20,_l,3,1,"div",21)(21,$s,3,1,"div",21)(22,za,2,1,"div",21),n.TgZ(23,"div",22),n.YNc(24,ec,2,1,"ng-container",3)(25,pr,1,1,"ng-template",null,23,n.W1O),n.qZA(),n.TgZ(27,"div",24),n.YNc(28,Hr,2,4,"div",25),n.TgZ(29,"div",26),n.YNc(30,Bs,4,2,"div",27)(31,_a,1,1,"ag-online-content",28)(32,jr,4,3,"div",2)(33,vl,1,3,"ag-overdrive-fullrecord",29)(34,Fc,1,4,"ag-hoopla-fullrecord",30),n.TgZ(35,"ag-item-actions-dropdown",31),n.NdJ("addItem",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.goToAddItem())})("addItemToList",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.addToList())})("printItem",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.print())})("emailItem",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.email())})("multiCopy",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.multiCopyForm())}),n.qZA()()()(),n.TgZ(36,"div",32)(37,"div",33),n.YNc(38,nc,2,4,"div",34)(39,Kr,6,4,"div",35)(40,xl,5,3,"div",36),n.qZA(),n.TgZ(41,"div",37),n.YNc(42,ic,2,1,"div",38)(43,vd,2,1,"h1",39)(44,oc,2,1,"div",38)(45,ns,2,1,"div",38)(46,Bc,3,1,"div",40)(47,ac,2,1,"div",21)(48,si,2,1,"ng-container",3)(49,or,1,1,"ng-template",null,23,n.W1O),n.TgZ(51,"div",41),n.YNc(52,Do,4,2,"div",27)(53,sc,1,1,"ag-online-content",28)(54,ce,4,3,"div",2)(55,Be,1,3,"ag-overdrive-fullrecord",29)(56,ve,1,4,"ag-hoopla-fullrecord",30),n.TgZ(57,"ag-item-actions-dropdown",31),n.NdJ("addItem",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.goToAddItem())})("addItemToList",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.addToList())})("printItem",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.print())})("emailItem",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.email())})("multiCopy",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.multiCopyForm())}),n.qZA(),n.YNc(58,gt,2,1,"div",14),n.qZA()()(),n.TgZ(59,"div",42)(60,"div",43,44),n.YNc(62,Gt,1,2,"div",45)(63,fn,1,2,"h1",46)(64,Qn,3,3,"div",47)(65,Ti,2,4,"div",48)(66,io,1,2,"div",49)(67,wo,1,2,"div",50),n.TgZ(68,"div",51),n.YNc(69,Us,6,4,"div",52)(70,Cd,5,3,"div",52)(71,ca,3,1,"div",52)(72,Zs,2,1,"div",52)(73,Td,2,1,"ng-container",3)(74,Ms,1,1,"ng-template",null,23,n.W1O),n.qZA(),n.TgZ(76,"div",41,53),n.YNc(78,Hs,5,2,"div",54)(79,Vh,1,1,"ag-online-content",28)(80,Md,4,3,"div",2)(81,Lu,1,3,"ag-overdrive-fullrecord",29)(82,kd,1,4,"ag-hoopla-fullrecord",30),n.TgZ(83,"div",55)(84,"ag-item-actions-list",31),n.NdJ("addItem",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.goToAddItem())})("addItemToList",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.addToList())})("printItem",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.print())})("emailItem",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.email())})("multiCopy",function(){n.CHM(f);const ot=n.oxw();return n.KtG(ot.multiCopyForm())}),n.qZA()()()(),n.TgZ(85,"div",56),n.YNc(86,Nu,10,9,"div",2)(87,Qc,2,2,"div",57)(88,wm,2,2,"div",57)(89,Dl,1,1,"ng-template",null,58,n.W1O)(91,zd,1,1,"ng-template",null,59,n.W1O)(93,ih,1,1,"ng-template",null,60,n.W1O)(95,id,4,2,"ng-template",null,61,n.W1O)(97,ad,1,1,"ng-template",null,62,n.W1O)(99,Mp,1,1,"ng-template",null,63,n.W1O)(101,ch,1,1,"ng-template",null,64,n.W1O)(103,dh,1,1,"ng-template",null,65,n.W1O)(105,Ua,1,1,"ng-template",null,66,n.W1O),n.qZA()()(),n.YNc(107,jl,5,6,"ag-page-sticky",67)(108,Yl,8,4,"ag-page-sticky",68),n.qZA(),n.BQk()}if(2&v){const f=n.MAs(26),Oe=n.oxw();n.xp6(),n.Q6J("ngClass",n.VKq(77,Yr,Oe.scrolled)),n.xp6(2),n.Q6J("ngIf",Oe.hasGoBack),n.xp6(),n.Q6J("ngIf",Oe.scrolled),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.fullRecordSettings.fullRecordTabs.length&&n.lcZ(6,71,Oe.layoutService.screenRange$).gtSm||Oe.fullRecord.fullRecordSettings.fullRecordTabs.length&&n.lcZ(7,73,Oe.layoutService.screenRange$).ltMd&&!Oe.scrolled),n.xp6(3),n.Q6J("ngIf",n.lcZ(9,75,Oe.layoutService.screenRange$).ltMd&&Oe.scrolled),n.xp6(2),n.Q6J("ngIf",Oe.userData.isPatron&&"BX"===Oe.fullRecord.targetType&&Oe.BxData),n.xp6(4),n.Q6J("ngIf",Oe.fullRecord.author),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.title),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.format),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.targetName),n.xp6(),n.Q6J("ngIf","AV"===Oe.fullRecord.targetType&&Oe.fullRecord.holdings&&!Oe.kids),n.xp6(),n.Q6J("ngIf",("ZZ"===Oe.fullRecord.targetType||"WM"===Oe.fullRecord.targetType)&&Oe.fullRecord.holdings&&!Oe.kids&&Oe.fullRecord.holdings.totalCopies>0),n.xp6(),n.Q6J("ngIf","BX"===Oe.fullRecord.targetType),n.xp6(),n.Q6J("ngIf","OD"===Oe.fullRecord.targetType&&Oe.fullRecord.details.fields.length),n.xp6(),n.Q6J("ngIf","HP"===Oe.fullRecord.targetType),n.xp6(2),n.Q6J("ngIf","HP"===Oe.fullRecord.targetType)("ngIfElse",f),n.xp6(4),n.Q6J("ngIf",Oe.fullRecord.jacketArt),n.xp6(2),n.Q6J("ngIf",Oe.showFulfillmentButton),n.xp6(),n.Q6J("ngIf",!Oe.kids),n.xp6(),n.Q6J("ngIf","BX"===Oe.fullRecord.targetType),n.xp6(),n.Q6J("ngIf","OD"===Oe.fullRecord.targetType&&Oe.overDriveItem),n.xp6(),n.Q6J("ngIf","HP"===Oe.fullRecord.targetType),n.xp6(),n.Q6J("userData",Oe.userData)("fullRecord",Oe.fullRecord)("showFormat",Oe.showFormat),n.xp6(3),n.Q6J("ngIf",Oe.fullRecord.jacketArt),n.xp6(),n.Q6J("ngIf","AV"===Oe.fullRecord.targetType&&Oe.fullRecord.holdings&&!Oe.kids),n.xp6(),n.Q6J("ngIf",("ZZ"===Oe.fullRecord.targetType||"WM"===Oe.fullRecord.targetType)&&Oe.fullRecord.holdings&&!Oe.kids&&Oe.fullRecord.holdings.totalCopies>0),n.xp6(2),n.Q6J("ngIf",Oe.fullRecord.author),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.title),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.format),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.targetName),n.xp6(),n.Q6J("ngIf","OD"===Oe.fullRecord.targetType&&Oe.fullRecord.details.fields.length>0),n.xp6(),n.Q6J("ngIf","HP"===Oe.fullRecord.targetType),n.xp6(),n.Q6J("ngIf","HP"===Oe.fullRecord.targetType)("ngIfElse",f),n.xp6(4),n.Q6J("ngIf",Oe.showFulfillmentButton),n.xp6(),n.Q6J("ngIf",!Oe.kids),n.xp6(),n.Q6J("ngIf","BX"===Oe.fullRecord.targetType),n.xp6(),n.Q6J("ngIf","OD"===Oe.fullRecord.targetType&&Oe.overDriveItem),n.xp6(),n.Q6J("ngIf","HP"===Oe.fullRecord.targetType),n.xp6(),n.Q6J("userData",Oe.userData)("fullRecord",Oe.fullRecord)("showFormat",Oe.showFormat),n.xp6(),n.Q6J("ngIf",Oe.userData.isPatron&&"BX"===Oe.fullRecord.targetType&&Oe.BxData),n.xp6(4),n.Q6J("ngIf",Oe.fullRecord.author),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.title),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.format),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.jacketArt),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.format),n.xp6(),n.Q6J("ngIf",Oe.fullRecord.format),n.xp6(2),n.Q6J("ngIf","AV"===Oe.fullRecord.targetType&&Oe.fullRecord.holdings&&!Oe.kids),n.xp6(),n.Q6J("ngIf",("ZZ"===Oe.fullRecord.targetType||"WM"===Oe.fullRecord.targetType)&&Oe.fullRecord.holdings&&!Oe.kids&&Oe.fullRecord.holdings.totalCopies>0),n.xp6(),n.Q6J("ngIf","OD"===Oe.fullRecord.targetType&&Oe.fullRecord.details.fields.length>0),n.xp6(),n.Q6J("ngIf","HP"===Oe.fullRecord.targetType),n.xp6(),n.Q6J("ngIf","HP"===Oe.fullRecord.targetType)("ngIfElse",f),n.xp6(5),n.Q6J("ngIf",Oe.showFulfillmentButton),n.xp6(),n.Q6J("ngIf",!Oe.kids),n.xp6(),n.Q6J("ngIf","BX"===Oe.fullRecord.targetType),n.xp6(),n.Q6J("ngIf","OD"===Oe.fullRecord.targetType&&Oe.overDriveItem),n.xp6(),n.Q6J("ngIf","HP"===Oe.fullRecord.targetType),n.xp6(2),n.Q6J("userData",Oe.userData)("fullRecord",Oe.fullRecord)("showFormat",Oe.showFormat),n.xp6(2),n.Q6J("ngIf",!Oe.fullRecord.fullRecordSettings.fullRecordTabs),n.xp6(),n.Q6J("ngForOf",Oe.fullRecord.fullRecordSettings.fullRecordTabs),n.xp6(),n.Q6J("ngForOf",Oe.fullRecord.fullRecordSettings.fullRecordTabs),n.xp6(19),n.Q6J("ngIf",Oe.scrolled),n.xp6(),n.Q6J("ngIf",!Oe.loading&&Oe.searchId)}}let nu=(()=>{class v{transform(f,Oe){if(f){return f.replace(/(https?:\/\/[^\s]+)/g,Oe?qn=>`<a href="${qn.replace(/<\/?span[^>]*>/g,"")}" class="active-link make-link" target="_blank">${Oe}</a>`:function(qn){const Ro=qn.replace(/<\/?span[^>]*>/g,"");return`<a href="${Ro}" class="active-link make-link" target="_blank">${Ro}</a>`})}return f}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275pipe=n.Yjl({name:"makeLink",type:v,pure:!0})}return v})(),iu=(()=>{class v{transform(f){return f&&/\S/.test(f)?f.trim():f}static#e=this.\u0275fac=function(Oe){return new(Oe||v)};static#t=this.\u0275pipe=n.Yjl({name:"removeEndSpaces",type:v,pure:!0})}return v})(),Oc=(()=>{class v{openShowStaffFunctions(f){f.stopPropagation(),this.myDrop.open()}constructor(f,Oe,ot,qn,Ro,mr,Ar,rr,Wr,cs,ql,Kl,gs,sd,ou,ru,Sm,Em,Om,Sp){this._activatedRoute=f,this._yourListService=Oe,this._dialog=ot,this._authService=qn,this._detailsService=Ro,this.illSettingsService=mr,this._holdService=Ar,this._holdingsService=rr,this._requestService=Wr,this._router=cs,this._routingService=ql,this._searchService=Kl,this.sharedService=gs,this.storageService=sd,this._eContentService=ou,this._dashboardService=ru,this.layoutService=Sm,this._analyticsService=Em,this._accountService=Om,this._fulfillmentService=Sp,this.fromPersistentRecord=!1,this.addlist=new n.vpe,this.staffRequest=new n.vpe,this.SYSTEMCATEGORY=O._n,this.HOOPLA_TYPE=e.wg,this.shelfLibraryValue="select a Location ----",this.loading=!0,this.isModify=!1,this.allowPatronGuestReserve=this._holdService.allowPatronGuestReserve(),this.showStaffFunctionDropdown=!1,this.fullRecordOptionTabs=y.aJ,this.FULFILLMENT_TYPE=u.p4,this.shelfBrowseItems=[],this._requestFormType="record",this._requestType="loan",this._highlightedText=!1,this.statusCodes=new Map,this._destroyed$=new xe.x,this._onIframeClose=ld=>{"close"==ld.data&&this._getFullRecordByAgcn(this.fullRecord.agControlId,this.fullRecord.libraryDBPoolKey)},this.fromPersistentRecord=!1,this.showMoreSY=!1,this.showMoreCF=!1,this.showFewerCF=!1}ngOnInit(){var f=this;window.addEventListener("message",this._onIframeClose),this._activatedRoute.queryParams.pipe((0,ue.R)(this._destroyed$)).subscribe(function(){var Oe=(0,t.Z)(function*(ot){const qn=ot[j.P.agControlIdSessionKey]||ot.agcn,Ro=ot.shard,mr=ot.listItemId,Ar=+ot.libraryDbPoolKey||ot.key;f.searchId=ot.searchId,f.sharedService.kidsCat$.subscribe(rr=>{f.kids=rr}),Ar&&f.storageService.setItem(j.P.libraryDbPoolSessionKey,Ar),f.searchId?(f._searchService.hasNextAgControlId(f.searchId,qn).subscribe(rr=>{f.hasNextAgControlId=rr},rr=>{f.hasNextAgControlId=!1,rr instanceof Error&&console.error(`Unable to fetch next agcontrolId for ${qn}: ${rr.stack}`)}),f._searchService.hasPreviousAgControlId(f.searchId,qn).subscribe(rr=>{f.hasPreviousAgControlId=rr},rr=>{f.hasPreviousAgControlId=!1,rr instanceof Error&&console.error(`Unable to fetch previous agcontrolId for ${qn}: ${rr.stack}`)})):f.hasNextAgControlId=f.hasPreviousAgControlId=!1,f.hasGoBack=f._routingService.hasBackRoute(),f.sharedService.getUserDataBS().pipe((0,ue.R)(f._destroyed$)).subscribe(rr=>{rr&&(f._getAndBindUserDataInfo(rr),mr?f._getFullRecordByListId(mr,Ar):Ro?f._getFullRecordByShard(qn,Ro):f._getFullRecordByAgcn(qn,Ar))})});return function(ot){return Oe.apply(this,arguments)}}())}ngOnDestroy(){this._destroyed$.next(),this._destroyed$.complete(),window.removeEventListener("message",this._onIframeClose)}ngAfterViewChecked(){this._highlightedText||this.applyHighlight(),this._highlightedText=!this._highlightedText}ngAfterViewInit(){this.layoutService.contentScrollOffset$.pipe((0,ue.R)(this._destroyed$)).subscribe(f=>{this.scrolled=0!==f,this.handleRecordBlockSticky(f)})}applyHighlight(){X("#details").find("tr span").addClass("highlightText")}goToAgControlId(f="next"){var Oe=this;return(0,t.Z)(function*(){let ot;Oe.loading=!0;try{if("next"==f){if(ot=yield Oe._searchService.nextAgControlId(Oe.searchId,Oe.fullRecord.agControlId).toPromise(),!ot)return void(Oe.hasNextAgControlId=!1)}else if(ot=yield Oe._searchService.previousAgControlId(Oe.searchId,Oe.fullRecord.agControlId).toPromise(),!ot)return void(Oe.hasPreviousAgControlId=!1);Oe._routingService.goToFullRecord(ot.agControlId,ot.shard,Oe.searchId,ot.isRefdb,ot.refdbFullRecUrl)}catch(qn){Oe.sharedService.openSnackBar(`Unable to fetch ${f} title.`),console.error(`Unable to get ${f} agControlId for searchId:${Oe.searchId} and agControlId:${Oe.fullRecord.agControlId}: ${qn.stack}`)}finally{Oe.loading=!1}})()}_getFullRecordByListId(f,Oe){var ot=this;return(0,t.Z)(function*(){ot.loading=!0;try{const qn=yield ot._detailsService.getFullRecordByListItemId(ot._detailsService.buildRequestPayloadFullRecordByListItemId(f,Oe,!1)).toPromise();ot._fullRecordBindings(qn)}catch(qn){ot._getFullRecordErrorHandler(qn)}finally{ot.loading=!1}})()}_getFullRecordByAgcn(f,Oe){var ot=this;return(0,t.Z)(function*(){ot.loading=!0;try{const qn=yield ot._detailsService.getFullRecordByAgcn(ot._detailsService.buildRequestPayloadFullRecordByAgcn(f,Oe,!1)).toPromise();ot._fullRecordBindings(qn)}catch(qn){ot._getFullRecordErrorHandler(qn)}finally{ot.loading=!1}})()}_getFullRecordByShard(f,Oe){var ot=this;return(0,t.Z)(function*(){ot.loading=!0;try{const qn=yield ot._detailsService.getFullRecordByShard(ot._detailsService.buildRequestPayloadFullRecordByShard(f,Oe)).toPromise();ot._fullRecordBindings(qn)}catch(qn){ot._getFullRecordErrorHandler(qn)}finally{ot.loading=!1}})()}_getFullRecordErrorHandler(f){this.sharedService.openSnackBar("Unable to load Full Record."),console.error(f)}_isShowLibrary(){if(this.fullRecord.holdings?.groups)for(let f=0;f<this.fullRecord.holdings.groups.length;f++){const Oe=this.fullRecord.holdings.groups[f];if(Oe.data)for(let ot=0;ot<Oe.data.length;ot++){const qn=Oe.data[ot];qn.isMyLibrary&&qn.item?.length&&(qn.item[0].showLibraryText=!0)}}else if(this.fullRecord.holdings?.data)for(let f=0;f<this.fullRecord.holdings.data.length;f++){const Oe=this.fullRecord.holdings.data[f];Oe.isMyLibrary&&Oe.item?.length&&(Oe.item[0].showLibraryText=!0)}}openLink(f){f.includes("http")&&window.open(f,"_blank")}openMap(f){window.open(f,"_blank","location=yes,height=780,width=780,scrollbars=yes,status=yes")}_fullRecordBindings(f){var Oe=this;return(0,t.Z)(function*(){f&&(Oe.fullRecord=f,Oe.showSyndeticsUnbound=f.fullRecordSettings?.displaySyndeticsUnbound&&f.isbn&&Oe.userData.syndeticsUnboundId,Oe._isShowLibrary(),Oe.getShowBorrowerFormat(),Oe.illSettingsService.getBorrowerPolicy().subscribe(()=>{}),Oe._setTabLabels(),Oe.fullRecord.reviews&&Oe._getReviews(),Oe.fullRecord.shelfBrowseLocations&&Oe._getShelfBrowse(),Oe._getThirdPartyFullRecordIfApplicable(),Oe.fullRecord.moreAboutThisTitleOptions&&Oe._getMoreAboutThisTitleOptions(),Oe.hooplaPurchaseModel=Oe.fullRecord.details?.fields.find(ot=>"PurchaseModel"==ot.name)?.value,Oe.showClcd=f.fullRecordSettings?.displayCLCD&&f.clcdGuid,Oe._getFulfillmentInfo())})()}_getFulfillmentInfo(){this.fulfillmentType=this._fulfillmentService.getFulfillmentType(this.fullRecord.targetType,this.fullRecord.isEContent,this.userData),this.showFulfillmentButton=this._fulfillmentService.showFulfillmentAction(this.fullRecord.targetType,this.fullRecord.format_Short,this.userData)&&this.fulfillmentType!==u.p4.FULL_RECORD,this.fulfillmentLabel=this.fulfillmentType===u.p4.ILL_REQUEST||this.userData.illOptions?.hasILL?"Request This Item":"Place Hold"}_getShelfBrowse(){this.shelfBrowseLocations=this.fullRecord.shelfBrowseLocations,this.shelfLibraryValue=this.shelfBrowseLocations[0].locationId,this._callShelfBrowse()}_callShelfBrowse(){this._detailsService.shelfBrowse(this.paginationShelfBody(0)).subscribe(f=>{"ok"==f.status.toLowerCase()&&(this.shelfBrowseItems=f.data.shelfBrowseItems.map(Oe=>({agControlId:Oe.agControlId,title:Oe.title,author:Oe.author,format:null,jacketArt:Oe.jacketArt,libraryDbPoolKey:Oe.libraryDbPoolKey,pubYear:Oe.pubYear,publisher:Oe.publisher,totalAvailables:Oe.totalAvailables,totalCopies:Oe.totalCopies,totalHolds:Oe.totalHolds,callNumber:Oe.callNumber})))})}_getThirdPartyFullRecordIfApplicable(){switch(this.fullRecord.targetType.toUpperCase()){case"BX":this.getDetailsBX();break;case"OD":this._getOverDriveCirculation();break;case"HP":this.getHoopla()}}_getReviews(){if(null!==this.fullRecord.reviews.goodReadReviewData&&this.fullRecord.reviews.goodReadReviewData&&null!=this.fullRecord.reviews.goodReadReviewData.divData&&this.fullRecord.reviews.goodReadReviewData.divData){let f=this.fullRecord.reviews.goodReadReviewData.divData;f&&(f=f.replace("<a ",'<a target="_blank"'),this.fullRecord.reviews.goodReadReviewData.divData=f)}}_setTabLabels(){if(this.fullRecord.fullRecordSettings?.fullRecordTabs?.length)for(const f of this.fullRecord.fullRecordSettings.fullRecordTabs)switch(f.value){case this.fullRecordOptionTabs.Details:this.detailsTabLabel=f.name;break;case this.fullRecordOptionTabs.More_About_This_Title:this.moreAboutTabLabel=f.name;break;case this.fullRecordOptionTabs.Where_To_Find:this.whereToTabLabel=f.name;break;case this.fullRecordOptionTabs.MARC_Display:this.marcTabLabel=f.name;break;case this.fullRecordOptionTabs.Shelf_Browse:this.shelfTabLabel=f.name;break;case this.fullRecordOptionTabs.Syndetics_Unbound:this.syndeticsTabLabel=f.name;break;case this.fullRecordOptionTabs.Novelist:this.novelistTabLabel=f.name;break;case this.fullRecordOptionTabs.CLCD:this.clcdTabLabel=f.name}}_getMoreAboutThisTitleOptions(){this.fullRecord.moreAboutThisTitleOptions.showSyndetics?this._loadSyndetics():this.fullRecord.moreAboutThisTitleOptions.showContentCafe&&(this.contentCafeData=this.fullRecord.moreAboutThisTitleOptions.contentCafeData),this.showMoreAboutThisTitle=(this.fullRecord.moreAboutThisTitleOptions?.showContentCafe||this.fullRecord.moreAboutThisTitleOptions?.showSyndetics)&&!this.sharedService.getIsKidsCat()&&this.fullRecord.fullRecordSettings?.displayMoreAboutThisTitle}_loadSyndetics(){let f=this.fullRecord.moreAboutThisTitleOptions.syndetics_Widget_URL;const Oe="&callback=";if(f.includes(Oe)){const ot=f.search(Oe);f=f.substring(0,ot),this.sharedService.addScriptToIndex("syndeticsScript",f)}}_getAndBindUserDataInfo(f){this.userData=f,this.showRequestThis=this.userData.illOptions.showRequestThis,this.systemCategory=this.userData.systemCategory}getItemHoldings(f){("ZZ"==this.fullRecord.targetType||"WM"==this.fullRecord.targetType)&&(0!==f.illPartNumber?this._holdingsDetails(f.illPartNumber):this.sharedService.openSnackBar("holding details unavailable","ok")),"AG"==this.fullRecord.targetType&&this._holdingsDetails(f.libraryProfileKey)}_holdingsDetails(f){this._detailsService.updateHoldingsDetails(f).subscribe(Oe=>{"OK"==Oe.status&&"Success"==Oe.message&&this.openHoldDetailsDialog(Oe.data)})}openHoldDetailsDialog(f){this._dialog.open(Le,{width:"600px",data:f})}toggleShowMoreInfo(f){"more"==f&&(this.showFewerSY=!0,this.showMoreSY=!0),"less"==f&&(this.showFewerSY=!1,this.showMoreSY=!1)}toggleShowCF(f){"more"==f&&(this.showMoreCF=!0,this.showFewerCF=!0),"less"==f&&(this.showMoreCF=!1,this.showFewerCF=!1)}holdsInQueue(){this._dashboardService.goToMenuItem({url:this.fullRecord.reserveOptions.viewHoldURL,fullLabel:"Circulation > Reserves > View All Reserves"})}actionOnShelfBrowseEvent(f){if(!f.item)throw new Error("item is empty");if(f?.action)switch(f.action){case"addToList":this.addToListFromShelf(f.item.agControlId,f.item.libraryDbPoolKey);break;case"placehold":this._routingService.goToHold(f.item.agControlId);break;default:this._routingService.goToFullRecordByAgControlId(f.item.agControlId,f.item.libraryDbPoolKey)}}getDetailsBX(){this._detailsService.getFullDetailsBX(this.fullRecord.recordId).subscribe(f=>{"200 OK"==f.status&&(this.BxData=f.data,this.canCheckOutBX=this.BxData.canCheckOut,this.canHoldBX=this.BxData.canHold,this.canRemoveHoldBX=this.BxData.canRemoveHold,this._askEmailForHoldBX=this.BxData.askEmailForHold,this.showMessageBX=this.BxData.showMessage,this.messageTextBX=this.BxData.messageText)})}checkoutBX(){this._detailsService.checkoutBX({titleId:this.fullRecord.recordId,format:this.BxData.format,loanPeriod:this.BxData.loanPeriod}).subscribe(Oe=>{"200 OK"==Oe.status?(this.sharedService.componentSnackbar(q,Oe.data.message,'<br/>To read this digital book, use the Axis360 app for your mobile device. Login with your library credentials and this title will be visible. <br/>Click "Read Now" on your app to read this title.',"checkout BX"),this.getDetailsBX()):this.sharedService.openSnackBar("cannot checkout at this time","ok")})}removeHoldBX(){this._detailsService.removeHoldBX({titleId:this.fullRecord.recordId}).subscribe(Oe=>{"200 OK"==Oe.status?(this.sharedService.openSnackBar(Oe.data.message,"ok"),this.getDetailsBX()):this.sharedService.openSnackBar("cannot remove hold at this time","ok")})}addHoldBX(){let f;this._askEmailForHoldBX?this.openBxDialog():(f={titleId:this.fullRecord.recordId},this.doAddHoldBx(f))}doAddHoldBx(f){this._detailsService.addHoldBX(f).subscribe(Oe=>{"200 OK"==Oe.status?(this.sharedService.openSnackBar(Oe.data.message,"ok"),this.getDetailsBX()):this.sharedService.openSnackBar("cannot place hold at this time","ok")})}openBxDialog(){this._dialog.open(I,{width:"400px",height:"auto"}).afterClosed().subscribe(Oe=>{"yes"==Oe.answer&&this.doAddHoldBx({titleId:this.fullRecord.recordId,email:Oe.email})})}fulfillItem(){this.fulfillmentType===u.p4.ILL_REQUEST?this._requestService.requestThisItem(this.fullRecord.agControlId,this.fullRecord.libraryDBPoolKey,this.fullRecord.format_Short,this.fullRecord.sourceKey):this._routingService.goToHold(this.fullRecord.agControlId)}searchKey(f,Oe){for(let ot=0;ot<Oe.length;ot++)if(Oe[ot].value==f)return Oe[ot];return!1}indexOf(f,Oe){for(let ot=0;ot<f.length;ot++)if(f[ot].value==Oe)return ot}goBack(){this._routingService.goBack()}doSearch(f){this._searchService.search(f)}email(){const f=this.storageService.getUserData();let Oe,ot;Oe="",this.fullRecord.details.fields.forEach(mr=>{("Title"==mr.name||"title"==mr.name)&&(ot=mr.value),Oe+=mr.name+" : "+mr.value+"\r\n"}),Oe+="\r\n",this.layoutService.openSideNav({template:"email",position:"end",data:{FromAddress:"no-reply@auto-graphics.com",FromAddressName:f.userName,ToAddress:"",CCAddress:"",BCCAddress:"",Subject:"Full Record : "+(ot||""),MessageBody:Oe,IsBodyHtml:!0}})}print(){this._analyticsService.logEvent("Print Item"),this._detailsService.getFullRecordByAgcn({agControlId:this.fullRecord.agControlId,libraryDbPoolKey:this.fullRecord.libraryDBPoolKey,print:!0}).subscribe(Oe=>{this._doPrint(Oe)},Oe=>{this.sharedService.openSnackBar("Unable to get Full Record print data."),console.error(Oe)})}_doPrint(f){const Oe=this.storageService.getCid(),ot=this.storageService.getLid(),qn="<div style='text-align:center'>Fullrecord | "+Oe.toUpperCase()+" | "+ot.toUpperCase()+" | Auto-Graphics Inc. </div>",Ro="<div style='width:100px;height:222px;max-width:200px;'><img style='width:100%;max-width:100px;box-shadow:0px 5px 8px'src= '"+f.jacketArt.small+"'default= '"+this._searchService.JACKETART_ERROR_URL+"' /></div>",mr="<div style='margin-bottom:0px;padding-bottom:0px'><h3>"+f.title+"</h3></div>",Ar="<div style='margin-bottom:0p;padding-bottom:0px'><b>Author:</b>"+f.author+"</div>",rr="<div style='margin-bottom:0px:padding-bottom:0px'><b>Found In: "+f.foundIn+"</b></div>";let cs="";for(let sd=0;sd<f.details.length;sd++){const ou=f.details[sd];cs=cs.concat("<tr><th style='border:0px solid transparent;width: 120px;padding:0; text-align:left;'>"+ou.name+":</th><td style='border:0px solid transparent;padding:0;text-align:left;'>"+ou.value+"</td></tr>")}const Kl="<html><head><style type='text/css'></style></head><body>"+qn+Ro+mr+Ar+rr+"<div><hr></div><div><table><tbody>"+cs+"</tbody></table></div></body></html>",gs=window.open("","_blank","top=0,left=0,height=80%,width=auto");gs.document.open(),gs.document.write(Kl),gs.document.close(),gs.print(),gs.close()}openBibDialog(){this._dialog.open(Z,{width:"600px",height:"auto",disableClose:!0,data:"hello"}).afterClosed().subscribe(Oe=>{})}multiCopyForm(){this._router.navigate(["/request"],{queryParams:{agctrlid:this.fullRecord.agControlId,shard:this.fullRecord.libraryDBPoolKey,requestType:this._requestType,format:this.fullRecord.format_Short,requestFormType:this._requestFormType,sourceKey:this.fullRecord.sourceKey,multiCopy:!0}})}getShelfNewLoc(f){this.shelfBrowseData=null,this.shelfLibraryValue=f,this._callShelfBrowse()}selectedCarouselItem(f){this._routingService.goToFullRecordByAgControlId(f.agControlId,f.libraryDbPoolKey)}addToListFromShelf(f,Oe){if(this._authService.isGuest())this._yourListService.addItemToListFromLibKey(f,Oe).subscribe(ot=>{ot&&(this.sharedService.openSnackBar(ot.data,"ok"),this._openAddToListSideNav(ot.data))});else{const ot={agControlId:f,libraryDbPoolKey:Oe};this.addlist.emit(ot),this._openAddToListSideNav(ot)}}paginationShelfBody(f){return{agControlId:this.fullRecord.agControlId,locationId:this.shelfLibraryValue,pageSize:this._detailsService.SHELF_PAGE_SIZE,startPos:f}}refreshItem(){switch(this.fullRecord.targetType){case"OD":this._getOverDriveCirculation();break;case"HP":this.getHoopla()}}_getOverDriveCirculation(){this._eContentService.overDriveRequestItem(this.fullRecord.recordId).subscribe(f=>{this.overDriveItem=f},()=>{this.sharedService.openSnackBar(F.o.GET_ITEM_ERROR,"ok")})}changeOverdriveJacketArt(f){this.fullRecord.jacketArt.small=f.images.thumbnail.href}placeOverDriveHold(){this._accountService.getProfileDetails().subscribe(f=>{const Oe=f.data.userProfile.profileFields.find(ot=>"email"===ot.fieldName);Oe.value?this._overDrivePlaceHold(this.fullRecord.recordId,Oe.value):this._openOverDriveHoldDialog()})}_overDrivePlaceHold(f,Oe){this._eContentService.overDrivePlaceHold({productId:f,emailAddress:Oe}).subscribe(()=>{this._getOverDriveCirculation(),this.sharedService.openSnackBar(F.o.PLACE_HOLD_SUCCESS,"ok")},()=>{this.sharedService.openSnackBar(F.o.PLACE_HOLD_ERROR,"ok")})}_openOverDriveHoldDialog(){this._dialog.open(E.K,{width:"600px",data:"Email Address"}).afterClosed().subscribe(Oe=>{Oe&&this._routingService.goToAccountProfile()})}doPlaceHold(){this._analyticsService.logEvent("Place Hold"),this._previousRouterErrorHandler?this._previousRouterErrorHandler&&(this._previousRouterErrorHandler=void 0):(this._previousRouterErrorHandler=this._router.errorHandler,this._router.errorHandler=(f,...Oe)=>(console.log("chunk failed err message in doPlaceHold"),console.log(f),this._previousRouterErrorHandler.apply(this._previousRouterErrorHandler,Oe))),this._routingService.goToHold(this.fullRecord.agControlId)}addToList(){let f;this._analyticsService.logEvent("Add To List"),this._authService.isGuest()?this._yourListService.addItemToListFromLibKey(this.fullRecord.agControlId,this.fullRecord.libraryDBPoolKey).subscribe(Oe=>{"200 OK"===Oe.status&&(this.sharedService.openSnackBar(Oe.data,"ok"),this.sharedService.setLoadGuestListBS(!0),this._openAddToListSideNav(f))}):(f={agControlId:this.fullRecord.agControlId,libraryDbPoolKey:this.fullRecord.libraryDBPoolKey},this.addlist.emit(f),this._openAddToListSideNav(f))}sendSMS(f){this._analyticsService.logEvent("Send SMS Message"),this.layoutService.openSideNav({template:"sms",position:"end",data:{from:f.from,subject:f.subject,messageBody:f.body}})}_openAddToListSideNav(f){this.layoutService.openSideNav({template:"addList",position:"end",data:f})}checkKey(f){return!!f.hyperLink}goToAddItem(){this._routingService.goToAddItem(this.fullRecord.agControlId)}goToEditItem(f){this._routingService.goToEditItem(f)}openIframeModule(f,Oe){this._dashboardService.goToMenuItem({url:f,fullLabel:Oe})}getShowBorrowerFormat(){this.showFormat=this.illSettingsService.showFormat(this.fullRecord.format_Short)}getHoopla(){this.userData.isGuest||this._eContentService.hooplaItemRequest(this.fullRecord.recordId).subscribe(f=>{this.hooplaItem=f},()=>{this.sharedService.openSnackBar(F.o.GET_ITEM_ERROR,"ok")})}showShelfStatus(f){const Oe=JSON.parse(f);this._holdingsService.getShelfStatus(f).subscribe(ot=>{ot?(ot.forEach((qn,Ro)=>{this.statusCodes.set(Ro,qn)}),ot.has(Oe.LibraryCode)||this.sharedService.openSnackBar(this._holdingsService.UNABLE_TO_FETCH_SHELF_STATUS,"ok")):this.showShelfStatusError()},ot=>{this.showShelfStatusError(ot)})}showShelfStatusError(f=null){console.error(f),f instanceof Error?this.sharedService.openSnackBar(f.message,"ok"):this.sharedService.openSnackBar(this._holdingsService.UNABLE_TO_FETCH_SHELF_STATUS,"ok")}scrollToSectionById(f){const Oe=document.getElementById("page-header"),ot=document.getElementById(f);ot&&(ot.style.marginTop=Oe.offsetHeight+"px",ot.style.scrollMarginTop=Oe.offsetHeight+"px",this.sharedService.scrollIntoView(ot))}scrollToTop(){this.layoutService.scrollContentToTop()}handleRecordBlockSticky(f){const Oe=this.stickyBlockRef?.nativeElement;if(Oe){let ot=0;if(f>0){const qn=this.layoutService.getContentComponent().getElementRef().nativeElement.getBoundingClientRect().height,Ro=Oe.getBoundingClientRect().height;Ro>qn&&(ot=qn-Ro)}this.stickyBlockRef.nativeElement.style.top=`${ot}px`}}static#e=this.\u0275fac=function(Oe){return new(Oe||v)(n.Y36(B.gz),n.Y36(N.K),n.Y36(p.on),n.Y36(O.e8),n.Y36(y.nP),n.Y36(Y.f),n.Y36(m.M),n.Y36(Qe.lU),n.Y36(A.sm),n.Y36(B.F0),n.Y36(et.Z),n.Y36(M.oD),n.Y36(L.F),n.Y36(_t.V),n.Y36(F.y),n.Y36(k.s),n.Y36(ne.P),n.Y36(z.y),n.Y36(Vt.B),n.Y36(u.hz))};static#t=this.\u0275cmp=n.Xpm({type:v,selectors:[["ag-details"]],viewQuery:function(Oe,ot){if(1&Oe&&(n.Gf(qe,5),n.Gf(Ht,5),n.Gf(Cn,5)),2&Oe){let qn;n.iGM(qn=n.CRH())&&(ot.myDrop=qn.first),n.iGM(qn=n.CRH())&&(ot.stickyBlockRef=qn.first),n.iGM(qn=n.CRH())&&(ot.recordButtonsRef=qn.first)}},inputs:{fromPersistentRecord:"fromPersistentRecord"},outputs:{addlist:"addlist",staffRequest:"staffRequest"},features:[n._Bn([{provide:n.QbO,useValue:"BrowserAnimations"}])],decls:4,vars:2,consts:[["jacketArtTemplate",""],["mode","indeterminate",4,"ngIf"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["noLink",""],["target","_blank",3,"href"],["onerror","this.onerror=null;this.alt='Image not available';this.src='https\\:\\/\\/www5.auto-graphics.com/v6assets/no-image-foundlrg.png?local'",1,"width-95","max-height-160",2,"border","0px",3,"alt","src","title"],["mode","indeterminate"],["id","page-header","fxLayout","row","fxLayoutAlign","start center",1,"sticky","back-body",3,"ngClass"],["fxFlex","nogrow"],["mat-icon-button","","matTooltip","Return to results","type","button","aria-label","Return To Results",3,"agInteract",4,"ngIf"],["fxFlex","auto",4,"ngIf"],["fxFlex","grow","fxFill","",4,"ngIf"],["fxFlex","nogrow",4,"ngIf"],["style","font-style: italic","class","width-100 padding-0-25",4,"ngIf"],[1,"width-100"],[1,"col-12","d-md-none","clearfix"],["class","record-author author-class",3,"title","innerHTML",4,"ngIf"],["class","record-title title-class",3,"title","innerHTML",4,"ngIf"],["class","record-isbn title-class",3,"title",4,"ngIf"],["class","record-author title-class",3,"title","innerHTML",4,"ngIf"],["class","record-available text-start",4,"ngIf"],[1,"record-available","text-start"],["holdsInQueueNonHoopla",""],[1,"record-image"],["class","jacketarturl inline text-start pointer",4,"ngIf"],[1,"record-buttons","mobile"],["class","width-100 margin-10-0",4,"ngIf"],[3,"fullRecord",4,"ngIf"],[3,"item","format","isGuest","refreshItem","placeHold","selectedProduct",4,"ngIf"],[3,"item","format","purchaseModel","isGuest","refreshItem",4,"ngIf"],[3,"userData","fullRecord","showFormat","addItem","addItemToList","printItem","emailItem","multiCopy"],[1,"container-fluid","d-none","d-md-block","d-lg-none","clearfix"],[1,"record-image","clearfix"],["class","jacketarturl inline pointer",4,"ngIf"],["class","text-center text-truncate","style","font-weight: bold; font-size: 0.7em; margin-top: 1%",4,"ngIf"],["class","text-truncate text-center","style","font-weight: bold; font-size: 0.7em; margin-top: 1%",4,"ngIf"],[1,"record-content","clearfix"],["class","record-author",4,"ngIf"],["class","record-title",4,"ngIf"],["class","record-available",4,"ngIf"],[1,"record-buttons"],[1,"container-fluid","details-info","clearfix"],[1,"record-sticky","d-none","d-lg-block","col-lg-3","pull-left",2,"width","240px"],["stickyBlock",""],["class","record-author text-center author-class",3,"title","innerHTML",4,"ngIf"],["class","record-title text-center title-class",3,"title","innerHTML",4,"ngIf"],["class","record-isbn text-center title-class",3,"title",4,"ngIf"],["class","jacketarturl record-image text-center clearfix",4,"ngIf"],["class","record-author text-center title-class no-margin-lineheight1-1",3,"title","innerHTML",4,"ngIf"],["class","record-author text-center foundin-class no-margin-lineheight1-1",3,"title","innerHTML",4,"ngIf"],[1,"record-summary"],["class","record-available text-center",4,"ngIf"],["recordButtons",""],["class","width-100",4,"ngIf"],[1,"record-buttons","margin-top-10"],[1,"record-details","font-0-9","col-12","col-lg-9","pull-left"],[3,"ngSwitch",4,"ngFor","ngForOf"],["details",""],["whereToFindIt",""],["marcDisplay",""],["shelfBrowse",""],["moreAboutThisTitle",""],["reviews",""],["syndeticsUnbound",""],["novelist",""],["clcd",""],["position","bottom-right",3,"offset",4,"ngIf"],["position","bottom",3,"offset",4,"ngIf"],["mat-icon-button","","matTooltip","Return to results","type","button","aria-label","Return To Results",3,"agInteract"],["fxFlex","auto"],[1,"ag-px-sm","ellipsis",2,"max-width","400px"],["class","mat-title ellipsis",3,"title",4,"ngIf"],["class","mat-subheading-2 ellipsis",3,"title",4,"ngIf"],[1,"mat-title","ellipsis",3,"title"],[1,"mat-subheading-2","ellipsis",3,"title"],["fxFlex","grow","fxFill",""],[2,"text-align","center"],["class","inline-block d-sm-inline-block d-md-inline-block",3,"ngSwitch",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","record-category-links","tabindex","0",3,"agInteract",4,"ngIf"],["tabindex","0",1,"record-category-links",3,"agInteract"],[1,"inline-block","d-sm-inline-block","d-md-inline-block",3,"ngSwitch"],["mat-icon-button","","id","ilsdesk","type","button",3,"matMenuTriggerFor"],["dense",""],["action","matMenu"],[1,"width-100","padding-0-25",2,"font-style","italic"],["class","isDisabled",4,"ngIf"],[1,"isDisabled"],[1,"record-author","author-class",3,"title","innerHTML"],[1,"record-title","title-class",3,"title","innerHTML"],[1,"record-isbn","title-class",3,"title"],[3,"ngClass"],[1,"record-author","title-class",3,"title","innerHTML"],[4,"ngFor","ngForOf"],[2,"pointer-events","none"],["tabindex","0",3,"agInteract",4,"ngIf"],["style","pointer-events: none",4,"ngIf"],["tabindex","0",3,"agInteract"],[1,"jacketarturl","inline","text-start","pointer"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"width-100","margin-10-0"],["mat-raised-button","","color","primary","type","button","class","ag-mat-button-primary","type","button",3,"click",4,"ngIf","ngIfElse"],["showKidsButton",""],["mat-raised-button","","color","primary","type","button","type","button",1,"ag-mat-button-primary",3,"click"],["alt","I want it","src","./assets/images/kids-catalog/iwantit.png","tabindex","0",2,"cursor","pointer",3,"agInteract"],[3,"fullRecord"],["type","button","aria-label","Checkout Now","class","btn btn-primary",3,"click",4,"ngIf"],["type","button","aria-label","Place Hold","class","btn btn-primary",3,"click",4,"ngIf"],["type","button","aria-label","Remove Hold","class","btn btn-primary",3,"click",4,"ngIf"],["type","button","aria-label","Checkout Now",1,"btn","btn-primary",3,"click"],["type","button","aria-label","Place Hold",1,"btn","btn-primary",3,"click"],["type","button","aria-label","Remove Hold",1,"btn","btn-primary",3,"click"],[3,"item","format","isGuest","refreshItem","placeHold","selectedProduct"],[3,"item","format","purchaseModel","isGuest","refreshItem"],[1,"jacketarturl","inline","pointer"],[1,"text-center","text-truncate",2,"font-weight","bold","font-size","0.7em","margin-top","1%"],[1,"text-truncate","text-center",2,"font-weight","bold","font-size","0.7em","margin-top","1%"],[1,"record-author"],[1,"record-title"],[1,"record-available"],[1,"record-available","text-center"],["mat-raised-button","","color","primary","type","button","class","ag-mat-button-primary",3,"click",4,"ngIf","ngIfElse"],["mat-raised-button","","color","primary","type","button",1,"ag-mat-button-primary",3,"click"],[1,"record-author","text-center","author-class",3,"title","innerHTML"],[1,"record-title","text-center","title-class",3,"title","innerHTML"],[1,"record-isbn","text-center","title-class",3,"title"],[1,"jacketarturl","record-image","text-center","clearfix"],[1,"record-author","text-center","title-class","no-margin-lineheight1-1",3,"title","innerHTML"],[1,"record-author","text-center","foundin-class","no-margin-lineheight1-1",3,"title","innerHTML"],["class","record-available text-center holds-queue staff-links",4,"ngIf"],[1,"record-available","text-center","holds-queue","staff-links"],[1,"staff-links","width-100","margin-10-0"],[4,"ngTemplateOutlet"],["id","details","class","record-group",4,"ngIf"],["id","details",1,"record-group"],["class","text-center",4,"ngIf"],[1,"table-sm","table-responsive-lg",2,"border-color","none"],[1,"text-center"],["scope","row",1,"record-detail-desc","no-border"],[1,"no-border"],["target","_blank",1,"details-external-link",3,"href","matTooltip"],[1,"mat-icon-xs"],["tabindex","0",1,"active-link",3,"innerHTML","agInteract"],[3,"innerHTML"],["id","whereIsIt","class","record-group",4,"ngIf"],["id","whereIsIt",1,"record-group"],["class","text-center holdings-label",4,"ngIf"],["class","card",3,"ngClass",4,"ngIf"],["class","card",4,"ngIf"],[1,"text-center","holdings-label"],[2,"text-align","center","vertical-align","middle"],[1,"card",3,"ngClass"],["class","card-block record-desc",4,"ngIf"],[1,"card-block","record-desc"],[1,"table-responsive-lg","tablesortNhoney","width-100",2,"margin-bottom","0px"],[1,"thead-check"],[1,"location_title"],["class","row-check-1",4,"ngFor","ngForOf"],["ngFor","","class","row-check-2",3,"ngForOf"],[1,"row-check-1"],[1,"column-check",3,"ngSwitch"],["style","\n                                text-align: center;\n                                cursor: pointer;\n                                width: 100%;\n                                display: inline-block;\n                              ","tabindex","0",3,"agInteract",4,"ngSwitchCase"],["style","text-align: center; width: 100%; display: inline-block",4,"ngSwitchCase"],["tabindex","0",2,"text-align","center","cursor","pointer","width","100%","display","inline-block",3,"agInteract"],["title","Send SMS",1,"fa","fa-mobile","fa-2x","pointer-clean"],[2,"text-align","center","width","100%","display","inline-block"],[1,"fa","fa-circle","pointer-clean"],["class","one1","tabindex","0",3,"agInteract",4,"ngIf"],["tabindex","0",1,"one1",3,"agInteract"],["class","holding-details",4,"ngIf"],[1,"holding-details"],["class","color-red",4,"ngIf"],[1,"color-red"],[2,"color","red"],["style","padding-left: 10px",4,"ngIf"],[2,"padding-left","10px"],["getStatus",""],[1,"check-shelfstatus-link"],[1,"three",2,"padding-left","10px"],["notMyLibrary",""],["tabindex","0",3,"ngClass","agInteract",4,"ngIf","ngIfElse"],["removeGetItemHoldingsClickAction",""],["tabindex","0",3,"ngClass","agInteract"],["notAG",""],[1,"card"],["class","location_title",4,"ngIf"],["ngFor","",3,"ngForOf"],["style","\n                              text-align: left;\n                              cursor: pointer;\n                              width: 100%;\n                              display: inline-block;\n                              margin-left: 16%;\n                            ","tabindex","0",3,"agInteract",4,"ngIf"],["style","text-align: center; width: 100%; display: inline-block",4,"ngIf"],["style","text-align: left; width: 100%; display: inline-block",4,"ngIf"],[3,"title",4,"ngIf"],["tabindex","0",2,"text-align","left","cursor","pointer","width","100%","display","inline-block","margin-left","16%",3,"agInteract"],[2,"text-align","left","width","100%","display","inline-block"],["role","button","type","button","aria-label","Edit Item","class","btn btn-link",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Edit Item",1,"btn","btn-link",3,"click"],["role","button","type","button","aria-label","Status","class","btn btn-link","style","text-decoration: underline !important",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Status",1,"btn","btn-link",2,"text-decoration","underline !important",3,"click"],[3,"title"],["class","one",4,"ngIf"],["class","two",4,"ngIf"],["class","three",4,"ngIf"],[1,"one"],[1,"two"],[1,"three"],["id","marc",1,"record-group"],["for","controlNumber",4,"ngIf"],["for","lastModified",4,"ngIf"],["for","leader",4,"ngIf"],["for","quality",4,"ngIf"],["for","controlNumber"],["id","controlNumber"],["for","lastModified"],["id","lastModified"],["for","leader"],["id","leader"],["for","quality"],["id","quality"],["style","width: 4%",4,"ngFor","ngForOf"],[2,"background","#008000"],[2,"width","4%"],["tabindex","0",1,"new-span",3,"innerHTML","ngClass","agInteract"],["id","shelf","class","record-group shelf-browse text-center",4,"ngIf"],[3,"slideCount"],["id","shelf",1,"record-group","shelf-browse","text-center"],[1,"dropdown-container","text-center"],[1,"pull-none"],["aria-label","select a location","title","Select a Location",1,"select-locations",3,"ngModel","ngModelChange"],["option",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["showCallNumber","",3,"carouselItem","selectedCarouselItem"],["type","button","class","action-icon-button","aria-label","Place Hold","mat-icon-button","","matTooltip","Place Hold","matTooltipPosition","below",3,"agInteract",4,"ngIf"],["type","button","aria-label","Add to List","mat-icon-button","","matTooltip","Add to List","matTooltipPosition","below",1,"action-icon-button",3,"agInteract"],["aria-hidden","true",1,"fa","fa-list-alt"],["type","button","aria-label","View Details","mat-icon-button","","matTooltip","View Details","matTooltipPosition","below",1,"action-icon-button",3,"agInteract"],["aria-hidden","true",1,"fa","fa-info"],["type","button","aria-label","Place Hold","mat-icon-button","","matTooltip","Place Hold","matTooltipPosition","below",1,"action-icon-button",3,"agInteract"],["svgIcon","finger"],["showCallNumber","",3,"carouselItem"],["id","moreAbout","class","record-group",4,"ngIf"],["id","moreAbout",1,"record-group"],[1,"container-fluid"],[1,"row"],[1,"col-12",2,"margin-top","15px"],["id","syn_summary","aria-label","syn_summary"],["id","syn_anotes","aria-label","syn_anotes"],[1,"review-link",3,"hidden"],["tabindex","0",1,"show-more-fewer",3,"agInteract"],[3,"hidden"],["id","syn_awards","aria-label","syn_awards"],["id","syn_blreview","aria-label","syn_blreview"],["id","syn_abreview","aria-label","syn_abreview"],["id","syn_chreview","aria-label","syn_chreview"],["id","syn_criticasreview","aria-label","syn_criticasreview"],["id","syn_dbchapter","aria-label","syn_dbchapter"],["id","syn_gmsummary","aria-label","syn_gmsummary"],["id","syn_hbreview","aria-label","syn_hbreview"],["id","syn_itasummary","aria-label","syn_itasummary"],["id","syn_kireview","aria-label","syn_kireview"],["id","syn_ljreview","aria-label","syn_ljreview"],["id","syn_nyreview","aria-label","syn_nyreview"],["id","syn_pwreview","aria-label","syn_pwreview"],["id","syn_sljreview","aria-label","syn_sljreview"],["id","syn_series","aria-label","syn_series"],["id","syn_spreview","aria-label","syn_spreview"],["id","syn_spsummary","aria-label","syn_spsummary"],["id","syn_swedreview","aria-label","syn_swedreview"],["id","syn_swedsummary","aria-label","syn_swedsummary"],["id","syn_swedtoc","aria-label","syn_swedtoc"],["id","syn_toc","aria-label","syn_toc"],["id","syn_fiction","aria-label","syn_fiction"],["id","syn_avprofile","aria-label","syn_avprofile"],["id","syn_avsummary","aria-label","syn_avsummary"],["id","syn_video_clip","aria-label","syn_video_clip"],["class","less-2",4,"ngIf"],["class","greater-2",4,"ngIf"],[1,"less-2"],[1,"greater-2"],["style","width: 100%; margin-top: 15px; margin-bottom: 5%",4,"ngIf"],[2,"width","100%","margin-top","15px","margin-bottom","5%"],["id","reviews",2,"text-align","center"],[1,"col-12",2,"margin-top","15px","height","80vh"],["class","full-width-div","id","good-read-rev",3,"innerHTML",4,"ngIf"],["id","good-read-rev",1,"full-width-div",3,"innerHTML"],[3,"isbn","label","id",4,"ngIf"],[3,"isbn","label","id"],["id","novel",3,"isbn","label",4,"ngIf"],["id","novel",3,"isbn","label"],["id","clcd",3,"clcd","label","searchId","contentLoaded",4,"ngIf"],["id","clcd",3,"clcd","label","searchId","contentLoaded"],["position","bottom-right",3,"offset"],["goToTop",""],["mat-fab","","type","button",1,"ag-mat-button-primary",3,"matMenuTriggerFor"],["yPosition","above",3,"overlapTrigger"],["sectionMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngIf"],["mat-menu-item","","type","button",3,"click"],["mat-fab","","type","button","class","ag-mat-button-primary",3,"click",4,"ngIf"],["mat-fab","","type","button",1,"ag-mat-button-primary",3,"click"],["position","bottom",3,"offset"],[1,"pagination-wrapper","mat-elevation-z2"],["mat-button","","type","button","aria-label","Previous Title","matTooltip","Previous Title",3,"disabled","click"],["mat-button","","type","button","aria-label","Next Title","matTooltip","Next Title",3,"disabled","click"]],template:function(Oe,ot){1&Oe&&n.YNc(0,Si,3,2,"ng-template",null,0,n.W1O)(2,Gi,1,0,"mat-progress-bar",1)(3,Ys,109,79,"ng-container",2),2&Oe&&(n.xp6(2),n.Q6J("ngIf",ot.loading),n.xp6(),n.Q6J("ngIf",!ot.loading&&ot.fullRecord))},dependencies:[bn.o,le.mk,le.sg,le.O5,le.tP,le.RF,le.n9,le.ED,U.YN,U.Kr,U.EJ,U.JJ,U.On,xn.S,wt,Vn,S.eB,Ct.xw,Ct.Wh,Ct.s9,Ct.yH,nn.oO,Wt.Hw,Pn.W0,Pn.tN,Pn.D8,Un.eI,jn.Kd,Nr,Kt,D,Lt,gn,co,_o,br,yo,Fr,Cr.F,Cr.s,ut.t,iu,xt,Xr,le.Ov,le.OU],styles:["a[_ngcontent-%COMP%]{color:var(--link);font-weight:600}.active-link[_ngcontent-%COMP%]{text-decoration:underline!important}.card[_ngcontent-%COMP%]{color:var(--body-color)!important;background:var(--body-background)!important}.truncate-ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-group__h2[_ngcontent-%COMP%]{color:gray}.record-image[_ngcontent-%COMP%]{width:100%;padding-top:10px}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:33%;max-width:100px;box-shadow:0 5px 8px var(--box-shadows)}.record-author[_ngcontent-%COMP%]{color:var(--link);font-weight:500;padding-left:10px}.record-title[_ngcontent-%COMP%]{font-size:1.5rem;padding-top:0;padding-left:10px;margin-bottom:0}.record-isbn[_ngcontent-%COMP%]{font-weight:500;padding-left:10px}.record-available[_ngcontent-%COMP%]{padding:0 5px;margin:0 5px;background:transparent;color:#454545;font-weight:700;font-size:.85em}.record-desc[_ngcontent-%COMP%]{font-size:.9em}.record-details[_ngcontent-%COMP%]   .table-sm[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .record-details[_ngcontent-%COMP%]   .table-sm[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:0!important}.record-buttons[_ngcontent-%COMP%]{display:inline-block;width:60%;float:right}.record-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;max-width:206px}.record-category-links[_ngcontent-%COMP%]{color:var(--link);text-decoration:underline;color:var(--header-color)!important;background:var(--header-background);border-radius:4px;text-align:center;margin:3px;width:auto;padding:5px;display:inline-block;vertical-align:top;font-size:.75em;font-weight:400;cursor:pointer}.record-content[_ngcontent-%COMP%]{padding:10px;font-size:.85em}.record-content[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{padding-top:20px}.record-detail-desc[_ngcontent-%COMP%]{min-width:140px}.record-desc[_ngcontent-%COMP%]{width:100%}.record-group[_ngcontent-%COMP%]{clear:both;margin-top:25px}.record-group[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.5em;color:var(--body-color)!important}.record-group[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{color:var(--body-color)!important}.tablesortNhoney[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:0 5px!important}.img-gallery[_ngcontent-%COMP%]{box-shadow:0 5px 8px var(--box-shadows);cursor:pointer;float:left}.details-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:none}.shelf-browse[_ngcontent-%COMP%]{text-align:center}.staff-links[_ngcontent-%COMP%]{color:var(--link)!important;font-weight:400;font-size:.85rem}.staff-links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{width:100%;display:inline-block}.staff-links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}.record-sticky[_ngcontent-%COMP%]{position:sticky;top:60px;width:240px;padding:0 15px}#sticky-tabs[_ngcontent-%COMP%]{width:100%;height:45px;align-items:center;justify-content:center;color:var(--header-color)!important;background-color:var(--offset-two)}#page-header[_ngcontent-%COMP%]{min-height:60px}#page-header[_ngcontent-%COMP%]   .mat-title[_ngcontent-%COMP%], #page-header[_ngcontent-%COMP%]   .mat-subheading-1[_ngcontent-%COMP%], #page-header[_ngcontent-%COMP%]   .mat-subheading-2[_ngcontent-%COMP%]{margin:0}#page-header.sticky-header[_ngcontent-%COMP%]{background:var(--body-background)}.sticky-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:2;background-color:#fff}.sticky-header.sticky-header-scroll[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.no-margin-lineheight1-1[_ngcontent-%COMP%]{margin:0!important;line-height:1.1}.d-inline-block-actions[_ngcontent-%COMP%]{margin-top:20px}.dropdown-menu.show[_ngcontent-%COMP%]{width:206px!important}.btn-outline-primary-b[_ngcontent-%COMP%]{color:var(--button-border);background-color:var(--button-color);border:solid 1px var(--button-border);padding:5px;margin:0 0 0 10px;font-size:14px}@keyframes _ngcontent-%COMP%_moveon{0%{background-color:var(--body-background);height:65px}to{background-color:var(--offset-two);height:45px}}@keyframes _ngcontent-%COMP%_moveoff{0%{background-color:var(--offset-two);height:45px}to{background-color:var(--body-background);height:65px}}@media screen and (min-width: 320px){.record-isbn[_ngcontent-%COMP%]{display:inline-block;width:50%}.record-available[_ngcontent-%COMP%]{display:inline-block;width:44%}}@media screen and (min-width: 768px){.record-image[_ngcontent-%COMP%]{width:200px;float:left}.record-desc[_ngcontent-%COMP%]{float:none}.record-available[_ngcontent-%COMP%]{padding-top:5px}.record-author[_ngcontent-%COMP%]{margin-top:5px;font-size:1.15em}.record-image[_ngcontent-%COMP%]{padding-top:20px}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.record-content[_ngcontent-%COMP%]{padding:10px 0 10px 25px;width:calc(100% - 210px);float:left}.record-buttons[_ngcontent-%COMP%]{width:50%;float:left}}@media screen and (min-width: 992px){.details-info[_ngcontent-%COMP%]   .slick-prev[_ngcontent-%COMP%], .details-info[_ngcontent-%COMP%]   .slick-next[_ngcontent-%COMP%]{display:none!important}.record-image[_ngcontent-%COMP%]{text-align:left;padding:5px 0 2px;width:100%}.record-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:50%;max-width:80px}.record-title[_ngcontent-%COMP%]{font-size:1.2em;margin-bottom:2px}.record-author[_ngcontent-%COMP%]{font-size:.9em}.record-isbn[_ngcontent-%COMP%]{display:block;width:initial}.record-summary[_ngcontent-%COMP%]{width:100%;float:left;padding:5px 0}.record-available[_ngcontent-%COMP%]{margin:5px 0 0;background:transparent;border-top:1px solid #f7f7f7;width:100%}.record-holds[_ngcontent-%COMP%]{margin:0;width:100%;background:transparent;border-top:1px solid #f7f7f7}.record-desc[_ngcontent-%COMP%]{width:auto}.record-content[_ngcontent-%COMP%]{font-size:1em}.record-buttons[_ngcontent-%COMP%]{width:100%}.record-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:100%}.record-category-links[_ngcontent-%COMP%]{width:auto;padding-left:15px;padding-right:15px;margin:2px 5px;font-size:.85em}.record-popup-links[_ngcontent-%COMP%]{width:auto;font-size:14px}.record-details[_ngcontent-%COMP%]{display:block;padding:0 15px}.shelf-browse[_ngcontent-%COMP%]{text-align:center}}@media screen and (min-width: 1280px){.sticky-buttons[_ngcontent-%COMP%]{display:block!important;min-width:900px!important}}.hidebuttons[_ngcontent-%COMP%]{display:none!important}.a-center-font-size[_ngcontent-%COMP%]{font-size:.7rem;text-align:center;display:block;margin:0 auto;text-decoration:none!important;padding:.3em}.border-black[_ngcontent-%COMP%]{border:1.5px solid black}.isDisabled[_ngcontent-%COMP%]{color:currentColor;cursor:not-allowed;opacity:.5;text-decoration:none}.show-more-fewer[_ngcontent-%COMP%]{cursor:pointer!important;text-decoration:underline!important;color:var(--primary)!important}.hr-lines[_ngcontent-%COMP%]{padding:0;margin-top:3px;margin-bottom:3px}.margin-left-3[_ngcontent-%COMP%]{margin-left:3px}.three[_ngcontent-%COMP%]:hover{text-decoration:underline;color:#00f;cursor:pointer}.main-link[_ngcontent-%COMP%]{color:#00f!important;cursor:pointer;text-decoration:underline!important}.holdings-label[_ngcontent-%COMP%]{vertical-align:middle;border:.3px solid lightgray;border-bottom:0;color:#a9a9a9;font-weight:600}.border-top-0[_ngcontent-%COMP%]{font-size:15px;border-top:0!important}.author-class[_ngcontent-%COMP%]{display:block!important;display:-webkit-box!important;max-width:100%;line-height:1.2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;margin-bottom:10px}.title-class[_ngcontent-%COMP%]{display:block!important;display:-webkit-box!important;max-width:90%;margin-bottom:5px;line-height:1.5;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.foundin-class[_ngcontent-%COMP%]{display:block!important;max-width:90%;margin-bottom:5px;line-height:1.5;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.buttons[_ngcontent-%COMP%]{font-size:14px!important;padding:0!important}.full-width-div[_ngcontent-%COMP%]{width:100%;left:0}.holding-details[_ngcontent-%COMP%]{text-decoration:underline!important;cursor:pointer}.color-red[_ngcontent-%COMP%]{color:red}.desktop[_ngcontent-%COMP%]{padding:20px}.staff-links-scroll[_ngcontent-%COMP%]{margin-top:5px}.staff-links-scroll-active[_ngcontent-%COMP%]{width:206px!important;max-height:135px;overflow:auto}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.staff-links-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--button-background);outline:1px solid var(--button-border)}.record-popup-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--header-color)!important}.record-popup-links[_ngcontent-%COMP%]{line-height:2;background:var(--header-background)}.record-popup-links[_ngcontent-%COMP%]:hover{color:var(--button-color)!important;background-color:var(--button-background)}.tabs-not-stick[_ngcontent-%COMP%]{width:100%;display:block;margin:20px 0;padding:0 10px;text-align:center;overflow:auto}.tabs-not-stick-back[_ngcontent-%COMP%]{float:left;top:-10px;position:relative}.staff-function-dropdown-list-holder[_ngcontent-%COMP%]{background-color:var(--button-background)}.staff-function-dropdown[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:45px}.staff-function-dropdown-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.overDriveButtons[_ngcontent-%COMP%]{max-width:206px}.pagination-wrapper[_ngcontent-%COMP%]{background:var(--header-background);color:var(--header-color);border-radius:4px}.details-external-link[_ngcontent-%COMP%]{display:inline-flex}.card-block[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-bottom:.5rem}.action-icon-button[_ngcontent-%COMP%]{background:#00000005;border:1px solid rgba(0,0,0,.12)}.action-icon-button[_ngcontent-%COMP%]:hover{background:#0000001a}"],data:{animation:[(0,re.X$)("fadeInOut",[(0,re.SB)("void",(0,re.oB)({opacity:0})),(0,re.eR)("void <=> *",(0,re.jt)(250))])]}})}return v})()},2119:(jt,$e,s)=>{"use strict";s.d($e,{aJ:()=>y,nP:()=>O});var t=s(5861),u=s(9212),e=s(4593),m=s(3941),p=s(2787),U=s(7398),n=s(9862),y=function(M){return M[M.Details=0]="Details",M[M.Where_To_Find=1]="Where_To_Find",M[M.MARC_Display=2]="MARC_Display",M[M.More_About_This_Title=3]="More_About_This_Title",M[M.GoodreadsReviews=4]="GoodreadsReviews",M[M.Syndetics_Unbound=5]="Syndetics_Unbound",M[M.Novelist=6]="Novelist",M[M.Shelf_Browse=7]="Shelf_Browse",M[M.CLCD=8]="CLCD",M}(y||{});let O=(()=>{class M{constructor(){this._apiService=(0,u.f3M)(e.s),this._configService=(0,u.f3M)(m.E),this._http=(0,u.f3M)(n.eN),this._router=(0,u.f3M)(p.F0),this.HOLDING_START_RECORD=1,this.HOLDING_NUM_OF_RECORD=1e3,this.FULLRECORDSETTING_TIMEOUT=300,this.SYNDETICS_TIMEOUT=500,this.SHELF_PAGE_SIZE=25,this.url=""}updateHoldingsDetails(A){return this.url=`${this._configService.searchApi}/holding/details/${A}`,this._apiService.get(this.url)}placeHold(A){return this.url=this._configService.agApi+"/ils/placeHold",this._apiService.post(this.url,A)}listAddItemToCart(A){return this.url=this._configService.agApi+"/List/ListAddItemToCart",this._apiService.post(this.url,A)}listAddItemToCartByAgcnAsync(A){var S=this;return(0,t.Z)(function*(){try{const Z=`${S._configService.agApi}/List/listAddItemToCartByAgcn`,oe=yield S._http.post(Z,A).toPromise();if(oe)return oe}catch(Z){console.error(`detailsService.ts:listAddItemToCartByAgcnAsync => ${Z.message}`)}return null})()}getFullDetailsBX(A){return this.url=this._configService.agApi+"/econtent/bt/GetFullDetails?titleId="+A,this._apiService.get(this.url)}checkoutBX(A){return this.url=this._configService.agApi+"/econtent/bt/Checkout",this._apiService.post(this.url,A)}addHoldBX(A){return this.url=this._configService.agApi+"/econtent/bt/AddHold",this._apiService.post(this.url,A)}removeHoldBX(A){return this.url=this._configService.agApi+"/econtent/bt/RemoveHold",this._apiService.post(this.url,A)}getZNCirculation(A,S){return this.url=A+"/AGEContentServices/json/oneway/ZinioItemDetailRequest",this._apiService.post(this.url,S)}checkoutTitleZN(A,S){return this.url=A+"/AGEContentServices/json/oneway/ZinioCheckoutIssueRequest",this._apiService.post(this.url,S)}registerUserZN(A,S){return this.url=A+"/AGEContentServices/json/oneway/ZinioCreatePatronRequest",this._apiService.post(this.url,S)}loginUserZNAsync(A,S){var Z=this;return(0,t.Z)(function*(){return Z.url=A+"/AGEContentServices/json/oneway/ZinioLoginRequest",(yield Z._http.post(Z.url,S).toPromise())||null})()}shelfBrowse(A){return this.url=this._configService.searchApi+"/Browse/ShelfBrowse",this._apiService.post(this.url,A)}getFullRecordByShard(A){return this.url=`${this._configService.searchApi}/fullrecord`,this._apiService.post(this.url,A).pipe((0,U.U)(S=>{if(S)return S;throw new Error("Unable to fetch Full Record.")}))}getFullRecordByAgcn(A){return this.url=`${this._configService.searchApi}/fullrecord/GetByAGCN`,this._apiService.post(this.url,A).pipe((0,U.U)(S=>{if(S)return S;throw new Error("Unable to fetch Full Record.")}))}getFullRecordByListItemId(A){return this.url=`${this._configService.searchApi}/fullrecord/GetByListItemId`,this._apiService.post(this.url,A).pipe((0,U.U)(S=>{if(S)return S;throw new Error("Unable to fetch Full Record.")}))}getRB(A,S){return this.url=A+"/AGEContentServices/json/oneway/RBItemFullDetailsRequest",this._apiService.post(this.url,S)}placeHoldRB(A,S){return this.url=A+"/AGEContentServices/json/oneway/RBHoldItemsRequest",this._apiService.post(this.url,S)}deleteHoldRB(A,S){return this.url=A+"/AGEContentServices/json/oneway/RBDeleteHoldRequest",this._apiService.post(this.url,S)}checkoutNowRB(A,S){return this.url=A+"/AGEContentServices/json/oneway/RBCheckoutItemRequest",this._apiService.post(this.url,S)}getCheckoutItemDetailsRB(A,S){return this.url=A+"/AGEContentServices/json/oneway/RBIsItemCheckedoutRequest",this._apiService.post(this.url,S)}renewNowRB(A,S){return this.url=A+"/AGEContentServices/json/oneway/RBRenewItemRequest",this._apiService.post(this.url,S)}returnNowRB(A,S){return this.url=A+"/AGEContentServices/json/oneway/RBCheckinRBItemRequest",this._apiService.post(this.url,S)}registerUserRB(A,S){return this.url=A+"/AGEContentServices/json/oneway/RBCreateRBPatronRequest",this._apiService.post(this.url,S)}getNovelistCredentials(){return this.url=this._configService.agApi+"/Econtent/Novelist",this._apiService.get(this.url)}getAppeals(A){return this.url=this._configService.agApi+"/Econtent/NovelistGetAppeals",this._apiService.post(this.url,A)}getSMScarriers(){return this.url=this._configService.agApi+"/email/smsCarriers",this._apiService.get(this.url)}postSMS(A){return this.url=this._configService.agApi+"/email/SendSms",this._apiService.post(this.url,A)}buildRequestPayloadFullRecordByListItemId(A,S,Z){return{listItemId:A,librarydbpoolkey:S,batchILL:Z}}buildRequestPayloadFullRecordByAgcn(A,S,Z){return{agcontrolid:A,librarydbpoolkey:S,batchILL:Z}}buildRequestPayloadFullRecordByShard(A,S){return{source:S,agcontrolid:A,hldStartRecord:this.HOLDING_START_RECORD,hldNumOfRecords:this.HOLDING_NUM_OF_RECORD}}static#e=this.\u0275fac=function(S){return new(S||M)};static#t=this.\u0275prov=u.Yz7({token:M,factory:M.\u0275fac})}return M})()},9927:(jt,$e,s)=>{"use strict";s.d($e,{M:()=>I});var t=s(5861),u=s(5175),e=s(9212),m=s(4593),p=s(4259),U=s(3941),n=s(9862);let I=(()=>{class L{constructor(O,M,E,A){this._apiService=O,this._storageService=M,this._configService=E,this._http=A,this.url="",this._pat_hld_key="_pat_hld"}setCachePatronHold(O){this._storageService.setItem(this._pat_hld_key,O)}getCachePatronHold(){if(null!==this._storageService.getItem(this._pat_hld_key))return this._storageService.getItem(this._pat_hld_key)}submitPlaceTitleReserve(O){return this.url=`${this._configService.agApi}/ils/SubmitPlaceTitleReserve`,this._apiService.post(this.url,O)}submitPlaceTitleReserveAsync(O){var M=this;return(0,t.Z)(function*(){try{M.url=`${M._configService.agApi}/ils/SubmitPlaceTitleReserve`;const E=yield M._http.post(M.url,O).toPromise();if(E)return E}catch(E){throw new Error(E.message)}return null})()}getPatronGroupAndIndex(){return this.url=`${this._configService.agApi}/ils/GetPatronGroupIndex`,this._apiService.get(this.url)}getPatrons(O){return this.url=`${this._configService.agApi}/ils/SearchPatron`,this._apiService.post(this.url,O)}getHoldInfo(O){return this.url=`${this._configService.agApi}/ils/placeHold`,this._apiService.post(this.url,O)}canPlaceHold(O,M){return O.systemCategory==u._n.VERSO&&(!!O.isStaff||O.circOption.allowSelfReserve)&&!M}canDoPlaceHoldCill(O,M,E){const A=this._storageService.getUserData(),S=A.patronBlockInfo,Z=A.illOptions.showRequestThis;let oe=this.canPlaceHold(A,M),le=Z&&A.systemCategory==u._n.VERSO&&A.illOptions.hasILL&&!M;A.isPatron&&S?.isBlockedPatron&&(oe=S.canBlockedPatronReserveItem,le=S.canBlockedPatronDoILL);const ee=O?.candoCILL;return oe&&!ee&&(!A.libraryOptions.blockReserveIfNotOwned||E>0)}allowPatronGuestReserve(){const O=this._storageService.getUserData();return!O.circOption||!O.isPatron&&!O.isGuest||O.circOption.allowSelfReserve}static#e=this.\u0275fac=function(M){return new(M||L)(e.LFG(m.s),e.LFG(p.V),e.LFG(U.E),e.LFG(n.eN))};static#t=this.\u0275prov=e.Yz7({token:L,factory:L.\u0275fac})}return L})()},4497:(jt,$e,s)=>{"use strict";s.d($e,{h:()=>y});var t=s(5861),u=s(7398),e=s(6306),m=s(9212),p=s(4593),U=s(4259),n=s(3941),I=s(9862);let y=(()=>{class O{constructor(E,A,S,Z){this._apiService=E,this._storageService=A,this._configService=S,this._http=Z,this.url="",this.filterBy="all",this.sortBy="title",this.sortByforLibs="title",this._chKey="_ch"}getCheckoutHistCached(){return this._storageService.getItem(this._chKey)}setCheckoutHistCached(E){this._storageService.setItem(this._chKey,E)}lostItems(){return this.url=this._configService.agApi+"/account/GetLostItemsByPatron",this._apiService.get(this.url)}checkoutHistory(E){return this.url=this._configService.agApi+"/account/GetCheckoutHistory?year="+E,this._apiService.get(this.url).pipe((0,u.U)(S=>S??null),(0,e.K)(S=>null))}turnOnCheckoutHistory(){return this.url=this._configService.agApi+"/account/TurnOnCheckoutHistory",this._apiService.get(this.url)}turnOffCheckoutHistory(){return this.url=this._configService.agApi+"/account/TurnOffCheckoutHistory",this._apiService.get(this.url)}downloadExcelFile(E){return this.url=this._configService.agApi+"/account/DownloadCheckoutHistory?year="+E,this._apiService.getExcelFile(this.url)}getReservedItemsUnderPatron(){const E=this._storageService.getItem("filterItemsHold")??"all",A=this._storageService.getItem("sortItemsHold")??"title";return this.url=this._configService.agApi+"/account/GetAllReservesUnderPatron?filterBy="+E+"&sortBy="+A,this._apiService.get(this.url).pipe((0,u.U)(S=>S.data))}suspendItems(E){return this.url=this._configService.agApi+"/account/SuspendReserves",this._apiService.post(this.url,E)}unSuspendItems(E){return this.url=this._configService.agApi+"/account/UnsuspendReserves",this._apiService.post(this.url,E)}cancelItems(E){return this.url=this._configService.agApi+"/account/CancelSelectedReserveItems",this._apiService.post(this.url,E)}updatePatronNotes(E){return this.url=this._configService.agApi+"/account/UpdatePatronNotes",this._apiService.post(this.url,E)}placeHoldItemsOD(E){return this.url=this._configService.agApi+"/econtent/PlaceHoldSuspension",this._apiService.post(this.url,E)}cancelHoldOD(E){return this.url=this._configService.agApi+"/econtent/RemoveHold",this._apiService.post(this.url,E)}getPatronIlsCheckedOutItems(){let E=this._storageService.getItem("filterItemsOut"),A=this._storageService.getItem("sortItemsOut");return E||(E="all"),A||(A="title"),this.url=this._configService.agApi+"/account/GetPatronIlsCheckedOutItems?filterBy="+E+"&sortBy="+A,this._apiService.get(this.url)}renewAll(){return this.url=this._configService.agApi+"/account/PatronIlsSelfRenewAll",this._apiService.post(this.url,"")}renewItem(E){return this.url=this._configService.agApi+"/account/PatronIlsSelfRenew",this._apiService.post(this.url,E)}getPatronIllRequests(){let E=this._storageService.getItem("sortOtherLibs");return E||(E="title"),this.url=this._configService.agApi+"/account/GetPatronIllRequests?sortBy="+E,this._apiService.get(this.url)}hideItemRequest(E){return this.url=this._configService.agApi+"/account/HidePatronIllRequest",this._apiService.post(this.url,E)}showPatronIllRequests(){return this.url=this._configService.agApi+"/account/ShowPatronIllRequests",this._apiService.post(this.url,"")}cancelPatronIllRequest(E){return this.url=this._configService.agApi+"/account/CancelPatronIllRequest",this._apiService.post(this.url,E)}renewPatronIllRequest(E){return this.url=this._configService.agApi+"/account/RenewPatronIllRequest",this._apiService.post(this.url,E)}updatePatronIllRequestNeedByDateAsync(E){var A=this;return(0,t.Z)(function*(){try{const S=`${A._configService.agApi}/account/UpdatePatronIllRequestNeedByDate`,Z=yield A._http.post(S,E).toPromise();if(Z&&"200 OK"==Z.status&&"success"==Z.message.toLowerCase()&&null!==Z.data)return Z.data}catch(S){console.error(`itemDetails.service:updatePatronIllRequestNeedByDateAsync => ${S.message}`)}return null})()}updatePatronIllRequestPickupLocationAsync(E){return this._apiService.post(`${this._configService.agApi}/account/UpdatePatronIllRequestPickupLocation`,E)}getFinesPayment(){return this.url=this._configService.agApi+"/account/GetFinesPayment",this._apiService.get(this.url)}getPayPalUrl(E){return this.url=this._configService.agApi+"/account/GetPayPalUrl?AmountToPay="+E,this._apiService.get(this.url)}static#e=this.\u0275fac=function(A){return new(A||O)(m.LFG(p.s),m.LFG(U.V),m.LFG(n.E),m.LFG(I.eN))};static#t=this.\u0275prov=m.Yz7({token:O,factory:O.\u0275fac})}return O})()},5374:(jt,$e,s)=>{"use strict";s.d($e,{f:()=>y});var t=s(5861),u=s(7398),e=s(9081),m=s(9212),p=s(4593),U=s(3941),n=s(9862),I=s(2787),L=s(4259);let y=(()=>{class O{constructor(E,A,S,Z,oe,le){this._apiService=E,this._configService=A,this._http=S,this._router=Z,this._sharedService=oe,this._storageService=le,this.searchReqKidsKey="_sea_req_kids",this.url="",this.kidsCatKey="kidsResults",this.kidsCatKeyOG="kidsResultsOG"}setKidsCacheSearchRequest(E){this._storageService.setItem(this.searchReqKidsKey,E)}getKidsCacheSearchRequest(){return this._storageService.getItem(this.searchReqKidsKey)}kidsCatBindingsandRouting(E,A,S=""){""!==S&&this._storageService.setItem("Search-TERM",S),this.setKidsCatalogResultsCached(E),this.setKidsCatalogResultsOriginalCached(E),this._storageService.setItem("facetFilterArray",[]);const Z=this._storageService.getCid(),oe=this._storageService.getLid();this._storageService.setBackFrmKC("/kids"),this._router.navigate(["/search",Z,oe],{queryParams:{searchId:A,startRecord:1,d:Date.now()}})}getKidsCategoriesAsync(){var E=this;return(0,t.Z)(function*(){return E.url=`${E._configService.searchApi}/kids`,yield E._http.get(E.url).toPromise()})()}getKidsCatAsync(){var E=this;return(0,t.Z)(function*(){let A=null;const S=yield E.getKidsCategoriesAsync();return S&&"OK"==S.status&&"Success"==S.message?A=S.data:E._sharedService.openSnackBar(S.message),A})()}getEachCategory(E){return this.url=this._configService.searchApi+"/kids/"+E,this._apiService.get(this.url)}performKidsSearchAsync(E){var A=this;return(0,t.Z)(function*(){A.url=`${A._configService.searchApi}/kids/search`;const S=yield A._http.post(A.url,E).toPromise();return S&&"OK"==S.status&&"Success"==S.message?S.data:(A._sharedService.openSnackBar(S.message),null)})()}performSearch(E){return this.url=`${this._configService.searchApi}/kids/search`,this._apiService.post(this.url,E).pipe((0,u.U)(A=>{if(A.data)return this.setKidsCatalogResultsCached(A.data),A.data;throw new Error(A.message)}))}setKidsCatalogResultsOriginalCached(E){this._storageService.setItem(this.kidsCatKeyOG,E)}getKidsCatalogResultsOriginalCached(){return this._storageService.getItem(this.kidsCatKeyOG)}setKidsCatalogResultsCached(E){this._storageService.setItem(this.kidsCatKey,E)}getKidsCatalogResultsCached(){return this._storageService.getItem(this.kidsCatKey)}removeKidsCatalogResultsCached(){return this._storageService.remove(this.kidsCatKey)}static#e=this.\u0275fac=function(A){return new(A||O)(m.LFG(p.s),m.LFG(U.E),m.LFG(n.eN),m.LFG(I.F0),m.LFG(e.F),m.LFG(L.V))};static#t=this.\u0275prov=m.Yz7({token:O,factory:O.\u0275fac})}return O})()},501:(jt,$e,s)=>{"use strict";s.d($e,{r:()=>u});var t=s(9212);let u=(()=>{class e{constructor(){}static#e=this.\u0275fac=function(U){return new(U||e)};static#t=this.\u0275cmp=t.Xpm({type:e,selectors:[["app-page-not-found"]],decls:3,vars:0,template:function(U,n){1&U&&(t.TgZ(0,"main")(1,"h2"),t._uU(2,"404: Page Not Found !!!"),t.qZA()())}})}return e})()},8911:(jt,$e,s)=>{"use strict";s.r($e),s.d($e,{PatronLookupModule:()=>z});var t=s(6223),u=s(6814),e=s(2787),m=s(6557),p=s(5619),U=s(8645),n=s(9081),I=s(9773),L=s(3620),y=s(9212),O=s(5175),M=s(9241),E=s(4678),A=s(4187),S=s(2400),Z=s(1438);const oe=["userField"];function le(re,B){1&re&&(y.TgZ(0,"h6",3),y._uU(1," This feature has not been enabled for you library "),y.qZA())}function ee(re,B){1&re&&(y.TgZ(0,"div",4),y._UZ(1,"mat-spinner",5),y.qZA()),2&re&&(y.xp6(),y.Q6J("diameter",25))}function K(re,B){if(1&re&&(y.TgZ(0,"h6",27),y._uU(1),y.qZA()),2&re){const Y=y.oxw(3);y.xp6(),y.Oqu(Y.instructionalText1)}}function Q(re,B){1&re&&(y.TgZ(0,"div",27)(1,"h6"),y._uU(2," Staff at participating libraries can use this tool to check the status of reciprocal borrowers at their home library. Login with the credentials provided by FMI staff, or contact "),y.TgZ(3,"a",28),y._uU(4,"support@findmoreillinois.org"),y.qZA(),y._uU(5," for help. "),y.qZA()())}function q(re,B){if(1&re&&y._UZ(0,"mat-option",30),2&re){const Y=B.$implicit;y.hYB("value","",Y.id,":",Y.name,"")("innerHTML","",Y.id,":",Y.name,"",y.oJD)}}function H(re,B){if(1&re&&(y.TgZ(0,"div"),y.YNc(1,q,1,4,"mat-option",29),y.qZA()),2&re){const Y=y.oxw(3);y.xp6(),y.Q6J("ngForOf",Y.libraries)}}function T(re,B){1&re&&(y.TgZ(0,"span",31),y._uU(1,"Submit"),y.qZA())}function ie(re,B){1&re&&(y.TgZ(0,"span",31),y._UZ(1,"i",32),y.qZA())}function _e(re,B){if(1&re){const Y=y.EpF();y.TgZ(0,"div",12),y.YNc(1,K,2,1,"h6",13)(2,Q,6,0,"div",13),y.TgZ(3,"form",14,15)(5,"div",16)(6,"mat-form-field",17)(7,"input",18),y.NdJ("ngModelChange",function(_t){y.CHM(Y);const Vt=y.oxw(2);return y.KtG(Vt.LIB=_t)}),y.qZA(),y.TgZ(8,"i",19),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.showLibList())}),y.qZA(),y.TgZ(9,"mat-autocomplete",null,20),y.YNc(11,H,2,1,"div",2),y.qZA()()(),y.TgZ(12,"mat-form-field",17),y._UZ(13,"input",21,22),y.qZA(),y.TgZ(15,"mat-form-field",17),y._UZ(16,"input",23),y.qZA(),y.TgZ(17,"div",24)(18,"button",25),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.loginSubmit())})("keyup.enter",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.loginSubmit())}),y.YNc(19,T,2,0,"span",26)(20,ie,2,0,"span",26),y.qZA()()()()}if(2&re){const Y=y.MAs(10),Qe=y.oxw(2);y.xp6(),y.Q6J("ngIf","rail"!==Qe.cid),y.xp6(),y.Q6J("ngIf","rail"===Qe.cid),y.xp6(),y.Q6J("formGroup",Qe.login),y.xp6(4),y.Q6J("placeholder","rail"!==Qe.cid?Qe.libraryDropText1:Qe.libraryDropText2)("formControl",Qe.filterLibrary)("ngModel",Qe.LIB)("matAutocomplete",Y),y.xp6(4),y.Q6J("ngIf",Qe.libraries),y.xp6(2),y.Q6J("placeholder","rail"!==Qe.cid?Qe.userNameText1:Qe.userNameText2)("title","rail"!==Qe.cid?Qe.userNameText1:Qe.userNameText2),y.xp6(3),y.Q6J("placeholder","rail"!==Qe.cid?Qe.passwordText1:Qe.passwordText2)("title","rail"!==Qe.cid?Qe.passwordText1:Qe.passwordText2),y.xp6(2),y.Q6J("disabled",!Qe.login.valid),y.xp6(),y.Q6J("ngIf",!Qe.btnLoading),y.xp6(),y.Q6J("ngIf",Qe.btnLoading)}}function Ce(re,B){if(1&re&&(y.TgZ(0,"div")(1,"div",6)(2,"div",7)(3,"div",8)(4,"div",9),y._UZ(5,"img",10),y.qZA(),y.YNc(6,_e,21,15,"div",11),y.qZA()()()()),2&re){const Y=y.oxw();y.xp6(6),y.Q6J("ngIf",Y.cid)}}let Ve=(()=>{class re{constructor(Y,Qe,_t,Vt,bn){this._authService=Y,this._fb=Qe,this._patronLookupService=_t,this._sharedService=Vt,this._router=bn,this.filterLibrary=new t.p4,this.libraries=[],this.btnLoading=!1,this._filteredLibs=new p.X(null),this._libs=[],this._libNames=[],this._unsubscribeAll=new U.x,this.instructionalText1="Please select your library and enter your username and password.",this.libraryDropText1="Type your library name or library code",this.libraryDropText2="Staff library",this.userNameText1="User Name",this.userNameText2="Staff login",this.passwordText1="Password",this.passwordText2="Staff password",this.showLookup=!1,this.loading=!0,this.showUnavailMessage=!1}ngOnInit(){this._sharedService.getUserDataBS().pipe((0,I.R)(this._unsubscribeAll)).subscribe(Y=>{Y&&(this.login=this._fb.group({user:[""],password:[""],remember:[!1]},{updateOn:"blur"}),this._userData=Y,this.cid=Y.customerId?.toLowerCase(),this._lid=Y.libraryId?.toLowerCase(),this.showLookup=Y.patronLookupToolInfo.showPatronLookupTool,this.loading=!1,this.showLookup?(this._getLibraries(this.cid),this.showUnavailMessage=!1):this.showUnavailMessage=!0,this.filterLibrary.valueChanges.pipe((0,L.b)(200)).subscribe(Qe=>{this.filterLibs(Qe)}),this._filteredLibs.subscribe(Qe=>{this.libraries=Qe}))})}ngAfterViewInit(){this.showLookup&&this.userField.nativeElement.focus()}ngOnDestroy(){this._unsubscribeAll.next(),this._unsubscribeAll.complete()}loginSubmit(){this.btnLoading=!0;let _t=this.login.value.remember;_t||(_t=!0),this._authService.login(this._buildGuestLoginData(this.login.value.user,this.login.value.password,_t)).subscribe(Vt=>{Vt.isStaff?(this.showLookup=this._userData.patronLookupToolInfo.showPatronLookupTool,this.loading=!1,this.showLookup?(this.btnLoading=!1,this.showUnavailMessage=!1,this._router.navigate(["/PatronLookupTool/info",this.cid,this._lid])):this.showUnavailMessage=!0):this.unAuthAcess()},Vt=>{this.showUnavailMessage=!1,this.btnLoading=!1,Vt instanceof Error&&this._sharedService.openSnackBar(Vt.message,"ok")})}unAuthAcess(){this.btnLoading=!1,this._sharedService.openSnackBar("Only staff members can login","ok")}go2Home(){this._router.navigate(["/"],{queryParams:{cid:this.cid,lid:this._lid}})}filterLibs(Y){const Qe=[];for(let xn=0;xn<this._libs.length;xn++){const Fn=this._libs[xn];(Fn.id.toUpperCase().includes(Y.toUpperCase())||Fn.name.toUpperCase().includes(Y.toUpperCase()))&&Qe.push(Fn)}this._filteredLibs.next(Qe);let _t=!0;const Vt=[],bn=Y;if(Y&&Y.includes(":")){for(let Fn=0;Fn<bn.length;Fn++)":"==bn.charAt(Fn)&&(_t=!1),_t&&Vt.push(bn.charAt(Fn));const xn=Vt.join("");this._lid=xn}}showLibList(){this.LIB=""}_getLibraries(Y){this._patronLookupService.getLibraries(Y).pipe((0,I.R)(this._unsubscribeAll)).subscribe(Qe=>{if("200 OK"==Qe.status){this._libs=Qe.data,this.libraries=Qe.data;for(const _t of this._libs)if(_t.id.toUpperCase()==this._lid.toUpperCase()){this.LIB=_t.id+":"+_t.name,this.loading=!1,this._libNames=[];for(let bn=0;bn<this._libs.length;bn++)this._libNames.push(this._libs[bn].name)}this.showLookup&&setTimeout(()=>{this.userField.nativeElement.focus()},2e3)}},Qe=>{console.warn("get libraries guest patron lookup tool error"),console.log(Qe)})}_buildGuestLoginData(Y,Qe,_t){return{grant_Type:"password",cid:this.cid,lid:this._lid,password:Qe,rememberMe:_t,userName:Y}}static#e=this.\u0275fac=function(Qe){return new(Qe||re)(y.Y36(O.e8),y.Y36(t.QS),y.Y36(m.E),y.Y36(n.F),y.Y36(e.F0))};static#t=this.\u0275cmp=y.Xpm({type:re,selectors:[["app-patron-lookup"]],viewQuery:function(Qe,_t){if(1&Qe&&y.Gf(oe,5),2&Qe){let Vt;y.iGM(Vt=y.CRH())&&(_t.userField=Vt.first)}},features:[y._Bn([{provide:y.QbO,useValue:"BrowserAnimations"}])],decls:4,vars:3,consts:[["style","margin-top: 30px; margin-bottom: 30px; text-align: center",4,"ngIf"],["class","text-center","style","width: 100%; position: relative; height: 250px; vertical-align: middle; top: 45%",4,"ngIf"],[4,"ngIf"],[2,"margin-top","30px","margin-bottom","30px","text-align","center"],[1,"text-center",2,"width","100%","position","relative","height","250px","vertical-align","middle","top","45%"],["strokeWidth","3","color","accent",2,"display","inline-block","position","relative","margin-top","5em",3,"diameter"],[1,"login-background"],[1,"login-form","col-12","col-sm-10","col-md-8","col-lg-6","offset-sm-1","offset-md-2","offset-lg-3"],[1,"card","login-card"],["id","tabs-container"],["src","./assets/images/patron-lookup-demo.png","alt","patron lookup image"],["class","card-block",4,"ngIf"],[1,"card-block"],["style","margin-bottom: 30px",4,"ngIf"],["autocomplete","off",1,"form-horizontal",3,"formGroup"],["loginForm",""],["id","lib-dropdown"],[1,"clearfix",2,"width","100%"],["id","searchBox","type","text","title","Choose Library","matInput","",3,"placeholder","formControl","ngModel","matAutocomplete","ngModelChange"],["aria-hidden","true",1,"fa","fa-chevron-down","d-inline-block","pointer",3,"click"],["auto","matAutocomplete"],["autofocus","","type","text","matInput","","formControlName","user","autocomplete","nope",3,"placeholder","title"],["userField",""],["type","password","matInput","","formControlName","password","autocomplete","nope-again",3,"placeholder","title"],[1,"text-end","clearfix"],["role","button","type","button","aria-label","Submit",1,"btn","btn-primary",3,"disabled","click","keyup.enter"],["style","width: 175px",4,"ngIf"],[2,"margin-bottom","30px"],["href","mailto:support@findmoreillinois.org"],[3,"value","innerHTML",4,"ngFor","ngForOf"],[3,"value","innerHTML"],[2,"width","175px"],[1,"fa","fa-spinner","fa-pulse","fa-fw"]],template:function(Qe,_t){1&Qe&&(y.TgZ(0,"main"),y.YNc(1,le,2,0,"h6",0)(2,ee,2,1,"div",1)(3,Ce,7,1,"div",2),y.qZA()),2&Qe&&(y.xp6(),y.Q6J("ngIf",_t.showUnavailMessage&&!_t.showLookup),y.xp6(),y.Q6J("ngIf",_t.loading&&_t.showLookup),y.xp6(),y.Q6J("ngIf",!_t.loading&&_t.showLookup))},dependencies:[u.sg,u.O5,t._Y,t.Fj,t.JJ,t.JL,M.VN,M.QJ,E.CK,A.v_,S.k0,Z.sN,t.oH,t.sg,t.u],styles:[".login-form[_ngcontent-%COMP%]{min-height:79vh}.login-card[_ngcontent-%COMP%]{margin-top:10vh;margin-bottom:10vh;width:100%;max-width:600px;box-shadow:0 3px 5px var(--box-shadows)}.card-block[_ngcontent-%COMP%]{flex:1 1 auto;padding:1.25rem}.card[_ngcontent-%COMP%]{color:var(--body-color)!important;background:#fff!important}.card-title[_ngcontent-%COMP%]{margin-bottom:1.75rem}.forgot-password[_ngcontent-%COMP%]{display:inline-block;padding:3px;text-decoration:underline!important;cursor:pointer}.forgot-password[_ngcontent-%COMP%]:hover, .forgot-password[_ngcontent-%COMP%]:focus{color:var(--secondary)!important}#lib-dropdown[_ngcontent-%COMP%]   .mat-input-element[_ngcontent-%COMP%]{width:calc(100% - 30px)!important}.fa-chevron-down[_ngcontent-%COMP%]{float:right;position:relative;color:var(--link)}#tabs-container[_ngcontent-%COMP%]{width:20%;height:30%;position:relative;margin:2em 0 .5em}"]})}return re})();var ae=s(501),pe=s(9993),Ae=s(4505),Ze=s(9488),dt=s(9025),Fe=s(4021),Xe=s(6177),Ie=s(7592),W=s(5616),we=s(3305),P=s(617),V=s(3176),Se=s(110),G=s(6718),be=s(1335),de=s(965),De=s(1036),tt=s(1798),Re=s(2651),Ft=s(4433),mt=s(1830),sn=s(1865),hn=s(3566),Nn=s(1545),Jt=s(2214),cn=s(8615),He=s(1274),fe=s(481),Ne=s(4259);const $=["libdropdown"],Ee=["libdropdown2"];function Ge(re,B){1&re&&(y.TgZ(0,"div",2),y._UZ(1,"mat-spinner",3),y.qZA()),2&re&&(y.xp6(),y.Q6J("diameter",25))}function Ke(re,B){if(1&re&&(y.TgZ(0,"h6",28),y._uU(1),y.qZA()),2&re){const Y=y.oxw(3);y.xp6(),y.hij(" ",Y.instructionalText1," ")}}function Et(re,B){1&re&&(y.TgZ(0,"div",28)(1,"h6"),y._uU(2," Select the patron\u2019s library then enter their barcode. Valid patron barcodes will not be found unless their home library is selected. "),y._UZ(3,"br")(4,"br"),y._uU(5," If a patron\u2019s library is not listed in the following drop down menu, call their library for their status and ask them to contact "),y.TgZ(6,"a",29),y._uU(7,"info@findmoreillinois.org"),y.qZA(),y._uU(8," to join this service. "),y.qZA()())}function Tt(re,B){if(1&re&&y._UZ(0,"mat-option",31),2&re){const Y=B.$implicit;y.hYB("value","",Y.id,":",Y.name,"")("innerHTML","",Y.id,":",Y.name,"",y.oJD)}}function tn(re,B){if(1&re&&(y.TgZ(0,"div"),y.YNc(1,Tt,1,4,"mat-option",30),y.qZA()),2&re){const Y=y.oxw(3);y.xp6(),y.Q6J("ngForOf",Y.libraries)}}function rn(re,B){1&re&&(y.TgZ(0,"span",32),y._uU(1,"Submit"),y.qZA())}function Nt(re,B){1&re&&(y.TgZ(0,"span",32),y._UZ(1,"i",33),y.qZA())}function ft(re,B){if(1&re){const Y=y.EpF();y.TgZ(0,"div",7)(1,"div",8)(2,"div",9)(3,"button",10),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.onLogout())}),y._uU(4," Logout "),y.qZA(),y.TgZ(5,"div",11),y._UZ(6,"img",12),y.qZA(),y.TgZ(7,"div",13),y.YNc(8,Ke,2,1,"h6",14)(9,Et,9,0,"div",14),y.TgZ(10,"form",15,16)(12,"div",17)(13,"mat-form-field",18)(14,"input",19,20),y.NdJ("ngModelChange",function(_t){y.CHM(Y);const Vt=y.oxw(2);return y.KtG(Vt.library=_t)}),y.qZA(),y.TgZ(16,"i",21),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.showLibList())}),y.qZA(),y.TgZ(17,"mat-autocomplete",null,22),y.YNc(19,tn,2,1,"div",1),y.qZA()()(),y.TgZ(20,"mat-form-field",18),y._UZ(21,"input",23),y.qZA(),y.TgZ(22,"div",24)(23,"button",25),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.interSubmit())})("keyup.enter",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.interSubmit())}),y.YNc(24,rn,2,0,"span",26)(25,Nt,2,0,"span",26),y.qZA(),y.TgZ(26,"button",27),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.firstCancel())}),y._uU(27," Cancel "),y.qZA()()()()()()()}if(2&re){const Y=y.MAs(18),Qe=y.oxw(2);y.xp6(8),y.Q6J("ngIf","rail"!==Qe.cid.toLowerCase()),y.xp6(),y.Q6J("ngIf","rail"===Qe.cid.toLowerCase()),y.xp6(),y.Q6J("formGroup",Qe.intermediateForm),y.xp6(4),y.Q6J("placeholder","rail"!==Qe.cid.toLowerCase()?Qe.libraryDropText1:Qe.libraryDropText2)("title","rail"!==Qe.cid.toLowerCase()?Qe.libraryDropText1:Qe.libraryDropText2)("formControl",Qe.filterLibrary)("ngModel",Qe.library)("matAutocomplete",Y),y.xp6(5),y.Q6J("ngIf",Qe.libraries),y.xp6(2),y.Q6J("placeholder","rail"!==Qe.cid.toLowerCase()?Qe.userNameText1:Qe.userNameText2)("title","rail"!==Qe.cid.toLowerCase()?Qe.userNameText1:Qe.userNameText2),y.xp6(2),y.Q6J("disabled",!Qe.intermediateForm.valid&&!Qe.userData.isStaff),y.xp6(),y.Q6J("ngIf",!Qe.btnLoading),y.xp6(),y.Q6J("ngIf",Qe.btnLoading)}}function Bt(re,B){1&re&&(y.TgZ(0,"span",32),y._uU(1,"Submit"),y.qZA())}function Ue(re,B){1&re&&(y.TgZ(0,"span",32),y._UZ(1,"i",33),y.qZA())}function nt(re,B){if(1&re){const Y=y.EpF();y.TgZ(0,"div",34)(1,"div",8)(2,"div",9)(3,"div",11),y._UZ(4,"img",12),y.qZA(),y.TgZ(5,"div",13)(6,"h6",28),y._uU(7),y.qZA(),y.TgZ(8,"form",15,35)(10,"mat-form-field",18),y._UZ(11,"input",36,37),y.qZA(),y.TgZ(13,"div",24)(14,"button",25),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.ultimateSubmit())})("keyup.enter",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.ultimateSubmit())}),y.YNc(15,Bt,2,0,"span",26)(16,Ue,2,0,"span",26),y.qZA(),y.TgZ(17,"button",27),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(2);return y.KtG(_t.secondCancel())}),y._uU(18," Cancel "),y.qZA()()()()()()()}if(2&re){const Y=y.oxw(2);y.xp6(7),y.Oqu(Y.interimText1),y.xp6(),y.Q6J("formGroup",Y.ultimateForm),y.xp6(3),y.Q6J("placeholder",Y.interimText2),y.xp6(3),y.Q6J("disabled",!Y.ultimateForm.valid),y.xp6(),y.Q6J("ngIf",!Y.btnLoading),y.xp6(),y.Q6J("ngIf",Y.btnLoading)}}function Ye(re,B){if(1&re&&(y.TgZ(0,"h5"),y._uU(1),y.qZA()),2&re){const Y=y.oxw(5);y.xp6(),y.hij(" ",null==Y.PatronCheck?null:Y.PatronCheck.standingMessage," ")}}function zt(re,B){if(1&re&&(y.TgZ(0,"h5"),y._uU(1),y.qZA()),2&re){const Y=y.oxw(5);y.xp6(),y.hij(" ",Y.patronStatusText1," ")}}function $t(re,B){if(1&re&&(y.TgZ(0,"h5"),y._uU(1),y.qZA()),2&re){const Y=y.oxw(5);y.xp6(),y.hij(" ",null==Y.PatronCheck?null:Y.PatronCheck.standingMessage," ")}}function Mn(re,B){if(1&re&&(y.TgZ(0,"h5"),y._uU(1),y.qZA()),2&re){const Y=y.oxw(5);y.xp6(),y.hij(" Expiration Date: ",null==Y.PatronCheck?null:Y.PatronCheck.expireDate," ")}}function Wn(re,B){1&re&&(y.TgZ(0,"h5"),y._uU(1,"Expiration Date: Not Available"),y.qZA())}function di(re,B){if(1&re){const Y=y.EpF();y.TgZ(0,"div",13),y.YNc(1,Ye,2,1,"h5",1)(2,zt,2,1,"h5",1)(3,$t,2,1,"h5",1)(4,Mn,2,1,"h5",1)(5,Wn,2,0,"h5",1),y.TgZ(6,"div",24)(7,"button",41),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(4);return y.KtG(_t.close())}),y._uU(8),y.qZA()()()}if(2&re){const Y=y.oxw(4);y.xp6(),y.Q6J("ngIf","patron is in good standing."===(null==Y.PatronCheck?null:Y.PatronCheck.standingMessage.toLowerCase().trim())&&"rail"!==Y.cid.toLowerCase()),y.xp6(),y.Q6J("ngIf","patron is in good standing."===(null==Y.PatronCheck?null:Y.PatronCheck.standingMessage.toLowerCase().trim())&&"rail"===Y.cid.toLowerCase()),y.xp6(),y.Q6J("ngIf","patron is in good standing."!==(null==Y.PatronCheck?null:Y.PatronCheck.standingMessage.toLowerCase().trim())),y.xp6(),y.Q6J("ngIf",""!==(null==Y.PatronCheck?null:Y.PatronCheck.expireDate)),y.xp6(),y.Q6J("ngIf",""===(null==Y.PatronCheck?null:Y.PatronCheck.expireDate)),y.xp6(3),y.hij(" ","rail"!==Y.cid.toLowerCase()?Y.closeButtonText1:Y.closeButtonText2," ")}}function Pt(re,B){if(1&re&&(y.TgZ(0,"h5"),y._uU(1),y.qZA()),2&re){const Y=y.oxw(5);y.xp6(),y.hij(" ",null==Y.PatronCheck?null:Y.PatronCheck.standingMessage," ")}}function Xt(re,B){if(1&re&&(y.TgZ(0,"h5"),y._uU(1),y.qZA()),2&re){const Y=y.oxw(5);y.xp6(),y.hij(" ",Y.patronStatusText2," ")}}function Le(re,B){if(1&re&&(y.TgZ(0,"h5"),y._uU(1),y.qZA()),2&re){const Y=y.oxw(5);y.xp6(),y.hij(" ",null==Y.PatronCheck?null:Y.PatronCheck.standingMessage," ")}}function ue(re,B){if(1&re&&(y.TgZ(0,"h5"),y._uU(1),y.qZA()),2&re){const Y=y.oxw(5);y.xp6(),y.hij(" Expiration Date: ",null==Y.PatronCheck?null:Y.PatronCheck.expireDate," ")}}function X(re,B){1&re&&(y.TgZ(0,"h5"),y._uU(1,"Expiration Date: Not Available"),y.qZA())}function xe(re,B){if(1&re){const Y=y.EpF();y.TgZ(0,"div",13),y.YNc(1,Pt,2,1,"h5",1)(2,Xt,2,1,"h5",1)(3,Le,2,1,"h5",1)(4,ue,2,1,"h5",1)(5,X,2,0,"h5",1),y.TgZ(6,"div",24)(7,"button",41),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(4);return y.KtG(_t.close())}),y._uU(8),y.qZA()()()}if(2&re){const Y=y.oxw(4);y.xp6(),y.Q6J("ngIf","patron is not in good standing."===(null==Y.PatronCheck?null:Y.PatronCheck.standingMessage.toLowerCase().trim())&&"rail"!==Y.cid.toLowerCase()),y.xp6(),y.Q6J("ngIf","patron is not in good standing."===(null==Y.PatronCheck?null:Y.PatronCheck.standingMessage.toLowerCase().trim())&&"rail"===Y.cid.toLowerCase()),y.xp6(),y.Q6J("ngIf","patron is not in good standing."!==(null==Y.PatronCheck?null:Y.PatronCheck.standingMessage.toLowerCase().trim())),y.xp6(),y.Q6J("ngIf",""!==(null==Y.PatronCheck?null:Y.PatronCheck.expireDate)),y.xp6(),y.Q6J("ngIf",""===(null==Y.PatronCheck?null:Y.PatronCheck.expireDate)),y.xp6(3),y.hij(" ","rail"!==Y.cid.toLowerCase()?Y.closeButtonText1:Y.closeButtonText2," ")}}function et(re,B){if(1&re){const Y=y.EpF();y.TgZ(0,"div",8)(1,"div",9)(2,"button",10),y.NdJ("click",function(){y.CHM(Y);const _t=y.oxw(3);return y.KtG(_t.onLogout())}),y._uU(3," Logout "),y.qZA(),y.TgZ(4,"div",11),y._UZ(5,"img",12),y.qZA(),y.YNc(6,di,9,6,"div",40)(7,xe,9,6,"div",40),y.qZA()()}if(2&re){const Y=y.oxw(3);y.xp6(6),y.Q6J("ngIf",null==Y.PatronCheck?null:Y.PatronCheck.goodStanding),y.xp6(),y.Q6J("ngIf",!(null!=Y.PatronCheck&&Y.PatronCheck.goodStanding))}}function j(re,B){if(1&re&&(y.TgZ(0,"div",38),y.YNc(1,et,8,2,"div",39),y.qZA()),2&re){const Y=y.oxw(2);y.xp6(),y.Q6J("ngIf",Y.PatronCheck)}}function F(re,B){if(1&re&&(y.TgZ(0,"div"),y.YNc(1,ft,28,14,"div",4)(2,nt,19,6,"div",5)(3,j,2,1,"div",6),y.qZA()),2&re){const Y=y.oxw();y.xp6(),y.Q6J("ngIf",Y.interDiv&&!Y.ultimateDiv&&!Y.PatronCheck&&Y.cid),y.xp6(),y.Q6J("ngIf",!Y.interDiv&&Y.ultimateDiv&&!Y.PatronCheck&&Y.cid),y.xp6(),y.Q6J("ngIf",!Y.interDiv&&!Y.ultimateDiv&&Y.PatronCheck)}}let N=(()=>{class re{constructor(Y,Qe,_t,Vt,bn,xn){this._activatedRoute=Y,this._fb=Qe,this._patronLookupService=_t,this._sharedService=Vt,this._router=bn,this._storageService=xn,this.showInfo=!0,this.loading=!0,this.filterLibrary=new t.p4,this.libraries=[],this.library="",this.instructionalText1="Please select patron's library and enter patron's barcode",this.libraryDropText1="Type your library name or library code",this.libraryDropText2="Patron library",this.userNameText1="Patron's barcode",this.userNameText2="Patron barcode",this.interimText1="Please enter patron's PIN/password.",this.interimText2="Patron PIN/password",this.closeButtonText1="Close",this.closeButtonText2="Check another patron",this.patronStatusText1="Patron status: Okay",this.patronStatusText2="Patron status: Blocked",this._filteredLibraries=new p.X(null),this._libs=[],this.interDiv=!0,this.ultimateDiv=!1,this.btnLoading=!1}ngOnInit(){this._activatedRoute.params.subscribe(Y=>{this.cid=Y.cid,this._lid=Y.lid,this.userData=this._getUserData(),this._buildIntermediateForm(),this._buildUltimateForm(),this._userDataSubscription=this._sharedService.getUserDataBS().subscribe(Qe=>{null!=Qe?this._getInfo():this.cid&&this._lid?this._router.navigate(["/PatronLookupTool"],{queryParams:{cid:this.cid,lid:this._lid}}):(!this.cid||!this._lid)&&this._router.navigateByUrl("/PatronLookupTool/404")}),this.filterLibrary.valueChanges.pipe((0,L.b)(200)).subscribe(Qe=>{this.filterLibs(Qe)}),this._filteredLibraries.subscribe(Qe=>{this.libraries=Qe})})}ngAfterViewInit(){setTimeout(()=>{this._focusOndrop()},1e3)}ngOnDestroy(){this._userDataSubscription&&this._userDataSubscription.unsubscribe(),this._patronCheckSubscription&&this._patronCheckSubscription.unsubscribe(),this.PatronCheck=void 0}onLogout(){this._router.navigate(["/PatronLookupTool"],{queryParams:{cid:this.cid,lid:this._lid}})}showLibList(){this.library=""}firstCancel(){this._router.navigate(["/PatronLookupTool"],{queryParams:{cid:this.cid,lid:this._lid}})}secondCancel(){this.interDiv=!0,this.ultimateDiv=!1,this.PatronCheck=!1}close(){if(this._resetIntermediateForm(),this._resetUlitmateForm(),this.userData){let Y=0;this.userData.isStaff&&(Y=1),this.userData.isPatron&&(Y=2),this.userData.isGuest&&(Y=3),1==Y?this.secondCancel():this.firstCancel()}else this.firstCancel();setTimeout(()=>{this._focusOnDropdown()},1500)}ultimateSubmit(){this.btnLoading=!0,this._patronCheckSubscription=this._patronLookupService.postCheck({LPK:this._interObj.LPK,Username:this._interObj.Username,Password:this.ultimateForm.value.password}).subscribe(Qe=>{this.btnLoading=!1,"200 OK"==Qe.status?(this.PatronCheck=Qe.data,this.interDiv=!1,this.ultimateDiv=!1):this._sharedService.openSnackBar(Qe.message,"ok")})}interSubmit(){if(/\S/.test(this.intermediateForm.value.user)){this.btnLoading=!0;let Qe=!0;const _t=[],Vt=this.filterLibrary.value;for(let Ot=0;Ot<Vt.length;Ot++)":"==Vt.charAt(Ot)&&(Qe=!1),Qe&&_t.push(Vt.charAt(Ot));const bn=_t.join(""),xn=this._infoResponse.libraries.slice();this.btnLoading=!1;for(let Ot=0;Ot<xn.length;Ot++){const En=xn[Ot];En.id.toUpperCase()==bn.toUpperCase()&&(this._lpk=En.lpk)}const Fn={LPK:this._lpk,Username:this.intermediateForm.value.user};""!=Fn.LPK&&""!=Fn.Username&&(this._patronLookupService.setIntermediateBS(Fn),this._interObj=Fn,this.interDiv=!1,this.ultimateDiv=!0),setTimeout(()=>{this._focusOnDropdown()},1500)}else this.btnLoading=!1,this._sharedService.openSnackBar("please enter a barcode","ok")}_focusOnDropdown(){this.libdropdown2&&this.libdropdown2.nativeElement.focus()}filterLibs(Y){const Qe=[];for(let _t=0;_t<this._libs.length;_t++){const Vt=this._libs[_t];(Vt.id.toUpperCase().includes(Y.toUpperCase())||Vt.name.toUpperCase().includes(Y.toUpperCase()))&&Qe.push(Vt)}this._filteredLibraries.next(Qe)}_focusOndrop(){this.libdropdown&&this.libdropdown.nativeElement.focus()}_resetUlitmateForm(){this.ultimateForm&&this.ultimateForm.reset()}_getUserData(){return this._storageService.getUserData()}_resetIntermediateForm(){this.library="",this.intermediateForm&&this.intermediateForm.reset()}_buildIntermediateForm(){this.intermediateForm=this._fb.group({user:[""]})}_buildUltimateForm(){this.ultimateForm=this._fb.group({password:[""]})}_getInfo(){this._patronLookupService.getInfo().subscribe(Y=>{"200 OK"==Y.status?(this._infoResponse=Y.data,this._infoResponse.active?(this.showInfo=!0,this.loading=!1,this.libraries=this._infoResponse.libraries,this._libs=this._infoResponse.libraries):(this._sharedService.openSnackBar(Y.data.errorMessage,"ok"),this.showInfo=!1,this.loading=!1)):(this._sharedService.openSnackBar(Y.message,"ok"),this.showInfo=!1,this.loading=!1)},Y=>{this.loading=!1})}static#e=this.\u0275fac=function(Qe){return new(Qe||re)(y.Y36(e.gz),y.Y36(t.QS),y.Y36(m.E),y.Y36(n.F),y.Y36(e.F0),y.Y36(Ne.V))};static#t=this.\u0275cmp=y.Xpm({type:re,selectors:[["app-patron-get-list-info"]],viewQuery:function(Qe,_t){if(1&Qe&&(y.Gf($,5),y.Gf(Ee,5)),2&Qe){let Vt;y.iGM(Vt=y.CRH())&&(_t.libdropdown=Vt.first),y.iGM(Vt=y.CRH())&&(_t.libdropdown2=Vt.first)}},features:[y._Bn([{provide:y.QbO,useValue:"BrowserAnimations"}])],decls:3,vars:2,consts:[["class","text-center","style","width: 100%; position: relative; height: 250px; vertical-align: middle; top: 45%",4,"ngIf"],[4,"ngIf"],[1,"text-center",2,"width","100%","position","relative","height","250px","vertical-align","middle","top","45%"],["strokeWidth","3","color","accent",2,"display","inline-block","position","relative","margin-top","5em",3,"diameter"],["class","login-background div1",4,"ngIf"],["class","login-background div2",4,"ngIf"],["class","login-background div3",4,"ngIf"],[1,"login-background","div1"],[1,"login-form","col-12","col-sm-10","col-md-8","col-lg-6","offset-sm-1","offset-md-2","offset-lg-3"],[1,"card","login-card"],["type","button",1,"btn","btn-link","logout-button",3,"click"],["id","tabs-container"],["src","./assets/images/patron-lookup-demo.png","alt","patron lookup image"],[1,"card-block"],["style","margin-bottom: 30px",4,"ngIf"],["autocomplete","off",1,"form-horizontal",3,"formGroup"],["interForm",""],["id","lib-dropdown"],[1,"clearfix",2,"width","100%"],["autofocus","","id","searchBox","type","text","matInput","",3,"placeholder","title","formControl","ngModel","matAutocomplete","ngModelChange"],["libdropdown",""],["aria-hidden","true",1,"fa","fa-chevron-down","d-inline-block","pointer",3,"click"],["auto","matAutocomplete"],["type","text","matInput","","formControlName","user","autocomplete","nope",3,"placeholder","title"],[1,"text-end","clearfix"],["role","button","aria-label","Submit","type","button",1,"btn","btn-primary",3,"disabled","click","keyup.enter"],["style","width: 175px",4,"ngIf"],["role","button","aria-label","Cancel","type","button",1,"btn","btn-link","margin-0-10",3,"click"],[2,"margin-bottom","30px"],["href","mailto:info@findmoreillinois.org"],[3,"value","innerHTML",4,"ngFor","ngForOf"],[3,"value","innerHTML"],[2,"width","175px"],[1,"fa","fa-spinner","fa-pulse","fa-fw"],[1,"login-background","div2"],["ultiForm",""],["autofocus","","type","password","matInput","","formControlName","password","title","Password","autocomplete","nope",3,"placeholder"],["libdropdown2",""],[1,"login-background","div3"],["class","login-form col-12 col-sm-10 col-md-8 col-lg-6 offset-sm-1 offset-md-2 offset-lg-3",4,"ngIf"],["class","card-block",4,"ngIf"],["role","button","aria-label","Close","type","button",1,"btn","btn-link","margin-0-10",3,"click"]],template:function(Qe,_t){1&Qe&&(y.TgZ(0,"main"),y.YNc(1,Ge,2,1,"div",0)(2,F,4,3,"div",1),y.qZA()),2&Qe&&(y.xp6(),y.Q6J("ngIf",_t.loading),y.xp6(),y.Q6J("ngIf",_t.showInfo&&!_t.loading&&_t.userData.isStaff))},dependencies:[u.sg,u.O5,t._Y,t.Fj,t.JJ,t.JL,M.VN,M.QJ,E.CK,A.v_,S.k0,Z.sN,t.oH,t.sg,t.u],styles:[".login-form[_ngcontent-%COMP%]{min-height:79vh}.login-card[_ngcontent-%COMP%]{margin-top:10vh;margin-bottom:10vh;width:100%;max-width:600px;box-shadow:0 3px 5px var(--box-shadows)}.card-block[_ngcontent-%COMP%]{flex:1 1 auto;padding:1.25rem}.card[_ngcontent-%COMP%]{color:var(--body-color)!important;background:#fff!important}.card-title[_ngcontent-%COMP%]{margin-bottom:1.75rem}.forgot-password[_ngcontent-%COMP%]{display:inline-block;padding:3px;text-decoration:underline!important;cursor:pointer}.forgot-password[_ngcontent-%COMP%]:hover, .forgot-password[_ngcontent-%COMP%]:focus{color:var(--secondary)!important}#lib-dropdown[_ngcontent-%COMP%]   .mat-input-element[_ngcontent-%COMP%]{width:calc(100% - 30px)!important}.fa-chevron-down[_ngcontent-%COMP%]{float:right;position:relative;color:var(--link)}#tabs-container[_ngcontent-%COMP%]{width:20%;height:30%;position:relative;margin:2em 0 .5em}.logout-button[_ngcontent-%COMP%]{width:80px;text-align:center;margin-left:85%;margin-top:5px;border:1px solid lightgray}"]})}return re})();var k=s(3680);const ne=[{path:"",component:Ve},{path:"login",component:Ve},{path:"info/:cid/:lid",component:N},{path:"404",component:ae.r},{path:"**",component:ae.r}];let z=(()=>{class re{static#e=this.\u0275fac=function(Qe){return new(Qe||re)};static#t=this.\u0275mod=y.oAB({type:re});static#n=this.\u0275inj=y.cJS({imports:[u.ez,t.u5,M.D8,Ae.yu,Ze.vV,dt.IF,Fe.Zh,Xe.yD,Ie.yj,W.FA,we.To,A.wp,P.Ps,V.N6,S.x4,Se.gR,G.jT,be.gf,de.jc,Z.UK,De.Xo,tt.uw,Re.SJ,Ft.XF,mt.Wd,sn.y,hn.JX,Nn.T5,Jt.U5,cn.Nn,He.g0,fe.AA,k.XK,pe.IJ,t.UX,e.Bz.forChild(ne),u.ez,M.D8,Ae.yu,Ze.vV]})}return re})()},6557:(jt,$e,s)=>{"use strict";s.d($e,{E:()=>M});var t=s(5619),u=s(7895),e=s(9081),m=s(7398),p=s(6306),U=s(5175),n=s(8504),I=s(9212),L=s(4593),y=s(3941),O=s(4259);let M=(()=>{class E{constructor(S,Z,oe,le,ee,K){this._apiService=S,this._authService=Z,this._configService=oe,this._searchService=le,this._sharedService=ee,this._storageService=K,this.userData$=new t.X(null),this.token$=new t.X(null),this.intermediate$=new t.X(null),this.key2="userData",this.token="",this.url=""}getLibraries(S){return this.url=this._configService.agApi+"/patronlookup/getlibraries/"+S,this._apiService.get(this.url).pipe((0,p.K)(Z=>(0,n._)(Z)))}getInfo(){return this.url=this._configService.agApi+"/patronlookup/getinfo",this._apiService.get(this.url).pipe((0,m.U)(S=>S),(0,p.K)(S=>(0,n._)(S)))}postCheck(S){return this.url=this._configService.agApi+"/patronlookup/check",this._apiService.post(this.url,S).pipe((0,p.K)(Z=>(0,n._)(Z)))}getIntermediateBS(){return this.intermediate$.asObservable()}setIntermediateBS(S){this.intermediate$.next(S)}static#e=this.\u0275fac=function(Z){return new(Z||E)(I.LFG(L.s),I.LFG(U.e8),I.LFG(y.E),I.LFG(u.oD),I.LFG(e.F),I.LFG(O.V))};static#t=this.\u0275prov=I.Yz7({token:E,factory:E.\u0275fac})}return E})()},7989:(jt,$e,s)=>{"use strict";s.d($e,{q:()=>I});var t=s(5861),u=s(7398),e=s(9212),m=s(2787),p=s(4593),U=s(3941),n=s(9862);let I=(()=>{class L{constructor(O,M,E,A){this._router=O,this._apiService=M,this._configService=E,this._http=A}IllFormEditGetData(O){return this._apiService.post(this._configService.agApi+"/illrequest/IllFormEditGetData",O)}IllFormEditSaveData(O){return this._apiService.post(this._configService.agApi+"/illrequest/IllFormEditSaveData",O)}illFormEditSaveDataAsync(O){var M=this;return(0,t.Z)(function*(){try{const E=`${M._configService.agApi}/illrequest/IllFormEditSaveData`,A=yield M._http.post(E,O).toPromise();if(A&&"200 OK"==A.status&&"success"==A.message.toLowerCase())return A}catch(E){throw new Error(E.message)}return null})()}illFormEditSaveNewConfigAsync(O){return this._apiService.post(`${this._configService.agApi}/illrequest/IllFormEditSaveNewConfig`,O)}getNewConfig(){return this._apiService.get(`${this._configService.agApi}/illrequest/IllFormEditGetNewConfig`).pipe((0,u.U)(M=>{if(M?.data&&"200 OK"==M.status&&"success"==M.message.toLowerCase())return M.data;throw new Error(M.message)}))}go2IllReqEdit(O,M,E){this._router.navigate(["/request-edit"],{queryParams:{requestFormType:E,agControlId:O,recordId:M,id:Date.now()}})}static#e=this.\u0275fac=function(M){return new(M||L)(e.LFG(m.F0),e.LFG(p.s),e.LFG(U.E),e.LFG(n.eN))};static#t=this.\u0275prov=e.Yz7({token:L,factory:L.\u0275fac})}return L})()},1082:(jt,$e,s)=>{"use strict";s.d($e,{Ld:()=>A,X0:()=>E,i8:()=>S,sm:()=>Z});var t=s(5861),u=s(5175),e=s(9081),m=s(8377),p=s(7398),U=s(102),n=s(9212),I=s(4593),L=s(3941),y=s(4259),O=s(2359),M=function(oe){return oe.Start_Lender_List="startLenderList",oe.Stop_Lender_List="stopLenderList",oe.IllLenders="illLenders",oe.IllBuildStatus="illBuildStatus",oe}(M||{}),E=function(oe){return oe.Finished="finished",oe.Stopped="Stopped",oe}(E||{});const A={ILL_REQUEST:"illRequest",RECORD:"record",OPEN:"open",BLANK:"blank",LOAN:"loan",COPY:"copy",HOLDING_ID:"holdingId",RTI:"RTI",REDIRECT_URL:"redirect_url"};var S=function(oe){return oe[oe.PatronStatus=0]="PatronStatus",oe[oe.IllLimit=1]="IllLimit",oe}(S||{});let Z=(()=>{class oe{constructor(ee,K,Q,q,H,T,ie,_e){this._authService=ee,this._apiService=K,this._configService=Q,this._sharedService=q,this._storageService=H,this._routingService=T,this._tokenService=ie,this._webSocketService=_e,this.BINDING_LENDER_TIME=100,this.POLLING_INTERNVAL=1500,this.copyRightText='WARNING CONCERNING COPYRIGHT RESTRICTIONS: The copyright law of the United States (Title 17, United States Code) governs the making of photocopies or other reproductions of copyrighted material. Under certain conditions specified in the law, libraries and archives are authorized to furnish a photocopy or other reproduction. One of these specified conditions is that the photocopy or other reproduction is not to be "used for any purpose other than private study, scholarship, or research". If a user makes a request for, or later uses, a photocopy or reproduction for purposes in excess of "fair use", that user may be liable for copyright infringement. <BR>This institution reserves the right to refuse to accept a copying order if, in its judgment, fulfillment of the order would involve violation of copyright.  <BR>Click YES if you agree, or Cancel if you do not agree.',this._illRequestUrl=`${this._configService.agApi}/illrequest`,this._webSocket=this._webSocketService.newInstance(),this._sharedService.getLoginStatusBS().subscribe(Ce=>{Ce==e.P.LOGOUT?this._webSocket?.stop().subscribe(()=>"stopping ill websocket"):Ce==e.P.SUCCESSFUL&&this._webSocket.start(`${this._configService.agApiWebSocketUrl}/ill`,{accessTokenFactory:()=>this._tokenService.getResourceSharingToken()??this._tokenService.getToken(),refreshTokenFactory:()=>{const ae=this._tokenService.getResourceSharingToken()??this._tokenService.getToken();return this._authService.refreshToken(ae).pipe((0,p.U)(pe=>(this._tokenService.getResourceSharingToken()?this._tokenService.setResourceSharingToken(pe):this._tokenService.setToken(pe),ae)))}}).subscribe(()=>"started ill websocket")})}checkILLrequestLimitsAsync(ee){var K=this;return(0,t.Z)(function*(){try{const Q=yield K._authService.getGuestIllReqAsync(ee);if(null!==Q)return Q;K._sharedService.openSnackBar("unable to submit changes at this moment. Please contact the library","ok")}catch(Q){console.error(`request.service.ts:- checkILLrequestLimitsAsync => ${Q.message}`)}return null})()}buildCheckILLRequestLimitsBody(ee="",K="",Q=""){return{username:`${K.trim()}, ${ee.trim()}`,password:Q.trim(),sortBy:""}}unsubscribeToWebSocket(){this._webSocket.off(M.IllLenders),this._webSocket.off(M.IllBuildStatus)}startIllLenderListBuild(ee,K,Q){this._webSocket.on(M.IllBuildStatus,Q),this._webSocket.on(M.IllLenders,K),this._webSocket.invoke(M.Start_Lender_List,ee).subscribe(()=>{console.log("starting build list")})}stopIllLenderListBuild(){return this._webSocket.invoke(M.Stop_Lender_List)}lookupILSPatron(ee){return this._apiService.post(this._configService.agApi+"/illrequest/LookupILSPatron",ee)}getLenderList(ee){return this._apiService.post(this._configService.agApi+"/illrequest/GetLenderList",ee)}doDuplicateCheck(ee){return this._apiService.post(this._configService.agApi+"/illrequest/CheckIllRequestDuplicates",ee).pipe((0,p.U)(Q=>Q.data))}validateLenderList(ee){return this._apiService.post(this._configService.agApi+"/illrequest/ValidateLenderList",ee).pipe((0,p.U)(Q=>Q.data))}updateDefaultPickupLocation(ee,K){return this._apiService.post(`${this._illRequestUrl}/DefaultPickupLocation`,{userId:ee,location:K})}updateDefaultNetworkPickupLocation(ee,K){return this._apiService.post(`${this._illRequestUrl}/DefaultNetworkPickupLocation`,{userId:ee,location:K})}newIllRequest(ee){return this._apiService.post(this._configService.agApi+"/illrequest/new",ee).pipe((0,p.U)(Q=>{if(Q.data)return Q.data;throw new Error(Q.message)}))}submitILLRequest(ee){return this._apiService.post(this._configService.agApi+"/illrequest/submit",ee).pipe((0,p.U)(Q=>Q.data))}recordQueryParams(ee,K,Q,q=null,H=!1){return{agControlId:ee,shard:K,format:Q,isCill:this._storageService.getUserData().illOptions.hasILL,sourceKey:q,multiCopy:H}}buildRequestPayloadNew(ee,K,Q,q,H,T,ie,_e){return{agControlId:K,forPatronId:ee,materialBibLevel:Q,multiCopy:ie,recordId:q,requestFormType:H,requestType:T,isCill:!1,limitOverride:!1,patronOverride:!1,defaultFieldValues:{},sourceKey:_e}}hasUserIllPermissions(){const ee=this._storageService.getUserData();if(!ee.illOptions.hasILL||!ee.illPermissions)return!1;if(ee.isStaff)return!0;const K=ee.illPermissions;return!!(K.pRequestToBorrow&&K.pRequestToBorrow||K.pRequestForCopy&&K.pRequestForCopy)}requestThisItem(ee=null,K=null,Q=null,q=null,H=!1){const T=this.recordQueryParams(ee,K,Q,q,H);this._routingService.goToIllRequest(T)}requestThisItemBlank(){this.requestThisItem(),this._routingService.goToBlankIllRequest()}static#e=this.\u0275fac=function(K){return new(K||oe)(n.LFG(u.e8),n.LFG(I.s),n.LFG(L.E),n.LFG(e.F),n.LFG(y.V),n.LFG(m.Z),n.LFG(O.B),n.LFG(U.lx))};static#t=this.\u0275prov=n.Yz7({token:oe,factory:oe.\u0275fac})}return oe})()},3213:(jt,$e,s)=>{"use strict";s.d($e,{K:()=>O});var t=s(5619),u=s(2181),e=s(7398),m=s(9081),p=s(4132),U=s(9212),n=s(9862),I=s(4593),L=s(3941),y=s(4259);let O=(()=>{class M{constructor(A,S,Z,oe,le,ee){this._http=A,this._apiService=S,this._configService=Z,this._layoutService=oe,this._sharedService=le,this._storageService=ee,this._lists=new t.X(null),this.lists$=this._lists.asObservable(),this._sharedService.getLoginStatusBS().pipe((0,u.h)(K=>K==m.P.LOGOUT)).subscribe(()=>{this._lists.next(null)})}getShowcaseList(A){return this._apiService.post(`${this._configService.agApi}/ShowCase/list`,A).pipe((0,e.U)(Z=>{if(Z?.data)return Z.data;throw new Error(Z.message)}))}getShowcasePopularList(A){return this._apiService.get(`${this._configService.agApi}/ShowCase/popularlist/${A}`).pipe((0,e.U)(Z=>{if(Z?.data)return Z.data;throw new Error(Z.message)}))}getPopularLists(){return this._apiService.get(`${this._configService.agApi}/List/GetPopularLists`).pipe((0,e.U)(S=>{if(S?.data)return S.data;throw new Error(S.message)}))}getListInfo(A){return this._apiService.get(`${this._configService.agApi}/List/GetListInfo?listId=${A}`).pipe((0,e.U)(Z=>{if(Z?.data)return Z.data;throw new Error(Z.message)}))}deleteList(A){return this._apiService.post(`${this._configService.agApi}/List/ListDelete`,{listId:A}).pipe((0,e.U)(oe=>{if(oe?.data)return this.loadLists().subscribe(),oe.data;throw Error("Unable to delete list")}))}createList(A){return this._apiService.post(this._configService.agApi+"/List/ListCreate",{newListName:A}).pipe((0,e.U)(oe=>{if(oe?.data.success)return this.loadLists().subscribe(),parseInt(oe.data.success);throw Error("Unable to create list.")}))}loadLists(){return this._apiService.get(this._configService.agApi+"/List/GetLists").pipe((0,e.U)(S=>(this._lists.next(S?.data),S.data)))}addListItem(A,S,Z=0){const oe={agcontrolid:A,source:S,listId:Z};return this._apiService.post(this._configService.agApi+"/List/ListAddItem",oe).pipe((0,e.U)(ee=>{if(ee?.data)return this.loadLists().subscribe(),this._sharedService.setLoadGuestListBS(!0),this._layoutService.openSideNav({template:"addList",position:"end",data:oe}),ee.data;throw new Error(ee.message)}))}addItemToListFromSource(A,S,Z=0){return this.addListItem(A,S,Z).pipe((0,e.U)(oe=>{if(this.loadLists().subscribe(),this._sharedService.openSnackBar(oe.msg,"ok"),oe.success)return oe.msg}))}addItemToListFromLibKey(A,S,Z=0){return this._apiService.post(this._configService.agApi+"/list/ListAddItemByAgcn",{agControlId:A,libraryDbPoolKey:S,listId:Z}).pipe((0,e.U)(ee=>(this.loadLists().subscribe(),ee)))}deleteListItem(A,S){return this._apiService.post(this._configService.agApi+"/List/ListDeleteItem",{listId:A,items:S}).pipe((0,e.U)(le=>{if(!le?.data)throw new Error(le.message);this.loadLists().subscribe()}))}moveListItems(A,S){return this._apiService.post(this._configService.agApi+"/List/ListMoveItem",{listId:A,items:S}).pipe((0,e.U)(le=>{if(le?.data)return this.loadLists().subscribe(),le.data;throw new Error(le.message)}))}holdItems(A,S,Z,oe){return this._apiService.post(this._configService.agApi+"/List/ReserveListItems",{listId:A,pickupLocation:S,cancelDate:Z,items:oe}).pipe((0,e.U)(K=>{if(K)return K;throw new Error("Unable to hold multiple items.")}))}printList(A,S){return this._apiService.post(this._configService.agApi+"/List/PrintList",{listId:A,items:S})}downloadListItems(A,S="response.txt"){return this._apiService.postWithTokenFileDownload(this._configService.agApi+"/List/SaveList",A).pipe((0,e.U)(oe=>({filename:S,data:oe})))}updateListName(A){return this._apiService.post(this._configService.agApi+"/List/ListUpdateName",A).pipe((0,e.U)(Z=>(this.loadLists().subscribe(),Z)))}downloadList(A){return this._apiService.postWithTokenFileDownload(this._configService.agApi+"/List/Download",A)}setShareListStatus(A){return this._http.patch(`${this._configService.agApi}/List/UpdateListStatus`,A)}shareList(A){return this._apiService.post(`${this._configService.agApi}/list/sharelist`,A)}setItemsArray(A){this._storageService.setItem("itemsArrayMUL",A)}setHoldInfo(A){this._storageService.setItem("holdInfo",A)}setListId(A){this._storageService.setItem("list-id",A)}getItemsArray(){return this._storageService.getItem("itemsArrayMUL")}getHoldInfo(){return this._storageService.getItem("holdInfo")}getListId(){return this._storageService.getItem("list-id")}static#e=this.\u0275fac=function(S){return new(S||M)(U.LFG(n.eN),U.LFG(I.s),U.LFG(L.E),U.LFG(p.P),U.LFG(m.F),U.LFG(y.V))};static#t=this.\u0275prov=U.Yz7({token:M,factory:M.\u0275fac})}return M})()},9602:(jt,$e,s)=>{"use strict";s.d($e,{y:()=>n});var t=s(9081),u=s(2787),e=s(2181),m=s(8180),p=s(8377),U=s(9212);let n=(()=>{class I{constructor(y,O,M){this._sharedService=y,this._routingService=O,this._router=M,this._sharedService.getUserDataBS().pipe((0,e.h)(E=>!!E)).subscribe(E=>{gtag("set","user_properties",{cid:E.customerId,lid:E.libraryId,user_type:E.isStaff?"Staff":E.isPatron?"Patron":"Guest"})}),this._sharedService.getUserDataBS().pipe((0,e.h)(E=>!!E),(0,m.q)(1)).subscribe(E=>{this._trackingIds=E.gaTrackingIds,this._trackingIds&&(this._trackingIds.forEach(A=>{gtag("config",A,{send_page_view:!1,debug_mode:!0})}),this._initializeStaffPageViews(),this._initializeRouteChange())})}logPageView(y,O,M=""){this.logEvent("page_view",{page_title:y,page_location:O})}logEvent(y,O=null){this._trackingIds&&(O?(O.page_title??=this._routingService.getCurrentRouteTitle(),gtag("event",y,O)):gtag("event",y))}_initializeRouteChange(){this._router.events.subscribe(y=>{if(y instanceof u.m2){const O=this._routingService.getCurrentRouteTitle();this.logPageView(O,y.url)}})}_initializeStaffPageViews(){this._sharedService.openStaffPage$.pipe((0,e.h)(y=>!!y)).subscribe(y=>{this.logPageView(y.label,y.url)})}static#e=this.\u0275fac=function(O){return new(O||I)(U.LFG(t.F),U.LFG(p.Z),U.LFG(u.F0))};static#t=this.\u0275prov=U.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},4593:(jt,$e,s)=>{"use strict";s.d($e,{s:()=>n});class t{encodeKey(L){return encodeURIComponent(L)}encodeValue(L){return encodeURIComponent(L)}decodeKey(L){return decodeURIComponent(L)}decodeValue(L){return decodeURIComponent(L)}}var u=s(9862),e=s(5178),m=s(8504),p=s(6306),U=s(9212);let n=(()=>{class I{constructor(y){this._http=y}post(y,O,M){return this._http.post(y,O,M)}postWithParams(y,O,M){const E=this._customQueryParams(M);return this._http.post(y,O,{params:E})}get(y,O){return this._http.get(y,O)}put(y,O){return this._http.put(y,O).pipe((0,e.V)(3e4),(0,p.K)(M=>(0,m._)(M)))}delete(y,O){return this._http.delete(y,O)}getExcelFile(y){return this._http.get(y)}postWithTokenFormData(y,O){const M=new FormData;return M.append("data",JSON.stringify(O)),this._http.post(y,M)}postBlob(y,O){const M=new FormData;return M.append("file",O),this._http.post(y,M)}postWithTokenFileDownload(y,O){return this._http.post(y,O,{responseType:"blob"}).pipe((0,e.V)(3e4),(0,p.K)(E=>(0,m._)(E)))}postWithSimpleBody(y,O){const M={headers:new u.WM({"Content-Type":"application/json"})};return this._http.post(y,JSON.stringify(O),M)}getWithParams(y,O,M=null,E=null){const A=this._customQueryParams(O);return this._http.get(y,M||E?{headers:M,params:A,responseType:E,observe:"response"}:{params:A})}_customQueryParams(y){let O=new u.LE({encoder:new t});return Object.keys(y).forEach(M=>{Array.isArray(y[M])?Object.keys(y[M]).forEach(E=>{O=O.append(M,y[M][E])}):O=O.append(M,y[M])}),O}static#e=this.\u0275fac=function(O){return new(O||I)(U.LFG(u.eN))};static#t=this.\u0275prov=U.Yz7({token:I,factory:I.\u0275fac})}return I})()},5175:(jt,$e,s)=>{"use strict";s.d($e,{_n:()=>K,e8:()=>q,ls:()=>Q});var t=s(5861),u=s(2096),e=s(9862),m=s(9081),p=s(7398),U=s(4664),n=s(6306),I=s(2276),y=s(8913),O=s(8377),M=s(9602),E=s(9212),A=s(4593),S=s(3941),Z=s(318),oe=s(1865),le=s(4259),ee=s(2359),K=function(H){return H[H.VERSO=1]="VERSO",H[H.SHAREIT=2]="SHAREIT",H}(K||{}),Q=function(H){return H[H.GUEST=1]="GUEST",H[H.PATRON=2]="PATRON",H[H.STAFF=3]="STAFF",H[H.LSU=4]="LSU",H[H.CSU=5]="CSU",H}(Q||{});let q=(()=>{class H extends y.P{static#e=this.USER_NO_CILL_PERMISSION="Please contact library staff about this request.";constructor(ie,_e,Ce,Ve,ae,pe,Ae,Ze,dt,Fe){super(),this._apiService=ie,this._configService=_e,this._http=Ce,this._notifyService=Ve,this._routingService=ae,this._snackBar=pe,this._sharedService=Ae,this._storageService=Ze,this._tokenService=dt,this._analyticsService=Fe,this._ezKey="_ez",this._4rmezKey="_4rm_ez",this._samlLoginKey="_saml_login"}getUserDataFromSession(){return this._storageService.getUserData()}getIllOptionsCached(){const ie=this.getUserDataFromSession();return ie?ie.illOptions:null}getIllPermissionsCached(){const ie=this.getUserDataFromSession();return ie?ie.illPermissions:null}getLibraryOptionsCached(){const ie=this.getUserDataFromSession();return ie?ie.libraryOptions:null}getListPermissionsCached(){const ie=this.getUserDataFromSession();return ie?ie.listPermissions:null}getOpacOptionsCached(){const ie=this.getUserDataFromSession();return ie?ie.opacOptions:null}getCircOptionsCached(){const ie=this.getUserDataFromSession();return ie?ie.circOption:null}getPatronLookupToolInfoCached(){const ie=this.getUserDataFromSession();return ie?ie.patronLookupToolInfo:null}getRequestableFormatsCached(){const ie=this.getUserDataFromSession();return ie?ie.requestableFormats:null}set4rmEzProxy(ie){this._storageService.setItem(this._4rmezKey,ie)}get4rmEzProxy(){return this._storageService.getItem(this._4rmezKey)}setEzProxy(ie){this._storageService.setItem(this._ezKey,ie)}getEzProxy(){return this._storageService.getItem(this._ezKey)}setSamlLogin(ie){this._storageService.setItem(this._samlLoginKey,ie)}getSamlLogin(){return this._storageService.getItem(this._samlLoginKey)}getLoginRequest(ie,_e){return this._apiService.get(`${this._configService.agApi}/auth/loginRequest?uid=${ie}&cid=${_e}`).pipe((0,p.U)(Ve=>{if("200 OK"==Ve.status&&"success"==Ve.message.toLowerCase())return Ve.data;throw new Error("Unable to find login request")}))}getGuestIllReqAsync(ie){var _e=this;return(0,t.Z)(function*(){try{const Ce=`${_e._configService.agApi}/account/GetGuestIllRequests`,Ve=yield _e._http.post(Ce,ie).toPromise();if(Ve&&"200 OK"==Ve.status&&"success"==Ve.message.toLowerCase()&&null!==Ve.data)return _e.openSnackBar(Ve.message,"ok"),Ve.data}catch(Ce){console.error(`authService:getGuestIllReqAsync => ${Ce.message}`)}return null})()}getIllGuestInstructions(){return this._apiService.get(this._configService.agApi+"/account/GetIllGuestInstructions").pipe((0,p.U)(_e=>{if(_e.data)return _e.data;throw new Error(_e.message)}))}getGuestIllReq(ie){return this._apiService.post(this._configService.agApi+"/account/GetGuestIllRequests",ie)}forgotPasswordWithLidAsync(ie){return this._http.post(`${this._configService.agApi}/email/ForgotPasswordWithLid`,ie)}forgotPassword(ie){return this._apiService.post(this._configService.agApi+"/email/Forgotpassword",ie)}forgotPasswordRequest(ie){return this._apiService.post(this._configService.agApi+"/auth/ForgotPasswordRequest",ie)}resetpassword(ie){return this._apiService.post(this._configService.agApi+"/auth/ForgotPasswordReset",ie)}refreshToken(ie){return this._apiService.get(`${this._configService.agApi}/auth`,{headers:{Authorization:`Bearer ${ie}`}}).pipe((0,p.U)(Ve=>Ve.data.access_Token))}updatePassword(ie){return this._apiService.post(this._configService.agApi+"/auth/updatepw",{password:ie}).pipe((0,p.U)(Ve=>{if("200 OK"!==Ve?.status)throw new Error(Ve.message)}))}signup(ie){return this._apiService.post(this._configService.agApi+"/users/signup",ie)}guestLogin(){return this.login(this.createLoginRequest())}login(ie){return this._apiService.post(this._configService.agApi+"/auth",ie).pipe((0,p.U)(Ce=>{this._tokenService.setToken(Ce.access_Token)}),(0,U.w)(()=>this.userData()),(0,n.K)(Ce=>{if(Ce instanceof e.UA)throw new Error(Ce.error);return(0,u.of)(Ce)}))}userData(){return this._apiService.get(this._configService.agApi+"/auth/userdata").pipe((0,p.U)(_e=>(this.finalizeLogin(_e),_e)))}finalizeLogin(ie){this._storageService.setCid(ie.customerId.toLowerCase()),this._storageService.setLid(ie.libraryId.toLowerCase()),this._storageService.setUserData(ie),this._storageService.setItem("isGuest",ie.isGuest),this._storageService.setItem("blankILLRequireLogin",ie.illOptions.blankILLRequireLogin),ie.agentSessionInfo&&this._storageService.setItem(y.P.agentInfoSessionKey,ie.agentSessionInfo),this._sharedService.setUserDataBS(ie),this._sharedService.setLibraryChangedBS(ie.customerId.toLowerCase(),ie.libraryId.toLowerCase()),this._storageService.setItem("blankILLLoginDone",!1),this._isLoggedIn=!0}getSelfRegistration(){return this._http.get(`${this._configService.agApi}/registration`).pipe((0,p.U)(_e=>{if("200 OK"==_e?.status&&"success"==_e?.message.toLowerCase())return _e.data;throw new Error(_e.message)}),(0,U.w)(_e=>(0,u.of)(_e)))}getGeoLocations(ie){return this._apiService.get(this._configService.agApi+`/registration/postalcode/${ie}`)}submitSelfRegistration(ie){return this._apiService.post(this._configService.agApi+"/registration",ie)}saveRM2Cache(ie,_e){localStorage.setItem(ie.trim(),JSON.stringify(_e.trim()))}getRM4rmCache(ie){return""!==this.isExistRMinCache(ie.trim())?JSON.parse(localStorage.getItem(ie.trim())):null}isExistRMinCache(ie){return null!==localStorage.getItem(ie.trim())?ie.trim():""}removeRememberMe4rmCache(ie){""!==this.isExistRMinCache(ie.trim())&&localStorage.removeItem(ie.trim())}saveRememberMe2Cache(ie,_e,Ce){const Ve=this._rememberMeKey(ie,_e);this.saveRM2Cache(Ve,Ce)}_rememberMeKey(ie,_e){return"_"+ie.toLowerCase()+"_"+_e.toUpperCase()}IsAuthenticated(){return this._isLoggedIn}isGuest(){const ie=this.getUserDataFromSession();return!!ie&&ie.isGuest}isPatron(){const ie=this.getUserDataFromSession();return!!ie&&ie.isPatron}isStaff(){const ie=this.getUserDataFromSession();return!!ie&&ie.isStaff}hasDisplayYourListPermission(){let ie=!1;const _e=this.getUserDataFromSession();if(_e){const Ce=_e.listPermissions?_e.listPermissions:null;null!=Ce&&(ie=this.isStaff()?Ce.showListStaff:this.isPatron()?Ce.showListPatron:Ce.showListGuest)}return ie}cannnotPlaceIllrequestMessage(){this.openSnackBar("","ok")}logout(){return this._apiService.get(this._configService.agApi+"/auth/logout")}OnLogOut(){I(".mat-drawer-shown").click(),this._analyticsService.logEvent("Logout"),this.logout().subscribe(()=>{this._sharedService.setLoginStatusBS(m.P.LOGOUT),this.cleanUpSession()},ie=>{console.log("logout error"),console.log(ie),this.cleanUpSession()})}cleanUpSession(){const ie=this._storageService.getItem("sso_Logout_Redirect_Url"),_e=this.getEzProxy(),Ce=this.get4rmEzProxy(),Ve=this.getSamlLogin();this._notifyService.stopUnreadMessagecountUpdates(),this._storageService.clearAll(),this._routingService.clearUrls(),_e?Ce?window.location.href=ie:this.guestLogin().subscribe(ae=>{this._routingService.redirectAfterLogin(ae)},ae=>{console.log(ae)}):Ve&&(window.location.href=`${this._routingService.baseUri}${ie}`),this.guestLogin().subscribe(ae=>{this._routingService.redirectAfterLogin(ae)},ae=>{console.log(ae)})}loginSaml(ie){return this._apiService.post(`${this._configService.agApi}/auth/sso/saml`,ie).pipe((0,p.U)(Ce=>(this._storageService.setItem("sso_Logout_Redirect_Url",Ce?.data?.logoutRedirectUrl),this.setSamlLogin(!0),Ce)))}loginEzproxy(ie){return this._apiService.post(this._configService.agApi+"/auth/sso/ezproxy",ie).pipe((0,p.U)(Ce=>(this._storageService.setItem("sso_Logout_Redirect_Url",Ce?.data?.logoutRedirectUrl),this.setEzProxy(!0),Ce)))}loginSuccess(){return this.isLoggedIn()}isLoggedIn(){return!!this.getUserDataFromSession()&&!this.isGuest()}currentURL(){return this._storageService.getItem("currentUrl")}createLoginRequest(ie="guest",_e="guest"){return{grant_Type:"password",cid:this._storageService.getCid(),lid:this._storageService.getLid(),userName:ie,password:_e,rememberMe:!1}}openSnackBar(ie,_e){this._snackBar.open(ie,_e,{duration:5e3,verticalPosition:"top"})}isShareIt(){return this._storageService.getUserData().systemCategory==K.SHAREIT}static#t=this.\u0275fac=function(_e){return new(_e||H)(E.LFG(A.s),E.LFG(S.E),E.LFG(e.eN),E.LFG(Z.c),E.LFG(O.Z),E.LFG(oe.pl),E.LFG(m.F),E.LFG(le.V),E.LFG(ee.B),E.LFG(M.y))};static#n=this.\u0275prov=E.Yz7({token:H,factory:H.\u0275fac})}return H})()},3349:(jt,$e,s)=>{"use strict";s.d($e,{S:()=>m});var t=s(9250),u=s.n(t),e=s(9212);let m=(()=>{class p{logMessage(n){console.log(n)}warningMessage(n){console.warn(n)}logErrorMessage(n){console.error(n)}notify(n){u().notify(n)}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275prov=e.Yz7({token:p,factory:p.\u0275fac})}return p})()},3941:(jt,$e,s)=>{"use strict";s.d($e,{E:()=>u});var t=s(9212);let u=(()=>{class e{constructor(){this.baseUrl="",this.agApi="",this.expressApi="",this.searchApi="",this.searchApiWebSocketUrl="",this.agApiWebSocketUrl="",this.versionNumber="",this.serverNumber="",this.unreadMessageFetchIntervalInMinutes=5;const p=window.appSettings?.applicationSettings;this.baseUrl=p.baseUrl,this.agApi=`${p.agapi}/api/${p.version}`,this.expressApi=p.uiapi,this.searchApi=`${p.searchapi}/searchapi/${p.version}`,this.searchApiWebSocketUrl=`${p.searchapi}/ws`,this.agApiWebSocketUrl=`${p.agapi}/ws`,this.unreadMessageFetchIntervalInMinutes=p.unreadMessageFetchIntervalInMinutes,this.versionNumber=p.versionNumber,this.serverNumber=p.serverNumber}static#e=this.\u0275fac=function(U){return new(U||e)};static#t=this.\u0275prov=t.Yz7({token:e,factory:e.\u0275fac})}return e})()},9899:(jt,$e,s)=>{"use strict";s.d($e,{x:()=>p});var t=s(64),u=s(6630),e=s(9212),m=s(7592);let p=(()=>{class U{constructor(I){this._dialog=I}openAlertDialog(I,L,y="OK",O=null,M={},E={},A=u.$.MD){return this._dialog.open(t.a,{data:{title:I,titleParams:M,content:L,contentParams:E,okLabel:y,closeLabel:O},panelClass:A,role:"alertdialog",ariaDescribedBy:"dialog-content",disableClose:!0}).afterClosed()}static#e=this.\u0275fac=function(L){return new(L||U)(e.LFG(m.on))};static#t=this.\u0275prov=e.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})()},3352:(jt,$e,s)=>{"use strict";s.d($e,{Es:()=>oe,WD:()=>Z,fs:()=>le});var t=s(5861),u=s(9212),e=s(5619),m=s(2096),p=s(9862),U=s(6814),n=s(7398),I=s(9081),L=s(2276),O=s(3349),M=s(6306),E=s(3941),A=s(4259),S=s(1865),Z=function(ee){return ee.PAGE="page",ee.LINK="link",ee.WIDGET="widget",ee}(Z||{}),oe=function(ee){return ee.FEATURES_ONE="featuresOne",ee.FEATURES_TWO="featuresTwo",ee.FEATURES_THREE="featuresThree",ee.TEAMS_ONE="TeamsOne",ee.TEAMS_TWO="TeamsTwo",ee.TEAMS_THREE="TeamsThree",ee.DETAILS_ONE="detailsOne",ee.DETAILS_TWO="detailsTwo",ee.DETAILS_THREE="detailsThree",ee.IMAGES_ONE="imagesOne",ee.IMAGES_TWO="imagesTwo",ee.IMAGES_THREE="imagesThree",ee.ABOUT_ONE="aboutOne",ee.ABOUT_TWO="aboutTwo",ee.ABOUT_THREE="aboutThree",ee.CONTACT_ONE="contactOne",ee.CONTACT_TWO="contactTwo",ee.CONTACT_THREE="contactThree",ee.SHOWCASE_WIDGET="showcaseWidget",ee}(oe||{});let le=(()=>{class ee{constructor(Q,q,H,T,ie,_e,Ce){this._bugsnagService=Q,this._configService=q,this._http=H,this._sharedService=T,this._storageService=ie,this.snackBar=_e,this._platformId=Ce,this.border_colors_bootstrap_btns={primary:"#3394ea",secondary:"#3394ea",success:"#0fef42",danger:"#f10c22",warning:"#a58012",info:"#06d8f9",dark:"#c3c6ca",light:"#007bff",link:"#007bff"},this._libraryBS=new e.X(null),this.activePages$=this._libraryBS.asObservable().pipe((0,n.U)(Ve=>Ve?Ve[0].pages.filter(ae=>ae.active).sort((ae,pe)=>ae.order-pe.order):[])),this.inactivePages$=this._libraryBS.asObservable().pipe((0,n.U)(Ve=>Ve?Ve[0].pages.filter(ae=>!ae.active):[])),this.callFooterBS=new e.X(!0),this.customerCarePageBS=new e.X(null),this.finalTopicSearchQueriesBS=new e.X(null),this.footerBS=new e.X(null),this.footerUndefinedBS=new e.X(null),this.headerBS=new e.X(null),this.homePageBS=new e.X(null),this.newPageLabelBS=new e.X(null),this.pageByIdBS=new e.X(null),this.pageIdEditBS=new e.X(null),this.predefined=new e.X([]),this.showCaseQueryBS=new e.X(null),this.showCaseResultsBS=new e.X(null),this.topicSearchQueryBS=new e.X(null),this.GLOBAL_TIMEOUT=100,this.SHOWCASE_TIMEOUT=4e3,this.featuresOne=[{active:!0,activeDate:"",label:"Features One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"https://www5.auto-graphics.com/v6assets/assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.featuresTwo=[{active:!0,activeDate:"",label:"Features Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.featuresThree=[{active:!0,activeDate:"",label:"Features Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.TeamsOne=[{active:!0,activeDate:"",label:"Teams One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.TeamsTwo=[{active:!0,activeDate:"",label:"Teams Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.TeamsThree=[{active:!0,activeDate:"",label:"July 4th Happy Holidays",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-421",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-421",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-421",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-421",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.detailsOne=[{active:!0,activeDate:"",label:"Details One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.detailsTwo=[{active:!0,activeDate:"",label:"Details Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]}]}],this.detailsThree=[{active:!0,activeDate:"",label:"Details Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.imagesOne=[{active:!0,activeDate:"",label:"Images One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-3-1-2-1",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.imagesTwo=[{active:!0,activeDate:"",label:"Images Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-2-2-1",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.imagesThree=[{active:!0,activeDate:"",label:"Images Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.showCaseWidget=[{active:!1,activeDate:"",label:"Showcase Widget",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,linkPage:!1,widgetPage:!0,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]}]}],this.aboutOne=[{active:!0,activeDate:"",label:"About One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]}]}],this.aboutTwo=[{active:!0,activeDate:"",label:"About Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.aboutThree=[{active:!0,activeDate:"",label:"About Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.contactOne=[{active:!0,activeDate:"",label:"Contact One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]}]}],this.contactTwo=[{active:!0,activeDate:"",label:"Contact Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.contactThree=[{active:!0,activeDate:"",label:"Contact Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.featuresOneCopy=[{active:!0,activeDate:"",label:"Features One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"https://www5.auto-graphics.com/v6assets/assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.featuresTwoCopy=[{active:!0,activeDate:"",label:"Features Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.featuresThreeCopy=[{active:!0,activeDate:"",label:"Features Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.TeamsOneCopy=[{active:!0,activeDate:"",label:"Teams One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.TeamsTwoCopy=[{active:!0,activeDate:"",label:"Teams Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.TeamsThreeCopy=[{active:!0,activeDate:"",label:"July 4th Happy Holidays",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-421",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-421",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-421",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-421",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.detailsOneCopy=[{active:!0,activeDate:"",label:"Details One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.detailsTwoCopy=[{active:!0,activeDate:"",label:"Details Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]}]}],this.detailsThreeCopy=[{active:!0,activeDate:"",label:"Details Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.imagesOneCopy=[{active:!0,activeDate:"",label:"Images One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-3-1-2-1",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.imagesTwoCopy=[{active:!0,activeDate:"",label:"Images Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-31",components:[{typeOf:"edit",rowClass:"three-links width-100 height-200 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-2-2-1",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.imagesThreeCopy=[{active:!0,activeDate:"",label:"Images Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.aboutOneCopy=[{active:!0,activeDate:"",label:"About One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]}]}],this.aboutTwoCopy=[{active:!0,activeDate:"",label:"About Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.aboutThreeCopy=[{active:!0,activeDate:"",label:"About Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.contactOneCopy=[{active:!0,activeDate:"",label:"Contact One",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]}]}],this.contactTwoCopy=[{active:!0,activeDate:"",label:"Contact Two",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-1",components:[{typeOf:"edit",rowClass:"two-links height-350",color:"",targetURL:"",background:"",imgUrl:"assets/images/literature_header.jpg",backRepeat:"no-repeat",backPos:"center",btnClass:"btn btn-primary"}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-21",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}],this.contactThreeCopy=[{active:!0,activeDate:"",label:"Contact Three",newtab:!1,private:!1,publish:!0,publishDate:"05/15/2018",routeLink:null,templates:[{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]},{typeOf:"col-2-1-2",components:[{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""},{typeOf:"edit",rowClass:"three-links width-100 height-250 pointer",color:"",background:"",imgUrl:"",title:"Study for your Driver's License",titleBack:"#333",paragraph:"",btnShow:!1,btnLabel:"Check Out Overdrive",btnClass:"btn btn-outline-primary",newtab:!0,flushed:!1,targetUrl:""}]}]}]}_getCustomerCarePageJsonAsync(){var Q=this;return(0,t.Z)(function*(){return Q._http.get("assets/configuration/customer-care.json").toPromise()})()}underlineActivePage(Q){null!==Q&&("secondary page"===Q.type&&this.addRemoveCurrentClass(Q.index?Q.index:-1),"primary page"===Q.type&&(this.addRemoveCurrentClass(Q.index?Q.index:-1),this.addHomePageCurrentClass()))}addHomePageCurrentClass(){(0,U.NF)(this._platformId)&&L(".pages1 a").addClass("current-route")}addRemoveCurrentClass(Q=-1){this._removeCurrentClass(),-1!==Q&&setTimeout(()=>{this._addCurrentClassPages(Q)},200)}_removeCurrentClass(){(0,U.NF)(this._platformId)&&L("a").removeClass("current-route")}_addCurrentClassPages(Q){(0,U.NF)(this._platformId)&&this._storageService.getUserData()&&L(".pages5").find("#activePages"+Q+" a").addClass("current-route")}highlightStaffLink(){this.addRemoveCurrentClass(),L(".pages7 a").addClass("current-route")}highlightHomePageLink(){this.underlineActivePage({type:"primary page",index:-1})}checkDeletePageStatusAsync(Q,q){var H=this;return(0,t.Z)(function*(){try{const T=`${H._configService.expressApi}/service/status/${Q}/${q}`,ie=yield H._http.get(T).toPromise();if(ie&&"200 OK"===ie.status)return ie}catch(T){console.error(`predefinedService.ts:checkDeletePageStatusAsync => ${T.message}`)}return null})()}deleteAllGlobalPageASync(Q){var q=this;return(0,t.Z)(function*(){try{const H=`${q._configService.expressApi}/service/remove/bulk`,T=yield q._http.post(H,Q).toPromise();if(T&&"200 OK"===T.status)return T}catch(H){console.error(`predefinedService.ts:deleteAllGlobalPageASync => ${H.message}`)}return null})()}addGlobalPageToLibraryASync(Q){var q=this;return(0,t.Z)(function*(){try{const H=`${q._configService.expressApi}/service/add/bulk`,T=yield q._http.post(H,Q).toPromise();T&&"200 OK"===T.status&&q.openSnackBar(T.message,"ok")}catch(H){console.error(`predefinedService.ts:addGlobalPageToLibraryASync => ${H.message}`)}return null})()}updateExistingPageToLibraryASync(Q){var q=this;return(0,t.Z)(function*(){try{const H=`${q._configService.expressApi}/service/update/bulk`,T=yield q._http.put(H,Q).toPromise();T&&"200 OK"===T.status&&q.openSnackBar(T.message,"ok")}catch(H){console.error(`predefinedService.ts:updateExistingPageToLibraryASync => ${H.message}`)}return null})()}addGlobalPageToLibrary(Q){return new p.LE,this.post(this._configService.expressApi+"/global/new",Q)}updateExistingPageToLibrary(Q){return new p.LE,this.put(this._configService.expressApi+"/global/existing",Q)}deleteGlobalPage4rmLibrary(Q){return new p.LE,this.post(this._configService.expressApi+"/global/delete/remove",Q)}updateCustomerCarePageAsync(Q){var q=this;return(0,t.Z)(function*(){try{const H=`${q._configService.expressApi}/global/customerCare`,T=yield q._http.patch(H,Q).toPromise();if(T)return q._sharedService.openSnackBar(T.message),T.data}catch(H){console.error(`error in fn updateCustomerCarePageAsync: predefined-template.service.ts  => ${H}`)}return null})()}deleteAllGlobalPage(Q){return new p.LE,this.post(this._configService.expressApi+"/global/delete/all",Q)}deleteGlobalPagesBatch(Q){return new p.LE,this.post(this._configService.expressApi+"/global/delete/batches",Q)}getLibrary(Q,q){const H=this._configService.expressApi+"/library/"+Q.toLowerCase()+"/"+q.toUpperCase();return this.get(H).pipe((0,n.U)(T=>{if(T)return this.setLibraryBS(T.data),T}))}getLibraryAsync(Q,q){var H=this;return(0,t.Z)(function*(){try{const T=`${H._configService.expressApi}/library/${Q.toLowerCase()}/${q.toUpperCase()}`,ie=yield H._http.get(T).toPromise();if("200 OK"===ie.status)return ie.data;H.openSnackBar(ie.message,"ok")}catch(T){console.error(`Error getting library information: ${T.message}`)}return null})()}createLibraryAsync(Q){var q=this;return(0,t.Z)(function*(){try{const H=`${q._configService.expressApi}/library`,T=yield q._http.put(H,Q).toPromise();return q.setLibraryBS(T.data),T}catch(H){q._sharedService.openSnackBar(H.message),console.error(`Error creating library: ${H}`)}return null})()}addPageToLibraryAsync(Q){var q=this;return(0,t.Z)(function*(){try{const H=`${q._configService.expressApi}/libraries/add`,T=yield q._http.post(H,Q).toPromise();return q.setLibraryBS(T.data),T}catch(H){q._sharedService.openSnackBar(H.message),console.error(`Error adding page to library: ${H}`)}return null})()}deletePageById(Q){const q=new p.LE;return this._http.put(this._configService.expressApi+"/page",Q,{params:q}).pipe((0,n.U)(T=>(this.setLibraryBS(T.data),T)))}setPublish(Q){return this.post(this._configService.expressApi+"/publish",Q)}savePublishPostBody(Q){return this.post(this._configService.expressApi+"/publish/save",Q)}setOrderActivePages(Q){const q=new p.LE;return this._http.put(this._configService.expressApi+"/order",Q,{params:q}).pipe((0,n.U)(T=>{if(T)return this._libraryBS.value[0].pages=T.data.allPages,this._libraryBS.next(Object.assign({},this._libraryBS.value)),T}))}getPageByIdAsync(Q){var q=this;return(0,t.Z)(function*(){try{const H=`${q._configService.expressApi}/page`,T=yield q._http.post(H,Q).toPromise();if(T)return T[0]}catch(H){console.error(`Error retrieving page by id: ${H.message}`)}return null})()}getPageByUid(Q){return this._http.post(`${this._configService.expressApi}/page/uid`,Q).pipe((0,M.K)(H=>(0,m.of)(H)),(0,n.U)(H=>H[0]))}deleteTheme(Q,q,H){const T=this._configService.expressApi+"/headers/themes/"+Q.toLowerCase()+"/"+q.toUpperCase()+"?id="+H;return this.delete(T)}setTheme(Q){const q=new p.LE;return this._http.post(this._configService.expressApi+"/headers/themes",Q,{params:q})}updateTheme(Q){const q=new p.LE;return this._http.put(this._configService.expressApi+"/headers/themes",Q,{params:q})}getHeader(Q,q){const H=this._configService.expressApi+"/headers/"+Q.toLowerCase()+"/"+q.toUpperCase();return this.get(H)}getLayoutSettingsAsync(Q,q){var H=this;return(0,t.Z)(function*(){try{const T=`${H._configService.expressApi}/headers/${Q.toLowerCase()}/${q.toUpperCase()}`,ie=yield H._http.get(T).toPromise();if(ie&&"200 OK"===ie.status&&null!==ie.data&&ie.data.length>0)return ie.data[0]}catch(T){console.error(`predefined-service.ts:getLayoutSettingsAsync => ${T.message}`)}return{cid:Q,lid:q,name:null,styles:[],themes:[],showLanguages:!1,showTitle:!1,logoAndText:!1,showLogo:!1,customText:null,logoImageURL:null,logoRedirectURL:null}})()}setHeader(Q){const q=new p.LE;return this._http.post(this._configService.expressApi+"/headers/add",Q,{params:q})}getFooter(Q,q){const H=this._configService.expressApi+"/footers/global/"+Q.toLowerCase()+"/"+q.toUpperCase();return this.get(H)}setFooter(Q){const q=new p.LE;return this._http.post(this._configService.expressApi+"/footers/add",Q,{params:q})}setFooterGlobal(Q){const q=new p.LE;return this._http.post(this._configService.expressApi+"/footers/global/add",Q,{params:q})}deleteFooterGlobal(Q){const q=new p.LE;return this._http.post(this._configService.expressApi+"/footers/global/delete",Q,{params:q})}postFeedBack(Q){const q=new p.LE;return this._http.post(this._configService.expressApi+"/feedbacks",Q,{params:q})}postWithPromise(Q,q){const H=new p.LE;return new Promise((T,ie)=>this._http.post(Q,q,{params:H}).subscribe(_e=>{T(_e)},_e=>{ie(_e)}))}get(Q){const q=new p.LE;return this._http.get(Q,{params:q})}post(Q,q){const H=new p.LE;return this._http.post(Q,q,{params:H})}put(Q,q){const H=new p.LE;return this._http.put(Q,q,{params:H})}delete(Q){const q=new p.LE;return this._http.delete(Q,{params:q})}setFooterUndefinedBS(Q){this.footerUndefinedBS.next(Q)}getFooterUndefinedBS(){return this.footerUndefinedBS.asObservable()}setPageIdEditBS(Q){this.pageIdEditBS.next(Q)}getPageIdEditBS(){return this.pageIdEditBS.asObservable()}setNewPageLabelBS(Q){this.newPageLabelBS.next(Q)}getNewPageLabelBSValue(){return this.newPageLabelBS.getValue()}setShowCaseResultsBS(Q){this.showCaseResultsBS.next(Q)}getShowCaseResultsBS(){return this.showCaseResultsBS.asObservable()}setLibraryBS(Q){this._libraryBS.next(Q)}getLibraryBS(){return this._libraryBS.asObservable()}setHomePageBS(Q){this.homePageBS.next(Q)}getHomePageBS(){return this.homePageBS.asObservable()}getCustomerCarePageBSValue(){return this.customerCarePageBS.getValue()}setCustomerCarePageBS(Q){this.customerCarePageBS.next(Q)}setHeaderBS(Q){this.headerBS.next(Q)}getHeaderBS(){return this.headerBS.asObservable()}setFooterBS(Q){this.footerBS.next(Q)}getFooterBS(){return this.footerBS.asObservable()}showCustomerCarePage(){const Q=this.getCustomerCarePageBSValue();return!Q||Q.showStaff}setNewTemplate(Q){let q;switch(Q){case oe.FEATURES_ONE:q=JSON.parse(JSON.stringify(this.featuresOne));break;case oe.FEATURES_TWO:q=JSON.parse(JSON.stringify(this.featuresTwo));break;case oe.FEATURES_THREE:q=JSON.parse(JSON.stringify(this.featuresThree));break;case oe.TEAMS_ONE:q=JSON.parse(JSON.stringify(this.TeamsOne));break;case oe.TEAMS_TWO:q=JSON.parse(JSON.stringify(this.TeamsTwo));break;case oe.TEAMS_THREE:q=JSON.parse(JSON.stringify(this.TeamsThree));break;case oe.DETAILS_ONE:q=JSON.parse(JSON.stringify(this.detailsOne));break;case oe.DETAILS_TWO:q=JSON.parse(JSON.stringify(this.detailsTwo));break;case oe.DETAILS_THREE:q=JSON.parse(JSON.stringify(this.detailsThree));break;case oe.IMAGES_ONE:q=JSON.parse(JSON.stringify(this.imagesOne));break;case oe.IMAGES_TWO:q=JSON.parse(JSON.stringify(this.imagesTwo));break;case oe.IMAGES_THREE:q=JSON.parse(JSON.stringify(this.imagesThree));break;case oe.ABOUT_ONE:q=JSON.parse(JSON.stringify(this.aboutOne));break;case oe.ABOUT_TWO:q=JSON.parse(JSON.stringify(this.aboutTwo));break;case oe.ABOUT_THREE:q=JSON.parse(JSON.stringify(this.aboutThree));break;case oe.CONTACT_ONE:q=JSON.parse(JSON.stringify(this.contactOne));break;case oe.CONTACT_TWO:q=JSON.parse(JSON.stringify(this.contactTwo));break;case oe.CONTACT_THREE:q=JSON.parse(JSON.stringify(this.contactThree));break;case oe.SHOWCASE_WIDGET:q=JSON.parse(JSON.stringify(this.showCaseWidget));break;default:throw new Error(`unable to find template: ${Q}`)}this.predefined.next(q),this._storageService.setItem("editPage",q)}getNewTemplateValue(){return this.predefined.getValue()}createLibWithCCPageAndBindLibInfoAsync(Q,q){var H=this;return(0,t.Z)(function*(){const T={cid:Q,lid:q,pages:yield H._getCustomerCarePageJsonAsync()},ie=yield H.createLibraryAsync(T);if("201 created"===ie?.status)return H._bugsnagService.notify(`library created with cid: ${Q} and lid: ${q} on ${new Date}`),yield H.performLibraryInfoBindingsAsync(ie.data);if("200 OK"===ie?.status){const _e=`library with cid: ${Q} and lid: ${q} already exists on ${new Date}`;return console.log(_e),H._bugsnagService.notify(_e),"failed"}return console.error(`unable to create library with customer care page on ${new Date}`),"failed"})()}addCustomerCarePageAsync(Q){var q=this;return(0,t.Z)(function*(){q._isAddingCustomerCarePage=!0;const H=q._storageService.getCid().toLocaleLowerCase(),T=q._storageService.getLid().toLocaleUpperCase(),ie={cid:H,lid:T,libId:q.libraryId,pageId:0,page:Q},_e=yield q.addPageToLibraryAsync(ie);return q._isAddingCustomerCarePage=!1,"200 OK"!=_e?.status?"customer care page exists already"==_e?.message?(console.error(`customer care page already exists in library with cid: ${H} and lid:${T}`),"failed"):(console.error(`failed to add customer care page in existing library with cid: ${H} and lid:${T}`),"failed"):(q._bugsnagService.notify(`customer care page added in existing library with cid: ${H} and lid:${T}`),q.libraryInfo=_e?.data,q.libraryPages=q.libraryInfo[0]?.pages,"success")})()}getLibAndBindInfoAsync(Q,q){var H=this;return(0,t.Z)(function*(){if(I.F.isEmpty(Q)||I.F.isEmpty(q))return console.error(`error in _libraryInfoBindings in predefined.service.ts: => cid:${Q} and/or lid:${q} missing`),"failed";Q=Q.toLocaleLowerCase(),q=q.toLocaleUpperCase();const T=yield H.getLibraryAsync(Q,q);return null===T?(console.error(`error in _libraryInfoBindings in predefined.service.ts: => ${T}`),"failed"):T?.length?yield H.performLibraryInfoBindingsAsync(T):(yield H._getCustomerCarePageJsonAsync())?yield H.createLibWithCCPageAndBindLibInfoAsync(Q,q):(console.error("customer care json missing"),"failed")})()}performLibraryInfoBindingsAsync(Q){var q=this;return(0,t.Z)(function*(){if(!Q?.length)return q._setLibraryPagesDefaults(),"failed";q.libraryInfo=Q,q.libraryPages=q.libraryInfo[0].pages,q.libraryId=q.libraryInfo[0]._id,q.setLibraryBS(q.libraryInfo),q._storageService.setItem("libId",q.libraryId),q._storageService.setItem("libExists",!0);const H=q.libraryPages.find(T=>"thisIsACustomerCarePage"===T.guid);if(!H&&!q._isAddingCustomerCarePage){const T=yield q.addCustomerCarePageAsync(yield q._getCustomerCarePageJsonAsync());if("failed"===T)return T}q.setCustomerCarePageBS(H);for(let T=0;T<q.libraryPages.length;T+=1){const ie=q.libraryPages[T];if(ie.active&&1===ie.order){q.homePage=ie,q.setHomePageBS(q.homePage);break}}return"success"})()}_setLibraryPagesDefaults(){this.setLibraryBS(void 0),this.setHomePageBS(void 0),this.setCustomerCarePageBS(void 0)}setDefaultPages(){this.featuresOne=this.featuresOneCopy.slice(0),this.featuresTwo=this.featuresTwoCopy.slice(0),this.featuresThree=this.featuresThreeCopy.slice(0),this.TeamsOne=this.TeamsOneCopy.slice(),this.TeamsTwo=this.TeamsTwoCopy.slice(),this.TeamsThree=this.TeamsThreeCopy.slice(),this.detailsOne=this.detailsOneCopy.slice(),this.detailsTwo=this.detailsTwoCopy.slice(),this.detailsThree=this.detailsThreeCopy.slice(),this.imagesOne=Object.assign([],this.imagesOneCopy),this.imagesTwo=Object.assign([],this.imagesTwoCopy),this.imagesThree=Object.assign([],this.imagesThreeCopy),this.aboutOne=this.aboutOneCopy.slice(0),this.aboutTwo=Object.assign([],this.aboutTwoCopy),this.aboutThree=Object.assign([],this.aboutThreeCopy),this.contactOne=Object.assign([],this.contactOneCopy),this.contactTwo=Object.assign([],this.contactTwoCopy),this.contactThree=Object.assign([],this.contactThreeCopy)}newGuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(Q){const q=16*Math.random()|0;return("x"===Q?q:3&q|8).toString(16)})}openSnackBar(Q,q){this.snackBar.open(Q,q,{duration:5e3,verticalPosition:"top"})}getBtnColorForTabFocus508(Q){let q="";return Q.includes("btn-primary")||Q.includes("btn-outline-primary")?q=this.border_colors_bootstrap_btns.primary:Q.includes("btn-secondary")||Q.includes("btn-outline-secondary")||(Q.includes("btn-success")||Q.includes("btn-outline-success")?q=this.border_colors_bootstrap_btns.success:Q.includes("btn-danger")||Q.includes("btn-outline-danger")?q=this.border_colors_bootstrap_btns.danger:Q.includes("btn-warning")||Q.includes("btn-outline-warning")?q=this.border_colors_bootstrap_btns.warning:Q.includes("btn-info")||Q.includes("btn-outline-info")?q=this.border_colors_bootstrap_btns.info:Q.includes("btn-light")||Q.includes("btn-outline-light")?q=this.border_colors_bootstrap_btns.light:Q.includes("btn-dark")||Q.includes("btn-outline-dark")?q=this.border_colors_bootstrap_btns.dark:(Q.includes("btn-link")||Q.includes("btn-outline-link"))&&(q=this.border_colors_bootstrap_btns.link)),q}mapToPage(Q){return{label:Q.label,_id:Q._id,order:Q.order,showGuest:Q.showGuest,showPatron:Q.showPatron,showStaff:Q.showStaff,linkPage:Q.linkPage,redirectUrl:Q.redirectUrl,targetLibForPublishedPage:Q.targetLibForPublishedPage,targetLibName:Q.targetLibName,targetLibLid:Q.targetLibLid,isGlobal:Q.isGlobal,globalPublishArr:Q.globalPublishArr||[],guid:Q.guid||"",totalLidsArr:Q.totalLidsArr||[],widgetPage:Q?.widgetPage}}static#e=this.\u0275fac=function(q){return new(q||ee)(u.LFG(O.S),u.LFG(E.E),u.LFG(p.eN),u.LFG(I.F),u.LFG(A.V),u.LFG(S.pl),u.LFG(u.Lbi))};static#t=this.\u0275prov=u.Yz7({token:ee,factory:ee.\u0275fac})}return ee})()},1288:(jt,$e,s)=>{"use strict";s.d($e,{n:()=>e});var t=s(5619),u=s(9212);let e=(()=>{class m{constructor(){this.BANNER=new t.X(null),this.CHARTS=new t.X(null),this.CTA=new t.X(null),this.customerCare=new t.X(null),this.EMBED=new t.X(null),this.FEEDBACK=new t.X(null),this.GRID=new t.X(null),this.hasCustomerCareFormChanges=new t.X(!1),this.HOURS=new t.X(null),this.IMAGE=new t.X(null),this.MAPS=new t.X(null),this.newRow=new t.X([]),this.placement=new t.X([]),this.SHOWCASE=new t.X(null),this.template=new t.X([]),this.TEXT=new t.X(null),this.TEXTstring=new t.X([]),this.TOPIC=new t.X(null),this.typeOf=new t.X([]),this.updateComponent=new t.X([])}setPlacement(U,n){this.placement.next({row:U,comp:n})}setType(U){this.typeOf.next({typeOf:U})}setTemplate(U){this.template.next({typeOf:"",components:U})}getPlacement(){return this.placement.asObservable()}getType(){return this.typeOf.asObservable()}getTemplate(){return this.template.asObservable()}setRow(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,null),this.newRow.next({data:U,typeOf:n,template:I,row:L,comp:y})}getRow(){return this.newRow.asObservable()}setComponent(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,null),this.updateComponent.next({data:U,typeOf:n,template:I,row:L,comp:y})}getComponent(){return this.updateComponent.asObservable()}getCustomerCare(){return this.customerCare.asObservable()}setCustomerCare(U){this.customerCare.next(U)}getHasCustomerCareFormChangesValue(){return this.hasCustomerCareFormChanges.getValue()}setHasCustomerCareFormChanges(U){this.hasCustomerCareFormChanges.next(U)}setCTA(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.CTA.next(U)}getCTA(){return this.CTA.asObservable()}setIMAGE(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.IMAGE.next(U)}getIMAGE(){return this.IMAGE.asObservable()}setTEXT(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.TEXT.next(U)}getTEXT(){return this.TEXT.asObservable()}setTextString(U,n){this.TEXTstring.next(this.TEXTstring[U]=n)}getTextString(){return this.TEXTstring.asObservable()}setTOPIC(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.TOPIC.next(U)}getTOPIC(){return this.TOPIC.asObservable()}setFEEDBACK(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.FEEDBACK.next(U)}getFEEDBACK(){return this.FEEDBACK.asObservable()}setSHOWCASE(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.SHOWCASE.next(U)}getSHOWCASE(){return this.SHOWCASE.asObservable()}setBANNER(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.BANNER.next(U)}getBANNER(){return this.BANNER.asObservable()}setHOURS(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.HOURS.next(U)}getHOURS(){return this.HOURS.asObservable()}setEMBED(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.EMBED.next(U)}getEMBED(){return this.EMBED.asObservable()}setMAPS(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.MAPS.next(U)}getMAPS(){return this.MAPS.asObservable()}setCHARTS(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.CHARTS.next(U)}getCHARTS(){return this.CHARTS.asObservable()}setGRID(U,n,I,L,y){this.setType(n),this.setTemplate(I),this.setPlacement(L,y),this.GRID.next(U)}getGRID(){return this.GRID.asObservable()}static#e=this.\u0275fac=function(n){return new(n||m)};static#t=this.\u0275prov=u.Yz7({token:m,factory:m.\u0275fac})}return m})()},3039:(jt,$e,s)=>{"use strict";s.d($e,{x:()=>U});var t=s(6498),e=s(9212);let U=(()=>{class n{constructor(){}saveAsExcelFile(L,y){const O=new Blob([L],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});t.saveAs(O,y+".xlsx")}static#e=this.\u0275fac=function(y){return new(y||n)};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac})}return n})()},896:(jt,$e,s)=>{"use strict";s.d($e,{KJ:()=>y,hz:()=>I,m:()=>L,p4:()=>n});var t=s(9927),u=s(1082),e=s(5175),m=s(7895),p=s(9212),U=s(3576),n=function(M){return M[M.ILL_REQUEST=0]="ILL_REQUEST",M[M.PLACE_HOLD=1]="PLACE_HOLD",M[M.FULL_RECORD=2]="FULL_RECORD",M}(n||{});let I=(()=>{class M{constructor(A,S,Z){this._holdService=A,this._requestService=S,this._illSettingsService=Z,this._thirdParty=["HP","OD","BX"]}getFulfillmentType(A,S,Z){return S?Z.systemCategory===e._n.SHAREIT?n.ILL_REQUEST:n.FULL_RECORD:!(Z.systemCategory===e._n.SHAREIT||Z.systemCategory===e._n.VERSO&&Z.illOptions.hasILL)||A!==m.zo.AG&&A!==m.zo.ZZ&&A!==m.zo.WM?Z.systemCategory===e._n.VERSO&&A===m.zo.AV?n.PLACE_HOLD:n.FULL_RECORD:n.ILL_REQUEST}getFulfillmentTypeByDocument(A,S){return this.getFulfillmentType(A.targetType,A.isEContent,S)}getFulfillmentLabel(A,S){switch(A){case n.ILL_REQUEST:return"Place Request";case n.PLACE_HOLD:return S.illOptions?.hasILL?"Place Request":"Place Hold";case n.FULL_RECORD:return"View Details"}}showFulfillmentActionByDocument(A,S){return this.showFulfillmentAction(A.targetType,A.format,S)}showFulfillmentAction(A,S,Z){let oe=!1;if(this._thirdParty.includes(A))oe=!0;else if(Z.systemCategory===e._n.VERSO){if(this._holdService.allowPatronGuestReserve()){const ee=this._requestService.hasUserIllPermissions();oe=A===m.zo.AV||A===m.zo.AG&&ee||A===m.zo.ZZ&&ee||A===m.zo.WM&&ee}}else if(Z.systemCategory===e._n.SHAREIT){const le=this._illSettingsService?.showFormat(S);Z.illOptions.showRequestThis&&le&&(oe=A===m.zo.AV||A===m.zo.AG||A===m.zo.ZZ||A===m.zo.WM)}return oe}static#e=this.\u0275fac=function(S){return new(S||M)(p.LFG(t.M),p.LFG(u.sm),p.LFG(U.f))};static#t=this.\u0275prov=p.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"})}return M})(),L=(()=>{class M{constructor(A,S){this._authService=A,this._fulfillmentService=S}transform(A,S){if(!A)return;const Z=this._authService.getUserDataFromSession();let oe=[];if(A instanceof Array)"format"===S?oe=A.reduce((le,ee)=>[...le,...ee.documents],[]):"document"===S&&(oe=A);else if("format"===S)oe=A.documents;else if("document"===S)oe.push(A);else if("result"===S)oe=A.formats.reduce((le,ee)=>[...le,...ee.documents],[]);else if("listItem"===S)return this._fulfillmentService.showFulfillmentAction(A.databaseType,A.format.short,Z);if(oe.length)for(const le of oe)if(this._fulfillmentService.showFulfillmentActionByDocument(le,Z))return!0;return!1}static#e=this.\u0275fac=function(S){return new(S||M)(p.Y36(e.e8,16),p.Y36(I,16))};static#t=this.\u0275pipe=p.Yjl({name:"showFulfillmentAction",type:M,pure:!0})}return M})(),y=(()=>{class M{constructor(A,S){this._fulfillmentService=A,this._authService=S}transform(A,S="document"){if(!document)return;const Z=this._authService.getUserDataFromSession();return"listItem"===S?this._fulfillmentService.getFulfillmentType(A.databaseType,!1,Z):"document"===S?this._fulfillmentService.getFulfillmentTypeByDocument(A,Z):n.FULL_RECORD}static#e=this.\u0275fac=function(S){return new(S||M)(p.Y36(I,16),p.Y36(e.e8,16))};static#t=this.\u0275pipe=p.Yjl({name:"fulfillmentType",type:M,pure:!0})}return M})()},4399:(jt,$e,s)=>{"use strict";s.d($e,{lU:()=>A});var t=s(9212),u=s(8504),e=s(7398),m=s(6306),p=s(8913),U=s(3941),n=s(4259),I=s(9862),L=s(4593);let A=(()=>{class S{constructor(){this.UNABLE_TO_FETCH_SHELF_STATUS="Shelf Status is not available.",this._configService=(0,t.f3M)(U.E),this._storageService=(0,t.f3M)(n.V),this._http=(0,t.f3M)(I.eN),this._apiService=(0,t.f3M)(L.s),this._holdingUrl=`${this._configService.searchApi}/holding`,this._itemUrl=`${this._configService.agApi}/item`}getVersoHoldings(oe){return this._http.post(`${this._holdingUrl}/Verso`,oe).pipe((0,e.U)(ee=>{if(ee.data[0])return this.setCachedHoldings(ee.data[0]),ee.data[0];throw new Error("Unable to fetch verso holdings.")}))}getHoldings(oe){return this._http.post(`${this._holdingUrl}`,oe).pipe((0,e.U)(ee=>{if(ee.data)return this.setCachedHoldings(ee.data),ee.data;throw new Error("Unable to fetch holdings.")}))}getVersoHoldingsManagement(oe){return this._http.get(`${this._itemUrl}`,{params:{agControlId:oe}}).pipe((0,e.U)(ee=>{if(!ee)throw new Error("Unable to fetch holdings.");return ee}))}getVersoHoldingTemplate(oe){return this._http.get(`${this._itemUrl}/new?agControlId=${oe}`).pipe((0,e.U)(ee=>{if(!ee)throw new Error("Unable to fetch holding.");return ee}))}getVersoHolding(oe){return this._http.get(`${this._itemUrl}/${oe}`).pipe((0,e.U)(ee=>{if(!ee)throw new Error("Unable to fetch holding.");return ee}))}saveVersoHolding(oe){return this._http.post(this._itemUrl,oe).pipe((0,e.U)(le=>{if(!le)throw new Error("Unable to save holding.");return le}))}checkForDuplicateBarcode(oe,le){return this._http.post(`${this._itemUrl}/duplicateCheck`,{barcode:oe,holdingId:le}).pipe((0,e.U)(K=>K))}getShareItHoldings(oe,le=0){const ee={holdingids:oe};return le>0&&(ee.maxNumberOfHoldings=le),this.getHoldings(ee)}showOwnedByMyLibraryMessage(){return this._apiService.get(`${this._holdingUrl}/ShowOwnedByMyLibraryMessage`).pipe((0,e.U)(le=>le.data))}setCachedHoldings(oe){this._storageService.setItem(p.P.holdingsSessionKey,oe)}getCachedHoldings(){return this._storageService.getItem(p.P.holdingsSessionKey)}getShelfStatus(oe){const le=JSON.parse(oe);return this._http.post(`${this._holdingUrl}/CheckShelfStatus`,le).pipe((0,m.K)(K=>{throw console.error(K),new Error(this.UNABLE_TO_FETCH_SHELF_STATUS)}),(0,e.U)(K=>{if("OK"==K?.status&&K?.data?.data){const Q=new Map;for(const q of K.data.data)Q.set(q.libraryCode,q.status);return Q}throw console.error(K.message),new Error(this.UNABLE_TO_FETCH_SHELF_STATUS)}))}deleteHolding(oe,le=!0){return this._apiService.delete(`${this._itemUrl}/${oe}`,{params:{dryRun:le}}).pipe((0,m.K)(Q=>this._handleError(Q)))}_handleError(oe){return console.error("An error occurred:",oe),(0,u._)(oe)}static#e=this.\u0275fac=function(le){return new(le||S)};static#t=this.\u0275prov=t.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},3576:(jt,$e,s)=>{"use strict";s.d($e,{f:()=>L});var t=s(5619),u=s(7398),e=s(8913),m=s(9212),p=s(4593),U=s(3941),n=s(9862),I=s(4259);let L=(()=>{class y{constructor(M,E,A,S){this._apiService=M,this._configService=E,this._http=A,this._storageService=S,this._zeroResultsPostBodyKey="_zres_pb",this.borrowerPolicy$=new t.X(null),this.zeroResultsPB$=new t.X(null)}getBorrowPolicyBSValue(){return this.borrowerPolicy$.getValue()}setBorrowPolicyBS(M){this.borrowerPolicy$.next(M)}setZeroResultsPostBodyCache(M){this._storageService.setItem(this._zeroResultsPostBodyKey,M)}getZeroResultsPostBodyCache(){return this._storageService.getItem(this._zeroResultsPostBodyKey)}removeZeroResultsPostBodyCache(){this._storageService.remove(this._zeroResultsPostBodyKey)}XsetAgentInfoInCache(M){this._storageService.setItem(e.P.agentInfoSessionKey,M)}XgetAgentInfoInCache(){return this._storageService.getItem(e.P.agentInfoSessionKey)}XgetAgentUrl(){return this._storageService.getItem(e.P.agentInfoSessionKey).agentBaseUrl}XgetAgentTokenCache(){return this._storageService.getItem(e.P.agentInfoSessionKey).agentToken}XupdateAgentTokenCache(M){const E=this._storageService.getItem(e.P.agentInfoSessionKey);E&&(E.agentToken=M,this.XsetAgentInfoInCache(E))}showFormat(M){const E=this._storageService.getUserData(),S=this.getBorrowPolicyBSValue()?.find(oe=>oe.formatCode.toLowerCase()===M.toLowerCase());let Z=!1;return S&&(E?.isGuest&&(Z=S?.forGuest),E?.isPatron&&(Z=S?.forPatron),E?.isStaff&&(Z=S?.forStaff)),Z}showFingerIcon(){let M=!0;const E=this._storageService.getUserData(),S=E.illOptions;return(E.isStaff||!S.requestThisRequireLogin)&&!S.showRequestThis&&(M=!1),M}getBorrowerPolicy(){return this._apiService.get(`${this._configService.agApi}/illSettings/borrowerPolicyForAllUsers`).pipe((0,u.U)(E=>{if(E.data)return this.setBorrowPolicyBS(E.data),E.data;throw new Error("Unable to fetch borrower policy.")}))}updateBorrowerPolicy(M){return this._apiService.post(`${this._configService.agApi}/illSettings/borrowerPolicyForAllUsers`,M).pipe((0,u.U)(A=>{if(A.data)return A.data;throw new Error("Unable to update borrower policy.")}))}getLendingPolicy(){return this._http.get(`${this._configService.agApi}/illSettings/lendingpolicy`)}updateLendingPolicy(M){return this._http.put(`${this._configService.agApi}/illSettings/lendingpolicy`,M)}getLendingPolicyShareIt(M){return this._http.get(`${M}/illSettings/lendingpolicy?agent=`)}updateLendingPolicyShareIt(M,E){return this._http.put(`${M}/illSettings/lendingpolicy?agent=`,E)}getIllZeroSearchResults(M){return this._apiService.post(`${this._configService.agApi}/log/zeroResults`,M)}static#e=this.\u0275fac=function(E){return new(E||y)(m.LFG(p.s),m.LFG(U.E),m.LFG(n.eN),m.LFG(I.V))};static#t=this.\u0275prov=m.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},4132:(jt,$e,s)=>{"use strict";s.d($e,{P:()=>n});var t=s(5619),u=s(2572),e=s(9081),m=s(1088),p=s(9212),U=s(4259);let n=(()=>{class I{constructor(y,O,M){this._sharedService=y,this._storageService=O,this._breakpointObserver=M,this.screenSizeMap=new Map([[m.u3.XSmall,"xs"],[m.u3.Small,"sm"],[m.u3.Medium,"md"],[m.u3.Large,"lg"],[m.u3.XLarge,"xl"]]),this.SIDENAV_MODE="over",this.SIDENAV_POSITION="end",this._sideNavConfig=new t.X(null),this._contentComponentLoaded=new t.X(!1),this._layoutSettings=new t.X(null),this._headerHeight=new t.X(0),this._headerFooterHeight=new t.X(900),this._footerHeight=new t.X(0),this._contentScrollOffset=new t.X(0),this._staffNavigationHeight=new t.X(0),this._screenSize=new t.X(null),this._screenRange=new t.X(null),this.contentComponentLoaded$=this._contentComponentLoaded.asObservable(),this.layoutSettings$=this._layoutSettings.asObservable(),this.headerHeight$=this._headerHeight.asObservable(),this.headerFooterHeight$=this._headerFooterHeight.asObservable(),this.footerHeight$=this._footerHeight.asObservable(),this.contentScrollOffset$=this._contentScrollOffset.asObservable(),this.sideNavConfig$=this._sideNavConfig.asObservable(),this.staffNavigationHeight$=this._staffNavigationHeight.asObservable(),this.breakpoint$=this._breakpointObserver.observe([m.u3.XSmall,m.u3.Small,m.u3.Medium,m.u3.Large,m.u3.XLarge]),this.screenSize$=this._screenSize.asObservable(),this.screenRange$=this._screenRange.asObservable(),this._pageHeaderHeight=new t.X(null),this._drawerOpen=new t.X(null),this._drawerMode=new t.X(null),this._drawerWidth=new t.X(null),this._drawerPosition=new t.X(null),this.pageHeaderHeight$=this._pageHeaderHeight.asObservable(),this.drawerOpen$=this._drawerOpen.asObservable(),this.drawerMode$=this._drawerMode.asObservable(),this.drawerWidth$=this._drawerWidth.asObservable(),this.drawerPosition$=this._drawerPosition.asObservable(),this._contentScrollbarWidth=new t.X(0),this.contentScrollbarWidth$=this._contentScrollbarWidth.asObservable(),this.breakpoint$.subscribe(E=>{for(const A of Object.keys(E.breakpoints))if(E.breakpoints[A]){const S=this.screenSizeMap.get(A);this._screenSize.next(S),this._screenRange.next({gtXs:"xs"!==S,gtSm:"xs"!==S&&"sm"!==S,gtMd:"xs"!==S&&"sm"!==S&&"md"!==S,gtLg:"xs"!==S&&"sm"!==S&&"md"!==S&&"lg"!==S,ltSm:"xs"===S,ltMd:"xs"===S||"sm"===S,ltLg:"xs"===S||"sm"===S||"md"===S,ltXl:"xs"===S||"sm"===S||"md"===S||"lg"===S})}}),(0,u.a)([this.headerHeight$,this.footerHeight$]).subscribe(([E,A])=>{this._headerFooterHeight.next(E+A)})}setContentComponent(y){this._contentComponent=y,this._contentComponentLoaded.next(!0)}getContentComponent(){return this._contentComponent}setContentScrollbarWidth(y){this._contentScrollbarWidth.next(y)}scrollContentToTop(){this.scrollContentTo(0)}scrollContentTo(y=0){this._contentComponent.scrollTo({top:y,behavior:"smooth"})}setSideNav(y){this._sideNav=y}openSideNav(y){y&&this._sideNavConfig.next(y),this._sideNav.mode=y?.mode??this.SIDENAV_MODE,this._sideNav.position=y?.position??this.SIDENAV_POSITION,this._sideNav.open()}closeSideNav(){this._sideNav.close()}toggleSideNav(y){this._sideNav.opened?this.closeSideNav():this.openSideNav(y)}setLayoutSettings(y){this._storageService.setItem("layoutSettings",y),this._sharedService.setHeader(y),this._layoutSettings.next(y)}setHeaderHeight(y){this._headerHeight.getValue()!=y&&this._headerHeight.next(y)}setFooterHeight(y){this._footerHeight.getValue()!=y&&this._footerHeight.next(y)}setContentScrollOffset(y){this._contentScrollOffset.next(y)}setStaffNavigationHeight(y){this._staffNavigationHeight.next(y)}setPageHeaderHeight(y){this._pageHeaderHeight.next(y)}setDrawerOpen(y){this._drawerOpen.next(y)}setDrawerMode(y){this._drawerMode.next(y)}setDrawerWidth(y){this._drawerWidth.next(y)}static#e=this.\u0275fac=function(O){return new(O||I)(p.LFG(e.F),p.LFG(U.V),p.LFG(m.Yg))};static#t=this.\u0275prov=p.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})()},2923:(jt,$e,s)=>{"use strict";s.d($e,{$:()=>U});var t=s(7398),u=s(9212),e=s(9862),m=s(4593),p=s(3941);let U=(()=>{class n{constructor(L,y,O){this._http=L,this._apiService=y,this._configService=O,this._libraryApi=`${this._configService.agApi}/library`}getLibraries(){return this._apiService.get(this._libraryApi).pipe((0,t.U)(L=>{if(L)return L;throw new Error("Error retrieving libraries")}))}getGroups(L){return this._apiService.get(`${this._libraryApi}/${L}/circulationgroups`).pipe((0,t.U)(O=>{if(O.data)return O.data;throw new Error(O.message)}))}createGroup(L,y){return this._apiService.post(`${this._libraryApi}/${L}/circulationgroup`,y)}updateGroup(L,y){return this._apiService.put(`${this._libraryApi}/${L}/circulationgroup/${y.id}`,y)}deleteGroup(L,y){return this._apiService.delete(`${this._libraryApi}/${L}/circulationgroup/${y}`)}getLocations(L,y=1){return this._apiService.getWithParams(`${this._libraryApi}/locations`,{lpk:L,levelFilter:y}).pipe((0,t.U)(M=>{if(M.data)return M.data;throw new Error(M.message)}))}searchLibraries(L){return this._http.get(this._libraryApi+"/search",{params:{query:L}}).pipe((0,t.U)(y=>{if(y)return y;throw new Error("Error retrieving libraries")}))}getMaterialTypes(L){return this._apiService.getWithParams(`${this._libraryApi}/materialtypes`,{lpk:L})}getFormats(){return this._apiService.get(`${this._libraryApi}/formats`)}static#e=this.\u0275fac=function(y){return new(y||n)(u.LFG(e.eN),u.LFG(m.s),u.LFG(p.E))};static#t=this.\u0275prov=u.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()},2157:(jt,$e,s)=>{"use strict";s.d($e,{j:()=>I});var t=s(5619),u=s(9315),e=s(7398),m=s(9081),p=s(9212),U=s(4593),n=s(3941);let I=(()=>{class L{constructor(O,M,E){this._apiService=O,this._sharedService=M,this._configService=E,this.url="",this.loginOptionsBS=new t.X(null),this.fullRecordOptionsBS=new t.X(null),this.resultOptionsBS=new t.X(null),this.searchOptionsBS=new t.X(null),this.webLinkOptionsBS=new t.X(null)}setWebLinkOptionsBS(O){this.webLinkOptionsBS.next(O)}getWebLinkOptionsBS(){return this.webLinkOptionsBS.asObservable()}setSearchOptionsBS(O){this.searchOptionsBS.next(O)}getSearchOptionsBS(){return this.searchOptionsBS.asObservable()}setResultOptionsBS(O){this.resultOptionsBS.next(O)}getResultOptionsBS(){return this.resultOptionsBS.asObservable()}setLoginOptionsBS(O){this.loginOptionsBS.next(O)}getLoginOptionsBS(){return this.loginOptionsBS.asObservable()}getLoginInstructions(){return this._apiService.get(this._configService.agApi+"/opacSettings/login")}getDisplayTargets(){return this.url=this._configService.agApi+"/opacSettings/LoginLibraries",this._apiService.get(this.url)}setDisplayTargets(O){return this.url=this._configService.agApi+"/opacSettings/LoginLibraries",this._apiService.put(this.url,O)}getASFilterOptions(){return this.url=this._configService.agApi+"/opacSettings/filterSettings",this._apiService.get(this.url)}updateASFilterOptions(O){return this.url=this._configService.agApi+"/opacSettings/filterSettings",this._apiService.put(this.url,O)}getFacetOptions(){return this.url=this._configService.agApi+"/opacSettings/FacetOption",this._apiService.get(this.url)}updateFacetOptions(O){return this.url=this._configService.agApi+"/opacSettings/FacetOption",this._apiService.put(this.url,O)}getLoginOptions(){return this.url=this._configService.agApi+"/opacSettings/login",this._apiService.get(this.url)}getFullRecordOptions(){return this.url=this._configService.agApi+"/opacSettings/fullrecord",this._apiService.get(this.url)}getResultOptions(){return this.url=this._configService.agApi+"/opacSettings/result",this._apiService.get(this.url)}fetchOpacResults(){return this.getResultOptions().pipe((0,e.U)(O=>(this._sharedService.setOpacResultsBS(O.data),O.data)))}getSearchOptions(){return this.url=this._configService.agApi+"/opacSettings/search",this._apiService.get(this.url)}_getWebLinkOptions(){return this.url=this._configService.agApi+"/opacSettings/weblink",this._apiService.get(this.url)}loadWebLinkOptions(){return this._getWebLinkOptions().pipe((0,e.U)(O=>{if("200 OK"===O.status)return O.data&&this.setWebLinkOptionsBS(O.data),O}))}getStaffTabOptions(){return this.url=this._configService.agApi+"/opacSettings/stafftab",this._apiService.get(this.url)}updateLoginOptions(O){return this.url=this._configService.agApi+"/opacSettings/login",this._apiService.put(this.url,O)}updateFullRecordOptions(O){return this.url=this._configService.agApi+"/opacSettings/fullrecord",this._apiService.put(this.url,O)}updateResultsOptions(O){return this.url=this._configService.agApi+"/opacSettings/result",this._apiService.put(this.url,O)}updateSearchOptions(O){return this.url=this._configService.agApi+"/opacSettings/search",this._apiService.put(this.url,O)}updateWebLinksOptions(O){return this.url=this._configService.agApi+"/opacSettings/weblink",this._apiService.put(this.url,O)}updateStaffLocalTabs(O){return this.url=this._configService.agApi+"/opacSettings/localTab",this._apiService.put(this.url,O)}updateStaffGlobalTabs(O){return this.url=this._configService.agApi+"/opacSettings/globalTab",this._apiService.put(this.url,O)}useGlobalOptions(){return this.url=this._configService.agApi+"/opacSettings/useGlobal",this._apiService.get(this.url)}fetchWebLinksSeperateTab(){return this.url=this._configService.searchApi+"/library/WeblinkTargets",this._apiService.get(this.url)}getOpacSettingsObservable(){return(0,u.D)([this.getASFilterOptions(),this.getFacetOptions(),this.getStaffTabOptions(),this.getLoginOptions(),this.getDisplayTargets(),this.getFullRecordOptions(),this.getResultOptions(),this.getSearchOptions(),this.loadWebLinkOptions()]).pipe((0,e.U)(O=>{const M={asFiltersOptions:null,facetOptions:null,staffTabOptions:null,loginOptions:null,displayTargets:null,fullRecordOptions:null,resultOptions:null,searchOptions:null,webLinkOptions:null};return O[0]&&"200 OK"===O[0].status&&(M.asFiltersOptions=O[0].data),O[1]&&"200 OK"===O[1].status&&(M.facetOptions=O[1].data),O[2]&&"200 OK"===O[2].status&&(M.staffTabOptions=O[2].data),O[3]&&"200 OK"===O[3].status&&(M.loginOptions=O[3].data),O[4]&&"200 OK"===O[4].status&&(M.displayTargets=O[4].data),O[5]&&"200 OK"===O[5].status&&(M.fullRecordOptions=O[5].data),O[6]&&"200 OK"===O[6].status&&(M.resultOptions=O[6].data),O[7]&&"200 OK"===O[7].status&&(M.searchOptions=O[7].data),O[8]&&"200 OK"===O[8].status&&(M.webLinkOptions=O[8].data),M}))}static#e=this.\u0275fac=function(M){return new(M||L)(p.LFG(U.s),p.LFG(m.F),p.LFG(n.E))};static#t=this.\u0275prov=p.Yz7({token:L,factory:L.\u0275fac})}return L})()},8377:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>U});var t=s(6814),u=s(9081),e=s(9212),m=s(2787),p=s(4259);let U=(()=>{class n{constructor(L,y,O,M){this._router=L,this._sharedService=y,this._storageService=O,this._document=M,this._history=[],this._previousUrl="",this._currentUrl="",this._skipUrlHistory=["/login","/home","/page"],this.baseUri=M.location.origin}setCurrentUrl(L){L!==this._currentUrl&&!this._isSkipUrl(L)&&(this._previousUrl=this._currentUrl,this._currentUrl=L)}get currentUrl(){return this._currentUrl}get previousUrl(){return this._previousUrl}clearUrls(){this._currentUrl="",this._previousUrl=""}_isSkipUrl(L){return this._skipUrlHistory.some(y=>L.includes(y))}redirectAfterLogin(L,y=!1,O=""){if(y&&L?.gipRedirectUrl&&(window.location.href=`${this.baseUri}${L.gipRedirectUrl}`),O)this._router.navigateByUrl(O);else if(this._sharedService.getIsKidsCat())this.goToKidsCat();else switch(L?.opacOptions?.defaultLandingPage){case"Advanced Search Page":this.goToAdvancedSearch(!1);break;case"Staff Menu":this.goToDashboard();break;default:this.goToHome()}}goToPreviousUrl(){this._previousUrl?this._router.navigateByUrl(this._previousUrl):this.goToHome()}redirectOnAutoLogin(L){this._router.navigate([this._document.location.pathname],{queryParams:L})}goToLogin(L=null){const y=this._storageService.getUserData(),O={cid:y.customerId,lid:y.libraryId};L&&(O.redirect=L),this._router.navigate(["/login"],{queryParams:O})}goToHold(L){this._router.navigate(["/hold",L])}goToAddItem(L){this._router.navigate([`/holdings/add/${L}`])}goToEditItem(L){this._router.navigate([`/holdings/edit/${L}`])}goToSearch(L,y=!1,O=1,M=!1){const E={searchId:L};y&&(E.dym=!0),E.startRecord=O,this.goToSearchWithQueryParams(E,M)}goToSearchWithQueryParams(L,y=!1){this._router.navigate(["/search"],{queryParams:L,replaceUrl:y})}goToIllRequestEdit(){this._router.navigate(["/request-edit"])}goToUrl(L){this._router.navigateByUrl(L)}goToUrlWithParams(L,y){this._router.navigate([L],{queryParams:y})}goToIllRequest(L){this._router.navigate(["/request"],{queryParams:L})}goToBlankIllRequest(){this._router.navigate(["/request/blank"])}goToBatchStatusUpdate(){this._router.navigate(["/bsu"])}goToShippingLabelConfig(){this._router.navigate(["/shippingLabels/config"])}goToEditCustomPage(L){this._router.navigate(["/home-edit"],{queryParams:{type:L,d:Date.now()}})}goToCirculationLocationGroups(){this._router.navigateByUrl("/circulation/locationgroups")}goToKidsCat(){this._router.navigateByUrl("/kids")}goToHome(){const L=this._storageService.getUserData();this._router.navigate(["/home"],{queryParams:{cid:L.customerId,lid:L.libraryId}})}goToSignUp(L,y){this._router.navigate(["/signup/lib"],{queryParams:{cid:L,lid:y}})}goToAdvancedSearch(L=!1,y=!1){const O={history:L};y&&(O.fromSearch=!0),this._router.navigate(["/advancedsearch"],{queryParams:O})}goToPageById(L){L?this._router.navigate(["/page",L._id],{queryParams:{cid:this._storageService.getCid(),lid:this._storageService.getLid(),libId:this._storageService.getItem("libId")}}):console.error("customer care page not found")}goToBrief(L,y,O){this._router.navigate(["/brief"],{queryParams:{agctrlid:O,searchId:L,format:y}})}goToBriefShareIt(L,y,O,M=[]){const E={agctrlid:O,searchId:L,format:y};M.length&&(E.resourceAgControlIds=M),this._router.navigate(["/briefShareit"],{queryParams:E})}goToFullRecord(L,y,O,M,E,A=Number.MAX_SAFE_INTEGER){this._storageService.setSearchResultsYOffset(A!==Number.MAX_SAFE_INTEGER?A:0),M?this.goToFullRecordRefDb(E):this.goToFullRecordAgControlId(L,y,O)}goToFullRecordRelativeUrl(L){u.F.isEmpty(L)||this.goToUrl(L)}goToFullRecordByAgControlId(L,y){this._router.navigate(["/details"],{queryParams:{agctrlid:L,libraryDbPoolKey:y}})}goToFullRecordAgControlId(L,y,O){this._router.navigate(["/details"],{queryParams:{agctrlid:L,shard:y,searchId:O}})}goToFullRecordNewTab(L,y){const O=this._storageService.getUserData();window.open(this._document.location.origin+"/details?agctrlid="+L+"&shard="+y+"&cid="+O.customerId+"&lid="+O.libraryId)}goToFullRecordRefDb(L){u.F.isEmpty(L)?this._sharedService.openSnackBar("Unable to load Full Record."):this._sharedService.setSearchIframeBS(L)}goToDashboard(){this._sharedService.setOpenStaffPage(null),this._router.navigate(["/dashboard"])}goToMarcReportPage(){this._router.navigate(["/marc/report"])}goToMarcEditor(L,y=null){this._router.navigate([`/marc/edit/${encodeURIComponent(L)}`],{queryParams:{editBibRecordLink:y}})}goToAccountProfile(L=""){this._router.navigate(["/account/profile"],{queryParams:{returnUrl:L}})}goToAccountPreferences(){this._router.navigateByUrl("/account/preferences")}goToAccountResources(){this._router.navigateByUrl("/account/resources")}goToAccountWebLinks(){this._router.navigateByUrl("/account/webLinks")}goToItemsOut(){this._router.navigateByUrl("/items/itemsOut")}goToItemsHold(){this._router.navigateByUrl("/items/itemsHold")}goToLostItems(){this._router.navigateByUrl("/items/lostItems")}goToCheckoutHistory(){this._router.navigateByUrl("/items/checkoutHistory")}goToSearchAlerts(){this._router.navigateByUrl("/search/alerts")}goToFines(){this._router.navigateByUrl("/items/itemPayment")}goToOtherLibraries(){this._router.navigateByUrl("/items/otherLibraries")}goToYourList(){this._router.navigateByUrl("/list")}goToPage(L){L.linkPage?window.open(L.redirectUrl,"_blank"):this._router.navigate(["/page",L._id],{queryParams:{libId:this._storageService.getItem("libId")}})}pushOnBackStack(L=null){this._history.push(L||this._router.url)}goBack(){const L=this._history.pop();L&&this._router.navigateByUrl(L)}hasBackRoute(){return 0!=this._history.length}getCurrentRouteTitle(){const L=this._router.url;if("/"===L||L.includes("/home")||L.includes("/page/"))return"Home";if(L.includes("/dashboard"))return"Staff Dashboard";if(L.includes("/search")||L.includes("/brief"))return"Search Result";if(L.includes("/details")||L.includes("/record"))return"Full Record";if(L.includes("/hold/"))return"Place Hold";if(L.includes("/request")&&!L.includes("/request-edit"))return"Ill Request";if(L.includes("/advancedsearch"))return"Advanced Search";if(L.includes("/list"))return L.includes("listit")?"LISTit":"Your List";if(L.includes("/items/"))return"Your Items";if(L.includes("/account/"))return"Your Settings";if(L.includes("/login"))return"Login";if(L.includes("/marc/report"))return"MARC Tag Report";if(L.includes("/marc/edit"))return"AGEdit";if(L.includes("/marc/definition"))return"MARC Definition";if(L.includes("/request-edit"))return"Configure Request Form";if(L.includes("/staff/catalog"))return"Catalog Maintenance";try{const y=L.split("/");if(y.length>1){let O=y[1];const M=O.indexOf("?");return M>-1&&(O=O.substring(0,M)),O.charAt(0).toUpperCase()+O.substring(1).toLowerCase()+" Page"}}catch{return"Site Page"}}static#e=this.\u0275fac=function(y){return new(y||n)(e.LFG(m.F0),e.LFG(u.F),e.LFG(p.V),e.LFG(t.K0))};static#t=this.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac})}return n})()},7895:(jt,$e,s)=>{"use strict";s.d($e,{Q2:()=>Q,VO:()=>le,Y$:()=>K,jE:()=>ee,n2:()=>H,oD:()=>_e,zo:()=>q});var t=s(5861),u=s(5619),e=s(5592),m=s(2096),p=s(7398),U=s(4664),n=s(9081),I=s(8913),L=s(8377),y=s(5374),O=s(102),M=s(9212),E=s(1261),A=s(4593),S=s(3941),Z=s(4259),oe=s(3439),le=function(Ce){return Ce[Ce.SIMPLE=1]="SIMPLE",Ce[Ce.ADVANCED=2]="ADVANCED",Ce[Ce.BROWSE=3]="BROWSE",Ce[Ce.LINKED=4]="LINKED",Ce[Ce.KIDS_CATALOG=5]="KIDS_CATALOG",Ce}(le||{}),ee=function(Ce){return Ce.GALLERY="gallery",Ce.LIST="list",Ce}(ee||{}),K=function(Ce){return Ce[Ce.ALL=0]="ALL",Ce[Ce.PARTIAL=1]="PARTIAL",Ce[Ce.NONE=2]="NONE",Ce}(K||{}),Q=function(Ce){return Ce.CLUSTERED="Clustered",Ce.MERGED="Merged",Ce.NONE="None",Ce}(Q||{}),q=function(Ce){return Ce.AG="AG",Ce.AV="AV",Ce.ZZ="ZZ",Ce.WM="WM",Ce.RB="RB",Ce.ZN="ZN",Ce.OD="OD",Ce.WL="WL",Ce.WS="WS",Ce.EH="EH",Ce.CG="CG",Ce.PQ="PQ",Ce.HP="HP",Ce.BX="BX",Ce}(q||{}),H=function(Ce){return Ce.TITLE_ASCENDING="title_asc",Ce.TITLE_DESCENDING="title_desc",Ce.AUTHOR_ASCENDING="author_asc",Ce.AUTHOR_DESCENDING="author_desc",Ce.DATE_ASCENDING="date_asc",Ce.DATE_DESCENDING="date_desc",Ce.RELEVANCE="relevance",Ce}(H||{}),ie=function(Ce){return Ce.Results="results",Ce.Authority="authorityResults",Ce}(ie||{});let _e=(()=>{class Ce{static#e=this.libraryFacetId=-2;constructor(ae,pe,Ae,Ze,dt,Fe,Xe,Ie,W){this._accountService=ae,this._apiService=pe,this._configService=Ae,this._storageService=Ze,this._routingService=dt,this._sharedService=Fe,this._searchHistoryService=Xe,this._kidsCatalogSearchService=Ie,this._webSocketService=W,this._numOfRecords=I.P.NUM_OF_RECORDS,this._userPreferenceNumOfRecords=void 0,this.JACKETART_ERROR_URL="https://www5.auto-graphics.com/v6assets/no-image-foundlrg.png",this._searchIndexesBS=new u.X(null),this._resourcesBS=new u.X(null),this._quickSearchResourcesBS=new u.X(null),this._activeTargetsRemaining=new u.X(null),this.activeTargetsRemaining$=this._activeTargetsRemaining.asObservable(),this.zeroResultsTextBlock$=new e.y,this._webSocket=this._webSocketService.newInstance(),this._sharedService.getLoginStatusBS().subscribe(we=>{we==n.P.LOGOUT?(this._numOfRecords=I.P.NUM_OF_RECORDS,this._userPreferenceNumOfRecords=void 0,this._webSocket?.stop().subscribe(()=>{console.log("stopping search web socket")})):we==n.P.SUCCESSFUL&&this._webSocket.start(`${this._configService.searchApiWebSocketUrl}/search`).subscribe(()=>console.log("search web socket established"))}),this._accountService.userPreferences$.subscribe(we=>{if(!we)return;const P=we.find(V=>"DefaultSearchResultsDisplayCount"==V.name);P?.preferenceList?.length&&(this._userPreferenceNumOfRecords=Number(P.preferenceList.find(V=>V.isChecked).value))}),this._sharedService.getUserDataBS().subscribe(we=>{we&&(this.zeroResultsTextBlock$=this._getZeroResultsTextBlock().pipe((0,p.U)(P=>{const V={text:"<p>No results found for the term(s) used. Please check their spelling and contact library staff for help if problems persist.</p>",className:"medium-editor text-center height-250"};if(!(P.data.length>0))return V;{const Se=P.data[0].results[0];if(Se){const be=Se.text.replace(/(<([^>]+)>)/gi,"");return""!==be&&be?Se:V}}})))})}static setSelectedSearchResources(ae,pe){ae?.forEach(Ae=>{Ae.searchTargets.forEach(Ze=>{Ze.isDefault=pe.includes(Ze.libraryDBpoolKey)})}),Ce.setCheckStatus(ae)}static setCheckStatus(ae){ae?.forEach(pe=>{pe.isDefault=!pe.searchTargets.find(Ae=>!Ae.isDefault),pe.checkedStatus=pe.isDefault?K.ALL:pe.searchTargets.find(Ae=>Ae.isDefault)?K.PARTIAL:K.NONE})}static toggleResourcesByLibraryDBPoolKey(ae,pe){ae.forEach(Ae=>Ae.searchTargets.forEach(Ze=>{Ze.libraryDBpoolKey===pe.libraryDBpoolKey&&(Ze.isDefault=pe.isDefault)})),Ce.setCheckStatus(ae)}static getSelectResources(ae){const pe=[];return ae?.forEach(Ae=>{Ae.searchTargets.forEach(Ze=>{Ze.isDefault&&pe.push(Ze.libraryDBpoolKey)})}),pe}unsubscribeToWebSocket(){this._webSocket.off(ie.Authority),this._webSocket.off(ie.Results)}authoritySearchWebSocket(ae,pe){this._webSocket.off(ie.Authority),this._webSocket.on(ie.Authority,pe),this._webSocket.invoke(ie.Authority,ae).subscribe(()=>{console.log("performing auth search")})}pollResultsWebSocket(ae,pe){this._webSocket.off(ie.Results),this._webSocket.on(ie.Results,pe),this._webSocket.invoke(ie.Results,ae).subscribe(()=>{console.log("performing search")})}_getZeroResultsTextBlock(){const ae=this._configService.expressApi+"/zeroResults/"+this._storageService.getCid()+"/"+this._storageService.getLid();return this._apiService.get(ae)}saveZeroResultsTextBlock(ae){return this._apiService.post(this._configService.expressApi+"/zeroResults",ae)}getSearchIndexesBS(){return this._searchIndexesBS}getSearchResourcesBS(){return this._resourcesBS}_setSearchId(ae){this._storageService.setItem(I.P.searchIdSessionKey,ae)}getSearchId(){return this._storageService.getItem(I.P.searchIdSessionKey)}_setSearchResources(ae){this._storageService.setItem("availableResources",ae)}getSearchResources(){return this._storageService.getItem("availableResources")}getQuickSearchResourcesBS(){return this._quickSearchResourcesBS}setQuickSearchResourcesBS(ae){return this._quickSearchResourcesBS.next(ae)}setActiveTargetsRemaining(ae){this._activeTargetsRemaining.next(ae)}set numOfRecords(ae){this._numOfRecords=ae}get numOfRecords(){return this._userPreferenceNumOfRecords&&(this._numOfRecords=this._userPreferenceNumOfRecords,this._userPreferenceNumOfRecords=void 0),this._numOfRecords}doSearchSimple(ae,pe,Ae,Ze){this.doSearch({searchQuery:{matches:[{query:pe,index:ae,queryOption:I.P.QUERY_OPTION,matchJoinOperator:I.P.MATCH_JOIN_OPERATOR}],filters:{scopingLevel:Ze},facetMatches:[],resources:Ae,startRecord:I.P.START_RECORD,numOfRecords:this.numOfRecords,sortBy:[this.sortBy],orderBy:this.orderBy,resultType:this.resultType,searchType:le.SIMPLE}})}doSearch(ae,pe=!1){if(ae.searchQuery.resources?.length){if(ae.searchQuery.isKidsSearch=this._sharedService.getIsKidsCat(),this._searchHistoryService.setHistoryCached(ae),!pe){const Ze=(ae?.searchQuery?.matches||[]).map(dt=>dt.query).join(", ");this._storageService.setSearchTerm(Ze)}this.performSearch(ae).subscribe(Ae=>{this._setSearchId(Ae.searchId),this.goToSearch(Ae.searchId,pe)},Ae=>{const Ze="Unable to perform search.";this._sharedService.openSnackBar(Ze),Ae instanceof Error&&console.error(`${Ze}:${Ae.message}`)})}else this._sharedService.openSnackBar("Please select resources for search","ok")}performSearch(ae){return this._apiService.post(`${this._configService.searchApi}/search`,ae).pipe((0,p.U)(Ae=>{if(Ae.data)return Ae.data;throw new Error("unable to do search.")}))}performSearchAndWait(ae){return this._apiService.post(`${this._configService.searchApi}/search/searchAndWait`,ae).pipe((0,p.U)(Ae=>{if(Ae.data)return Ae.data;throw new Error("unable to perform search")}))}pollResults(ae){return this._apiService.post(`${this._configService.searchApi}/search/results`,ae).pipe((0,p.U)(Ae=>{if(Ae.data)return Ae.data;throw new Error("unable to fetch search results")}))}moreSearchResults(ae){return this._apiService.post(`${this._configService.searchApi}/search/moreSearchResults`,ae).pipe((0,p.U)(Ae=>{if(Ae.data)return Ae.data;throw new Error("unable to fetch more search results")}))}facetsResults(ae){return this._apiService.post(`${this._configService.searchApi}/search/facet`,ae).pipe((0,p.U)(Ae=>{if(Ae.data)return Ae.data;throw new Error("unable to fetch facet results.")}))}suggestSearchResults(ae){return this._apiService.get(`${this._configService.searchApi}/search/suggest?query=${ae}`).pipe((0,p.U)(Ae=>{if(Ae.data)return Ae.data;throw new Error("unable to fetch type ahead suggestions.")}))}goToSearch(ae,pe){this._routingService.goToSearch(ae,pe)}getAvailableTargets(){return this._apiService.get(`${this._configService.searchApi}/library/AvailableTargets`).pipe((0,p.U)(pe=>(Ce.setCheckStatus(pe.data.targetGroups),this._setSearchResources(pe.data.targetGroups),this._resourcesBS.next(pe.data.targetGroups),this._quickSearchResourcesBS.next(pe.data.targetGroups),pe)))}getSearchIndexes(){return this._apiService.get(this._configService.agApi+"/opac/searchindex").pipe((0,p.U)(pe=>{const Ae={simpleSearchIndexes:pe.data.simpleSearchIndexes,advancedSearchIndexes:pe.data.advancedSearchIndexes};return this._searchIndexesBS.next(Ae),Ae}))}getBrowseSearchResults(ae,pe,Ae){return this._apiService.get(`${this._configService.searchApi}/browse/search/${ae}/${pe}/?pageSize=${Ae}`).pipe((0,p.U)(dt=>{if(dt.data)return dt.data;throw new Error("unable to get browse search offset.")}))}getBrowseSearchOffset(ae,pe,Ae){return this._apiService.get(`${this._configService.searchApi}/browse/${ae}/${pe}/?pageSize=${Ae}`).pipe((0,p.U)(dt=>{if(dt.data)return dt.data;throw new Error("unable to get browse search results.")}))}goToBrief(ae,pe,Ae,Ze,dt){this._storageService.setBriefRecordCache(ae.formats),this._routingService.pushOnBackStack(Ze),this._routingService.goToBrief(pe,Ae,dt)}getSortAndOrderBy(ae){let pe,Ae;switch(ae){case H.TITLE_ASCENDING:pe="title",Ae="asc";break;case H.TITLE_DESCENDING:pe="title",Ae="desc";break;case H.AUTHOR_ASCENDING:pe="author",Ae="asc";break;case H.AUTHOR_DESCENDING:pe="author",Ae="desc";break;case H.DATE_ASCENDING:pe="date",Ae="asc";break;case H.DATE_DESCENDING:pe="date",Ae="desc";break;default:pe="relevance",Ae="asc"}return{sortBy:pe,orderBy:Ae}}getSortByType(ae,pe){Array.isArray(ae)&&(ae=ae[0]);const Ae=`${ae}_${pe}`?.toLowerCase();switch(Ae){case H.TITLE_ASCENDING:case H.TITLE_DESCENDING:case H.AUTHOR_ASCENDING:case H.AUTHOR_DESCENDING:case H.DATE_ASCENDING:case H.DATE_DESCENDING:return Ae;default:return H.RELEVANCE}}setSearchResults(ae){this._searchResults=ae}_getPreviousAgControlId(ae){const pe=this._searchResults.results.flatMap(dt=>dt.formats).flatMap(dt=>dt.documents);let Ae=pe.findIndex(dt=>dt.agControlId==ae);const Ze=--Ae;if(Ze>-1)return(0,m.of)(pe[Ze]);if(1==this._searchResults.searchQuery.startRecord)return(0,m.of)(null);{let dt=this._searchResults.searchQuery.startRecord-this._searchResults.searchQuery.numOfRecords;return dt<1&&(dt=1),this.pollResults({searchId:this._searchResults.searchId,startRecord:dt}).pipe((0,U.w)(Fe=>{this.setSearchResults(Fe);const Xe=this._searchResults.results.flatMap(Ie=>Ie.formats).flatMap(Ie=>Ie.documents);return(0,m.of)(Xe[Xe.length-1])}))}}_getNextAgControlId(ae){const pe=this._searchResults.results.flatMap(dt=>dt.formats).flatMap(dt=>dt.documents);let Ae=pe.findIndex(dt=>dt.agControlId==ae);const Ze=++Ae;return Ze<pe.length?(0,m.of)(pe[Ze]):this.pollResults({searchId:this._searchResults.searchId,startRecord:this._searchResults.searchQuery.startRecord+this._searchResults.searchQuery.numOfRecords}).pipe((0,U.w)(Fe=>{if(0==Fe.results?.length)return(0,m.of)(null);this.setSearchResults(Fe);const Xe=this._searchResults.results.flatMap(Ie=>Ie.formats).flatMap(Ie=>Ie.documents);return(0,m.of)(Xe[0])}))}nextAgControlId(ae,pe){return this._searchResults&&this._searchResults.searchId==ae?this._getNextAgControlId(pe):this.pollResults({searchId:ae}).pipe((0,U.w)(Ae=>(this.setSearchResults(Ae),this._getNextAgControlId(pe))))}hasNextAgControlId(ae,pe){if(this._searchResults?.searchId==ae){const Ae=this._searchResults.results.flatMap(Ie=>Ie.formats),Ze=Ae.flatMap(Ie=>Ie.documents),Fe=Ze.findIndex(Ie=>Ie.agControlId==pe)==Ze.length-1;return(0,m.of)(!(Fe&&this._searchResults.searchQuery.numOfRecords>Ae.length))}return this.pollResults({searchId:ae}).pipe((0,U.w)(Ae=>{if(this.setSearchResults(Ae),Ae?.searchId==ae)return this.hasNextAgControlId(ae,pe)}))}hasPreviousAgControlId(ae,pe){if(this._searchResults?.searchId==ae){const Ze=this._searchResults.results.flatMap(dt=>dt.formats).flatMap(dt=>dt.documents).findIndex(dt=>dt.agControlId==pe);return(0,m.of)(!(!Ze&&1==this._searchResults.searchQuery.startRecord))}return this.pollResults({searchId:ae}).pipe((0,U.w)(Ae=>{if(this.setSearchResults(Ae),Ae?.searchId==ae)return this.hasPreviousAgControlId(ae,pe)}))}previousAgControlId(ae,pe){return this._searchResults&&this._searchResults.searchId==ae?this._getPreviousAgControlId(pe):this.pollResults({searchId:ae}).pipe((0,U.w)(Ae=>(this.setSearchResults(Ae),this._getPreviousAgControlId(pe))))}search(ae){var pe=this;return(0,t.Z)(function*(){const Ze=(ae.matches??[]).map(Fe=>Fe.query).join(", ");pe._storageService.setItem(I.P.searchTermSessionKey,Ze),pe._removeSearchResultsScrolling(),pe._sharedService.getIsKidsCat()&&(ae=pe._updateSearchBodyForKids(ae),pe._kidsCatalogSearchService.setKidsCacheSearchRequest({searchQuery:pe._buildKidsCacheBody(ae.matches)}));const dt={searchQuery:ae};pe._sharedService.getIsKidsCat()?pe._kidsCatalogSearchService.setKidsCacheSearchRequest({searchQuery:pe._buildKidsCacheBody(ae.matches)}):pe._searchHistoryService.setHistoryCached(dt),pe.performSearch(dt).subscribe(Fe=>{pe._routingService.goToSearchWithQueryParams({searchId:Fe.searchId,startRecord:ae.startRecord})})})()}_removeSearchResultsScrolling(){this._storageService.remove(I.P.SEARCHRESULTS_YOFFSET),this._storageService.remove(I.P.SEARCHRESULTS_FULLRECORD_AGCONTROLID)}_buildKidsCacheBody(ae){return{matches:ae,numOfFacetPerGroup:20,numOfRecords:40,orderBy:"asc",sortBy:["relevance"],startRecord:1,isKidsSearch:!0}}_updateSearchBodyForKids(ae){return ae.numOfFacetPerGroup=20,ae.numOfRecords=40,ae.orderBy="asc",ae.sortBy=["relevance"],ae.startRecord=1,ae.isKidsSearch=!0,ae}static#t=this.\u0275fac=function(pe){return new(pe||Ce)(M.LFG(E.B),M.LFG(A.s),M.LFG(S.E),M.LFG(Z.V),M.LFG(L.Z),M.LFG(n.F),M.LFG(oe.r),M.LFG(y.f),M.LFG(O.lx))};static#n=this.\u0275prov=M.Yz7({token:Ce,factory:Ce.\u0275fac})}return Ce})()},9081:(jt,$e,s)=>{"use strict";s.d($e,{F:()=>I,P:()=>n});var t=s(5619),u=s(9212),e=s(7592),m=s(2787),p=s(1865),U=s(4259),n=function(L){return L[L.STARTING=0]="STARTING",L[L.SUCCESSFUL=1]="SUCCESSFUL",L[L.COMPLETE=2]="COMPLETE",L[L.FAILED=3]="FAILED",L[L.LOGOUT=4]="LOGOUT",L}(n||{});let I=(()=>{class L{constructor(O,M,E,A){this._matDialog=O,this._router=M,this._snackBar=E,this._storageService=A,this._iOS=!1,this.UNABLE_TO_FETCH_SHELF_STATUS="Shelf Status is not available.",this._kidsCat=new t.X(!1),this._title=new t.X(null),this._openSideNavSettings=new t.X(null),this._searchIframe=new t.X(null),this.LIB_NAME=new t.X([]),this.userDataBS=new t.X(void 0),this.libraryChangeBS=new t.X(void 0),this.holdingsBS=new t.X(null),this.prevGoFlagKCBS=new t.X(null),this.loadGuestListBS=new t.X(null),this.opacResultsBS=new t.X(null),this.loginStatusBS=new t.X(null),this.staffMenu=new t.X(null),this._openStaffPage=new t.X(null),this._pages=new t.X(null),this.editPage=new t.X(null),this.resize$=new t.X(null),this.liblist$=new t.X(null),this.header$=new t.X(null),this.footer$=new t.X(null),this.passPatronInfo=new t.X(null),this.openEditComponent=new t.X(null),this.addRowComponent=new t.X(null),this.currentStaffMenu=new t.X(null),this.title$=this._title.asObservable(),this.kidsCat$=this._kidsCat.asObservable(),this.openSideNavSettigs$=this._openSideNavSettings.asObservable(),this.openStaffPage$=this._openStaffPage.asObservable(),this.searchIframe$=this._searchIframe.asObservable(),this.pages$=this._pages.asObservable(),this._iOS=!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform),this.setKidsCat(this._storageService.getIsKidsCat()??!1)}static arrayUnique(O){return[...new Set(O)]}static dedupeArrayOfObjects(O,M){return O.filter((E,A,S)=>S.map(Z=>Z[M]).indexOf(E[M])===A)}static isEmpty(O){return!O||!/\S/.test(O)}static isNotEmpty(O){return!L.isEmpty(O)}static isEqualsString(O,M){return 0==O?.localeCompare(M,void 0,{sensitivity:"accent"})}isIOS(){return this._iOS}getBrowserType(){if(navigator.userAgent.toLowerCase().indexOf("firefox")>-1)return"firefox";const M=navigator.userAgent.toLowerCase();return M.indexOf("edge")>-1?"edge":-1!=M.indexOf("safari")?M.indexOf("chrome")>-1?"chrome":"safari":"chrome"}setTitle(O){this._title.next(O)}getResize(){return this.resize$.getValue()}getResizeBS(){return this.resize$.asObservable()}setResizeBS(O){this.resize$.next(O)}setDefaultWindowSize(O){this.resize$.next(O)}setOpacResultsBS(O){this.opacResultsBS.next(O)}getOpacResultsBS(){return this.opacResultsBS.asObservable()}getLibDropdownList(){return this.liblist$.getValue()}setLibDropdownList(O){return this.liblist$.next(O)}setKidsCat(O){this._storageService.setIsKidsCat(O),this._kidsCat.next(O)}getIsKidsCat(){return this._kidsCat.value}setHeader(O){this.header$.next(O)}getHeader(){return this.header$.asObservable()}setFooter(O){this.footer$.next(O)}getFooter(){return this.footer$.asObservable()}setLoadGuestListBS(O){this.loadGuestListBS.next(O)}getLoadGuestListBS(){return this.loadGuestListBS.asObservable()}setSearchIframeBS(O){this._searchIframe.next(O)}setPrevGoFlagKCBS(O){this.prevGoFlagKCBS.next(O)}getPrevGoFlagKCBS(){return this.prevGoFlagKCBS.asObservable()}setOpenSideNavSettings(O){this._openSideNavSettings.next(O)}setLoginStatusBS(O){this.loginStatusBS.next(O)}getLoginStatusBS(){return this.loginStatusBS.asObservable()}setHoldingsBS(O){this.holdingsBS.next(O)}getHoldingsBS(){return this.holdingsBS.asObservable()}setUserDataBS(O){this._storageService.setUserData(O),this.userDataBS.next(O)}getUserDataBS(){return this.userDataBS.asObservable()}setLibraryChangedBS(O,M){this.libraryChangeBS.next({cid:O,lid:M})}getLibraryChangedBS(){return this.libraryChangeBS.asObservable()}updateLibraryName(O){this.LIB_NAME.next(O)}achieveLibraryName(){return this.LIB_NAME.asObservable()}getCurrentStaffMenu(){return this.currentStaffMenu.asObservable()}setCurrentStaffMenu(O){this.currentStaffMenu.next(O)}setOpenStaffPage(O){this._openStaffPage.next(O)}getPatronInfo(){return this.passPatronInfo.asObservable()}setPatronInfo(O){this.passPatronInfo.next(O)}setPage(O){this.editPage.next(O)}getPage(){return this.editPage.asObservable()}setPageSlideNav(O){this.openEditComponent.next(O)}getPageSlideNav(){return this.openEditComponent.asObservable()}setPages(O){this._pages.next(O)}getRowSlideNav(){return this.openEditComponent.asObservable()}setRowSlideNav(){}setRow(O){this.addRowComponent.next(O)}getRow(){return this.addRowComponent.asObservable()}getLength(O){return O.toString().length}insertStrAtPos(O,M,E){return typeof E>"u"&&(E=0),typeof M>"u"&&(M=""),O.slice(0,E)+M+O.slice(E)}arr_diff(O,M){const E=[],A=[];for(let S=0;S<O.length;S++)E[O[S]]=!0;for(let S=0;S<M.length;S++)E[M[S]]?delete E[M[S]]:E[M[S]]=!0;for(const S in E)A.push(S);return A}renameKeyInObject(O,M,E){return M&&E&&(O[E]=O[M],delete O[M]),O}updateDateForm(O){const M=O.date1,E=O.date2;return L.isEmpty(M)&&!L.isEmpty(E)&&(O.date1=O.date2),!L.isEmpty(M)&&L.isEmpty(E)&&(O.date2=O.date1),O}updateYearPubFormObject(O){const M=O.yearPub1,E=O.yearPub2;return L.isEmpty(M)&&!L.isEmpty(E)&&(O.yearPub1=O.yearPub2),!L.isEmpty(M)&&L.isEmpty(E)&&(O.yearPub2=O.yearPub1),O}isEmptyObject(O){for(const M in O)if(O.hasOwnProperty(M))return!1;return JSON.stringify(O)===JSON.stringify({})}checkObjectPropsNullOrEmpty(O){for(const M in O)if(null==O[M]||""==O[M])return!0;return!1}replaceBetweenInString(O,M,E,A){return O.substring(0,M)+A+O.substring(E)}deepCopy(O){return JSON.parse(JSON.stringify(O))}isEqualArray(O,M){const E=Object.prototype.toString.call(O);if(E!==Object.prototype.toString.call(M)||["[object Array]","[object Object]"].indexOf(E)<0)return!1;const A="[object Array]"===E?O.length:Object.keys(O).length;if(A!==("[object Array]"===E?M.length:Object.keys(M).length))return!1;if("[object Array]"===E){for(let Z=0;Z<A;Z++)if(!1===this.compare(O[Z],M[Z]))return!1}else for(const Z in O)if(O.hasOwnProperty(Z)&&!1===this.compare(O[Z],M[Z]))return!1;return!0}compare(O,M){const E=Object.prototype.toString.call(O);if(["[object Array]","[object Object]"].indexOf(E)>=0){if(!this.isEqualArray(O,M))return!1}else{if(E!==Object.prototype.toString.call(M))return!1;if("[object Function]"===E){if(O.toString()!==M.toString())return!1}else if(O!==M)return!1}}isEquivalentObjects(O,M){const E=Object.getOwnPropertyNames(O),A=Object.getOwnPropertyNames(M);if(E.length!=A.length)return!1;for(let S=0;S<E.length;S++){const Z=E[S];if(console.log(O[Z]),console.log(M[Z]),O[Z]!==M[Z])return!1}return!0}putMissingPropsObjectsInEnd(O,M){return O.sort((E,A)=>(!E.hasOwnProperty(M)||null==E[M]||Array.isArray(E[M])?0==E[M].length:""===E[M])?1:(!A.hasOwnProperty(M)||null==A[M]||Array.isArray(A[M])?0==A[M].length:""===A[M])?-1:0)}groupBy(O,M){return O.reduce(function(E,A){const S=A[M];return E[S]=E[S]||[],E[S].push(A),E},{})}isArray(O){return Array.isArray(O)}sortArray(O,M){if(O?.length)return O.length?isNaN(O[0][M])?O.sort((E,A)=>E[M].toLowerCase()>A[M].toLowerCase()?1:-1):O.sort((E,A)=>E[M]>A[M]?1:-1):O}sortArrayDescending(O,M){return O.length?isNaN(O[0][M])?O.sort((E,A)=>A[M].toLowerCase()>E[M].toLowerCase()?1:-1):O.sort((E,A)=>A[M]>E[M]?1:-1):O}addDaysToDate(O,M){const E=new Date(O);return E.setDate(E.getDate()+M),E}scrollIntoView(O){O.scrollIntoView({behavior:"smooth"})}redirect404(O=""){this._router.navigateByUrl("/404"),O&&""!=O&&null!=O&&this.openSnackBar(O,"ok")}getDateGMT(O){return new Date(O)}doesMonthExist(O,M,E){const A=/\S/.test(M)?O:0,S=/\S/.test(O)?O:0,Z=/\S/.test(E)?E:0;return!(0==A&&0!=S&&0!=Z)}isValidArticleYearIll(O){if(O){if(!/\S/.test(O))return!0;const M=""!=O&&/\S/.test(O)?O:0;return!isNaN(M)&&!(0==M||4!=this.getLength(M))}return!0}findPositionFromTop(O){let M=0;if(O.offsetParent){do{M+=O.offsetTop}while(O=O.offsetParent);return M}}unableToCompleteRequestMessage(){this.openSnackBar("Unable to complete your request at this moment.")}showArticleMonthErrorMessage(){this.openSnackBar("You have entered a Year and Day. Please include an issue Month or delete the Day if not needed.","ok")}showArticleYearErrorMessage(O=!1){this.openSnackBar(O?"Please enter a valid 4-digit year in the \u201cArticle Year\u201d field.":"Please enter a valid 4-digit year in the Article Date \u201cYear\u201d field.","ok")}logMessageAndRoute(O,M="error",E="404"){console.error(O),this._router.navigateByUrl("/404")}openSnackBar(O,M="ok",E=5e3){this._snackBar.open(O,M,{duration:E,verticalPosition:"top"})}componentSnackbar(O,M,E,A=""){this._snackBar.openFromComponent(O,{duration:5e3,verticalPosition:"top",data:{message:M,extraMessage:E,location:A}})}openMatDialog(O,M,E,A="",S="",Z=null){this._matDialog.open(E,{height:S,width:A,data:Z??{message:O,buttonText:{cancel:M}}})}openWLUrl(O){O&&!L.isEmpty(O)?((O.includes("useracct.asp?")||O.includes("MyStatus.aspx"))&&(O=this._includeSessId(O)),window.open(O,"_blank","location=yes,height=650,width=650,scrollbars=yes,status=yes")):console.error("missing url !!!")}_includeSessId(O=""){if(O.length>0&&O.includes("myses=&")){const M=this._storageService.getItem("userData");let E;M&&(M.sessionId&&(E=M.sessionId),E&&(O=O.replace("myses=&",`myses=${E}&`)))}return O}replaceNonAsciiWithParam(O,M){return O.replace(/[^ -~]+/g,M)}isMobile(){const O=navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(O)}addScriptToIndex(O,M){return document.querySelector(`#${O}`)&&document.querySelector(`#${O}`).remove(),new Promise(E=>{const A=document.createElement("script");A.id=O,A.src=M,A.onload=E,document.getElementsByTagName("head")[0].appendChild(A)})}arrayCreateQueryParams(O,M){let E;for(let A=0;A<O.length;A++)0===A&&(E="?"),E+=`${M}=${O[A]}`,A!==O.length-1&&(E+="&");return E}getValueFromJSON(O,M){return JSON.parse(O)[M]}static#e=this.\u0275fac=function(M){return new(M||L)(u.LFG(e.on),u.LFG(m.F0),u.LFG(p.pl),u.LFG(U.V))};static#t=this.\u0275prov=u.Yz7({token:L,factory:L.\u0275fac})}return L})()},4259:(jt,$e,s)=>{"use strict";s.d($e,{V:()=>e});var t=s(8913),u=s(9212);let e=(()=>{class m{constructor(){}encode(U){return"[object Date]"===Object.prototype.toString.call(U)?"__ag_date|"+U.toUTCString():"number"==typeof U?"__ag_numb|"+U:"boolean"==typeof U?"1":"string"==typeof U?"__ag_strn|"+U:U===Object(U)?"__ag_objt|"+JSON.stringify(U):U}decode(U){if(U.length<10)return U;const I=U.substr(0,9),L=U.substring(10);switch(I){case"__ag_date":return new Date(L);case"__ag_numb":return Number(L);case"__ag_bool":return!!L;case"__ag_strn":return L;case"__ag_objt":return JSON.parse(L);default:return U}}getLocalItem(U){return this.localItemExists(U)?this.decode(localStorage.getItem(U)):null}setLocalItem(U,n){localStorage.setItem(U,this.encode(n))}removeLocalItem(U){this.localItemExists(U)&&localStorage.removeItem(U)}clearLocalStorage(){localStorage.clear()}localItemExists(U){return null!=localStorage.getItem(U)}getItem(U){if(this.isExisted(U)&&sessionStorage.getItem(U))return JSON.parse(sessionStorage.getItem(U))}setItem(U,n){return sessionStorage.setItem(U,JSON.stringify(n)),n}remove(U){let n=!1;return this.isExisted(U)&&(sessionStorage.removeItem(U),n=!0),n}clearAll(){const U=this.getCid(),n=this.getLid();sessionStorage.clear(),this.setCid(U),this.setLid(n)}isExisted(U){const n=sessionStorage.getItem(U);return null!=n&&""!==n}getIsKidsCat(){return this.getItem("kidsCat")}setIsKidsCat(U){return this.setItem("kidsCat",U)}setCid(U){this.setItem("cid",U)}getCid(){return this.getItem("cid")}setLid(U){this.setItem("lid",U)}getLid(){return this.getItem("lid")}setUserData(U){this.setItem(t.P.userDataSessionKey,U)}getUserData(){return this.getItem(t.P.userDataSessionKey)}setCurrentPatronValue(U){this.setItem("_curr_pat",U)}getCurrentPatronValue(){let U="";return this.isExisted("_curr_pat")&&(U=this.getItem("_curr_pat")),U}setPrevPatronValue(U){this.setItem("_prev_pat",U)}getPrevPatronValue(){let U="";return this.isExisted("_prev_pat")&&(U=this.getItem("_prev_pat")),U}isCurrentPatron(){return""!==this.getCurrentPatronValue()&&""!==this.getPrevPatronValue()}setPastLid(U){this.setItem("_past_lid",U)}getPastLid(){return this.getItem("_past_lid")}removePastLid(){this.isExisted("_past_lid")&&this.remove("_past_lid")}setFetchExpressLibrary(U){this.setItem("_fet_exp_lib",U)}getFetchExpressLibrary(){return this.getItem("_fet_exp_lib")}setFetchExpressHeader(U){this.setItem("_fet_exp_head",U)}getFetchExpressHeader(){return this.getItem("_fet_exp_head")}setFetchExpressFooter(U){this.setItem("_fet_exp_foot",U)}getFetchExpressFooter(){return this.getItem("_fet_exp_foot")}getShowLibBox(){return this.getItem("_islibbox")}setShowLibBox(U){this.setItem("_islibbox",U)}setAgControlIdFromSearchResults(U){this.setItem(t.P.SEARCHRESULTS_FULLRECORD_AGCONTROLID,U)}takeAgControlIdFromSearchResults(){const U=this.getItem(t.P.SEARCHRESULTS_FULLRECORD_AGCONTROLID);return this.remove(t.P.SEARCHRESULTS_FULLRECORD_AGCONTROLID),U}setSearchResultsYOffset(U){this.setItem(t.P.SEARCHRESULTS_YOFFSET,U)}takeSearchResultsYOffset(){const U=this.getItem(t.P.SEARCHRESULTS_YOFFSET);return this.remove(t.P.SEARCHRESULTS_YOFFSET),U}getBriefRecordCache(){return this.getItem("brief")}setBriefRecordCache(U){this.setItem("brief",U)}setBackFrmKC(U){this.setItem("backFrmKC",U)}getBackFrmKC(){return this.getItem("backFrmKC")}setBackFrmBrief(U){this.setItem("backFrmBrief",U)}getBackFrmBrief(){return this.getItem("backFrmBrief")}setHomeUrl(U){this.setItem("homeUrl",U)}getHomeUrl(){return this.getItem("homeUrl")}setIsNewPage(U){this.setItem("_isNP",U)}getIsNewPage(){return this.getItem("_isNP")}setSearchView(U){this.setItem(t.P.searchViewSessionKey,U)}getSearchView(){return this.getItem(t.P.searchViewSessionKey)}setSearchTerm(U){this.setItem(t.P.searchTermSessionKey,U)}setRequestItemsForBatchIll(U){this.setItem(t.P.requestItemsBatchSessionKey,U)}getRequestItemsForBatchIll(){return this.getItem(t.P.requestItemsBatchSessionKey)}setFullRecordsForBatchIll(U){this.setItem(t.P.fullRecordItemsBatchSessionKey,U)}getFullRecordsForBatchIll(){return this.getItem(t.P.fullRecordItemsBatchSessionKey)}getSearchTerm(){return this.getItem(t.P.searchTermSessionKey)}setDidYouMeanSearchTerm(U){this.setItem(t.P.didYouMeanSearchTermSessionKey,U)}removeDidYouMeanSearchTerm(){this.remove(t.P.didYouMeanSearchTermSessionKey)}getDidYouMeanSearchTerm(){return this.getItem(t.P.didYouMeanSearchTermSessionKey)}static#e=this.\u0275fac=function(n){return new(n||m)};static#t=this.\u0275prov=u.Yz7({token:m,factory:m.\u0275fac})}return m})()},6034:(jt,$e,s)=>{"use strict";s.d($e,{o:()=>m,y:()=>p});var t=s(6765),u=s(9212),e=s(523);const m={EARLY_RETURN_SUCCESS:"Your request to return this item was successfully completed.",EARLY_RETURN_ERROR:"Unable to return selected item. Please Try again later.",LOCK_FORMAT_SUCCESS:"Your request to download has been accepted. Please proceed to download this item.",LOCK_FORMAT_ERROR:"Unable to select the specified format. Please try again later.",PLACE_HOLD_SUCCESS:"Hold placed successfully.",PLACE_HOLD_ERROR:"Unable to place item on hold. Please try again later.",GET_ITEM_ERROR:"Error loading item. Please try again later.",GENERIC_ERROR:"An error has occured. Please try again later.",CANCEL_SUCCESS:"Hold cancelled.",CANCEL_ERROR:"Unable to cancel hold, please try again later.",CHECKOUT_ERROR:"Unable to checkout, please try again later."};let p=(()=>{class U{constructor(I,L){this._overDriveService=I,this._hooplaService=L}overDriveEarlyReturn(I){return this._overDriveService.earlyReturn(I)}overDriveRequestItem(I){return this._overDriveService.getItem(I)}overDriveCheckOut(I){return this._overDriveService.checkout(I)}overDriveGetDownloadLink(I){return this._overDriveService.getDownloadLink(I)}overDrivePlaceHold(I){return this._overDriveService.placeHold(I)}overDriveCancelHold(I){return this._overDriveService.cancelHold(I)}hooplaItemRequest(I){return this._hooplaService.getItem(I)}hooplaPlaceHold(I){return this._hooplaService.placeHold(I)}hooplaCancelHold(I){return this._hooplaService.cancelHold(I)}hooplaCheckout(I){return this._hooplaService.checkout(I)}hooplaReturnTitle(I){return this._hooplaService.earlyReturn(I)}static#e=this.\u0275fac=function(L){return new(L||U)(u.LFG(e.U),u.LFG(t.kq))};static#t=this.\u0275prov=u.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})()},6765:(jt,$e,s)=>{"use strict";s.d($e,{P3:()=>m,kq:()=>U,wg:()=>p});var t=s(9212),u=s(3941),e=s(4593),m=function(n){return n.BORROW="BORROW",n.HOLD="HOLD",n.UNAVAILABLE="UNAVAILABLE",n}(m||{}),p=function(n){return n.FLEX="FLEX",n.INSTANT="INSTANT",n}(p||{});let U=(()=>{class n{constructor(L,y){this._configService=L,this._apiService=y,this._hooplaUrl=`${this._configService.agApi}/econtent/hoopla`}placeHold(L){return this._apiService.post(`${this._hooplaUrl}/${L}/placeHold`,null)}cancelHold(L){return this._apiService.delete(`${this._hooplaUrl}/${L}/removeHold`)}checkout(L){return this._apiService.get(`${this._hooplaUrl}/${L}/checkout`)}earlyReturn(L){return this._apiService.delete(`${this._hooplaUrl}/${L}/earlyreturn`)}getItem(L){return this._apiService.get(`${this._hooplaUrl}/${L}/itemrequest`)}static#e=this.\u0275fac=function(y){return new(y||n)(t.LFG(u.E),t.LFG(e.s))};static#t=this.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()},523:(jt,$e,s)=>{"use strict";s.d($e,{U:()=>m});var t=s(9212),u=s(3941),e=s(4593);let m=(()=>{class p{constructor(n,I){this._configService=n,this._apiService=I,this._overDriveUrl=`${this._configService.agApi}/econtent/overdrive`}checkout(n){return this._apiService.get(`${this._overDriveUrl}/checkout/${n}`)}cancelHold(n){return this._apiService.delete(`${this._overDriveUrl}/removehold/${n}`)}earlyReturn(n){return this._apiService.postWithSimpleBody(`${this._overDriveUrl}/earlyreturn`,n)}getDownloadLink(n){return this._apiService.get(`${this._overDriveUrl}/getDownloadRedirectLink/${btoa(n)}`)}getItem(n){return this._apiService.get(`${this._overDriveUrl}/itemrequest/${n}`)}placeHold(n){return this._apiService.post(`${this._overDriveUrl}/placehold`,n)}static#e=this.\u0275fac=function(I){return new(I||p)(t.LFG(u.E),t.LFG(e.s))};static#t=this.\u0275prov=t.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},2359:(jt,$e,s)=>{"use strict";s.d($e,{B:()=>m});var t=s(8913),u=s(9212),e=s(4259);let m=(()=>{class p{static#e=this.accessTokenSessionKey="access_Token";constructor(n){this._storageService=n}setToken(n){return this._storageService.setItem(p.accessTokenSessionKey,n)}getToken(){return this._storageService.getItem(p.accessTokenSessionKey)}removeToken(){this._storageService.remove(p.accessTokenSessionKey)}setResourceSharingToken(n){const I=this._storageService.getItem(t.P.agentInfoSessionKey);I.agentToken=n,this._storageService.setItem(t.P.agentInfoSessionKey,I)}getResourceSharingToken(){return this._storageService.getItem(t.P.agentInfoSessionKey)?.agentToken}static#t=this.\u0275fac=function(I){return new(I||p)(u.LFG(e.V))};static#n=this.\u0275prov=u.Yz7({token:p,factory:p.\u0275fac})}return p})()},102:(jt,$e,s)=>{"use strict";s.d($e,{lx:()=>k});var t=s(5861);class u{static write(B){return`${B}${u.RecordSeparator}`}static parse(B){if(B[B.length-1]!==u.RecordSeparator)throw new Error("Message is incomplete.");const Y=B.split(u.RecordSeparator);return Y.pop(),Y}}u.RecordSeparatorCode=30,u.RecordSeparator=String.fromCharCode(u.RecordSeparatorCode);var e=function(re){return re[re.Trace=0]="Trace",re[re.Debug=1]="Debug",re[re.Information=2]="Information",re[re.Warning=3]="Warning",re[re.Error=4]="Error",re[re.Critical=5]="Critical",re[re.None=6]="None",re}(e||{});class m{constructor(){}log(B,Y){}}m.instance=new m;const p="8.0.0";class U{static isRequired(B,Y){if(null==B)throw new Error(`The '${Y}' argument is required.`)}static isNotEmpty(B,Y){if(!B||B.match(/^\s*$/))throw new Error(`The '${Y}' argument should not be empty.`)}static isIn(B,Y,Qe){if(!(B in Y))throw new Error(`Unknown ${Qe} value: ${B}.`)}}class n{static get isBrowser(){return!n.isNode&&"object"==typeof window&&"object"==typeof window.document}static get isWebWorker(){return!n.isNode&&"object"==typeof self&&"importScripts"in self}static get isReactNative(){return!n.isNode&&"object"==typeof window&&typeof window.document>"u"}static get isNode(){return typeof process<"u"&&process.release&&"node"===process.release.name}}function I(re,B){let Y="";return y(re)?(Y=`Binary data of length ${re.byteLength}`,B&&(Y+=`. Content: '${function L(re){const B=new Uint8Array(re);let Y="";return B.forEach(Qe=>{Y+=`0x${Qe<16?"0":""}${Qe.toString(16)} `}),Y.substr(0,Y.length-1)}(re)}'`)):"string"==typeof re&&(Y=`String data of length ${re.length}`,B&&(Y+=`. Content: '${re}'`)),Y}function y(re){return re&&typeof ArrayBuffer<"u"&&(re instanceof ArrayBuffer||re.constructor&&"ArrayBuffer"===re.constructor.name)}function O(re,B,Y,Qe,_t,Vt){return M.apply(this,arguments)}function M(){return(M=(0,t.Z)(function*(re,B,Y,Qe,_t,Vt){const bn={},[xn,Fn]=Z();bn[xn]=Fn,re.log(e.Trace,`(${B} transport) sending data. ${I(_t,Vt.logMessageContent)}.`);const Ot=y(_t)?"arraybuffer":"text",En=yield Y.post(Qe,{content:_t,headers:{...bn,...Vt.headers},responseType:Ot,timeout:Vt.timeout,withCredentials:Vt.withCredentials});re.log(e.Trace,`(${B} transport) request complete. Response status: ${En.statusCode}.`)})).apply(this,arguments)}class A{constructor(B,Y){this._subject=B,this._observer=Y}dispose(){const B=this._subject.observers.indexOf(this._observer);B>-1&&this._subject.observers.splice(B,1),0===this._subject.observers.length&&this._subject.cancelCallback&&this._subject.cancelCallback().catch(Y=>{})}}class S{constructor(B){this._minLevel=B,this.out=console}log(B,Y){if(B>=this._minLevel){const Qe=`[${(new Date).toISOString()}] ${e[B]}: ${Y}`;switch(B){case e.Critical:case e.Error:this.out.error(Qe);break;case e.Warning:this.out.warn(Qe);break;case e.Information:this.out.info(Qe);break;default:this.out.log(Qe)}}}}function Z(){let re="X-SignalR-User-Agent";return n.isNode&&(re="User-Agent"),[re,oe(p,le(),n.isNode?"NodeJS":"Browser",ee())]}function oe(re,B,Y,Qe){let _t="Microsoft SignalR/";const Vt=re.split(".");return _t+=`${Vt[0]}.${Vt[1]}`,_t+=` (${re}; `,_t+=B&&""!==B?`${B}; `:"Unknown OS; ",_t+=`${Y}`,_t+=Qe?`; ${Qe}`:"; Unknown Runtime Version",_t+=")",_t}function le(){if(!n.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function ee(){if(n.isNode)return process.versions.node}function Q(re){return re.stack?re.stack:re.message?re.message:`${re}`}class H{writeHandshakeRequest(B){return u.write(JSON.stringify(B))}parseHandshakeResponse(B){let Y,Qe;if(y(B)){const xn=new Uint8Array(B),Fn=xn.indexOf(u.RecordSeparatorCode);if(-1===Fn)throw new Error("Message is incomplete.");const Ot=Fn+1;Y=String.fromCharCode.apply(null,Array.prototype.slice.call(xn.slice(0,Ot))),Qe=xn.byteLength>Ot?xn.slice(Ot).buffer:null}else{const xn=B,Fn=xn.indexOf(u.RecordSeparator);if(-1===Fn)throw new Error("Message is incomplete.");const Ot=Fn+1;Y=xn.substring(0,Ot),Qe=xn.length>Ot?xn.substring(Ot):null}const _t=u.parse(Y),Vt=JSON.parse(_t[0]);if(Vt.type)throw new Error("Expected a handshake response from the server.");return[Qe,Vt]}}class T extends Error{constructor(B,Y){const Qe=new.target.prototype;super(`${B}: Status code '${Y}'`),this.statusCode=Y,this.__proto__=Qe}}class ie extends Error{constructor(B="A timeout occurred."){const Y=new.target.prototype;super(B),this.__proto__=Y}}class _e extends Error{constructor(B="An abort occurred."){const Y=new.target.prototype;super(B),this.__proto__=Y}}class Ce extends Error{constructor(B,Y){const Qe=new.target.prototype;super(B),this.transport=Y,this.errorType="UnsupportedTransportError",this.__proto__=Qe}}class Ve extends Error{constructor(B,Y){const Qe=new.target.prototype;super(B),this.transport=Y,this.errorType="DisabledTransportError",this.__proto__=Qe}}class ae extends Error{constructor(B,Y){const Qe=new.target.prototype;super(B),this.transport=Y,this.errorType="FailedToStartTransportError",this.__proto__=Qe}}class pe extends Error{constructor(B){const Y=new.target.prototype;super(B),this.errorType="FailedToNegotiateWithServerError",this.__proto__=Y}}class Ae extends Error{constructor(B,Y){const Qe=new.target.prototype;super(B),this.innerErrors=Y,this.__proto__=Qe}}var Ze=function(re){return re[re.Invocation=1]="Invocation",re[re.StreamItem=2]="StreamItem",re[re.Completion=3]="Completion",re[re.StreamInvocation=4]="StreamInvocation",re[re.CancelInvocation=5]="CancelInvocation",re[re.Ping=6]="Ping",re[re.Close=7]="Close",re[re.Ack=8]="Ack",re[re.Sequence=9]="Sequence",re}(Ze||{});class dt{constructor(){this.observers=[]}next(B){for(const Y of this.observers)Y.next(B)}error(B){for(const Y of this.observers)Y.error&&Y.error(B)}complete(){for(const B of this.observers)B.complete&&B.complete()}subscribe(B){return this.observers.push(B),new A(this,B)}}class Fe{constructor(B,Y,Qe){this._bufferSize=1e5,this._messages=[],this._totalMessageCount=0,this._waitForSequenceMessage=!1,this._nextReceivingSequenceId=1,this._latestReceivedSequenceId=0,this._bufferedByteCount=0,this._reconnectInProgress=!1,this._protocol=B,this._connection=Y,this._bufferSize=Qe}_send(B){var Y=this;return(0,t.Z)(function*(){const Qe=Y._protocol.writeMessage(B);let _t=Promise.resolve();if(Y._isInvocationMessage(B)){Y._totalMessageCount++;let Vt=()=>{},bn=()=>{};y(Qe)?Y._bufferedByteCount+=Qe.byteLength:Y._bufferedByteCount+=Qe.length,Y._bufferedByteCount>=Y._bufferSize&&(_t=new Promise((xn,Fn)=>{Vt=xn,bn=Fn})),Y._messages.push(new Xe(Qe,Y._totalMessageCount,Vt,bn))}try{Y._reconnectInProgress||(yield Y._connection.send(Qe))}catch{Y._disconnected()}yield _t})()}_ack(B){let Y=-1;for(let Qe=0;Qe<this._messages.length;Qe++){const _t=this._messages[Qe];if(_t._id<=B.sequenceId)Y=Qe,y(_t._message)?this._bufferedByteCount-=_t._message.byteLength:this._bufferedByteCount-=_t._message.length,_t._resolver();else{if(!(this._bufferedByteCount<this._bufferSize))break;_t._resolver()}}-1!==Y&&(this._messages=this._messages.slice(Y+1))}_shouldProcessMessage(B){if(this._waitForSequenceMessage)return B.type===Ze.Sequence&&(this._waitForSequenceMessage=!1,!0);if(!this._isInvocationMessage(B))return!0;const Y=this._nextReceivingSequenceId;return this._nextReceivingSequenceId++,Y<=this._latestReceivedSequenceId?(Y===this._latestReceivedSequenceId&&this._ackTimer(),!1):(this._latestReceivedSequenceId=Y,this._ackTimer(),!0)}_resetSequence(B){B.sequenceId>this._nextReceivingSequenceId?this._connection.stop(new Error("Sequence ID greater than amount of messages we've received.")):this._nextReceivingSequenceId=B.sequenceId}_disconnected(){this._reconnectInProgress=!0,this._waitForSequenceMessage=!0}_resend(){var B=this;return(0,t.Z)(function*(){const Y=0!==B._messages.length?B._messages[0]._id:B._totalMessageCount+1;yield B._connection.send(B._protocol.writeMessage({type:Ze.Sequence,sequenceId:Y}));const Qe=B._messages;for(const _t of Qe)yield B._connection.send(_t._message);B._reconnectInProgress=!1})()}_dispose(B){B??(B=new Error("Unable to reconnect to server."));for(const Y of this._messages)Y._rejector(B)}_isInvocationMessage(B){switch(B.type){case Ze.Invocation:case Ze.StreamItem:case Ze.Completion:case Ze.StreamInvocation:case Ze.CancelInvocation:return!0;case Ze.Close:case Ze.Sequence:case Ze.Ping:case Ze.Ack:return!1}}_ackTimer(){var B=this;void 0===this._ackTimerHandle&&(this._ackTimerHandle=setTimeout((0,t.Z)(function*(){try{B._reconnectInProgress||(yield B._connection.send(B._protocol.writeMessage({type:Ze.Ack,sequenceId:B._latestReceivedSequenceId})))}catch{}clearTimeout(B._ackTimerHandle),B._ackTimerHandle=void 0}),1e3))}}class Xe{constructor(B,Y,Qe,_t){this._message=B,this._id=Y,this._resolver=Qe,this._rejector=_t}}var P=function(re){return re.Disconnected="Disconnected",re.Connecting="Connecting",re.Connected="Connected",re.Disconnecting="Disconnecting",re.Reconnecting="Reconnecting",re}(P||{});class V{static create(B,Y,Qe,_t,Vt,bn,xn){return new V(B,Y,Qe,_t,Vt,bn,xn)}constructor(B,Y,Qe,_t,Vt,bn,xn){this._nextKeepAlive=0,this._freezeEventListener=()=>{this._logger.log(e.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep")},U.isRequired(B,"connection"),U.isRequired(Y,"logger"),U.isRequired(Qe,"protocol"),this.serverTimeoutInMilliseconds=Vt??3e4,this.keepAliveIntervalInMilliseconds=bn??15e3,this._statefulReconnectBufferSize=xn??1e5,this._logger=Y,this._protocol=Qe,this.connection=B,this._reconnectPolicy=_t,this._handshakeProtocol=new H,this.connection.onreceive=Fn=>this._processIncomingData(Fn),this.connection.onclose=Fn=>this._connectionClosed(Fn),this._callbacks={},this._methods={},this._closedCallbacks=[],this._reconnectingCallbacks=[],this._reconnectedCallbacks=[],this._invocationId=0,this._receivedHandshakeResponse=!1,this._connectionState=P.Disconnected,this._connectionStarted=!1,this._cachedPingMessage=this._protocol.writeMessage({type:Ze.Ping})}get state(){return this._connectionState}get connectionId(){return this.connection&&this.connection.connectionId||null}get baseUrl(){return this.connection.baseUrl||""}set baseUrl(B){if(this._connectionState!==P.Disconnected&&this._connectionState!==P.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!B)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=B}start(){return this._startPromise=this._startWithStateTransitions(),this._startPromise}_startWithStateTransitions(){var B=this;return(0,t.Z)(function*(){if(B._connectionState!==P.Disconnected)return Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."));B._connectionState=P.Connecting,B._logger.log(e.Debug,"Starting HubConnection.");try{yield B._startInternal(),n.isBrowser&&window.document.addEventListener("freeze",B._freezeEventListener),B._connectionState=P.Connected,B._connectionStarted=!0,B._logger.log(e.Debug,"HubConnection connected successfully.")}catch(Y){return B._connectionState=P.Disconnected,B._logger.log(e.Debug,`HubConnection failed to start successfully because of error '${Y}'.`),Promise.reject(Y)}})()}_startInternal(){var B=this;return(0,t.Z)(function*(){B._stopDuringStartError=void 0,B._receivedHandshakeResponse=!1;const Y=new Promise((Qe,_t)=>{B._handshakeResolver=Qe,B._handshakeRejecter=_t});yield B.connection.start(B._protocol.transferFormat);try{let Qe=B._protocol.version;B.connection.features.reconnect||(Qe=1);const _t={protocol:B._protocol.name,version:Qe};if(B._logger.log(e.Debug,"Sending handshake request."),yield B._sendMessage(B._handshakeProtocol.writeHandshakeRequest(_t)),B._logger.log(e.Information,`Using HubProtocol '${B._protocol.name}'.`),B._cleanupTimeout(),B._resetTimeoutPeriod(),B._resetKeepAliveInterval(),yield Y,B._stopDuringStartError)throw B._stopDuringStartError;!!B.connection.features.reconnect&&(B._messageBuffer=new Fe(B._protocol,B.connection,B._statefulReconnectBufferSize),B.connection.features.disconnected=B._messageBuffer._disconnected.bind(B._messageBuffer),B.connection.features.resend=()=>{if(B._messageBuffer)return B._messageBuffer._resend()}),B.connection.features.inherentKeepAlive||(yield B._sendMessage(B._cachedPingMessage))}catch(Qe){throw B._logger.log(e.Debug,`Hub handshake failed with error '${Qe}' during start(). Stopping HubConnection.`),B._cleanupTimeout(),B._cleanupPingTimer(),yield B.connection.stop(Qe),Qe}})()}stop(){var B=this;return(0,t.Z)(function*(){const Y=B._startPromise;B.connection.features.reconnect=!1,B._stopPromise=B._stopInternal(),yield B._stopPromise;try{yield Y}catch{}})()}_stopInternal(B){if(this._connectionState===P.Disconnected)return this._logger.log(e.Debug,`Call to HubConnection.stop(${B}) ignored because it is already in the disconnected state.`),Promise.resolve();if(this._connectionState===P.Disconnecting)return this._logger.log(e.Debug,`Call to HttpConnection.stop(${B}) ignored because the connection is already in the disconnecting state.`),this._stopPromise;const Y=this._connectionState;return this._connectionState=P.Disconnecting,this._logger.log(e.Debug,"Stopping HubConnection."),this._reconnectDelayHandle?(this._logger.log(e.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this._reconnectDelayHandle),this._reconnectDelayHandle=void 0,this._completeClose(),Promise.resolve()):(Y===P.Connected&&this._sendCloseMessage(),this._cleanupTimeout(),this._cleanupPingTimer(),this._stopDuringStartError=B||new _e("The connection was stopped before the hub handshake could complete."),this.connection.stop(B))}_sendCloseMessage(){var B=this;return(0,t.Z)(function*(){try{yield B._sendWithProtocol(B._createCloseMessage())}catch{}})()}stream(B,...Y){const[Qe,_t]=this._replaceStreamingParams(Y),Vt=this._createStreamInvocation(B,Y,_t);let bn;const xn=new dt;return xn.cancelCallback=()=>{const Fn=this._createCancelInvocation(Vt.invocationId);return delete this._callbacks[Vt.invocationId],bn.then(()=>this._sendWithProtocol(Fn))},this._callbacks[Vt.invocationId]=(Fn,Ot)=>{Ot?xn.error(Ot):Fn&&(Fn.type===Ze.Completion?Fn.error?xn.error(new Error(Fn.error)):xn.complete():xn.next(Fn.item))},bn=this._sendWithProtocol(Vt).catch(Fn=>{xn.error(Fn),delete this._callbacks[Vt.invocationId]}),this._launchStreams(Qe,bn),xn}_sendMessage(B){return this._resetKeepAliveInterval(),this.connection.send(B)}_sendWithProtocol(B){return this._messageBuffer?this._messageBuffer._send(B):this._sendMessage(this._protocol.writeMessage(B))}send(B,...Y){const[Qe,_t]=this._replaceStreamingParams(Y),Vt=this._sendWithProtocol(this._createInvocation(B,Y,!0,_t));return this._launchStreams(Qe,Vt),Vt}invoke(B,...Y){const[Qe,_t]=this._replaceStreamingParams(Y),Vt=this._createInvocation(B,Y,!1,_t);return new Promise((xn,Fn)=>{this._callbacks[Vt.invocationId]=(En,ye)=>{ye?Fn(ye):En&&(En.type===Ze.Completion?En.error?Fn(new Error(En.error)):xn(En.result):Fn(new Error(`Unexpected message type: ${En.type}`)))};const Ot=this._sendWithProtocol(Vt).catch(En=>{Fn(En),delete this._callbacks[Vt.invocationId]});this._launchStreams(Qe,Ot)})}on(B,Y){!B||!Y||(B=B.toLowerCase(),this._methods[B]||(this._methods[B]=[]),-1===this._methods[B].indexOf(Y)&&this._methods[B].push(Y))}off(B,Y){if(!B)return;B=B.toLowerCase();const Qe=this._methods[B];if(Qe)if(Y){const _t=Qe.indexOf(Y);-1!==_t&&(Qe.splice(_t,1),0===Qe.length&&delete this._methods[B])}else delete this._methods[B]}onclose(B){B&&this._closedCallbacks.push(B)}onreconnecting(B){B&&this._reconnectingCallbacks.push(B)}onreconnected(B){B&&this._reconnectedCallbacks.push(B)}_processIncomingData(B){if(this._cleanupTimeout(),this._receivedHandshakeResponse||(B=this._processHandshakeResponse(B),this._receivedHandshakeResponse=!0),B){const Y=this._protocol.parseMessages(B,this._logger);for(const Qe of Y)if(!this._messageBuffer||this._messageBuffer._shouldProcessMessage(Qe))switch(Qe.type){case Ze.Invocation:this._invokeClientMethod(Qe);break;case Ze.StreamItem:case Ze.Completion:{const _t=this._callbacks[Qe.invocationId];if(_t){Qe.type===Ze.Completion&&delete this._callbacks[Qe.invocationId];try{_t(Qe)}catch(Vt){this._logger.log(e.Error,`Stream callback threw error: ${Q(Vt)}`)}}break}case Ze.Ping:break;case Ze.Close:{this._logger.log(e.Information,"Close message received from server.");const _t=Qe.error?new Error("Server returned an error on close: "+Qe.error):void 0;!0===Qe.allowReconnect?this.connection.stop(_t):this._stopPromise=this._stopInternal(_t);break}case Ze.Ack:this._messageBuffer&&this._messageBuffer._ack(Qe);break;case Ze.Sequence:this._messageBuffer&&this._messageBuffer._resetSequence(Qe);break;default:this._logger.log(e.Warning,`Invalid message type: ${Qe.type}.`)}}this._resetTimeoutPeriod()}_processHandshakeResponse(B){let Y,Qe;try{[Qe,Y]=this._handshakeProtocol.parseHandshakeResponse(B)}catch(_t){const Vt="Error parsing handshake response: "+_t;this._logger.log(e.Error,Vt);const bn=new Error(Vt);throw this._handshakeRejecter(bn),bn}if(Y.error){const _t="Server returned handshake error: "+Y.error;this._logger.log(e.Error,_t);const Vt=new Error(_t);throw this._handshakeRejecter(Vt),Vt}return this._logger.log(e.Debug,"Server handshake complete."),this._handshakeResolver(),Qe}_resetKeepAliveInterval(){this.connection.features.inherentKeepAlive||(this._nextKeepAlive=(new Date).getTime()+this.keepAliveIntervalInMilliseconds,this._cleanupPingTimer())}_resetTimeoutPeriod(){var B=this;if(!(this.connection.features&&this.connection.features.inherentKeepAlive||(this._timeoutHandle=setTimeout(()=>this.serverTimeout(),this.serverTimeoutInMilliseconds),void 0!==this._pingServerHandle))){let Y=this._nextKeepAlive-(new Date).getTime();Y<0&&(Y=0),this._pingServerHandle=setTimeout((0,t.Z)(function*(){if(B._connectionState===P.Connected)try{yield B._sendMessage(B._cachedPingMessage)}catch{B._cleanupPingTimer()}}),Y)}}serverTimeout(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))}_invokeClientMethod(B){var Y=this;return(0,t.Z)(function*(){const Qe=B.target.toLowerCase(),_t=Y._methods[Qe];if(!_t)return Y._logger.log(e.Warning,`No client method with the name '${Qe}' found.`),void(B.invocationId&&(Y._logger.log(e.Warning,`No result given for '${Qe}' method and invocation ID '${B.invocationId}'.`),yield Y._sendWithProtocol(Y._createCompletionMessage(B.invocationId,"Client didn't provide a result.",null))));const Vt=_t.slice(),bn=!!B.invocationId;let xn,Fn,Ot;for(const En of Vt)try{const ye=xn;xn=yield En.apply(Y,B.arguments),bn&&xn&&ye&&(Y._logger.log(e.Error,`Multiple results provided for '${Qe}'. Sending error to server.`),Ot=Y._createCompletionMessage(B.invocationId,"Client provided multiple results.",null)),Fn=void 0}catch(ye){Fn=ye,Y._logger.log(e.Error,`A callback for the method '${Qe}' threw error '${ye}'.`)}Ot?yield Y._sendWithProtocol(Ot):bn?(Fn?Ot=Y._createCompletionMessage(B.invocationId,`${Fn}`,null):void 0!==xn?Ot=Y._createCompletionMessage(B.invocationId,null,xn):(Y._logger.log(e.Warning,`No result given for '${Qe}' method and invocation ID '${B.invocationId}'.`),Ot=Y._createCompletionMessage(B.invocationId,"Client didn't provide a result.",null)),yield Y._sendWithProtocol(Ot)):xn&&Y._logger.log(e.Error,`Result given for '${Qe}' method but server is not expecting a result.`)})()}_connectionClosed(B){this._logger.log(e.Debug,`HubConnection.connectionClosed(${B}) called while in state ${this._connectionState}.`),this._stopDuringStartError=this._stopDuringStartError||B||new _e("The underlying connection was closed before the hub handshake could complete."),this._handshakeResolver&&this._handshakeResolver(),this._cancelCallbacksWithError(B||new Error("Invocation canceled due to the underlying connection being closed.")),this._cleanupTimeout(),this._cleanupPingTimer(),this._connectionState===P.Disconnecting?this._completeClose(B):this._connectionState===P.Connected&&this._reconnectPolicy?this._reconnect(B):this._connectionState===P.Connected&&this._completeClose(B)}_completeClose(B){if(this._connectionStarted){this._connectionState=P.Disconnected,this._connectionStarted=!1,this._messageBuffer&&(this._messageBuffer._dispose(B??new Error("Connection closed.")),this._messageBuffer=void 0),n.isBrowser&&window.document.removeEventListener("freeze",this._freezeEventListener);try{this._closedCallbacks.forEach(Y=>Y.apply(this,[B]))}catch(Y){this._logger.log(e.Error,`An onclose callback called with error '${B}' threw error '${Y}'.`)}}}_reconnect(B){var Y=this;return(0,t.Z)(function*(){const Qe=Date.now();let _t=0,Vt=void 0!==B?B:new Error("Attempting to reconnect due to a unknown error."),bn=Y._getNextRetryDelay(_t++,0,Vt);if(null===bn)return Y._logger.log(e.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),void Y._completeClose(B);if(Y._connectionState=P.Reconnecting,Y._logger.log(e.Information,B?`Connection reconnecting because of error '${B}'.`:"Connection reconnecting."),0!==Y._reconnectingCallbacks.length){try{Y._reconnectingCallbacks.forEach(xn=>xn.apply(Y,[B]))}catch(xn){Y._logger.log(e.Error,`An onreconnecting callback called with error '${B}' threw error '${xn}'.`)}if(Y._connectionState!==P.Reconnecting)return void Y._logger.log(e.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.")}for(;null!==bn;){if(Y._logger.log(e.Information,`Reconnect attempt number ${_t} will start in ${bn} ms.`),yield new Promise(xn=>{Y._reconnectDelayHandle=setTimeout(xn,bn)}),Y._reconnectDelayHandle=void 0,Y._connectionState!==P.Reconnecting)return void Y._logger.log(e.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting.");try{if(yield Y._startInternal(),Y._connectionState=P.Connected,Y._logger.log(e.Information,"HubConnection reconnected successfully."),0!==Y._reconnectedCallbacks.length)try{Y._reconnectedCallbacks.forEach(xn=>xn.apply(Y,[Y.connection.connectionId]))}catch(xn){Y._logger.log(e.Error,`An onreconnected callback called with connectionId '${Y.connection.connectionId}; threw error '${xn}'.`)}return}catch(xn){if(Y._logger.log(e.Information,`Reconnect attempt failed because of error '${xn}'.`),Y._connectionState!==P.Reconnecting)return Y._logger.log(e.Debug,`Connection moved to the '${Y._connectionState}' from the reconnecting state during reconnect attempt. Done reconnecting.`),void(Y._connectionState===P.Disconnecting&&Y._completeClose());Vt=xn instanceof Error?xn:new Error(xn.toString()),bn=Y._getNextRetryDelay(_t++,Date.now()-Qe,Vt)}}Y._logger.log(e.Information,`Reconnect retries have been exhausted after ${Date.now()-Qe} ms and ${_t} failed attempts. Connection disconnecting.`),Y._completeClose()})()}_getNextRetryDelay(B,Y,Qe){try{return this._reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:Y,previousRetryCount:B,retryReason:Qe})}catch(_t){return this._logger.log(e.Error,`IRetryPolicy.nextRetryDelayInMilliseconds(${B}, ${Y}) threw error '${_t}'.`),null}}_cancelCallbacksWithError(B){const Y=this._callbacks;this._callbacks={},Object.keys(Y).forEach(Qe=>{const _t=Y[Qe];try{_t(null,B)}catch(Vt){this._logger.log(e.Error,`Stream 'error' callback called with '${B}' threw error: ${Q(Vt)}`)}})}_cleanupPingTimer(){this._pingServerHandle&&(clearTimeout(this._pingServerHandle),this._pingServerHandle=void 0)}_cleanupTimeout(){this._timeoutHandle&&clearTimeout(this._timeoutHandle)}_createInvocation(B,Y,Qe,_t){if(Qe)return 0!==_t.length?{arguments:Y,streamIds:_t,target:B,type:Ze.Invocation}:{arguments:Y,target:B,type:Ze.Invocation};{const Vt=this._invocationId;return this._invocationId++,0!==_t.length?{arguments:Y,invocationId:Vt.toString(),streamIds:_t,target:B,type:Ze.Invocation}:{arguments:Y,invocationId:Vt.toString(),target:B,type:Ze.Invocation}}}_launchStreams(B,Y){if(0!==B.length){Y||(Y=Promise.resolve());for(const Qe in B)B[Qe].subscribe({complete:()=>{Y=Y.then(()=>this._sendWithProtocol(this._createCompletionMessage(Qe)))},error:_t=>{let Vt;Vt=_t instanceof Error?_t.message:_t&&_t.toString?_t.toString():"Unknown error",Y=Y.then(()=>this._sendWithProtocol(this._createCompletionMessage(Qe,Vt)))},next:_t=>{Y=Y.then(()=>this._sendWithProtocol(this._createStreamItemMessage(Qe,_t)))}})}}_replaceStreamingParams(B){const Y=[],Qe=[];for(let _t=0;_t<B.length;_t++){const Vt=B[_t];if(this._isObservable(Vt)){const bn=this._invocationId;this._invocationId++,Y[bn]=Vt,Qe.push(bn.toString()),B.splice(_t,1)}}return[Y,Qe]}_isObservable(B){return B&&B.subscribe&&"function"==typeof B.subscribe}_createStreamInvocation(B,Y,Qe){const _t=this._invocationId;return this._invocationId++,0!==Qe.length?{arguments:Y,invocationId:_t.toString(),streamIds:Qe,target:B,type:Ze.StreamInvocation}:{arguments:Y,invocationId:_t.toString(),target:B,type:Ze.StreamInvocation}}_createCancelInvocation(B){return{invocationId:B,type:Ze.CancelInvocation}}_createStreamItemMessage(B,Y){return{invocationId:B,item:Y,type:Ze.StreamItem}}_createCompletionMessage(B,Y,Qe){return Y?{error:Y,invocationId:B,type:Ze.Completion}:{invocationId:B,result:Qe,type:Ze.Completion}}_createCloseMessage(){return{type:Ze.Close}}}var Se=function(re){return re[re.None=0]="None",re[re.WebSockets=1]="WebSockets",re[re.ServerSentEvents=2]="ServerSentEvents",re[re.LongPolling=4]="LongPolling",re}(Se||{}),G=function(re){return re[re.Text=1]="Text",re[re.Binary=2]="Binary",re}(G||{});const be=[0,2e3,1e4,3e4,null];class de{constructor(B){this._retryDelays=void 0!==B?[...B,null]:be}nextRetryDelayInMilliseconds(B){return this._retryDelays[B.previousRetryCount]}}let De=(()=>{class re{}return re.Authorization="Authorization",re.Cookie="Cookie",re})();class tt{constructor(B,Y,Qe){this.statusCode=B,this.statusText=Y,this.content=Qe}}class Re{get(B,Y){return this.send({...Y,method:"GET",url:B})}post(B,Y){return this.send({...Y,method:"POST",url:B})}delete(B,Y){return this.send({...Y,method:"DELETE",url:B})}getCookieString(B){return""}}class Ft extends Re{constructor(B,Y){super(),this._innerClient=B,this._accessTokenFactory=Y}send(B){var Y=this;return(0,t.Z)(function*(){let Qe=!0;Y._accessTokenFactory&&(!Y._accessToken||B.url&&B.url.indexOf("/negotiate?")>0)&&(Qe=!1,Y._accessToken=yield Y._accessTokenFactory()),Y._setAuthorizationHeader(B);const _t=yield Y._innerClient.send(B);return Qe&&401===_t.statusCode&&Y._accessTokenFactory?(Y._accessToken=yield Y._accessTokenFactory(),Y._setAuthorizationHeader(B),yield Y._innerClient.send(B)):_t})()}_setAuthorizationHeader(B){B.headers||(B.headers={}),this._accessToken?B.headers[De.Authorization]=`Bearer ${this._accessToken}`:this._accessTokenFactory&&B.headers[De.Authorization]&&delete B.headers[De.Authorization]}getCookieString(B){return this._innerClient.getCookieString(B)}}class Jt extends Re{constructor(B){super(),this._logger=B;const Y={_fetchType:void 0,_jar:void 0};!function mt(re){return!!(typeof fetch>"u"||n.isNode)&&(re._jar=new(s(7333).CookieJar),re._fetchType=typeof fetch>"u"?s(8190):fetch,re._fetchType=s(6045)(re._fetchType,re._jar),!0)}(Y)?this._fetchType=fetch.bind(function q(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("could not find global")}()):(this._fetchType=Y._fetchType,this._jar=Y._jar),this._abortControllerType=AbortController;const Qe={_abortControllerType:this._abortControllerType};(function sn(re){return typeof AbortController>"u"&&(re._abortControllerType=s(6771),!0)})(Qe)&&(this._abortControllerType=Qe._abortControllerType)}send(B){var Y=this;return(0,t.Z)(function*(){if(B.abortSignal&&B.abortSignal.aborted)throw new _e;if(!B.method)throw new Error("No method defined.");if(!B.url)throw new Error("No url defined.");const Qe=new Y._abortControllerType;let _t;B.abortSignal&&(B.abortSignal.onabort=()=>{Qe.abort(),_t=new _e});let bn,Vt=null;B.timeout&&(Vt=setTimeout(()=>{Qe.abort(),Y._logger.log(e.Warning,"Timeout from HTTP request."),_t=new ie},B.timeout)),""===B.content&&(B.content=void 0),B.content&&(B.headers=B.headers||{},B.headers["Content-Type"]=y(B.content)?"application/octet-stream":"text/plain;charset=UTF-8");try{bn=yield Y._fetchType(B.url,{body:B.content,cache:"no-cache",credentials:!0===B.withCredentials?"include":"same-origin",headers:{"X-Requested-With":"XMLHttpRequest",...B.headers},method:B.method,mode:"cors",redirect:"follow",signal:Qe.signal})}catch(Ot){throw _t||(Y._logger.log(e.Warning,`Error from HTTP request. ${Ot}.`),Ot)}finally{Vt&&clearTimeout(Vt),B.abortSignal&&(B.abortSignal.onabort=null)}if(!bn.ok){const Ot=yield cn(bn,"text");throw new T(Ot||bn.statusText,bn.status)}const Fn=yield cn(bn,B.responseType);return new tt(bn.status,bn.statusText,Fn)})()}getCookieString(B){let Y="";return n.isNode&&this._jar&&this._jar.getCookies(B,(Qe,_t)=>Y=_t.join("; ")),Y}}function cn(re,B){let Y;switch(B){case"arraybuffer":Y=re.arrayBuffer();break;case"text":default:Y=re.text();break;case"blob":case"document":case"json":throw new Error(`${B} is not supported.`)}return Y}class He extends Re{constructor(B){super(),this._logger=B}send(B){return B.abortSignal&&B.abortSignal.aborted?Promise.reject(new _e):B.method?B.url?new Promise((Y,Qe)=>{const _t=new XMLHttpRequest;_t.open(B.method,B.url,!0),_t.withCredentials=void 0===B.withCredentials||B.withCredentials,_t.setRequestHeader("X-Requested-With","XMLHttpRequest"),""===B.content&&(B.content=void 0),B.content&&(y(B.content)?_t.setRequestHeader("Content-Type","application/octet-stream"):_t.setRequestHeader("Content-Type","text/plain;charset=UTF-8"));const Vt=B.headers;Vt&&Object.keys(Vt).forEach(bn=>{_t.setRequestHeader(bn,Vt[bn])}),B.responseType&&(_t.responseType=B.responseType),B.abortSignal&&(B.abortSignal.onabort=()=>{_t.abort(),Qe(new _e)}),B.timeout&&(_t.timeout=B.timeout),_t.onload=()=>{B.abortSignal&&(B.abortSignal.onabort=null),_t.status>=200&&_t.status<300?Y(new tt(_t.status,_t.statusText,_t.response||_t.responseText)):Qe(new T(_t.response||_t.responseText||_t.statusText,_t.status))},_t.onerror=()=>{this._logger.log(e.Warning,`Error from HTTP request. ${_t.status}: ${_t.statusText}.`),Qe(new T(_t.statusText,_t.status))},_t.ontimeout=()=>{this._logger.log(e.Warning,"Timeout from HTTP request."),Qe(new ie)},_t.send(B.content)}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}}class fe extends Re{constructor(B){if(super(),typeof fetch<"u"||n.isNode)this._httpClient=new Jt(B);else{if(!(typeof XMLHttpRequest<"u"))throw new Error("No usable HttpClient found.");this._httpClient=new He(B)}}send(B){return B.abortSignal&&B.abortSignal.aborted?Promise.reject(new _e):B.method?B.url?this._httpClient.send(B):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(B){return this._httpClient.getCookieString(B)}}class Ne{constructor(){this._isAborted=!1,this.onabort=null}abort(){this._isAborted||(this._isAborted=!0,this.onabort&&this.onabort())}get signal(){return this}get aborted(){return this._isAborted}}class ${get pollAborted(){return this._pollAbort.aborted}constructor(B,Y,Qe){this._httpClient=B,this._logger=Y,this._pollAbort=new Ne,this._options=Qe,this._running=!1,this.onreceive=null,this.onclose=null}connect(B,Y){var Qe=this;return(0,t.Z)(function*(){if(U.isRequired(B,"url"),U.isRequired(Y,"transferFormat"),U.isIn(Y,G,"transferFormat"),Qe._url=B,Qe._logger.log(e.Trace,"(LongPolling transport) Connecting."),Y===G.Binary&&typeof XMLHttpRequest<"u"&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");const[_t,Vt]=Z(),bn={[_t]:Vt,...Qe._options.headers},xn={abortSignal:Qe._pollAbort.signal,headers:bn,timeout:1e5,withCredentials:Qe._options.withCredentials};Y===G.Binary&&(xn.responseType="arraybuffer");const Fn=`${B}&_=${Date.now()}`;Qe._logger.log(e.Trace,`(LongPolling transport) polling: ${Fn}.`);const Ot=yield Qe._httpClient.get(Fn,xn);200!==Ot.statusCode?(Qe._logger.log(e.Error,`(LongPolling transport) Unexpected response code: ${Ot.statusCode}.`),Qe._closeError=new T(Ot.statusText||"",Ot.statusCode),Qe._running=!1):Qe._running=!0,Qe._receiving=Qe._poll(Qe._url,xn)})()}_poll(B,Y){var Qe=this;return(0,t.Z)(function*(){try{for(;Qe._running;)try{const _t=`${B}&_=${Date.now()}`;Qe._logger.log(e.Trace,`(LongPolling transport) polling: ${_t}.`);const Vt=yield Qe._httpClient.get(_t,Y);204===Vt.statusCode?(Qe._logger.log(e.Information,"(LongPolling transport) Poll terminated by server."),Qe._running=!1):200!==Vt.statusCode?(Qe._logger.log(e.Error,`(LongPolling transport) Unexpected response code: ${Vt.statusCode}.`),Qe._closeError=new T(Vt.statusText||"",Vt.statusCode),Qe._running=!1):Vt.content?(Qe._logger.log(e.Trace,`(LongPolling transport) data received. ${I(Vt.content,Qe._options.logMessageContent)}.`),Qe.onreceive&&Qe.onreceive(Vt.content)):Qe._logger.log(e.Trace,"(LongPolling transport) Poll timed out, reissuing.")}catch(_t){Qe._running?_t instanceof ie?Qe._logger.log(e.Trace,"(LongPolling transport) Poll timed out, reissuing."):(Qe._closeError=_t,Qe._running=!1):Qe._logger.log(e.Trace,`(LongPolling transport) Poll errored after shutdown: ${_t.message}`)}}finally{Qe._logger.log(e.Trace,"(LongPolling transport) Polling complete."),Qe.pollAborted||Qe._raiseOnClose()}})()}send(B){var Y=this;return(0,t.Z)(function*(){return Y._running?O(Y._logger,"LongPolling",Y._httpClient,Y._url,B,Y._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){var B=this;return(0,t.Z)(function*(){B._logger.log(e.Trace,"(LongPolling transport) Stopping polling."),B._running=!1,B._pollAbort.abort();try{yield B._receiving,B._logger.log(e.Trace,`(LongPolling transport) sending DELETE request to ${B._url}.`);const Y={},[Qe,_t]=Z();Y[Qe]=_t;const Vt={headers:{...Y,...B._options.headers},timeout:B._options.timeout,withCredentials:B._options.withCredentials};let bn;try{yield B._httpClient.delete(B._url,Vt)}catch(xn){bn=xn}bn?bn instanceof T&&B._logger.log(e.Trace,404===bn.statusCode?"(LongPolling transport) A 404 response was returned from sending a DELETE request.":`(LongPolling transport) Error sending a DELETE request: ${bn}`):B._logger.log(e.Trace,"(LongPolling transport) DELETE request accepted.")}finally{B._logger.log(e.Trace,"(LongPolling transport) Stop finished."),B._raiseOnClose()}})()}_raiseOnClose(){if(this.onclose){let B="(LongPolling transport) Firing onclose event.";this._closeError&&(B+=" Error: "+this._closeError),this._logger.log(e.Trace,B),this.onclose(this._closeError)}}}class Ee{constructor(B,Y,Qe,_t){this._httpClient=B,this._accessToken=Y,this._logger=Qe,this._options=_t,this.onreceive=null,this.onclose=null}connect(B,Y){var Qe=this;return(0,t.Z)(function*(){return U.isRequired(B,"url"),U.isRequired(Y,"transferFormat"),U.isIn(Y,G,"transferFormat"),Qe._logger.log(e.Trace,"(SSE transport) Connecting."),Qe._url=B,Qe._accessToken&&(B+=(B.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(Qe._accessToken)}`),new Promise((_t,Vt)=>{let xn,bn=!1;if(Y===G.Text){if(n.isBrowser||n.isWebWorker)xn=new Qe._options.EventSource(B,{withCredentials:Qe._options.withCredentials});else{const Fn=Qe._httpClient.getCookieString(B),Ot={};Ot.Cookie=Fn;const[En,ye]=Z();Ot[En]=ye,xn=new Qe._options.EventSource(B,{withCredentials:Qe._options.withCredentials,headers:{...Ot,...Qe._options.headers}})}try{xn.onmessage=Fn=>{if(Qe.onreceive)try{Qe._logger.log(e.Trace,`(SSE transport) data received. ${I(Fn.data,Qe._options.logMessageContent)}.`),Qe.onreceive(Fn.data)}catch(Ot){return void Qe._close(Ot)}},xn.onerror=Fn=>{bn?Qe._close():Vt(new Error("EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky sessions are enabled."))},xn.onopen=()=>{Qe._logger.log(e.Information,`SSE connected to ${Qe._url}`),Qe._eventSource=xn,bn=!0,_t()}}catch(Fn){return void Vt(Fn)}}else Vt(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})})()}send(B){var Y=this;return(0,t.Z)(function*(){return Y._eventSource?O(Y._logger,"SSE",Y._httpClient,Y._url,B,Y._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){return this._close(),Promise.resolve()}_close(B){this._eventSource&&(this._eventSource.close(),this._eventSource=void 0,this.onclose&&this.onclose(B))}}class Ge{constructor(B,Y,Qe,_t,Vt,bn){this._logger=Qe,this._accessTokenFactory=Y,this._logMessageContent=_t,this._webSocketConstructor=Vt,this._httpClient=B,this.onreceive=null,this.onclose=null,this._headers=bn}connect(B,Y){var Qe=this;return(0,t.Z)(function*(){let _t;return U.isRequired(B,"url"),U.isRequired(Y,"transferFormat"),U.isIn(Y,G,"transferFormat"),Qe._logger.log(e.Trace,"(WebSockets transport) Connecting."),Qe._accessTokenFactory&&(_t=yield Qe._accessTokenFactory()),new Promise((Vt,bn)=>{let xn;B=B.replace(/^http/,"ws");const Fn=Qe._httpClient.getCookieString(B);let Ot=!1;if(n.isNode||n.isReactNative){const En={},[ye,It]=Z();En[ye]=It,_t&&(En[De.Authorization]=`Bearer ${_t}`),Fn&&(En[De.Cookie]=Fn),xn=new Qe._webSocketConstructor(B,void 0,{headers:{...En,...Qe._headers}})}else _t&&(B+=(B.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(_t)}`);xn||(xn=new Qe._webSocketConstructor(B)),Y===G.Binary&&(xn.binaryType="arraybuffer"),xn.onopen=En=>{Qe._logger.log(e.Information,`WebSocket connected to ${B}.`),Qe._webSocket=xn,Ot=!0,Vt()},xn.onerror=En=>{let ye=null;ye=typeof ErrorEvent<"u"&&En instanceof ErrorEvent?En.error:"There was an error with the transport",Qe._logger.log(e.Information,`(WebSockets transport) ${ye}.`)},xn.onmessage=En=>{if(Qe._logger.log(e.Trace,`(WebSockets transport) data received. ${I(En.data,Qe._logMessageContent)}.`),Qe.onreceive)try{Qe.onreceive(En.data)}catch(ye){return void Qe._close(ye)}},xn.onclose=En=>{if(Ot)Qe._close(En);else{let ye=null;ye=typeof ErrorEvent<"u"&&En instanceof ErrorEvent?En.error:"WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",bn(new Error(ye))}}})})()}send(B){return this._webSocket&&this._webSocket.readyState===this._webSocketConstructor.OPEN?(this._logger.log(e.Trace,`(WebSockets transport) sending data. ${I(B,this._logMessageContent)}.`),this._webSocket.send(B),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")}stop(){return this._webSocket&&this._close(void 0),Promise.resolve()}_close(B){this._webSocket&&(this._webSocket.onclose=()=>{},this._webSocket.onmessage=()=>{},this._webSocket.onerror=()=>{},this._webSocket.close(),this._webSocket=void 0),this._logger.log(e.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this._isCloseEvent(B)||!1!==B.wasClean&&1e3===B.code?B instanceof Error?this.onclose(B):this.onclose():this.onclose(new Error(`WebSocket closed with status code: ${B.code} (${B.reason||"no reason given"}).`)))}_isCloseEvent(B){return B&&"boolean"==typeof B.wasClean&&"number"==typeof B.code}}class Et{constructor(B,Y={}){if(this._stopPromiseResolver=()=>{},this.features={},this._negotiateVersion=1,U.isRequired(B,"url"),this._logger=function E(re){return void 0===re?new S(e.Information):null===re?m.instance:void 0!==re.log?re:new S(re)}(Y.logger),this.baseUrl=this._resolveUrl(B),(Y=Y||{}).logMessageContent=void 0!==Y.logMessageContent&&Y.logMessageContent,"boolean"!=typeof Y.withCredentials&&void 0!==Y.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");Y.withCredentials=void 0===Y.withCredentials||Y.withCredentials,Y.timeout=void 0===Y.timeout?1e5:Y.timeout;let Qe=null,_t=null;n.isNode&&(Qe=function hn(){return s(6139)}(),_t=function Nn(){return s(8022)}()),!n.isNode&&typeof WebSocket<"u"&&!Y.WebSocket?Y.WebSocket=WebSocket:n.isNode&&!Y.WebSocket&&Qe&&(Y.WebSocket=Qe),!n.isNode&&typeof EventSource<"u"&&!Y.EventSource?Y.EventSource=EventSource:n.isNode&&!Y.EventSource&&typeof _t<"u"&&(Y.EventSource=_t),this._httpClient=new Ft(Y.httpClient||new fe(this._logger),Y.accessTokenFactory),this._connectionState="Disconnected",this._connectionStarted=!1,this._options=Y,this.onreceive=null,this.onclose=null}start(B){var Y=this;return(0,t.Z)(function*(){if(U.isIn(B=B||G.Binary,G,"transferFormat"),Y._logger.log(e.Debug,`Starting connection with transfer format '${G[B]}'.`),"Disconnected"!==Y._connectionState)return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));if(Y._connectionState="Connecting",Y._startInternalPromise=Y._startInternal(B),yield Y._startInternalPromise,"Disconnecting"===Y._connectionState){const Qe="Failed to start the HttpConnection before stop() was called.";return Y._logger.log(e.Error,Qe),yield Y._stopPromise,Promise.reject(new _e(Qe))}if("Connected"!==Y._connectionState){const Qe="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";return Y._logger.log(e.Error,Qe),Promise.reject(new _e(Qe))}Y._connectionStarted=!0})()}send(B){return"Connected"!==this._connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this._sendQueue||(this._sendQueue=new tn(this.transport)),this._sendQueue.send(B))}stop(B){var Y=this;return(0,t.Z)(function*(){return"Disconnected"===Y._connectionState?(Y._logger.log(e.Debug,`Call to HttpConnection.stop(${B}) ignored because the connection is already in the disconnected state.`),Promise.resolve()):"Disconnecting"===Y._connectionState?(Y._logger.log(e.Debug,`Call to HttpConnection.stop(${B}) ignored because the connection is already in the disconnecting state.`),Y._stopPromise):(Y._connectionState="Disconnecting",Y._stopPromise=new Promise(Qe=>{Y._stopPromiseResolver=Qe}),yield Y._stopInternal(B),void(yield Y._stopPromise))})()}_stopInternal(B){var Y=this;return(0,t.Z)(function*(){Y._stopError=B;try{yield Y._startInternalPromise}catch{}if(Y.transport){try{yield Y.transport.stop()}catch(Qe){Y._logger.log(e.Error,`HttpConnection.transport.stop() threw error '${Qe}'.`),Y._stopConnection()}Y.transport=void 0}else Y._logger.log(e.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.")})()}_startInternal(B){var Y=this;return(0,t.Z)(function*(){let Qe=Y.baseUrl;Y._accessTokenFactory=Y._options.accessTokenFactory,Y._httpClient._accessTokenFactory=Y._accessTokenFactory;try{if(Y._options.skipNegotiation){if(Y._options.transport!==Se.WebSockets)throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");Y.transport=Y._constructTransport(Se.WebSockets),yield Y._startTransport(Qe,B)}else{let _t=null,Vt=0;do{if(_t=yield Y._getNegotiationResponse(Qe),"Disconnecting"===Y._connectionState||"Disconnected"===Y._connectionState)throw new _e("The connection was stopped during negotiation.");if(_t.error)throw new Error(_t.error);if(_t.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");if(_t.url&&(Qe=_t.url),_t.accessToken){const bn=_t.accessToken;Y._accessTokenFactory=()=>bn,Y._httpClient._accessToken=bn,Y._httpClient._accessTokenFactory=void 0}Vt++}while(_t.url&&Vt<100);if(100===Vt&&_t.url)throw new Error("Negotiate redirection limit exceeded.");yield Y._createTransport(Qe,Y._options.transport,_t,B)}Y.transport instanceof $&&(Y.features.inherentKeepAlive=!0),"Connecting"===Y._connectionState&&(Y._logger.log(e.Debug,"The HttpConnection connected successfully."),Y._connectionState="Connected")}catch(_t){return Y._logger.log(e.Error,"Failed to start the connection: "+_t),Y._connectionState="Disconnected",Y.transport=void 0,Y._stopPromiseResolver(),Promise.reject(_t)}})()}_getNegotiationResponse(B){var Y=this;return(0,t.Z)(function*(){const Qe={},[_t,Vt]=Z();Qe[_t]=Vt;const bn=Y._resolveNegotiateUrl(B);Y._logger.log(e.Debug,`Sending negotiation request: ${bn}.`);try{const xn=yield Y._httpClient.post(bn,{content:"",headers:{...Qe,...Y._options.headers},timeout:Y._options.timeout,withCredentials:Y._options.withCredentials});if(200!==xn.statusCode)return Promise.reject(new Error(`Unexpected status code returned from negotiate '${xn.statusCode}'`));const Fn=JSON.parse(xn.content);return(!Fn.negotiateVersion||Fn.negotiateVersion<1)&&(Fn.connectionToken=Fn.connectionId),Fn.useStatefulReconnect&&!0!==Y._options._useStatefulReconnect?Promise.reject(new pe("Client didn't negotiate Stateful Reconnect but the server did.")):Fn}catch(xn){let Fn="Failed to complete negotiation with the server: "+xn;return xn instanceof T&&404===xn.statusCode&&(Fn+=" Either this is not a SignalR endpoint or there is a proxy blocking the connection."),Y._logger.log(e.Error,Fn),Promise.reject(new pe(Fn))}})()}_createConnectUrl(B,Y){return Y?B+(-1===B.indexOf("?")?"?":"&")+`id=${Y}`:B}_createTransport(B,Y,Qe,_t){var Vt=this;return(0,t.Z)(function*(){let bn=Vt._createConnectUrl(B,Qe.connectionToken);if(Vt._isITransport(Y))return Vt._logger.log(e.Debug,"Connection was provided an instance of ITransport, using that directly."),Vt.transport=Y,yield Vt._startTransport(bn,_t),void(Vt.connectionId=Qe.connectionId);const xn=[],Fn=Qe.availableTransports||[];let Ot=Qe;for(const En of Fn){const ye=Vt._resolveTransportOrError(En,Y,_t,!0===Ot?.useStatefulReconnect);if(ye instanceof Error)xn.push(`${En.transport} failed:`),xn.push(ye);else if(Vt._isITransport(ye)){if(Vt.transport=ye,!Ot){try{Ot=yield Vt._getNegotiationResponse(B)}catch(It){return Promise.reject(It)}bn=Vt._createConnectUrl(B,Ot.connectionToken)}try{return yield Vt._startTransport(bn,_t),void(Vt.connectionId=Ot.connectionId)}catch(It){if(Vt._logger.log(e.Error,`Failed to start the transport '${En.transport}': ${It}`),Ot=void 0,xn.push(new ae(`${En.transport} failed: ${It}`,Se[En.transport])),"Connecting"!==Vt._connectionState){const pt="Failed to select transport before stop() was called.";return Vt._logger.log(e.Debug,pt),Promise.reject(new _e(pt))}}}}return Promise.reject(xn.length>0?new Ae(`Unable to connect to the server with any of the available transports. ${xn.join(" ")}`,xn):new Error("None of the transports supported by the client are supported by the server."))})()}_constructTransport(B){switch(B){case Se.WebSockets:if(!this._options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new Ge(this._httpClient,this._accessTokenFactory,this._logger,this._options.logMessageContent,this._options.WebSocket,this._options.headers||{});case Se.ServerSentEvents:if(!this._options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new Ee(this._httpClient,this._httpClient._accessToken,this._logger,this._options);case Se.LongPolling:return new $(this._httpClient,this._logger,this._options);default:throw new Error(`Unknown transport: ${B}.`)}}_startTransport(B,Y){var Qe=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=this.features.reconnect?function(){var _t=(0,t.Z)(function*(Vt){let bn=!1;if(Qe.features.reconnect){try{Qe.features.disconnected(),yield Qe.transport.connect(B,Y),yield Qe.features.resend()}catch{bn=!0}bn&&Qe._stopConnection(Vt)}else Qe._stopConnection(Vt)});return function(Vt){return _t.apply(this,arguments)}}():_t=>this._stopConnection(_t),this.transport.connect(B,Y)}_resolveTransportOrError(B,Y,Qe,_t){const Vt=Se[B.transport];if(null==Vt)return this._logger.log(e.Debug,`Skipping transport '${B.transport}' because it is not supported by this client.`),new Error(`Skipping transport '${B.transport}' because it is not supported by this client.`);if(!function Tt(re,B){return!re||0!=(B&re)}(Y,Vt))return this._logger.log(e.Debug,`Skipping transport '${Se[Vt]}' because it was disabled by the client.`),new Ve(`'${Se[Vt]}' is disabled by the client.`,Vt);if(!(B.transferFormats.map(xn=>G[xn]).indexOf(Qe)>=0))return this._logger.log(e.Debug,`Skipping transport '${Se[Vt]}' because it does not support the requested transfer format '${G[Qe]}'.`),new Error(`'${Se[Vt]}' does not support ${G[Qe]}.`);if(Vt===Se.WebSockets&&!this._options.WebSocket||Vt===Se.ServerSentEvents&&!this._options.EventSource)return this._logger.log(e.Debug,`Skipping transport '${Se[Vt]}' because it is not supported in your environment.'`),new Ce(`'${Se[Vt]}' is not supported in your environment.`,Vt);this._logger.log(e.Debug,`Selecting transport '${Se[Vt]}'.`);try{return this.features.reconnect=Vt===Se.WebSockets?_t:void 0,this._constructTransport(Vt)}catch(xn){return xn}}_isITransport(B){return B&&"object"==typeof B&&"connect"in B}_stopConnection(B){if(this._logger.log(e.Debug,`HttpConnection.stopConnection(${B}) called while in state ${this._connectionState}.`),this.transport=void 0,B=this._stopError||B,this._stopError=void 0,"Disconnected"!==this._connectionState){if("Connecting"===this._connectionState)throw this._logger.log(e.Warning,`Call to HttpConnection.stopConnection(${B}) was ignored because the connection is still in the connecting state.`),new Error(`HttpConnection.stopConnection(${B}) was called while the connection is still in the connecting state.`);if("Disconnecting"===this._connectionState&&this._stopPromiseResolver(),B?this._logger.log(e.Error,`Connection disconnected with error '${B}'.`):this._logger.log(e.Information,"Connection disconnected."),this._sendQueue&&(this._sendQueue.stop().catch(Y=>{this._logger.log(e.Error,`TransportSendQueue.stop() threw error '${Y}'.`)}),this._sendQueue=void 0),this.connectionId=void 0,this._connectionState="Disconnected",this._connectionStarted){this._connectionStarted=!1;try{this.onclose&&this.onclose(B)}catch(Y){this._logger.log(e.Error,`HttpConnection.onclose(${B}) threw error '${Y}'.`)}}}else this._logger.log(e.Debug,`Call to HttpConnection.stopConnection(${B}) was ignored because the connection is already in the disconnected state.`)}_resolveUrl(B){if(0===B.lastIndexOf("https://",0)||0===B.lastIndexOf("http://",0))return B;if(!n.isBrowser)throw new Error(`Cannot resolve '${B}'.`);const Y=window.document.createElement("a");return Y.href=B,this._logger.log(e.Information,`Normalizing '${B}' to '${Y.href}'.`),Y.href}_resolveNegotiateUrl(B){const Y=new URL(B);Y.pathname.endsWith("/")?Y.pathname+="negotiate":Y.pathname+="/negotiate";const Qe=new URLSearchParams(Y.searchParams);return Qe.has("negotiateVersion")||Qe.append("negotiateVersion",this._negotiateVersion.toString()),Qe.has("useStatefulReconnect")?"true"===Qe.get("useStatefulReconnect")&&(this._options._useStatefulReconnect=!0):!0===this._options._useStatefulReconnect&&Qe.append("useStatefulReconnect","true"),Y.search=Qe.toString(),Y.toString()}}class tn{constructor(B){this._transport=B,this._buffer=[],this._executing=!0,this._sendBufferedData=new rn,this._transportResult=new rn,this._sendLoopPromise=this._sendLoop()}send(B){return this._bufferData(B),this._transportResult||(this._transportResult=new rn),this._transportResult.promise}stop(){return this._executing=!1,this._sendBufferedData.resolve(),this._sendLoopPromise}_bufferData(B){if(this._buffer.length&&typeof this._buffer[0]!=typeof B)throw new Error(`Expected data to be of type ${typeof this._buffer} but was of type ${typeof B}`);this._buffer.push(B),this._sendBufferedData.resolve()}_sendLoop(){var B=this;return(0,t.Z)(function*(){for(;;){if(yield B._sendBufferedData.promise,!B._executing){B._transportResult&&B._transportResult.reject("Connection stopped.");break}B._sendBufferedData=new rn;const Y=B._transportResult;B._transportResult=void 0;const Qe="string"==typeof B._buffer[0]?B._buffer.join(""):tn._concatBuffers(B._buffer);B._buffer.length=0;try{yield B._transport.send(Qe),Y.resolve()}catch(_t){Y.reject(_t)}}})()}static _concatBuffers(B){const Y=B.map(Vt=>Vt.byteLength).reduce((Vt,bn)=>Vt+bn),Qe=new Uint8Array(Y);let _t=0;for(const Vt of B)Qe.set(new Uint8Array(Vt),_t),_t+=Vt.byteLength;return Qe.buffer}}class rn{constructor(){this.promise=new Promise((B,Y)=>[this._resolver,this._rejecter]=[B,Y])}resolve(){this._resolver()}reject(B){this._rejecter(B)}}class ft{constructor(){this.name="json",this.version=2,this.transferFormat=G.Text}parseMessages(B,Y){if("string"!=typeof B)throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!B)return[];null===Y&&(Y=m.instance);const Qe=u.parse(B),_t=[];for(const Vt of Qe){const bn=JSON.parse(Vt);if("number"!=typeof bn.type)throw new Error("Invalid payload.");switch(bn.type){case Ze.Invocation:this._isInvocationMessage(bn);break;case Ze.StreamItem:this._isStreamItemMessage(bn);break;case Ze.Completion:this._isCompletionMessage(bn);break;case Ze.Ping:case Ze.Close:break;case Ze.Ack:this._isAckMessage(bn);break;case Ze.Sequence:this._isSequenceMessage(bn);break;default:Y.log(e.Information,"Unknown message type '"+bn.type+"' ignored.");continue}_t.push(bn)}return _t}writeMessage(B){return u.write(JSON.stringify(B))}_isInvocationMessage(B){this._assertNotEmptyString(B.target,"Invalid payload for Invocation message."),void 0!==B.invocationId&&this._assertNotEmptyString(B.invocationId,"Invalid payload for Invocation message.")}_isStreamItemMessage(B){if(this._assertNotEmptyString(B.invocationId,"Invalid payload for StreamItem message."),void 0===B.item)throw new Error("Invalid payload for StreamItem message.")}_isCompletionMessage(B){if(B.result&&B.error)throw new Error("Invalid payload for Completion message.");!B.result&&B.error&&this._assertNotEmptyString(B.error,"Invalid payload for Completion message."),this._assertNotEmptyString(B.invocationId,"Invalid payload for Completion message.")}_isAckMessage(B){if("number"!=typeof B.sequenceId)throw new Error("Invalid SequenceId for Ack message.")}_isSequenceMessage(B){if("number"!=typeof B.sequenceId)throw new Error("Invalid SequenceId for Sequence message.")}_assertNotEmptyString(B,Y){if("string"!=typeof B||""===B)throw new Error(Y)}}const Bt={trace:e.Trace,debug:e.Debug,info:e.Information,information:e.Information,warn:e.Warning,warning:e.Warning,error:e.Error,critical:e.Critical,none:e.None};class nt{configureLogging(B){if(U.isRequired(B,"logging"),function Ye(re){return void 0!==re.log}(B))this.logger=B;else if("string"==typeof B){const Y=function Ue(re){const B=Bt[re.toLowerCase()];if(typeof B<"u")return B;throw new Error(`Unknown log level: ${re}`)}(B);this.logger=new S(Y)}else this.logger=new S(B);return this}withUrl(B,Y){return U.isRequired(B,"url"),U.isNotEmpty(B,"url"),this.url=B,this.httpConnectionOptions="object"==typeof Y?{...this.httpConnectionOptions,...Y}:{...this.httpConnectionOptions,transport:Y},this}withHubProtocol(B){return U.isRequired(B,"protocol"),this.protocol=B,this}withAutomaticReconnect(B){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return this.reconnectPolicy=B?Array.isArray(B)?new de(B):B:new de,this}withServerTimeout(B){return U.isRequired(B,"milliseconds"),this._serverTimeoutInMilliseconds=B,this}withKeepAliveInterval(B){return U.isRequired(B,"milliseconds"),this._keepAliveIntervalInMilliseconds=B,this}withStatefulReconnect(B){return void 0===this.httpConnectionOptions&&(this.httpConnectionOptions={}),this.httpConnectionOptions._useStatefulReconnect=!0,this._statefulReconnectBufferSize=B?.bufferSize,this}build(){const B=this.httpConnectionOptions||{};if(void 0===B.logger&&(B.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");const Y=new Et(this.url,B);return V.create(Y,this.logger||m.instance,this.protocol||new ft,this.reconnectPolicy,this._serverTimeoutInMilliseconds,this._keepAliveIntervalInMilliseconds,this._statefulReconnectBufferSize)}}var zt=s(5175),$t=s(8645),Mn=s(4911),Wn=s(8180),di=s(9360),Pt=s(8251),Xt=s(4829),Le=s(2420),X=s(4664),xe=s(6306),et=s(8504),j=s(2096),F=s(9212),N=s(2359);let k=(()=>{class re{constructor(Y,Qe){this._tokenService=Y,this._authService=Qe}newInstance(){return new z(this._tokenService,this._authService)}static#e=this.\u0275fac=function(Qe){return new(Qe||re)(F.LFG(N.B),F.LFG(zt.e8))};static#t=this.\u0275prov=F.Yz7({token:re,factory:re.\u0275fac})}return re})();class z{constructor(B,Y){this._tokenService=B,this._authService=Y,this._webSocketConnection=new $t.x}invoke(B,Y=null){var Qe=this;const _t=(0,Mn.P)((0,t.Z)(function*(){yield Qe._hubConnection.invoke(B,Y??{})})).pipe((0,Wn.q)(1));return this._hubConnection.state===P.Connected?_t:this._webSocketConnection.pipe(function ue(re){return(0,di.e)((B,Y)=>{let Qe=!1;const _t=(0,Pt.x)(Y,()=>{_t?.unsubscribe(),Qe=!0},Le.Z);(0,Xt.Xf)(re).subscribe(_t),B.subscribe((0,Pt.x)(Y,Vt=>Qe&&Y.next(Vt)))})}(this._webSocketConnection),(0,X.w)(()=>_t))}on(B,Y){this._hubConnection.on(B,Y)}stop(){var B=this;return(0,Mn.P)((0,t.Z)(function*(){return yield B._hubConnection?.stop()})).pipe((0,Wn.q)(1))}off(B){this._hubConnection?.off(B)}start(B,Y=null,Qe=!0){return this._start(B,Y).pipe((0,xe.K)(_t=>Qe?Y?.refreshTokenFactory?(this._refreshToken=Y.refreshTokenFactory,this._refreshToken().pipe((0,X.w)(()=>this.start(B,Y,!1)))):void 0:(0,et._)(()=>_t)),(0,Wn.q)(1))}_start(B,Y){var Qe=this;this._hubConnection?.baseUrl===B&&this._hubConnection.state==P.Connected&&this._hubConnection.stop();const _t={skipNegotiation:!0,transport:Se.WebSockets,accessTokenFactory:()=>this._tokenService.getToken()};return Y?.accessTokenFactory&&(_t.accessTokenFactory=Y.accessTokenFactory),this._hubConnection=(new nt).withUrl(B,_t).withAutomaticReconnect([0,500,1500]).build(),this._hubConnection.onreconnecting(()=>{console.log("socket onreconnecting")}),this._hubConnection.onreconnected(()=>{this._webSocketConnection.next(!0),console.log("socket reconnected")}),this._hubConnection.onclose(()=>{console.log("socket closed")}),(0,Mn.P)((0,t.Z)(function*(){yield Qe._hubConnection.start(),Qe._webSocketConnection.next(!0)}))}_refreshToken(){return this._authService.refreshToken(this._tokenService.getToken()).pipe((0,X.w)(B=>(this._tokenService.setToken(B),(0,j.of)(B))))}}},9828:(jt,$e,s)=>{"use strict";s.d($e,{Q:()=>e});var t=s(2495),u=s(9212);let e=(()=>{class m{get agAutofocus(){return this._autofocus}set agAutofocus(U){this._autofocus=(0,t.Ig)(U)}get selectText(){return this._selectText}set selectText(U){this._selectText=(0,t.Ig)(U)}constructor(U){this._elementRef=U,this._focus=!1}onFocus(){this._focus=!0}onBlur(){this._focus=!1}ngAfterViewInit(){this._autofocus&&this._setFocus()}ngOnChanges(U){U.agAutofocus?.currentValue&&this._setFocus()}_setFocus(){setTimeout(()=>{const U=this._elementRef.nativeElement;this._focus||(U.focus(),this._selectText&&U.value&&U.select())},0)}static#e=this.\u0275fac=function(n){return new(n||m)(u.Y36(u.SBq))};static#t=this.\u0275dir=u.lG2({type:m,selectors:[["","agAutofocus",""]],hostBindings:function(n,I){1&n&&u.NdJ("focus",function(){return I.onFocus()})("blur",function(){return I.onBlur()})},inputs:{agAutofocus:"agAutofocus",selectText:"selectText"},features:[u.TTD]})}return m})()},4580:(jt,$e,s)=>{"use strict";s.d($e,{F:()=>e});var t=s(6814),u=s(9212);let e=(()=>{class m{static#e=this.\u0275fac=function(n){return new(n||m)};static#t=this.\u0275mod=u.oAB({type:m});static#n=this.\u0275inj=u.cJS({imports:[t.ez]})}return m})()},114:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>m});var t=s(6814),u=s(9993),e=s(9212);let m=(()=>{class p{static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275mod=e.oAB({type:p});static#n=this.\u0275inj=e.cJS({imports:[t.ez,u.IJ]})}return p})()},5722:(jt,$e,s)=>{"use strict";s.d($e,{o:()=>u});var t=s(9212);let u=(()=>{class e{constructor(){this.agInteract=new t.vpe}handleClick(){this.agInteract.emit()}handleEnter(){this.agInteract.emit()}static#e=this.\u0275fac=function(U){return new(U||e)};static#t=this.\u0275dir=t.lG2({type:e,selectors:[["","agInteract",""]],hostBindings:function(U,n){1&U&&t.NdJ("click",function(L){return n.handleClick(L)})("keyup.enter",function(L){return n.handleEnter(L)})},outputs:{agInteract:"agInteract"}})}return e})()},7274:(jt,$e,s)=>{"use strict";s.d($e,{q:()=>G});var t=s(6814),u=s(9993),e=s(4423),m=s(9241),p=s(9014),U=s(8005),n=s(4505),I=s(9488),L=s(9025),y=s(4021),O=s(6177),M=s(7592),E=s(5616),A=s(3305),S=s(4187),Z=s(617),oe=s(3176),le=s(2400),ee=s(110),K=s(6718),Q=s(1335),q=s(965),H=s(1036),T=s(1798),ie=s(2651),_e=s(4433),Ce=s(1830),Ve=s(1865),ae=s(3566),pe=s(1545),Ae=s(2214),Ze=s(8615),dt=s(1274),Fe=s(481),Xe=s(3680),Ie=s(1438),W=s(8445),we=s(9594),P=s(1346),V=s(6385),Se=s(9212);let G=(()=>{class be{static#e=this.\u0275fac=function(tt){return new(tt||be)};static#t=this.\u0275mod=Se.oAB({type:be});static#n=this.\u0275inj=Se.cJS({imports:[t.ez,e._t,m.D8,p.g,U._r,n.yu,I.vV,L.IF,y.Zh,O.yD,M.yj,V.t,E.FA,A.To,S.wp,Z.Ps,oe.N6,le.x4,ee.gR,K.jT,Q.gf,q.jc,Ie.UK,H.Xo,Xe.si,T.uw,ie.SJ,_e.XF,Ce.Wd,Ve.y,ae.JX,pe.T5,Ae.U5,Ze.Nn,dt.g0,Fe.AA,Xe.XK,W.dp,u.IJ,we.U8,P.F1,e._t,m.D8,p.g,U._r,n.yu,I.vV,L.IF,y.Zh,O.yD,M.yj,V.t,E.FA,A.To,S.wp,Z.Ps,oe.N6,le.x4,ee.gR,K.jT,Q.gf,q.jc,Ie.UK,H.Xo,Xe.si,T.uw,ie.SJ,_e.XF,Ce.Wd,Ve.y,ae.JX,pe.T5,Ae.U5,Ze.Nn,dt.g0,Fe.AA,Xe.XK,W.dp,u.IJ,we.U8,P.F1]})}return be})()},4439:(jt,$e,s)=>{"use strict";s.d($e,{F:()=>e,s:()=>m});var t=s(9212),u=s(4259);let e=(()=>{class p{constructor(n){this.storageService=n}transform(n,I){if(!this.storageService.getUserData()?.opacOptions?.searchResultOptions?.enableSearchHightlight)return n;if(n&&I){let L=I.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");L=L.split(" ").filter(O=>O.length>0).join("|");const y=new RegExp("(?:\\b)("+L+")(?:\\b)","gi");return n.replace(y,O=>`<span class="highlightText">${O}</span>`)}return n}static#e=this.\u0275fac=function(I){return new(I||p)(t.Y36(u.V,16))};static#t=this.\u0275pipe=t.Yjl({name:"highlightsSearchTerm",type:p,pure:!0})}return p})(),m=(()=>{class p{transform(n,I){if(n&&I){const L=I.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&").split(" ").filter(O=>O.length>0).join("|"),y=new RegExp(`\\${L}`,"gi");return n.replace(y,O=>`<span>${O}</span>`)}return n}static#e=this.\u0275fac=function(I){return new(I||p)};static#t=this.\u0275pipe=t.Yjl({name:"encapsulateSpan",type:p,pure:!0})}return p})()},3883:(jt,$e,s)=>{"use strict";s.d($e,{N:()=>e});var t=s(6814),u=s(9212);let e=(()=>{class m{static#e=this.\u0275fac=function(n){return new(n||m)};static#t=this.\u0275mod=u.oAB({type:m});static#n=this.\u0275inj=u.cJS({imports:[t.ez]})}return m})()},9931:(jt,$e,s)=>{"use strict";s.d($e,{G:()=>u});var t=s(9212);let u=(()=>{class e{transform(p,U){return(p=(p=(p=p.replace("MONTAGEdc","MONTAGEdc User Guides")).replace("RESEARCHit","RESEARCHit User Guides")).replace("SHAREit","SHAREit User Guides")).replace("VERSO","VERSO User Guides")}static#e=this.\u0275fac=function(U){return new(U||e)};static#t=this.\u0275pipe=t.Yjl({name:"replaceUserGuidesStringsQuickLinks",type:e,pure:!0})}return e})()},8623:(jt,$e,s)=>{"use strict";s.d($e,{Q:()=>e});var t=s(9212),u=s(6593);let e=(()=>{class m{constructor(U){this.sanitizer=U}transform(U){return this.sanitizer.bypassSecurityTrustResourceUrl(U)}static#e=this.\u0275fac=function(n){return new(n||m)(t.Y36(u.H7,16))};static#t=this.\u0275pipe=t.Yjl({name:"safeUrl",type:m,pure:!0})}return m})()},7692:(jt,$e,s)=>{"use strict";s.d($e,{z:()=>e});var t=s(9212),u=s(6593);let e=(()=>{class m{constructor(U){this.sanitizer=U}transform(U){return this.sanitizer.bypassSecurityTrustHtml(U)}static#e=this.\u0275fac=function(n){return new(n||m)(t.Y36(u.H7,16))};static#t=this.\u0275pipe=t.Yjl({name:"safeHtml",type:m,pure:!0})}return m})()},5339:(jt,$e,s)=>{"use strict";s.d($e,{t:()=>e});var t=s(9212),u=s(6593);let e=(()=>{class m{constructor(U){this.sanitizer=U}transform(U){return this.sanitizer.bypassSecurityTrustHtml(U)}static#e=this.\u0275fac=function(n){return new(n||m)(t.Y36(u.H7,16))};static#t=this.\u0275pipe=t.Yjl({name:"santizeValue",type:m,pure:!0})}return m})()},6208:(jt,$e,s)=>{"use strict";s.d($e,{m:()=>L});var t=s(2268),u=s(3883),e=s(6814),m=s(7274),p=s(114),U=s(6429),n=s(6223),I=s(9212);let L=(()=>{class y{static#e=this.\u0275fac=function(E){return new(E||y)};static#t=this.\u0275mod=I.oAB({type:y});static#n=this.\u0275inj=I.cJS({imports:[e.ez,p.Z,U.o9,n.u5,m.q,u.N,n.UX,t.hx,e.ez,p.Z,U.o9,n.u5,m.q,u.N,n.UX,t.hx]})}return y})()},7780:(jt,$e,s)=>{"use strict";s.d($e,{FT:()=>n,VE:()=>u,YO:()=>e,gE:()=>U,ls:()=>p,oV:()=>m});var t=s(6223);const u=[t.kI.pattern(/(^[0-9]{4}|^\*|^)+$/)],e=[t.kI.pattern(/(^[0-9]{1,4}|^\*)+$/)],m=[t.kI.pattern(/(^\d{1,2}\.\d{1}|^\*)+$/)],p={pattern:"Enter a date range (1999 - 2005) or use an asterisk",requiresOne:"At least one year is required"},U={required:"A start and end range are required",pattern:"Enter a range (200 - 450) or use an asterisk"},n={required:"A start and end range are required",pattern:"Enter a range (2.0 - 7.5) or use an asterisk"}},6630:(jt,$e,s)=>{"use strict";s.d($e,{$:()=>t});var t=function(u){return u.SM="dialog-sm",u.MD="dialog-md",u.LG="dialog-lg",u.XL="dialog-xl",u.FULL="dialog-full",u.FULL_HEIGHT="dialog-full-height",u.FULL_WIDTH="dialog-full-width",u}(t||{})},2385:(jt,$e,s)=>{"use strict";var t=s(5861),u=s(6593),e=s(9212),m=s(6825);function U(d){return new e.vHH(3e3,!1)}function be(d){switch(d.length){case 0:return new m.ZN;case 1:return d[0];default:return new m.ZE(d)}}function de(d,g,i=new Map,c=new Map){const l=[],x=[];let ke=-1,Mt=null;if(g.forEach(un=>{const Dn=un.get("offset"),Bn=Dn==ke,pi=Bn&&Mt||new Map;un.forEach((Zi,Yi)=>{let Vi=Yi,ii=Zi;if("offset"!==Yi)switch(Vi=d.normalizePropertyName(Vi,l),ii){case m.k1:ii=i.get(Yi);break;case m.l3:ii=c.get(Yi);break;default:ii=d.normalizeStyleValue(Yi,Vi,ii,l)}pi.set(Vi,ii)}),Bn||x.push(pi),Mt=pi,ke=Dn}),l.length)throw function pe(d){return new e.vHH(3502,!1)}();return x}function De(d,g,i,c){switch(g){case"start":d.onStart(()=>c(i&&tt(i,"start",d)));break;case"done":d.onDone(()=>c(i&&tt(i,"done",d)));break;case"destroy":d.onDestroy(()=>c(i&&tt(i,"destroy",d)))}}function tt(d,g,i){const x=Re(d.element,d.triggerName,d.fromState,d.toState,g||d.phaseName,i.totalTime??d.totalTime,!!i.disabled),ke=d._data;return null!=ke&&(x._data=ke),x}function Re(d,g,i,c,l="",x=0,ke){return{element:d,triggerName:g,fromState:i,toState:c,phaseName:l,totalTime:x,disabled:!!ke}}function Ft(d,g,i){let c=d.get(g);return c||d.set(g,c=i),c}function mt(d){const g=d.indexOf(":");return[d.substring(1,g),d.slice(g+1)]}const sn=typeof document>"u"?null:document.documentElement;function hn(d){const g=d.parentNode||d.host||null;return g===sn?null:g}let Jt=null,cn=!1;function $(d,g){for(;g;){if(g===d)return!0;g=hn(g)}return!1}function Ee(d,g,i){if(i)return Array.from(d.querySelectorAll(g));const c=d.querySelector(g);return c?[c]:[]}let Ke=(()=>{class d{validateStyleProperty(i){return function He(d){Jt||(Jt=function Ne(){return typeof document<"u"?document.body:null}()||{},cn=!!Jt.style&&"WebkitAppearance"in Jt.style);let g=!0;return Jt.style&&!function Nn(d){return"ebkit"==d.substring(1,6)}(d)&&(g=d in Jt.style,!g&&cn&&(g="Webkit"+d.charAt(0).toUpperCase()+d.slice(1)in Jt.style)),g}(i)}matchesElement(i,c){return!1}containsElement(i,c){return $(i,c)}getParentElement(i){return hn(i)}query(i,c,l){return Ee(i,c,l)}computeStyle(i,c,l){return l||""}animate(i,c,l,x,ke,Mt=[],un){return new m.ZN(l,x)}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})();class Et{static#e=this.NOOP=new Ke}class Tt{}const rn=1e3,Bt="ng-enter",Ue="ng-leave",nt="ng-trigger",Ye=".ng-trigger",zt="ng-animating",$t=".ng-animating";function Mn(d){if("number"==typeof d)return d;const g=d.match(/^(-?[\.\d]+)(m?s)/);return!g||g.length<2?0:Wn(parseFloat(g[1]),g[2])}function Wn(d,g){return"s"===g?d*rn:d}function di(d,g,i){return d.hasOwnProperty("duration")?d:function Pt(d,g,i){let l,x=0,ke="";if("string"==typeof d){const Mt=d.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Mt)return g.push(U()),{duration:0,delay:0,easing:""};l=Wn(parseFloat(Mt[1]),Mt[2]);const un=Mt[3];null!=un&&(x=Wn(parseFloat(un),Mt[4]));const Dn=Mt[5];Dn&&(ke=Dn)}else l=d;if(!i){let Mt=!1,un=g.length;l<0&&(g.push(function n(){return new e.vHH(3100,!1)}()),Mt=!0),x<0&&(g.push(function I(){return new e.vHH(3101,!1)}()),Mt=!0),Mt&&g.splice(un,0,U())}return{duration:l,delay:x,easing:ke}}(d,g,i)}function ue(d,g,i){g.forEach((c,l)=>{const x=ne(l);i&&!i.has(l)&&i.set(l,d.style[x]),d.style[x]=c})}function X(d,g){g.forEach((i,c)=>{const l=ne(c);d.style[l]=""})}function xe(d){return Array.isArray(d)?1==d.length?d[0]:(0,m.vP)(d):d}const j=new RegExp("{{\\s*(.+?)\\s*}}","g");function F(d){let g=[];if("string"==typeof d){let i;for(;i=j.exec(d);)g.push(i[1]);j.lastIndex=0}return g}function N(d,g,i){const c=`${d}`,l=c.replace(j,(x,ke)=>{let Mt=g[ke];return null==Mt&&(i.push(function y(d){return new e.vHH(3003,!1)}()),Mt=""),Mt.toString()});return l==c?d:l}const k=/-+([a-z0-9])/g;function ne(d){return d.replace(k,(...g)=>g[1].toUpperCase())}function Y(d,g,i){switch(g.type){case m.mo.Trigger:return d.visitTrigger(g,i);case m.mo.State:return d.visitState(g,i);case m.mo.Transition:return d.visitTransition(g,i);case m.mo.Sequence:return d.visitSequence(g,i);case m.mo.Group:return d.visitGroup(g,i);case m.mo.Animate:return d.visitAnimate(g,i);case m.mo.Keyframes:return d.visitKeyframes(g,i);case m.mo.Style:return d.visitStyle(g,i);case m.mo.Reference:return d.visitReference(g,i);case m.mo.AnimateChild:return d.visitAnimateChild(g,i);case m.mo.AnimateRef:return d.visitAnimateRef(g,i);case m.mo.Query:return d.visitQuery(g,i);case m.mo.Stagger:return d.visitStagger(g,i);default:throw function O(d){return new e.vHH(3004,!1)}()}}function Qe(d,g){return window.getComputedStyle(d)[g]}const _t=new Set(["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"]);class Vt extends Tt{normalizePropertyName(g,i){return ne(g)}normalizeStyleValue(g,i,c,l){let x="";const ke=c.toString().trim();if(_t.has(i)&&0!==c&&"0"!==c)if("number"==typeof c)x="px";else{const Mt=c.match(/^[+-]?[\d\.]+([a-z]*)$/);Mt&&0==Mt[1].length&&l.push(function M(d,g){return new e.vHH(3005,!1)}())}return ke+x}}const It="*";const pn=new Set(["true","1"]),Vn=new Set(["false","0"]);function Ct(d,g){const i=pn.has(d)||Vn.has(d),c=pn.has(g)||Vn.has(g);return(l,x)=>{let ke=d==It||d==l,Mt=g==It||g==x;return!ke&&i&&"boolean"==typeof l&&(ke=l?pn.has(d):Vn.has(d)),!Mt&&c&&"boolean"==typeof x&&(Mt=x?pn.has(g):Vn.has(g)),ke&&Mt}}const Wt=new RegExp("s*:selfs*,?","g");function Pn(d,g,i,c){return new jn(d).build(g,i,c)}class jn{constructor(g){this._driver=g}build(g,i,c){const l=new hi(i);return this._resetContextStyleTimingState(l),Y(this,xe(g),l)}_resetContextStyleTimingState(g){g.currentQuerySelector="",g.collectedStyles=new Map,g.collectedStyles.set("",new Map),g.currentTime=0}visitTrigger(g,i){let c=i.queryCount=0,l=i.depCount=0;const x=[],ke=[];return"@"==g.name.charAt(0)&&i.errors.push(function E(){return new e.vHH(3006,!1)}()),g.definitions.forEach(Mt=>{if(this._resetContextStyleTimingState(i),Mt.type==m.mo.State){const un=Mt,Dn=un.name;Dn.toString().split(/\s*,\s*/).forEach(Bn=>{un.name=Bn,x.push(this.visitState(un,i))}),un.name=Dn}else if(Mt.type==m.mo.Transition){const un=this.visitTransition(Mt,i);c+=un.queryCount,l+=un.depCount,ke.push(un)}else i.errors.push(function A(){return new e.vHH(3007,!1)}())}),{type:m.mo.Trigger,name:g.name,states:x,transitions:ke,queryCount:c,depCount:l,options:null}}visitState(g,i){const c=this.visitStyle(g.styles,i),l=g.options&&g.options.params||null;if(c.containsDynamicStyles){const x=new Set,ke=l||{};c.styles.forEach(Mt=>{Mt instanceof Map&&Mt.forEach(un=>{F(un).forEach(Dn=>{ke.hasOwnProperty(Dn)||x.add(Dn)})})}),x.size&&i.errors.push(function S(d,g){return new e.vHH(3008,!1)}(0,x.values()))}return{type:m.mo.State,name:g.name,style:c,options:l?{params:l}:null}}visitTransition(g,i){i.queryCount=0,i.depCount=0;const c=Y(this,xe(g.animation),i),l=function pt(d,g){const i=[];return"string"==typeof d?d.split(/\s*,\s*/).forEach(c=>function wt(d,g,i){if(":"==d[0]){const un=function $n(d,g){switch(d){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,c)=>parseFloat(c)>parseFloat(i);case":decrement":return(i,c)=>parseFloat(c)<parseFloat(i);default:return g.push(function _e(d){return new e.vHH(3016,!1)}()),"* => *"}}(d,i);if("function"==typeof un)return void g.push(un);d=un}const c=d.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==c||c.length<4)return i.push(function ie(d){return new e.vHH(3015,!1)}()),g;const l=c[1],x=c[2],ke=c[3];g.push(Ct(l,ke)),"<"==x[0]&&(l!=It||ke!=It)&&g.push(Ct(ke,l))}(c,i,g)):i.push(d),i}(g.expr,i.errors);return{type:m.mo.Transition,matchers:l,animation:c,queryCount:i.queryCount,depCount:i.depCount,options:xi(g.options)}}visitSequence(g,i){return{type:m.mo.Sequence,steps:g.steps.map(c=>Y(this,c,i)),options:xi(g.options)}}visitGroup(g,i){const c=i.currentTime;let l=0;const x=g.steps.map(ke=>{i.currentTime=c;const Mt=Y(this,ke,i);return l=Math.max(l,i.currentTime),Mt});return i.currentTime=l,{type:m.mo.Group,steps:x,options:xi(g.options)}}visitAnimate(g,i){const c=function ao(d,g){if(d.hasOwnProperty("duration"))return d;if("number"==typeof d)return Bi(di(d,g).duration,0,"");const i=d;if(i.split(/\s+/).some(x=>"{"==x.charAt(0)&&"{"==x.charAt(1))){const x=Bi(0,0,"");return x.dynamic=!0,x.strValue=i,x}const l=di(i,g);return Bi(l.duration,l.delay,l.easing)}(g.timings,i.errors);i.currentAnimateTimings=c;let l,x=g.styles?g.styles:(0,m.oB)({});if(x.type==m.mo.Keyframes)l=this.visitKeyframes(x,i);else{let ke=g.styles,Mt=!1;if(!ke){Mt=!0;const Dn={};c.easing&&(Dn.easing=c.easing),ke=(0,m.oB)(Dn)}i.currentTime+=c.duration+c.delay;const un=this.visitStyle(ke,i);un.isEmptyStep=Mt,l=un}return i.currentAnimateTimings=null,{type:m.mo.Animate,timings:c,style:l,options:null}}visitStyle(g,i){const c=this._makeStyleAst(g,i);return this._validateStyleAst(c,i),c}_makeStyleAst(g,i){const c=[],l=Array.isArray(g.styles)?g.styles:[g.styles];for(let Mt of l)"string"==typeof Mt?Mt===m.l3?c.push(Mt):i.errors.push(new e.vHH(3002,!1)):c.push(new Map(Object.entries(Mt)));let x=!1,ke=null;return c.forEach(Mt=>{if(Mt instanceof Map&&(Mt.has("easing")&&(ke=Mt.get("easing"),Mt.delete("easing")),!x))for(let un of Mt.values())if(un.toString().indexOf("{{")>=0){x=!0;break}}),{type:m.mo.Style,styles:c,easing:ke,offset:g.offset,containsDynamicStyles:x,options:null}}_validateStyleAst(g,i){const c=i.currentAnimateTimings;let l=i.currentTime,x=i.currentTime;c&&x>0&&(x-=c.duration+c.delay),g.styles.forEach(ke=>{"string"!=typeof ke&&ke.forEach((Mt,un)=>{const Dn=i.collectedStyles.get(i.currentQuerySelector),Bn=Dn.get(un);let pi=!0;Bn&&(x!=l&&x>=Bn.startTime&&l<=Bn.endTime&&(i.errors.push(function le(d,g,i,c,l){return new e.vHH(3010,!1)}()),pi=!1),x=Bn.startTime),pi&&Dn.set(un,{startTime:x,endTime:l}),i.options&&function et(d,g,i){const c=g.params||{},l=F(d);l.length&&l.forEach(x=>{c.hasOwnProperty(x)||i.push(function L(d){return new e.vHH(3001,!1)}())})}(Mt,i.options,i.errors)})})}visitKeyframes(g,i){const c={type:m.mo.Keyframes,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(function ee(){return new e.vHH(3011,!1)}()),c;let x=0;const ke=[];let Mt=!1,un=!1,Dn=0;const Bn=g.steps.map(ko=>{const Vo=this._makeStyleAst(ko,i);let Ko=null!=Vo.offset?Vo.offset:function Xi(d){if("string"==typeof d)return null;let g=null;if(Array.isArray(d))d.forEach(i=>{if(i instanceof Map&&i.has("offset")){const c=i;g=parseFloat(c.get("offset")),c.delete("offset")}});else if(d instanceof Map&&d.has("offset")){const i=d;g=parseFloat(i.get("offset")),i.delete("offset")}return g}(Vo.styles),Zo=0;return null!=Ko&&(x++,Zo=Vo.offset=Ko),un=un||Zo<0||Zo>1,Mt=Mt||Zo<Dn,Dn=Zo,ke.push(Zo),Vo});un&&i.errors.push(function K(){return new e.vHH(3012,!1)}()),Mt&&i.errors.push(function Q(){return new e.vHH(3200,!1)}());const pi=g.steps.length;let Zi=0;x>0&&x<pi?i.errors.push(function q(){return new e.vHH(3202,!1)}()):0==x&&(Zi=1/(pi-1));const Yi=pi-1,Vi=i.currentTime,ii=i.currentAnimateTimings,Ji=ii.duration;return Bn.forEach((ko,Vo)=>{const Ko=Zi>0?Vo==Yi?1:Zi*Vo:ke[Vo],Zo=Ko*Ji;i.currentTime=Vi+ii.delay+Zo,ii.duration=Zo,this._validateStyleAst(ko,i),ko.offset=Ko,c.styles.push(ko)}),c}visitReference(g,i){return{type:m.mo.Reference,animation:Y(this,xe(g.animation),i),options:xi(g.options)}}visitAnimateChild(g,i){return i.depCount++,{type:m.mo.AnimateChild,options:xi(g.options)}}visitAnimateRef(g,i){return{type:m.mo.AnimateRef,animation:this.visitReference(g.animation,i),options:xi(g.options)}}visitQuery(g,i){const c=i.currentQuerySelector,l=g.options||{};i.queryCount++,i.currentQuery=g;const[x,ke]=function ui(d){const g=!!d.split(/\s*,\s*/).find(i=>":self"==i);return g&&(d=d.replace(Wt,"")),d=d.replace(/@\*/g,Ye).replace(/@\w+/g,i=>Ye+"-"+i.slice(1)).replace(/:animating/g,$t),[d,g]}(g.selector);i.currentQuerySelector=c.length?c+" "+x:x,Ft(i.collectedStyles,i.currentQuerySelector,new Map);const Mt=Y(this,xe(g.animation),i);return i.currentQuery=null,i.currentQuerySelector=c,{type:m.mo.Query,selector:x,limit:l.limit||0,optional:!!l.optional,includeSelf:ke,animation:Mt,originalSelector:g.selector,options:xi(g.options)}}visitStagger(g,i){i.currentQuery||i.errors.push(function H(){return new e.vHH(3013,!1)}());const c="full"===g.timings?{duration:0,delay:0,easing:"full"}:di(g.timings,i.errors,!0);return{type:m.mo.Stagger,animation:Y(this,xe(g.animation),i),timings:c,options:null}}}class hi{constructor(g){this.errors=g,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function xi(d){return d?(d={...d}).params&&(d.params=function Ai(d){return d?{...d}:null}(d.params)):d={},d}function Bi(d,g,i){return{duration:d,delay:g,easing:i}}function bo(d,g,i,c,l,x,ke=null,Mt=!1){return{type:1,element:d,keyframes:g,preStyleProps:i,postStyleProps:c,duration:l,delay:x,totalTime:l+x,easing:ke,subTimeline:Mt}}class Qi{constructor(){this._map=new Map}get(g){return this._map.get(g)||[]}append(g,i){let c=this._map.get(g);c||this._map.set(g,c=[]),c.push(...i)}has(g){return this._map.has(g)}clear(){this._map.clear()}}const Rt=new RegExp(":enter","g"),ze=new RegExp(":leave","g");function en(d,g,i,c,l,x=new Map,ke=new Map,Mt,un,Dn=[]){return(new st).buildKeyframes(d,g,i,c,l,x,ke,Mt,un,Dn)}class st{buildKeyframes(g,i,c,l,x,ke,Mt,un,Dn,Bn=[]){Dn=Dn||new Qi;const pi=new an(g,i,Dn,l,x,Bn,[]);pi.options=un;const Zi=un.delay?Mn(un.delay):0;pi.currentTimeline.delayNextStep(Zi),pi.currentTimeline.setStyles([ke],null,pi.errors,un),Y(this,c,pi);const Yi=pi.timelines.filter(Vi=>Vi.containsAnimation());if(Yi.length&&Mt.size){let Vi;for(let ii=Yi.length-1;ii>=0;ii--){const Ji=Yi[ii];if(Ji.element===i){Vi=Ji;break}}Vi&&!Vi.allowOnlyTimelineStyles()&&Vi.setStyles([Mt],null,pi.errors,un)}return Yi.length?Yi.map(Vi=>Vi.buildKeyframes()):[bo(i,[],[],[],0,Zi,"",!1)]}visitTrigger(g,i){}visitState(g,i){}visitTransition(g,i){}visitAnimateChild(g,i){const c=i.subInstructions.get(i.element);if(c){const l=i.createSubContext(g.options),x=i.currentTimeline.currentTime,ke=this._visitSubInstructions(c,l,l.options);x!=ke&&i.transformIntoNewTimeline(ke)}i.previousNode=g}visitAnimateRef(g,i){const c=i.createSubContext(g.options);c.transformIntoNewTimeline(),this._applyAnimationRefDelays([g.options,g.animation.options],i,c),this.visitReference(g.animation,c),i.transformIntoNewTimeline(c.currentTimeline.currentTime),i.previousNode=g}_applyAnimationRefDelays(g,i,c){for(const l of g){const x=l?.delay;if(x){const ke="number"==typeof x?x:Mn(N(x,l?.params??{},i.errors));c.delayNextStep(ke)}}}_visitSubInstructions(g,i,c){let x=i.currentTimeline.currentTime;const ke=null!=c.duration?Mn(c.duration):null,Mt=null!=c.delay?Mn(c.delay):null;return 0!==ke&&g.forEach(un=>{const Dn=i.appendInstructionToTimeline(un,ke,Mt);x=Math.max(x,Dn.duration+Dn.delay)}),x}visitReference(g,i){i.updateOptions(g.options,!0),Y(this,g.animation,i),i.previousNode=g}visitSequence(g,i){const c=i.subContextCount;let l=i;const x=g.options;if(x&&(x.params||x.delay)&&(l=i.createSubContext(x),l.transformIntoNewTimeline(),null!=x.delay)){l.previousNode.type==m.mo.Style&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=Zt);const ke=Mn(x.delay);l.delayNextStep(ke)}g.steps.length&&(g.steps.forEach(ke=>Y(this,ke,l)),l.currentTimeline.applyStylesToKeyframe(),l.subContextCount>c&&l.transformIntoNewTimeline()),i.previousNode=g}visitGroup(g,i){const c=[];let l=i.currentTimeline.currentTime;const x=g.options&&g.options.delay?Mn(g.options.delay):0;g.steps.forEach(ke=>{const Mt=i.createSubContext(g.options);x&&Mt.delayNextStep(x),Y(this,ke,Mt),l=Math.max(l,Mt.currentTimeline.currentTime),c.push(Mt.currentTimeline)}),c.forEach(ke=>i.currentTimeline.mergeTimelineCollectedStyles(ke)),i.transformIntoNewTimeline(l),i.previousNode=g}_visitTiming(g,i){if(g.dynamic){const c=g.strValue;return di(i.params?N(c,i.params,i.errors):c,i.errors)}return{duration:g.duration,delay:g.delay,easing:g.easing}}visitAnimate(g,i){const c=i.currentAnimateTimings=this._visitTiming(g.timings,i),l=i.currentTimeline;c.delay&&(i.incrementTime(c.delay),l.snapshotCurrentStyles());const x=g.style;x.type==m.mo.Keyframes?this.visitKeyframes(x,i):(i.incrementTime(c.duration),this.visitStyle(x,i),l.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=g}visitStyle(g,i){const c=i.currentTimeline,l=i.currentAnimateTimings;!l&&c.hasCurrentStyleProperties()&&c.forwardFrame();const x=l&&l.easing||g.easing;g.isEmptyStep?c.applyEmptyStep(x):c.setStyles(g.styles,x,i.errors,i.options),i.previousNode=g}visitKeyframes(g,i){const c=i.currentAnimateTimings,l=i.currentTimeline.duration,x=c.duration,Mt=i.createSubContext().currentTimeline;Mt.easing=c.easing,g.styles.forEach(un=>{Mt.forwardTime((un.offset||0)*x),Mt.setStyles(un.styles,un.easing,i.errors,i.options),Mt.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(Mt),i.transformIntoNewTimeline(l+x),i.previousNode=g}visitQuery(g,i){const c=i.currentTimeline.currentTime,l=g.options||{},x=l.delay?Mn(l.delay):0;x&&(i.previousNode.type===m.mo.Style||0==c&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Zt);let ke=c;const Mt=i.invokeQuery(g.selector,g.originalSelector,g.limit,g.includeSelf,!!l.optional,i.errors);i.currentQueryTotal=Mt.length;let un=null;Mt.forEach((Dn,Bn)=>{i.currentQueryIndex=Bn;const pi=i.createSubContext(g.options,Dn);x&&pi.delayNextStep(x),Dn===i.element&&(un=pi.currentTimeline),Y(this,g.animation,pi),pi.currentTimeline.applyStylesToKeyframe(),ke=Math.max(ke,pi.currentTimeline.currentTime)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(ke),un&&(i.currentTimeline.mergeTimelineCollectedStyles(un),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=g}visitStagger(g,i){const c=i.parentContext,l=i.currentTimeline,x=g.timings,ke=Math.abs(x.duration),Mt=ke*(i.currentQueryTotal-1);let un=ke*i.currentQueryIndex;switch(x.duration<0?"reverse":x.easing){case"reverse":un=Mt-un;break;case"full":un=c.currentStaggerTime}const Bn=i.currentTimeline;un&&Bn.delayNextStep(un);const pi=Bn.currentTime;Y(this,g.animation,i),i.previousNode=g,c.currentStaggerTime=l.currentTime-pi+(l.startTime-c.currentTimeline.startTime)}}const Zt={};class an{constructor(g,i,c,l,x,ke,Mt,un){this._driver=g,this.element=i,this.subInstructions=c,this._enterClassName=l,this._leaveClassName=x,this.errors=ke,this.timelines=Mt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Zt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=un||new Xn(this._driver,i,0),Mt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(g,i){if(!g)return;const c=g;let l=this.options;null!=c.duration&&(l.duration=Mn(c.duration)),null!=c.delay&&(l.delay=Mn(c.delay));const x=c.params;if(x){let ke=l.params;ke||(ke=this.options.params={}),Object.keys(x).forEach(Mt=>{(!i||!ke.hasOwnProperty(Mt))&&(ke[Mt]=N(x[Mt],ke,this.errors))})}}_copyOptions(){const g={};if(this.options){const i=this.options.params;if(i){const c=g.params={};Object.keys(i).forEach(l=>{c[l]=i[l]})}}return g}createSubContext(g=null,i,c){const l=i||this.element,x=new an(this._driver,l,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(l,c||0));return x.previousNode=this.previousNode,x.currentAnimateTimings=this.currentAnimateTimings,x.options=this._copyOptions(),x.updateOptions(g),x.currentQueryIndex=this.currentQueryIndex,x.currentQueryTotal=this.currentQueryTotal,x.parentContext=this,this.subContextCount++,x}transformIntoNewTimeline(g){return this.previousNode=Zt,this.currentTimeline=this.currentTimeline.fork(this.element,g),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(g,i,c){const l={duration:i??g.duration,delay:this.currentTimeline.currentTime+(c??0)+g.delay,easing:""},x=new fi(this._driver,g.element,g.keyframes,g.preStyleProps,g.postStyleProps,l,g.stretchStartingKeyframe);return this.timelines.push(x),l}incrementTime(g){this.currentTimeline.forwardTime(this.currentTimeline.duration+g)}delayNextStep(g){g>0&&this.currentTimeline.delayNextStep(g)}invokeQuery(g,i,c,l,x,ke){let Mt=[];if(l&&Mt.push(this.element),g.length>0){g=(g=g.replace(Rt,"."+this._enterClassName)).replace(ze,"."+this._leaveClassName);let Dn=this._driver.query(this.element,g,1!=c);0!==c&&(Dn=c<0?Dn.slice(Dn.length+c,Dn.length):Dn.slice(0,c)),Mt.push(...Dn)}return!x&&0==Mt.length&&ke.push(function T(d){return new e.vHH(3014,!1)}()),Mt}}class Xn{constructor(g,i,c,l){this._driver=g,this.element=i,this.startTime=c,this._elementTimelineStylesLookup=l,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(g){const i=1===this._keyframes.size&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+g),i&&this.snapshotCurrentStyles()):this.startTime+=g}fork(g,i){return this.applyStylesToKeyframe(),new Xn(this._driver,g,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(g){this.applyStylesToKeyframe(),this.duration=g,this._loadKeyframe()}_updateStyle(g,i){this._localTimelineStyles.set(g,i),this._globalTimelineStyles.set(g,i),this._styleSummary.set(g,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(g){g&&this._previousKeyframe.set("easing",g);for(let[i,c]of this._globalTimelineStyles)this._backFill.set(i,c||m.l3),this._currentKeyframe.set(i,m.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(g,i,c,l){i&&this._previousKeyframe.set("easing",i);const x=l&&l.params||{},ke=function So(d,g){const i=new Map;let c;return d.forEach(l=>{if("*"===l){c??=g.keys();for(let x of c)i.set(x,m.l3)}else for(let[x,ke]of l)i.set(x,ke)}),i}(g,this._globalTimelineStyles);for(let[Mt,un]of ke){const Dn=N(un,x,c);this._pendingStyles.set(Mt,Dn),this._localTimelineStyles.has(Mt)||this._backFill.set(Mt,this._globalTimelineStyles.get(Mt)??m.l3),this._updateStyle(Mt,Dn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((g,i)=>{this._currentKeyframe.set(i,g)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((g,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,g)}))}snapshotCurrentStyles(){for(let[g,i]of this._localTimelineStyles)this._pendingStyles.set(g,i),this._updateStyle(g,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const g=[];for(let i in this._currentKeyframe)g.push(i);return g}mergeTimelineCollectedStyles(g){g._styleSummary.forEach((i,c)=>{const l=this._styleSummary.get(c);(!l||i.time>l.time)&&this._updateStyle(c,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const g=new Set,i=new Set,c=1===this._keyframes.size&&0===this.duration;let l=[];this._keyframes.forEach((Mt,un)=>{const Dn=new Map([...this._backFill,...Mt]);Dn.forEach((Bn,pi)=>{Bn===m.k1?g.add(pi):Bn===m.l3&&i.add(pi)}),c||Dn.set("offset",un/this.duration),l.push(Dn)});const x=[...g.values()],ke=[...i.values()];if(c){const Mt=l[0],un=new Map(Mt);Mt.set("offset",0),un.set("offset",1),l=[Mt,un]}return bo(this.element,l,x,ke,this.duration,this.startTime,this.easing,!1)}}class fi extends Xn{constructor(g,i,c,l,x,ke,Mt=!1){super(g,i,ke.delay),this.keyframes=c,this.preStyleProps=l,this.postStyleProps=x,this._stretchStartingKeyframe=Mt,this.timings={duration:ke.duration,delay:ke.delay,easing:ke.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let g=this.keyframes,{delay:i,duration:c,easing:l}=this.timings;if(this._stretchStartingKeyframe&&i){const x=[],ke=c+i,Mt=i/ke,un=new Map(g[0]);un.set("offset",0),x.push(un);const Dn=new Map(g[0]);Dn.set("offset",Ui(Mt)),x.push(Dn);const Bn=g.length-1;for(let pi=1;pi<=Bn;pi++){let Zi=new Map(g[pi]);const Yi=Zi.get("offset");Zi.set("offset",Ui((i+Yi*c)/ke)),x.push(Zi)}c=ke,i=0,l="",g=x}return bo(this.element,g,this.preStyleProps,this.postStyleProps,c,i,l,!0)}}function Ui(d,g=3){const i=Math.pow(10,g-1);return Math.round(d*i)/i}function Lo(d,g,i,c,l,x,ke,Mt,un,Dn,Bn,pi,Zi){return{type:0,element:d,triggerName:g,isRemovalTransition:l,fromState:i,fromStyles:x,toState:c,toStyles:ke,timelines:Mt,queriedElements:un,preStyleProps:Dn,postStyleProps:Bn,totalTime:pi,errors:Zi}}const Co={};class Yo{constructor(g,i,c){this._triggerName=g,this.ast=i,this._stateStyles=c}match(g,i,c,l){return function tr(d,g,i,c,l){return d.some(x=>x(g,i,c,l))}(this.ast.matchers,g,i,c,l)}buildStyles(g,i,c){let l=this._stateStyles.get("*");return void 0!==g&&(l=this._stateStyles.get(g?.toString())||l),l?l.buildStyles(i,c):new Map}build(g,i,c,l,x,ke,Mt,un,Dn,Bn){const pi=[],Zi=this.ast.options&&this.ast.options.params||Co,Vi=this.buildStyles(c,Mt&&Mt.params||Co,pi),ii=un&&un.params||Co,Ji=this.buildStyles(l,ii,pi),ko=new Set,Vo=new Map,Ko=new Map,Zo="void"===l,ka={params:Mr(ii,Zi),delay:this.ast.options?.delay},Jr=Bn?[]:en(g,i,this.ast.animation,x,ke,Vi,Ji,ka,Dn,pi);let fr=0;return Jr.forEach(xr=>{fr=Math.max(xr.duration+xr.delay,fr)}),pi.length?Lo(i,this._triggerName,c,l,Zo,Vi,Ji,[],[],Vo,Ko,fr,pi):(Jr.forEach(xr=>{const mo=xr.element,$a=Ft(Vo,mo,new Set);xr.preStyleProps.forEach(ml=>$a.add(ml));const Pu=Ft(Ko,mo,new Set);xr.postStyleProps.forEach(ml=>Pu.add(ml)),mo!==i&&ko.add(mo)}),Lo(i,this._triggerName,c,l,Zo,Vi,Ji,Jr,[...ko.values()],Vo,Ko,fr))}}function Mr(d,g){const i={...g};return Object.entries(d).forEach(([c,l])=>{null!=l&&(i[c]=l)}),i}class cr{constructor(g,i,c){this.styles=g,this.defaultParams=i,this.normalizer=c}buildStyles(g,i){const c=new Map,l=Mr(g,this.defaultParams);return this.styles.styles.forEach(x=>{"string"!=typeof x&&x.forEach((ke,Mt)=>{ke&&(ke=N(ke,l,i));const un=this.normalizer.normalizePropertyName(Mt,i);ke=this.normalizer.normalizeStyleValue(Mt,un,ke,i),c.set(Mt,ke)})}),c}}class qr{constructor(g,i,c){this.name=g,this.ast=i,this._normalizer=c,this.transitionFactories=[],this.states=new Map,i.states.forEach(l=>{this.states.set(l.name,new cr(l.style,l.options&&l.options.params||{},c))}),Er(this.states,"true","1"),Er(this.states,"false","0"),i.transitions.forEach(l=>{this.transitionFactories.push(new Yo(g,l,this.states))}),this.fallbackTransition=function Nr(d,g,i){return new Yo(d,{type:m.mo.Transition,animation:{type:m.mo.Sequence,steps:[],options:null},matchers:[(ke,Mt)=>!0],options:null,queryCount:0,depCount:0},g)}(g,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(g,i,c,l){return this.transitionFactories.find(ke=>ke.match(g,i,c,l))||null}matchStyles(g,i,c){return this.fallbackTransition.buildStyles(g,i,c)}}function Er(d,g,i){d.has(g)?d.has(i)||d.set(i,d.get(g)):d.has(i)&&d.set(g,d.get(i))}const ln=new Qi;class Ci{constructor(g,i,c){this.bodyNode=g,this._driver=i,this._normalizer=c,this._animations=new Map,this._playersById=new Map,this.players=[]}register(g,i){const c=[],x=Pn(this._driver,i,c,[]);if(c.length)throw function Ae(d){return new e.vHH(3503,!1)}();this._animations.set(g,x)}_buildPlayer(g,i,c){const l=g.element,x=de(this._normalizer,g.keyframes,i,c);return this._driver.animate(l,x,g.duration,g.delay,g.easing,[],!0)}create(g,i,c={}){const l=[],x=this._animations.get(g);let ke;const Mt=new Map;if(x?(ke=en(this._driver,i,x,Bt,Ue,new Map,new Map,c,ln,l),ke.forEach(Bn=>{const pi=Ft(Mt,Bn.element,new Map);Bn.postStyleProps.forEach(Zi=>pi.set(Zi,null))})):(l.push(function Ze(){return new e.vHH(3300,!1)}()),ke=[]),l.length)throw function dt(d){return new e.vHH(3504,!1)}();Mt.forEach((Bn,pi)=>{Bn.forEach((Zi,Yi)=>{Bn.set(Yi,this._driver.computeStyle(pi,Yi,m.l3))})});const Dn=be(ke.map(Bn=>{const pi=Mt.get(Bn.element);return this._buildPlayer(Bn,new Map,pi)}));return this._playersById.set(g,Dn),Dn.onDestroy(()=>this.destroy(g)),this.players.push(Dn),Dn}destroy(g){const i=this._getPlayer(g);i.destroy(),this._playersById.delete(g);const c=this.players.indexOf(i);c>=0&&this.players.splice(c,1)}_getPlayer(g){const i=this._playersById.get(g);if(!i)throw function Fe(d){return new e.vHH(3301,!1)}();return i}listen(g,i,c,l){const x=Re(i,"","","");return De(this._getPlayer(g),c,x,l),()=>{}}command(g,i,c,l){if("register"==c)return void this.register(g,l[0]);if("create"==c)return void this.create(g,i,l[0]||{});const x=this._getPlayer(g);switch(c){case"play":x.play();break;case"pause":x.pause();break;case"reset":x.reset();break;case"restart":x.restart();break;case"finish":x.finish();break;case"init":x.init();break;case"setPosition":x.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(g)}}}const me="ng-animate-queued",it="ng-animate-disabled",ur=[],hr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},so="__ng_removed";class lt{get params(){return this.options.params}constructor(g,i=""){this.namespaceId=i;const c=g&&g.hasOwnProperty("value");if(this.value=function gi(d){return d??null}(c?g.value:g),c){const{value:x,...ke}=g;this.options=ke}else this.options={};this.options.params||(this.options.params={})}absorbOptions(g){const i=g.params;if(i){const c=this.options.params;Object.keys(i).forEach(l=>{null==c[l]&&(c[l]=i[l])})}}}const Ut="void",Kt=new lt(Ut);class Qt{constructor(g,i,c){this.id=g,this.hostElement=i,this._engine=c,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+g,Hi(i,this._hostClassName)}listen(g,i,c,l){if(!this._triggers.has(i))throw function Xe(d,g){return new e.vHH(3302,!1)}();if(null==c||0==c.length)throw function Ie(d){return new e.vHH(3303,!1)}();if(!function Pi(d){return"start"==d||"done"==d}(c))throw function W(d,g){return new e.vHH(3400,!1)}();const x=Ft(this._elementListeners,g,[]),ke={name:i,phase:c,callback:l};x.push(ke);const Mt=Ft(this._engine.statesByElement,g,new Map);return Mt.has(i)||(Hi(g,nt),Hi(g,nt+"-"+i),Mt.set(i,Kt)),()=>{this._engine.afterFlush(()=>{const un=x.indexOf(ke);un>=0&&x.splice(un,1),this._triggers.has(i)||Mt.delete(i)})}}register(g,i){return!this._triggers.has(g)&&(this._triggers.set(g,i),!0)}_getTrigger(g){const i=this._triggers.get(g);if(!i)throw function we(d){return new e.vHH(3401,!1)}();return i}trigger(g,i,c,l=!0){const x=this._getTrigger(i),ke=new kn(this.id,i,g);let Mt=this._engine.statesByElement.get(g);Mt||(Hi(g,nt),Hi(g,nt+"-"+i),this._engine.statesByElement.set(g,Mt=new Map));let un=Mt.get(i);const Dn=new lt(c,this.id);if(!(c&&c.hasOwnProperty("value"))&&un&&Dn.absorbOptions(un.options),Mt.set(i,Dn),un||(un=Kt),Dn.value!==Ut&&un.value===Dn.value){if(!function bt(d,g){const i=Object.keys(d),c=Object.keys(g);if(i.length!=c.length)return!1;for(let l=0;l<i.length;l++){const x=i[l];if(!g.hasOwnProperty(x)||d[x]!==g[x])return!1}return!0}(un.params,Dn.params)){const ii=[],Ji=x.matchStyles(un.value,un.params,ii),ko=x.matchStyles(Dn.value,Dn.params,ii);ii.length?this._engine.reportError(ii):this._engine.afterFlush(()=>{X(g,Ji),ue(g,ko)})}return}const Zi=Ft(this._engine.playersByElement,g,[]);Zi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==i&&ii.queued&&ii.destroy()});let Yi=x.matchTransition(un.value,Dn.value,g,Dn.params),Vi=!1;if(!Yi){if(!l)return;Yi=x.fallbackTransition,Vi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:i,transition:Yi,fromState:un,toState:Dn,player:ke,isFallbackTransition:Vi}),Vi||(Hi(g,me),ke.onStart(()=>{D(g,me)})),ke.onDone(()=>{let ii=this.players.indexOf(ke);ii>=0&&this.players.splice(ii,1);const Ji=this._engine.playersByElement.get(g);if(Ji){let ko=Ji.indexOf(ke);ko>=0&&Ji.splice(ko,1)}}),this.players.push(ke),Zi.push(ke),ke}deregister(g){this._triggers.delete(g),this._engine.statesByElement.forEach(i=>i.delete(g)),this._elementListeners.forEach((i,c)=>{this._elementListeners.set(c,i.filter(l=>l.name!=g))})}clearElementCache(g){this._engine.statesByElement.delete(g),this._elementListeners.delete(g);const i=this._engine.playersByElement.get(g);i&&(i.forEach(c=>c.destroy()),this._engine.playersByElement.delete(g))}_signalRemovalForInnerTriggers(g,i){const c=this._engine.driver.query(g,Ye,!0);c.forEach(l=>{if(l[so])return;const x=this._engine.fetchNamespacesByElement(l);x.size?x.forEach(ke=>ke.triggerLeaveAnimation(l,i,!1,!0)):this.clearElementCache(l)}),this._engine.afterFlushAnimationsDone(()=>c.forEach(l=>this.clearElementCache(l)))}triggerLeaveAnimation(g,i,c,l){const x=this._engine.statesByElement.get(g),ke=new Map;if(x){const Mt=[];if(x.forEach((un,Dn)=>{if(ke.set(Dn,un.value),this._triggers.has(Dn)){const Bn=this.trigger(g,Dn,Ut,l);Bn&&Mt.push(Bn)}}),Mt.length)return this._engine.markElementAsRemoved(this.id,g,!0,i,ke),c&&be(Mt).onDone(()=>this._engine.processLeaveNode(g)),!0}return!1}prepareLeaveAnimationListeners(g){const i=this._elementListeners.get(g),c=this._engine.statesByElement.get(g);if(i&&c){const l=new Set;i.forEach(x=>{const ke=x.name;if(l.has(ke))return;l.add(ke);const un=this._triggers.get(ke).fallbackTransition,Dn=c.get(ke)||Kt,Bn=new lt(Ut),pi=new kn(this.id,ke,g);this._engine.totalQueuedPlayers++,this._queue.push({element:g,triggerName:ke,transition:un,fromState:Dn,toState:Bn,player:pi,isFallbackTransition:!0})})}}removeNode(g,i){const c=this._engine;if(g.childElementCount&&this._signalRemovalForInnerTriggers(g,i),this.triggerLeaveAnimation(g,i,!0))return;let l=!1;if(c.totalAnimations){const x=c.players.length?c.playersByQueriedElement.get(g):[];if(x&&x.length)l=!0;else{let ke=g;for(;ke=ke.parentNode;)if(c.statesByElement.get(ke)){l=!0;break}}}if(this.prepareLeaveAnimationListeners(g),l)c.markElementAsRemoved(this.id,g,!1,i);else{const x=g[so];(!x||x===hr)&&(c.afterFlush(()=>this.clearElementCache(g)),c.destroyInnerAnimations(g),c._onRemovalComplete(g,i))}}insertNode(g,i){Hi(g,this._hostClassName)}drainQueuedTransitions(g){const i=[];return this._queue.forEach(c=>{const l=c.player;if(l.destroyed)return;const x=c.element,ke=this._elementListeners.get(x);ke&&ke.forEach(Mt=>{if(Mt.name==c.triggerName){const un=Re(x,c.triggerName,c.fromState.value,c.toState.value);un._data=g,De(c.player,Mt.phase,un,Mt.callback)}}),l.markedForDestroy?this._engine.afterFlush(()=>{l.destroy()}):i.push(c)}),this._queue=[],i.sort((c,l)=>{const x=c.transition.ast.depCount,ke=l.transition.ast.depCount;return 0==x||0==ke?x-ke:this._engine.driver.containsElement(c.element,l.element)?1:-1})}destroy(g){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,g)}}class vn{_onRemovalComplete(g,i){this.onRemovalComplete(g,i)}constructor(g,i,c,l){this.bodyNode=g,this.driver=i,this._normalizer=c,this.scheduler=l,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=(x,ke)=>{}}get queuedPlayers(){const g=[];return this._namespaceList.forEach(i=>{i.players.forEach(c=>{c.queued&&g.push(c)})}),g}createNamespace(g,i){const c=new Qt(g,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(c,i):(this.newHostElements.set(i,c),this.collectEnterElement(i)),this._namespaceLookup[g]=c}_balanceNamespaceList(g,i){const c=this._namespaceList,l=this.namespacesByHostElement;if(c.length-1>=0){let ke=!1,Mt=this.driver.getParentElement(i);for(;Mt;){const un=l.get(Mt);if(un){const Dn=c.indexOf(un);c.splice(Dn+1,0,g),ke=!0;break}Mt=this.driver.getParentElement(Mt)}ke||c.unshift(g)}else c.push(g);return l.set(i,g),g}register(g,i){let c=this._namespaceLookup[g];return c||(c=this.createNamespace(g,i)),c}registerTrigger(g,i,c){let l=this._namespaceLookup[g];l&&l.register(i,c)&&this.totalAnimations++}destroy(g,i){g&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const c=this._fetchNamespace(g);this.namespacesByHostElement.delete(c.hostElement);const l=this._namespaceList.indexOf(c);l>=0&&this._namespaceList.splice(l,1),c.destroy(i),delete this._namespaceLookup[g]}))}_fetchNamespace(g){return this._namespaceLookup[g]}fetchNamespacesByElement(g){const i=new Set,c=this.statesByElement.get(g);if(c)for(let l of c.values())if(l.namespaceId){const x=this._fetchNamespace(l.namespaceId);x&&i.add(x)}return i}trigger(g,i,c,l){if(oi(i)){const x=this._fetchNamespace(g);if(x)return x.trigger(i,c,l),!0}return!1}insertNode(g,i,c,l){if(!oi(i))return;const x=i[so];if(x&&x.setForRemoval){x.setForRemoval=!1,x.setForMove=!0;const ke=this.collectedLeaveElements.indexOf(i);ke>=0&&this.collectedLeaveElements.splice(ke,1)}if(g){const ke=this._fetchNamespace(g);ke&&ke.insertNode(i,c)}l&&this.collectEnterElement(i)}collectEnterElement(g){this.collectedEnterElements.push(g)}markElementAsDisabled(g,i){i?this.disabledNodes.has(g)||(this.disabledNodes.add(g),Hi(g,it)):this.disabledNodes.has(g)&&(this.disabledNodes.delete(g),D(g,it))}removeNode(g,i,c){if(oi(i)){this.scheduler?.notify();const l=g?this._fetchNamespace(g):null;l?l.removeNode(i,c):this.markElementAsRemoved(g,i,!1,c);const x=this.namespacesByHostElement.get(i);x&&x.id!==g&&x.removeNode(i,c)}else this._onRemovalComplete(i,c)}markElementAsRemoved(g,i,c,l,x){this.collectedLeaveElements.push(i),i[so]={namespaceId:g,setForRemoval:l,hasAnimation:c,removedBeforeQueried:!1,previousTriggersValues:x}}listen(g,i,c,l,x){return oi(i)?this._fetchNamespace(g).listen(i,c,l,x):()=>{}}_buildInstruction(g,i,c,l,x){return g.transition.build(this.driver,g.element,g.fromState.value,g.toState.value,c,l,g.fromState.options,g.toState.options,i,x)}destroyInnerAnimations(g){let i=this.driver.query(g,Ye,!0);i.forEach(c=>this.destroyActiveAnimationsForElement(c)),0!=this.playersByQueriedElement.size&&(i=this.driver.query(g,$t,!0),i.forEach(c=>this.finishActiveQueriedAnimationOnElement(c)))}destroyActiveAnimationsForElement(g){const i=this.playersByElement.get(g);i&&i.forEach(c=>{c.queued?c.markedForDestroy=!0:c.destroy()})}finishActiveQueriedAnimationOnElement(g){const i=this.playersByQueriedElement.get(g);i&&i.forEach(c=>c.finish())}whenRenderingDone(){return new Promise(g=>{if(this.players.length)return be(this.players).onDone(()=>g());g()})}processLeaveNode(g){const i=g[so];if(i&&i.setForRemoval){if(g[so]=hr,i.namespaceId){this.destroyInnerAnimations(g);const c=this._fetchNamespace(i.namespaceId);c&&c.clearElementCache(g)}this._onRemovalComplete(g,i.setForRemoval)}g.classList?.contains(it)&&this.markElementAsDisabled(g,!1),this.driver.query(g,".ng-animate-disabled",!0).forEach(c=>{this.markElementAsDisabled(c,!1)})}flush(g=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((c,l)=>this._balanceNamespaceList(c,l)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let c=0;c<this.collectedEnterElements.length;c++)Hi(this.collectedEnterElements[c],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const c=[];try{i=this._flushAnimations(c,g)}finally{for(let l=0;l<c.length;l++)c[l]()}}else for(let c=0;c<this.collectedLeaveElements.length;c++)this.processLeaveNode(this.collectedLeaveElements[c]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(c=>c()),this._flushFns=[],this._whenQuietFns.length){const c=this._whenQuietFns;this._whenQuietFns=[],i.length?be(i).onDone(()=>{c.forEach(l=>l())}):c.forEach(l=>l())}}reportError(g){throw function P(d){return new e.vHH(3402,!1)}()}_flushAnimations(g,i){const c=new Qi,l=[],x=new Map,ke=[],Mt=new Map,un=new Map,Dn=new Map,Bn=new Set;this.disabledNodes.forEach(Wi=>{Bn.add(Wi);const fo=this.driver.query(Wi,".ng-animate-queued",!0);for(let Mo=0;Mo<fo.length;Mo++)Bn.add(fo[Mo])});const pi=this.bodyNode,Zi=Array.from(this.statesByElement.keys()),Yi=ki(Zi,this.collectedEnterElements),Vi=new Map;let ii=0;Yi.forEach((Wi,fo)=>{const Mo=Bt+ii++;Vi.set(fo,Mo),Wi.forEach(Ho=>Hi(Ho,Mo))});const Ji=[],ko=new Set,Vo=new Set;for(let Wi=0;Wi<this.collectedLeaveElements.length;Wi++){const fo=this.collectedLeaveElements[Wi],Mo=fo[so];Mo&&Mo.setForRemoval&&(Ji.push(fo),ko.add(fo),Mo.hasAnimation?this.driver.query(fo,".ng-star-inserted",!0).forEach(Ho=>ko.add(Ho)):Vo.add(fo))}const Ko=new Map,Zo=ki(Zi,Array.from(ko));Zo.forEach((Wi,fo)=>{const Mo=Ue+ii++;Ko.set(fo,Mo),Wi.forEach(Ho=>Hi(Ho,Mo))}),g.push(()=>{Yi.forEach((Wi,fo)=>{const Mo=Vi.get(fo);Wi.forEach(Ho=>D(Ho,Mo))}),Zo.forEach((Wi,fo)=>{const Mo=Ko.get(fo);Wi.forEach(Ho=>D(Ho,Mo))}),Ji.forEach(Wi=>{this.processLeaveNode(Wi)})});const ka=[],Jr=[];for(let Wi=this._namespaceList.length-1;Wi>=0;Wi--)this._namespaceList[Wi].drainQueuedTransitions(i).forEach(Mo=>{const Ho=Mo.player,Aa=Mo.element;if(ka.push(Ho),this.collectedEnterElements.length){const Ha=Aa[so];if(Ha&&Ha.setForMove){if(Ha.previousTriggersValues&&Ha.previousTriggersValues.has(Mo.triggerName)){const gd=Ha.previousTriggersValues.get(Mo.triggerName),Ns=this.statesByElement.get(Mo.element);if(Ns&&Ns.has(Mo.triggerName)){const fm=Ns.get(Mo.triggerName);fm.value=gd,Ns.set(Mo.triggerName,fm)}}return void Ho.destroy()}}const Ks=!pi||!this.driver.containsElement(pi,Aa),ha=Ko.get(Aa),Pa=Vi.get(Aa),_r=this._buildInstruction(Mo,c,Pa,ha,Ks);if(_r.errors&&_r.errors.length)return void Jr.push(_r);if(Ks)return Ho.onStart(()=>X(Aa,_r.fromStyles)),Ho.onDestroy(()=>ue(Aa,_r.toStyles)),void l.push(Ho);if(Mo.isFallbackTransition)return Ho.onStart(()=>X(Aa,_r.fromStyles)),Ho.onDestroy(()=>ue(Aa,_r.toStyles)),void l.push(Ho);const Uf=[];_r.timelines.forEach(Ha=>{Ha.stretchStartingKeyframe=!0,this.disabledNodes.has(Ha.element)||Uf.push(Ha)}),_r.timelines=Uf,c.append(Aa,_r.timelines),ke.push({instruction:_r,player:Ho,element:Aa}),_r.queriedElements.forEach(Ha=>Ft(Mt,Ha,[]).push(Ho)),_r.preStyleProps.forEach((Ha,gd)=>{if(Ha.size){let Ns=un.get(gd);Ns||un.set(gd,Ns=new Set),Ha.forEach((fm,Uh)=>Ns.add(Uh))}}),_r.postStyleProps.forEach((Ha,gd)=>{let Ns=Dn.get(gd);Ns||Dn.set(gd,Ns=new Set),Ha.forEach((fm,Uh)=>Ns.add(Uh))})});if(Jr.length){const Wi=[];Jr.forEach(fo=>{Wi.push(function Se(d,g){return new e.vHH(3505,!1)}())}),ka.forEach(fo=>fo.destroy()),this.reportError(Wi)}const fr=new Map,xr=new Map;ke.forEach(Wi=>{const fo=Wi.element;c.has(fo)&&(xr.set(fo,fo),this._beforeAnimationBuild(Wi.player.namespaceId,Wi.instruction,fr))}),l.forEach(Wi=>{const fo=Wi.element;this._getPreviousPlayers(fo,!1,Wi.namespaceId,Wi.triggerName,null).forEach(Ho=>{Ft(fr,fo,[]).push(Ho),Ho.destroy()})});const mo=Ji.filter(Wi=>vt(Wi,un,Dn)),$a=new Map;$i($a,this.driver,Vo,Dn,m.l3).forEach(Wi=>{vt(Wi,un,Dn)&&mo.push(Wi)});const ml=new Map;Yi.forEach((Wi,fo)=>{$i(ml,this.driver,new Set(Wi),un,m.k1)}),mo.forEach(Wi=>{const fo=$a.get(Wi),Mo=ml.get(Wi);$a.set(Wi,new Map([...fo?.entries()??[],...Mo?.entries()??[]]))});const pm=[],O1=[],mm={};ke.forEach(Wi=>{const{element:fo,player:Mo,instruction:Ho}=Wi;if(c.has(fo)){if(Bn.has(fo))return Mo.onDestroy(()=>ue(fo,Ho.toStyles)),Mo.disabled=!0,Mo.overrideTotalTime(Ho.totalTime),void l.push(Mo);let Aa=mm;if(xr.size>1){let ha=fo;const Pa=[];for(;ha=ha.parentNode;){const _r=xr.get(ha);if(_r){Aa=_r;break}Pa.push(ha)}Pa.forEach(_r=>xr.set(_r,Aa))}const Ks=this._buildAnimation(Mo.namespaceId,Ho,fr,x,ml,$a);if(Mo.setRealPlayer(Ks),Aa===mm)pm.push(Mo);else{const ha=this.playersByElement.get(Aa);ha&&ha.length&&(Mo.parentPlayer=be(ha)),l.push(Mo)}}else X(fo,Ho.fromStyles),Mo.onDestroy(()=>ue(fo,Ho.toStyles)),O1.push(Mo),Bn.has(fo)&&l.push(Mo)}),O1.forEach(Wi=>{const fo=x.get(Wi.element);if(fo&&fo.length){const Mo=be(fo);Wi.setRealPlayer(Mo)}}),l.forEach(Wi=>{Wi.parentPlayer?Wi.syncPlayerEvents(Wi.parentPlayer):Wi.destroy()});for(let Wi=0;Wi<Ji.length;Wi++){const fo=Ji[Wi],Mo=fo[so];if(D(fo,Ue),Mo&&Mo.hasAnimation)continue;let Ho=[];if(Mt.size){let Ks=Mt.get(fo);Ks&&Ks.length&&Ho.push(...Ks);let ha=this.driver.query(fo,$t,!0);for(let Pa=0;Pa<ha.length;Pa++){let _r=Mt.get(ha[Pa]);_r&&_r.length&&Ho.push(..._r)}}const Aa=Ho.filter(Ks=>!Ks.destroyed);Aa.length?te(this,fo,Aa):this.processLeaveNode(fo)}return Ji.length=0,pm.forEach(Wi=>{this.players.push(Wi),Wi.onDone(()=>{Wi.destroy();const fo=this.players.indexOf(Wi);this.players.splice(fo,1)}),Wi.play()}),pm}afterFlush(g){this._flushFns.push(g)}afterFlushAnimationsDone(g){this._whenQuietFns.push(g)}_getPreviousPlayers(g,i,c,l,x){let ke=[];if(i){const Mt=this.playersByQueriedElement.get(g);Mt&&(ke=Mt)}else{const Mt=this.playersByElement.get(g);if(Mt){const un=!x||x==Ut;Mt.forEach(Dn=>{Dn.queued||!un&&Dn.triggerName!=l||ke.push(Dn)})}}return(c||l)&&(ke=ke.filter(Mt=>!(c&&c!=Mt.namespaceId||l&&l!=Mt.triggerName))),ke}_beforeAnimationBuild(g,i,c){const x=i.element,ke=i.isRemovalTransition?void 0:g,Mt=i.isRemovalTransition?void 0:i.triggerName;for(const un of i.timelines){const Dn=un.element,Bn=Dn!==x,pi=Ft(c,Dn,[]);this._getPreviousPlayers(Dn,Bn,ke,Mt,i.toState).forEach(Yi=>{const Vi=Yi.getRealPlayer();Vi.beforeDestroy&&Vi.beforeDestroy(),Yi.destroy(),pi.push(Yi)})}X(x,i.fromStyles)}_buildAnimation(g,i,c,l,x,ke){const Mt=i.triggerName,un=i.element,Dn=[],Bn=new Set,pi=new Set,Zi=i.timelines.map(Vi=>{const ii=Vi.element;Bn.add(ii);const Ji=ii[so];if(Ji&&Ji.removedBeforeQueried)return new m.ZN(Vi.duration,Vi.delay);const ko=ii!==un,Vo=function Pe(d){const g=[];return je(d,g),g}((c.get(ii)||ur).map(fr=>fr.getRealPlayer())).filter(fr=>!!fr.element&&fr.element===ii),Ko=x.get(ii),Zo=ke.get(ii),ka=de(this._normalizer,Vi.keyframes,Ko,Zo),Jr=this._buildPlayer(Vi,ka,Vo);if(Vi.subTimeline&&l&&pi.add(ii),ko){const fr=new kn(g,Mt,ii);fr.setRealPlayer(Jr),Dn.push(fr)}return Jr});Dn.forEach(Vi=>{Ft(this.playersByQueriedElement,Vi.element,[]).push(Vi),Vi.onDone(()=>function zn(d,g,i){let c=d.get(g);if(c){if(c.length){const l=c.indexOf(i);c.splice(l,1)}0==c.length&&d.delete(g)}return c}(this.playersByQueriedElement,Vi.element,Vi))}),Bn.forEach(Vi=>Hi(Vi,zt));const Yi=be(Zi);return Yi.onDestroy(()=>{Bn.forEach(Vi=>D(Vi,zt)),ue(un,i.toStyles)}),pi.forEach(Vi=>{Ft(l,Vi,[]).push(Yi)}),Yi}_buildPlayer(g,i,c){return i.length>0?this.driver.animate(g.element,i,g.duration,g.delay,g.easing,c):new m.ZN(g.duration,g.delay)}}class kn{constructor(g,i,c){this.namespaceId=g,this.triggerName=i,this.element=c,this._player=new m.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(g){this._containsRealPlayer||(this._player=g,this._queuedCallbacks.forEach((i,c)=>{i.forEach(l=>De(g,c,void 0,l))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(g.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(g){this.totalTime=g}syncPlayerEvents(g){const i=this._player;i.triggerCallback&&g.onStart(()=>i.triggerCallback("start")),g.onDone(()=>this.finish()),g.onDestroy(()=>this.destroy())}_queueEvent(g,i){Ft(this._queuedCallbacks,g,[]).push(i)}onDone(g){this.queued&&this._queueEvent("done",g),this._player.onDone(g)}onStart(g){this.queued&&this._queueEvent("start",g),this._player.onStart(g)}onDestroy(g){this.queued&&this._queueEvent("destroy",g),this._player.onDestroy(g)}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(g){this.queued||this._player.setPosition(g)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(g){const i=this._player;i.triggerCallback&&i.triggerCallback(g)}}function oi(d){return d&&1===d.nodeType}function wi(d,g){const i=d.style.display;return d.style.display=g??"none",i}function $i(d,g,i,c,l){const x=[];i.forEach(un=>x.push(wi(un)));const ke=[];c.forEach((un,Dn)=>{const Bn=new Map;un.forEach(pi=>{const Zi=g.computeStyle(Dn,pi,l);Bn.set(pi,Zi),(!Zi||0==Zi.length)&&(Dn[so]=Pr,ke.push(Dn))}),d.set(Dn,Bn)});let Mt=0;return i.forEach(un=>wi(un,x[Mt++])),ke}function ki(d,g){const i=new Map;if(d.forEach(Mt=>i.set(Mt,[])),0==g.length)return i;const l=new Set(g),x=new Map;function ke(Mt){if(!Mt)return 1;let un=x.get(Mt);if(un)return un;const Dn=Mt.parentNode;return un=i.has(Dn)?Dn:l.has(Dn)?1:ke(Dn),x.set(Mt,un),un}return g.forEach(Mt=>{const un=ke(Mt);1!==un&&i.get(un).push(Mt)}),i}function Hi(d,g){d.classList?.add(g)}function D(d,g){d.classList?.remove(g)}function te(d,g,i){be(i).onDone(()=>d.processLeaveNode(g))}function je(d,g){for(let i=0;i<d.length;i++){const c=d[i];c instanceof m.ZE?je(c.players,g):g.push(c)}}function vt(d,g,i){const c=i.get(d);if(!c)return!1;let l=g.get(d);return l?c.forEach(x=>l.add(x)):g.set(d,c),i.delete(d),!0}class Lt{constructor(g,i,c,l){this._driver=i,this._normalizer=c,this._triggerCache={},this.onRemovalComplete=(x,ke)=>{},this._transitionEngine=new vn(g.body,i,c,l),this._timelineEngine=new Ci(g.body,i,c),this._transitionEngine.onRemovalComplete=(x,ke)=>this.onRemovalComplete(x,ke)}registerTrigger(g,i,c,l,x){const ke=g+"-"+l;let Mt=this._triggerCache[ke];if(!Mt){const un=[],Bn=Pn(this._driver,x,un,[]);if(un.length)throw function ae(d,g){return new e.vHH(3404,!1)}();Mt=function dr(d,g,i){return new qr(d,g,i)}(l,Bn,this._normalizer),this._triggerCache[ke]=Mt}this._transitionEngine.registerTrigger(i,l,Mt)}register(g,i){this._transitionEngine.register(g,i)}destroy(g,i){this._transitionEngine.destroy(g,i)}onInsert(g,i,c,l){this._transitionEngine.insertNode(g,i,c,l)}onRemove(g,i,c){this._transitionEngine.removeNode(g,i,c)}disableAnimations(g,i){this._transitionEngine.markElementAsDisabled(g,i)}process(g,i,c,l){if("@"==c.charAt(0)){const[x,ke]=mt(c);this._timelineEngine.command(x,i,ke,l)}else this._transitionEngine.trigger(g,i,c,l)}listen(g,i,c,l,x){if("@"==c.charAt(0)){const[ke,Mt]=mt(c);return this._timelineEngine.listen(ke,i,Mt,x)}return this._transitionEngine.listen(g,i,c,l,x)}flush(g=-1){this._transitionEngine.flush(g)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(g){this._transitionEngine.afterFlushAnimationsDone(g)}}class mn{static#e=this.initialStylesByElement=new WeakMap;constructor(g,i,c){this._element=g,this._startStyles=i,this._endStyles=c,this._state=0;let l=mn.initialStylesByElement.get(g);l||mn.initialStylesByElement.set(g,l=new Map),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&ue(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ue(this._element,this._initialStyles),this._endStyles&&(ue(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(mn.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),ue(this._element,this._initialStyles),this._state=3)}}function In(d){let g=null;return d.forEach((i,c)=>{(function An(d){return"display"===d||"position"===d})(c)&&(g=g||new Map,g.set(c,i))}),g}class ai{constructor(g,i,c,l){this.element=g,this.keyframes=i,this.options=c,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=c.duration,this._delay=c.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(g=>g()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const g=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,g,this.options),this._finalKeyframe=g.length?g[g.length-1]:new Map;const i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(g){const i=[];return g.forEach(c=>{i.push(Object.fromEntries(c))}),i}_triggerWebAnimation(g,i,c){return g.animate(this._convertKeyframesToObject(i),c)}onStart(g){this._originalOnStartFns.push(g),this._onStartFns.push(g)}onDone(g){this._originalOnDoneFns.push(g),this._onDoneFns.push(g)}onDestroy(g){this._onDestroyFns.push(g)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(g=>g()),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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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(g=>g()),this._onDestroyFns=[])}setPosition(g){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=g*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const g=new Map;this.hasStarted()&&this._finalKeyframe.forEach((c,l)=>{"offset"!==l&&g.set(l,this._finished?c:Qe(this.element,l))}),this.currentSnapshot=g}triggerCallback(g){const i="start"===g?this._onStartFns:this._onDoneFns;i.forEach(c=>c()),i.length=0}}class Gn{validateStyleProperty(g){return!0}validateAnimatableStyleProperty(g){return!0}matchesElement(g,i){return!1}containsElement(g,i){return $(g,i)}getParentElement(g){return hn(g)}query(g,i,c){return Ee(g,i,c)}computeStyle(g,i,c){return Qe(g,i)}animate(g,i,c,l,x,ke=[]){const un={duration:c,delay:l,fill:0==l?"both":"forwards"};x&&(un.easing=x);const Dn=new Map,Bn=ke.filter(Yi=>Yi instanceof ai);(function re(d,g){return 0===d||0===g})(c,l)&&Bn.forEach(Yi=>{Yi.currentSnapshot.forEach((Vi,ii)=>Dn.set(ii,Vi))});let pi=function Xt(d){return d.length?d[0]instanceof Map?d:d.map(g=>new Map(Object.entries(g))):[]}(i).map(Yi=>new Map(Yi));pi=function B(d,g,i){if(i.size&&g.length){let c=g[0],l=[];if(i.forEach((x,ke)=>{c.has(ke)||l.push(ke),c.set(ke,x)}),l.length)for(let x=1;x<g.length;x++){let ke=g[x];l.forEach(Mt=>ke.set(Mt,Qe(d,Mt)))}}return g}(g,pi,Dn);const Zi=function gn(d,g){let i=null,c=null;return Array.isArray(g)&&g.length?(i=In(g[0]),g.length>1&&(c=In(g[g.length-1]))):g instanceof Map&&(i=In(g)),i||c?new mn(d,i,c):null}(g,pi);return new ai(g,pi,un,Zi)}}const _o="@.disabled";class ar{constructor(g,i,c,l){this.namespaceId=g,this.delegate=i,this.engine=c,this._onDestroy=l,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(g){this.delegate.destroyNode?.(g)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(g,i){return this.delegate.createElement(g,i)}createComment(g){return this.delegate.createComment(g)}createText(g){return this.delegate.createText(g)}appendChild(g,i){this.delegate.appendChild(g,i),this.engine.onInsert(this.namespaceId,i,g,!1)}insertBefore(g,i,c,l=!0){this.delegate.insertBefore(g,i,c),this.engine.onInsert(this.namespaceId,i,g,l)}removeChild(g,i,c){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(g,i){return this.delegate.selectRootElement(g,i)}parentNode(g){return this.delegate.parentNode(g)}nextSibling(g){return this.delegate.nextSibling(g)}setAttribute(g,i,c,l){this.delegate.setAttribute(g,i,c,l)}removeAttribute(g,i,c){this.delegate.removeAttribute(g,i,c)}addClass(g,i){this.delegate.addClass(g,i)}removeClass(g,i){this.delegate.removeClass(g,i)}setStyle(g,i,c,l){this.delegate.setStyle(g,i,c,l)}removeStyle(g,i,c){this.delegate.removeStyle(g,i,c)}setProperty(g,i,c){"@"==i.charAt(0)&&i==_o?this.disableAnimations(g,!!c):this.delegate.setProperty(g,i,c)}setValue(g,i){this.delegate.setValue(g,i)}listen(g,i,c){return this.delegate.listen(g,i,c)}disableAnimations(g,i){this.engine.disableAnimations(g,i)}}class br extends ar{constructor(g,i,c,l,x){super(i,c,l,x),this.factory=g,this.namespaceId=i}setProperty(g,i,c){"@"==i.charAt(0)?"."==i.charAt(1)&&i==_o?this.disableAnimations(g,c=void 0===c||!!c):this.engine.process(this.namespaceId,g,i.slice(1),c):this.delegate.setProperty(g,i,c)}listen(g,i,c){if("@"==i.charAt(0)){const l=function Xr(d){switch(d){case"body":return document.body;case"document":return document;case"window":return window;default:return d}}(g);let x=i.slice(1),ke="";return"@"!=x.charAt(0)&&([x,ke]=function Ir(d){const g=d.indexOf(".");return[d.substring(0,g),d.slice(g+1)]}(x)),this.engine.listen(this.namespaceId,l,x,ke,Mt=>{this.factory.scheduleListenerCallback(Mt._data||-1,c,Mt)})}return this.delegate.listen(g,i,c)}}class vo{constructor(g,i,c){this.delegate=g,this.engine=i,this._zone=c,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(l,x)=>{const ke=x?.parentNode(l);ke&&x.removeChild(ke,l)}}createRenderer(g,i){const l=this.delegate.createRenderer(g,i);if(!g||!i?.data?.animation){const Dn=this._rendererCache;let Bn=Dn.get(l);return Bn||(Bn=new ar("",l,this.engine,()=>Dn.delete(l)),Dn.set(l,Bn)),Bn}const x=i.id,ke=i.id+"-"+this._currentId;this._currentId++,this.engine.register(ke,g);const Mt=Dn=>{Array.isArray(Dn)?Dn.forEach(Mt):this.engine.registerTrigger(x,ke,g,Dn.name,Dn)};return i.data.animation.forEach(Mt),new br(this,ke,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(g,i,c){if(g>=0&&g<this._microtaskId)return void this._zone.run(()=>i(c));const l=this._animationCallbacksBuffer;0==l.length&&queueMicrotask(()=>{this._zone.run(()=>{l.forEach(x=>{const[ke,Mt]=x;ke(Mt)}),this._animationCallbacksBuffer=[]})}),l.push([i,c])}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()}}var ei=s(6814);const Cr=[{provide:Tt,useFactory:function yo(){return new Vt}},{provide:Lt,useClass:(()=>{class d extends Lt{constructor(i,c,l){super(i,c,l,(0,e.f3M)(e.Q0Y,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(c){return new(c||d)(e.LFG(ei.K0),e.LFG(Et),e.LFG(Tt))};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})()},{provide:e.FYo,useFactory:function Fr(d,g,i){return new vo(d,g,i)},deps:[u.se,Lt,e.R0b]}],ut=[{provide:Et,useFactory:()=>new Gn},{provide:e.QbO,useValue:"BrowserAnimations"},...Cr],xt=[{provide:Et,useClass:Ke},{provide:e.QbO,useValue:"NoopAnimations"},...Cr];let qe=(()=>{class d{static withConfig(i){return{ngModule:d,providers:i.disableAnimations?xt:ut}}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275mod=e.oAB({type:d});static#n=this.\u0275inj=e.cJS({providers:ut,imports:[u.b2]})}return d})(),Cn=(()=>{class d{static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275mod=e.oAB({type:d});static#n=this.\u0275inj=e.cJS({providers:xt,imports:[u.b2]})}return d})();var At=s(6223),Si=s(9862),Gi=s(2787);let Or=(()=>{class d{constructor(){}ngAfterViewInit(){document.getElementsByTagName("html")[0].style.overflow="visible",document.getElementsByTagName("body")[0].style.overflow="visible"}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-print-layout"]],decls:1,vars:0,template:function(c,l){1&c&&e._UZ(0,"router-outlet")},dependencies:[Gi.lC]})}return d})();var Vr=s(9001),qo=s(5175),To=s(2157),Ii=s(9081),no=s(4259);const ea=[{name:"jquery",src:"../../../assets/scripts/jquery.min.js"},{name:"dataTables",src:"../../../assets/scripts/jquery.dataTables.min.js"},{name:"jszip",src:"../../../assets/scripts/jszip.js"},{name:"dataTables-buttons",src:"../../../assets/scripts/dataTables.buttons.js"},{name:"colVis",src:"../../../assets/scripts/buttons.colVis.js"},{name:"flash",src:"../../../assets/scripts/buttons.flash.js"},{name:"html5",src:"../../../assets/scripts/buttons.html5.js"},{name:"buttons-print",src:"../../../assets/scripts/buttons.print.js"},{name:"dataTables-select-min",src:"../../../assets/scripts/dataTables.select.min.js"},{name:"pdf-min",src:"../../../assets/scripts/pdfmake.min.js"},{name:"vfs_fonts",src:"../../../assets/scripts/vfs_fonts.js"}];let uo=(()=>{class d{constructor(){this._scripts={},ea.forEach(i=>{this._scripts[i.name]={loaded:!1,src:i.src}})}load(...i){const c=[];return i.forEach(l=>c.push(setTimeout(()=>{this.loadScript(l)},700))),Promise.all(c)}loadScript(i){return new Promise(c=>{this._scripts[i]&&(this._scripts[i].loaded?c({script:i,loaded:!0,status:"Already Loaded"}):setTimeout(()=>{const l=document.createElement("script");l.type="text/javascript",l.src=this._scripts[i].src,l.readyState?l.onreadystatechange=()=>{("loaded"===l.readyState||"complete"===l.readyState)&&(l.onreadystatechange=null,this._scripts[i].loaded=!0,c({script:i,loaded:!0,status:"Loaded"}))}:l.onload=()=>{this._scripts[i].loaded=!0,c({script:i,loaded:!0,status:"Loaded"})},l.onerror=()=>c({script:i,loaded:!1,status:"Loaded"}),document.getElementsByTagName("head")[0].appendChild(l)},1e3))})}loadExternalStyles(i){return new Promise(c=>{const l=document.createElement("link");l.href=i,l.rel="stylesheet",l.onload=c,document.getElementsByTagName("head")[0].appendChild(l)})}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})();var qi=s(7592),zr=s(2609);const oa=["userInput"];function nr(d,g){1&d&&(e.TgZ(0,"div",6),e._uU(1," What type of user are you? "),e.qZA())}function Br(d,g){if(1&d&&(e.TgZ(0,"div",7),e._uU(1),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.hij(" ",null!=i.currentLoginResult&&i.currentLoginResult.whatTypeInstructionText?null==i.currentLoginResult?null:i.currentLoginResult.whatTypeInstructionText:"What type of user are you?"," ")}}function Sa(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",11)(1,"button",12),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.submit(1))}),e._uU(2," Patron "),e.qZA(),e.TgZ(3,"button",13),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.submit(2))}),e._uU(4," Staff "),e.qZA()()}if(2&d){const i=e.oxw(3);e.xp6(),e.Q6J("disabled",i.btnLoading),e.xp6(2),e.Q6J("disabled",i.btnLoading)}}function Ur(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",14)(1,"button",12),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.submit(1))}),e._uU(2),e.qZA(),e.TgZ(3,"button",13),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.submit(2))}),e._uU(4),e.qZA()()}if(2&d){const i=e.oxw(3);e.xp6(),e.Q6J("disabled",i.btnLoading),e.xp6(),e.hij(" ",null!==(null==i.currentLoginResult?null:i.currentLoginResult.whatTypePatronLabel)?null==i.currentLoginResult?null:i.currentLoginResult.whatTypePatronLabel:"Patron"," "),e.xp6(),e.Q6J("disabled",i.btnLoading),e.xp6(),e.hij(" ",null!==(null==i.currentLoginResult?null:i.currentLoginResult.whatTypeStaffLabel)?null==i.currentLoginResult?null:i.currentLoginResult.whatTypeStaffLabel:"Staff"," ")}}function Ia(d,g){if(1&d&&(e.TgZ(0,"div",8),e.YNc(1,Sa,5,2,"div",9)(2,Ur,5,4,"div",10),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",!i.currentLoginResult),e.xp6(),e.Q6J("ngIf",i.currentLoginResult)}}function Ga(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Submit"),e.qZA())}function Ea(d,g){1&d&&(e.TgZ(0,"span"),e._UZ(1,"i",22),e.qZA())}const xs=()=>({width:"72%"});function ra(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",8)(1,"div",15)(2,"label",16),e._uU(3,"UserName/Barcode:- "),e.qZA(),e.TgZ(4,"input",17,18),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.userName=l)}),e.qZA(),e.TgZ(6,"button",19),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.submitUserName())}),e.YNc(7,Ga,2,0,"span",20)(8,Ea,2,0,"span",20),e.qZA(),e.TgZ(9,"button",21),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goBack())}),e._uU(10," Go Back "),e.qZA()()()}if(2&d){const i=e.oxw(2);e.xp6(4),e.Q6J("ngModel",i.userName)("ngStyle",e.DdM(6,xs)),e.xp6(2),e.Q6J("disabled",i.btnLoading),e.xp6(),e.Q6J("ngIf",!i.btnLoading),e.xp6(),e.Q6J("ngIf",i.btnLoading),e.xp6(),e.Q6J("disabled",i.btnLoading)}}function ho(d,g){if(1&d&&(e.TgZ(0,"div",2),e.YNc(1,nr,2,0,"div",3)(2,Br,2,1,"div",4)(3,Ia,3,2,"div",5)(4,ra,11,7,"div",5),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",i.showSelection&&!i.showInputBox&&!i.currentLoginResult),e.xp6(),e.Q6J("ngIf",i.showSelection&&!i.showInputBox&&i.currentLoginResult),e.xp6(),e.Q6J("ngIf",i.showSelection&&!i.showInputBox),e.xp6(),e.Q6J("ngIf",!i.showSelection&&i.showInputBox)}}function Ja(d,g){1&d&&(e.TgZ(0,"div",6),e._uU(1,"What type of user are you?"),e.qZA())}function Wa(d,g){if(1&d&&(e.TgZ(0,"div",7),e._uU(1),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.hij(" ",null!=i.currentLoginResult&&i.currentLoginResult.whatTypeInstructionText?null==i.currentLoginResult?null:i.currentLoginResult.whatTypeInstructionText:"What type of user are you?"," ")}}function aa(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",11)(1,"button",24),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.submitNonReg("patron"))}),e._uU(2," Patron "),e.qZA(),e.TgZ(3,"button",25),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.submitNonReg("staff"))}),e._uU(4," Staff "),e.qZA()()}if(2&d){const i=e.oxw(2);e.xp6(),e.Q6J("disabled",i.btnLoading),e.xp6(2),e.Q6J("disabled",i.btnLoading)}}function us(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",14)(1,"button",26),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.submitNonReg("patron"))}),e._uU(2),e.qZA(),e.TgZ(3,"button",27),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.submitNonReg("staff"))}),e._uU(4),e.qZA()()}if(2&d){const i=e.oxw(2);e.xp6(),e.Q6J("disabled",i.btnLoading),e.xp6(),e.hij(" ",null!==(null==i.currentLoginResult?null:i.currentLoginResult.whatTypePatronLabel)?null==i.currentLoginResult?null:i.currentLoginResult.whatTypePatronLabel:"Patron"," "),e.xp6(),e.Q6J("disabled",i.btnLoading),e.xp6(),e.hij(" ",null!==(null==i.currentLoginResult?null:i.currentLoginResult.whatTypeStaffLabel)?null==i.currentLoginResult?null:i.currentLoginResult.whatTypeStaffLabel:"Staff"," ")}}function dn(d,g){if(1&d&&(e.TgZ(0,"div",23),e.YNc(1,Ja,2,0,"div",3)(2,Wa,2,1,"div",4),e.TgZ(3,"div",8),e.YNc(4,aa,5,2,"div",9)(5,us,5,4,"div",10),e.qZA()()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",!i.currentLoginResult),e.xp6(),e.Q6J("ngIf",i.currentLoginResult),e.xp6(2),e.Q6J("ngIf",!i.currentLoginResult),e.xp6(),e.Q6J("ngIf",i.currentLoginResult)}}let Tn=(()=>{class d{constructor(i,c,l,x,ke){this._authService=i,this._dialogRef=c,this._sharedService=l,this._storageService=x,this.data=ke,this.userName="",this.btnLoading=!1,this.currentLoginResult=null,this.type="reg",this.btnLoading=!1,this.showSelection=!0,this.showInputBox=!1}ngOnInit(){this.data&&(this.type="reg","reg"!==this.data.type&&(this.type=this.data.type),this.data._lid4noPWlogin&&(this._lidNoPasswordLogin=this.data._lid4noPWlogin),null!==this.data._login_result&&(this.currentLoginResult=this.data._login_result))}submitNonReg(i){"patron"==i?this._dialogRef.close({answer:"patron",type:"non-reg"}):"staff"==i&&this._dialogRef.close({answer:"staff",type:"non-reg"})}submit(i){1==i&&(this.showSelection=!1,this.showInputBox=!0,setTimeout(()=>{this.userInput.nativeElement.focus()},200)),2==i&&this._dialogRef.close({answer:2,type:"reg"})}submitUserName(){this.btnLoading=!0;const i=this.userName,c={grant_Type:"password",cid:this._storageService.getCid(),lid:this._lidNoPasswordLogin,password:"",rememberMe:!0,userName:i,guestToken:this._storageService.getItem("access_Token")};this._authService.login(c).subscribe(l=>{this._dialogRef.close({answer:1,userName:this.userName,userData:l,type:"reg"})},l=>{l instanceof Error&&this._sharedService.openSnackBar(l.message),this.btnLoading=!1})}goBack(){this.showSelection=!0,this.showInputBox=!1,this.userName=""}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qo.e8),e.Y36(qi.hV),e.Y36(Ii.F),e.Y36(no.V),e.Y36(qi.eJ))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-nopassword-dialog"]],viewQuery:function(c,l){if(1&c&&e.Gf(oa,5),2&c){let x;e.iGM(x=e.CRH())&&(l.userInput=x.first)}},decls:2,vars:2,consts:[["class","reg","mat-dialog-content","",4,"ngIf"],["class","non-reg","mat-dialog-content","",4,"ngIf"],["mat-dialog-content","",1,"reg"],["class","form-group no-clr",4,"ngIf"],["class","form-group clr",4,"ngIf"],["class","form-group",4,"ngIf"],[1,"form-group","no-clr"],[1,"form-group","clr"],[1,"form-group"],["class","text-end no-clr",4,"ngIf"],["class","text-end clr",4,"ngIf"],[1,"text-end","no-clr"],["role","button","aria-label","Submit Patron","type","submit",1,"btn","btn-primary",2,"width","80px","margin-right","10px",3,"disabled","click"],["role","button","aria-label","Submit Staff","type","button",1,"btn","btn-primary",2,"width","80px","margin-right","10px",3,"disabled","click"],[1,"text-end","clr"],[1,"text-end"],["for","userName",1,"control-label","float-start","margin-top-5","margin-right-5"],["type","text","placeholder","Enter Username/Barcode","name","userName",1,"form-control",3,"ngModel","ngStyle","ngModelChange"],["userInput",""],["role","button","aria-label","Submit Staff","autocomplete","off","type","button",1,"btn","btn-primary","margin-top-20","margin-right-10",3,"disabled","click"],[4,"ngIf"],["role","button","aria-label","Go Back","type","button",1,"btn","btn-primary","margin-top-20",3,"disabled","click"],[1,"fa","fa-spinner","fa-pulse","fa-fw"],["mat-dialog-content","",1,"non-reg"],["role","button","aria-label","Submit Patron","type","submit",1,"btn","btn-primary",2,"width","30%","margin-right","10px",3,"disabled","click"],["role","button","aria-label","Submit Staff","type","button",1,"btn","btn-primary",2,"width","30%","margin-right","10px",3,"disabled","click"],["role","button","aria-label","Submit Patron","type","submit",1,"btn","btn-primary",2,"width","30%","margin-right","10px","white-space","normal",3,"disabled","click"],["role","button","aria-label","Submit Staff","type","button",1,"btn","btn-primary",2,"width","30%","margin-right","10px","white-space","normal",3,"disabled","click"]],template:function(c,l){1&c&&e.YNc(0,ho,5,4,"div",0)(1,dn,6,4,"div",1),2&c&&(e.Q6J("ngIf","reg"===l.type),e.xp6(),e.Q6J("ngIf","non-reg"===l.type))},dependencies:[ei.O5,ei.PC,At.Fj,At.JJ,At.On,zr.Zl,qi.Rb]})}return d})();var Zn=s(4505);function Jn(d,g){1&d&&(e.TgZ(0,"h1",4),e._uU(1,"ALERT"),e.qZA())}function ti(d,g){1&d&&(e.TgZ(0,"div",12),e._uU(1,"Family"),e.qZA())}function Mi(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&d){const i=e.oxw(3);e.xp6(),e.Oqu(null==i.info?null:i.info.msgBlockedByFamily)}}function Ri(d,g){1&d&&(e.TgZ(0,"div",12),e._uU(1,"Outstanding Fines"),e.qZA())}function zi(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&d){const i=e.oxw(3);e.xp6(),e.Oqu(null==i.info?null:i.info.msgBlockedByFines)}}function Ei(d,g){1&d&&(e.TgZ(0,"div",12),e._uU(1,"Outstanding Overdues"),e.qZA())}function Po(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&d){const i=e.oxw(3);e.xp6(),e.Oqu(null==i.info?null:i.info.msgBlockedByOverdues)}}function oo(d,g){if(1&d&&(e.TgZ(0,"div")(1,"p"),e._uU(2,"Your account is being blocked due to:"),e.qZA(),e.YNc(3,ti,2,0,"div",11),e._UZ(4,"br"),e.YNc(5,Mi,2,1,"div",9)(6,Ri,2,0,"div",11),e._UZ(7,"br"),e.YNc(8,zi,2,1,"div",9)(9,Ei,2,0,"div",11),e._UZ(10,"br"),e.YNc(11,Po,2,1,"div",9),e.qZA()),2&d){const i=e.oxw(2);e.xp6(3),e.Q6J("ngIf",null==i.info?null:i.info.isBlockedByFamily),e.xp6(2),e.Q6J("ngIf",null==i.info?null:i.info.isBlockedByFamily),e.xp6(),e.Q6J("ngIf",null==i.info?null:i.info.isBlockedByFines),e.xp6(2),e.Q6J("ngIf",null==i.info?null:i.info.isBlockedByFines),e.xp6(),e.Q6J("ngIf",null==i.info?null:i.info.isBlockedByOverdues),e.xp6(2),e.Q6J("ngIf",null==i.info?null:i.info.isBlockedByOverdues)}}function lo(d,g){if(1&d&&(e.TgZ(0,"div",8),e._uU(1),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.Oqu(i.summary)}}function Eo(d,g){if(1&d&&(e.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8),e.YNc(4,oo,12,6,"div",9)(5,lo,2,1,"div",10),e.qZA()()()()),2&d){const i=e.oxw();e.xp6(4),e.Q6J("ngIf",(null==i.info?null:i.info.isBlockedByFamily)||(null==i.info?null:i.info.isBlockedByFines)||(null==i.info?null:i.info.isBlockedByOverdues)),e.xp6(),e.Q6J("ngIf",""!==i.summary)}}let to=(()=>{class d{constructor(i,c){this._dialogRef=i,this.data=c,this.summary="",this.summary=""}ngOnInit(){this.data&&(this.info=this.data,this.summary=this.info.msgBlockedPatronSummary)}close(){this._dialogRef.close("close")}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.hV),e.Y36(qi.eJ))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-block-user-dialog"]],decls:5,vars:2,consts:[["mat-dialog-title","","class","text-center",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",1,"float-end"],["role","button","type","button","aria-label","Yes","mat-button","","cdkFocusInitial","",3,"click"],["mat-dialog-title","",1,"text-center"],["mat-dialog-content",""],[1,"container-fluid"],[1,"row"],[1,"text-center"],[4,"ngIf"],["class","text-center",4,"ngIf"],["class","bold",4,"ngIf"],[1,"bold"]],template:function(c,l){1&c&&(e.YNc(0,Jn,2,0,"h1",0)(1,Eo,6,2,"div",1),e.TgZ(2,"div",2)(3,"button",3),e.NdJ("click",function(){return l.close()}),e._uU(4," OK "),e.qZA()()),2&c&&(e.Q6J("ngIf",l.info),e.xp6(),e.Q6J("ngIf",l.info))},dependencies:[ei.O5,Zn.eB,qi.YS,qi.Rb,qi.ev],styles:["h1[_ngcontent-%COMP%]{color:red;font-size:25px;font-weight:800}.bold[_ngcontent-%COMP%]{font-size:25px;font-weight:700!important}"]})}return d})();var ro=s(9241),kr=s(7921),vr=s(7398),Wo=s(8377),Te=s(9602),kt=s(2923),We=s(4132),yt=s(9899),_n=s(9828),Kn=s(5722),ci=s(4678),bi=s(6433),Go=s(4021),po=s(4187),Jo=s(617),xo=s(2400),sr=s(1438);const zo=["userName"],ir=["libraryInput"];function Va(d,g){1&d&&(e.TgZ(0,"div",3),e._UZ(1,"mat-spinner",4),e.qZA()),2&d&&(e.xp6(),e.Q6J("diameter",25))}function Qr(d,g){if(1&d&&e._UZ(0,"div",27),2&d){const i=e.oxw(3);e.Q6J("innerHTML",i.loginInstructionalText,e.oJD)}}function Xa(d,g){if(1&d&&e._UZ(0,"div",27),2&d){const i=e.oxw(3);e.Q6J("innerHTML",i.loginInstructionalText,e.oJD)}}function Ra(d,g){if(1&d&&e._UZ(0,"div",27),2&d){const i=e.oxw(3);e.Q6J("innerHTML",i.loginInstructionalText,e.oJD)}}function sa(d,g){if(1&d&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i),e.xp6(),e.hij(" ",i," ")}}function La(d,g){1&d&&(e.TgZ(0,"mat-error"),e._uU(1,"Please select a library"),e.qZA())}function es(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-form-field",14)(1,"mat-label"),e._uU(2,"Select Your Library"),e.qZA(),e.TgZ(3,"input",30,31),e.NdJ("focus",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.onInputFocus())}),e.qZA(),e.TgZ(5,"button",32),e.NdJ("click",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.clearLibraryInput(l))}),e.TgZ(6,"mat-icon"),e._uU(7),e.qZA()(),e.TgZ(8,"mat-autocomplete",33,34),e.NdJ("optionSelected",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.onLibraryOptionSelected(l))}),e.YNc(10,sa,2,2,"mat-option",35),e.ALo(11,"async"),e.qZA(),e.YNc(12,La,2,0,"mat-error",25),e.qZA()}if(2&d){const i=e.MAs(9),c=e.oxw(4);e.xp6(3),e.Q6J("formControl",c.librariesControl)("matAutocomplete",i),e.xp6(4),e.Oqu(c.librariesControl.value?"clear":"keyboard_arrow_down"),e.xp6(3),e.Q6J("ngForOf",e.lcZ(11,5,c.filteredLibraryOptions)),e.xp6(2),e.Q6J("ngIf",c.librariesControl.invalid&&!c.librariesControl.pristine)}}function Cs(d,g){if(1&d&&(e.TgZ(0,"mat-form-field",14)(1,"mat-label"),e._uU(2,"Your Library"),e.qZA(),e._UZ(3,"input",37),e.qZA()),2&d){const i=e.oxw(4);e.xp6(3),e.Q6J("formControl",i.librariesControl)}}function fl(d,g){if(1&d&&(e.TgZ(0,"div",13),e.YNc(1,es,13,7,"mat-form-field",28)(2,Cs,4,1,"ng-template",null,29,e.W1O),e.qZA()),2&d){const i=e.MAs(3),c=e.oxw(3);e.xp6(),e.Q6J("ngIf",!c.singleLibrary)("ngIfElse",i)}}function _l(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",38),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.forgotPassword())}),e._uU(1," Forgot Your Password "),e.qZA()}}function Pc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",39)(1,"button",40),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.signUp())}),e._uU(2),e.qZA()()}if(2&d){const i=e.oxw(3);e.xp6(2),e.hij(" ",i.selfRegistrationLabel," ")}}function Ca(d,g){1&d&&(e.TgZ(0,"span",41),e._uU(1,"Submit"),e.qZA())}function $s(d,g){1&d&&(e.TgZ(0,"mat-icon"),e._UZ(1,"mat-spinner",42),e.qZA())}function za(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",7)(1,"form",8,9)(3,"div",10),e.YNc(4,Qr,1,1,"div",11)(5,Xa,1,1,"div",11)(6,Ra,1,1,"div",11),e.qZA(),e.YNc(7,fl,4,2,"div",12),e.TgZ(8,"div",13)(9,"mat-form-field",14),e._UZ(10,"input",15,16),e.qZA()(),e.TgZ(12,"div",13)(13,"mat-form-field",14),e._UZ(14,"input",17),e.qZA()(),e.TgZ(15,"div",18)(16,"mat-checkbox",19),e._uU(17," Remember Me? "),e.qZA(),e.YNc(18,_l,2,0,"button",20),e.qZA(),e.YNc(19,Pc,3,1,"div",21),e.TgZ(20,"div",22)(21,"button",23),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.loginSubmit())}),e.YNc(22,Ca,2,0,"span",24)(23,$s,2,0,"mat-icon",25),e.qZA(),e.TgZ(24,"button",26),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToHome())}),e._uU(25," Cancel "),e.qZA()()()()}if(2&d){const i=e.oxw(2);e.xp6(),e.Q6J("formGroup",i.login),e.xp6(3),e.Q6J("ngIf",!i.hasEzproxy&&!i.hasSaml),e.xp6(),e.Q6J("ngIf",i.hasEzproxy),e.xp6(),e.Q6J("ngIf",i.hasSaml),e.xp6(),e.Q6J("ngIf",i.showLibraryLookupBox),e.xp6(3),e.Q6J("placeholder",i.userNameLabel),e.xp6(4),e.Q6J("placeholder",i.passwordLabel),e.xp6(4),e.Q6J("ngIf",i.showForgotPasswordLink),e.xp6(),e.Q6J("ngIf",i.allowSelfRegistration),e.xp6(2),e.Q6J("disabled",i.login.invalid),e.xp6(),e.Q6J("ngIf",!i.btnLoading),e.xp6(),e.Q6J("ngIf",i.btnLoading)}}function gl(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",5),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.getLibName())}),e.YNc(1,za,26,12,"div",6),e.qZA()}if(2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",i.login)}}let ec=(()=>{class d{constructor(i){this._platformId=i,this.isGipLogin=!1,this.librariesControl=new At.NI("",[At.kI.required]),this.btnLoading=!1,this.loading=!0,this._libraries=[],this._selectedLibraryWithId="",this._samlUrl="",this._ezproxyUri="",this._libsArray=[],this._activatedRoute=(0,e.f3M)(Gi.gz),this._authService=(0,e.f3M)(qo.e8),this._fb=(0,e.f3M)(At.QS),this._libraryService=(0,e.f3M)(kt.$),this._opacService=(0,e.f3M)(To.j),this._routingService=(0,e.f3M)(Wo.Z),this._sharedService=(0,e.f3M)(Ii.F),this._storageService=(0,e.f3M)(no.V),this._layoutService=(0,e.f3M)(We.P),this._scriptsService=(0,e.f3M)(uo),this._analyticsService=(0,e.f3M)(Te.y),this._dialog=(0,e.f3M)(qi.on),this._dialogService=(0,e.f3M)(yt.x)}ngOnChanges(i){i.isGipLogin?this.isGipLogin=i.isGipLogin.currentValue:this.isGipLogin&&(this.isGipLogin=!this.isGipLogin),i.gip&&(this.gip=i.gip.currentValue),i.dataid&&(this.dataid=i.dataid.currentValue)}ngOnInit(){this._storageService.remove("_newLid"),this._loadScriptsStylesLazy(),this._activatedRoute.queryParams.subscribe(i=>{this._blankILLLogin="true"==i.id,this._redirectUrl=i.redirect}),this._userDataSubscription=this._sharedService.getUserDataBS().subscribe(i=>{!i||this._userData||(this._userData=i,this._cid=this._storageService.getCid(),this._lid=this._storageService.getLid(),this._getLibraryList(),this._setSelfRegistrationDetails(),this._doLoginBindings())})}ngAfterViewInit(){this.userName&&this.userName.nativeElement.focus(),this._userData&&(this._isNoPasswordLogin=this._userData.isNoPwLogin,this._isNoPasswordLogin&&(this._lid4noPWlogin=this._storageService.getLid(),this._openNoPwDialog())),setTimeout(()=>{this._setDefaultsRememberMe()},1e3)}ngOnDestroy(){this._storageService.remove("_newLid"),this._userDataSubscription?.unsubscribe()}_doLoginBindings(){this._getLoginOptions(),this._setupLibraryFiltering(),this.login=this._fb.group({user:["",At.kI.required],password:["",At.kI.required],remember:[!0]})}_setDefaultsRememberMe(){if(!this._cid||!this._lid)return void console.error(`cid:${this._cid} or lid:${this._lid} undefined !!`);const i=this._authService._rememberMeKey(this._cid.toLowerCase(),this._lid.toUpperCase());if(i){const c=this._authService.getRM4rmCache(i);c?(this.login.controls.user.setValue(c),this.login.controls.password.setValue("")):this.login.controls.remember.setValue(!1)}else this.login.controls.remember.setValue(!1)}_loadScriptsStylesLazy(){this._storageService.getItem("_linksload")||this._scriptsService.load("dataTables-buttons","jszip","colVis","flash","html5","buttons-print","dataTables-select-min","pdf-min","vfs_fonts").then(i=>{this._storageService.setItem("_linksload",!0)}).catch(i=>console.log(i))}_clickEzproxy(){this._openNoPwDialog(this._loginTest,"non-reg")}_clickSaml(){this._openNoPwDialog(this._loginTest,"non-reg")}_openNoPwDialog(i=null,c="reg"){(0,ei.NF)(this._platformId)&&this._dialog.open(Tn,{width:"600px",height:"auto",disableClose:!0,data:{type:c,_login_result:i??null,_lid4noPWlogin:this._lid4noPWlogin.replace(/\s+/g,"")}}).afterClosed().subscribe(x=>{x&&("reg"==x.type?1==x.answer?this._onLogin(x.userData):this.userName.nativeElement.focus():"non-reg"==x.type&&("patron"==x.answer?this.hasSaml?window.open(this._samlUrl,"_self"):this.hasEzproxy&&window.open(this._ezproxyUri,"_self"):"staff"==x.answer&&this.userName.nativeElement.focus()))})}_getLibraryDetails(i){if(!i&&!i.includes(":"))return;this.loading=!0,this._selectedLibraryWithId=i;const c=i.split(":")[0]?.trim();if(this._libraryName=i.split(":")[1],this._updateLibraryName(),this.getLibName(),c){let l;this._lid4noPWlogin=c.replace(/\s+/g,""),l=this.isGipLogin?{grant_Type:"password",cid:this._storageService.getCid(),lid:c,password:"guest",rememberMe:!1,userName:"guest",gipLogin:"1"==this.gip,dataId:this.dataid}:{grant_Type:"password",cid:this._storageService.getCid(),lid:c,password:"guest",rememberMe:!1,userName:"guest"},this._authService.login(l).subscribe(x=>{this.loading=!1,this._opacService.getLoginInstructions().subscribe(ke=>{"200 OK"==ke.status&&(null!==x&&x.isNoPwLogin&&(this._openNoPwDialog(ke.data),this._isNoPasswordLogin=!0),this._loginInstrcBindings(ke,l.lid))})},x=>{x instanceof Error&&this._onUnAuthorize(x.message)})}}_isSamlEnabled(i){i.hasSaml?(this.hasSaml=!0,this._samlUrl=i.samlUrl):(this.hasSaml=!1,this._samlUrl="")}_isEzproxyEnabled(i){i.hasEzproxy?(this.hasEzproxy=!0,this._ezproxyUri=i.ezproxyUri):(this.hasEzproxy=!1,this._ezproxyUri="")}getLibName(){setTimeout(()=>{const i=this._selectedLibraryWithId.split(":")[0].trim(),c=this._storageService.getCid().toUpperCase()+"_Lib",l=localStorage.getItem(c),x=JSON.parse(l)||[];for(const ke of x)if(ke.id.toUpperCase()===i.toUpperCase())return this._isSamlEnabled(ke),void this._isEzproxyEnabled(ke);this._libraryService.getLibraries().subscribe(ke=>{const Mt=ke||[];for(const un of Mt)if(un.id.toUpperCase()===i.toUpperCase())return this._isSamlEnabled(un),void this._isEzproxyEnabled(un)})},200)}_loginInstrcBindings(i,c=""){const l=i.data;if(this._loginTest=l,this.loginInstructionalText=l.loginInstructionalText,this.userNameLabel=l.userNameLabel,this.showForgotPasswordLink=l.showForgotPasswordLink,this.showLibraryLookupBox=l.showLibraryLookupBox,this.showLibraryLookupBox||this._storageService.setItem("blankILLLoginDone",!0),this._showPasswordPrompt=l.showPasswordPrompt,this.passwordLabel=this._showPasswordPrompt?l.passwordLabel:"",!this.showLibraryLookupBox&&""!==c&&this._storageService.setItem("_newLid",c.replace(/\s/g,"")),""!==c){const x=this._libraries.filter(ke=>ke.id.trim().toLowerCase()==c.trim().toLowerCase());if(x.length>0){const ke=x[0];this._isOpenSamlDialog||(ke.hasSaml&&(this._isOpenSamlDialog=!0,setTimeout(()=>{this._isSamlEnabled(ke),this._clickSaml()},.02)),this._isOpenEzproxyDialog||ke.hasEzproxy&&(this._isOpenEzproxyDialog=!0,setTimeout(()=>{this._isEzproxyEnabled(ke),this._clickEzproxy()},.02)))}}}forgotPassword(){this._layoutService.openSideNav({template:"f-pass",position:"end",data:"login forgot password side nav"})}loginSubmit(){const i=this.login.value.user;"guest"==i.toLowerCase()||"patron"==i.toLowerCase()?this._sharedService.openSnackBar("invalid username","ok"):(this._authBody=this._buildLoginData(),this._doLogin())}_doLogin(){this.btnLoading=!0,this._authService.login(this._authBody).subscribe(i=>{const c=this._authBody.cid,l=this._authBody.lid;if(this.hasEzproxy&&this._authService.set4rmEzProxy(!1),this.login.value.remember)this._authService.saveRememberMe2Cache(c,l,this._authBody.userName);else{const x=this._authService._rememberMeKey(c,l);null!==this._authService.isExistRMinCache(x)&&""!==this._authService.isExistRMinCache(x)&&this._authService.removeRememberMe4rmCache(x)}this._onLogin(i)},i=>{i instanceof Error&&this._onUnAuthorize(i.message)})}_onLogin(i){this._analyticsService.logEvent("Login"),this._userData=i,this._userData.isPatron&&this._userData?.patronBlockInfo?.isBlockedPatron&&this.openDialogBlockedPatron(this._userData?.patronBlockInfo),this._routingService.redirectAfterLogin(this._userData,this.isGipLogin,this._redirectUrl)}goToIllRequest(i){this._storageService.getLid()?.trim().toUpperCase()===this._storageService.getPastLid()?.trim().toUpperCase()?this._routingService.goToUrl(i):this.goToHome()}goToHome(){this._routingService.goToHome()}signUp(){this._routingService.goToSignUp(this._userData.customerId,this._userData.libraryId)}_onUnAuthorize(i){this.btnLoading=!1,this.loading=!1,"PromptTerminateSession"===i||"You are already logged in on another session. Would you like to terminate that existing session and log in here?"===i?this._dialogService.openAlertDialog("LOGIN.ERROR.TERMINATESESSION.TITLE","LOGIN.ERROR.TERMINATESESSION.MESSAGE","Yes","No").subscribe(c=>{c&&(this._authBody.terminateSession=!0,this._doLogin())}):"Your license key has expired. Please contact your library administrator."===i?this._dialogService.openAlertDialog("LOGIN.ERROR.LICENSEKEYEXPIRED.TITLE","LOGIN.ERROR.LICENSEKEYEXPIRED.MESSAGE"):(this._sharedService.openSnackBar(i,"ok"),this._isNoPasswordLogin&&this._openNoPwDialog())}openDialogBlockedPatron(i){this._dialog.open(to,{width:"600px",height:"auto",data:i}).afterClosed().subscribe(()=>{this.btnLoading=!1})}_buildLoginData(){if(this._storageService.setPastLid(this._storageService.getLid()),this.showLibraryLookupBox){const i=[],c=this._selectedLibraryWithId;for(let ke=0;ke<c.length&&":"!=c.charAt(ke);ke++)i.push(c.charAt(ke));const l=i.join("");let x;return this._storageService.setLid(l.replace(/\s/g,"")),/\S/.test(this.login.value.password)&&/\S/.test(this.login.value.user)?(this._isNoPasswordLogin&&(this._lid4noPWlogin=l.replace(/\s+/g,"")),x=this.isGipLogin?{grant_Type:"password",cid:this._storageService.getCid(),lid:l,password:this.login.value.password.trim(),rememberMe:this.login.value.remember,userName:this.login.value.user.trim(),guestToken:this._storageService.getItem("access_Token"),gipLogin:"1"==this.gip,dataId:this.dataid}:{grant_Type:"password",cid:this._storageService.getCid(),lid:l,password:this.login.value.password.trim(),rememberMe:this.login.value.remember,userName:this.login.value.user.trim(),guestToken:this._storageService.getItem("access_Token")},x):/\S/.test(this.login.value.password)||/\S/.test(this.login.value.user)?(x=this.isGipLogin?{grant_Type:"password",cid:this._storageService.getCid(),lid:l,password:this.login.value.password.trim(),rememberMe:this.login.value.remember,userName:this.login.value.user.trim(),guestToken:this._storageService.getItem("access_Token"),gipLogin:"1"==this.gip,dataId:this.dataid}:{grant_Type:"password",cid:this._storageService.getCid(),lid:l,password:this.login.value.password.trim(),rememberMe:this.login.value.remember,userName:this.login.value.user.trim(),guestToken:this._storageService.getItem("access_Token")},x):(x=this.isGipLogin?{grant_Type:"password",cid:this._storageService.getCid(),lid:l,password:"guest",rememberMe:this.login.value.remember,userName:"guest",guestToken:this._storageService.getItem("access_Token"),gipLogin:"1"==this.gip,dataId:this.dataid}:{grant_Type:"password",cid:this._storageService.getCid(),lid:l,password:"guest",rememberMe:this.login.value.remember,userName:"guest",guestToken:this._storageService.getItem("access_Token")},x)}{let i;return i=this.isGipLogin?{grant_Type:"password",cid:this._storageService.getCid(),lid:this._storageService.getItem("_newLid")?this._storageService.getItem("_newLid"):this._storageService.getLid(),password:""!==this.login.value.password?this.login.value.password.trim():"guest",rememberMe:this.login.value.remember,userName:this.login.value.user?this.login.value.user.trim():"guest",guestToken:this._storageService.getItem("access_Token"),gipLogin:"1"==this.gip,dataId:this.dataid}:{grant_Type:"password",cid:this._storageService.getCid(),lid:this._storageService.getItem("_newLid")?this._storageService.getItem("_newLid"):this._storageService.getLid(),password:""!==this.login.value.password?this.login.value.password:"guest",rememberMe:this.login.value.remember,userName:this.login.value.user?this.login.value.user:"guest",guestToken:this._storageService.getItem("access_Token")},i}}_setSelfRegistrationDetails(){this.allowSelfRegistration=this._userData.allowSelfRegistration,this.selfRegistrationLabel=this._userData.selfRegistrationLabel}_getLibraryList(){this._libraryService.getLibraries().subscribe(i=>{if(this._libraries=i,this._lid=this._storageService.getLid(),this._libraries.length>0){this._libsArray=this._libraries.map(l=>l.id+" : "+l.name);const c=this._libraries.find(l=>l.id.toUpperCase()===this._lid.toUpperCase());c&&this._doLibBindings(c),this._sharedService.setLibDropdownList(this._libsArray)}this.loading&&this._libraries.length>0&&this._doLibBindings(this._libraries[0]),this.singleLibrary=1===this._libraries.length,this.loading=!1,this._updateLibraryName()})}_doLibBindings(i){this._libraryName=i.name,this._selectedLibraryWithId=i.id+":"+i.name,this.librariesControl.setValue(this._selectedLibraryWithId),this.loading=!1,this._lid4noPWlogin=this._storageService.getItem("Lid"),this._isOpenSamlDialog||i.hasSaml&&(this._isOpenSamlDialog=!0,setTimeout(()=>{this._isSamlEnabled(i),this._clickSaml()},.02)),this._isOpenEzproxyDialog||i.hasEzproxy&&(this._isOpenEzproxyDialog=!0,setTimeout(()=>{this._isEzproxyEnabled(i),this._clickEzproxy()},.02))}_getLoginOptions(){this._opacService.getLoginOptions().subscribe(i=>{"200 OK"==i.status&&(this._loginTest=i.data,this.loginInstructionalText=i.data.loginInstructionalText,this.showForgotPasswordLink=i.data.showForgotPasswordLink,this.showLibraryLookupBox=i.data.showLibraryLookupBox,this.showLibraryLookupBox&&this._storageService.setShowLibBox(this.showLibraryLookupBox),this._blankILLLogin&&!this._storageService.getItem("blankILLLoginDone")&&(this.showLibraryLookupBox=!1),this._showPasswordPrompt=i.data.showPasswordPrompt,this.userNameLabel=i.data.userNameLabel,this.passwordLabel=this._showPasswordPrompt?i.data.passwordLabel:"")})}onLibraryOptionSelected(i){this._getLibraryDetails(i.option.value)}onInputFocus(){this.libraryInput.nativeElement.select()}clearLibraryInput(i){i.stopPropagation(),this.librariesControl.setValue(""),this.autocomplete.closePanel()}_setupLibraryFiltering(){this.filteredLibraryOptions=this.librariesControl.valueChanges.pipe((0,kr.O)(""),(0,vr.U)(i=>{if(""===i||"object"==typeof i)return this._libsArray;{const c=i.toLowerCase(),l=this._libsArray.filter(x=>x.toLowerCase().includes(c));return this.librariesControl.setErrors(0===l.length?{invalidOption:!0}:null),l}}))}_updateLibraryName(){this._sharedService.updateLibraryName(this._libraryName),this._storageService.setItem("libName",this._libraryName)}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(e.Lbi))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-login"]],viewQuery:function(c,l){if(1&c&&(e.Gf(zo,5),e.Gf(ir,5),e.Gf(ro.VN,5),e.Gf(ro.QJ,5)),2&c){let x;e.iGM(x=e.CRH())&&(l.userName=x.first),e.iGM(x=e.CRH())&&(l.libraryInput=x.first),e.iGM(x=e.CRH())&&(l.matAutocomplete=x.first),e.iGM(x=e.CRH())&&(l.autocomplete=x.first)}},inputs:{isGipLogin:"isGipLogin",gip:"gip",dataid:"dataid"},features:[e._Bn([{provide:e.QbO,useValue:"BrowserAnimations"}]),e.TTD],decls:3,vars:2,consts:[["fxLayout","column"],["fxLayoutAlign","center center","style","height: 250px",4,"ngIf"],["fxLayoutAlign","center center","tabindex","0",3,"agInteract",4,"ngIf"],["fxLayoutAlign","center center",2,"height","250px"],["strokeWidth","3","color","accent",3,"diameter"],["fxLayoutAlign","center center","tabindex","0",3,"agInteract"],["fxLayout","column","class","login-card",4,"ngIf"],["fxLayout","column",1,"login-card"],[3,"formGroup"],["loginForm",""],["fxLayout","row",2,"margin-bottom","1.75rem"],[3,"innerHTML",4,"ngIf"],["fxLayout","row",4,"ngIf"],["fxLayout","row"],["fxFlex","100"],["agAutofocus","","matInput","","id","username","type","text","formControlName","user","title","User Name","autocomplete","on",3,"placeholder"],["userName",""],["matInput","","id","password","type","password","formControlName","password","autocomplete","off","title","Password",3,"placeholder"],["fxLayout","row","fxLayoutGap","10px","fxLayoutAlign","space-between",1,"font-0-8"],["fxLayout","column","fxLayout.xs","row","fxflex","50","fxLayout.xs","100","formControlName","remember"],["fxLayout","column","fxLayout.xs","row","fxflex","50","fxLayout.xs","100","mat-button","","type","button",3,"agInteract",4,"ngIf"],["fxLayout","row","fxLayoutGap","10px","class","font-0-8",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end"],["mat-button","","role","button","type","submit","aria-label","Submit",1,"ag-mat-button-primary",3,"disabled","click"],["style","width: 175px",4,"ngIf"],[4,"ngIf"],["mat-button","","role","button","aria-label","Cancel","type","button",2,"margin-left","10px",3,"click"],[3,"innerHTML"],["fxFlex","100",4,"ngIf","ngIfElse"],["singleLid",""],["matInput","","type","text","placeholder","Select Your Library",3,"formControl","matAutocomplete","focus"],["libraryInput",""],["mat-icon-button","","matSuffix","","type","button",3,"click"],["autoActiveFirstOption","","autoSelectActiveOption","",3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","type","text","readonly","",3,"formControl"],["fxLayout","column","fxLayout.xs","row","fxflex","50","fxLayout.xs","100","mat-button","","type","button",3,"agInteract"],["fxLayout","row","fxLayoutGap","10px",1,"font-0-8"],["mat-button","","fxLayout","column","fxLayoutAlign","start","type","button",1,"overflow-btn",3,"agInteract"],[2,"width","175px"],["diameter","20"]],template:function(c,l){1&c&&(e.TgZ(0,"main",0),e.YNc(1,Va,2,1,"div",1)(2,gl,2,1,"div",2),e.qZA()),2&c&&(e.xp6(),e.Q6J("ngIf",l.loading),e.xp6(),e.Q6J("ngIf",!l.loading))},dependencies:[_n.Q,Kn.o,ei.sg,ei.O5,At._Y,At.Fj,At.JJ,At.JL,At.oH,At.sg,At.u,ro.VN,ro.QJ,ci.CK,Zn.eB,bi.xw,bi.SQ,bi.Wh,bi.yH,Go.FC,po.nI,po.v_,po.$V,po.nX,Jo.Hw,xo.k0,sr.sN,ei.Ov],styles:[".login-card[_ngcontent-%COMP%]{margin-top:10vh;margin-bottom:10vh;margin-left:auto;margin-right:auto;width:100%;max-width:600px;box-shadow:0 3px 5px var(--box-shadows);padding:1.25rem}.overflow-btn[_ngcontent-%COMP%]{overflow-x:hidden!important;white-space:pre-wrap!important;text-align:left}"]})}return d})();var wa=s(501),tc=s(2119);function Ic(d,g){if(1&d&&(e.TgZ(0,"div",7)(1,"div",8)(2,"div")(3,"strong"),e._uU(4),e.qZA()(),e.TgZ(5,"div")(6,"strong"),e._uU(7),e.qZA()(),e.TgZ(8,"div")(9,"strong"),e._uU(10),e.qZA()(),e.TgZ(11,"div")(12,"strong"),e._uU(13),e.qZA()(),e.TgZ(14,"div",9)(15,"strong"),e._uU(16),e.qZA()()()()),2&d){const i=e.oxw(2);e.xp6(4),e.hij("Library Card Number: ",null==i.patronDetails?null:i.patronDetails.libraryCardNumber,""),e.xp6(3),e.hij("Last Name: ",null==i.patronDetails?null:i.patronDetails.lastName,""),e.xp6(3),e.hij("User Name: ",null==i.patronDetails?null:i.patronDetails.userName,""),e.xp6(3),e.hij("Password: ",null==i.patronDetails?null:i.patronDetails.password,""),e.xp6(3),e.hij("Patron Id: ",null==i.patronDetails?null:i.patronDetails.patronId,"")}}function pr(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"h1",1),e._uU(2,"New Patron Profile Created"),e.qZA(),e.TgZ(3,"div",2)(4,"div",3),e.YNc(5,Ic,17,5,"div",4),e.qZA()(),e.TgZ(6,"div",5)(7,"button",6),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.okayClick())}),e._uU(8," OK "),e.qZA()()()}if(2&d){const i=e.oxw();e.xp6(5),e.Q6J("ngIf",i.patronDetails)}}function Ws(d,g){if(1&d&&(e.TgZ(0,"div",7),e._UZ(1,"div",10),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("innerHTML",i.patronDetails,e.oJD)}}function ts(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"h1",1),e._uU(2,"New Patron Profile Not Created"),e.qZA(),e.TgZ(3,"div",2)(4,"div",3),e.YNc(5,Ws,2,1,"div",4),e.qZA()(),e.TgZ(6,"div",5)(7,"button",6),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closeClick())}),e._uU(8," Close "),e.qZA()()()}if(2&d){const i=e.oxw();e.xp6(5),e.Q6J("ngIf",i.patronDetails)}}let Hr=(()=>{class d{constructor(i,c){this._dialogRef=i,this.data=c}ngOnInit(){this.patronDetails=this.data.details,this.type=this.data.type}okayClick(){this._dialogRef.close("ok")}closeClick(){this._dialogRef.close("close")}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.hV),e.Y36(qi.eJ))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-request-submit-rb-dailog"]],decls:2,vars:2,consts:[[4,"ngIf"],["mat-dialog-title","",2,"margin-left","2%"],["mat-dialog-content",""],[1,"container-fluid"],["class","row",4,"ngIf"],["mat-dialog-actions","",2,"margin-left","2%"],["role","button","type","button","aria-label","OK","cdkFocusInitial","",1,"btn","btn-primary",3,"click"],[1,"row"],[1,"col-12"],[2,"margin-bottom","2%"],[1,"col-12",3,"innerHTML"]],template:function(c,l){1&c&&e.YNc(0,pr,9,1,"div",0)(1,ts,9,1,"div",0),2&c&&(e.Q6J("ngIf","success"===l.type),e.xp6(),e.Q6J("ngIf","fail"===l.type))},dependencies:[ei.O5,qi.YS,qi.Rb,qi.ev]})}return d})();var ta=s(7895);function bl(d,g){1&d&&(e.TgZ(0,"div",6),e._uU(1," Please enter the information below for access to Zinio. You'll only need to add it once in VERSO and once when you download your first magazine - after that your login will be remembered "),e.qZA())}function Bs(d,g){if(1&d&&(e.ynx(0),e.YNc(1,bl,2,0,"div",5),e.BQk()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",i.targetType===i.TARGETTYPE.ZN)}}function _a(d,g){1&d&&(e.TgZ(0,"div",6),e._uU(1," Please enter the information below for access to Zinio using your existing Zinio acccount. "),e.qZA())}function Rc(d,g){if(1&d&&(e.ynx(0),e.YNc(1,_a,2,0,"div",5),e.BQk()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",i.targetType===i.TARGETTYPE.ZN)}}function Lc(d,g){1&d&&(e.TgZ(0,"small",19),e._uU(1,"Please provide a valid email address."),e.qZA())}function Nc(d,g){1&d&&(e.TgZ(0,"small",19),e._uU(1,"Password should at least have 3 characters long."),e.qZA())}function jr(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",9)(1,"form",10)(2,"mat-form-field",11),e._UZ(3,"input",12),e.qZA(),e.YNc(4,Lc,2,0,"small",13),e.TgZ(5,"mat-form-field",11),e._UZ(6,"input",14),e.qZA(),e.YNc(7,Nc,2,0,"small",13),e.TgZ(8,"div",15)(9,"button",16),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.loginZNSubmit())})("keyup.enter",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.loginZNSubmit())}),e.TgZ(10,"span",17),e._uU(11,"Submit"),e.qZA()(),e.TgZ(12,"button",18),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.loginZN.reset())}),e._uU(13," Clear "),e.qZA()()()()}if(2&d){const i=e.oxw(3);e.xp6(),e.Q6J("formGroup",i.loginZN),e.xp6(2),e.Q6J("placeholder",i.emailLabel),e.uIk("title",i.emailLabel),e.xp6(),e.Q6J("ngIf",null==i.loginZN.get("email").errors?null:i.loginZN.get("email").errors.pattern),e.xp6(2),e.Q6J("placeholder",i.passwordLabel),e.uIk("title",i.passwordLabel),e.xp6(),e.Q6J("ngIf",null==i.loginZN.get("password").errors?null:i.loginZN.get("password").errors.minlength),e.xp6(2),e.Q6J("disabled",!i.loginZN.valid)}}function vl(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"div",7),e.YNc(2,jr,14,8,"div",8),e.qZA(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(2),e.Q6J("ngIf",i.showZNForm)}}function Fc(d,g){if(1&d&&(e.ynx(0),e.YNc(1,vl,3,1,"ng-container",4),e.BQk()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",i.targetType===i.TARGETTYPE.ZN)}}function Gr(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",9)(1,"form",20,21)(3,"mat-form-field",11),e._UZ(4,"input",22),e.qZA(),e.TgZ(5,"mat-form-field",11),e._UZ(6,"input",23),e.qZA(),e.TgZ(7,"mat-form-field",11),e._UZ(8,"input",24),e.qZA(),e.TgZ(9,"mat-form-field",11),e._UZ(10,"input",25),e.qZA(),e.TgZ(11,"mat-form-field",11),e._UZ(12,"input",26),e.qZA(),e.TgZ(13,"mat-form-field",11),e._UZ(14,"input",12),e.qZA(),e.TgZ(15,"mat-form-field",11),e._UZ(16,"input",27),e.qZA(),e.TgZ(17,"div",15)(18,"button",16),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.registerRBSubmit())})("keyup.enter",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.registerRBSubmit())}),e.TgZ(19,"span",17),e._uU(20,"Submit"),e.qZA()(),e.TgZ(21,"button",18),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.registerRB.reset())}),e._uU(22," Clear "),e.qZA()()()()}if(2&d){const i=e.oxw(3);e.xp6(),e.Q6J("formGroup",i.registerRB),e.xp6(3),e.Q6J("placeholder",i.libraryLabel),e.uIk("title",i.libraryLabel),e.xp6(2),e.Q6J("placeholder",i.userNameLabel),e.uIk("title",i.userNameLabel),e.xp6(2),e.Q6J("placeholder",i.passwordLabel),e.uIk("title",i.passwordLabel),e.xp6(2),e.Q6J("placeholder",i.firstNameLabel),e.uIk("title",i.firstNameLabel),e.xp6(2),e.Q6J("placeholder",i.lastNameLabel),e.uIk("title",i.lastNameLabel),e.xp6(2),e.Q6J("placeholder",i.emailLabel),e.uIk("title",i.emailLabel),e.xp6(2),e.Q6J("placeholder",i.zipLabel),e.uIk("title",i.zipLabel),e.xp6(2),e.Q6J("disabled",!i.registerRB.valid)}}function nc(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"div",7),e.YNc(2,Gr,23,16,"div",8),e.qZA(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(2),e.Q6J("ngIf",i.showRBForm)}}function hs(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",9)(1,"form",20)(2,"mat-form-field",11),e._UZ(3,"input",25),e.qZA(),e.TgZ(4,"mat-form-field",11),e._UZ(5,"input",26),e.qZA(),e.TgZ(6,"mat-form-field",11),e._UZ(7,"input",12),e.qZA(),e.TgZ(8,"mat-form-field",11),e._UZ(9,"input",14),e.qZA(),e.TgZ(10,"div",15)(11,"button",16),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.registerZNSubmit())})("keyup.enter",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.registerZNSubmit())}),e.TgZ(12,"span",17),e._uU(13,"Submit"),e.qZA()(),e.TgZ(14,"button",18),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.registerZN.reset())}),e._uU(15," Clear "),e.qZA()()()()}if(2&d){const i=e.oxw(3);e.xp6(),e.Q6J("formGroup",i.registerZN),e.xp6(2),e.Q6J("placeholder",i.firstNameLabel),e.uIk("title",i.firstNameLabel),e.xp6(2),e.Q6J("placeholder",i.lastNameLabel),e.uIk("title",i.lastNameLabel),e.xp6(2),e.Q6J("placeholder",i.emailLabel),e.uIk("title",i.emailLabel),e.xp6(2),e.Q6J("placeholder",i.passwordLabel),e.uIk("title",i.passwordLabel),e.xp6(2),e.Q6J("disabled",!i.registerZN.valid)}}function ws(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"div",7),e.YNc(2,hs,16,10,"div",8),e.qZA(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(2),e.Q6J("ngIf",i.showZNForm)}}function Qa(d,g){if(1&d&&(e.ynx(0),e.YNc(1,nc,3,1,"ng-container",4)(2,ws,3,1,"ng-container",4),e.BQk()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",i.targetType===i.TARGETTYPE.RB),e.xp6(),e.Q6J("ngIf",i.targetType===i.TARGETTYPE.ZN)}}let yl=(()=>{class d{constructor(i,c,l,x,ke,Mt,un,Dn){this._activatedRoute=i,this._dialog=c,this._fb=l,this._detailsService=x,this._router=ke,this._sharedService=Mt,this._storageService=un,this._routingService=Dn,this.showRBForm=!1,this.showZNForm=!1,this.showRegisterInfo=!0,this.showLoginInfo=!1,this.libraryLabel="Library Card Number",this.userNameLabel="User Name",this.passwordLabel="Password",this.firstNameLabel="First Name",this.lastNameLabel="Last Name",this.emailLabel="Email Address",this.zipLabel="Zip Code",this.TARGETTYPE=ta.zo,this._formType="register",this._errorMessage="unable to login.",this.showRBForm=!1,this.showZNForm=!1,this.showRegisterInfo=!0,this.showLoginInfo=!1}ngOnInit(){this._activatedRoute.queryParams.subscribe(i=>{this.targetType=i.type?i.type.toUpperCase():null,this._agcontrolid=i.agctrlid,this._shard=i.shard,this._formType=i.formType?i.formType.toLowerCase():"register",this._detailsService.getFullRecordByShard(this._buildRecordDetails()).subscribe(c=>{this._fullRecord=c,this._userInfo=this._storageService.getUserData(),this._userName=this._userInfo.userName,this.targetType===ta.zo.RB?this._intializeRBFormData():this.targetType===ta.zo.ZN&&("register"==this._formType?this._intializeZNFormData():"login"==this._formType&&this._intializeZNLoginFormData())})})}loginZNSubmit(){var i=this;return(0,t.Z)(function*(){try{(yield i._loginZnAsync())?i._fullRecordRoute():i._sharedService.openSnackBar(i._errorMessage,"ok")}catch(c){console.error(`register.component.ts:- loginZNSubmit => ${c.message}`)}})()}_loginZnAsync(){var i=this;return(0,t.Z)(function*(){const c=yield i._detailsService.loginUserZNAsync(i._fullRecord.session.agServiceBaseUrl,i._buildZNloginData());if(c&&null!=c&&c.Data&&0==c.StatusCode){if(c.Data.Success)return!0;c.Data.Success||(i._errorMessage=c.Data.ErrorMessage?c.Data.ErrorMessage:i._errorMessage,"not found"==i._errorMessage.toLowerCase()&&(i._errorMessage="user "+i._errorMessage+". unable to authenticate."))}else c.Data.StatusMessage&&(i._errorMessage=c.Data.StatusMessage?c.Data.StatusMessage:i._errorMessage);return!1})()}registerZNSubmit(){this._detailsService.registerUserZN(this._fullRecord.session.agServiceBaseUrl,this._buildZNregisterData()).subscribe(i=>{const c=i.Data.Success,l=i.Data.ErrorMessage;1==c?(this._sharedService.openSnackBar("Zinio Patron profile is created","ok"),this._fullRecordRoute()):0==c&&this._sharedService.openSnackBar(l,"ok")})}registerRBSubmit(){this._detailsService.registerUserRB(this._fullRecord.session.agServiceBaseUrl,this._buildRBregisterData()).subscribe(i=>{const c=i.Data.Status.Success,l=i.Data.Status.ErrorMessage;1==c?(this._sharedService.openSnackBar(l,"ok"),this._patronSubmitDetails=i.Data.patron,this.openRegsiterSubmitDialog(this._patronSubmitDetails,"success")):0==c&&this.openRegsiterSubmitDialog(l,"fail")})}openRegsiterSubmitDialog(i,c){this._dialog.open(Hr,{width:"600px",height:"auto",disableClose:!0,data:{details:i,type:c}}).afterClosed().subscribe(x=>{"ok"==x&&this._fullRecordRoute()})}_intializeZNLoginFormData(){this.loginZN=this._fb.group({email:["",[At.kI.required,At.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$")]],password:["",[At.kI.required,At.kI.minLength(3)]],firstname:[""],lastname:[""]},{updateOn:"blur"}),this._showZnForm(),this._showLoginFormType()}_intializeZNFormData(){this.registerZN=this._fb.group({email:["",[At.kI.required,At.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$")]],password:["",[At.kI.required,At.kI.minLength(3)]],firstname:["",At.kI.required],lastname:["",At.kI.required]},{updateOn:"blur"}),this._showZnForm(),this._showRegisterFormType()}_intializeRBFormData(){this.registerRB=this._fb.group({libname:["",At.kI.required],user:["",At.kI.required],password:["",[At.kI.required,At.kI.minLength(3)]],firstname:["",At.kI.required],lastname:["",At.kI.required],email:["",[At.kI.required,At.kI.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,4}$")]],zip:["",At.kI.required]},{updateOn:"blur"}),this.registerRB.valueChanges.subscribe(i=>{}),this.registerRB.patchValue({libname:this._userName}),this.registerRB.controls.libname.disable(),this._showRBForm(),this._showRegisterFormType()}_buildZNloginData(){return{CustomerId:this._fullRecord.session.customerId,UserId:this._fullRecord.session.userId,LibraryProfileKey:this._fullRecord.session.libraryProfileKey,Options:{ZinioUrl:this._fullRecord.zinioSearchSettings.url,ZinioLibraryId:this._fullRecord.zinioSearchSettings.libraryId,ZinioToken:this._fullRecord.zinioSearchSettings.token},Patron:{Email:this.loginZN.value.email,Password:this.loginZN.value.password,FirstName:"",LastName:""}}}_buildZNregisterData(){return{UserId:this._fullRecord.session.userId,LibrayProfileKey:this._fullRecord.session.libraryProfileKey,Patron:{Email:this.registerZN.value.email,Password:this.registerZN.value.password,FirstName:this.registerZN.value.firstname,LastName:this.registerZN.value.lastname},CustomerId:this._fullRecord.session.customerId,Options:{ZinioUrl:this._fullRecord.zinioSearchSettings.url,ZinioLibraryId:this._fullRecord.zinioSearchSettings.libraryId,ZinioToken:this._fullRecord.zinioSearchSettings.token}}}_buildRBregisterData(){return{UserId:this._fullRecord.session.userId,LibraryProfileKey:this._fullRecord.session.libraryProfileKey,Data:{LibraryCardNumber:this._userName,UserName:this.registerRB.value.user,Password:this.registerRB.value.password,FirstName:this.registerRB.value.firstname,LastName:this.registerRB.value.lastname,Email:this.registerRB.value.email,Zip:this.registerRB.value.zip},SessionId:this._fullRecord.session.id,CustomerId:this._fullRecord.session.customerId,CustomerServer:this._fullRecord.session.customerServer,Options:{RecordedBooksEnabled:void 0,RecordedBooksUrl:this._fullRecord.rbSearchSettings.url,RecordedBooksLibraryId:this._fullRecord.rbSearchSettings.libraryId,RecordedBooksToken:this._fullRecord.rbSearchSettings.token}}}_buildRecordDetails(){return{source:this._shard,agcontrolid:this._agcontrolid,hldStartRecord:1,hldNumOfRecords:10}}_showLoginFormType(){this.showLoginInfo=!0,this.showRegisterInfo=!1}_showRegisterFormType(){this.showLoginInfo=!1,this.showRegisterInfo=!0}_showZnForm(){this.showRBForm=!1,this.showZNForm=!0}_showRBForm(){this.showRBForm=!0,this.showZNForm=!1}_fullRecordRoute(){this._router.navigate(["/details"],{queryParams:{agctrlid:this._agcontrolid,shard:this._shard}})}go2PrevRoute(){this._routingService.goToPreviousUrl()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Gi.gz),e.Y36(qi.on),e.Y36(At.QS),e.Y36(tc.nP),e.Y36(Gi.F0),e.Y36(Ii.F),e.Y36(no.V),e.Y36(Wo.Z))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-register"]],decls:10,vars:4,consts:[[1,"login-form","col-12","col-sm-8","col-md-6","col-lg-6","offset-sm-1","offset-md-1","offset-lg-2"],["role","button","type","button","aria-label","Go Back",1,"btn","btn-link",3,"click"],["aria-hidden","true",1,"fa","fa-backward",2,"font-size","0.75em"],[2,"font-size","0.75em"],[4,"ngIf"],["class","margin-30 font-weight-bold",4,"ngIf"],[1,"margin-30","font-weight-bold"],[1,"card",2,"margin-top","10vh","margin-bottom","10vh"],["class","card-block",4,"ngIf"],[1,"card-block"],["autocomplete","off","novalidate","",1,"form-horizontal","loginform",3,"formGroup"],[1,"clearfix",2,"width","100%"],["type","email","matInput","","formControlName","email",3,"placeholder"],["class","text-danger padding-5-0",4,"ngIf"],["type","password","matInput","","formControlName","password","autocomplete","new-password2",3,"placeholder"],[1,"text-end","clearfix"],["role","button","type","button","aria-label","Submit",1,"btn","btn-primary",3,"disabled","click","keyup.enter"],[2,"width","175px"],["role","button","aria-label","Clear","type","button",1,"btn","btn-link","margin-0-10",3,"click"],[1,"text-danger","padding-5-0"],["autocomplete","off","novalidate","",1,"form-horizontal","registerform",3,"formGroup"],["registerRBform",""],["type","text","matInput","","formControlName","libname",3,"placeholder"],["type","text","matInput","","formControlName","user",3,"placeholder"],["type","password","matInput","","formControlName","password","autocomplete","new-password1",3,"placeholder"],["type","text","matInput","","formControlName","firstname",3,"placeholder"],["type","text","matInput","","formControlName","lastname",3,"placeholder"],["type","text","matInput","","formControlName","zip",3,"placeholder"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0)(1,"div")(2,"button",1),e.NdJ("click",function(){return l.go2PrevRoute()}),e._UZ(3,"i",2),e.TgZ(4,"u",3),e._uU(5,"Go back"),e.qZA()(),e.YNc(6,Bs,2,1,"ng-container",4)(7,Rc,2,1,"ng-container",4),e.qZA(),e.YNc(8,Fc,2,1,"ng-container",4)(9,Qa,3,2,"ng-container",4),e.qZA()),2&c&&(e.xp6(6),e.Q6J("ngIf",l.showRegisterInfo&&!l.showLoginInfo),e.xp6(),e.Q6J("ngIf",!l.showRegisterInfo&&l.showLoginInfo),e.xp6(),e.Q6J("ngIf",!l.showRegisterInfo&&l.showLoginInfo),e.xp6(),e.Q6J("ngIf",l.showRegisterInfo&&!l.showLoginInfo))},dependencies:[ei.O5,At._Y,At.Fj,At.JJ,At.JL,At.sg,At.u,po.v_,xo.k0],styles:[".login-background[_ngcontent-%COMP%]{margin-top:-108px;padding-top:100px;background-size:cover!important}.card-block[_ngcontent-%COMP%]{flex:1 1 auto;padding:1.25rem}.card[_ngcontent-%COMP%]{color:var(--body-color)!important;background:var(--body-background)!important}.forgot-password[_ngcontent-%COMP%]{display:inline-block;padding:3px;text-decoration:underline!important;cursor:pointer}.forgot-password[_ngcontent-%COMP%]:hover, .forgot-password[_ngcontent-%COMP%]:focus{color:var(--link)!important}"]})}return d})();var Kr=s(8913),ji=s(9773),Fa=s(8645);let bd=(()=>{class d{constructor(i,c,l,x,ke,Mt){this._activatedRoute=i,this._opacSettingsService=c,this._searchService=l,this._sharedService=x,this._storageService=ke,this._routingService=Mt,this._unsubscribeAll=new Fa.x}ngOnDestroy(){this._unsubscribeAll.next()}ngOnInit(){this._activatedRoute.queryParams.subscribe(i=>{if(this.cid=i.cid,this.lid=i.lid,this.opt1=i.opt1,this.index=i.index??"all_headings",this.searchTerm=i.term,this.opt2=i.opt2,this.index2=i.index2??"all_headings",this.searchTerm2=i.term2,this.opt3=i.opt3,this.index3=i.index3??"all_headings",this.searchTerm3=i.term3,this.searchTerm.indexOf("+")>-1){const c=this.searchTerm.split("+");this.searchTerm=c.join(" ")}this._sharedService.getLoginStatusBS().pipe((0,ji.R)(this._unsubscribeAll)).subscribe(c=>{c==Ii.P.COMPLETE&&this._performSearch()})})}loginRequiredBeforeSearch(){return this._opacSettingsService.getLoginOptions().pipe((0,vr.U)(i=>!("200 OK"!=i?.status||"success"!=i?.message.toLowerCase()||!i.data)&&i.data.requireLoginBeforSearch))}_buildSearchRequest(i){const c=this._storageService.getUserData(),x=c.opacOptions.simpleSearchOptions,ke=[];return Ii.F.isNotEmpty(this.searchTerm)&&ke.push({index:this.index,query:this.searchTerm,queryOption:Kr.P.QUERY_OPTION,matchJoinOperator:this.opt1?this.opt1.toUpperCase():Kr.P.MATCH_JOIN_OPERATOR}),Ii.F.isNotEmpty(this.searchTerm2)&&ke.push({index:this.index2,query:this.searchTerm2,queryOption:Kr.P.QUERY_OPTION,matchJoinOperator:this.opt2?this.opt2.toUpperCase():Kr.P.MATCH_JOIN_OPERATOR}),Ii.F.isNotEmpty(this.searchTerm3)&&ke.push({index:this.index3,query:this.searchTerm3,queryOption:Kr.P.QUERY_OPTION,matchJoinOperator:this.opt3?this.opt3.toUpperCase():Kr.P.MATCH_JOIN_OPERATOR}),{searchQuery:{matches:ke,filters:{scopingLevel:x.defaultScopingLevel},resources:i,startRecord:Kr.P.START_RECORD,numOfRecords:this._searchService.numOfRecords,facetMatches:[],sortBy:[c.opacOptions.searchResultOptions.sortBy],orderBy:c.opacOptions.searchResultOptions.orderBy,resultType:c.opacOptions.searchResultOptions.groupOption}}}_performSearch(){this.loginRequiredBeforeSearch().subscribe(i=>{if(i)return this._sharedService.openSnackBar("You must login to the system before searching the catalog","ok"),void this._routingService.goToLogin();const c=ta.oD.getSelectResources(this._searchService.getSearchResources());this._searchService.doSearch(this._buildSearchRequest(c))})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Gi.gz),e.Y36(To.j),e.Y36(ta.oD),e.Y36(Ii.F),e.Y36(no.V),e.Y36(Wo.Z))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-open-search"]],decls:0,vars:0,template:function(c,l){}})}return d})();function xl(d,g){if(1&d&&e._UZ(0,"app-login",1),2&d){const i=e.oxw();e.Q6J("isGipLogin",i.isGipLogin)("gip",i.gip)("dataid",i.dataid)}}let ic=(()=>{class d{constructor(i,c,l,x,ke){this._activatedRoute=i,this._authService=c,this._sharedService=l,this._storageService=x,this._platformId=ke,this.isGipLogin=!0,this.canRender=!1}ngOnInit(){var i=this;this._activatedRoute.queryParams.subscribe(function(){var c=(0,t.Z)(function*(l){i.gip=l.gip,i.dataid=l.dataid,i._cid=l.cid,i._lid=l.lid,i._validateIncomingRequest({cid:i._cid,lid:i._lid,dataid:i.dataid,gip:i.gip})?yield i._guestLoginPromise():i._sharedService.openSnackBar("please pass all the required parameters to the url and try again","ok")});return function(l){return c.apply(this,arguments)}}())}_guestLoginPromise(){this._authService.login(this._createGuestLoginRequest()).subscribe(()=>{this.canRender=!0},i=>{i instanceof Error&&this._sharedService.openSnackBar(i.message,"ok")})}_validateIncomingRequest(i){let c=!1;return i.hasOwnProperty("cid")&&i.hasOwnProperty("lid")&&i.hasOwnProperty("dataid")&&i.hasOwnProperty("gip")&&(c=!0),c}_createGuestLoginRequest(){return{grant_Type:"password",cid:this._cid?this._cid:this._storageService.getCid(),lid:this._lid?this._lid:this._storageService.getLid(),userName:"guest",password:"guest",rememberMe:!1}}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Gi.gz),e.Y36(qo.e8),e.Y36(Ii.F),e.Y36(no.V),e.Y36(e.Lbi))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-giplogin"]],decls:1,vars:1,consts:[[3,"isGipLogin","gip","dataid",4,"ngIf"],[3,"isGipLogin","gip","dataid"]],template:function(c,l){1&c&&e.YNc(0,xl,1,3,"app-login",0),2&c&&e.Q6J("ngIf",l.canRender)},dependencies:[ei.O5,ec]})}return d})();var vd=s(2939);function oc(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Oqu(i.message)}}let ns=(()=>{class d{constructor(i){this.data=i}ngOnInit(){this.data?.message&&(this.message=this.data.message)}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(vd.qD))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-saml-snackbar"]],decls:1,vars:1,consts:[[4,"ngIf"]],template:function(c,l){1&c&&e.YNc(0,oc,2,1,"div",0),2&c&&e.Q6J("ngIf",l.message)},dependencies:[ei.O5]})}return d})();var Dr=s(3352);function rc(d,g){1&d&&(e.TgZ(0,"div"),e._uU(1,"saml failed !!!"),e.qZA())}let Bc=(()=>{class d{constructor(i,c,l,x,ke,Mt,un){this._activatedRoute=i,this._authService=c,this._predefinedTemplatesService=l,this._sharedService=x,this._router=ke,this._storageService=Mt,this._routingService=un,this.canRender=!1,this.canRender=!1}ngOnInit(){this._performSamlAuth(this._activatedRoute.snapshot._routerState.url)}_performSamlAuth(i){const c=decodeURIComponent(i.substring(i.indexOf("key="),i.length));this._predefinedTemplatesService.get(`${this._routingService.baseUri}/sso/getinfo.php?${c}`).subscribe(x=>{x&&(this._samlKey=x.samlKey,this._samlData=x.samlData,this._doSamlAuth())})}_doSamlAuth(){this._authService.loginSaml(this._buildSamlRequest()).subscribe(i=>{null!=i&&"200 OK"==i.status?i.data?i.data.isValid?(this.canRender=!1,this._authService.login(i.data.authRequest).subscribe(()=>{this._router.navigate(["/"],{queryParams:{cid:this._storageService.getCid(),lid:this._storageService.getLid()}})},x=>{x instanceof Error&&this._sharedService.openSnackBar(x.message,"ok")})):(this._sharedService.componentSnackbar(ns,"Something Went Wrong!!! Saml authentication failed","error"),this.canRender=!0):(this._sharedService.componentSnackbar(ns,"Data oject missing in response. Saml authentication failed","error"),this.canRender=!0):this._failedSamlAuth(i)})}_failedSamlAuth(i){this.canRender=!1;this._sharedService.componentSnackbar(ns,"Saml authentication failed","error")}_buildSamlRequest(){return{samlKey:this._samlKey,samlData:this._samlData}}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Gi.gz),e.Y36(qo.e8),e.Y36(Dr.fs),e.Y36(Ii.F),e.Y36(Gi.F0),e.Y36(no.V),e.Y36(Wo.Z))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-saml"]],decls:1,vars:1,consts:[[4,"ngIf"]],template:function(c,l){1&c&&e.YNc(0,rc,2,0,"div",0),2&c&&e.Q6J("ngIf",l.canRender)},dependencies:[ei.O5]})}return d})();var ac=s(3349);const ps=["errorMessage"];let si=(()=>{class d{constructor(i){this._bugsnagService=i}ngAfterViewInit(){this.errorMessage.nativeElement.value="Test "+(new Date).toISOString()}createHandledException(){const i=this.errorMessage.nativeElement.value;console.log("createHandledException msg = ",i),this._bugsnagService.notify(`createHandledException ${i}`)}createUnhandledException(){const i=this.errorMessage.nativeElement.value;throw console.log("createUnhandledException msg = ",i),new Error(`createUnhandledException ${i}`)}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(ac.S))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-error-test"]],viewQuery:function(c,l){if(1&c&&e.Gf(ps,5),2&c){let x;e.iGM(x=e.CRH())&&(l.errorMessage=x.first)}},decls:13,vars:0,consts:[["id","error-test-page"],[1,"error-btn"],["type","text","width","300","maxlength","75","value","Test",1,"error-message-input"],["errorMessage",""],["type","button",3,"click"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0)(1,"h1"),e._uU(2,"Bugsnag Error Test Page"),e.qZA(),e.TgZ(3,"div",1),e._uU(4," Error Message: "),e._UZ(5,"input",2,3),e.qZA(),e.TgZ(7,"div",1)(8,"button",4),e.NdJ("click",function(){return l.createHandledException()}),e._uU(9,"Create Handled Exception"),e.qZA()(),e.TgZ(10,"div",1)(11,"button",4),e.NdJ("click",function(){return l.createUnhandledException()}),e._uU(12,"Create Unhandled Exception"),e.qZA()()())},styles:["#error-test-page[_ngcontent-%COMP%]{margin:40px}.error-message-input[_ngcontent-%COMP%]{width:300px}.error-btn[_ngcontent-%COMP%]{margin:20px}"]})}return d})();var Oo=s(8036),Ts=s(5592),is=s(2096),or=s(8180),ms=s(4664),os=s(6306);let Do=(()=>{class d{constructor(i,c,l,x){this._storageService=i,this._authService=c,this._sharedService=l,this._routingService=x}canActivate(i,c){return!!this._authService.IsAuthenticated()||new Ts.y(l=>{this._sharedService.isEmptyObject(i.queryParams)&&!this._authService.getUserDataFromSession()&&(window.location.href=this._routingService.baseUri),this._setupLoginData(i.queryParams).pipe((0,or.q)(1)).subscribe(x=>{this._login(x).subscribe(ke=>{ke?(Ii.F.isNotEmpty(x.username)&&Ii.F.isNotEmpty(x.password)&&this._routingService.redirectOnAutoLogin(this._removeLoginQueryParams(i.queryParams)),l.next(!0)):l.next(!1)},()=>{window.location.href=this._routingService.baseUri})})})}_setupLoginData(i){let c,l,x,ke,Mt,un,Dn;return i&&(c=i.cid,l=i.lid,x=i.sessionid??i.sessionId??i.SessionId,ke=i.uname,Mt=i.pass,un=i.uid,Dn=i.body),Ii.F.isEmpty(c)&&(c=this._storageService.getCid()),Ii.F.isEmpty(l)&&(l=this._storageService.getLid()),Ii.F.isNotEmpty(c)&&Ii.F.isNotEmpty(un)&&un.length>6&&Ii.F.isNotEmpty(Dn)&&"true"==Dn?this._authService.getLoginRequest(un,c).pipe((0,ms.w)(Bn=>(0,is.of)({cid:Bn?.cid,lid:Bn?.lid,username:Bn?.userName,password:Bn?.password,sessionId:x}))):(0,is.of)({cid:c,lid:l,username:ke,password:Mt,sessionId:x})}_login(i){if(Ii.F.isEmpty(i.cid))throw new Error("No cid provided, can not login");const c=this._authService.getUserDataFromSession();return i.sessionId?this._authService.login(this._createSessionLoginRequest(i.cid,i.sessionId)).pipe((0,os.K)(()=>(window.location.href=this._routingService.baseUri,(0,is.of)()))):c&&this._storageService.getCid()==i.cid.toLowerCase()&&this._storageService.getLid()==i.lid.toLowerCase()&&Ii.F.isEmpty(i.username)&&Ii.F.isEmpty(i.password)?this._authService.login(this._createSessionLoginRequest(c.customerId,c.sessionId)).pipe((0,os.K)(()=>(window.location.href=this._routingService.baseUri,(0,is.of)()))):this._authService.login(this._createLoginRequest(i.cid,i.lid,i.username,i.password))}_createSessionLoginRequest(i,c){return{cid:i,sessionId:c}}_createLoginRequest(i,c,l,x){return{cid:i,lid:c,userName:l||"guest",password:x||"guest"}}_removeLoginQueryParams(i){const c={...i};return delete c.cid,delete c.lid,delete c.uname,delete c.pass,c}static#e=this.\u0275fac=function(c){return new(c||d)(e.LFG(no.V),e.LFG(qo.e8),e.LFG(Ii.F),e.LFG(Wo.Z))};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})();var sc=s(812);let Xs=(()=>{class d{constructor(){this._routingService=(0,e.f3M)(Wo.Z),this._sharedService=(0,e.f3M)(Ii.F),this._dialogService=(0,e.f3M)(yt.x)}canActivate(i,c){return new Ts.y(l=>{this._sharedService.getUserDataBS().pipe((0,sc.o)(x=>!x,!0)).subscribe(x=>{if(x){if(x.illOptions?.accessILLRequest)return void l.next(!0);if(x.illOptions?.requestThisRequireLogin)return this._routingService.goToLogin(c.url),void l.next(!1);this._dialogService.openAlertDialog("","REQUEST.GUARD.MESSAGE").subscribe(()=>{this._routingService.goToHome(),l.next(!1)})}})})}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})();var Cl=s(2651),el=s(8845),ce=s(2276),Be=s(7244),ve=s(5501);const Je=["medEditElRef"];let gt=(()=>{class d{constructor(){this.innerHTMLText="Enter Page Text",this.location="",this._medEditOptions={autoLink:!0,targetBlank:!0,buttonLabels:"fontawesome",forcePlainText:!1,cleanPastedHTML:!0,toolbar:{static:!0,sticky:!0,buttons:["h1","h2","h3","anchor","quote","bold","italic","underline","justifyLeft","justifyCenter","justifyRight","justifyFull"],diffLeft:0,diffTop:10},placeholder:{text:"Enter Page Text",hideOnClick:!0}}}ngOnChanges(i){i&&this._setValuesFromOnChanges(i)}ngAfterViewInit(){this._setMediumEditor()}getInnerText(){return ce(".web-link-text")[0].innerHTML}_setMediumEditor(){this.currentMedEditorElement=new MediumEditor(this.medEditElRef.nativeElement,this._medEditOptions)}_setValuesFromOnChanges(i){this.innerHTMLText=i.innerHTMLText.currentValue,i.location?.currentValue&&(this.location=i.location.currentValue)}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["medium-editor-shared"]],viewQuery:function(c,l){if(1&c&&e.Gf(Je,5),2&c){let x;e.iGM(x=e.CRH())&&(l.medEditElRef=x.first)}},inputs:{innerHTMLText:"innerHTMLText",location:"location"},features:[e.TTD],decls:2,vars:1,consts:[[1,"web-link-text",3,"innerHTML"],["medEditElRef",""]],template:function(c,l){1&c&&e._UZ(0,"div",0,1),2&c&&e.Q6J("innerHTML",l.innerHTMLText,e.oJD)},styles:['.web-link-text[_ngcontent-%COMP%]{background:#fff;color:#000;min-height:20vh}.medium-editor-placeholder[_ngcontent-%COMP%], .medium-editor-placeholder[data-placeholder="Enter Page Text"][_ngcontent-%COMP%]{color:#000!important}  .web-link-text.medium-editor-element h1,   .web-link-text.medium-editor-element h2,   .web-link-text.medium-editor-element h3,   .web-link-text.medium-editor-element h4,   .web-link-text.medium-editor-element h5,   .web-link-text.medium-editor-element h6,   .web-link-text.medium-editor-element a,   .web-link-text.medium-editor-element p,   .web-link-text.medium-editor-element u,   .web-link-text.medium-editor-element i{color:#000!important}']})}return d})();function Gt(d){return/^\d+$/.test(d.value)?null:{invalidNumber:{valid:!1,value:d.value}}}var fn=s(5619);let Qn=(()=>{class d{constructor(){this.colorDefaultsBS=new fn.X(null),this.colorPalleteBS=new fn.X(null)}setColorPalleteBS(i){this.colorPalleteBS.next(i)}getColorPalleteBS(){return this.colorPalleteBS.asObservable()}setColorDefaultsBS(i){this.colorDefaultsBS.next(i)}getColorDefaultsBS(){return this.colorDefaultsBS.asObservable()}defaultColorTheme(){return{themeName:"",starterTheme:"default",typeOf:"default",shadeBase:"#333",shadeOne:"#212121",shadeTwo:"#424242",shadeThree:"#616161",shadeFour:"#757575",neutral:"#9e9e9e",offsetOne:"#bdbdbd",offsetTwo:"#e0e0e0",offsetThree:"#eeeeee",offsetFour:"#fafafa",accentOne:"#8c9eff",accentTwo:"#536dfe",accentThree:"#3d5afe",accentFour:"#304ffe",headerBackground:"#fafafa",headerColor:"#212121",footerBackground:"#fafafa",footerColor:"#212121",bodyColor:"#212121",bodyBackground:"#fafafa",boxShadows:"#777777",dropShadows:"#777777",link:"#303650",hoverFocus:"#111d50",buttonColor:"#fafafa",buttonBackground:"#111d50",buttonBorder:"#111d50",fontFamilySansSerif:'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"',fontFamilyMonospace:'"SFMono-Regular",Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace',h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setBlueGrey(){return{themName:"bluegrey0011-0022",starterTheme:"bluegrey",typeOf:"mat-blue-grey",shadeBase:"#eceff1",shadeOne:"#cfd8dc",shadeTwo:"#b0bec5",shadeThree:"#90a4ae",shadeFour:"#000000",neutral:"#7D9AA5",offsetOne:"#7C9CA6",offsetTwo:"#92A3A5",offsetThree:"#AEC4C6",offsetFour:"#A3B8C2",accentOne:"#eeeeee",accentTwo:"#9e9e9e",accentThree:"#4F4F4F",accentFour:"#A3A3A3",headerBackground:"#CDDADA",headerColor:"#000000",footerBackground:"#CDDADA",footerColor:"#000000",bodyColor:"#000000",bodyBackground:"#eceff1",boxShadows:"#000000",dropShadows:"#000000",link:"#5B96F0",hoverFocus:"#5B96F0",buttonColor:"#fafafa",buttonBackground:"#669EFF",buttonBorder:"#669EFF",fontFamilySansSerif:"",fontFamilyMonospace:"",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setBrown(){return{themeName:"brown0011-0022",starterTheme:"brown",typeOf:"mat-brown",shadeBase:"#efebe9",shadeOne:"#d7ccc8",shadeTwo:"#bcaaa4",shadeThree:"#AA958D",shadeFour:"#000000",neutral:"#B58F82",offsetOne:"#BB998B",offsetTwo:"#AA9A92",offsetThree:"#C3B9B6",offsetFour:"#BC908A",accentOne:"#eeeeee",accentTwo:"#9e9e9e",accentThree:"#4A4A4A",accentFour:"#9C9C9C",headerBackground:"#B48C83",headerColor:"#000000",footerBackground:"#B48C83",footerColor:"#000000",bodyColor:"#000000",bodyBackground:"#f1eded",boxShadows:"#000000",dropShadows:"#000000",link:"#BA8C87",hoverFocus:"#BA8C87",buttonColor:"#fafafa",buttonBackground:"#ACA09A",buttonBorder:"#ACA09A",fontFamilySansSerif:"",fontFamilyMonospace:"",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setRed(){return{themeName:"red0011-0022",starterTheme:"red",typeOf:"mat-red",shadeBase:"#ffebee",shadeOne:"#ffcdd2",shadeTwo:"#ef9a9a",shadeThree:"#e57373",shadeFour:"#000000",neutral:"#B88E95",offsetOne:"#C58C93",offsetTwo:"#C99CA2",offsetThree:"#C6858B",offsetFour:"#E8B0BD",accentOne:"#ff8a80",accentTwo:"#FF6161",accentThree:"#AD0005",accentFour:"#FF6161",headerBackground:"#FF6B6B",headerColor:"#000000",footerBackground:"#FF6B6B",footerColor:"#000000",boxShadows:"#000000",dropShadows:"#000000",link:"#FF5C79",hoverFocus:"#FF5C79",bodyColor:"#000000",bodyBackground:"#FFFFFF",buttonColor:"#fafafa",buttonBackground:"#FF99AE",buttonBorder:"#FF99AE",fontFamilySansSerif:"",fontFamilyMonospace:"",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setPink(){return{themeName:"pink0011-0022",starterTheme:"pink",typeOf:"mat-pink",shadeBase:"#fce4ec",shadeOne:"#f8bbd0",shadeTwo:"#f48fb1",shadeThree:"#F16A98",shadeFour:"#000000",neutral:"#F16F9D",offsetOne:"#EE6898",offsetTwo:"#fa87b0",offsetThree:"#ff95c3",offsetFour:"#EF62B0",accentOne:"#ff80ab",accentTwo:"#FF9EC0",accentThree:"#9E0024",accentFour:"#F363A2",headerBackground:"#ffbdd3",headerColor:"#000000",footerBackground:"#ffbdd3",footerColor:"#000000",boxShadows:"#000000",dropShadows:"#000000",link:"#F165B5",hoverFocus:"#FF5791",bodyColor:"#000000",bodyBackground:"#fce4ec",buttonColor:"#fafafa",buttonBackground:"#F58FB5",buttonBorder:"#F58FB5",fontFamilySansSerif:"",fontFamilyMonospace:"",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setOrange(){return{themeName:"orange0011-0022",starterTheme:"orange",typeOf:"mat-orange",shadeBase:"#fff7f3",shadeOne:"#ffe0b2",shadeTwo:"#ffcc80",shadeThree:"#ffb74d",shadeFour:"#000000",neutral:"#ff9800",offsetOne:"#fb8c00",offsetTwo:"#ffa242",offsetThree:"#ffb77c",offsetFour:"#e65100",accentOne:"#ffd180",accentTwo:"#ffab40",accentThree:"#804700",accentFour:"#ff6d00",headerBackground:"#ffe0b2",headerColor:"#000000",footerBackground:"#ffe0b2",footerColor:"#000000",boxShadows:"#000000",dropShadows:"#000000",link:"#e65100",hoverFocus:"#ef6c00",bodyColor:"#000000",bodyBackground:"#FEF9F6",buttonColor:"#ffb74d",buttonBackground:"#ff9800",buttonBorder:"#ff9800",fontFamilySansSerif:" ",fontFamilyMonospace:" ",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setPurple(){return{themeName:"purple0011-0022",starterTheme:"purple",typeOf:"mat-purple",shadeBase:"#f3e5f5",shadeOne:"#e1bee7",shadeTwo:"#ce93d8",shadeThree:"#C681D0",shadeFour:"#000000",neutral:"#E0AAEE",offsetOne:"#D16FE2",offsetTwo:"#D16FE2",offsetThree:"#D16FE2",offsetFour:"#D16FE2",accentOne:"#ea80fc",accentTwo:"#F093FB",accentThree:"#8C009E",accentFour:"#D761FF",headerBackground:"#ead3ee",headerColor:"#000000",footerBackground:"#ead3ee",footerColor:"#000000",bodyColor:"#000000",bodyBackground:"#fef7ff",boxShadows:"#000000",dropShadows:"#000000",link:"#B185EF",hoverFocus:"#C475E6",buttonColor:"#fafafa",buttonBackground:"#CF75E1",buttonBorder:"#CF71E0",fontFamilySansSerif:"#dcedc8",fontFamilyMonospace:"#dcedc8",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setLightBlue(){return{themeName:"lightblue0011-0022",starterTheme:"lightblue",typeOf:"mat-light-blue",shadeBase:"#e1f5fe",shadeOne:"#b3e5fc",shadeTwo:"#81d4fa",shadeThree:"#4fc3f7",shadeFour:"#000000",neutral:"#03a9f4",offsetOne:"#03A3F2",offsetTwo:"#76b4d6",offsetThree:"#8bccf2",offsetFour:"#1599FE",accentOne:"#80d8ff",accentTwo:"#40c4ff",accentThree:"#005685",accentFour:"#009EFF",headerBackground:"#cde2ec",headerColor:"#000000",footerBackground:"#cde2ec",footerColor:"#000000",bodyColor:"#000000",bodyBackground:"#fbfeff",boxShadows:"#000000",dropShadows:"#000000",link:"#149BFF",hoverFocus:"#1599FE",buttonColor:"#fafafa",buttonBackground:"#2FA3FE",buttonBorder:"#2FA3FE",fontFamilySansSerif:"",fontFamilyMonospace:"",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setRoyal(){return{themeName:"royal0011-0022",starterTheme:"royal",typeOf:"mat-blue",shadeBase:"#888FE7",shadeOne:"#cfd8dc",shadeTwo:"#b0bec5",shadeThree:"#90a4ae",shadeFour:"#000000",neutral:"#7D9AA5",offsetOne:"#888FE7",offsetTwo:"#659DC8",offsetThree:"#b0bec5",offsetFour:"#999FEB",accentOne:"#82b1ff",accentTwo:"#5C98FF",accentThree:"#619AFF",accentFour:"#BDCFFF",headerBackground:"#8B8EE9",headerColor:"#000000",footerBackground:"#8B8EE9",footerColor:"#000000",boxShadows:"#000000",dropShadows:"#000000",link:"#0a19a5",hoverFocus:"#0019ff",bodyColor:"#000000",bodyBackground:"#e8f0f3",buttonColor:"#fafafa",buttonBackground:"#7A8EFA",buttonBorder:"#7A8EFA",fontFamilySansSerif:"",fontFamilyMonospace:"",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setLightGreen(){return{themeName:"lightgreen0011-0022",starterTheme:"lightgreen",typeOf:"mat-light-green",shadeBase:"#33691e",shadeOne:"#dcedc8",shadeTwo:"#c5e1a5",shadeThree:"#aed581",shadeFour:"#000000",neutral:"#8bc34a",offsetOne:"#33691e",offsetTwo:"#c5e1a5",offsetThree:"#dcedc8",offsetFour:"#33691e",accentOne:"#ccff90",accentTwo:"#b2ff59",accentThree:"#285C00",accentFour:"#64dd17",headerBackground:"#dcedc8",headerColor:"#000000",footerBackground:"#dcedc8",footerColor:"#000000",bodyColor:"#000000",bodyBackground:"#f1f8e9",boxShadows:"#000000",dropShadows:"#000000",link:"#33691e",hoverFocus:"#558b2f",buttonColor:"#f1f8e9",buttonBackground:"#33691e",buttonBorder:"#33691e",fontFamilySansSerif:"#dcedc8",fontFamilyMonospace:"#dcedc8",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}setGreen(){return{themeName:"olivegreen0011-0022",starterTheme:"olivegreen",typeOf:"mat-green",shadeBase:"#2EAD36",shadeOne:"#c8e6c9",shadeTwo:"#a5d6a7",shadeThree:"#81c784",shadeFour:"#000000",neutral:"#4caf50",offsetOne:"#52B757",offsetTwo:"#4CCC6A",offsetThree:"#3FB146",offsetFour:"#34C63C",accentOne:"#b9f6ca",accentTwo:"#69f0ae",accentThree:"#005726",accentFour:"#00c853",headerBackground:"#32AE4E",headerColor:"#000000",footerBackground:"#32AE4E",footerColor:"#000000",bodyColor:"#000000",bodyBackground:"#e8f5e9",boxShadows:"#000000",dropShadows:"#000000",link:"#2EAD36",hoverFocus:"#81c784",buttonColor:"#f1f8e9",buttonBackground:"#4CCC6A",buttonBorder:"#3eaa98",fontFamilySansSerif:"",fontFamilyMonospace:"",h1Size:"21px",h1Color:"#212121",h2Size:"18px",h2Color:"#212121",h3Size:"15px",h3Color:"#212121"}}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})();var Hn=s(3256),Ti=s(1865),io=s(3941),wo=s(1036),yr=s(1798),la=s(2214),fs=s(5616),pa=s(481);const Us=["pageTitle"];function rs(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"h3",2),e._uU(2,"Create New Widget"),e.qZA(),e.TgZ(3,"div",3)(4,"div",4)(5,"div",5)(6,"label",6),e._uU(7,"New Widget Title"),e.qZA(),e.TgZ(8,"input",7,8),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.pageLabel=l)}),e.qZA()()(),e.TgZ(10,"div",9)(11,"button",10),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closePageDialog())}),e._uU(12," Cancel "),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.createNewPageOrWidget())}),e._uU(14," Create Widget "),e.qZA()()(),e.BQk()}if(2&d){const i=e.oxw();e.xp6(8),e.Q6J("ngModel",i.pageLabel)}}function yd(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"h3",2),e._uU(2,"Create New Page"),e.qZA(),e.TgZ(3,"div",3)(4,"div",4)(5,"label",12),e._uU(6,"New Page Title"),e.qZA(),e.TgZ(7,"input",13,8),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.pageLabel=l)}),e.qZA(),e.TgZ(9,"small",14),e._uU(10,"The name for this page, as it appears in navigation."),e.qZA()(),e.TgZ(11,"div",15)(12,"label",16),e._uU(13,"Page Layout"),e.qZA(),e.TgZ(14,"small",17),e._uU(15,"Layout Base with enhanced mobility."),e.qZA(),e.TgZ(16,"div",18)(17,"div",19)(18,"div",20)(19,"input",21),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(20,"img",22),e.qZA(),e.TgZ(21,"div",20)(22,"input",23),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(23,"img",24),e.qZA(),e.TgZ(24,"div",20)(25,"input",25),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(26,"img",26),e.qZA(),e.TgZ(27,"div",20)(28,"input",27),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(29,"img",28),e.qZA(),e.TgZ(30,"div",20)(31,"input",29),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(32,"img",30),e.qZA(),e.TgZ(33,"div",20)(34,"input",31),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(35,"img",32),e.qZA(),e.TgZ(36,"div",20)(37,"input",33),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(38,"img",34),e.qZA(),e.TgZ(39,"div",20)(40,"input",35),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(41,"img",36),e.qZA(),e.TgZ(42,"div",20)(43,"input",37),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(44,"img",38),e.qZA(),e.TgZ(45,"div",20)(46,"input",39),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(47,"img",40),e.qZA(),e.TgZ(48,"div",20)(49,"input",41),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(50,"img",42),e.qZA(),e.TgZ(51,"div",20)(52,"input",43),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(53,"img",44),e.qZA(),e.TgZ(54,"div",20)(55,"input",45),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(56,"img",46),e.qZA(),e.TgZ(57,"div",20)(58,"input",47),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(59,"img",48),e.qZA(),e.TgZ(60,"div",20)(61,"input",49),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedTemplate(l))}),e.qZA(),e._UZ(62,"img",50),e.qZA()()()(),e.TgZ(63,"div",51)(64,"button",10),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closePageDialog())}),e._uU(65," Cancel "),e.qZA(),e.TgZ(66,"button",11),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.createNewPageOrWidget())}),e._uU(67," Create Page "),e.qZA()()(),e.BQk()}if(2&d){const i=e.oxw();e.xp6(7),e.Q6J("ngModel",i.pageLabel)}}function xd(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",72)(1,"input",73),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.activeDate=l)}),e.qZA(),e._UZ(2,"mat-datepicker-toggle",74)(3,"mat-datepicker",null,75),e.qZA()}if(2&d){const i=e.MAs(4),c=e.oxw(2);e.xp6(),e.Q6J("min",c.minDate)("ngModel",c.activeDate)("matDatepicker",i),e.xp6(),e.Q6J("for",i)}}function Cd(d,g){if(1&d&&(e.TgZ(0,"span",86),e._uU(1),e.qZA()),2&d){const i=e.oxw(4);e.xp6(),e.hij(" (+",i.allLibraries.value.length-1," others) ")}}function lc(d,g){if(1&d&&(e.TgZ(0,"mat-option",87),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",null==i?null:i.id),e.xp6(),e.Oqu(null==i?null:i.name)}}function wd(d,g){if(1&d&&(e.TgZ(0,"mat-form-field",82)(1,"mat-select",83)(2,"mat-select-trigger"),e._uU(3),e.YNc(4,Cd,2,1,"span",84),e.qZA(),e.YNc(5,lc,2,2,"mat-option",85),e.qZA()()),2&d){const i=e.oxw(3);e.xp6(),e.Q6J("formControl",i.allLibraries),e.xp6(2),e.hij(" ",i.allLibraries.value?i.allLibraries.value[0]:""," "),e.xp6(),e.Q6J("ngIf",(null==i.allLibraries.value?null:i.allLibraries.value.length)>1),e.xp6(),e.Q6J("ngForOf",i.allLibrariesList)}}function ca(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",72)(1,"input",90),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.publishDate=l)}),e.qZA(),e._UZ(2,"mat-datepicker-toggle",74)(3,"mat-datepicker",null,91),e.qZA()}if(2&d){const i=e.MAs(4),c=e.oxw(4);e.xp6(),e.Q6J("min",c.minDate)("ngModel",c.publishDate)("matDatepicker",i),e.xp6(),e.Q6J("for",i)}}function Zs(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",88)(1,"mat-checkbox",61),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.forceActive(l))}),e._uU(2,"Force Active Page Now"),e.qZA(),e.TgZ(3,"span",62)(4,"h6",63),e._uU(5,"OR"),e.qZA()(),e.TgZ(6,"mat-checkbox",89),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.publishActivateOnDate(l))}),e._uU(7,"Active on a Date"),e.qZA(),e.YNc(8,ca,5,4,"div",65),e.qZA()}if(2&d){const i=e.oxw(3);e.xp6(),e.Q6J("checked",i.forceActiveState),e.xp6(5),e.Q6J("checked",i.publishActiveOnDate),e.xp6(2),e.Q6J("ngIf",(i.allLibs||i.publish)&&i.publishActiveOnDate)}}function Sr(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",76)(1,"div",77)(2,"mat-checkbox",78),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.publishdate(l))}),e._uU(3,"Publish page to other libraries"),e.qZA(),e.YNc(4,wd,6,4,"mat-form-field",79),e.TgZ(5,"span",62)(6,"h6",63),e._uU(7,"OR"),e.qZA()(),e.TgZ(8,"mat-checkbox",80),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.allLibsPublish(l))}),e._uU(9,"Publish to all libraries"),e.qZA()(),e.YNc(10,Zs,9,3,"div",81),e.qZA()}if(2&d){const i=e.oxw(2);e.xp6(2),e.Q6J("checked",i.publish),e.xp6(2),e.Q6J("ngIf",!i.allLibs&&i.publish),e.xp6(4),e.Q6J("checked",i.allLibs),e.xp6(2),e.Q6J("ngIf",i.showPublishDateSettings)}}function Td(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"h3",2),e._uU(2,"Create Page Link"),e.qZA(),e.TgZ(3,"h6",52),e._uU(4,"Note:link page cannot be the home page"),e.qZA(),e.TgZ(5,"div",3)(6,"div",4)(7,"div",5)(8,"label",53),e._uU(9,"Page Link Title"),e.qZA(),e.TgZ(10,"input",54,8),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.pageLabel=l)}),e.qZA(),e.TgZ(12,"small",14),e._uU(13,"The name for this page, as it appears in navigation."),e.qZA()(),e.TgZ(14,"div",55)(15,"div",56),e._uU(16," Visibility: "),e.TgZ(17,"mat-checkbox",57),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.showGuest=l)}),e._uU(18,"Guest"),e.qZA(),e.TgZ(19,"mat-checkbox",58),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.showPatron=l)}),e._uU(20,"Patron"),e.qZA(),e.TgZ(21,"mat-checkbox",59),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.showStaff=l)}),e._uU(22,"Staff"),e.qZA(),e._UZ(23,"br"),e.qZA(),e.TgZ(24,"div",60)(25,"mat-checkbox",61),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.activate(l))}),e._uU(26,"Active Now"),e.qZA(),e.TgZ(27,"span",62)(28,"h6",63),e._uU(29,"OR"),e.qZA()(),e.TgZ(30,"mat-checkbox",64),e.NdJ("change",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.activateOnDate())}),e._uU(31,"Active on a Date"),e.qZA(),e.YNc(32,xd,5,4,"div",65),e.qZA()(),e.YNc(33,Sr,11,4,"div",66),e.TgZ(34,"div",5)(35,"label",67),e._uU(36,"Re-direct link"),e.qZA(),e.TgZ(37,"input",68),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.redirectUrl=l)}),e.qZA(),e.TgZ(38,"small",69),e._uU(39,"Enter a redirect URL"),e.qZA()()(),e.TgZ(40,"div",70)(41,"button",10),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closePageDialog())}),e._uU(42," Cancel "),e.qZA(),e.TgZ(43,"button",71),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.createLinkPage())}),e._uU(44," Create "),e.qZA()()(),e.BQk()}if(2&d){const i=e.oxw();e.xp6(10),e.Q6J("ngModel",i.pageLabel),e.xp6(7),e.Q6J("ngModel",i.showGuest),e.xp6(2),e.Q6J("ngModel",i.showPatron),e.xp6(2),e.Q6J("ngModel",i.showStaff),e.xp6(4),e.Q6J("checked",i.active),e.xp6(5),e.Q6J("checked",i.activeOnDate),e.xp6(2),e.Q6J("ngIf",!i.active&&i.activeOnDate),e.xp6(),e.Q6J("ngIf",i.CSU),e.xp6(4),e.Q6J("ngModel",i.redirectUrl)}}let Uc=(()=>{class d{constructor(i,c,l,x,ke,Mt){this._storageService=i,this._templateService=c,this._libraryService=l,this._router=x,this._routingService=ke,this._snackBar=Mt,this.basic=!0,this.layout=!1,this.resetNav=new e.vpe,this.templateType=Dr.Es.ABOUT_ONE,this.pageStart=!0,this.editPage=!1,this.general=!1,this.pages=!1,this.design=!1,this.analytic=!1,this.help=!1,this.pageLayout=!1,this.active=!1,this.activeOnDate=!1,this.publish=!1,this.forceActiveState=!1,this.private=!1,this.newtab=!1,this.activeDate="",this.publishDate="",this.minDate=new Date,this.showPublishDateSettings=!1,this.publishActiveOnDate=!1,this.allLibs=!1,this.allLibraries=new At.p4,this.allLibrariesList=[],this.publishLibs=[],this.CSU=!0,this.LSU=!0,this.CREATE_NEW_PAGE_TYPE_ENUM=Dr.WD;const un=this._storageService.getUserData();un&&(this.CSU=un.isCustSuperUser,this.LSU=un.isLibSuperUser),this.allLibrariesList=[],this.showGuest=!0,this.showPatron=!0,this.showStaff=!0}ngOnInit(){this.getLibraries()}ngOnChanges(i){i.pageType&&(this.pageType=i.pageType.currentValue,this.pageType===this.CREATE_NEW_PAGE_TYPE_ENUM.LINK&&this.getLibraries(),(null!=this.linkVars||null!=this.linkVars)&&(this.pageLabel=this.linkVars.pageLabel,this.active=this.linkVars.active,this.publish=this.linkVars.publish,this.forceActiveState=this.linkVars.forceActiveState,this.redirect=this.linkVars.redirect))}ngAfterViewInit(){this.pageTitle.nativeElement.focus()}selectedTemplate(i){this.templateType=i.target.value}activate(i){this.active=i.checked,this.activeOnDate=!1,this.activeDate=""}activateOnDate(){this.active=!1,this.activeOnDate=!0}publishdate(i){this.publish=i.checked,this.allLibs=!1,this.publishLibs=[],this.publish?(this.showPublishDateSettings=!0,this.forceActiveState=!1,this.publishActiveOnDate=!1):(this.showPublishDateSettings=!1,this.forceActiveState=!1,this.publishActiveOnDate=!1)}forceActive(i){this.forceActiveState=i.checked,this.publishActiveOnDate=!1,this.publishDate=""}togglePrivate(i){this.private=i.checked}toggleNewTab(i){this.newtab=i.checked}publishActivateOnDate(i){this.publishActiveOnDate=i.checked,this.forceActiveState=!1}allLibsPublish(i){if(this.allLibs=i.checked,this.publish=!1,this.forceActiveState=!1,this.publishActiveOnDate=!1,this.allLibs){this.publishLibs=[],this.showPublishDateSettings=!0;for(let c=0;c<this.allLibrariesList.length;c++)this.publishLibs.push(this.allLibrariesList[c].id)}else this.publishLibs=[],this.showPublishDateSettings=!1}createNewPageOrWidget(){this.pageLabel&&/\S/.test(this.pageLabel)?(this.templateType||(this.templateType=Dr.Es.ABOUT_ONE),this.pageType===this.CREATE_NEW_PAGE_TYPE_ENUM.WIDGET&&(this.templateType=Dr.Es.SHOWCASE_WIDGET),this._templateService.setNewPageLabelBS(this.pageLabel),this._templateService.setNewTemplate(this.templateType),this.resetNav.emit("true"),this._storageService.setIsNewPage(!0),this.closePageDialog(),this._routingService.goToEditCustomPage(this.pageType===this.CREATE_NEW_PAGE_TYPE_ENUM.WIDGET?this.CREATE_NEW_PAGE_TYPE_ENUM.WIDGET:this.CREATE_NEW_PAGE_TYPE_ENUM.PAGE)):this.openSnackBar("enter a page label","ok")}createLinkPage(){var i=this;return(0,t.Z)(function*(){if(/\S/.test(i.redirectUrl)&&/\S/.test(i.pageLabel))if(i.pageLabel.length<=16){let c;i.redirectUrl.includes("http://")||i.redirectUrl.includes("http")||i.redirectUrl.includes("https")?i.redirectUrl.includes("http://")?(c=i.redirectUrl.replace("http://","https://"),i.redirectUrl=c):i.redirectUrl.includes("https")&&!i.redirectUrl.includes("https://")?(c=i.redirectUrl.replace("https","https://"),i.redirectUrl=c):i.redirectUrl.includes("http")&&!i.redirectUrl.includes("https://")&&!i.redirectUrl.includes("http://")&&(c=i.redirectUrl.replace("http","https://"),i.redirectUrl=c):c="https://"+i.redirectUrl,i.page={label:i.pageLabel,newtab:!1,private:!1,linkPage:!0,redirectUrl:i.redirectUrl,showGuest:i.showGuest,showPatron:i.showPatron,showStaff:i.showStaff,active:i.active,activeDate:i.activeDate,activeOnDate:i.activeOnDate,publish:i.publish,publishDate:i.publishDate,publishToAllLibs:i.allLibs,publishActiveOnDate:i.publishActiveOnDate,templates:[{components:[]}],homeDate:"",publishToCertainLids:[],sharedWith:""};const l={};l.cid=i._storageService.getCid(),l.lid=i._storageService.getLid(),l.pages=i.page;const x={cid:i._storageService.getCid(),lid:i._storageService.getLid(),forceActive:i.forceActiveState,libraries:[],pages:i.page};if(i._storageService.getItem("libExists")){null==i.pageIdEdit&&(i.pageIdEdit=0);const ke={cid:i._storageService.getCid(),lid:i._storageService.getLid(),libId:i._storageService.getItem("libId"),pageId:i.pageIdEdit,page:i.page},Mt=yield i._templateService.addPageToLibraryAsync(ke);if("200 OK"===Mt?.status){if(i.openSnackBar(Mt.message,"ok"),i.closePageDialog(),i.publish&&!i.allLibs){if(i.page.showGuest=!0,i.page.showPatron=!0,i.page.showStaff=!0,i.allLibraries.value){const un=i._storageService.getUserData().libraryName,Dn=i._storageService.getLid(),Bn=i._storageService.getUserData().libraryName+"("+i._storageService.getLid()+")";i.page.targetLibForPublishedPage=Bn,i.page.targetLibName=un,i.page.targetLibLid=Dn,x.libraries=i.allLibraries.value}}else if(!i.publish&&i.allLibs&&i.publishLibs.length>0){const un=i._storageService.getUserData().libraryName,Dn=i._storageService.getLid();i.page.targetLibName=un,i.page.targetLibLid=Dn,x.libraries=i.publishLibs}(i.publish||i.allLibs)&&i._templateService.setPublish(x).subscribe(un=>{i.openSnackBar(un.message,"ok")})}}else{const ke=yield i._templateService.createLibraryAsync(l);i.openSnackBar(ke.message,"ok"),ke.data.length&&i.publish&&(x.libraries=i.allLibraries.value,i._templateService.setPublish(x).subscribe(Mt=>{i.openSnackBar(Mt.message,"ok")}))}}else i.openSnackBar("Title cannot be greater than 16 characters","ok");else i.openSnackBar("Enter the redirect Url and page Link Title","ok")})()}getLibraries(){this._libraryService.getLibraries().subscribe(i=>{this.allLibrariesList=[];for(let l=0;l<i.length;l++){const x=i[l];this.allLibrariesList.push({name:x.name,id:x.id})}const c=this.allLibrariesList.findIndex(l=>l.id.toUpperCase()===this._storageService.getLid());c>-1&&this.allLibrariesList.splice(c,1)})}openSnackBar(i,c){this._snackBar.open(i,c,{duration:15e3,verticalPosition:"top"})}closePageDialog(){this.resetNav.emit("true"),ce("#edit-overlay").fadeOut(100),ce(".control-panel-dialog").fadeOut(500),ce("html").css("overflow-y","auto"),ce(".mat-drawer-shown").click()}closeOverlay(){ce("#edit-overlay").fadeOut(100),ce(".control-panel-dialog").fadeOut(500),ce("html").css("overflow-y","auto")}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(no.V),e.Y36(Dr.fs),e.Y36(kt.$),e.Y36(Gi.F0),e.Y36(Wo.Z),e.Y36(Ti.pl))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-page"]],viewQuery:function(c,l){if(1&c&&e.Gf(Us,5),2&c){let x;e.iGM(x=e.CRH())&&(l.pageTitle=x.first)}},inputs:{basic:"basic",layout:"layout",pageType:"pageType",linkVars:"linkVars"},outputs:{resetNav:"resetNav"},features:[e.TTD],decls:4,vars:3,consts:[[1,"control-panel","ag-pa-md"],[4,"ngIf"],[1,"text-center",2,"margin-top","10px"],[1,"edit-content"],[1,"page-content-wrapper"],[1,"form-group"],["for","newWidgetTitle"],["id","newWidgetTitle","type","text","aria-describedby","pageLabel",1,"form-control",3,"ngModel","ngModelChange"],["pageTitle",""],[1,"text-end","action-buttons"],["type","button","role","button","aria-label","Cancel",1,"btn","btn-link",3,"click"],["type","button","role","button","aria-label","Create Page",1,"btn","btn-lg","btn-primary",3,"click"],["for","newPageTitle"],["id","newPageTitle","type","text","aria-describedby","pageLabel",1,"form-control",3,"ngModel","ngModelChange"],[1,"form-text"],[1,"page-content-wrapper","ag-mt-sm"],["for","selectForm"],[1,"form-text","ag-mb-sm",2,"display","block"],[1,"container"],[1,"row"],[1,"col-4","col-lg-4"],["type","radio","name","group","value","aboutOne","checked","",3,"change"],["src","./assets/images/page-layout/about-1.png","alt","about 1"],["type","radio","name","group","value","aboutThree",3,"change"],["src","./assets/images/page-layout/about-3.png","alt","about 3"],["type","radio","name","group","value","contactTwo",3,"change"],["src","./assets/images/page-layout/contact-2.png","alt","contact 2"],["type","radio","name","group","value","contactThree",3,"change"],["src","./assets/images/page-layout/contact-3.png","alt","contact 3"],["type","radio","name","group","value","detailsOne",3,"change"],["src","./assets/images/page-layout/detail-1.png","alt","detail 1"],["type","radio","name","group","value","detailsTwo",3,"change"],["src","./assets/images/page-layout/detail-2.png","alt","detail 2"],["type","radio","name","group","value","detailsThree",3,"change"],["src","./assets/images/page-layout/detail-3.png","alt","detail 3"],["type","radio","name","group","value","featuresOne",3,"change"],["src","./assets/images/page-layout/feature-1.png","alt","feature 1"],["type","radio","name","group","value","featuresTwo",3,"change"],["src","./assets/images/page-layout/feature-2.png","alt","feature 2"],["type","radio","name","group","value","featuresThree",3,"change"],["src","./assets/images/page-layout/feature-3.png","alt","feature 3"],["type","radio","name","group","value","imagesOne",3,"change"],["src","./assets/images/page-layout/image-1.png","alt","image 1"],["type","radio","name","group","value","imagesTwo",3,"change"],["src","./assets/images/page-layout/image-3.png","alt","image 3"],["type","radio","name","group","value","TeamsOne",3,"change"],["src","./assets/images/page-layout/team-1.png","alt","team 1"],["type","radio","name","group","value","TeamsTwo",3,"change"],["src","./assets/images/page-layout/team-2.png","alt","team 2"],["type","radio","name","group","value","TeamsThree",3,"change"],["src","./assets/images/page-layout/team-3.png","alt","team 3"],[1,"text-end",2,"margin","30px 20px 0 0"],[1,"text-center"],["for","pageLinkTitle"],["id","pageLinkTitle","type","text","aria-describedby","pageLabel","placeholder","Enter Name",1,"form-control",3,"ngModel","ngModelChange"],[2,"border","2px solid var(--header-color)","width","115%"],[2,"margin-bottom","15px","padding","17px 0 5px 17px"],[1,"d-inline","margin-right-15px","!important;","margin-left:10px","!important",3,"ngModel","ngModelChange"],[1,"d-inline","margin-right-15px","!important;",3,"ngModel","ngModelChange"],[1,"d-inline",3,"ngModel","ngModelChange"],[1,"width-100","padding-10",2,"font-size","14px","padding","17px 0 15px 17px"],[3,"checked","change"],[2,"vertical-align","0.5vh","margin-left","10px","margin-right","10px"],[1,"d-inline"],[1,"margin-right-10",3,"checked","change"],["style","display: inline-block","class","calender-box text-start",4,"ngIf"],["style","border: 2px solid var(--header-color); margin-top: 15px; width: 115%",4,"ngIf"],["for","redirectURL"],["type","text","id","redirectURL","aria-describedby","redirect url",1,"form-control",3,"ngModel","ngModelChange"],["id","publishDateHelp",1,"form-text"],[1,"text-end","margin-10-0"],["type","button","role","button","aria-label","Create",1,"btn","btn-lg","btn-primary",3,"click"],[1,"calender-box","text-start",2,"display","inline-block"],["id","activateDate","type","text","aria-describedby","activateDate","placeholder","mm/dd/yyyy","title","Active Date","readonly","",1,"date-input",3,"min","ngModel","matDatepicker","ngModelChange"],["matSuffix","",3,"for"],["activeDatePicker",""],[2,"border","2px solid var(--header-color)","margin-top","15px","width","115%"],[1,"width-100","padding-10",2,"font-size","14px"],["aria-hidden","true",2,"font-size","14px",3,"checked","change"],["style","width: 30%; margin-left: 10px",4,"ngIf"],["aria-hidden","true","matTooltip","Publish Page to All Libraries.",2,"font-size","14px",3,"checked","change"],["class","padding-10","style","font-size: 14px; width: 120%",4,"ngIf"],[2,"width","30%","margin-left","10px"],["placeholder","Select Libraries","multiple","",3,"formControl"],["class","example-additional-selection",4,"ngIf"],["class","hide-ellipsis-ff",3,"value",4,"ngFor","ngForOf"],[1,"example-additional-selection"],[1,"hide-ellipsis-ff",3,"value"],[1,"padding-10",2,"font-size","14px","width","120%"],[2,"margin-right","10px",3,"checked","change"],["id","publishDate","type","text","aria-describedby","publishDate","placeholder","mm/dd/yyyy","title","Publish Date","readonly","",1,"date-input",3,"min","ngModel","matDatepicker","ngModelChange"],["publishDatePicker",""]],template:function(c,l){1&c&&(e.TgZ(0,"div",0),e.YNc(1,rs,15,1,"ng-container",1)(2,yd,68,1,"ng-container",1)(3,Td,45,9,"ng-container",1),e.qZA()),2&c&&(e.xp6(),e.Q6J("ngIf",l.pageStart&&l.pageType===l.CREATE_NEW_PAGE_TYPE_ENUM.WIDGET),e.xp6(),e.Q6J("ngIf",l.pageStart&&l.pageType===l.CREATE_NEW_PAGE_TYPE_ENUM.PAGE),e.xp6(),e.Q6J("ngIf",l.pageStart&&l.pageType===l.CREATE_NEW_PAGE_TYPE_ENUM.LINK))},dependencies:[ei.sg,ei.O5,At.Fj,At.JJ,At.On,ci.CK,Go.FC,fs.Mq,fs.hl,fs.nW,po.v_,po.nX,yr.x8,yr.Cb,pa.Kd,At.oH],styles:[".template-choose[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer;text-indent:25px}.template-choose[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .template-choose[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:var(--link)}input[type=checkbox][_ngcontent-%COMP%]{width:20px;height:20px;margin-right:5px;vertical-align:top}.edit-content[_ngcontent-%COMP%]{width:100%}.edit-header[_ngcontent-%COMP%]{height:50px;padding:5px 10px;border-bottom:1px solid lightgrey}.edit-title[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 225px);padding:10px}.edit-h6[_ngcontent-%COMP%]{color:var(--secondary-text);font-size:.9rem;padding:5px}.edit-top-links[_ngcontent-%COMP%]{display:inline-block;width:220px;text-align:right;vertical-align:top;padding:5px}.edit-top-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:.85rem}.edit-top-links[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]{font-weight:500}.edit-top-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-top-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{font-size:.85rem;cursor:pointer;color:#454545}.edit-buttons[_ngcontent-%COMP%]{position:relative;bottom:0;height:50px;width:100%;border-top:1px solid lightgrey}.edit-cancel[_ngcontent-%COMP%], .edit-delete[_ngcontent-%COMP%], .edit-save[_ngcontent-%COMP%]{background:transparent;height:100%;text-align:center;border:0px;color:var(--header-color)}.edit-cancel[_ngcontent-%COMP%]{width:32.5%;border-bottom-left-radius:4px}.edit-delete[_ngcontent-%COMP%]{width:32.5%}.edit-save[_ngcontent-%COMP%]{width:32.5%;border-bottom-right-radius:4px}.edit-cancel[_ngcontent-%COMP%]:hover, .edit-cancel[_ngcontent-%COMP%]:focus{cursor:pointer;color:#454545}.edit-delete[_ngcontent-%COMP%]:hover, .edit-delete[_ngcontent-%COMP%]:focus{background:#ebcccc;cursor:pointer;color:#454545}.edit-save[_ngcontent-%COMP%]:hover, .edit-save[_ngcontent-%COMP%]:focus{background:#d0e9c6;cursor:pointer;color:#454545}form[_ngcontent-%COMP%]{width:470px}.page-content-wrapper[_ngcontent-%COMP%]{padding:0 25px}.page-content-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-bottom:5px;margin-left:5px}.page-content-wrapper[_ngcontent-%COMP%]   .form-text[_ngcontent-%COMP%]{margin-left:5px}.page-content-wrapper[_ngcontent-%COMP%]   select[multiple][_ngcontent-%COMP%]{padding:5px 0;max-width:320px}.page-content-wrapper[_ngcontent-%COMP%]   select[multiple][_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{padding:5px;text-indent:10px}.page-content-wrapper[_ngcontent-%COMP%]   input[type=file][_ngcontent-%COMP%]{padding:5px;width:100%}.search-icon-input[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;margin:15px 10px;border-left:2px solid var(--shade-one);padding:12px 10px 12px 5px;font-size:1em;background:var(--body-background);color:var(--text-icons);cursor:pointer}.search-overlay[_ngcontent-%COMP%]   .inner[_ngcontent-%COMP%]{position:relative;width:100vw;padding:0 0 0 30px}.search-overlay[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{position:relative;width:100vw;padding:0 0 0 25px}.search-overlay[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:inline-block;font-weight:100;vertical-align:middle;margin:18px 0 0;font-size:.85em;font-weight:700;max-width:200px}.search-overlay[_ngcontent-%COMP%]   .exit[_ngcontent-%COMP%]{display:block;height:30px;width:60px;margin-top:15px;float:right;color:#333!important;cursor:pointer}.search-overlay[_ngcontent-%COMP%]   .exit[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.5em}.overlay-search[_ngcontent-%COMP%]{font-weight:700;font-size:2.5em;height:50px;letter-spacing:-1.925px;line-height:100px;width:90%;padding-left:0!important;border:none!important;background-color:transparent!important}.overlay-IndexResource[_ngcontent-%COMP%]{padding:0 0 0 30px}.overlay-index[_ngcontent-%COMP%]{background:none!important;border:none!important;color:#999;cursor:pointer}.overlay-index[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{background:none!important;border:2px solid #999}.overlay-index[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{background:none!important;border:none!important;color:#999;cursor:pointer;width:150px}.overlay-index[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{background:none!important;border:2px solid #999}.overlay-resource[_ngcontent-%COMP%]{cursor:pointer}.overlay-suggestions[_ngcontent-%COMP%]{padding:10px 0 0 30px;font-size:.85em}.suggest-phrase[_ngcontent-%COMP%]{text-decoration:none}.suggest-list[_ngcontent-%COMP%]{list-style:none}.control-panel[_ngcontent-%COMP%]{min-width:320px;max-width:540px}.control-panel[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{display:block;padding-left:15px;color:var(--header-color)!important;cursor:pointer}.control-panel[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.1em}.control-panel[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]:hover, .control-panel[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]:focus{color:var(--shade-one)}.control-panel[_ngcontent-%COMP%]   h5.default[_ngcontent-%COMP%]:hover, .control-panel[_ngcontent-%COMP%]   h5.default[_ngcontent-%COMP%]:focus{color:var(--shade-one)}.page-main[_ngcontent-%COMP%], .page-sub[_ngcontent-%COMP%]{list-style:none;padding:0}.page-main[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:100%;display:block;text-align:center;color:var(--header-color);font-size:1.15em;padding:10px 0;cursor:pointer}.page-sub[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:100%;display:block;text-align:left;color:var(--header-color);font-size:1em;padding:10px 25px;cursor:pointer}.page-main[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover, .page-main[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus, .page-sub[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover, .page-sub[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus{color:var(--header-color)}@media screen and (min-width: 576px){.search-overlay[_ngcontent-%COMP%]   .inner[_ngcontent-%COMP%]{padding:0 60px 0 80px}.search-overlay[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{position:relative;width:100vw;padding:0 0 0 75px}.search-overlay[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:inline-block;font-weight:100;vertical-align:middle;margin:18px 0 0;font-size:1.5em;font-weight:700;max-width:initial}.search-overlay[_ngcontent-%COMP%]   .exit[_ngcontent-%COMP%]{display:block;height:30px;width:60px;margin-top:15px;float:right;color:#333!important;cursor:pointer}.search-overlay[_ngcontent-%COMP%]   .exit[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:2.5em}.overlay-search[_ngcontent-%COMP%]{font-weight:700;font-size:77px;height:100px;letter-spacing:-1.925px;line-height:100px;width:100%;padding-left:0!important;border:none!important;background-color:transparent!important}.overlay-IndexResource[_ngcontent-%COMP%]{padding:0 0 0 80px}.overlay-index[_ngcontent-%COMP%]{background:none!important;border:none!important;color:#999;cursor:pointer}.overlay-index[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{background:none!important;border:2px solid #999}.overlay-resource[_ngcontent-%COMP%]{cursor:pointer}.overlay-suggestions[_ngcontent-%COMP%]{padding:10px 0 0 100px;font-size:.85em}.suggest-phrase[_ngcontent-%COMP%]{text-decoration:none}.suggest-list[_ngcontent-%COMP%]{list-style:none}.control-panel[_ngcontent-%COMP%]{min-width:320px;max-width:540px}}.margin-right-15px[_ngcontent-%COMP%]{margin-right:15px}.calendar-box[_ngcontent-%COMP%]{padding-bottom:10px}.input-datepicker[_ngcontent-%COMP%], .calendar-box[_ngcontent-%COMP%]{display:inline-block;padding-right:10px;width:50%;float:left}.loc-dates[_ngcontent-%COMP%]   .select-location[_ngcontent-%COMP%], .loc-dates[_ngcontent-%COMP%]   .date-input[_ngcontent-%COMP%]{margin-bottom:3px}.hide-ellipsis-ff[_ngcontent-%COMP%]{overflow:visible}.action-buttons[_ngcontent-%COMP%]{margin:30px 20px 0 0}.mat-select-value[_ngcontent-%COMP%], .mat-select-arrow[_ngcontent-%COMP%], .mat-hint[_ngcontent-%COMP%]{color:var(--header-color)!important}"]})}return d})();var na=s(9643),as=s(1288),Ms=s(6284);const Ru=["medEditorTB"];function Zc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"h3",9),e._uU(1," Text Block "),e.TgZ(2,"i",10),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closeNav())}),e.qZA()()}}function Hs(d,g){1&d&&(e.TgZ(0,"h3",11),e._uU(1," Zero Results "),e.qZA())}function Vh(d,g){if(1&d&&e._UZ(0,"i",12),2&d){const i=e.oxw();e.Q6J("matTooltipPosition","right")("matTooltip",i.zeroResultsMessage)}}function Hc(d,g){if(1&d&&e._UZ(0,"medium-editor-shared",13,14),2&d){const i=e.oxw();e.Q6J("innerHTMLText",i.text)("location","edittext")}}function Gc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",27)(1,"div",28)(2,"label",29)(3,"input",30),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.flushed=l)}),e.qZA(),e._uU(4,"Flush in template. "),e.qZA()()()}if(2&d){const i=e.oxw(2);e.xp6(3),e.Q6J("ngModel",i.flushed)}}function Jc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",15)(1,"div",16)(2,"h3"),e._uU(3," Design Elements "),e._UZ(4,"i",17),e.qZA()(),e.TgZ(5,"div",18)(6,"div",19)(7,"div",20)(8,"label",21),e._uU(9,"Font Color"),e.qZA(),e._UZ(10,"br"),e.TgZ(11,"input",22),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.color=l)}),e.qZA(),e.TgZ(12,"button",23),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.color=l)}),e.qZA()()(),e.TgZ(13,"div",19)(14,"div",20)(15,"label",24),e._uU(16,"Background Color"),e.qZA(),e._UZ(17,"br"),e.TgZ(18,"input",25),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.background=l)}),e.qZA(),e.TgZ(19,"button",23),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.background=l)}),e.qZA()()(),e.YNc(20,Gc,5,1,"div",26),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(4),e.Q6J("matTooltipPosition","right"),e.xp6(7),e.Q6J("ngModel",i.color),e.xp6(),e.Udp("background",i.color),e.Q6J("colorPicker",i.color),e.xp6(6),e.Q6J("ngModel",i.background),e.xp6(),e.Udp("background",i.background),e.Q6J("colorPicker",i.background),e.xp6(),e.Q6J("ngIf",!i.zeroResults)}}function Md(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",18)(1,"div",31)(2,"button",32),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.updateTEXT(l.textBlock))}),e._uU(3," Preview "),e.qZA(),e.TgZ(4,"button",33),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.submitTEXT(l.textBlock))}),e._uU(5," Save and Close "),e.qZA()()()}}function Lu(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",18)(1,"div",31)(2,"button",34),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.submitTEXT4zr())}),e._uU(3," Save Changes "),e.qZA()()()}}let kd=(()=>{class d extends na.e{constructor(i,c,l,x,ke,Mt){super(c),this._cd=i,this._layoutService=c,this._editService=l,this._editSidenavService=x,this._sharedService=ke,this._storageService=Mt,this.zeroResults=!1,this.color="#454545",this.text="",this.zeroResultsMessage="Select text to format. If you create a hyperlink, it should be a fully qualified URL with http / https",this._typeOf="text",this._className="height-250"}ngOnInit(){this.zeroResults&&setTimeout(()=>{this._getZeroResultsTextBlock()})}ngOnChanges(i){i&&(this.zeroResults=!!i.zeroResults&&i.zeroResults.currentValue),this.zeroResults||(this._temp=this.template,this.edit?(this.setRowType(),this.setFormVariables()):this.setNewVariablesToDefault())}ngAfterViewInit(){this._cd.detectChanges()}updateTEXT(i){const c={typeOf:"text",className:this._className,color:this.color,background:this.background,text:this.medEditorTB.getInnerText(),textIndent:this._textIndent,flushed:this.flushed};console.log("result"),console.log(c),this._editService.setTEXT(c,this.rowType,this._temp,this.rowArray,this.compArray)}submitTEXT(i){const c={typeOf:"text",className:this._className,color:this.color,background:this.background,text:this.medEditorTB.getInnerText(),textIndent:this._textIndent,flushed:this.flushed};this._editService.setTEXT(c,this.rowType,this._temp,this.rowArray,this.compArray),this.closeNav()}submitTEXT4zr(){const i={cid:this._storageService.getCid(),lid:this._storageService.getLid(),className:this._className,color:this.color,background:this.background,text:this.medEditorTB.getInnerText()};this._editSidenavService.saveZeroResultsTextBlock(i).subscribe(c=>{if("201 created"===c.status&&(this._zeroResultsData=c.data,this._sharedService.openSnackBar(c.message,"ok"),this._zeroResultsData[0].results.length>0)){const l=this._zeroResultsData[0].results[0];this.text=l.text,this.color=l.color,this.background=l.background,this._className=l.className}})}_getZeroResultsTextBlock(){this._editSidenavService.zeroResultsTextBlock$.subscribe(i=>{this.text=i.text,this.color=i.color,this.background=i.background,this._className=i.className})}getTXTStyles(){return{"background-color":this.background,color:this.color}}setRowType(){switch(this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":case"col-31":case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":case"col-42":case"col-421":case"col-51":case"col-632":this._className="padding-25",this.text="<p>You can select the text and have optional elements like bold, italix, underline, hyper link by selecting text. Starting a new Line groups the h1, h2, and h3 respectively</p>";break;default:this._className="padding-25",this.text=" <p>You can select the text and have optional elements like bold, italic, underline.  If you want to increase the size you can click on the h1, h2, and h3 tags.</p>"}}setNewVariablesToDefault(){switch(this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":case"col-31":case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":case"col-42":case"col-421":this.flushed="",this.color="",this.background="",this._className="padding-25",this.text="<p>You can select the text and have optional elements like bold, italix, underline, hyper link by selecting text. Starting a new Line groups the h1, h2, and h3 respectively</p>";break;case"col-51":this.flushed="",this.color="",this.background="",this._className="height-200 padding-25",this.text="<p>Starting a new Line groups the h1, h2, and h3 respectively</p>";break;case"col-632":this.flushed="",this.color="",this.background="",this._className="padding-25",this.text="<p>Starting a new Line groups the h1, h2, and h3 respectively</p>";break;default:this.flushed="",this.color="",this.background="",this._className="padding-25",this.text=" <p>You can select the text and have optional elements like bold, italic, underline.  If you want to increase the size you can click on the h1, h2, and h3 tags.</p>"}}setFormVariables(){this._typeOf=this._temp[this.compArray].typeOf?this._temp[this.compArray].typeOf:this._typeOf,this.text=this._temp[this.compArray].text?this._temp[this.compArray].text:this.text,this.flushed=this._temp[this.compArray].flushed,this._className=this._temp[this.compArray].className,this.color=this._temp[this.compArray].color,this.background=this._temp[this.compArray].background}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(e.sBO),e.Y36(We.P),e.Y36(as.n),e.Y36(Be.U),e.Y36(Ii.F),e.Y36(no.V))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-c-text"]],viewQuery:function(c,l){if(1&c&&e.Gf(Ru,5),2&c){let x;e.iGM(x=e.CRH())&&(l.medEditorTB=x.first)}},inputs:{textBlock:"textBlock",template:"template",rowType:"rowType",rowArray:"rowArray",compArray:"compArray",edit:"edit",zeroResults:"zeroResults"},features:[e.qOj,e.TTD],decls:11,vars:7,consts:[["class","text-center width-100",4,"ngIf"],[1,"width-100","text-center",2,"margin-bottom","25px"],["class","text-center width-100 d-inline","style","margin-right: 10px",4,"ngIf"],["class","range-inputs-tooltip fa fa-question-circle-o d-inline","aria-hidden","true",3,"matTooltipPosition","matTooltip",4,"ngIf"],["fxLayout","column","fxLayoutAlign","center stretch",2,"width","95%"],["formText","ngForm"],[3,"innerHTMLText","location",4,"ngIf"],["class","width-100 padding-0-25",4,"ngIf"],["class","edit row",4,"ngIf"],[1,"text-center","width-100"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],[1,"text-center","width-100","d-inline",2,"margin-right","10px"],["aria-hidden","true",1,"range-inputs-tooltip","fa","fa-question-circle-o","d-inline",3,"matTooltipPosition","matTooltip"],[3,"innerHTMLText","location"],["medEditorTB",""],[1,"width-100","padding-0-25"],[1,"block","row","text-center","margin-15-0"],["aria-hidden","true","matTooltip","Change the overall Font and Background Color, flush out margins in template, and add additional classes for this component.",1,"fa","fa-question-circle-o",2,"margin-left","5px",3,"matTooltipPosition"],[1,"edit","row"],[1,"col-12","margin-5-0"],[1,"form-group"],["for","color"],["type","text","id","color","aria-describedby","Font Color","placeholder","Enter Font Color",1,"form-control","color",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Choose Color",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],["for","background"],["type","text","id","background","aria-describedby","Background","placeholder","Enter Background Color",1,"form-control","color",3,"ngModel","ngModelChange"],["class","col-12 margin-5-0 padding-15-0",4,"ngIf"],[1,"col-12","margin-5-0","padding-15-0"],[1,"form-check"],["for","flush",1,"form-check-label"],["type","checkbox","id","flush",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],[1,"col-12","margin-25-0","text-end"],["role","button","type","button","aria-label","Preview",1,"btn","btn-link",2,"left","initial",3,"click"],["role","button","type","button","aria-label","Save and Close",1,"btn","btn-primary",2,"left","initial",3,"click"],["role","button","type","button","aria-label","Save Changes",1,"btn","btn-primary",2,"left","initial",3,"click"]],template:function(c,l){1&c&&(e.YNc(0,Zc,3,0,"h3",0),e.TgZ(1,"div",1),e.YNc(2,Hs,2,0,"h3",2)(3,Vh,1,2,"i",3),e.qZA(),e.TgZ(4,"div",4)(5,"form",null,5),e.YNc(7,Hc,2,2,"medium-editor-shared",6),e.qZA(),e.YNc(8,Jc,21,10,"div",7)(9,Md,6,0,"div",8)(10,Lu,4,0,"div",8),e.qZA()),2&c&&(e.Q6J("ngIf",!l.zeroResults),e.xp6(2),e.Q6J("ngIf",l.zeroResults),e.xp6(),e.Q6J("ngIf",l.zeroResults),e.xp6(4),e.Q6J("ngIf",l.text),e.xp6(),e.Q6J("ngIf",!l.zeroResults),e.xp6(),e.Q6J("ngIf",!l.zeroResults),e.xp6(),e.Q6J("ngIf",l.zeroResults))},dependencies:[ei.O5,bi.xw,bi.Wh,At._Y,At.Fj,At.Wl,At.JJ,At.JL,At.On,At.F,pa.Kd,Ms.Kk,gt],styles:[".text-block[_ngcontent-%COMP%]{padding:10px;display:block;width:100%;padding:.375rem .75rem;font-size:1rem;line-height:1.5;background-image:none;background-clip:padding-box}.medium-editor[_ngcontent-%COMP%]{width:100%}.control-panel[_ngcontent-%COMP%]{width:400px}"]})}return d})();function zh(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",2)(1,"div",3)(2,"button",10),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.backButton())}),e._uU(3,"Back"),e.qZA()()()}}function wl(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Lavender"),e.qZA())}function Tl(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Royal Blue"),e.qZA())}function Qh(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Light Blue"),e.qZA())}function Sd(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Olive Green"),e.qZA())}function jh(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Light Green"),e.qZA())}function Yh(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Orange"),e.qZA())}function qh(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Red"),e.qZA())}function Cm(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Pink"),e.qZA())}function Nu(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Brown"),e.qZA())}function Ed(d,g){1&d&&(e.TgZ(0,"h6"),e._uU(1,"Current Theme: Blue Gray"),e.qZA())}function Ta(d,g){if(1&d&&(e.TgZ(0,"h6"),e._uU(1),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.hij(" Current Theme: ",i.themeName," ")}}function Rr(d,g){if(1&d&&(e.TgZ(0,"div",11)(1,"div",3),e.YNc(2,wl,2,0,"h6",12)(3,Tl,2,0,"h6",12)(4,Qh,2,0,"h6",12)(5,Sd,2,0,"h6",12)(6,jh,2,0,"h6",12)(7,Yh,2,0,"h6",12)(8,qh,2,0,"h6",12)(9,Cm,2,0,"h6",12)(10,Nu,2,0,"h6",12)(11,Ed,2,0,"h6",12)(12,Ta,2,1,"h6",12),e.qZA()()),2&d){const i=e.oxw();e.xp6(2),e.Q6J("ngIf","purple0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","royal0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","lightblue0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","olivegreen0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","lightgreen0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","orange0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","red0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","pink0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","brown0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","bluegrey0011-0022"===i.themeName),e.xp6(),e.Q6J("ngIf","royal0011-0022"!==i.themeName&&"purple0011-0022"!==i.themeName&&"lightblue0011-0022"!==i.themeName&&"olivegreen0011-0022"!==i.themeName&&"lightgreen0011-0022"!==i.themeName&&"orange0011-0022"!==i.themeName&&"red0011-0022"!==i.themeName&&"pink0011-0022"!==i.themeName&&"brown0011-0022"!==i.themeName&&"bluegrey0011-0022"!==i.themeName)}}function Gs(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"i",32),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.applyTheme())}),e.qZA()}}function cc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",17)(1,"div",18)(2,"select",19),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.selectOption(l))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.selectDefault=l)}),e.TgZ(3,"option",20),e._uU(4,"None"),e.qZA(),e.TgZ(5,"option",20),e._uU(6,"Pick a Theme"),e.qZA(),e.TgZ(7,"option",21),e._uU(8,"Lavender"),e.qZA(),e.TgZ(9,"option",22),e._uU(10,"Light Blue"),e.qZA(),e.TgZ(11,"option",23),e._uU(12,"Royal Blue"),e.qZA(),e.TgZ(13,"option",24),e._uU(14,"Light Green"),e.qZA(),e.TgZ(15,"option",25),e._uU(16,"Olive Green"),e.qZA(),e.TgZ(17,"option",26),e._uU(18,"Orange"),e.qZA(),e.TgZ(19,"option",27),e._uU(20,"Pink"),e.qZA(),e.TgZ(21,"option",28),e._uU(22,"Red"),e.qZA(),e.TgZ(23,"option",29),e._uU(24,"Brown"),e.qZA(),e.TgZ(25,"option",30),e._uU(26,"Blue Gray"),e.qZA()()(),e.TgZ(27,"div",18),e.YNc(28,Gs,1,0,"i",31),e.qZA()()}if(2&d){const i=e.oxw(2);e.xp6(2),e.Q6J("ngModel",i.selectDefault),e.xp6(26),e.Q6J("ngIf",i.isShowApply)}}function tl(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Lavendar"),e.qZA())}function Kh(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Royak Blue"),e.qZA())}function Od(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Light Blue"),e.qZA())}function dc(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Olive Green"),e.qZA())}function $h(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Light Green"),e.qZA())}function Oa(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Orange"),e.qZA())}function uc(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Red"),e.qZA())}function Ml(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Pink"),e.qZA())}function Vc(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Brown"),e.qZA())}function Dd(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"Blue Gray"),e.qZA())}function hc(d,g){if(1&d&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&d){const i=e.oxw().$implicit;e.xp6(),e.Oqu(null==i?null:i.themeName)}}function zc(d,g){if(1&d&&(e.TgZ(0,"option",38),e.YNc(1,tl,2,0,"span",12)(2,Kh,2,0,"span",12)(3,Od,2,0,"span",12)(4,dc,2,0,"span",12)(5,$h,2,0,"span",12)(6,Oa,2,0,"span",12)(7,uc,2,0,"span",12)(8,Ml,2,0,"span",12)(9,Vc,2,0,"span",12)(10,Dd,2,0,"span",12)(11,hc,2,1,"span",12),e._UZ(12,"span"),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i._id),e.xp6(),e.Q6J("ngIf","purple0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","royal0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","lightblue0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","olivegreen0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","lightgreen0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","orange0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","red0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","pink0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","brown0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","bluegrey0011-0022"===(null==i?null:i.themeName)),e.xp6(),e.Q6J("ngIf","purple0011-0022"!==(null==i?null:i.themeName)&&"royal0011-0022"!==(null==i?null:i.themeName)&&"lightblue0011-0022"!==(null==i?null:i.themeName)&&"olivegreen0011-0022"!==(null==i?null:i.themeName)&&"lightgreen0011-0022"!==(null==i?null:i.themeName)&&"orange0011-0022"!==(null==i?null:i.themeName)&&"red0011-0022"!==(null==i?null:i.themeName)&&"pink0011-0022"!==(null==i?null:i.themeName)&&"brown0011-0022"!==(null==i?null:i.themeName)&&"bluegrey0011-0022"!==(null==i?null:i.themeName))}}function nl(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"i",39),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.editTheme())}),e.qZA()}}function ks(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"i",40),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.applyTheme())}),e.qZA()}}function il(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"i",41),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.deleteTheme())}),e.qZA()}}function kl(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",17)(1,"div",33)(2,"select",19),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.selectOption(l))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.selectDefault=l)}),e.TgZ(3,"option",20),e._uU(4,"Pick a Theme"),e.qZA(),e.TgZ(5,"option",21),e._uU(6,"Lavender"),e.qZA(),e.TgZ(7,"option",22),e._uU(8,"Light Blue"),e.qZA(),e.TgZ(9,"option",23),e._uU(10,"Royal Blue"),e.qZA(),e.TgZ(11,"option",24),e._uU(12,"Light Green"),e.qZA(),e.TgZ(13,"option",25),e._uU(14,"Olive Green"),e.qZA(),e.TgZ(15,"option",26),e._uU(16,"Orange"),e.qZA(),e.TgZ(17,"option",27),e._uU(18,"Pink"),e.qZA(),e.TgZ(19,"option",28),e._uU(20,"Red"),e.qZA(),e.TgZ(21,"option",29),e._uU(22,"Brown"),e.qZA(),e.TgZ(23,"option",30),e._uU(24,"Blue Gray"),e.qZA(),e.YNc(25,zc,13,12,"option",34),e.qZA()(),e.TgZ(26,"div",18),e.YNc(27,nl,1,0,"i",35),e.qZA(),e.TgZ(28,"div",18),e.YNc(29,ks,1,0,"i",36),e.qZA(),e.TgZ(30,"div",18),e.YNc(31,il,1,0,"i",37),e.qZA()()}if(2&d){const i=e.oxw(2);e.xp6(2),e.Q6J("ngModel",i.selectDefault),e.xp6(23),e.Q6J("ngForOf",i.themes),e.xp6(2),e.Q6J("ngIf",i.isShowEdit),e.xp6(2),e.Q6J("ngIf",i.isShowApply),e.xp6(2),e.Q6J("ngIf",i.isShowDelete)}}function Qc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",2)(1,"div",13)(2,"button",14),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.customizeTheme())}),e._uU(3,"New theme"),e.qZA()(),e.TgZ(4,"div",15),e._uU(5,"OR"),e.qZA(),e.TgZ(6,"div",3),e.YNc(7,cc,29,2,"div",16)(8,kl,32,5,"div",16),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(7),e.Q6J("ngIf",0===i.themes.length),e.xp6(),e.Q6J("ngIf",i.themes.length>0)}}function pc(d,g){1&d&&(e.TgZ(0,"h6",42),e._uU(1," Themes & Customize Settings\n"),e.qZA())}function ss(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",43)(1,"button",44),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setPurple())}),e.qZA(),e.TgZ(2,"button",45),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setLightBlue())}),e.qZA(),e.TgZ(3,"button",46),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setRoyal())}),e.qZA(),e.TgZ(4,"button",47),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setLightGreen())}),e.qZA(),e.TgZ(5,"button",48),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setGreen())}),e.qZA(),e.TgZ(6,"button",49),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setOrange())}),e.qZA(),e.TgZ(7,"button",50),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setPink())}),e.qZA(),e.TgZ(8,"button",51),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setRed())}),e.qZA(),e.TgZ(9,"button",52),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setBrown())}),e.qZA(),e.TgZ(10,"button",53),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.setBlueGrey())}),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(),e.Udp("background",i.colorPurple),e.xp6(),e.Udp("background",i.colorLightBlue),e.xp6(),e.Udp("background",i.colorRoyal),e.xp6(),e.Udp("background",i.colorLightGreen),e.xp6(),e.Udp("background",i.colorGreen),e.xp6(),e.Udp("background",i.colorOrange),e.xp6(),e.Udp("background",i.colorPink),e.xp6(),e.Udp("background",i.colorRed),e.xp6(),e.Udp("background",i.colorBrown),e.xp6(),e.Udp("background",i.colorBlueGrey)}}function Ss(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",54)(1,"h6"),e._uU(2,"Theme Name:"),e.qZA(),e.TgZ(3,"input",55),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.themeName=l)}),e.qZA(),e.TgZ(4,"h6"),e._uU(5,"Header"),e.qZA(),e.TgZ(6,"div",56)(7,"input",57),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--header-color",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.headerColor=l)}),e.qZA(),e.TgZ(8,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.headerColor=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--header-color",l))}),e.qZA(),e._UZ(9,"i",59),e.qZA(),e.TgZ(10,"div",56)(11,"input",60),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--header-background",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.headerBackground=l)}),e.qZA(),e.TgZ(12,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.headerBackground=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--header-background",l))}),e.qZA(),e._UZ(13,"i",61),e.qZA(),e.TgZ(14,"h6"),e._uU(15,"Footer"),e.qZA(),e.TgZ(16,"div",56)(17,"input",62),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--footer-color",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.footerColor=l)}),e.qZA(),e.TgZ(18,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.footerColor=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--footer-color",l))}),e.qZA(),e._UZ(19,"i",63),e.qZA(),e.TgZ(20,"div",56)(21,"input",64),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--footer-background",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.footerBackground=l)}),e.qZA(),e.TgZ(22,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.footerBackground=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--footer-background",l))}),e.qZA(),e._UZ(23,"i",65),e.qZA(),e.TgZ(24,"h6"),e._uU(25,"Body"),e.qZA(),e.TgZ(26,"div",56)(27,"input",66),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--body-color",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.bodyColor=l)}),e.qZA(),e.TgZ(28,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.bodyColor=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--body-color",l))}),e.qZA(),e._UZ(29,"i",67),e.qZA(),e.TgZ(30,"div",56)(31,"input",68),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--body-background",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.bodyBackground=l)}),e.qZA(),e.TgZ(32,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.bodyBackground=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--body-background",l))}),e.qZA(),e._UZ(33,"i",69),e.qZA(),e.TgZ(34,"div",56)(35,"input",70),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--link",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.link=l)}),e.qZA(),e.TgZ(36,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.link=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--link",l))}),e.qZA(),e._UZ(37,"i",71),e.qZA(),e.TgZ(38,"div",56)(39,"input",72),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--hover-focus",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.hoverFocus=l)}),e.qZA(),e.TgZ(40,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.hoverFocus=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--hover-focus",l))}),e.qZA(),e._UZ(41,"i",73),e.qZA(),e.TgZ(42,"h6"),e._uU(43,"Button"),e.qZA(),e.TgZ(44,"div",56)(45,"input",74),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--button-color",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.buttonColor=l)}),e.qZA(),e.TgZ(46,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.buttonColor=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--button-color",l))}),e.qZA(),e._UZ(47,"i",75),e.qZA(),e.TgZ(48,"div",56)(49,"input",76),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--button-background",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.buttonBackground=l)}),e.qZA(),e.TgZ(50,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.buttonBackground=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--button-background",l))}),e.qZA(),e._UZ(51,"i",77),e.qZA(),e.TgZ(52,"div",56)(53,"input",78),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--button-border",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.buttonBorder=l)}),e.qZA(),e.TgZ(54,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.buttonBorder=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--button-border",l))}),e.qZA(),e._UZ(55,"i",79),e.qZA(),e.TgZ(56,"div",56)(57,"input",80),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--neutral",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.neutral=l)}),e.qZA(),e.TgZ(58,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.neutral=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--neutral",l))}),e.qZA(),e._UZ(59,"i",81),e.qZA(),e.TgZ(60,"h6"),e._uU(61,"Content Background Color"),e.qZA(),e.TgZ(62,"div",56)(63,"input",82),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--offset-one",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.offsetOne=l)}),e.qZA(),e.TgZ(64,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.offsetOne=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--offset-one",l))}),e.qZA(),e._UZ(65,"i",83),e.qZA(),e.TgZ(66,"div",56)(67,"input",84),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--offset-two",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.offsetTwo=l)}),e.qZA(),e.TgZ(68,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.offsetTwo=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--offset-two",l))}),e.qZA(),e._UZ(69,"i",85),e.qZA(),e.TgZ(70,"div",56)(71,"input",86),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--offset-three",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.offsetThree=l)}),e.qZA(),e.TgZ(72,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.offsetThree=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--offset-three",l))}),e.qZA(),e._UZ(73,"i",87),e.qZA(),e.TgZ(74,"div",56)(75,"input",88),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--shade-four",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.shadeFour=l)}),e.qZA(),e.TgZ(76,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.shadeFour=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--shade-four",l))}),e.qZA(),e._UZ(77,"i",89),e.qZA(),e.TgZ(78,"div",56)(79,"input",90),e.NdJ("input",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--accent-three",l.target.value))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.accentThree=l)}),e.qZA(),e.TgZ(80,"button",58),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.accentThree=l)})("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setCustomColor("--accent-three",l))}),e.qZA(),e._UZ(81,"i",91),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(3),e.Q6J("ngModel",i.themeName),e.xp6(4),e.Q6J("ngModel",i.headerColor),e.xp6(),e.Udp("background",i.headerColor),e.Q6J("colorPicker",i.headerColor),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.headerBackground),e.xp6(),e.Udp("background",i.headerBackground),e.Q6J("colorPicker",i.headerBackground),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(4),e.Q6J("ngModel",i.footerColor),e.xp6(),e.Udp("background",i.footerColor),e.Q6J("colorPicker",i.footerColor),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.footerBackground),e.xp6(),e.Udp("background",i.footerBackground),e.Q6J("colorPicker",i.footerBackground),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(4),e.Q6J("ngModel",i.bodyColor),e.xp6(),e.Udp("background",i.bodyColor),e.Q6J("colorPicker",i.bodyColor),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.bodyBackground),e.xp6(),e.Udp("background",i.bodyBackground),e.Q6J("colorPicker",i.bodyBackground),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.link),e.xp6(),e.Udp("background",i.link),e.Q6J("colorPicker",i.link),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.hoverFocus),e.xp6(),e.Udp("background",i.hoverFocus),e.Q6J("colorPicker",i.hoverFocus),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(4),e.Q6J("ngModel",i.buttonColor),e.xp6(),e.Udp("background",i.buttonColor),e.Q6J("colorPicker",i.buttonColor),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.buttonBackground),e.xp6(),e.Udp("background",i.buttonBackground),e.Q6J("colorPicker",i.buttonBackground),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.buttonBorder),e.xp6(),e.Udp("background",i.buttonBorder),e.Q6J("colorPicker",i.buttonBorder),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.neutral),e.xp6(),e.Udp("background",i.neutral),e.Q6J("colorPicker",i.neutral),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(4),e.Q6J("ngModel",i.offsetOne),e.xp6(),e.Udp("background",i.offsetOne),e.Q6J("colorPicker",i.offsetOne),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.offsetTwo),e.xp6(),e.Udp("background",i.offsetTwo),e.Q6J("colorPicker",i.offsetTwo),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.offsetThree),e.xp6(),e.Udp("background",i.offsetThree),e.Q6J("colorPicker",i.offsetThree),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.shadeFour),e.xp6(),e.Udp("background",i.shadeFour),e.Q6J("colorPicker",i.shadeFour),e.xp6(),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngModel",i.accentThree),e.xp6(),e.Udp("background",i.accentThree),e.Q6J("colorPicker",i.accentThree),e.xp6(),e.Q6J("matTooltipPosition","right")}}function Wh(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",95),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.saveTheme())}),e._uU(1," Save "),e.qZA()}}function Fu(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",96),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.setColorTheme())}),e._uU(1," Apply "),e.qZA()}}function Bu(d,g){if(1&d&&(e.TgZ(0,"div",92),e.YNc(1,Wh,2,0,"button",93)(2,Fu,2,0,"button",94),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",i.showSaveButton),e.xp6(),e.Q6J("ngIf",i.showApplyButton)}}function Sl(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",95),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.saveTheme())}),e._uU(1," Save "),e.qZA()}}function El(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",96),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.setColorTheme())}),e._uU(1," Apply "),e.qZA()}}function da(d,g){if(1&d&&(e.TgZ(0,"div",92),e.YNc(1,Sl,2,0,"button",93)(2,El,2,0,"button",94),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",i.showSaveButton),e.xp6(),e.Q6J("ngIf",i.showApplyButton)}}let Xh=(()=>{class d{constructor(i,c,l,x,ke,Mt){this._colorsService=i,this._predefinedTemplatesService=c,this._sharedService=l,this._storage=x,this._snack=ke,this._templateService=Mt,this.themesEE=new e.vpe,this.colorsEE=new e.vpe,this.loading=!0,this._starterTheme="",this._isCollapsedTheme=!1,this._isCollapsedPalette=!0,this._isCollapsedBrand=!0,this._colorDefault={},this.themeName="",this._starterTheme="",this.showDesign=!1,this.themes=[],this.showSaveButton=!1,this.showApplyButton=!1,this.showResetButton=!1,this.isEditTheme=!1,this.isNewTheme=!1,this.isShowApply=!1,this.isShowEdit=!1,this.isShowDelete=!1,this.selectDefault="None",this.colorLight="linear-gradient(to bottom right, #aaa, lightgrey)",this.colorDark="linear-gradient(to bottom right, darkgrey, #454545)",this.colorPurpleRain="linear-gradient(to bottom right, #e1bee7, #311b92)",this.colorPurple="linear-gradient(to bottom right, #e1bee7, #ba68c8)",this.colorMidnightBlue="linear-gradient(to bottom right, #3F51B5, #1a237e)",this.colorLightBlue="linear-gradient(to bottom right, #64b5f6, #1976d2)",this.colorBlue="linear-gradient(to bottom right, #64b5f6, #1976d2)",this.colorCyan="linear-gradient(to bottom right, #4dd0e1, #00838f)",this.colorTeal="linear-gradient(to bottom right, #4db6ac, #00695c)",this.colorGreen="linear-gradient(to bottom right, #81c784, #1b5e20)",this.colorLightGreen="linear-gradient(to bottom right, #aed581, #558b2f)",this.colorLime="linear-gradient(to bottom right, #dce775, #9e9d24)",this.colorYellow="linear-gradient(to bottom right, #fff176, #f9a825)",this.colorAmber="linear-gradient(to bottom right, #ffd54f, #ff8f00)",this.colorOrange="linear-gradient(to bottom right, #ffdca8, #ff9800)",this.colorDeepOrange="linear-gradient(to bottom right, #ffb74d, #e64a19)",this.colorRed="linear-gradient(to bottom right, #e57373, #7F0000)",this.colorPink="linear-gradient(to bottom right, #ffa2c3, #ad1457)",this.colorBrown="linear-gradient(to bottom right, #a1887f, #4e342e)",this.colorBlueGrey="linear-gradient(to bottom right, #90a4ae, #37474f)",this.colorRoyal="linear-gradient(to bottom right, #039be5, #1a237e)"}ngOnChanges(i){if(i){if(i.color){this.showApplyButton=!1,this.showResetButton=!1,this.showSaveButton=!1,this.isEditTheme&&(this.showApplyButton=!0,this.showSaveButton=!0);const c=i.color.currentValue;this.color=c[0],this._colorDefault=c[0],this.color&&this.getColorPalette()}i.themes&&(this.themes=i.themes.currentValue),i.showSaveApply&&1==i.showSaveApply.currentValue&&(this.showSaveButton=!0,this.showApplyButton=!0)}}backButton(){this.showDesign=!1,this.showApplyButton=!1,this.showResetButton=!1,this.showSaveButton=!1,this.isShowApply=!1,this.isShowEdit=!1,this.isShowDelete=!1,this.isNewTheme=!1,this.selectDefault="None",this.removeColors(),this._colorDefault&&this.getDefaults()}deleteTheme(){this._snack.open("Are you sure? ","Yes",{duration:5e3,verticalPosition:"top"}).onAction().subscribe(()=>{if(this._themeId){const i=this._storage.getCid(),c=this._storage.getLid();this._templateService.deleteTheme(i,c,this._themeId).subscribe(l=>{"200 OK"==l.status?(this.themes=l.data[0].themes,this.openSnackBar(l.message,"ok"),this._colorDefault&&this.getDefaults(),this.isShowApply=!1,this.isShowEdit=!1,this.isShowDelete=!1,this.selectDefault="None"):"Fail"==l.status&&this.openSnackBar(l.message,"ok")})}else this.openSnackBar("incorrect theme id","ok")})}applyTheme(){this.setColorTheme()}editTheme(){this.isNewTheme=!1,this.isEditTheme=!0,this.showDesign=!0,this.showApplyButton=!0,this.showResetButton=!0,this.showSaveButton=!0}selectOption(i){const c=i.target.value;if(this._currentTheme=void 0,"none"!=c)if("Lavender"==c||"LBlue"==c||"RBlue"==c||"LGreen"==c||"OGreen"==c||"Orange"==c||"Pink"==c||"Red"==c||"Brown"==c||"BGray"==c)this.setDropDownTheme(c),this.isShowApply=!0,this.isShowEdit=!1,this.isShowDelete=!1;else{const x=this.themes.slice();for(let ke=0;ke<x.length;ke++){const Mt=x[ke];Mt._id==c&&(this._currentTheme=Mt,this._themeId=c,this._currentTheme.themeName&&(this.themeName=this._currentTheme.themeName),this.getCurrentTheme(),this.isShowApply=!0,this.isShowEdit=!0,this.isShowDelete=!0)}}else this._currentTheme=void 0,this.isShowApply=!1,this.isShowEdit=!1,this.isShowDelete=!1}setDropDownTheme(i){switch(i){case"Lavender":default:this.setPurple();break;case"LBlue":this.setLightBlue();break;case"RBlue":this.setRoyal();break;case"LGreen":this.setLightGreen();break;case"OGreen":this.setGreen();break;case"Orange":this.setOrange();break;case"Pink":this.setPink();break;case"Red":this.setRed();break;case"Brown":this.setBrown();break;case"BGray":this.setBlueGrey()}}customizeTheme(){this.showDesign=!0,this.themeName="",this.showApplyButton=!0,this.showSaveButton=!0,this.showResetButton=!0,this.isEditTheme=!1,this.isNewTheme=!0,this.removeColors(),this._colorDefault?(console.log("color defaults is defined"),console.log(this._colorDefault),this.getDefaults()):(console.log("color defaults is undefined"),console.log(this._colorDefault),this._currentTheme=this._colorsService.defaultColorTheme(),this.getCurrentTheme())}saveTheme(){if("Lavender"==this.themeName&&(this.themeName="purple0011-0022"),"Royal Blue"==this.themeName&&(this.themeName="royal0011-0022"),"Light Blue"==this.themeName&&(this.themeName="lightblue0011-0022"),"Olive Green"==this.themeName&&(this.themeName="olivegreen0011-0022"),"Light Green"==this.themeName&&(this.themeName="lightgreen0011-0022"),"Orange"==this.themeName&&(this.themeName="orange0011-0022"),"Red"==this.themeName&&(this.themeName="red0011-0022"),"Pink"==this.themeName&&(this.themeName="pink0011-0022"),"Brown"==this.themeName&&(this.themeName="brown0011-0022"),"Blue Gray"==this.themeName&&(this.themeName="bluegrey0011-0022"),/\S/.test(this.themeName)&&null!=this.themeName){const i=this._storage.getCid(),c=this._storage.getLid(),l={themeName:this.themeName,typeOf:this._typeOf,shadeBase:this.shadeBase,shadeOne:this.shadeOne,shadeTwo:this.shadeTwo,shadeThree:this.shadeThree,shadeFour:this.shadeFour,neutral:this.neutral,offsetOne:this.offsetOne,offsetTwo:this.offsetTwo,offsetThree:this.offsetThree,offsetFour:this.offsetFour,accentOne:this.accentOne,accentTwo:this.accentTwo,accentThree:this.accentThree,accentFour:this.accentFour,headerBackground:this.headerBackground,headerColor:this.headerColor,footerBackground:this.footerBackground,footerColor:this.footerColor,boxShadows:this.boxShadows,dropShadows:this.dropShadows,link:this.link,hoverFocus:this.hoverFocus,bodyColor:this.bodyColor,bodyBackground:this.bodyBackground,buttonColor:this.buttonColor,buttonBackground:this.buttonBackground,buttonBorder:this.buttonBorder,fontFamilySansSerif:this.fontFamilySansSerif,fontFamilyMonospace:this.fontFamilyMonospace,h1Size:this.h1Size,h1Color:this.h1Color,h2Size:this.h2Size,h2Color:this.h2Color,h3Size:this.h3Size,h3Color:this.h3Color};if(this.isEditTheme){if(this.isEditTheme){const x={cid:i,lid:c,libId:this._storage.getItem("libId"),themeId:this._currentTheme._id,theme:l};this._templateService.updateTheme(x).subscribe(ke=>{if("200 OK"==ke.status){const Mt=ke.message;this.themes=ke.data.themes,this.themesEE.emit(this.themes),this.openSnackBar(Mt,"ok")}})}}else this._templateService.setTheme({cid:i,lid:c,theme:l}).subscribe(ke=>{if("200 OK"===ke.status){const Mt=ke.message;this.themes=ke.data[0].themes,this.themesEE.emit(this.themes),this.openSnackBar(Mt,"ok")}})}else this.openSnackBar("Enter a theme name","ok")}getCurrentTheme(){this._starterTheme=this._currentTheme.starterTheme,this._typeOf=this._currentTheme.typeOf,this.shadeBase=this._currentTheme.shadeBase,this.shadeOne=this._currentTheme.shadeOne,this.shadeTwo=this._currentTheme.shadeTwo,this.shadeThree=this._currentTheme.shadeThree,this.shadeFour=this._currentTheme.shadeFour,this.neutral=this._currentTheme.neutral,this.offsetOne=this._currentTheme.offsetOne,this.offsetTwo=this._currentTheme.offsetTwo,this.offsetThree=this._currentTheme.offsetThree,this.offsetFour=this._currentTheme.offsetFour,this.accentOne=this._currentTheme.accentOne,this.accentOne=this._currentTheme.accentTwo,this.accentThree=this._currentTheme.accentThree,this.accentFour=this._currentTheme.accentFour,this.headerBackground=this._currentTheme.headerBackground,this.headerColor=this._currentTheme.headerColor,this.footerBackground=this._currentTheme.footerBackground,this.footerColor=this._currentTheme.footerColor,this.boxShadows=this._currentTheme.boxShadows,this.dropShadows=this._currentTheme.dropShadows,this.link=this._currentTheme.link,this.hoverFocus=this._currentTheme.hoverFocus,this.bodyColor=this._currentTheme.bodyColor,this.bodyBackground=this._currentTheme.bodyBackground,this.buttonColor=this._currentTheme.buttonColor,this.buttonBackground=this._currentTheme.buttonBackground,this.buttonBorder=this._currentTheme.buttonBorder,this.fontFamilySansSerif=this._currentTheme.fontFamilySansSerif,this.fontFamilyMonospace=this._currentTheme.fontFamilyMonospace,this.h1Size=this._currentTheme.h1Size,this.h1Color=this._currentTheme.h1Color,this.h2Size=this._currentTheme.h2Size,this.h2Color=this._currentTheme.h2Color,this.h3Size=this._currentTheme.h3Size,this.h3Color=this._currentTheme.h3Color,this._currentTheme&&("purple0011-0022"==this._currentTheme.themeName&&(this.themeName="Lavender"),"royal0011-0022"==this._currentTheme.themeName&&(this.themeName="Royal Blue"),"lightblue0011-0022"==this._currentTheme.themeName&&(this.themeName="Light Blue"),"olivegreen0011-0022"==this._currentTheme.themeName&&(this.themeName="Olive Green"),"lightgreen0011-0022"==this._currentTheme.themeName&&(this.themeName="Light Green"),"orange0011-0022"==this._currentTheme.themeName&&(this.themeName="Orange"),"red0011-0022"==this._currentTheme.themeName&&(this.themeName="Red"),"pink0011-0022"==this._currentTheme.themeName&&(this.themeName="Pink"),"brown0011-0022"==this._currentTheme.themeName&&(this.themeName="Brown"),"bluegrey0011-0022"==this._currentTheme.themeName&&(this.themeName="Blue Gray")),this.resetColors()}getColorPalette(){this.themeName=this.color.themeName,this._starterTheme=this.color.starterTheme,this._typeOf=this.color.typeOf,this.shadeBase=this.color.shadeBase,this.shadeOne=this.color.shadeOne,this.shadeTwo=this.color.shadeTwo,this.shadeThree=this.color.shadeThree,this.shadeFour=this.color.shadeFour,this.neutral=this.color.neutral,this.offsetOne=this.color.offsetOne,this.offsetTwo=this.color.offsetTwo,this.offsetThree=this.color.offsetThree,this.offsetFour=this.color.offsetFour,this.accentOne=this.color.accentOne,this.accentOne=this.color.accentTwo,this.accentThree=this.color.accentThree,this.accentFour=this.color.accentFour,this.headerBackground=this.color.headerBackground,this.headerColor=this.color.headerColor,this.footerBackground=this.color.footerBackground,this.footerColor=this.color.footerColor,this.boxShadows=this.color.boxShadows,this.dropShadows=this.color.dropShadows,this.link=this.color.link,this.hoverFocus=this.color.hoverFocus,this.bodyColor=this.color.bodyColor,this.bodyBackground=this.color.bodyBackground,this.buttonColor=this.color.buttonColor,this.buttonBackground=this.color.buttonBackground,this.buttonBorder=this.color.buttonBorder,this.fontFamilySansSerif=this.color.fontFamilySansSerif,this.fontFamilyMonospace=this.color.fontFamilyMonospace,this.h1Size=this.color.h1Size,this.h1Color=this.color.h1Color,this.h2Size=this.color.h2Size,this.h2Color=this.color.h2Color,this.h3Size=this.color.h3Size,this.h3Color=this.color.h3Color,this.color&&("purple0011-0022"==this.color.themeName&&(this.themeName="Lavender"),"royal0011-0022"==this.color.themeName&&(this.themeName="Royal Blue"),"lightblue0011-0022"==this.color.themeName&&(this.themeName="Light Blue"),"olivegreen0011-0022"==this.color.themeName&&(this.themeName="Olive Green"),"lightgreen0011-0022"==this.color.themeName&&(this.themeName="Light Green"),"orange0011-0022"==this.color.themeName&&(this.themeName="Orange"),"red0011-0022"==this.color.themeName&&(this.themeName="Red"),"pink0011-0022"==this.color.themeName&&(this.themeName="Pink"),"brown0011-0022"==this.color.themeName&&(this.themeName="Brown"),"bluegrey0011-0022"==this.color.themeName&&(this.themeName="Blue Gray"))}setCustomColor(i,c){document.documentElement.style.removeProperty(i),document.documentElement.style.setProperty(i,c)}openTheme(){1==this._isCollapsedTheme?(this._isCollapsedTheme=!1,this._isCollapsedPalette=!0,this._isCollapsedBrand=!0):this._isCollapsedTheme=!0}openPalette(){1==this._isCollapsedPalette?(this._isCollapsedTheme=!0,this._isCollapsedPalette=!1,this._isCollapsedBrand=!0):this._isCollapsedPalette=!0}openBranding(){1==this._isCollapsedBrand?(this._isCollapsedTheme=!0,this._isCollapsedPalette=!0,this._isCollapsedBrand=!1):this._isCollapsedBrand=!0}removeColors(){document.body.className="",this.themeName="",this._starterTheme="",document.documentElement.style.removeProperty("--shade-base"),document.documentElement.style.removeProperty("--shade-one"),document.documentElement.style.removeProperty("--shade-two"),document.documentElement.style.removeProperty("--shade-three"),document.documentElement.style.removeProperty("--shade-four"),document.documentElement.style.removeProperty("--neutral"),document.documentElement.style.removeProperty("--offset-one"),document.documentElement.style.removeProperty("--secondary-text"),document.documentElement.style.removeProperty("--offset-two"),document.documentElement.style.removeProperty("--dark-primary-color"),document.documentElement.style.removeProperty("--offset-three"),document.documentElement.style.removeProperty("--offset-four"),document.documentElement.style.removeProperty("--primary-text"),document.documentElement.style.removeProperty("--accent-one"),document.documentElement.style.removeProperty("--accent-two"),document.documentElement.style.removeProperty("--accent-three"),document.documentElement.style.removeProperty("--accent-four"),document.documentElement.style.removeProperty("--text-icons"),document.documentElement.style.removeProperty("--light-primary-color"),document.documentElement.style.removeProperty("--divider-color"),document.documentElement.style.removeProperty("--button-color"),document.documentElement.style.removeProperty("--button-background"),document.documentElement.style.removeProperty("--body-color"),document.documentElement.style.removeProperty("--body-background"),document.documentElement.style.removeProperty("--header-background"),document.documentElement.style.removeProperty("--header-color"),document.documentElement.style.removeProperty("--footer-background"),document.documentElement.style.removeProperty("--footer-color"),document.documentElement.style.removeProperty("--box-shadows"),document.documentElement.style.removeProperty("--drop-shadows"),document.documentElement.style.removeProperty("--link"),document.documentElement.style.removeProperty("--hover-focus"),document.documentElement.style.removeProperty("--bs-primary"),document.documentElement.style.removeProperty("--bs-secondary"),document.documentElement.style.removeProperty("--bs-info"),document.documentElement.style.removeProperty("--bs-warning"),document.documentElement.style.removeProperty("--bs-danger"),document.documentElement.style.removeProperty("--bs-light"),document.documentElement.style.removeProperty("--bs-dark")}setColorTheme(){"Lavender"==this.themeName&&(this.themeName="purple0011-0022"),"Royal Blue"==this.themeName&&(this.themeName="royal0011-0022"),"Light Blue"==this.themeName&&(this.themeName="lightblue0011-0022"),"Olive Green"==this.themeName&&(this.themeName="olivegreen0011-0022"),"Light Green"==this.themeName&&(this.themeName="lightgreen0011-0022"),"Orange"==this.themeName&&(this.themeName="orange0011-0022"),"Red"==this.themeName&&(this.themeName="red0011-0022"),"Pink"==this.themeName&&(this.themeName="pink0011-0022"),"Brown"==this.themeName&&(this.themeName="brown0011-0022"),"Blue Gray"==this.themeName&&(this.themeName="bluegrey0011-0022");const i=this._storage.getCid(),c=this._storage.getLid();this._templateService.setHeader({cid:i,lid:c,styles:[{typeOf:this._typeOf,shadeBase:this.shadeBase,shadeOne:this.shadeOne,shadeTwo:this.shadeTwo,shadeThree:this.shadeThree,shadeFour:this.shadeFour,neutral:this.neutral,offsetOne:this.offsetOne,offsetTwo:this.offsetTwo,offsetThree:this.offsetThree,offsetFour:this.offsetFour,accentOne:this.accentOne,accentTwo:this.accentTwo,accentThree:this.accentThree,accentFour:this.accentFour,headerBackground:this.headerBackground,headerColor:this.headerColor,footerBackground:this.footerBackground,footerColor:this.footerColor,boxShadows:this.boxShadows,dropShadows:this.dropShadows,link:this.link,hoverFocus:this.hoverFocus,bodyColor:this.bodyColor,bodyBackground:this.bodyBackground,buttonColor:this.buttonColor,buttonBackground:this.buttonBackground,buttonBorder:this.buttonBorder,fontFamilySansSerif:this.fontFamilySansSerif,fontFamilyMonospace:this.fontFamilyMonospace,h1Size:this.h1Size,h1Color:this.h1Color,h2Size:this.h2Size,h2Color:this.h2Color,h3Size:this.h3Size,h3Color:this.h3Color,starterTheme:this._starterTheme,themeName:this.themeName?this.themeName:""}]}).subscribe(x=>{if("200 OK"===x.status){const ke="Color Theme Updated";this.colorsEE.emit(x.data[0].styles),this.color=x.data[0].styles[0],this.color&&this.getColorPalette(),this._colorDefault=this.color,this.openSnackBar(ke,"ok"),this.getHeader(i,c)}})}getDefaults(){this.themeName=this._colorDefault.themeName?this._colorDefault.themeName:"",this._starterTheme=this._colorDefault.starterTheme,this._typeOf=this._colorDefault.typeOf,this.shadeBase=this._colorDefault.shadeBase,this.shadeOne=this._colorDefault.shadeOne,this.shadeTwo=this._colorDefault.shadeTwo,this.shadeThree=this._colorDefault.shadeThree,this.shadeFour=this._colorDefault.shadeFour,this.neutral=this._colorDefault.neutral,this.offsetOne=this._colorDefault.offsetOne,this.offsetTwo=this._colorDefault.offsetTwo,this.offsetThree=this._colorDefault.offsetThree,this.offsetFour=this._colorDefault.offsetFour,this.accentOne=this._colorDefault.accentOne,this.accentOne=this._colorDefault.accentTwo,this.accentThree=this._colorDefault.accentThree,this.accentFour=this._colorDefault.accentFour,this.headerBackground=this._colorDefault.headerBackground,this.headerColor=this._colorDefault.headerColor,this.footerBackground=this._colorDefault.footerBackground,this.footerColor=this._colorDefault.footerColor,this.boxShadows=this._colorDefault.boxShadows,this.dropShadows=this._colorDefault.dropShadows,this.link=this._colorDefault.link,this.hoverFocus=this._colorDefault.hoverFocus,this.bodyColor=this._colorDefault.bodyColor,this.bodyBackground=this._colorDefault.bodyBackground,this.buttonColor=this._colorDefault.buttonColor,this.buttonBackground=this._colorDefault.buttonBackground,this.buttonBorder=this._colorDefault.buttonBorder,this.fontFamilySansSerif=this._colorDefault.fontFamilySansSerif,this.fontFamilyMonospace=this._colorDefault.fontFamilyMonospace,this.h1Size=this._colorDefault.h1Size,this.h1Color=this._colorDefault.h1Color,this.h2Size=this._colorDefault.h2Size,this.h2Color=this._colorDefault.h2Color,this.h3Size=this._colorDefault.h3Size,this.h3Color=this._colorDefault.h3Color,this._colorDefault&&("purple0011-0022"==this._colorDefault.themeName&&(this.themeName="Lavender"),"royal0011-0022"==this._colorDefault.themeName&&(this.themeName="Royal Blue"),"lightblue0011-0022"==this._colorDefault.themeName&&(this.themeName="Light Blue"),"olivegreen0011-0022"==this._colorDefault.themeName&&(this.themeName="Olive Green"),"lightgreen0011-0022"==this._colorDefault.themeName&&(this.themeName="Light Green"),"orange0011-0022"==this._colorDefault.themeName&&(this.themeName="Orange"),"red0011-0022"==this._colorDefault.themeName&&(this.themeName="Red"),"pink0011-0022"==this._colorDefault.themeName&&(this.themeName="Pink"),"brown0011-0022"==this._colorDefault.themeName&&(this.themeName="Brown"),"bluegrey0011-0022"==this._colorDefault.themeName&&(this.themeName="Blue Gray")),this.resetColors()}getHeader(i,c){i&&c&&"undefined"!==i&&"undefined"!==c&&(this._headerSubscription=this._predefinedTemplatesService.getHeader(i,c).subscribe(l=>{"200 OK"==l.status&&(l.data.length>0?(this._storage.setItem("layoutSettings",l.data[0]),this._sharedService.setHeader(l.data[0])):0==l.data.length&&this._storage.setItem("layoutSettings",l.data[0]))}))}resetColors(){document.documentElement.style.removeProperty("--shade-base"),document.documentElement.style.removeProperty("--shade-one"),document.documentElement.style.removeProperty("--shade-two"),document.documentElement.style.removeProperty("--shade-three"),document.documentElement.style.removeProperty("--shade-four"),document.documentElement.style.removeProperty("--neutral"),document.documentElement.style.removeProperty("--offset-one"),document.documentElement.style.removeProperty("--offset-two"),document.documentElement.style.removeProperty("--offset-three"),document.documentElement.style.removeProperty("--offset-four"),document.documentElement.style.removeProperty("--accent-one"),document.documentElement.style.removeProperty("--accent-two"),document.documentElement.style.removeProperty("--accent-three"),document.documentElement.style.removeProperty("--accent-four"),document.documentElement.style.removeProperty("--text-icons"),document.documentElement.style.removeProperty("--primary-text"),document.documentElement.style.removeProperty("--light"),document.documentElement.style.removeProperty("--light-primary-color"),document.documentElement.style.removeProperty("--dark"),document.documentElement.style.removeProperty("--dark-primary-color"),document.documentElement.style.removeProperty("--secondary-text"),document.documentElement.style.removeProperty("--divider-color"),document.documentElement.style.removeProperty("--warning"),document.documentElement.style.removeProperty("--secondary"),document.documentElement.style.removeProperty("--info"),document.documentElement.style.removeProperty("--header-color"),document.documentElement.style.removeProperty("--header-background"),document.documentElement.style.removeProperty("--footer-color"),document.documentElement.style.removeProperty("--footer-background"),document.documentElement.style.removeProperty("--body-color"),document.documentElement.style.removeProperty("--body-background"),document.documentElement.style.removeProperty("--link"),document.documentElement.style.removeProperty("--hover-focus"),document.documentElement.style.removeProperty("--button-color"),document.documentElement.style.removeProperty("--button-background"),document.documentElement.style.removeProperty("--button-border"),document.documentElement.style.removeProperty("--neutral"),document.documentElement.style.removeProperty("--offset-one"),document.documentElement.style.removeProperty("--offset-two"),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo)}setLight(){this.removeColors(),this._starterTheme="light",this._typeOf="mat-light",this.shadeBase="#333",this.shadeOne="#212121",this.shadeTwo="#424242",this.shadeThree="#616161",this.shadeFour="#757575",this.neutral="#9e9e9e",this.offsetOne="#bdbdbd",this.offsetTwo="#e0e0e0",this.offsetThree="#eeeeee",this.offsetFour="#fafafa",this.accentOne="#8c9eff",this.accentTwo="#536dfe",this.accentThree="#3d5afe",this.accentFour="#304ffe",this.headerBackground="#fafafa",this.headerColor="#212121",this.footerBackground="#fafafa",this.footerColor="#212121",this.boxShadows="#212121",this.dropShadows="#212121",this.link="#303650",this.hoverFocus="#111d50",this.bodyColor="#212121",this.bodyBackground="#fafafa",this.buttonColor="#fafafa",this.buttonBackground="#111d50",this.buttonBorder="#111d50",this.fontFamilySansSerif=" ",this.fontFamilyMonospace=" ",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setDark(){this.removeColors(),this._starterTheme="dark",this._typeOf="mat-dark",this.shadeBase="#fafafa",this.shadeOne="#f5f5f5",this.shadeTwo="#eeeeee",this.shadeThree="#e0e0e0",this.shadeFour="#bdbdbd",this.neutral="#9e9e9e",this.offsetOne="#757575",this.offsetTwo="#616161",this.offsetThree="#424242",this.offsetFour="#212121",this.accentOne="#8c9eff",this.accentTwo="#536dfe",this.accentThree="#3d5afe",this.accentFour="#304ffe",this.headerBackground="#212121",this.headerColor="#fafafa",this.footerBackground="#212121",this.footerColor="#fafafa",this.boxShadows="#212121",this.dropShadows="#212121",this.link="#1ab6ff",this.hoverFocus="#40c4ff",this.bodyColor="#fafafa",this.bodyBackground="#333",this.buttonColor="#fafafa",this.buttonBackground="#0091ea",this.buttonBorder="#0091ea",this.fontFamilySansSerif=" ",this.fontFamilyMonospace=" ",this.h1Size="21px",this.h1Color="#fafafa",this.h2Size="#18px",this.h2Color="#fafafa",this.h3Size="#15px",this.h3Color="#fafafa",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setPurple(){this.removeColors(),this.themeName="Lavender",this._starterTheme="purple",this._typeOf="mat-purple",this.shadeBase="#f3e5f5",this.shadeOne="#e1bee7",this.shadeTwo="#ce93d8",this.shadeThree="#C681D0",this.shadeFour="#000000",this.neutral="#E0AAEE",this.offsetOne="#D16FE2",this.offsetTwo="#D16FE2",this.offsetThree="#D16FE2",this.offsetFour="#D16FE2",this.accentOne="#ea80fc",this.accentTwo="#F093FB",this.accentThree="#8C009E",this.accentFour="#D761FF",this.headerBackground="#ead3ee",this.headerColor="#000000",this.footerBackground="#ead3ee",this.footerColor="#000000",this.bodyColor="#000000",this.bodyBackground="#fef7ff",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#B185EF",this.hoverFocus="#C475E6",this.buttonColor="#fafafa",this.buttonBackground="#CF75E1",this.buttonBorder="#CF71E0",this.fontFamilySansSerif="#dcedc8",this.fontFamilyMonospace="#dcedc8",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setPurpleRain(){this.removeColors(),this._starterTheme="purplerain",this._typeOf="mat-deep-purple",this.shadeBase="#311b92",this.shadeOne="#d1c4e9",this.shadeTwo="#b39ddb",this.shadeThree="#9575cd",this.shadeFour="#7e57c2",this.neutral="#673ab7",this.offsetOne="#5e35b1",this.offsetTwo="#68588e",this.offsetThree="#a591df",this.offsetFour="#311b92",this.accentOne="#b388ff",this.accentTwo="#7c4dff",this.accentThree="#651fff",this.accentFour="#6200ea",this.headerBackground="#35154b",this.headerColor="#fafafa",this.footerBackground="#35154b",this.footerColor="#fafafa",this.boxShadows="#212121",this.dropShadows="#212121",this.link="#5e35b1",this.hoverFocus="#7e57c2",this.bodyColor="#212121",this.bodyBackground="#FEF9F6",this.buttonColor="#fafafa",this.buttonBackground="#7c4dff",this.buttonBorder="#7c4dff",this.fontFamilySansSerif=" ",this.fontFamilyMonospace=" ",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setMidnightBlue(){this.removeColors(),this._starterTheme="midblue",this._typeOf="mat-blue",this.shadeBase="#e8eaf6",this.shadeOne="#c5cae9",this.shadeTwo="#9fa8da",this.shadeThree="#7986cb",this.shadeFour="#5c6bc0",this.neutral="#3f51b5",this.offsetOne="#3949ab",this.offsetTwo="#303f9f",this.offsetThree="#283593",this.offsetFour="#1a237e",this.accentOne="#8c9eff",this.accentTwo="#536dfe",this.accentThree="#3d5afe",this.accentFour="#304ffe",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setBlue(){this.removeColors(),this._starterTheme="blue",this._typeOf="mat-blue",this.shadeBase="#e3f2fd",this.shadeOne="#bbdefb",this.shadeTwo="#90caf9",this.shadeThree="#64b5f6",this.shadeFour="#42a5f5",this.neutral="#2196f3",this.offsetOne="#1e88e5",this.offsetTwo="#1976d2",this.offsetThree="#1565c0",this.offsetFour="#0d47a1",this.accentOne="#82b1ff",this.accentTwo="#448aff",this.accentThree="#2979ff",this.accentFour="#2962ff",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setLightBlue(){this.removeColors(),this.themeName="Light Blue",this._starterTheme="lightblue",this._typeOf="mat-light-blue",this.shadeBase="#e1f5fe",this.shadeOne="#b3e5fc",this.shadeTwo="#81d4fa",this.shadeThree="#4fc3f7",this.shadeFour="#000000",this.neutral="#03a9f4",this.offsetOne="#03A3F2",this.offsetTwo="#76b4d6",this.offsetThree="#8bccf2",this.offsetFour="#1599FE",this.accentOne="#80d8ff",this.accentTwo="#40c4ff",this.accentThree="#005685",this.accentFour="#009EFF",this.headerBackground="#cde2ec",this.headerColor="#000000",this.footerBackground="#cde2ec",this.footerColor="#000000",this.bodyColor="#000000",this.bodyBackground="#fbfeff",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#149BFF",this.hoverFocus="#1599FE",this.buttonColor="#fafafa",this.buttonBackground="#2FA3FE",this.buttonBorder="#2FA3FE",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setCyan(){this.removeColors(),this._starterTheme="cyan",this._typeOf="mat-cyan",this.shadeBase="#006064",this.shadeOne="#b2ebf2",this.shadeTwo="#80deea",this.shadeThree="#4dd0e1",this.shadeFour="#26c6da",this.neutral="#00bcd4",this.offsetOne="#006064",this.offsetTwo="#276b72",this.offsetThree="#00838f",this.offsetFour="#006064",this.accentOne="#84ffff",this.accentTwo="#18ffff",this.accentThree="#00e5ff",this.accentFour="#00b8d4",this.headerBackground="#00838f",this.headerColor="#fafafa",this.footerBackground="#00838f",this.footerColor="#fafafa",this.bodyColor="#212121",this.bodyBackground="#e0f7fa",this.boxShadows="#777777",this.dropShadows="#777777",this.link="#006064",this.hoverFocus="#00838f",this.buttonColor="#fafafa",this.buttonBackground="#276b72",this.buttonBorder="#276b72",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setTeal(){this.removeColors(),this._starterTheme="teal",this._typeOf="mat-teal",this.shadeBase="#004d40",this.shadeOne="#b2dfdb",this.shadeTwo="#80cbc4",this.shadeThree="#4db6ac",this.shadeFour="#26a69a",this.neutral="#009688",this.offsetOne="#00897b",this.offsetTwo="#3e887f",this.offsetThree="#49a498",this.offsetFour="#004d40",this.accentOne="#a7ffeb",this.accentTwo="#64ffda",this.accentThree="#1de9b6",this.accentFour="#00bfa5",this.headerBackground="#1ea192",this.headerColor="#fafafa",this.footerBackground="#1ea192",this.footerColor="#fafafa",this.bodyColor="#212121",this.bodyBackground="#e0f2f1",this.boxShadows="#777777",this.dropShadows="#777777",this.link="#004d40",this.hoverFocus="#00695c",this.buttonColor="#fafafa",this.buttonBackground="#004d40",this.buttonBorder="#004d40",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setGreen(){this.removeColors(),this.themeName="Olive Green",this._starterTheme="olivegreen",this._typeOf="mat-green",this.shadeBase="#2EAD36",this.shadeOne="#c8e6c9",this.shadeTwo="#a5d6a7",this.shadeThree="#81c784",this.shadeFour="#000000",this.neutral="#4caf50",this.offsetOne="#52B757",this.offsetTwo="#4CCC6A",this.offsetThree="#3FB146",this.offsetFour="#34C63C",this.accentOne="#b9f6ca",this.accentTwo="#69f0ae",this.accentThree="#005726",this.accentFour="#00c853",this.headerBackground="#32AE4E",this.headerColor="#000000",this.footerBackground="#32AE4E",this.footerColor="#000000",this.bodyColor="#000000",this.bodyBackground="#e8f5e9",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#2EAD36",this.hoverFocus="#81c784",this.buttonColor="#000000",this.buttonBackground="#4CCC6A",this.buttonBorder="#3eaa98",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setLightGreen(){this.removeColors(),this.themeName="Light Green",this._starterTheme="lightgreen",this._typeOf="mat-light-green",this.shadeBase="#33691e",this.shadeOne="#dcedc8",this.shadeTwo="#c5e1a5",this.shadeThree="#aed581",this.shadeFour="#9ccc65",this.neutral="#8bc34a",this.offsetOne="#33691e",this.offsetTwo="#c5e1a5",this.offsetThree="#dcedc8",this.offsetFour="#33691e",this.accentOne="#ccff90",this.accentTwo="#b2ff59",this.accentThree="#285C00",this.accentFour="#64dd17",this.headerBackground="#dcedc8",this.headerColor="#000000",this.footerBackground="#dcedc8",this.footerColor="#000000",this.bodyColor="#000000",this.bodyBackground="#f1f8e9",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#33691e",this.hoverFocus="#558b2f",this.buttonColor="#f1f8e9",this.buttonBackground="#33691e",this.buttonBorder="#33691e",this.fontFamilySansSerif="#dcedc8",this.fontFamilyMonospace="#dcedc8",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setLime(){this.removeColors(),this._starterTheme="lime",this._typeOf="mat-lime",this.shadeBase="#f9fbe7",this.shadeOne="#f0f4c3",this.shadeTwo="#e6ee9c",this.shadeThree="#dce775",this.shadeFour="#d4e157",this.neutral="#cddc39",this.offsetOne="#c0ca33",this.offsetTwo="#bce08a",this.offsetThree="#adcd6b",this.offsetFour="#827717",this.accentOne="#f4ff81",this.accentTwo="#eeff41",this.accentThree="#c6ff00",this.accentFour="#aeea00",this.headerBackground="#bdc8a1",this.headerColor="#212121",this.footerBackground="#bdc8a1",this.footerColor="#212121",this.bodyColor="#212121",this.bodyBackground="#f9fbe7",this.boxShadows="#777777",this.dropShadows="#777777",this.link="#827717",this.hoverFocus="#558b2f",this.buttonColor="#212121",this.buttonBackground="#c4e08a",this.buttonBorder="#c4e08a",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setYellow(){this.removeColors(),this._starterTheme="yellow",this._typeOf="mat-yellow",this.shadeBase="#fffde7",this.shadeOne="#fff9c4",this.shadeTwo="#fff59d",this.shadeThree="#fff176",this.shadeFour="#ffee58",this.neutral="#ffeb3b",this.offsetOne="#fdd835",this.offsetTwo="#fbc02d",this.offsetThree="#f9a825",this.offsetFour="#f57f17",this.accentOne="#ffff8d",this.accentTwo="#ffff00",this.accentThree="#ffea00",this.accentFour="#ffd600",this.headerBackground="#bdc8a1",this.headerColor="#212121",this.footerBackground="#bdc8a1",this.footerColor="#212121",this.bodyColor="#212121",this.bodyBackground="#f9fbe7",this.boxShadows="#777777",this.dropShadows="#777777",this.link="#827717",this.hoverFocus="#558b2f",this.buttonColor="#212121",this.buttonBackground="#c4e08a",this.buttonBorder="#c4e08a",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--info",this.offsetOne),document.documentElement.style.setProperty("--warning",this.offsetOne),document.documentElement.style.setProperty("--danger",this.offsetOne),document.documentElement.style.setProperty("--light",this.shadeTwo),document.documentElement.style.setProperty("--dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setAmber(){this.removeColors(),this._starterTheme="amber",this._typeOf="mat-amber",this.shadeBase="#fff8e1",this.shadeOne="#ffecb3",this.shadeTwo="#ffe082",this.shadeThree="#ffd54f",this.shadeFour="#ffca28",this.neutral="#ffc107",this.offsetOne="#ffb300",this.offsetTwo="#ffa000",this.offsetThree="#ff8f00",this.offsetFour="#ff6f00",this.accentOne="#ffe57f",this.accentTwo="#ffd740",this.accentThree="#ffc400",this.accentFour="#ffab00",this.headerBackground="#bdc8a1",this.headerColor="#212121",this.footerBackground="#bdc8a1",this.footerColor="#212121",this.bodyColor="#212121",this.bodyBackground="#f9fbe7",this.boxShadows="#777777",this.dropShadows="#777777",this.link="#827717",this.hoverFocus="#558b2f",this.buttonColor="#212121",this.buttonBackground="#c4e08a",this.buttonBorder="#c4e08a",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setOrange(){this.removeColors(),this.themeName="Orange",this._starterTheme="orange",this._typeOf="mat-orange",this.shadeBase="#fff7f3",this.shadeOne="#ffe0b2",this.shadeTwo="#ffcc80",this.shadeThree="#ffb74d",this.shadeFour="#000000",this.neutral="#ff9800",this.offsetOne="#fb8c00",this.offsetTwo="#ffa242",this.offsetThree="#ffb77c",this.offsetFour="#e65100",this.accentOne="#ffd180",this.accentTwo="#ffab40",this.accentThree="#804700",this.accentFour="#ff6d00",this.headerBackground="#ffe0b2",this.headerColor="#000000",this.footerBackground="#ffe0b2",this.footerColor="#000000",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#e65100",this.hoverFocus="#ef6c00",this.bodyColor="#000000",this.bodyBackground="#FEF9F6",this.buttonColor="#ffb74d",this.buttonBackground="#ff9800",this.buttonBorder="#ff9800",this.fontFamilySansSerif=" ",this.fontFamilyMonospace=" ",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--bs-secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setDeepOrange(){this.removeColors(),this._starterTheme="deeporange",this._typeOf="mat-deep-orange",this.shadeBase="#fbe9e7",this.shadeOne="#ffccbc",this.shadeTwo="#ffab91",this.shadeThree="#ff8a65",this.shadeFour="#ff7043",this.neutral="#ff5722",this.offsetOne="#f4511e",this.offsetTwo="#a53d1c",this.offsetThree="#ff825d",this.offsetFour="#bf360c",this.accentOne="#ff9e80",this.accentTwo="#ff6e40",this.accentThree="#ff3d00",this.accentFour="#dd2c00",this.headerBackground="#ff6200",this.headerColor="#fafafa",this.footerBackground="#ff6200",this.footerColor="#fafafa",this.bodyColor="#212121",this.bodyBackground="#fbe9e7",this.boxShadows="#212121",this.dropShadows="#212121",this.link="#bf360c",this.hoverFocus="#ff8a65",this.buttonColor="#fafafa",this.buttonBackground="#d84315",this.buttonBorder="#d84315",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setRed(){this.removeColors(),this.themeName="Red",this._starterTheme="red",this._typeOf="mat-red",this.shadeBase="#ffebee",this.shadeOne="#ffcdd2",this.shadeTwo="#ef9a9a",this.shadeThree="#e57373",this.shadeFour="#000000",this.neutral="#B88E95",this.offsetOne="#C58C93",this.offsetTwo="#C99CA2",this.offsetThree="#C6858B",this.offsetFour="#E8B0BD",this.accentOne="#ff8a80",this.accentTwo="#FF6161",this.accentThree="#AD0005",this.accentFour="#FF6161",this.headerBackground="#FF6B6B",this.headerColor="#000000",this.footerBackground="#FF6B6B",this.footerColor="#000000",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#FF5C79",this.hoverFocus="#FF5C79",this.bodyColor="#000000",this.bodyBackground="#FFFFFF",this.buttonColor="#fafafa",this.buttonBackground="#FF99AE",this.buttonBorder="#FF99AE",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setPink(){this.removeColors(),this.themeName="Pink",this._starterTheme="pink",this._typeOf="mat-pink",this.shadeBase="#fce4ec",this.shadeOne="#f8bbd0",this.shadeTwo="#f48fb1",this.shadeThree="#F16A98",this.shadeFour="#000000",this.neutral="#F16F9D",this.offsetOne="#EE6898",this.offsetTwo="#fa87b0",this.offsetThree="#ff95c3",this.offsetFour="#EF62B0",this.accentOne="#ff80ab",this.accentTwo="#FF9EC0",this.accentThree="#9E0024",this.accentFour="#F363A2",this.headerBackground="#ffbdd3",this.headerColor="#000000",this.footerBackground="#ffbdd3",this.footerColor="#000000",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#F165B5",this.hoverFocus="#FF5791",this.bodyColor="#000000",this.bodyBackground="#fce4ec",this.buttonColor="#fafafa",this.buttonBackground="#F58FB5",this.buttonBorder="#F58FB5",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setBrown(){this.removeColors(),this.themeName="Brown",this._starterTheme="brown",this._typeOf="mat-brown",this.shadeBase="#efebe9",this.shadeOne="#d7ccc8",this.shadeTwo="#bcaaa4",this.shadeThree="#AA958D",this.shadeFour="#000000",this.neutral="#B58F82",this.offsetOne="#BB998B",this.offsetTwo="#AA9A92",this.offsetThree="#C3B9B6",this.offsetFour="#BC908A",this.accentOne="#eeeeee",this.accentTwo="#9e9e9e",this.accentThree="#4A4A4A",this.accentFour="#9C9C9C",this.headerBackground="#B48C83",this.headerColor="#000000",this.footerBackground="#B48C83",this.footerColor="#000000",this.bodyColor="#000000",this.bodyBackground="#f1eded",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#BA8C87",this.hoverFocus="#BA8C87",this.buttonColor="#fafafa",this.buttonBackground="#ACA09A",this.buttonBorder="#ACA09A",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setBlueGrey(){this.removeColors(),this.themeName="Blue Gray",this._starterTheme="bluegrey",this._typeOf="mat-blue-grey",this.shadeBase="#eceff1",this.shadeOne="#cfd8dc",this.shadeTwo="#b0bec5",this.shadeThree="#90a4ae",this.shadeFour="#000000",this.neutral="#7D9AA5",this.offsetOne="#7C9CA6",this.offsetTwo="#92A3A5",this.offsetThree="#AEC4C6",this.offsetFour="#A3B8C2",this.accentOne="#eeeeee",this.accentTwo="#9e9e9e",this.accentThree="#4F4F4F",this.accentFour="#A3A3A3",this.headerBackground="#CDDADA",this.headerColor="#000000",this.footerBackground="#CDDADA",this.footerColor="#000000",this.bodyColor="#000000",this.bodyBackground="#eceff1",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#5B96F0",this.hoverFocus="#5B96F0",this.buttonColor="#fafafa",this.buttonBackground="#669EFF",this.buttonBorder="#669EFF",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--bs-secondary",this.offsetOne),document.documentElement.style.setProperty("--bs-info",this.offsetOne),document.documentElement.style.setProperty("--bs-warning",this.offsetOne),document.documentElement.style.setProperty("--bs-danger",this.offsetOne),document.documentElement.style.setProperty("--bs-light",this.shadeTwo),document.documentElement.style.setProperty("--bs-dark",this.offsetTwo),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}setRoyal(){this.removeColors(),this.themeName="Royal Blue",this._starterTheme="royal",this._typeOf="mat-blue",this.shadeBase="#888FE7",this.shadeOne="#cfd8dc",this.shadeTwo="#b0bec5",this.shadeThree="#90a4ae",this.shadeFour="#000000",this.neutral="#7D9AA5",this.offsetOne="#888FE7",this.offsetTwo="#659DC8",this.offsetThree="#b0bec5",this.offsetFour="#999FEB",this.accentOne="#82b1ff",this.accentTwo="#5C98FF",this.accentThree="#619AFF",this.accentFour="#BDCFFF",this.headerBackground="#8B8EE9",this.headerColor="#000000",this.footerBackground="#8B8EE9",this.footerColor="#000000",this.boxShadows="#000000",this.dropShadows="#000000",this.link="#0a19a5",this.hoverFocus="#0019ff",this.bodyColor="#000000",this.bodyBackground="#e8f0f3",this.buttonColor="#fafafa",this.buttonBackground="#7A8EFA",this.buttonBorder="#7A8EFA",this.fontFamilySansSerif="",this.fontFamilyMonospace="",this.h1Size="21px",this.h1Color="#212121",this.h2Size="#18px",this.h2Color="#212121",this.h3Size="#15px",this.h3Color="#212121",document.documentElement.style.setProperty("--shade-base",this.shadeBase),document.documentElement.style.setProperty("--shade-one",this.shadeOne),document.documentElement.style.setProperty("--shade-two",this.shadeTwo),document.documentElement.style.setProperty("--shade-three",this.shadeThree),document.documentElement.style.setProperty("--shade-four",this.shadeFour),document.documentElement.style.setProperty("--neutral",this.neutral),document.documentElement.style.setProperty("--offset-one",this.offsetOne),document.documentElement.style.setProperty("--offset-two",this.offsetTwo),document.documentElement.style.setProperty("--offset-three",this.offsetThree),document.documentElement.style.setProperty("--offset-four",this.offsetFour),document.documentElement.style.setProperty("--accent-one",this.accentOne),document.documentElement.style.setProperty("--accent-two",this.accentTwo),document.documentElement.style.setProperty("--accent-three",this.accentThree),document.documentElement.style.setProperty("--accent-four",this.offsetFour),document.documentElement.style.setProperty("--text-icons",this.shadeBase),document.documentElement.style.setProperty("--primary-text",this.shadeOne),document.documentElement.style.setProperty("--dark",this.shadeTwo),document.documentElement.style.setProperty("--dark-primary-color",this.shadeThree),document.documentElement.style.setProperty("--secondary-text",this.offsetOne),document.documentElement.style.setProperty("--divider-color",this.offsetTwo),document.documentElement.style.setProperty("--light-primary-color",this.offsetThree),document.documentElement.style.setProperty("--light",this.offsetFour),document.documentElement.style.setProperty("--warning",this.accentOne),document.documentElement.style.setProperty("--secondary",this.accentTwo),document.documentElement.style.setProperty("--info",this.accentFour),document.documentElement.style.setProperty("--bs-primary",this.neutral),document.documentElement.style.setProperty("--header-background",this.headerBackground),document.documentElement.style.setProperty("--header-color",this.headerColor),document.documentElement.style.setProperty("--footer-background",this.footerBackground),document.documentElement.style.setProperty("--footer-color",this.footerColor),document.documentElement.style.setProperty("--body-background",this.bodyBackground),document.documentElement.style.setProperty("--body-color",this.bodyColor),document.documentElement.style.setProperty("--button-background",this.buttonBackground),document.documentElement.style.setProperty("--button-border",this.buttonBorder),document.documentElement.style.setProperty("--button-color",this.buttonColor),document.documentElement.style.setProperty("--box-shadows",this.boxShadows),document.documentElement.style.setProperty("--drop-shadows",this.dropShadows),document.documentElement.style.setProperty("--link",this.link),document.documentElement.style.setProperty("--hover-focus",this.hoverFocus),document.body.className="",ce("body").addClass(this._typeOf)}openSnackBar(i,c){this._snack.open(i,c,{duration:5e3,verticalPosition:"top"})}ngOnDestroy(){this._headerSubscription&&this._headerSubscription.unsubscribe()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Qn),e.Y36(Dr.fs),e.Y36(Ii.F),e.Y36(no.V),e.Y36(Ti.pl),e.Y36(Dr.fs))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["color"]],inputs:{color:"color",showSaveApply:"showSaveApply",themes:"themes"},outputs:{themesEE:"themesEE",colorsEE:"colorsEE"},features:[e.TTD],decls:13,vars:8,consts:[[1,"container-fluid"],["class","row",4,"ngIf"],[1,"row"],[1,"col-12"],[1,"text-center",2,"margin-top","10px"],["class","row","style","margin-top: 20px",4,"ngIf"],["class","text-start margin-5-0 pointer","style","margin-left: 30px",4,"ngIf"],["class","relative margin-15-0 padding-0-25",4,"ngIf"],["class","relative margin-15-0 padding-0-50","style","padding-left: 33px !important",4,"ngIf"],["class","width-100 margin-25-0 text-end",4,"ngIf"],["type","button",1,"btn","btn-link",3,"click"],[1,"row",2,"margin-top","20px"],[4,"ngIf"],[1,"col-12","cust-new-theme"],["type","button",1,"btn","btn-primary",3,"click"],[1,"col-12","or-use"],["class","nav-search-index d-flex",4,"ngIf"],[1,"nav-search-index","d-flex"],[1,"d-flex"],["title","Select Search Index",3,"ngModel","change","ngModelChange"],["value","None"],["value","Lavender"],["value","LBlue"],["value","RBlue"],["value","LGreen"],["value","OGreen"],["value","Orange"],["value","Pink"],["value","Red"],["value","Brown"],["value","BGray"],["class","fa fa-lg fa-floppy-o margin-top","aria-hidden","true","title","apply theme","style","margin-left: 10px !important; cursor: pointer",3,"click",4,"ngIf"],["aria-hidden","true","title","apply theme",1,"fa","fa-lg","fa-floppy-o","margin-top",2,"margin-left","10px !important","cursor","pointer",3,"click"],[1,"d-flex",2,"margin-right","10px"],[3,"value",4,"ngFor","ngForOf"],["class","fa fa-lg fa-pencil-square-o margin-top","aria-hidden","true","title","edit theme","style","cursor: pointer",3,"click",4,"ngIf"],["class","fa fa-lg fa-floppy-o margin-top","aria-hidden","true","title","apply theme","style","cursor: pointer",3,"click",4,"ngIf"],["class","fa fa-lg fa-trash margin-top","aria-hidden","true","title","delete theme","style","cursor: pointer",3,"click",4,"ngIf"],[3,"value"],["aria-hidden","true","title","edit theme",1,"fa","fa-lg","fa-pencil-square-o","margin-top",2,"cursor","pointer",3,"click"],["aria-hidden","true","title","apply theme",1,"fa","fa-lg","fa-floppy-o","margin-top",2,"cursor","pointer",3,"click"],["aria-hidden","true","title","delete theme",1,"fa","fa-lg","fa-trash","margin-top",2,"cursor","pointer",3,"click"],[1,"text-start","margin-5-0","pointer",2,"margin-left","30px"],[1,"relative","margin-15-0","padding-0-25"],["role","button","type","button","aria-label","Set Purple","title","Lavender",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],["role","button","type","button","aria-label","Set Light Blue","title","Light Blue",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],["role","button","type","button","aria-label","Set Royal","title","Royal Blue",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],["role","button","type","button","aria-label","Set Light Green","title","Light Green",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],["role","button","type","button","aria-label","Set Green","title","Olive Green",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],["role","button","type","button","aria-label","Set Orange","title","Orange",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],["role","button","type","button","aria-label","Set Pink","title","Pink",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],["role","button","type","button","aria-label","Set Red","title","Red",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],["role","button","type","button","aria-label","Set Brown","title","Brown",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],["role","button","type","button","aria-label","Set Blue Grey","title","Blue Grey",1,"btn","btn-circle",2,"margin-bottom","5px",3,"click"],[1,"relative","margin-15-0","padding-0-50",2,"padding-left","33px !important"],["type","text",2,"margin-bottom","10px",3,"ngModel","ngModelChange"],[1,"form-group","block","relative","row-cust-settings"],["type","text","id","color","aria-describedby","Font and Icon Color","placeholder","header foreground","title","header foreground",1,"form-control","color",3,"ngModel","input","ngModelChange"],["role","button","type","button","aria-label","Change Color",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],["aria-hidden","true","matTooltip","header foreground text and quicklinks text color",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Background Color","placeholder","header background","title","header background",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","header background",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Font and Icon Color","placeholder","footer foreground","title","footer foreground",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","footer foreground",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Background Color","placeholder","footer background","title","header background",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","footer background",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Font and Icon Color","placeholder","body foreground","title","body foreground",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","body foreground",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Background Color","placeholder","body background","title","body background",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","body background",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Hyperlink","placeholder","Active Links","title","active links",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","active links",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Hover and Focus on Hyperlink","placeholder","Hover and Focus","title","hover and focus",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","hover and focus",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Font and Icon Color","placeholder","Color","title","button color",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","button color",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Background Color","placeholder","Background","title","button background",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","button background",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","color","aria-describedby","Background Color","placeholder","Border","title","button border",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","button border",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","neutral","title","neutral","aria-describedby","Base Shade","placeholder","neutral",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","neutral color",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","offsetOne","title","offset one","aria-describedby","Offset One","placeholder","offset one",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","Visible on header, staff dashboard, advanced search, some buttons and dropdowns",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","offsetTwo","title","offset two","aria-describedby","Offset Two","placeholder","offset two",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","Visible in search overlay, staff dashboard search box, search resources and advanced search resources top checkboxes, related links on search",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","offsetThree","title","offset three","aria-describedby","Offset Three","placeholder","offset three",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","Visible on search box background on advanced search, place hold table borders and button borders",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","shadeFour","title","shade links","aria-describedby","Shade Links","placeholder","shade four",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip","certain links on OPAC search",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","accentThree","title","toggle icon color","aria-describedby","toggle icon color","placeholder","accent three",1,"form-control","color",3,"ngModel","input","ngModelChange"],["aria-hidden","true","matTooltip"," toggle view icon color on OPAC search",1,"range-inputs-tooltip","fa","fa-lg","fa-question-circle-o",3,"matTooltipPosition"],[1,"width-100","margin-25-0","text-end"],["role","button","type","button","aria-label","Save Theme","class","btn btn-primary",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Submit","class","btn btn-primary",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Save Theme",1,"btn","btn-primary",3,"click"],["role","button","type","button","aria-label","Submit",1,"btn","btn-primary",3,"click"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0),e.YNc(1,zh,4,0,"div",1),e.TgZ(2,"div",2)(3,"div",3)(4,"h3",4),e._uU(5,"Themes and Styles"),e.qZA()()(),e.YNc(6,Rr,13,11,"div",5)(7,Qc,9,2,"div",1),e.qZA(),e.YNc(8,pc,2,0,"h6",6)(9,ss,11,20,"div",7)(10,Ss,82,86,"div",8)(11,Bu,3,2,"div",9)(12,da,3,2,"div",9)),2&c&&(e.xp6(),e.Q6J("ngIf",l.showDesign),e.xp6(5),e.Q6J("ngIf",""!==l.themeName&&l.themeName),e.xp6(),e.Q6J("ngIf",!l.showDesign),e.xp6(),e.Q6J("ngIf",l.showDesign),e.xp6(),e.Q6J("ngIf",l.showDesign),e.xp6(),e.Q6J("ngIf",l.showDesign),e.xp6(),e.Q6J("ngIf",l.isEditTheme&&l.showDesign),e.xp6(),e.Q6J("ngIf",l.isNewTheme&&l.showDesign))},dependencies:[ei.sg,ei.O5,At.YN,At.Kr,At.Fj,At.EJ,At.JJ,At.On,pa.Kd,Ms.Kk],styles:[".color-picker[_ngcontent-%COMP%]{position:relative!important}.form-group[_ngcontent-%COMP%]{margin-bottom:.5rem}.nav-search-index[_ngcontent-%COMP%]{display:inline-block}.edit-button[_ngcontent-%COMP%]{color:var(--header-color);background:var(--offset-two)}.nav-search-index[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{background:var(--offset-two);border:none;outline:none;padding:7px;min-width:50px;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--header-color);font-size:.8em;height:34px}.nav-search-index[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{padding:10px 15px;font-size:1.25em;min-width:180px}.nav-search-resources[_ngcontent-%COMP%]{display:inline-block;width:35px;text-align:center;color:var(--header-color);vertical-align:top;line-height:2.15em;cursor:pointer}.cust-new-theme[_ngcontent-%COMP%]{margin:20px 0;text-align:left}.or-use[_ngcontent-%COMP%]{text-align:center;margin-bottom:20px}.range-inputs-tooltip[_ngcontent-%COMP%]{margin-left:5px;padding:5px;cursor:pointer}.row-cust-settings[_ngcontent-%COMP%]{width:250px;margin-bottom:10px}.margin-top[_ngcontent-%COMP%]{margin-top:10px!important;margin-left:10px!important}"]})}return d})();var Ad=s(8615);function Pd(d,g){1&d&&(e.ynx(0),e.TgZ(1,"h3"),e._uU(2,"Unable to Load FullRecord Tab Configuration"),e.qZA(),e.BQk())}function ep(d,g){if(1&d&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.id),e.xp6(),e.Oqu(i.name)}}function Uu(d,g){if(1&d&&(e.TgZ(0,"strong",37),e._uU(1),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.Oqu(null==i.fullRecordForm.errors?null:i.fullRecordForm.errors.staffSelectDropdownError)}}function Id(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",38),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.toggleFormControl("staffMARCLabel"))}),e._uU(1,"Display MARC"),e.qZA()}}function Ol(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",41),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("staffMoreAboutThisTitleLabel"))}),e._uU(1,"Display More About This"),e.qZA()}}function Js(d,g){if(1&d&&(e.ynx(0),e.YNc(1,Ol,2,0,"mat-checkbox",39),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",40),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayMoreAboutThisTitle),e.xp6(4),e.hij("",i.fullRecordForm.get("staffMoreAboutThisTitleLabel").value.length||0,"/30")}}function ol(d,g){1&d&&(e.TgZ(0,"mat-checkbox",42),e._uU(1,"Display Goodreads\xae Reviews"),e.qZA())}function Rd(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",45),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("staffSyndeticsUnboundLabel"))}),e._uU(1,"Display Syndetics Unbound"),e.qZA()}}function Ld(d,g){if(1&d&&(e.ynx(0),e.YNc(1,Rd,2,0,"mat-checkbox",43),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",44),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displaySyndeticsUnbound),e.xp6(4),e.hij("",i.fullRecordForm.get("staffSyndeticsUnboundLabel").value.length||0,"/30")}}function Vs(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",48),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("staffNovelistLabel"))}),e._uU(1,"Display Novelist"),e.qZA()}}function wm(d,g){if(1&d&&(e.ynx(0),e.YNc(1,Vs,2,0,"mat-checkbox",46),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",47),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayNovelist),e.xp6(4),e.hij("",i.fullRecordForm.get("staffNovelistLabel").value.length||0,"/30")}}function jc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",51),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("staffCLCDLabel"))}),e._uU(1),e.qZA()}if(2&d){const i=e.oxw(3);e.xp6(),e.hij("Display ",i.fullRecordOptions.clcdTab.name,"")}}function Tm(d,g){if(1&d&&(e.ynx(0),e.YNc(1,jc,2,1,"mat-checkbox",49),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",50),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayCLCD),e.xp6(2),e.uIk("title",i.fullRecordOptions.clcdTab.name),e.xp6(2),e.hij("",i.fullRecordForm.get("staffCLCDLabel").value.length||0,"/30")}}function Mm(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",54),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("staffShelfBrowseLabel"))}),e._uU(1,"Display Shelf Browse"),e.qZA()}}function Zu(d,g){if(1&d&&(e.ynx(0),e.YNc(1,Mm,2,0,"mat-checkbox",52),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",53),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayShelfBrowse),e.xp6(4),e.hij("",i.fullRecordForm.get("staffShelfBrowseLabel").value.length||0,"/30")}}function tp(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"label",55),e._uU(2,"ILL Lender Column Label"),e.qZA(),e.TgZ(3,"mat-form-field",9),e._UZ(4,"input",56),e.TgZ(5,"mat-hint",15),e._uU(6),e.qZA()(),e.TgZ(7,"label",57),e._uU(8,"ILL Lender Contents Label"),e.qZA(),e.TgZ(9,"mat-form-field",9),e._UZ(10,"input",58),e.TgZ(11,"mat-hint",15),e._uU(12),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(6),e.hij("",i.fullRecordForm.get("lenderColumnLabel").value.length||0,"/30"),e.xp6(6),e.hij("",i.fullRecordForm.get("lenderContentsLabel").value.length||0,"/30")}}function np(d,g){1&d&&(e.ynx(0),e.TgZ(1,"mat-checkbox",59),e._uU(2,"Display Copy Cataloging"),e.qZA(),e.BQk())}function ip(d,g){if(1&d&&(e.TgZ(0,"mat-option",36),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.id),e.xp6(),e.Oqu(i.name)}}function Dl(d,g){if(1&d&&(e.TgZ(0,"strong",60),e._uU(1),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.Oqu(null==i.fullRecordForm.errors?null:i.fullRecordForm.errors.patronGuestSelectDropdownError)}}function op(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",61),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.toggleFormControl("patronGuestMARCLabel"))}),e._uU(1,"Display MARC"),e.qZA()}}function rp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",64),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("patronGuestMoreAboutThisTitleLabel"))}),e._uU(1,"Display More About This"),e.qZA()}}function ua(d,g){if(1&d&&(e.ynx(0),e.YNc(1,rp,2,0,"mat-checkbox",62),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",63),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayMoreAboutThisTitle),e.xp6(4),e.hij("",i.fullRecordForm.get("patronGuestMoreAboutThisTitleLabel").value.length||0,"/30")}}function ap(d,g){1&d&&(e.TgZ(0,"mat-checkbox",65),e._uU(1,"Display Goodreads\xae Reviews"),e.qZA())}function mc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",68),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("patronGuestSyndeticsUnboundLabel"))}),e._uU(1,"Display Syndetics Unbound"),e.qZA()}}function sp(d,g){if(1&d&&(e.ynx(0),e.YNc(1,mc,2,0,"mat-checkbox",66),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",67),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displaySyndeticsUnbound),e.xp6(4),e.hij("",i.fullRecordForm.get("patronGuestSyndeticsUnboundLabel").value.length||0,"/30")}}function Ma(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",71),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("patronGuestNovelistLabel"))}),e._uU(1,"Display Novelist"),e.qZA()}}function rl(d,g){if(1&d&&(e.ynx(0),e.YNc(1,Ma,2,0,"mat-checkbox",69),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",70),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayNovelist),e.xp6(4),e.hij("",i.fullRecordForm.get("patronGuestNovelistLabel").value.length||0,"/30")}}function fc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",74),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("patronGuestCLCDLabel"))}),e._uU(1),e.qZA()}if(2&d){const i=e.oxw(3);e.xp6(),e.hij("Display ",i.fullRecordOptions.clcdTab.name,"")}}function _c(d,g){if(1&d&&(e.ynx(0),e.YNc(1,fc,2,1,"mat-checkbox",72),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",73),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayCLCD),e.xp6(2),e.uIk("title",i.fullRecordOptions.clcdTab.name),e.xp6(2),e.hij("",i.fullRecordForm.get("patronGuestCLCDLabel").value.length||0,"/30")}}function al(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-checkbox",77),e.NdJ("change",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.toggleFormControl("patronGuestShelfBrowseLabel"))}),e._uU(1,"Display Shelf Browse"),e.qZA()}}function sl(d,g){if(1&d&&(e.ynx(0),e.YNc(1,al,2,0,"mat-checkbox",75),e.TgZ(2,"mat-form-field",9),e._UZ(3,"input",76),e.TgZ(4,"mat-hint",15),e._uU(5),e.qZA()(),e.BQk()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayShelfBrowse),e.xp6(4),e.hij("",i.fullRecordForm.get("patronGuestShelfBrowseLabel").value.length||0,"/30")}}function Hu(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"form",2),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.saveFullRecordOptions(l.fullRecordForm.getRawValue()))}),e.TgZ(1,"h3",3),e._uU(2,"Full Record"),e.qZA(),e.TgZ(3,"div",4)(4,"mat-tab-group",5)(5,"mat-tab",6)(6,"div",7)(7,"h4",8),e._uU(8,"Default Section"),e.qZA(),e.TgZ(9,"mat-form-field",9)(10,"mat-select",10),e.YNc(11,ep,2,2,"mat-option",11),e.qZA()(),e.YNc(12,Uu,2,1,"strong",12),e._UZ(13,"br"),e.TgZ(14,"h4",8),e._uU(15,"Section Configuration"),e.qZA(),e.TgZ(16,"label",13),e._uU(17),e.qZA(),e.TgZ(18,"mat-form-field",9),e._UZ(19,"input",14),e.TgZ(20,"mat-hint",15),e._uU(21),e.qZA()(),e.TgZ(22,"label",16),e._uU(23),e.qZA(),e.TgZ(24,"mat-form-field",9),e._UZ(25,"input",17),e.TgZ(26,"mat-hint",15),e._uU(27),e.qZA()(),e.YNc(28,Id,2,0,"mat-checkbox",18),e.TgZ(29,"mat-form-field",9),e._UZ(30,"input",19),e.TgZ(31,"mat-hint",15),e._uU(32),e.qZA()(),e.YNc(33,Js,6,2,"ng-container",20)(34,ol,2,0,"mat-checkbox",21),e.TgZ(35,"mat-form-field",9),e._UZ(36,"input",22),e.qZA(),e.YNc(37,Ld,6,2,"ng-container",20)(38,wm,6,2,"ng-container",20)(39,Tm,6,3,"ng-container",20)(40,Zu,6,2,"ng-container",20)(41,tp,13,2,"ng-container",20)(42,np,3,0,"ng-container",20),e.qZA()(),e.TgZ(43,"mat-tab",23)(44,"div",7)(45,"h4",8),e._uU(46,"Default Section"),e.qZA(),e.TgZ(47,"mat-form-field",9)(48,"mat-select",24),e.YNc(49,ip,2,2,"mat-option",11),e.qZA()(),e.YNc(50,Dl,2,1,"strong",25),e._UZ(51,"br"),e.TgZ(52,"h4",8),e._uU(53,"Section Configuration"),e.qZA(),e.TgZ(54,"label",26),e._uU(55),e.qZA(),e.TgZ(56,"mat-form-field",9),e._UZ(57,"input",27),e.TgZ(58,"mat-hint",15),e._uU(59),e.qZA()(),e.TgZ(60,"label",28),e._uU(61),e.qZA(),e.TgZ(62,"mat-form-field",9),e._UZ(63,"input",29),e.TgZ(64,"mat-hint",15),e._uU(65),e.qZA()(),e.YNc(66,op,2,0,"mat-checkbox",30),e.TgZ(67,"mat-form-field",9),e._UZ(68,"input",31),e.TgZ(69,"mat-hint",15),e._uU(70),e.qZA()(),e.YNc(71,ua,6,2,"ng-container",20)(72,ap,2,0,"mat-checkbox",32),e.TgZ(73,"mat-form-field",9),e._UZ(74,"input",33),e.qZA(),e.YNc(75,sp,6,2,"ng-container",20)(76,rl,6,2,"ng-container",20)(77,_c,6,3,"ng-container",20)(78,sl,6,2,"ng-container",20),e.qZA()()()(),e.TgZ(79,"div",34)(80,"button",35),e._uU(81," Save "),e.qZA()()()}if(2&d){const i=e.oxw();e.Q6J("formGroup",i.fullRecordForm),e.xp6(11),e.Q6J("ngForOf",i.tabs),e.xp6(),e.Q6J("ngIf",null==i.fullRecordForm?null:i.fullRecordForm.hasError),e.xp6(5),e.Oqu(i.fullRecordOptions.detailTab.name),e.xp6(4),e.hij("",i.fullRecordForm.get("staffDetailLabel").value.length||0,"/30"),e.xp6(2),e.Oqu(i.fullRecordOptions.whereTab.name),e.xp6(4),e.hij("",i.fullRecordForm.get("staffWhereLabel").value.length||0,"/30"),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayMARC),e.xp6(4),e.hij("",i.fullRecordForm.get("staffMARCLabel").value.length||0,"/30"),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.moreAboutThisTitleTab),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayGoodreadsReview),e.xp6(3),e.Q6J("ngIf",i.fullRecordOptions.syndeticsUnboundTab),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.novelistTab),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.clcdTab),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.shelfBrowseTab),e.xp6(),e.Q6J("ngIf",i.canShowILLLenderColumn),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayCopyCataloging),e.xp6(7),e.Q6J("ngForOf",i.tabs),e.xp6(),e.Q6J("ngIf",null==i.fullRecordForm?null:i.fullRecordForm.hasError),e.xp6(5),e.Oqu(i.fullRecordOptions.detailTab.name),e.xp6(2),e.Q6J("placeholder",i.fullRecordOptions.detailTab.name),e.xp6(2),e.hij("",i.fullRecordForm.get("patronGuestDetailLabel").value.length||0,"/30"),e.xp6(2),e.Oqu(i.fullRecordOptions.whereTab.name),e.xp6(4),e.hij("",i.fullRecordForm.get("patronGuestWhereLabel").value.length||0,"/30"),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayMARC),e.xp6(4),e.hij("",i.fullRecordForm.get("patronGuestMARCLabel").value.length||0,"/30"),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.moreAboutThisTitleTab),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.displayGoodreadsReview),e.xp6(3),e.Q6J("ngIf",i.fullRecordOptions.syndeticsUnboundTab),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.novelistTab),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.clcdTab),e.xp6(),e.Q6J("ngIf",i.fullRecordOptions.shelfBrowseTab),e.xp6(2),e.Q6J("disabled",i.fullRecordForm.invalid)}}function Al(d){return g=>{const i=g.get("staffDefaultTabId"),c=g.get("patronGuestDefaultTabId"),l={staffSelectDropdownError:"",patronGuestSelectDropdownError:""};for(const x of d){const ke=x.fullRecordFormControl;if(!g.get(ke)?.value){const Dn=x.fullRecordOption,Bn=Dn.id,pi=`'${Dn.name}' section is disabled. Enable it below or change the default section.`;Bn===i.value&&ke.includes("staff")?l.staffSelectDropdownError=pi:Bn===c.value&&(l.patronGuestSelectDropdownError=pi)}}return Ii.F.isEmpty(l.staffSelectDropdownError)&&Ii.F.isEmpty(l.patronGuestSelectDropdownError)?null:l}}let km=(()=>{class d{constructor(i,c,l){this._opacSettingsService=i,this._formBuilder=c,this._sharedService=l,this.updateFullRecord=new e.vpe}ngOnInit(){this._initFullRecordForm(),this.tabs=[this.fullRecordOptions.detailTab,this.fullRecordOptions.whereTab,this.fullRecordOptions.marcTab],this.fullRecordOptions.displayMoreAboutThisTitle&&this.tabs.push(this.fullRecordOptions.moreAboutThisTitleTab),this.fullRecordOptions.displayGoodreadsReview&&this.tabs.push(this.fullRecordOptions.goodreadsReviewTab),this.fullRecordOptions.displaySyndeticsUnbound&&this.tabs.push(this.fullRecordOptions.syndeticsUnboundTab),this.fullRecordOptions.displayNovelist&&this.tabs.push(this.fullRecordOptions.novelistTab),this.fullRecordOptions.displayCLCD&&this.tabs.push(this.fullRecordOptions.clcdTab),this.fullRecordOptions.displayShelfBrowse&&this.tabs.push(this.fullRecordOptions.shelfBrowseTab)}_initFullRecordForm(){let i=[{fullRecordFormControl:"staffDisplayMARC",fullRecordOption:this.fullRecordOptions.marcTab},{fullRecordFormControl:"patronGuestDisplayMARC",fullRecordOption:this.fullRecordOptions.marcTab},{fullRecordFormControl:"staffDisplayMoreAboutThisTitle",fullRecordOption:this.fullRecordOptions.moreAboutThisTitleTab},{fullRecordFormControl:"patronGuestDisplayMoreAboutThisTitle",fullRecordOption:this.fullRecordOptions.moreAboutThisTitleTab},{fullRecordFormControl:"staffDisplaySyndeticsUnbound",fullRecordOption:this.fullRecordOptions.syndeticsUnboundTab},{fullRecordFormControl:"patronGuestDisplaySyndeticsUnbound",fullRecordOption:this.fullRecordOptions.syndeticsUnboundTab},{fullRecordFormControl:"staffDisplayNovelist",fullRecordOption:this.fullRecordOptions.novelistTab},{fullRecordFormControl:"patronGuestDisplayNovelist",fullRecordOption:this.fullRecordOptions.novelistTab},{fullRecordFormControl:"staffDisplayCLCD",fullRecordOption:this.fullRecordOptions.clcdTab},{fullRecordFormControl:"patronGuestDisplayCLCD",fullRecordOption:this.fullRecordOptions.clcdTab},{fullRecordFormControl:"staffDisplayShelfBrowse",fullRecordOption:this.fullRecordOptions.shelfBrowseTab},{fullRecordFormControl:"patronGuestDisplayShelfBrowse",fullRecordOption:this.fullRecordOptions.shelfBrowseTab},{fullRecordFormControl:"staffDisplayGoodreadsReview",fullRecordOption:this.fullRecordOptions.goodreadsReviewTab},{fullRecordFormControl:"patronGuestDisplayGoodreadsReview",fullRecordOption:this.fullRecordOptions.goodreadsReviewTab}];i=i?.filter(c=>c.fullRecordOption),this.fullRecordForm=this._formBuilder.group({staffDefaultTabId:[this.fullRecordOptions.defaultTabId.staff],patronGuestDefaultTabId:[this.fullRecordOptions.defaultTabId.patronGuest],staffDetailLabel:[this.fullRecordOptions.detailTab.staffLabel,At.kI.required],patronGuestDetailLabel:[this.fullRecordOptions.detailTab.patronGuestLabel,At.kI.required],staffWhereLabel:[this.fullRecordOptions.whereTab.staffLabel,At.kI.required],patronGuestWhereLabel:[this.fullRecordOptions.whereTab.patronGuestLabel,At.kI.required],staffDisplayMARC:[this.fullRecordOptions.displayMARC.staff],patronGuestDisplayMARC:[this.fullRecordOptions.displayMARC.patronGuest],staffMARCLabel:[{value:this.fullRecordOptions.marcTab.staffLabel,disabled:!this.fullRecordOptions.displayMARC.staff},At.kI.required],patronGuestMARCLabel:[{value:this.fullRecordOptions.marcTab.patronGuestLabel,disabled:!this.fullRecordOptions.displayMARC.patronGuest},At.kI.required],staffDisplayGoodreadsReview:[this.fullRecordOptions.displayGoodreadsReview.staff],patronGuestDisplayGoodreadsReview:[this.fullRecordOptions.displayGoodreadsReview.patronGuest],staffGoodreadsReviewLabel:[{value:this.fullRecordOptions.goodreadsReviewTab.staffLabel,disabled:!0},At.kI.required],patronGuestGoodreadsReviewLabel:[{value:this.fullRecordOptions.goodreadsReviewTab.patronGuestLabel,disabled:!0},At.kI.required],staffDisplayMoreAboutThisTitle:[this.fullRecordOptions.displayMoreAboutThisTitle?.staff],patronGuestDisplayMoreAboutThisTitle:[this.fullRecordOptions.displayMoreAboutThisTitle?.patronGuest],staffMoreAboutThisTitleLabel:[{value:this.fullRecordOptions.moreAboutThisTitleTab?.staffLabel,disabled:!this.fullRecordOptions.displayMoreAboutThisTitle?.staff},At.kI.required],patronGuestMoreAboutThisTitleLabel:[{value:this.fullRecordOptions.moreAboutThisTitleTab?.patronGuestLabel,disabled:!this.fullRecordOptions.displayMoreAboutThisTitle?.patronGuest},At.kI.required],staffDisplaySyndeticsUnbound:[this.fullRecordOptions.displaySyndeticsUnbound?.staff],patronGuestDisplaySyndeticsUnbound:[this.fullRecordOptions.displaySyndeticsUnbound?.patronGuest],staffSyndeticsUnboundLabel:[{value:this.fullRecordOptions.syndeticsUnboundTab?.staffLabel,disabled:!this.fullRecordOptions.displaySyndeticsUnbound?.staff},At.kI.required],patronGuestSyndeticsUnboundLabel:[{value:this.fullRecordOptions.syndeticsUnboundTab?.patronGuestLabel,disabled:!this.fullRecordOptions.displaySyndeticsUnbound?.patronGuest},At.kI.required],staffDisplayNovelist:[this.fullRecordOptions.displayNovelist?.staff],patronGuestDisplayNovelist:[this.fullRecordOptions.displayNovelist?.patronGuest],staffNovelistLabel:[{value:this.fullRecordOptions.novelistTab?.staffLabel,disabled:!this.fullRecordOptions.displayNovelist?.staff},At.kI.required],patronGuestNovelistLabel:[{value:this.fullRecordOptions.novelistTab?.patronGuestLabel,disabled:!this.fullRecordOptions.displayNovelist?.patronGuest},At.kI.required],staffDisplayCLCD:[this.fullRecordOptions.displayCLCD?.staff],patronGuestDisplayCLCD:[this.fullRecordOptions.displayCLCD?.patronGuest],staffCLCDLabel:[{value:this.fullRecordOptions.clcdTab?.staffLabel,disabled:!this.fullRecordOptions.displayCLCD?.staff},At.kI.required],patronGuestCLCDLabel:[{value:this.fullRecordOptions.clcdTab?.patronGuestLabel,disabled:!this.fullRecordOptions.displayCLCD?.patronGuest},At.kI.required],staffDisplayShelfBrowse:[this.fullRecordOptions.displayShelfBrowse?.staff],patronGuestDisplayShelfBrowse:[this.fullRecordOptions.displayShelfBrowse?.patronGuest],staffShelfBrowseLabel:[{value:this.fullRecordOptions.shelfBrowseTab?.staffLabel,disabled:!this.fullRecordOptions.displayShelfBrowse?.staff},At.kI.required],patronGuestShelfBrowseLabel:[{value:this.fullRecordOptions.shelfBrowseTab?.patronGuestLabel,disabled:!this.fullRecordOptions.displayShelfBrowse?.patronGuest},At.kI.required],lenderColumnLabel:[this.fullRecordOptions.lenderColumnLabel?this.fullRecordOptions.lenderColumnLabel:"ILL Lender?",At.kI.required],lenderContentsLabel:[this.fullRecordOptions.lenderContentsLabel?this.fullRecordOptions.lenderContentsLabel:"[ILL Lender]",At.kI.required],copyCatalogForStaff:[this.fullRecordOptions.copyCatalogForStaff]},{validators:[Al(i)]})}saveFullRecordOptions(i){this.fullRecordForm.valid&&(this._mapToRequest(i),this._opacSettingsService.updateFullRecordOptions(this.fullRecordOptions).subscribe(c=>{this._sharedService.openSnackBar(c.message,"ok"),this.updateFullRecord.emit(this.fullRecordOptions)},()=>{this._sharedService.openSnackBar("Error Saving Full Record Tab Configurations","ok")}))}_mapToRequest(i){this.fullRecordOptions.defaultTabId.staff=i.staffDefaultTabId,this.fullRecordOptions.defaultTabId.patronGuest=i.patronGuestDefaultTabId,this.fullRecordOptions.displayMARC.staff=i.staffDisplayMARC,this.fullRecordOptions.displayMARC.patronGuest=i.patronGuestDisplayMARC,this.fullRecordOptions.displayGoodreadsReview.staff=i.staffDisplayGoodreadsReview,this.fullRecordOptions.displayGoodreadsReview.patronGuest=i.patronGuestDisplayGoodreadsReview,this.fullRecordOptions.detailTab.staffLabel=i.staffDetailLabel,this.fullRecordOptions.detailTab.patronGuestLabel=i.patronGuestDetailLabel,this.fullRecordOptions.whereTab.staffLabel=i.staffWhereLabel,this.fullRecordOptions.whereTab.patronGuestLabel=i.patronGuestWhereLabel,this.fullRecordOptions.goodreadsReviewTab.staffLabel=i.staffGoodreadsReviewLabel,this.fullRecordOptions.goodreadsReviewTab.patronGuestLabel=i.patronGuestGoodreadsReviewLabel,this.fullRecordOptions.marcTab.staffLabel=i.staffMARCLabel,this.fullRecordOptions.marcTab.patronGuestLabel=i.patronGuestMARCLabel,this.fullRecordOptions.copyCatalogForStaff=i.copyCatalogForStaff,this.fullRecordOptions.lenderContentsLabel=i.lenderContentsLabel,this.fullRecordOptions.lenderColumnLabel=i.lenderColumnLabel,this.fullRecordOptions.displayMoreAboutThisTitle&&this.fullRecordOptions.moreAboutThisTitleTab&&(this.fullRecordOptions.displayMoreAboutThisTitle.staff=i.staffDisplayMoreAboutThisTitle,this.fullRecordOptions.displayMoreAboutThisTitle.patronGuest=i.patronGuestDisplayMoreAboutThisTitle,this.fullRecordOptions.moreAboutThisTitleTab.staffLabel=i.staffMoreAboutThisTitleLabel,this.fullRecordOptions.moreAboutThisTitleTab.patronGuestLabel=i.patronGuestMoreAboutThisTitleLabel),this.fullRecordOptions.displaySyndeticsUnbound&&this.fullRecordOptions.syndeticsUnboundTab&&(this.fullRecordOptions.displaySyndeticsUnbound.staff=i.staffDisplaySyndeticsUnbound,this.fullRecordOptions.displaySyndeticsUnbound.patronGuest=i.patronGuestDisplaySyndeticsUnbound,this.fullRecordOptions.syndeticsUnboundTab.staffLabel=i.staffSyndeticsUnboundLabel,this.fullRecordOptions.syndeticsUnboundTab.patronGuestLabel=i.patronGuestSyndeticsUnboundLabel),this.fullRecordOptions.displayNovelist&&this.fullRecordOptions.novelistTab&&(this.fullRecordOptions.displayNovelist.staff=i.staffDisplayNovelist,this.fullRecordOptions.displayNovelist.patronGuest=i.patronGuestDisplayNovelist,this.fullRecordOptions.novelistTab.staffLabel=i.staffNovelistLabel,this.fullRecordOptions.novelistTab.patronGuestLabel=i.patronGuestNovelistLabel),this.fullRecordOptions.displayCLCD&&this.fullRecordOptions.clcdTab&&(this.fullRecordOptions.displayCLCD.staff=i.staffDisplayCLCD,this.fullRecordOptions.displayCLCD.patronGuest=i.patronGuestDisplayCLCD,this.fullRecordOptions.clcdTab.staffLabel=i.staffCLCDLabel,this.fullRecordOptions.clcdTab.patronGuestLabel=i.patronGuestCLCDLabel),this.fullRecordOptions.displayShelfBrowse&&this.fullRecordOptions.shelfBrowseTab&&(this.fullRecordOptions.displayShelfBrowse.staff=i.staffDisplayShelfBrowse,this.fullRecordOptions.displayShelfBrowse.patronGuest=i.patronGuestDisplayShelfBrowse,this.fullRecordOptions.shelfBrowseTab.staffLabel=i.staffShelfBrowseLabel,this.fullRecordOptions.shelfBrowseTab.patronGuestLabel=i.patronGuestShelfBrowseLabel)}toggleFormControl(i){this.fullRecordForm.controls[i].disabled?this.fullRecordForm.controls[i].enable():this.fullRecordForm.controls[i].disable()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(To.j),e.Y36(At.QS),e.Y36(Ii.F))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-side-nav-full-record"]],inputs:{fullRecordOptions:"fullRecordOptions",canShowILLLenderColumn:"canShowILLLenderColumn"},outputs:{updateFullRecord:"updateFullRecord"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["renderForm",""],[3,"formGroup","ngSubmit"],[1,"text-center"],[1,"padding-0-25"],["animationDuration","0ms"],["label","Staff"],["fxLayout","column","fxLayoutAlign","center stretch",1,"padding-35-0"],["fxLayoutAlign","space-around center"],["appearance","outline"],["formControlName","staffDefaultTabId"],[3,"value",4,"ngFor","ngForOf"],["class","red staffSelectDropdownError",4,"ngIf"],["for","descriptionDetailsStaff"],["matInput","","placeholder","Enter a label","formControlName","staffDetailLabel","maxlength","30"],["align","end"],["for","descriptionWhereStaff"],["matInput","","placeholder","Enter a label","title","Where to Find it","formControlName","staffWhereLabel","maxlength","30"],["formControlName","staffDisplayMARC",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","MARC Record","formControlName","staffMARCLabel","maxlength","30"],[4,"ngIf"],["formControlName","staffDisplayGoodreadsReview",4,"ngIf"],["matInput","","placeholder","Enter a label","title","Goodreads\xae Reviews","formControlName","staffGoodreadsReviewLabel"],["label","Patron/Guest"],["formControlName","patronGuestDefaultTabId"],["class","red patronGuestSelectDropdownError",4,"ngIf"],["for","descriptionDetailsPatronGuest"],["matInput","","formControlName","patronGuestDetailLabel","placeholder","Enter a label",3,"placeholder"],["for","descriptionWherePatronGuest"],["matInput","","formControlName","patronGuestWhereLabel","placeholder","Enter a label","title","Where to Find it","maxlength","30"],["formControlName","patronGuestDisplayMARC",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","MARC Record","formControlName","patronGuestMARCLabel","maxlength","30"],["formControlName","patronGuestDisplayGoodreadsReview",4,"ngIf"],["matInput","","placeholder","Enter a label","title","Goodreads\xae Reviews","formControlName","patronGuestGoodreadsReviewLabel"],["fxLayout","row","fxLayoutAlign","end none",1,"padding-25"],["mat-stroked-button","","role","button","aria-label","Save","type","submit",3,"disabled"],[3,"value"],[1,"red","staffSelectDropdownError"],["formControlName","staffDisplayMARC",3,"change"],["formControlName","staffDisplayMoreAboutThisTitle",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","More About Title","formControlName","staffMoreAboutThisTitleLabel","maxlength","30"],["formControlName","staffDisplayMoreAboutThisTitle",3,"change"],["formControlName","staffDisplayGoodreadsReview"],["formControlName","staffDisplaySyndeticsUnbound",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","Syndetics Unbound","formControlName","staffSyndeticsUnboundLabel","maxlength","30"],["formControlName","staffDisplaySyndeticsUnbound",3,"change"],["formControlName","staffDisplayNovelist",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","Novelist","formControlName","staffNovelistLabel","maxlength","30"],["formControlName","staffDisplayNovelist",3,"change"],["formControlName","staffDisplayCLCD",3,"change",4,"ngIf"],["matInput","","formControlName","staffCLCDLabel","maxlength","30","placeholder","Enter a label"],["formControlName","staffDisplayCLCD",3,"change"],["formControlName","staffDisplayShelfBrowse",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","Shelf Browse","formControlName","staffShelfBrowseLabel","maxlength","30"],["formControlName","staffDisplayShelfBrowse",3,"change"],["for","descrLenderColumn"],["matInput","","placeholder","Enter a label","title","ILL Lender Column Label","formControlName","lenderColumnLabel","maxlength","30"],["for","descrLenderContents"],["matInput","","placeholder","Enter a label","title","ILL Lender Contents Label","formControlName","lenderContentsLabel","maxlength","30"],["formControlName","copyCatalogForStaff"],[1,"red","patronGuestSelectDropdownError"],["formControlName","patronGuestDisplayMARC",3,"change"],["formControlName","patronGuestDisplayMoreAboutThisTitle",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","More About Title","formControlName","patronGuestMoreAboutThisTitleLabel","maxlength","30"],["formControlName","patronGuestDisplayMoreAboutThisTitle",3,"change"],["formControlName","patronGuestDisplayGoodreadsReview"],["formControlName","patronGuestDisplaySyndeticsUnbound",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","Syndetics Unbound","formControlName","patronGuestSyndeticsUnboundLabel","maxlength","30"],["formControlName","patronGuestDisplaySyndeticsUnbound",3,"change"],["formControlName","patronGuestDisplayNovelist",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","Novelist","formControlName","patronGuestNovelistLabel","maxlength","30"],["formControlName","patronGuestDisplayNovelist",3,"change"],["formControlName","patronGuestDisplayCLCD",3,"change",4,"ngIf"],["matInput","","formControlName","patronGuestCLCDLabel","maxlength","30","placeholder","Enter a label"],["formControlName","patronGuestDisplayCLCD",3,"change"],["formControlName","patronGuestDisplayShelfBrowse",3,"change",4,"ngIf"],["matInput","","placeholder","Enter a label","title","Shelf Browse","formControlName","patronGuestShelfBrowseLabel","maxlength","30"],["formControlName","patronGuestDisplayShelfBrowse",3,"change"]],template:function(c,l){if(1&c&&e.YNc(0,Pd,3,0,"ng-container",0)(1,Hu,82,33,"ng-template",null,1,e.W1O),2&c){const x=e.MAs(2);e.Q6J("ngIf",!l.fullRecordOptions)("ngIfElse",x)}},dependencies:[ei.sg,ei.O5,bi.xw,bi.Wh,At._Y,At.Fj,At.JJ,At.JL,At.nD,ci.CK,Zn.eB,Go.FC,po.v_,po.pH,xo.k0,yr.x8,Ad.SK,Ad.R7,At.sg,At.u],styles:["[_nghost-%COMP%]     .mat-hint{color:var(--header-color)}"]})}return d})();const Da=["medEditorWebLink"];function Yc(d,g){1&d&&(e.TgZ(0,"div",2),e._UZ(1,"mat-spinner",3),e.qZA()),2&d&&(e.xp6(),e.Q6J("diameter",25))}function Ba(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",7)(1,"div",8),e._uU(2," UX Admin > Settings "),e.TgZ(3,"i",9),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.closeOverlay())}),e.qZA()(),e.TgZ(4,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goLogin())}),e._uU(5," Login"),e._UZ(6,"i",11),e.qZA(),e.TgZ(7,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goSearch())}),e._uU(8," Search and Results"),e._UZ(9,"i",11),e.qZA(),e.TgZ(10,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goPages())}),e._uU(11," Pages and Widgets"),e._UZ(12,"i",11),e.qZA(),e.TgZ(13,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goDesign())}),e._uU(14," Design"),e._UZ(15,"i",11),e.qZA(),e.TgZ(16,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goStaff())}),e._uU(17," Staff Options"),e._UZ(18,"i",11),e.qZA()()}}function lp(d,g){1&d&&e.GkF(0)}function Nd(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.goDisplayLibs())}),e._uU(1," Display Libraries for Login "),e._UZ(2,"i",11),e.qZA()}}const Pl=d=>({title:"UX Admin > Settings",action:d});function Fd(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",7),e.YNc(1,lp,1,0,"ng-container",18),e.TgZ(2,"h3",19),e._uU(3,"Login"),e.qZA(),e.TgZ(4,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goLoginForm())}),e._uU(5," Login Form Options "),e._UZ(6,"i",11),e.qZA(),e.YNc(7,Nd,3,0,"div",20),e.qZA()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(3,Pl,c.goStart.bind(c))),e.xp6(6),e.Q6J("ngIf",c.userData.isCustSuperUser)}}function Gu(d,g){1&d&&e.GkF(0)}function Ju(d,g){1&d&&(e.TgZ(0,"mat-header-cell"),e._uU(1,"Login"),e.qZA())}function Vu(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-cell")(1,"input",35),e.NdJ("change",function(l){const ke=e.CHM(i).$implicit,Mt=e.oxw(4);return e.KtG(Mt.onchangeDisplayLibrariesOption(l,ke.libraryProfileKey,"login"))}),e.qZA()()}if(2&d){const i=g.$implicit;e.xp6(),e.Q6J("value",i.suppressFromLoginDisplay)("checked",!i.suppressFromLoginDisplay),e.uIk("title",i.libraryProfileKey)}}function Il(d,g){1&d&&(e.TgZ(0,"mat-header-cell"),e._uU(1,"Info"),e.qZA())}function qc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-cell")(1,"input",35),e.NdJ("change",function(l){const ke=e.CHM(i).$implicit,Mt=e.oxw(4);return e.KtG(Mt.onchangeDisplayLibrariesOption(l,ke.libraryProfileKey,"info"))}),e.qZA()()}if(2&d){const i=g.$implicit;e.xp6(),e.Q6J("value",i.suppressFromILLSearch)("checked",!i.suppressFromILLSearch),e.uIk("title",i.libraryProfileKey)}}function gc(d,g){1&d&&(e.TgZ(0,"mat-header-cell"),e._uU(1,"Code"),e.qZA())}function Kc(d,g){if(1&d&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.xp6(),e.Oqu(i.libraryCode)}}function Rl(d,g){1&d&&(e.TgZ(0,"mat-header-cell"),e._uU(1,"Library Name"),e.qZA())}function zu(d,g){if(1&d&&(e.TgZ(0,"mat-cell"),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.xp6(),e.Oqu(i.description)}}function Ll(d,g){1&d&&e._UZ(0,"mat-header-row",36)}function Qu(d,g){1&d&&e._UZ(0,"mat-row")}const bc=d=>({title:"Login",action:d}),vc=()=>["login","info","code","libraryName"];function ll(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",21),e.YNc(1,Gu,1,0,"ng-container",18),e.TgZ(2,"h3",19),e._uU(3,"Display Libraries for Login"),e.qZA(),e.TgZ(4,"div",22),e._uU(5,' Check a library to include it in the "Select Your Library" drop-down at Login (Login) or in the Search Library Information directory (Info). '),e.qZA(),e.TgZ(6,"div",23)(7,"mat-table",24),e.ynx(8,25),e.YNc(9,Ju,2,0,"mat-header-cell",26)(10,Vu,2,3,"mat-cell",27),e.BQk(),e.ynx(11,28),e.YNc(12,Il,2,0,"mat-header-cell",26)(13,qc,2,3,"mat-cell",27),e.BQk(),e.ynx(14,29),e.YNc(15,gc,2,0,"mat-header-cell",26)(16,Kc,2,1,"mat-cell",27),e.BQk(),e.ynx(17,30),e.YNc(18,Rl,2,0,"mat-header-cell",26)(19,zu,2,1,"mat-cell",27),e.BQk(),e.YNc(20,Ll,1,0,"mat-header-row",31)(21,Qu,1,0,"mat-row",32),e.qZA(),e.TgZ(22,"div",33)(23,"button",34),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.saveDisplayLibraries())}),e._uU(24," Save "),e.qZA()()()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(5,bc,c.goLogin.bind(c))),e.xp6(6),e.Q6J("dataSource",c.librariesDisplayOptions),e.xp6(13),e.Q6J("matHeaderRowDef",e.DdM(7,vc)),e.xp6(),e.Q6J("matRowDefColumns",e.DdM(8,vc))}}function Nl(d,g){1&d&&e.GkF(0)}function yc(d,g){1&d&&(e.TgZ(0,"h3",19),e._uU(1,"Login Form Options"),e.qZA())}function ju(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",42)(1,"div",43)(2,"div",44)(3,"label",45),e._uU(4,"Login Instructional Text"),e.qZA(),e.TgZ(5,"mat-form-field",46)(6,"textarea",47,48),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.loginOptions.loginInstructionalText=l)}),e.qZA(),e.TgZ(8,"mat-hint",49),e._uU(9),e.qZA()()(),e.TgZ(10,"div",44)(11,"label",50),e._uU(12,"Username Prompt Label"),e.qZA(),e.TgZ(13,"mat-form-field",46)(14,"input",51,52),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.loginOptions.userNameLabel=l)}),e.qZA(),e.TgZ(16,"mat-hint",49),e._uU(17),e.qZA()()(),e.TgZ(18,"div",44)(19,"label",53),e._uU(20,"Password Prompt Label"),e.qZA(),e.TgZ(21,"mat-form-field",46)(22,"input",54,55),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.loginOptions.passwordLabel=l)}),e.qZA(),e.TgZ(24,"mat-hint",49),e._uU(25),e.qZA()()()(),e.TgZ(26,"div",43)(27,"div",44)(28,"mat-checkbox",56,57),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.loginOptions.showForgotPasswordLink=l)}),e._uU(30," Display Forgot Password Link "),e.qZA()(),e.TgZ(31,"div",44)(32,"mat-checkbox",58,59),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.loginOptions.showLibraryLookupBox=l)}),e._uU(34," Display Library Lookup Box "),e.qZA()(),e.TgZ(35,"div",44)(36,"mat-checkbox",60,61),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.loginOptions.requireLoginBeforSearch=l)}),e._uU(38," You must login to the system before searching the catalog "),e.qZA()(),e.TgZ(39,"div",44)(40,"mat-checkbox",62,63),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.loginOptions.redirectToAdvancedSearch=l)}),e._uU(42," Direct to Advanced Search after Login "),e.qZA()(),e.TgZ(43,"div",44)(44,"mat-checkbox",64,65),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.loginOptions.showPasswordPrompt=l)}),e._uU(46," Show Password Prompt "),e.qZA()(),e.TgZ(47,"div",44)(48,"label",66),e._uU(49,"Forgot Password Email Text"),e.qZA(),e.TgZ(50,"mat-form-field",46)(51,"textarea",67,48),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.loginOptions.emailText=l)}),e.qZA(),e.TgZ(53,"mat-hint",49),e._uU(54),e.qZA()()(),e.TgZ(55,"div",44)(56,"button",68),e._uU(57," Save "),e.qZA()()()()}if(2&d){e.oxw();const i=e.MAs(4),c=e.oxw(3);e.xp6(6),e.Q6J("ngModel",c.loginOptions.loginInstructionalText),e.xp6(3),e.hij("",(null==c.loginOptions.loginInstructionalText?null:c.loginOptions.loginInstructionalText.length)||0,"/240"),e.xp6(5),e.Q6J("ngModel",c.loginOptions.userNameLabel),e.xp6(3),e.hij("",(null==c.loginOptions.userNameLabel?null:c.loginOptions.userNameLabel.length)||0,"/50"),e.xp6(5),e.Q6J("ngModel",c.loginOptions.passwordLabel),e.xp6(3),e.hij("",(null==c.loginOptions.passwordLabel?null:c.loginOptions.passwordLabel.length)||0,"/50"),e.xp6(3),e.Q6J("ngModel",c.loginOptions.showForgotPasswordLink),e.xp6(4),e.Q6J("ngModel",c.loginOptions.showLibraryLookupBox),e.xp6(4),e.Q6J("ngModel",c.loginOptions.requireLoginBeforSearch),e.xp6(4),e.Q6J("ngModel",c.loginOptions.redirectToAdvancedSearch),e.xp6(4),e.Q6J("ngModel",c.loginOptions.showPasswordPrompt),e.xp6(7),e.Q6J("ngModel",c.loginOptions.emailText),e.xp6(3),e.hij("",(null==c.loginOptions.emailText?null:c.loginOptions.emailText.length)||0,"/240"),e.xp6(2),e.Q6J("disabled",!i.form.valid)}}function cl(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",21),e.YNc(1,Nl,1,0,"ng-container",18)(2,yc,2,0,"h3",37),e.TgZ(3,"form",38,39),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.MAs(4),x=e.oxw(3);return e.KtG(x.saveLoginOptions(l))}),e.TgZ(5,"div",40),e.YNc(6,ju,58,14,"div",41),e.qZA()()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(4,bc,c.goLogin.bind(c))),e.xp6(),e.Q6J("ngIf",c.loginOptions),e.xp6(4),e.Q6J("ngIf",c.loginOptions)}}function Fl(d,g){1&d&&e.GkF(0)}function Yu(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",7),e.YNc(1,Fl,1,0,"ng-container",18),e.TgZ(2,"div")(3,"h3",19),e._uU(4,"Search and Results"),e.qZA(),e.TgZ(5,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goSimple())}),e._uU(6," Quick Search "),e._UZ(7,"i",11),e.qZA(),e.TgZ(8,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goResults())}),e._uU(9," Search Results "),e._UZ(10,"i",11),e.qZA(),e.TgZ(11,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goZeroResults())}),e._uU(12," Zero Results "),e._UZ(13,"i",11),e.qZA(),e.TgZ(14,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goRDP())}),e._uU(15," Brief Record Display Profile "),e._UZ(16,"i",11),e.qZA(),e.TgZ(17,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goFacets())}),e._uU(18," Facets Management "),e._UZ(19,"i",11),e.qZA(),e.TgZ(20,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goDetail())}),e._uU(21," Full Record "),e._UZ(22,"i",11),e.qZA(),e.TgZ(23,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goAdvanced())}),e._uU(24," Advanced Search "),e._UZ(25,"i",11),e.qZA(),e.TgZ(26,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goBrowse())}),e._uU(27," Web Links "),e._UZ(28,"i",11),e.qZA()()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(2,Pl,c.goStart.bind(c)))}}function Bd(d,g){1&d&&e.GkF(0)}function qu(d,g){if(1&d&&(e.TgZ(0,"mat-option",88),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value),e.xp6(),e.hij(" ",i.name," ")}}function cp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"h3",19),e._uU(2,"Quick Search"),e.qZA(),e.TgZ(3,"div",40)(4,"div",42)(5,"div",73)(6,"div",44)(7,"label",74),e._uU(8," Display Index Selection "),e.qZA(),e.TgZ(9,"mat-checkbox",75),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.searchOptions.simple.displayIndexSelectionForStaff=l)}),e._uU(10," Staff "),e.qZA(),e.TgZ(11,"mat-checkbox",76),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.searchOptions.simple.displayIndexSelectionForPatronsGuests=l)}),e._uU(12," Patron "),e.qZA()()(),e.TgZ(13,"div",73)(14,"div",44)(15,"label",77),e._uU(16,"Display Resource Selection"),e.qZA(),e.TgZ(17,"mat-checkbox",78),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.searchOptions.simple.displayResourceSelectionForStaff=l)}),e._uU(18,"Staff "),e.qZA(),e.TgZ(19,"mat-checkbox",79),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.searchOptions.simple.displayResourceSelectionForPatronsGuests=l)}),e._uU(20,"Patron "),e.qZA()()(),e.TgZ(21,"div",73)(22,"div",44)(23,"label",80),e._uU(24,"Enable Type Ahead"),e.qZA(),e.TgZ(25,"mat-checkbox",81),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.searchOptions.simple.enableTypeAheadForStaff=l)}),e._uU(26,"Staff "),e.qZA(),e.TgZ(27,"mat-checkbox",82),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.searchOptions.simple.enableTypeAheadForPatronsGuests=l)}),e._uU(28,"Patron "),e.qZA()()(),e.TgZ(29,"div",43)(30,"div",44)(31,"label",83),e._uU(32,"Search Box Default Index"),e.qZA(),e.TgZ(33,"mat-form-field",46)(34,"mat-select",84),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.searchOptions.simple.searchBoxDefaultIndex=l)}),e.YNc(35,qu,2,2,"mat-option",85),e.qZA(),e.TgZ(36,"mat-hint",49),e._uU(37,"What is displayed first when visiting site."),e.qZA()()()(),e.TgZ(38,"div",86)(39,"button",87),e._uU(40," Save "),e.qZA()()()()()}if(2&d){const i=e.oxw(4);e.xp6(9),e.Q6J("ngModel",i.searchOptions.simple.displayIndexSelectionForStaff),e.xp6(2),e.Q6J("ngModel",i.searchOptions.simple.displayIndexSelectionForPatronsGuests),e.xp6(6),e.Q6J("ngModel",i.searchOptions.simple.displayResourceSelectionForStaff),e.xp6(2),e.Q6J("ngModel",i.searchOptions.simple.displayResourceSelectionForPatronsGuests),e.xp6(6),e.Q6J("ngModel",i.searchOptions.simple.enableTypeAheadForStaff),e.xp6(2),e.Q6J("ngModel",i.searchOptions.simple.enableTypeAheadForPatronsGuests),e.xp6(7),e.Q6J("compareWith",i.compareWithValue)("ngModel",i.searchOptions.simple.searchBoxDefaultIndex),e.xp6(),e.Q6J("ngForOf",i.searchOptions.simple.searchIndexes)}}const Es=d=>({title:"Search and Results",action:d});function Ku(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",69),e.YNc(1,Bd,1,0,"ng-container",18),e.TgZ(2,"form",70,71),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.MAs(3),x=e.oxw(3);return e.KtG(x.saveSimpleSearchOptions(l))}),e.YNc(4,cp,41,9,"div",72),e.qZA()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(3,Es,c.goSearchOptions.bind(c))),e.xp6(3),e.Q6J("ngIf",c.searchOptions)}}function Ud(d,g){1&d&&e.GkF(0)}function Zd(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",96)(1,"div",97),e._UZ(2,"i",98),e.TgZ(3,"i",99),e.NdJ("click",function(){const x=e.CHM(i).index,ke=e.oxw(5);return e.KtG(ke.deleteNewRDP(x))}),e.qZA()(),e.TgZ(4,"div",100),e.NdJ("agInteract",function(){const l=e.CHM(i),x=l.$implicit,ke=l.index,Mt=e.oxw(5);return e.KtG(Mt.editNewRDP(x,ke))}),e.TgZ(5,"div",101)(6,"mat-form-field")(7,"input",102),e.NdJ("ngModelChange",function(l){const ke=e.CHM(i).$implicit;return e.KtG(ke.tagId=l)}),e.qZA()(),e.TgZ(8,"mat-form-field")(9,"input",103),e.NdJ("ngModelChange",function(l){const ke=e.CHM(i).$implicit;return e.KtG(ke.subfields=l)}),e.qZA()(),e.TgZ(10,"mat-form-field")(11,"input",104),e.NdJ("ngModelChange",function(l){const ke=e.CHM(i).$implicit;return e.KtG(ke.label=l)}),e.qZA()()(),e._UZ(12,"i",105),e.qZA()()}if(2&d){const i=g.$implicit;e.xp6(7),e.Q6J("name",i.tagId)("ngModel",i.tagId),e.uIk("title",i.tagId),e.xp6(2),e.Q6J("name",i.subfields)("ngModel",i.subfields),e.uIk("title",i.subfields),e.xp6(2),e.Q6J("name",i.label)("ngModel",i.label),e.uIk("title",i.label)}}function Os(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",94),e.NdJ("dragulaModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.newRDPData=l)}),e.YNc(1,Zd,13,9,"div",95),e.qZA()}if(2&d){const i=e.oxw(4);e.Q6J("dragulaModel",i.newRDPData),e.xp6(),e.Q6J("ngForOf",i.newRDPData)}}function $c(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",21),e.YNc(1,Ud,1,0,"ng-container",18),e.TgZ(2,"div",40)(3,"div",42)(4,"div",89)(5,"button",90),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.addNewRDP())}),e._uU(6," Add new field "),e.qZA()()(),e.TgZ(7,"div",42)(8,"div",91)(9,"form",null,92),e.YNc(11,Os,2,2,"div",93),e._UZ(12,"br")(13,"br"),e.qZA()()()()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(3,Es,c.goSearchOptions.bind(c))),e.xp6(10),e.Q6J("ngIf",c.newRDPData)}}function xc(d,g){1&d&&e.GkF(0)}const Bl=d=>({title:"Brief Record Display Profile",action:d});function Ul(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",21),e.YNc(1,xc,1,0,"ng-container",18),e.TgZ(2,"div",40)(3,"div",42)(4,"div",89)(5,"form",106),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.validNewRDPForm(l.newRdpForm))}),e.TgZ(6,"div",44)(7,"label",107),e._uU(8,"Tag Id:"),e.qZA(),e._UZ(9,"input",108),e.qZA(),e.TgZ(10,"div",44)(11,"label",109),e._uU(12,"Sub Fields:"),e.qZA(),e._UZ(13,"input",110),e.qZA(),e.TgZ(14,"div",44)(15,"label",111),e._uU(16,"Label:"),e.qZA(),e._UZ(17,"input",112),e.qZA(),e.TgZ(18,"button",113),e._uU(19," Save "),e.qZA()()()()()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(4,Bl,c.goRDP.bind(c))),e.xp6(4),e.Q6J("formGroup",c.newRdpForm),e.xp6(13),e.Q6J("disabled",!(null!=c.newRdpForm&&c.newRdpForm.valid))}}function Hd(d,g){1&d&&e.GkF(0)}function $u(d,g){if(1&d&&(e.TgZ(0,"div",21),e.YNc(1,Hd,1,0,"ng-container",18),e._UZ(2,"edit-c-text",114),e.qZA()),2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(3,Es,c.goSearchOptions.bind(c))),e.xp6(),e.Q6J("zeroResults",c.zeroResults)}}function Wc(d,g){1&d&&e.GkF(0)}function Cc(d,g){1&d&&(e.TgZ(0,"h3",19),e._uU(1,"Search Results"),e.qZA())}function dp(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Patron - ",i.name," ")}}function Gd(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Staff - ",i.name," ")}}function up(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Patron - ",i.name," ")}}function Jd(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Staff - ",i.name," ")}}function Wu(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Patron - ",i.name," ")}}function Xu(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Staff - ",i.name," ")}}function Ds(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",147),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Patron - ",i.name," ")}}function hp(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Staff - ",i.name," ")}}function Vd(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Patron - ",i.name," ")}}function Xc(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Staff - ",i.name," ")}}function zd(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Patron - ",i.name," ")}}function Qd(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Staff - ",i.name," ")}}function ed(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Patron - ",i.name," ")}}function ja(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Staff - ",i.name," ")}}function dl(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Patron - ",i.name," ")}}function td(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Staff - ",i.name," ")}}function pp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",73)(1,"div",44)(2,"label",148),e._uU(3,"Browse Indexes"),e.qZA(),e.TgZ(4,"mat-radio-group",149),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.showBrowseIndexesPatronGuests=l)}),e.YNc(5,dl,2,3,"mat-radio-button",117),e.qZA(),e._UZ(6,"hr",118),e.TgZ(7,"mat-radio-group",150),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.showBrowseIndexesStaff=l)}),e.YNc(8,td,2,3,"mat-radio-button",117),e.qZA()()()}if(2&d){const i=e.oxw(4);e.xp6(4),e.Q6J("ngModel",i.showBrowseIndexesPatronGuests),e.xp6(),e.Q6J("ngForOf",null==i.resultOptions?null:i.resultOptions.showBrowseIndexesDisplay.patronGuest),e.xp6(2),e.Q6J("ngModel",i.showBrowseIndexesStaff),e.xp6(),e.Q6J("ngForOf",null==i.resultOptions?null:i.resultOptions.showBrowseIndexesDisplay.staff)}}function mp(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("",i.name," ")}}function eh(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Patron - ",i.name," ")}}function Zl(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("Staff - ",i.name," ")}}function fp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",73)(1,"div",44)(2,"label",151),e._uU(3,"Display eFormats"),e.qZA(),e.TgZ(4,"mat-radio-group",152),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.showEformatsPatronGuests=l)}),e.YNc(5,eh,2,3,"mat-radio-button",117),e.qZA(),e._UZ(6,"hr",118),e.TgZ(7,"mat-radio-group",153),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.showEformatsStaff=l)}),e.YNc(8,Zl,2,3,"mat-radio-button",117),e.qZA()()()}if(2&d){const i=e.oxw(4);e.xp6(4),e.Q6J("ngModel",i.showEformatsPatronGuests),e.xp6(),e.Q6J("ngForOf",null==i.resultOptions?null:i.resultOptions.eformatOption.patronGuest),e.xp6(2),e.Q6J("ngModel",i.showEformatsStaff),e.xp6(),e.Q6J("ngForOf",null==i.resultOptions?null:i.resultOptions.eformatOption.staff)}}function _p(d,g){if(1&d&&(e.TgZ(0,"mat-option",88),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value),e.xp6(),e.hij(" ",i.name," ")}}function th(d,g){if(1&d&&(e.TgZ(0,"mat-option",88),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value),e.xp6(),e.hij(" ",i.name," ")}}function jd(d,g){if(1&d&&(e.TgZ(0,"mat-option",88),e._uU(1),e.qZA()),2&d){const i=e.oxw().$implicit;e.Q6J("value",i.value),e.xp6(),e.hij(" ",i.name," ")}}function Yd(d,g){if(1&d&&(e.ynx(0),e.YNc(1,jd,2,2,"mat-option",154),e.BQk()),2&d){const i=g.$implicit,c=e.oxw(4);e.xp6(),e.Q6J("ngIf","1"!==c.resultsGroupingPatronGuest||"1"===c.resultsGroupingPatronGuest&&i.value<"5")}}function nd(d,g){if(1&d&&(e.TgZ(0,"mat-option",88),e._uU(1),e.qZA()),2&d){const i=e.oxw().$implicit;e.Q6J("value",i.value),e.xp6(),e.hij(" ",i.name," ")}}function nh(d,g){if(1&d&&(e.ynx(0),e.YNc(1,nd,2,2,"mat-option",154),e.BQk()),2&d){const i=g.$implicit,c=e.oxw(4);e.xp6(),e.Q6J("ngIf","1"!==c.resultsGroupingStaff||"1"===c.resultsGroupingStaff&&i.value<"5")}}function gp(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("",i.name," ")}}function bp(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",146),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value)("name",i.name),e.xp6(),e.hij("",i.name," ")}}function qd(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",42)(1,"div",155)(2,"div",44)(3,"div")(4,"label",156),e._uU(5,"Show Resource Details and Availability on List and Brief Views"),e.qZA()()()(),e.TgZ(6,"div",43)(7,"div",44)(8,"span",157),e._uU(9,"Patrons/Guests:"),e.qZA(),e.TgZ(10,"mat-radio-group",158),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.showResourceDetailsDisplayPatronGuests=l)}),e.YNc(11,gp,2,3,"mat-radio-button",117),e.qZA()()(),e.TgZ(12,"div",43)(13,"div",44)(14,"span",157),e._uU(15,"Staff:"),e.qZA(),e.TgZ(16,"mat-radio-group",159),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.showResourceDetailsDisplayStaff=l)}),e.YNc(17,bp,2,3,"mat-radio-button",117),e.qZA()()()()}if(2&d){const i=e.oxw(4);e.xp6(10),e.Q6J("ngModel",i.showResourceDetailsDisplayPatronGuests),e.xp6(),e.Q6J("ngForOf",null==i.resultOptions||null==i.resultOptions.showResourceDetailsDisplay?null:i.resultOptions.showResourceDetailsDisplay.patronGuest),e.xp6(5),e.Q6J("ngModel",i.showResourceDetailsDisplayStaff),e.xp6(),e.Q6J("ngForOf",null==i.resultOptions||null==i.resultOptions.showResourceDetailsDisplay?null:i.resultOptions.showResourceDetailsDisplay.staff)}}function vp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",21),e.YNc(1,Wc,1,0,"ng-container",18),e.TgZ(2,"div"),e.YNc(3,Cc,2,0,"h3",37),e.TgZ(4,"div",40)(5,"div",42)(6,"div",73)(7,"div",44)(8,"label",115),e._uU(9,"Default Results View"),e.qZA(),e.TgZ(10,"mat-radio-group",116),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.resultViewPatronGuestDefault=l)}),e.YNc(11,dp,2,3,"mat-radio-button",117),e.qZA(),e._UZ(12,"hr",118),e.TgZ(13,"mat-radio-group",119),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.resultViewStaffDefault=l)}),e.YNc(14,Gd,2,3,"mat-radio-button",117),e.qZA()()(),e.TgZ(15,"div",73)(16,"div",44)(17,"label",120),e._uU(18,"Display PRINT Options"),e.qZA(),e.TgZ(19,"mat-radio-group",121),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.printOptionPatronGuestDefault=l)}),e.YNc(20,up,2,3,"mat-radio-button",117),e.qZA(),e._UZ(21,"hr",118),e.TgZ(22,"mat-radio-group",122),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.printOptionStaffDefault=l)}),e.YNc(23,Jd,2,3,"mat-radio-button",117),e.qZA()()(),e.TgZ(24,"div",73)(25,"div",44)(26,"label",123),e._uU(27,"Display Jacket Art on List View"),e.qZA(),e.TgZ(28,"mat-radio-group",124),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.jacketArtListPatronGuestDefault=l)}),e.YNc(29,Wu,2,3,"mat-radio-button",117),e.qZA(),e._UZ(30,"hr",118),e.TgZ(31,"mat-radio-group",125),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.jacketArtListStaffDefault=l)}),e.YNc(32,Xu,2,3,"mat-radio-button",117),e.qZA()()(),e.TgZ(33,"div",73)(34,"div",44)(35,"label",126),e._uU(36," Display 'See More From' View "),e.qZA(),e.TgZ(37,"mat-radio-group",127),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.seeMoreFromPatronGuest=l)}),e.YNc(38,Ds,2,3,"mat-radio-button",128),e.qZA(),e._UZ(39,"hr",118),e.TgZ(40,"mat-radio-group",129),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.seeMoreFromStaff=l)}),e.YNc(41,hp,2,3,"mat-radio-button",117),e.qZA()()(),e.TgZ(42,"div",73)(43,"div",44)(44,"label",130),e._uU(45," Display 'Showing Results For:' "),e.qZA(),e.TgZ(46,"mat-radio-group",131),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.showingResultsForPatronGuest=l)}),e.YNc(47,Vd,2,3,"mat-radio-button",117),e.qZA(),e._UZ(48,"hr",118),e.TgZ(49,"mat-radio-group",132),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.showingResultsForStaff=l)}),e.YNc(50,Xc,2,3,"mat-radio-button",117),e.qZA()()(),e.TgZ(51,"div",73)(52,"div",44)(53,"label",133),e._uU(54,"Enable Search Highlight"),e.qZA(),e.TgZ(55,"mat-radio-group",134),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.enableSeachHighlightPatronsGuests=l)}),e.YNc(56,zd,2,3,"mat-radio-button",117),e.qZA(),e._UZ(57,"hr",118),e.TgZ(58,"mat-radio-group",135),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.enableSeachHighlightStaff=l)}),e.YNc(59,Qd,2,3,"mat-radio-button",117),e.qZA()()(),e.TgZ(60,"div",73)(61,"div",44)(62,"label",136),e._uU(63,"Show Search Grouping Options"),e.qZA(),e.TgZ(64,"mat-radio-group",137),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.showResultTypesPatronsGuests=l)}),e.YNc(65,ed,2,3,"mat-radio-button",117),e.qZA(),e._UZ(66,"hr",118),e.TgZ(67,"mat-radio-group",138),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.showResultTypesStaff=l)}),e.YNc(68,ja,2,3,"mat-radio-button",117),e.qZA()()(),e.YNc(69,pp,9,4,"div",139),e.TgZ(70,"div",73)(71,"div",44)(72,"label",140),e._uU(73,"Facet Sequence"),e.qZA(),e.TgZ(74,"mat-radio-group",141),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.formatSequence=l)}),e.YNc(75,mp,2,3,"mat-radio-button",117),e.qZA()()(),e.YNc(76,fp,9,4,"div",139),e.qZA(),e.TgZ(77,"div",42)(78,"div",43)(79,"div",44)(80,"label",83),e._uU(81,"Default Results Grouping for Patron"),e.qZA(),e.TgZ(82,"mat-form-field",46)(83,"mat-select",142),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.resultsGroupingPatronGuest=l)}),e.YNc(84,_p,2,2,"mat-option",85),e.qZA()()()(),e.TgZ(85,"div",43)(86,"div",44)(87,"label",83),e._uU(88,"Default Results Grouping for Staff"),e.qZA(),e.TgZ(89,"mat-form-field",46)(90,"mat-select",142),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.resultsGroupingStaff=l)}),e.YNc(91,th,2,2,"mat-option",85),e.qZA()()()(),e.TgZ(92,"div",43)(93,"div",44)(94,"label",83),e._uU(95,"Default Results Sort for Patron"),e.qZA(),e.TgZ(96,"mat-form-field",46)(97,"mat-select",142),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.resultsSortPatronGuest=l)}),e.YNc(98,Yd,2,1,"ng-container",143),e.qZA()()()(),e.TgZ(99,"div",43)(100,"div",44)(101,"label",83),e._uU(102,"Default Results Sort for Staff"),e.qZA(),e.TgZ(103,"mat-form-field",46)(104,"mat-select",142),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.resultsSortStaff=l)}),e.YNc(105,nh,2,1,"ng-container",143),e.qZA()()()()(),e.YNc(106,qd,18,4,"div",41),e.qZA(),e.TgZ(107,"div",144)(108,"button",145),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.saveResultOptions())}),e._uU(109," Save "),e.qZA()(),e._UZ(110,"br")(111,"br"),e.qZA()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(44,Es,c.goSearchOptions.bind(c))),e.xp6(2),e.Q6J("ngIf",c.resultOptions),e.xp6(7),e.Q6J("ngModel",c.resultViewPatronGuestDefault),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.resultView.patronGuest),e.xp6(2),e.Q6J("ngModel",c.resultViewStaffDefault),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.resultView.staff),e.xp6(5),e.Q6J("ngModel",c.printOptionPatronGuestDefault),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.printOption.patronGuest),e.xp6(2),e.Q6J("ngModel",c.printOptionStaffDefault),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.printOption.staff),e.xp6(5),e.Q6J("ngModel",c.jacketArtListPatronGuestDefault),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.jacketArtOnListView.patronGuest),e.xp6(2),e.Q6J("ngModel",c.jacketArtListStaffDefault),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.jacketArtOnListView.staff),e.xp6(5),e.Q6J("ngModel",c.seeMoreFromPatronGuest),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.seeMoreFrom.patronGuest),e.xp6(2),e.Q6J("ngModel",c.seeMoreFromStaff),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.seeMoreFrom.staff),e.xp6(5),e.Q6J("ngModel",c.showingResultsForPatronGuest),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.showingResultsFor.patronGuest),e.xp6(2),e.Q6J("ngModel",c.showingResultsForStaff),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.showingResultsFor.staff),e.xp6(5),e.Q6J("ngModel",c.enableSeachHighlightPatronsGuests),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.enableSearchHighlight.patronGuest),e.xp6(2),e.Q6J("ngModel",c.enableSeachHighlightStaff),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.enableSearchHighlight.staff),e.xp6(5),e.Q6J("ngModel",c.showResultTypesPatronsGuests),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.showResultTypes.patronGuest),e.xp6(2),e.Q6J("ngModel",c.showResultTypesStaff),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.showResultTypes.staff),e.xp6(),e.Q6J("ngIf",!c.isShareIt),e.xp6(5),e.Q6J("ngModel",c.formatSequence),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.formatSequence),e.xp6(),e.Q6J("ngIf",c.isShareIt),e.xp6(7),e.Q6J("ngModel",c.resultsGroupingPatronGuest),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.resultsGrouping.patronGuest),e.xp6(6),e.Q6J("ngModel",c.resultsGroupingStaff),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.resultsGrouping.staff),e.xp6(6),e.Q6J("ngModel",c.resultsSortPatronGuest),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.resultsSort.patronGuest),e.xp6(6),e.Q6J("ngModel",c.resultsSortStaff),e.xp6(),e.Q6J("ngForOf",null==c.resultOptions?null:c.resultOptions.resultsSort.staff),e.xp6(),e.Q6J("ngIf",c.isShareIt)}}function ih(d,g){1&d&&e.GkF(0)}function yp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",21),e.YNc(1,ih,1,0,"ng-container",18),e.TgZ(2,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goCurrentAS())}),e._uU(3," Advanced Search Settings "),e._UZ(4,"i",11),e.qZA(),e.TgZ(5,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goNewAS())}),e._uU(6," Advanced Search Qualifiers "),e._UZ(7,"i",11),e.qZA()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(2,Es,c.goSearchOptions.bind(c)))}}function xp(d,g){1&d&&e.GkF(0)}function Kd(d,g){if(1&d&&(e.TgZ(0,"mat-option",88),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value),e.xp6(),e.hij(" ",i.name," ")}}function oh(d,g){if(1&d&&(e.TgZ(0,"mat-option",88),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value),e.xp6(),e.hij(" ",i.name," ")}}function rh(d,g){if(1&d&&(e.TgZ(0,"mat-option",88),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i.value),e.xp6(),e.hij(" ",i.name," ")}}function Ya(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"form",70,39),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.MAs(1),x=e.oxw(4);return e.KtG(x.saveAdvancedSearchOptions(l))}),e.TgZ(2,"h3",161),e._uU(3,"Advanced Search Settings"),e.qZA(),e.TgZ(4,"div",40)(5,"div",42)(6,"div",162)(7,"div",44)(8,"label",163),e._uU(9,"Filter Tab Label"),e.qZA(),e.TgZ(10,"mat-form-field",164)(11,"input",165),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.advSearchOptions.filterTabLabel=l)}),e.qZA()(),e.TgZ(12,"mat-hint",49),e._uU(13),e.qZA()()(),e.TgZ(14,"div",162)(15,"div",44)(16,"label",163),e._uU(17,"Resources Tab Label"),e.qZA(),e.TgZ(18,"mat-form-field",164)(19,"input",166),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.advSearchOptions.resourceTabLabel=l)}),e.qZA()(),e.TgZ(20,"mat-hint",49),e._uU(21),e.qZA()()()(),e.TgZ(22,"div",42)(23,"div",162)(24,"div")(25,"label",167),e._uU(26,"Search Box One Default Index"),e.qZA(),e._UZ(27,"br"),e.TgZ(28,"mat-form-field",46)(29,"mat-select",168),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.advSearchOptions.searchBoxOneDefaultIndex=l)}),e.YNc(30,Kd,2,2,"mat-option",85),e.qZA()()()(),e.TgZ(31,"div",162)(32,"div")(33,"label",167),e._uU(34,"Search Box Two Default Index"),e.qZA(),e.TgZ(35,"mat-form-field",46)(36,"mat-select",169),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.advSearchOptions.searchBoxTwoDefaultIndex=l)}),e.YNc(37,oh,2,2,"mat-option",85),e.qZA()()()(),e.TgZ(38,"div",162)(39,"div")(40,"label",167),e._uU(41,"Search Box Three Default Index"),e.qZA(),e.TgZ(42,"mat-form-field",46)(43,"mat-select",170),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.advSearchOptions.searchBoxThreeeDefaultIndex=l)}),e.YNc(44,rh,2,2,"mat-option",85),e.qZA()()()(),e.TgZ(45,"div",162)(46,"div",44)(47,"label",171),e._uU(48,"Enable Type Ahead"),e.qZA(),e.TgZ(49,"div",172)(50,"mat-checkbox",173),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.advSearchOptions.enableTypeAheadForStaff=l)}),e._uU(51,"Staff "),e.qZA()(),e.TgZ(52,"div",174)(53,"mat-checkbox",175),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.advSearchOptions.enableTypeAheadForPatronsGuests=l)}),e._uU(54,"Patron "),e.qZA()()()(),e.TgZ(55,"div",86)(56,"button",176),e._uU(57,"Save"),e.qZA()()()()()}if(2&d){const i=e.oxw(4);e.xp6(11),e.Q6J("ngModel",i.advSearchOptions.filterTabLabel),e.xp6(2),e.hij(" ",(null==i.advSearchOptions.filterTabLabel?null:i.advSearchOptions.filterTabLabel.length)||0,"/20 "),e.xp6(6),e.Q6J("ngModel",i.advSearchOptions.resourceTabLabel),e.xp6(2),e.hij(" ",(null==i.advSearchOptions.resourceTabLabel?null:i.advSearchOptions.resourceTabLabel.length)||0,"/20 "),e.xp6(8),e.Q6J("compareWith",i.compareWithValue)("ngModel",i.advSearchOptions.searchBoxOneDefaultIndex),e.xp6(),e.Q6J("ngForOf",i.advSearchOptions.searchIndexes),e.xp6(6),e.Q6J("compareWith",i.compareWithValue)("ngModel",i.advSearchOptions.searchBoxTwoDefaultIndex),e.xp6(),e.Q6J("ngForOf",i.advSearchOptions.searchIndexes),e.xp6(6),e.Q6J("compareWith",i.compareWithValue)("ngModel",i.advSearchOptions.searchBoxThreeeDefaultIndex),e.xp6(),e.Q6J("ngForOf",i.advSearchOptions.searchIndexes),e.xp6(6),e.Q6J("ngModel",i.advSearchOptions.enableTypeAheadForStaff),e.xp6(3),e.Q6J("ngModel",i.advSearchOptions.enableTypeAheadForPatronsGuests)}}const id=d=>({title:"Advanced Search",action:d});function zs(d,g){if(1&d&&(e.TgZ(0,"div",21),e.YNc(1,xp,1,0,"ng-container",18)(2,Ya,58,15,"form",160),e.qZA()),2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(3,id,c.goAdvanced.bind(c))),e.xp6(),e.Q6J("ngIf",c.advSearchOptions)}}function Hl(d,g){1&d&&e.GkF(0)}function ah(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"div",97),e._UZ(2,"i",98),e.qZA(),e.TgZ(3,"div",182)(4,"div",183)(5,"div",184)(6,"input",185),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw().$implicit;return e.KtG(x.display=l)}),e.qZA(),e._UZ(7,"span",186),e.qZA(),e.TgZ(8,"mat-form-field",187)(9,"input",188),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw().$implicit;return e.KtG(x.mappedDescription=l)}),e.qZA()()()()()}if(2&d){const i=e.oxw().$implicit;e.xp6(6),e.Q6J("name",i.filterId)("ngModel",i.display),e.uIk("title",i.filterId),e.xp6(3),e.Q6J("placeholder",i.description)("name",i.mappedDescription)("ngModel",i.mappedDescription),e.uIk("title",i.description)}}function wc(d,g){if(1&d&&(e.TgZ(0,"div",96),e.YNc(1,ah,10,7,"div",72),e.qZA()),2&d){const i=g.$implicit,c=e.oxw(5);e.xp6(),e.Q6J("ngIf",!c.isShareIt||c.isShareIt&&9!==i.filterId)}}function Cp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",181),e.NdJ("dragulaModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.advSearchQualiferOptPatronGuest=l)}),e.YNc(1,wc,2,1,"div",95),e.qZA()}if(2&d){const i=e.oxw(4);e.Q6J("dragulaModel",i.advSearchQualiferOptPatronGuest),e.xp6(),e.Q6J("ngForOf",i.advSearchQualiferOptPatronGuest)}}function wp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"div",97),e._UZ(2,"i",98),e.qZA(),e.TgZ(3,"div",182)(4,"div",183)(5,"div",184)(6,"input",185),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw().$implicit;return e.KtG(x.display=l)}),e.qZA(),e._UZ(7,"span",186),e.qZA(),e.TgZ(8,"mat-form-field",187)(9,"input",188),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw().$implicit;return e.KtG(x.mappedDescription=l)}),e.qZA()()()()()}if(2&d){const i=e.oxw().$implicit;e.xp6(6),e.Q6J("name",i.filterId)("ngModel",i.display),e.uIk("title",i.filterId),e.xp6(3),e.Q6J("placeholder",i.description)("name",i.mappedDescription)("ngModel",i.mappedDescription),e.uIk("title",i.description)}}function Tc(d,g){if(1&d&&(e.TgZ(0,"div",96),e.YNc(1,wp,10,7,"div",72),e.qZA()),2&d){const i=g.$implicit,c=e.oxw(5);e.xp6(),e.Q6J("ngIf",!c.isShareIt||c.isShareIt&&9!==i.filterId)}}function sh(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",189),e.NdJ("dragulaModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.advSearchQualiferOptStaff=l)}),e.YNc(1,Tc,2,1,"div",95),e.qZA()}if(2&d){const i=e.oxw(4);e.Q6J("dragulaModel",i.advSearchQualiferOptStaff),e.xp6(),e.Q6J("ngForOf",i.advSearchQualiferOptStaff)}}function As(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",21),e.YNc(1,Hl,1,0,"ng-container",18),e.TgZ(2,"h3",19),e._uU(3,"Advanced Search Qualifiers"),e.qZA(),e.TgZ(4,"div",40)(5,"div",42)(6,"div",43)(7,"h5",19),e._uU(8,"For Patron/Guest"),e.qZA(),e.TgZ(9,"form",70,177),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.MAs(10),x=e.oxw(3);return e.KtG(x.patronFilterformSubmit(l))}),e.YNc(11,Cp,2,2,"div",178),e.TgZ(12,"button",113),e._uU(13," Submit Patron/Guest Filters "),e.qZA(),e._UZ(14,"br")(15,"br"),e.qZA()(),e.TgZ(16,"div",43)(17,"h5",19),e._uU(18,"For Staff"),e.qZA(),e.TgZ(19,"form",70,179),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.MAs(20),x=e.oxw(3);return e.KtG(x.staffFilterformSubmit(l))}),e.YNc(21,sh,2,2,"div",180),e.TgZ(22,"button",113),e._uU(23," Submit Staff Filters "),e.qZA()()()()()()}if(2&d){const i=e.MAs(10),c=e.MAs(20);e.oxw();const l=e.MAs(22),x=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.VKq(6,id,x.goAdvanced.bind(x))),e.xp6(10),e.Q6J("ngIf",x.advSearchQualiferOptPatronGuest),e.xp6(),e.Q6J("disabled",!i.valid),e.xp6(9),e.Q6J("ngIf",x.advSearchQualiferOptStaff),e.xp6(),e.Q6J("disabled",!c.valid)}}function od(d,g){1&d&&e.GkF(0)}const rd=()=>({standalone:!0});function $d(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"form",70,39),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.MAs(1),x=e.oxw(4);return e.KtG(x.saveWebLinksOptions(l))}),e.TgZ(2,"h3",19),e._uU(3,"Web Links"),e.qZA(),e.TgZ(4,"div",190)(5,"div",191),e._uU(6,"Display Web Links Option On Separate Tab"),e.qZA(),e.TgZ(7,"div",192)(8,"mat-checkbox",193),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.webLinkOptions.weblinkOnSeparateTab.guest=l)}),e._uU(9,"Guest"),e.qZA()(),e.TgZ(10,"div",192)(11,"mat-checkbox",194),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.webLinkOptions.weblinkOnSeparateTab.patron=l)}),e._uU(12,"Patron"),e.qZA()(),e.TgZ(13,"div",192)(14,"mat-checkbox",195),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.webLinkOptions.weblinkOnSeparateTab.staff=l)}),e._uU(15,"Staff "),e.qZA()()(),e.TgZ(16,"div",190)(17,"div",191),e._uU(18,"Display Web Links on Choose Resources Screen"),e.qZA(),e.TgZ(19,"div",192)(20,"mat-checkbox",196),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.webLinkOptions.weblinkOnChooseResourceScreen.guest=l)}),e._uU(21,"Guest "),e.qZA()(),e.TgZ(22,"div",192)(23,"mat-checkbox",197),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.webLinkOptions.weblinkOnChooseResourceScreen.patron=l)}),e._uU(24,"Patron "),e.qZA()(),e.TgZ(25,"div",192)(26,"mat-checkbox",198),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.webLinkOptions.weblinkOnChooseResourceScreen.staff=l)}),e._uU(27,"Staff "),e.qZA()()(),e.TgZ(28,"div")(29,"div"),e._uU(30,"Web Link Tab Label"),e.qZA(),e.TgZ(31,"mat-form-field",46)(32,"input",199),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.webLinkTabLabel=l)}),e.qZA(),e.TgZ(33,"mat-hint",49),e._uU(34),e.qZA()(),e._UZ(35,"br"),e.TgZ(36,"div"),e._uU(37,"Web Link Page Text"),e.qZA(),e.TgZ(38,"form",23,200),e._UZ(40,"medium-editor-shared",201,202),e.qZA()(),e._UZ(42,"br"),e.TgZ(43,"button",87),e._uU(44,"Save"),e.qZA()()}if(2&d){const i=e.oxw(4);e.xp6(8),e.Q6J("ngModel",i.webLinkOptions.weblinkOnSeparateTab.guest),e.xp6(3),e.Q6J("ngModel",i.webLinkOptions.weblinkOnSeparateTab.patron),e.xp6(3),e.Q6J("ngModel",i.webLinkOptions.weblinkOnSeparateTab.staff),e.xp6(6),e.Q6J("ngModel",i.webLinkOptions.weblinkOnChooseResourceScreen.guest),e.xp6(3),e.Q6J("ngModel",i.webLinkOptions.weblinkOnChooseResourceScreen.patron),e.xp6(3),e.Q6J("ngModel",i.webLinkOptions.weblinkOnChooseResourceScreen.staff),e.xp6(6),e.Q6J("ngModel",i.webLinkTabLabel)("ngModelOptions",e.DdM(11,rd)),e.xp6(2),e.hij("",i.webLinkTabLabel.length,"/20"),e.xp6(6),e.Q6J("innerHTMLText",i.webLinkPageText)("location","editsidenav")}}function ad(d,g){if(1&d&&(e.TgZ(0,"div",21),e.YNc(1,od,1,0,"ng-container",18)(2,$d,45,12,"form",160),e.qZA()),2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(3,Es,c.goSearchOptions.bind(c))),e.xp6(),e.Q6J("ngIf",c.webLinkOptions)}}function Tp(d,g){1&d&&e.GkF(0)}function lh(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"div",97),e._UZ(2,"i",98),e.qZA(),e.TgZ(3,"div",182)(4,"div",183)(5,"div",184)(6,"label",209)(7,"input",210),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw().$implicit;return e.KtG(x.display=l)}),e.qZA(),e._UZ(8,"span",186),e.qZA()(),e.TgZ(9,"mat-form-field",187)(10,"input",211),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw().$implicit;return e.KtG(x.mappedDescription=l)}),e.qZA()()()()()}if(2&d){const i=e.oxw().$implicit;e.xp6(7),e.Q6J("ngModel",i.display)("name",i.facetId),e.uIk("title",i.facetId),e.xp6(3),e.Q6J("placeholder",i.description)("ngModel",i.mappedDescription)("name",i.mappedDescription),e.uIk("title",i.description)}}function Wd(d,g){if(1&d&&(e.TgZ(0,"div",96),e.YNc(1,lh,11,7,"div",72),e.qZA()),2&d){const i=g.$implicit,c=e.oxw(5);e.xp6(),e.Q6J("ngIf",!c.isShareIt||c.isShareIt&&16!==i.facetId)}}function Mp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",208),e.NdJ("dragulaModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.facetsForPatronGuest=l)}),e.YNc(1,Wd,2,1,"div",95),e.qZA()}if(2&d){const i=e.oxw(4);e.Q6J("dragulaModel",i.facetsForPatronGuest),e.xp6(),e.Q6J("ngForOf",i.facetsForPatronGuest)}}function kp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"div",97),e._UZ(2,"i",98),e.qZA(),e.TgZ(3,"div",182)(4,"div",183)(5,"div",184)(6,"label",209)(7,"input",210),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw().$implicit;return e.KtG(x.display=l)}),e.qZA(),e._UZ(8,"span",186),e.qZA()(),e.TgZ(9,"mat-form-field",187)(10,"input",211),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw().$implicit;return e.KtG(x.mappedDescription=l)}),e.qZA()()()()()}if(2&d){const i=e.oxw().$implicit;e.xp6(7),e.Q6J("ngModel",i.display)("name",i.facetId),e.uIk("title",i.facetId),e.xp6(3),e.Q6J("placeholder",i.description)("ngModel",i.mappedDescription)("name",i.mappedDescription),e.uIk("title",i.description)}}function ch(d,g){if(1&d&&(e.TgZ(0,"div",96),e.YNc(1,kp,11,7,"div",72),e.qZA()),2&d){const i=g.$implicit,c=e.oxw(5);e.xp6(),e.Q6J("ngIf",!c.isShareIt||c.isShareIt&&16!==i.facetId)}}function Xd(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",212),e.NdJ("dragulaModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.facetsForStaff=l)}),e.YNc(1,ch,2,1,"div",95),e.qZA()}if(2&d){const i=e.oxw(4);e.Q6J("dragulaModel",i.facetsForStaff),e.xp6(),e.Q6J("ngForOf",i.facetsForStaff)}}function dh(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",203),e.YNc(1,Tp,1,0,"ng-container",18),e.TgZ(2,"h3",19),e._uU(3,"Facet Management"),e.qZA(),e.TgZ(4,"div",40)(5,"div",42)(6,"div",43)(7,"h5",19),e._uU(8,"For Patron/Guest"),e.qZA(),e.TgZ(9,"form",70,204),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.MAs(10),x=e.oxw(3);return e.KtG(x.facetFormSubmit(l,x.facetsForPatronGuest))}),e.YNc(11,Mp,2,2,"div",205),e.TgZ(12,"button",113),e._uU(13," Submit Patron/Guest Facets "),e.qZA(),e._UZ(14,"br")(15,"br"),e.qZA()(),e.TgZ(16,"div",43)(17,"h5",19),e._uU(18,"For Staff"),e.qZA(),e.TgZ(19,"form",70,206),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.MAs(20),x=e.oxw(3);return e.KtG(x.facetFormSubmit(l,x.facetsForStaff))}),e.YNc(21,Xd,2,2,"div",207),e.TgZ(22,"button",113),e._uU(23," Submit Staff Facets "),e.qZA()()()()()()}if(2&d){const i=e.MAs(10),c=e.MAs(20);e.oxw();const l=e.MAs(22),x=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.VKq(6,Es,x.goSearchOptions.bind(x))),e.xp6(10),e.Q6J("ngIf",x.facetOptions),e.xp6(),e.Q6J("disabled",!i.valid),e.xp6(9),e.Q6J("ngIf",x.facetOptions),e.xp6(),e.Q6J("disabled",!c.valid)}}function Gl(d,g){1&d&&e.GkF(0)}function Ua(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",69),e.YNc(1,Gl,1,0,"ng-container",18),e.TgZ(2,"ag-side-nav-full-record",213),e.NdJ("updateFullRecord",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.updateFullRecordOptions(l))}),e.qZA(),e._UZ(3,"br")(4,"br"),e.qZA()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(4,Es,c.goSearchOptions.bind(c))),e.xp6(),e.Q6J("fullRecordOptions",c.fullRecordOptions)("canShowILLLenderColumn",c.userData.isCustSuperUser&&c.isShareIt)}}function Qs(d,g){1&d&&e.GkF(0)}function Mc(d,g){1&d&&e._UZ(0,"i",226)}function eu(d,g){1&d&&e._UZ(0,"i",227)}function Ps(d,g){1&d&&e._UZ(0,"i",228)}function w(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"i",229),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(),x=l.$implicit,ke=l.index,Mt=e.oxw(4);return e.KtG(Mt.deletePage(x,ke))}),e.qZA()}}function ge(d,g){if(1&d&&(e.TgZ(0,"span",230),e._uU(1),e.qZA()),2&d){const i=e.oxw().$implicit;e.MGl("title","From: ",null==i?null:i.targetLibForPublishedPage,""),e.xp6(),e.hij("(From:",null==i?null:i.targetLibForPublishedPage,")")}}function b(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",96)(1,"div",216),e._UZ(2,"i",98),e.qZA(),e.TgZ(3,"div",217),e.YNc(4,Mc,1,0,"i",218)(5,eu,1,0,"i",219)(6,Ps,1,0,"i",220)(7,w,1,0,"i",221),e.qZA(),e.TgZ(8,"div",222),e.NdJ("agInteract",function(){const x=e.CHM(i).$implicit,ke=e.oxw(4);return e.KtG(ke.editCustomPage(x,"page"))}),e.TgZ(9,"div",101),e._uU(10),e.YNc(11,ge,2,2,"span",223),e.qZA(),e.TgZ(12,"div",224),e._UZ(13,"i",225),e.qZA()()()}if(2&d){const i=g.$implicit,c=g.index,l=e.oxw(4);e.xp6(4),e.Q6J("ngIf",0===c&&!i.linkPage),e.xp6(),e.Q6J("ngIf",0!==c&&i.linkPage),e.xp6(),e.Q6J("ngIf",0!==c&&!i.linkPage),e.xp6(),e.Q6J("ngIf",l.userData.isCustSuperUser&&(null==i?null:i.isGlobal)||l.userData.isLibSuperUser&&!(null!=i&&i.isGlobal)),e.xp6(3),e.hij(" ",null==i?null:i.label," "),e.xp6(),e.Q6J("ngIf",null==i?null:i.targetLibForPublishedPage)}}function R(d,g){1&d&&e._UZ(0,"i",227)}function he(d,g){1&d&&e._UZ(0,"i",228)}function ht(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"i",233),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2),x=l.$implicit,ke=l.index,Mt=e.oxw(5);return e.KtG(Mt.deletePage(x,ke))}),e.qZA()}}function Dt(d,g){if(1&d&&(e.TgZ(0,"span",230),e._uU(1),e.qZA()),2&d){const i=e.oxw(2).$implicit;e.MGl("title","From: ",null==i?null:i.targetLibForPublishedPage,""),e.xp6(),e.hij("(From:",null==i?null:i.targetLibForPublishedPage,")")}}function Sn(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"div",217),e.YNc(2,R,1,0,"i",219)(3,he,1,0,"i",220)(4,ht,1,0,"i",232),e.qZA(),e.TgZ(5,"div",222),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(5);return e.KtG(x.editCustomPage(l,"page"))}),e.TgZ(6,"div",101),e._uU(7),e.YNc(8,Dt,2,2,"span",223),e.qZA(),e.TgZ(9,"div",224),e._UZ(10,"i",225),e.qZA()(),e.BQk()}if(2&d){const i=e.oxw().$implicit,c=e.oxw(5);e.xp6(2),e.Q6J("ngIf",i.linkPage),e.xp6(),e.Q6J("ngIf",!i.linkPage),e.xp6(),e.Q6J("ngIf",c.userData.isCustSuperUser&&(null==i?null:i.isGlobal)||c.userData.isLibSuperUser&&!(null!=i&&i.isGlobal)),e.xp6(3),e.hij(" ",null==i?null:i.label," "),e.xp6(),e.Q6J("ngIf",null==i?null:i.targetLibForPublishedPage)}}function Ln(d,g){if(1&d&&(e.TgZ(0,"div",96),e.YNc(1,Sn,11,5,"ng-container",72),e.qZA()),2&d){const i=g.$implicit;e.xp6(),e.Q6J("ngIf","thisIsACustomerCarePage"!==(null==i?null:i.guid)&&!(null!=i&&i.widgetPage))}}function Yn(d,g){if(1&d&&(e.TgZ(0,"div")(1,"h3",231),e._uU(2,"Non-Active Pages"),e.qZA(),e.TgZ(3,"div"),e.YNc(4,Ln,2,1,"div",95),e.qZA()()),2&d){const i=e.oxw(4);e.xp6(4),e.Q6J("ngForOf",i.inactivePages)}}function ri(d,g){1&d&&(e.TgZ(0,"span")(1,"strong"),e._uU(2,"(Inactive)"),e.qZA()())}function Di(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"h3",19),e._uU(2,"System Pages"),e.qZA(),e.TgZ(3,"div",96)(4,"div",217),e._UZ(5,"i",234),e.qZA(),e.TgZ(6,"div",222),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.editCustomerCarePage())}),e.TgZ(7,"div",101),e._uU(8," Customer Care "),e.YNc(9,ri,3,0,"span",72),e.qZA(),e.TgZ(10,"div",224),e._UZ(11,"i",225),e.qZA()()(),e.BQk()}if(2&d){const i=e.oxw(4);e.xp6(9),e.Q6J("ngIf",!i.isActiveCustomerCarePage)}}function Oi(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"div",217),e._UZ(2,"i",235),e.TgZ(3,"i",233),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(),x=l.$implicit,ke=l.index,Mt=e.oxw(5);return e.KtG(Mt.deletePage(x,ke))}),e.qZA()(),e.TgZ(4,"div",222),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(5);return e.KtG(x.editCustomPage(l,"widget"))}),e.TgZ(5,"div",101),e._uU(6),e.qZA(),e.TgZ(7,"div",224),e._UZ(8,"i",225),e.qZA()(),e.BQk()}if(2&d){const i=e.oxw().$implicit;e.xp6(6),e.Oqu(null==i?null:i.label)}}function Ni(d,g){if(1&d&&(e.TgZ(0,"div",96),e.YNc(1,Oi,9,1,"ng-container",72),e.qZA()),2&d){const i=g.$implicit;e.xp6(),e.Q6J("ngIf",null==i?null:i.widgetPage)}}function Io(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"h3",19),e._uU(2,"Widgets"),e.qZA(),e.YNc(3,Ni,2,1,"div",95),e.BQk()),2&d){const i=e.oxw(4);e.xp6(3),e.Q6J("ngForOf",i.inactivePages)}}function go(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",69),e.YNc(1,Qs,1,0,"ng-container",18),e.TgZ(2,"div",214)(3,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.createPage())}),e._uU(4," Create a New Page "),e._UZ(5,"i",11),e.qZA(),e.TgZ(6,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.createPageLink())}),e._uU(7," Create a Page Link "),e._UZ(8,"i",11),e.qZA(),e.TgZ(9,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.createWidget())}),e._uU(10," Create a New Widget "),e._UZ(11,"i",11),e.qZA()(),e.TgZ(12,"h3",19),e._uU(13,"Active Pages"),e.qZA(),e.TgZ(14,"div",215),e.NdJ("dragulaModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.activePages=l)}),e.YNc(15,b,14,6,"div",95),e.qZA(),e.YNc(16,Yn,5,1,"div",72)(17,Di,12,1,"ng-container",72)(18,Io,4,1,"ng-container",72),e.qZA()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(7,Pl,c.goStart.bind(c))),e.xp6(13),e.Q6J("dragulaModel",c.activePages),e.xp6(),e.Q6J("ngForOf",c.activePages),e.xp6(),e.Q6J("ngIf",(null==c.inactivePages?null:c.inactivePages.length)>0&&!c.isOnlyCustomerCareInactivePage&&!c.areAllWidgetPages),e.xp6(),e.Q6J("ngIf",c.userData.isStaff&&c.userData.isCustSuperUser),e.xp6(),e.Q6J("ngIf",c.doWidgetPagesExist)}}function Bo(d,g){1&d&&e.GkF(0)}const er=d=>({title:"Pages and Widgets",action:d});function Qo(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",21),e.YNc(1,Bo,1,0,"ng-container",18),e.TgZ(2,"edit-page",236),e.NdJ("resetNav",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goStart())}),e.qZA()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(3,er,c.goPages.bind(c))),e.xp6(),e.Q6J("pageType",c.pageType)}}function Lr(d,g){1&d&&e.GkF(0)}function Uo(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.goFooter())}),e._uU(1," Footer Options "),e._UZ(2,"i",11),e.qZA()}}function jo(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",7),e.YNc(1,Lr,1,0,"ng-container",18),e.TgZ(2,"h3",19),e._uU(3,"Design"),e.qZA(),e.TgZ(4,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goHeader())}),e._uU(5," Logo and Title "),e._UZ(6,"i",11),e.qZA(),e.TgZ(7,"div",10),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goStyle())}),e._uU(8," Themes and Styles "),e._UZ(9,"i",11),e.qZA(),e.YNc(10,Uo,3,0,"div",20),e.qZA()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(3,Pl,c.goStart.bind(c))),e.xp6(9),e.Q6J("ngIf",c.showFooterOptions)}}function Xo(d,g){1&d&&e.GkF(0)}function wr(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"div"),e._uU(2),e.qZA(),e.TgZ(3,"div",246)(4,"button",145),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.saveHeader())}),e._uU(5," Save "),e.qZA()()()}if(2&d){const i=e.oxw(4);e.xp6(2),e.Oqu(i.userData.libraryName)}}function Tr(d,g){1&d&&e._UZ(0,"div",255)}function ia(d,g){if(1&d&&(e.TgZ(0,"div",23),e._UZ(1,"img",256),e.qZA()),2&d){const i=e.oxw(5);e.xp6(),e.Q6J("src",i.logoImageURL,e.LSH)}}function Zr(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",42)(1,"div",43)(2,"div",44)(3,"label",247),e._uU(4,"Image Upload"),e.qZA(),e._UZ(5,"input",248),e.TgZ(6,"button",249),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.uploadImage())}),e._uU(7," Upload Image "),e.qZA()()(),e.TgZ(8,"div",250),e.YNc(9,Tr,1,0,"div",251)(10,ia,2,1,"div",252),e.qZA(),e.TgZ(11,"div",253)(12,"button",254),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.saveHeader())}),e._uU(13," Save "),e.qZA()()()}if(2&d){const i=e.oxw(4);e.xp6(5),e.Q6J("uploader",i.uploader),e.xp6(4),e.Q6J("ngIf",!i.logoImageURL),e.xp6(),e.Q6J("ngIf",i.logoImageURL)}}function ga(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"div",44)(2,"mat-form-field",46)(3,"input",257),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.logoCustomText=l)}),e.qZA(),e.TgZ(4,"mat-hint",49),e._uU(5),e.qZA()()(),e.TgZ(6,"div",246)(7,"button",258),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.saveHeader())}),e._uU(8," Save "),e.qZA()()()}if(2&d){const i=e.oxw(4);e.xp6(3),e.Q6J("ngModel",i.logoCustomText)("ngModelOptions",e.DdM(4,rd)),e.xp6(2),e.hij("",i.logoCustomText.length,"/100"),e.xp6(2),e.Q6J("disabled",!i.logoCustomText)}}function Za(d,g){1&d&&e._UZ(0,"div",255)}function ba(d,g){if(1&d&&(e.TgZ(0,"div",263),e._UZ(1,"img",264),e.qZA()),2&d){const i=e.oxw(5);e.xp6(),e.Q6J("src",i.logoImageURL,e.LSH)}}function ls(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",42)(1,"div",155)(2,"div",44)(3,"mat-form-field",46)(4,"input",259),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(4);return e.KtG(x.logoCustomText=l)}),e.qZA(),e.TgZ(5,"mat-hint",49),e._uU(6),e.qZA()()()(),e.TgZ(7,"div",43)(8,"div",44)(9,"label",247),e._uU(10,"Image Upload"),e.qZA(),e._UZ(11,"input",248),e.TgZ(12,"button",260),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.uploadImage())}),e._uU(13," Upload Image "),e.qZA()()(),e.TgZ(14,"div",250),e.YNc(15,Za,1,0,"div",251)(16,ba,2,1,"div",261),e.qZA(),e.TgZ(17,"div",253)(18,"button",262),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.saveHeader())}),e._uU(19," Save "),e.qZA()()()}if(2&d){const i=e.oxw(4);e.xp6(4),e.Q6J("ngModel",i.logoCustomText)("ngModelOptions",e.DdM(8,rd)),e.xp6(2),e.hij("",i.logoCustomText.length,"/100"),e.xp6(5),e.Q6J("uploader",i.uploader),e.xp6(),e.Q6J("disabled",!i.logoCustomText),e.xp6(3),e.Q6J("ngIf",!i.logoImageURL),e.xp6(),e.Q6J("ngIf",i.logoImageURL),e.xp6(2),e.Q6J("disabled",!i.logoCustomText)}}const qa=d=>({title:"Design",action:d});function va(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",69),e.YNc(1,Xo,1,0,"ng-container",18),e.TgZ(2,"h3",19),e._uU(3,"Logo and Title"),e.qZA(),e.TgZ(4,"div",40)(5,"div",42)(6,"h6",23),e._uU(7,"Link Details"),e.qZA(),e.TgZ(8,"div",43)(9,"div",44)(10,"input",237),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.logoRedirectTITLE=l)}),e.qZA(),e.TgZ(11,"small"),e._uU(12,"When you hover over the Logo and/or Title, this text is shown."),e.qZA()()(),e.TgZ(13,"div",43)(14,"div",44)(15,"input",238),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.logoRedirectURL=l)}),e.qZA(),e.TgZ(16,"small"),e._uU(17,"When you click the Logo and/or Title will direct to this URL."),e.qZA()()()(),e.TgZ(18,"div",42)(19,"div",43)(20,"span")(21,"mat-checkbox",239),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.showLanguages=l)})("change",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.language(l))}),e.TgZ(22,"h6",23),e._uU(23,"Display Select Language"),e.qZA()()()(),e.TgZ(24,"h6",23),e._uU(25,"Branding Information"),e.qZA(),e.TgZ(26,"div",240)(27,"mat-form-field",46)(28,"mat-select",241),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.selectedLogo=l)}),e.TgZ(29,"mat-option",242),e._uU(30,"Use Library Name"),e.qZA(),e.TgZ(31,"mat-option",243),e._uU(32,"Use Image"),e.qZA(),e.TgZ(33,"mat-option",244),e._uU(34,"Use Custom Text"),e.qZA(),e.TgZ(35,"mat-option",245),e._uU(36,"Use Image and Text"),e.qZA()()()(),e.TgZ(37,"div",155),e.YNc(38,wr,6,1,"div",72)(39,Zr,14,3,"div",41)(40,ga,9,5,"div",72)(41,ls,20,9,"div",41),e.qZA()()()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(10,qa,c.goDesignOptions.bind(c))),e.xp6(9),e.Q6J("ngModel",c.logoRedirectTITLE),e.xp6(5),e.Q6J("ngModel",c.logoRedirectURL),e.xp6(6),e.Q6J("ngModel",c.showLanguages),e.xp6(7),e.Q6J("ngModel",c.selectedLogo),e.xp6(10),e.Q6J("ngIf","libOnly"===c.selectedLogo),e.xp6(),e.Q6J("ngIf","imageOnly"===c.selectedLogo),e.xp6(),e.Q6J("ngIf","customText"===c.selectedLogo),e.xp6(),e.Q6J("ngIf","bothImageText"===c.selectedLogo)}}function Ka(d,g){1&d&&e.GkF(0)}function kc(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",265),e.YNc(1,Ka,1,0,"ng-container",18),e.TgZ(2,"color",266),e.NdJ("themesEE",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.updateThemesArray(l))})("colorsEE",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.updateColorsArray(l))}),e.qZA()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(5,qa,c.goDesignOptions.bind(c))),e.xp6(),e.Q6J("color",c.colorPalette)("themes",c.themesArray)("showSaveApply",c.showSaveApply)}}function js(d,g){1&d&&e.GkF(0)}function Jl(d,g){if(1&d&&(e.TgZ(0,"div",96)(1,"div",97),e._UZ(2,"i",98),e.qZA(),e.TgZ(3,"div",271)(4,"div",101),e._uU(5),e.qZA()()()),2&d){const i=g.$implicit;e.xp6(5),e.Oqu(i.menuText)}}function Vl(d,g){if(1&d&&(e.TgZ(0,"div",96)(1,"div",97),e._UZ(2,"i",275),e.qZA(),e.TgZ(3,"div",271)(4,"div",101),e._uU(5),e.qZA()()()),2&d){const i=g.$implicit;e.xp6(5),e.Oqu(i.menuText)}}function zl(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",274),e.NdJ("dragulaModelChange",function(l){e.CHM(i);const x=e.oxw(5);return e.KtG(x.stafftabsGlobal=l)}),e.YNc(1,Vl,6,1,"div",95),e.qZA()}if(2&d){const i=e.oxw(5);e.Q6J("dragulaModel",i.stafftabsGlobal),e.xp6(),e.Q6J("ngForOf",i.stafftabsGlobal)}}function Sc(d,g){if(1&d&&(e.TgZ(0,"div",43)(1,"h6",272),e._uU(2," Global Tab Order "),e.qZA(),e.YNc(3,zl,2,2,"div",273),e.qZA()),2&d){const i=e.oxw(4);e.xp6(3),e.Q6J("ngIf",i.staffTabOptions.showGlobal)}}function ul(d,g){if(1&d&&(e.TgZ(0,"div",96)(1,"div",97),e._UZ(2,"i",275),e.qZA(),e.TgZ(3,"div",277)(4,"div",101),e._uU(5),e.qZA()()()),2&d){const i=g.$implicit;e.xp6(5),e.Oqu(i.menuText)}}function _s(d,g){if(1&d&&(e.TgZ(0,"div",43)(1,"h6",276),e._uU(2,"Global Tab Order (Read Only)"),e.qZA(),e.YNc(3,ul,6,1,"div",95),e.qZA()),2&d){const i=e.oxw(4);e.xp6(3),e.Q6J("ngForOf",i.stafftabsGlobal)}}function Ql(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",278),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.globalOptions())}),e._uU(1," Save "),e.qZA()}}function Ec(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",21),e.YNc(1,js,1,0,"ng-container",18),e.TgZ(2,"h3",19),e._uU(3,"Staff Options"),e.qZA(),e.TgZ(4,"div",40)(5,"div",42)(6,"div",43)(7,"h6",267),e._uU(8,"Local Tab Order"),e.qZA(),e.TgZ(9,"div",268),e.NdJ("dragulaModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.stafftabsLocal=l)}),e.YNc(10,Jl,6,1,"div",95),e.qZA()(),e.YNc(11,Sc,4,1,"div",269)(12,_s,4,1,"div",269),e.TgZ(13,"div",23),e.YNc(14,Ql,2,0,"button",270),e.qZA()()()()}if(2&d){e.oxw();const i=e.MAs(22),c=e.oxw(2);e.xp6(),e.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",e.VKq(7,Pl,c.goStart.bind(c))),e.xp6(8),e.Q6J("dragulaModel",c.stafftabsLocal),e.xp6(),e.Q6J("ngForOf",c.stafftabsLocal),e.xp6(),e.Q6J("ngIf",null==c.staffTabOptions?null:c.staffTabOptions.showGlobal),e.xp6(),e.Q6J("ngIf",!c.staffTabOptions.showGlobal&&!c.globalStaffTabReadOnlyFlag),e.xp6(2),e.Q6J("ngIf",null==c.staffTabOptions?null:c.staffTabOptions.showGlobal)}}function $r(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",279),e.NdJ("agInteract",function(){const x=e.CHM(i).action;return e.KtG(x())}),e._UZ(1,"i",280),e._uU(2),e.TgZ(3,"i",9),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.closeOverlay())}),e.qZA()()}if(2&d){const i=g.title;e.xp6(2),e.hij(" ",i," ")}}function jl(d,g){if(1&d&&e.YNc(0,Fd,8,5,"div",12)(1,ll,25,9,"div",13)(2,cl,7,6,"div",13)(3,Yu,29,4,"div",12)(4,Ku,5,5,"div",14)(5,$c,14,5,"div",13)(6,Ul,20,6,"div",13)(7,$u,3,5,"div",13)(8,vp,112,46,"div",13)(9,yp,8,4,"div",13)(10,zs,3,5,"div",13)(11,As,24,8,"div",13)(12,ad,3,5,"div",13)(13,dh,24,8,"div",15)(14,Ua,5,6,"div",14)(15,go,19,9,"div",14)(16,Qo,3,5,"div",13)(17,jo,11,5,"div",12)(18,va,42,12,"div",14)(19,kc,3,7,"div",16)(20,Ec,15,9,"div",13)(21,$r,4,1,"ng-template",null,17,e.W1O),2&d){const i=e.oxw(2);e.Q6J("ngIf",i.login),e.xp6(),e.Q6J("ngIf",i.loginRes&&i.userData.isCustSuperUser),e.xp6(),e.Q6J("ngIf",i.loginFormOpt),e.xp6(),e.Q6J("ngIf",i.search),e.xp6(),e.Q6J("ngIf",i.simple),e.xp6(),e.Q6J("ngIf",i.newRDP),e.xp6(),e.Q6J("ngIf",!i.newRDP&&i.showNewRDPFormFlag),e.xp6(),e.Q6J("ngIf",i.zeroResults),e.xp6(),e.Q6J("ngIf",i.results),e.xp6(),e.Q6J("ngIf",i.advanced),e.xp6(),e.Q6J("ngIf",i.currentAS),e.xp6(),e.Q6J("ngIf",i.newAS),e.xp6(),e.Q6J("ngIf",i.browse),e.xp6(),e.Q6J("ngIf",i.facets),e.xp6(),e.Q6J("ngIf",i.detail),e.xp6(),e.Q6J("ngIf",i.pages),e.xp6(),e.Q6J("ngIf",i.pagesCreate),e.xp6(),e.Q6J("ngIf",i.design),e.xp6(),e.Q6J("ngIf",i.header),e.xp6(),e.Q6J("ngIf",i.style),e.xp6(),e.Q6J("ngIf",i.staff)}}function tu(d,g){if(1&d&&(e.TgZ(0,"div",4),e.YNc(1,Ba,19,0,"div",5)(2,jl,23,21,"ng-template",null,6,e.W1O),e.qZA()),2&d){const i=e.MAs(3),c=e.oxw();e.xp6(),e.Q6J("ngIf",c.pageStart)("ngIfElse",i)}}let Yl=(()=>{class d{constructor(i,c,l,x,ke,Mt,un,Dn,Bn,pi,Zi,Yi,Vi,ii,Ji){this._fb=i,this._advancedSearchService=c,this._colorsService=l,this._dragulaService=x,this._sharedService=ke,this._opacSettingsService=Mt,this._libraryService=un,this._router=Dn,this._snackBar=Bn,this._templateService=pi,this._configService=Zi,this.storageService=Yi,this._el=Vi,this._editSidenavService=ii,this._http=Ji,this.pageStart=!0,this.colorPalette={},this.themesArray=[],this.stafftabsLocal=[],this.stafftabsGlobal=[],this.webLinkTabLabel="",this.webLinkPageText="",this.canRender=!0,this._unsubscribe$=new Fa.x,this.selectedLogo="libOnly",this.selectedFile=null,this.libTitle=!0,this.logoUrl="",this.logoRedirectURL="",this.logoCustomText="",this.logoRedirectTITLE="",this.uri=this._configService.expressApi+"/file/upload",this.uploader=new el.bA({url:this.uri,itemAlias:"photo"}),this.globalStaffTabReadOnlyFlag=!0,this.maxValueofString=[],this.formatSequence=1,this.editPosition=-1,this.subFieldsPattern="[a-z0-9s]+",this.labelPattern="[-,@\u2013.;/':()#a-zA-Z0-9 ]*",this.placeHolderWL="Enter Page Text",this.isActiveCustomerCarePage=!0,this.storageService.isExisted("cid")&&(this._cid=this.storageService.getCid()),this.newRdpForm=this._fb.group({tagId:["",[At.kI.required,Gt,At.kI.maxLength(3)]],subfields:["",[At.kI.required,At.kI.pattern(this.subFieldsPattern)]],label:["",[At.kI.required,At.kI.pattern(this.labelPattern),At.kI.maxLength(20)]]}),this.currentRdpForm=this._fb.group({id:[""],tagId:[""],subfields:[""],label:["",[At.kI.required,At.kI.pattern(this.labelPattern),At.kI.maxLength(20)]]}),this._templateService.activePages$.subscribe(ko=>{this.activePages=ko}),this._templateService.inactivePages$.subscribe(ko=>{this.inactivePages=ko,this.isOnlyCustomerCareInactivePage=1===this.inactivePages?.length&&"thisIsACustomerCarePage"===this.inactivePages[0]?.guid;const Vo=this.inactivePages?.filter(Zo=>"thisIsACustomerCarePage"!=Zo.guid),Ko=Vo?.length?Vo.filter(Zo=>!0===Zo.widgetPage):[];Ko?.length&&(this.doWidgetPagesExist=!0),Vo?.length&&!this.isOnlyCustomerCareInactivePage&&Vo?.length===Ko?.length&&(this.areAllWidgetPages=!0)})}ngOnInit(){this.userData=this.storageService.getUserData(),this.isShareIt=this.userData.systemCategory===qo._n.SHAREIT,this._cid=this.storageService.getCid(),this._lid=this.storageService.getLid(),this._colorsService.getColorPalleteBS().subscribe(Bn=>{Bn&&(this.colorPalette={})}),void 0!==this._dragulaService.find("page-bag")&&this._dragulaService.destroy("page-bag"),this._dragulaService.createGroup("page-bag",{moves:function(Bn,pi,Zi){return"fa fa-arrows drag-area"===Zi.className}}),void 0!==this._dragulaService.find("page-bag-global")&&this._dragulaService.destroy("page-bag-global"),!0===this.globalStaffTabReadOnlyFlag&&this._dragulaService.createGroup("page-bag-global",{moves:function(Bn,pi,Zi){return"fa fa-arrows drag-area global"===Zi.className}}),void 0!==this._dragulaService.find("page-bag-patron")&&this._dragulaService.destroy("page-bag-patron"),this._dragulaService.createGroup("page-bag-patron",{moves:function(Bn,pi,Zi){return"fa fa-arrows drag-area"===Zi.className}}),void 0!==this._dragulaService.find("page-bag-staff")&&this._dragulaService.destroy("page-bag-staff"),this._dragulaService.createGroup("page-bag-staff",{moves:function(Bn,pi,Zi){return"fa fa-arrows drag-area"===Zi.className}}),void 0!==this._dragulaService.find("current-bag")&&this._dragulaService.destroy("current-bag"),this._dragulaService.createGroup("current-bag",{moves:function(Bn,pi,Zi){return"fa fa-arrows drag-area"===Zi.className}}),void 0!==this._dragulaService.find("new-bag")&&this._dragulaService.destroy("new-bag"),this._dragulaService.createGroup("new-bag",{moves:function(Bn,pi,Zi){return"fa fa-arrows drag-area"===Zi.className}}),void 0!==this._dragulaService.find("asfilter-bag-patron")&&this._dragulaService.destroy("asfilter-bag-patron"),this._dragulaService.createGroup("asfilter-bag-patron",{moves:function(Bn,pi,Zi){return"fa fa-arrows drag-area"===Zi.className}}),void 0!==this._dragulaService.find("asfilter-bag-staff")&&this._dragulaService.destroy("asfilter-bag-staff"),this._dragulaService.createGroup("asfilter-bag-staff",{moves:function(Bn,pi,Zi){return"fa fa-arrows drag-area"===Zi.className}}),this._dragulaService.dropModel().pipe((0,ji.R)(this._unsubscribe$)).subscribe(Bn=>{if("page-bag"===Bn.name)this._opacSettingsService.updateStaffLocalTabs(Bn.targetModel).subscribe(pi=>{this._sharedService.openSnackBar(pi.message,"ok",2e3)});else if("page-bag-global"===Bn.name)this._opacSettingsService.updateStaffGlobalTabs(Bn.targetModel).subscribe(pi=>{this._sharedService.openSnackBar(pi.message,"ok",2e3)});else if("page-bag-pages"===Bn.name){if(Bn.targetModel[0].linkPage&&Bn.targetModel[0].redirectUrl)return void this._sharedService.openSnackBar("link page cannot be home page");{const pi={cid:this._cid,lid:this._lid,libId:this.storageService.getItem("libId"),array:Bn.targetModel.map((Zi,Yi)=>(Zi.order=Yi+1,Zi))};this._templateService.setOrderActivePages(pi).subscribe(Zi=>{this._sharedService.openSnackBar(Zi.message)})}}else"new-bag"===Bn[0]&&this._updateNewRDPApi(this.newRDPData)})}ngOnChanges(i){var c=this;return(0,t.Z)(function*(){try{if(c.canRender=!1,!c.storageService.getItem("access_Token"))throw"missing access token";c._cid=c.storageService.getCid(),c._lid=c.storageService.getLid(),c._setComponentDefaults(),c.goStart(),c._getHeaderAsync(),yield c._templateService.getLibAndBindInfoAsync(c._cid,c._lid),c.userData.isStaff?(c._getUxSideNavSettingsAndDoBindings(),c.isActiveCustomerCarePage=c._templateService?.getCustomerCarePageBSValue()?.showStaff):c._getuxSideNavSettingsInterval(),i.trigger&&(c.trigger=i.trigger.currentValue),c.trigger&&(c.showFooterOptions=c.userData.isCustSuperUser||!c.isShareIt&&c.userData.isLibSuperUser)}catch(l){throw console.error(`edit-sidenav.ts ngOnChanges error : ${l}`),new Error(l)}})()}ngOnDestroy(){this.canRender=!0,this._colorsService.setColorDefaultsBS(null),this._colorsService.setColorPalleteBS(null),this._unsubscribe$.next(),this._unsubscribe$.complete()}_setComponentDefaults(){this.loginOptions=void 0,this.facetOptions=void 0,this.facetsForPatronGuest=void 0,this.facetsForStaff=void 0,this.fullRecordOptions=void 0,this.resultOptions=void 0,this.searchOptions=void 0,this.simpleSearchOptions=void 0,this.webLinkOptions=void 0,this.advSearchOptions=void 0,this.advSearchQualiferOptPatronGuest=void 0,this.advSearchQualiferOptStaff=void 0,this.librariesDisplayOptions=void 0}_getuxSideNavSettingsInterval(){let i=0;const c=setInterval(()=>{if((this.advSearchQualiferOptPatronGuest||this.advSearchQualiferOptStaff)&&c&&clearInterval(c),!(i<4))throw c&&clearInterval(c),new Error("Unable to get getuxSideNavSettings");!this.advSearchQualiferOptPatronGuest&&!this.advSearchQualiferOptStaff&&(this._getUxSideNavSettingsAndDoBindings(),c&&clearInterval(c)),i+=1},700)}_advSearchFiltersBindings(i){this.advSearchQualiferOptPatronGuest=i.forPatronGuest,this.advSearchQualiferOptStaff=i.forStaff}_facetOptionsBindings(i){this.facetOptions=i,this.facetsForPatronGuest=this.facetOptions.forPatronGuest,this.facetsForStaff=this.facetOptions.forStaff}_staffTabOptionsBindings(i){this.staffTabOptions=i,this.stafftabsLocal=this.staffTabOptions.localStaffMenu,this.stafftabsGlobal=this.staffTabOptions.globalStaffMenu,(!this.staffTabOptions.localOrinals.allowLocal||!this.staffTabOptions.localOrinals.localIsSet)&&(this.globalStaffTabReadOnlyFlag=!1)}_loginOptionsBindings(i){this.loginOptions=i,this._opacSettingsService.setLoginOptionsBS(this.loginOptions)}_displayTargetsBindings(i){this.librariesDisplayOptions=i}_resultOptionsBindings(i){this.resultOptions=i,this._opacSettingsService.setResultOptionsBS(this.resultOptions);const c=this.resultOptions.resultView,l=this.resultOptions.printOption,x=this.resultOptions.jacketArtOnListView,ke=this.resultOptions.resultsGrouping,Mt=this.resultOptions.resultsSort,un=this.resultOptions.formatSequence,Dn=this.resultOptions.enableSearchHighlight,Bn=this.resultOptions.showResultTypes,pi=this.resultOptions.eformatOption??null,Zi=this.resultOptions.showResourceDetailsDisplay,Yi=this.resultOptions.seeMoreFrom,Vi=this.resultOptions.showingResultsFor;this.resultViewPatronGuestDefault=c.patronGuest.find(ii=>ii.selected).value,this.resultViewStaffDefault=c.staff.find(ii=>ii.selected).value,this.printOptionPatronGuestDefault=l.patronGuest.find(ii=>ii.selected).value,this.printOptionStaffDefault=l.staff.find(ii=>ii.selected).value,this.jacketArtListPatronGuestDefault=x.patronGuest.find(ii=>ii.selected).value,this.jacketArtListStaffDefault=x.staff.find(ii=>ii.selected).value,this.resultsGroupingPatronGuest=ke.patronGuest.find(ii=>ii.selected).value,this.resultsGroupingStaff=ke.staff.find(ii=>ii.selected).value,this.resultsSortPatronGuest=Mt.patronGuest.find(ii=>ii.selected).value,this.resultsSortStaff=Mt.staff.find(ii=>ii.selected).value,un.find(ii=>ii.selected)&&(this.formatSequence=un.find(ii=>ii.selected).value),this.enableSeachHighlightPatronsGuests=Dn.patronGuest.find(ii=>ii.selected).value,this.enableSeachHighlightStaff=Dn.staff.find(ii=>ii.selected).value,this.showResultTypesPatronsGuests=Bn.patronGuest.find(ii=>ii.selected).value,this.showResultTypesStaff=Bn.staff.find(ii=>ii.selected).value,null!=pi&&(this.showEformatsPatronGuests=pi.patronGuest.find(ii=>ii.selected).value,this.showEformatsStaff=pi.staff.find(ii=>ii.selected).value),this.showResourceDetailsDisplayPatronGuests=Zi.patronGuest.find(ii=>ii.selected).value,this.showResourceDetailsDisplayStaff=Zi.staff.find(ii=>ii.selected).value,this.showBrowseIndexesPatronGuests=this.resultOptions.showBrowseIndexesDisplay.patronGuest.find(ii=>ii.selected).value,this.showBrowseIndexesStaff=this.resultOptions.showBrowseIndexesDisplay.staff.find(ii=>ii.selected).value,this.seeMoreFromPatronGuest=Yi.patronGuest.find(ii=>ii.selected).value,this.seeMoreFromStaff=Yi.staff.find(ii=>ii.selected).value,this.showingResultsForPatronGuest=Vi.patronGuest.find(ii=>ii.selected).value,this.showingResultsForStaff=Vi.staff.find(ii=>ii.selected).value}_searchOptionsBindings(i){this.searchOptions=i,this._opacSettingsService.setSearchOptionsBS(this.searchOptions),this.simpleSearchOptions=this.searchOptions.simple,this.advSearchOptions=this.searchOptions.advance}_webLinkOptionsBindings(i){this.webLinkOptions=i,this.webLinkPageText=this.webLinkOptions.webLinkPageText,this.webLinkTabLabel=this.webLinkOptions.webLinkTabLabel}_getUxSideNavSettingsAndDoBindings(){this._opacSettingsService.getOpacSettingsObservable().pipe((0,ji.R)(this._unsubscribe$)).subscribe(i=>{i?(i.asFiltersOptions&&this._advSearchFiltersBindings(i.asFiltersOptions),i.facetOptions&&this._facetOptionsBindings(i.facetOptions),i.staffTabOptions&&this._staffTabOptionsBindings(i.staffTabOptions),i.loginOptions&&this._loginOptionsBindings(i.loginOptions),i.displayTargets&&this._displayTargetsBindings(i.displayTargets),this.fullRecordOptions=i.fullRecordOptions,i.resultOptions&&this._resultOptionsBindings(i.resultOptions),i.searchOptions&&this._searchOptionsBindings(i.searchOptions),i.webLinkOptions&&this._webLinkOptionsBindings(i.webLinkOptions),this.canRender=!0):console.error("opac settings are null")})}_getHeaderAsync(){var i=this;return(0,t.Z)(function*(){const c=yield i._templateService.getLayoutSettingsAsync(i._cid,i._lid);c&&(i.libTitle=c.showTitle,i.showLogo=c.showLogo,i.showLogo&&(i.logoRedirectURL=c.logoRedirectURL,i.logoImageURL=c.logoImageURL),c.styles?.length>0&&(i.colorPalette=c.styles),c.themes?.length>0&&(i.themesArray=c.themes))})()}updateFullRecordOptions(i){this.fullRecordOptions=i}updateThemesArray(i){this.themesArray=i,this.showSaveApply=!1}updateColorsArray(i){this.colorPalette=i,this.showSaveApply=!0}onchangeDisplayLibrariesOption(i,c,l){const x=this.librariesDisplayOptions.find(ke=>ke.libraryProfileKey===c);x&&("login"===l?x.suppressFromLoginDisplay=!i.target.checked:x.suppressFromILLSearch=!i.target.checked)}saveDisplayLibraries(){this._opacSettingsService.setDisplayTargets(this.librariesDisplayOptions).subscribe(i=>{"200 OK"===i.status&&(this._sharedService.openSnackBar(i.message),this.librariesDisplayOptions=i.data,setTimeout(()=>{this._libraryList()},500))})}_libraryList(){const i="_"+this._cid.toUpperCase(),c=this._cid.toUpperCase()+"_Lib";this._cid&&this._libraryService.getLibraries().subscribe(l=>{localStorage[i]=Date.now(),localStorage[c]=JSON.stringify(l)})}_updateNewRDPApi(i){this._editSidenavService.updateNewRDP(i).subscribe(c=>{"200 OK"===c.status&&(this._sharedService.openSnackBar(c.message),this.newRDPData=c.data,this.showNewRDPFormFlag=!1,this.newRDP=!0)})}validNewRDPForm(i){const c=i.value;this.editRDPFlag&&this.editPosition>-1?this.newRDPData[this.editPosition]=c:-1===this.editPosition&&this.newRDPData.push(c),this._updateNewRDPApi(this.newRDPData)}addNewRDP(){this.newRdpForm.setValue({tagId:"",subfields:"",label:""}),this.editPosition=-1,this.showNewRDPFormFlag=!0,this.newRDP=!1}editNewRDP(i,c){this.editPosition=c,this.editRDPFlag=!1,i&&(this.editRDPFlag=!0,this.newRdpForm.setValue({tagId:i.tagId,subfields:i.subfields,label:i.label})),setTimeout(()=>{this.newRDP=!1,this.showNewRDPFormFlag=!0},500)}deleteNewRDP(i){this._snackBar.open("Are you sure? ","Yes",{duration:5e3,verticalPosition:"top"}).onAction().subscribe(()=>{this.newRDPData.splice(i,1),this._updateNewRDPApi(this.newRDPData)})}patronFilterformSubmit(i){var c=this;const l=i.value;this.advSearchQualiferOptPatronGuest.forEach(ke=>{l.hasOwnProperty(ke.description)&&(ke.mappedDescription=l[ke.description]),l.hasOwnProperty(ke.facetId.toString())&&(ke.display=JSON.parse(l[ke.facetId.toString()]))}),this._opacSettingsService.updateASFilterOptions({forPatronGuest:this.advSearchQualiferOptPatronGuest,forStaff:this.advSearchQualiferOptStaff}).subscribe(function(){var ke=(0,t.Z)(function*(Mt){"200 OK"===Mt.status&&(c.advSearchQualiferOptPatronGuest=Mt.data.forPatronGuest,c.advSearchQualiferOptStaff=Mt.data.forStaff,c._sharedService.openSnackBar(Mt.message),yield c._advancedSearchService.getDefaultAvailableFiltersAsync())});return function(Mt){return ke.apply(this,arguments)}}())}staffFilterformSubmit(i){var c=this;const l=i.value;this.advSearchQualiferOptStaff.forEach(ke=>{l.hasOwnProperty(ke.description)?ke.mappedDescription=l[ke.description]:l.hasOwnProperty(ke.facetId.toString())&&(ke.display=JSON.parse(l[ke.facetId.toString()]))}),this._opacSettingsService.updateASFilterOptions({forPatronGuest:this.advSearchQualiferOptPatronGuest,forStaff:this.advSearchQualiferOptStaff}).subscribe(function(){var ke=(0,t.Z)(function*(Mt){"200 OK"===Mt.status&&(c.advSearchQualiferOptPatronGuest=Mt.data.forPatronGuest,c.advSearchQualiferOptStaff=Mt.data.forStaff,c._sharedService.openSnackBar(Mt.message),yield c._advancedSearchService.getDefaultAvailableFiltersAsync())});return function(Mt){return ke.apply(this,arguments)}}())}facetFormSubmit(i,c){const l=i.value;c.forEach(ke=>{l.hasOwnProperty(ke.description)&&(isNaN(+ke.description)?ke.mappedDescription=l[ke.description]:ke.display=JSON.parse(l[ke.description]))}),this._opacSettingsService.updateFacetOptions({forPatronGuest:this.facetsForPatronGuest,forStaff:this.facetsForStaff}).subscribe(ke=>{"200 OK"===ke.status&&(this.facetOptions=ke.data,this.facetsForPatronGuest=ke.data.forPatronGuest,this.facetsForStaff=ke.data.forStaff,this._sharedService.openSnackBar(ke.message))})}deletePage(i,c){const l=i.isGlobal;!l||this.userData.isCustSuperUser?this._snackBar.open(l?"You are about to delete a global page. Are you sure?":"Are you sure?","Yes",{duration:5e3,verticalPosition:"top"}).onAction().subscribe(()=>{l?this._deletePageInBulk(i):this._deleteLocalPage(i,c)}):this._sharedService.openSnackBar("You are not authorized to delete this page.")}_deleteLocalPage(i,c){if(!i.isGlobal&&0===i.globalPublishArr.length){const l={cid:this._cid,lid:this._lid,libId:this.storageService.getItem("libId"),pageId:i._id,num:i.order};this._templateService.deletePageById(l).subscribe(x=>{"200 OK"===x.status?this._sharedService.openSnackBar(x.message):(this._sharedService.openSnackBar("Page not found for deletion"),this._templateService.getLibAndBindInfoAsync(this._cid,this._lid)),(0===c||1===c)&&window.location.reload()})}}_deletePageInBulk(i){var c=this;return(0,t.Z)(function*(){try{const l=i.totalLidsArr,x=l.findIndex(ke=>ke.toUpperCase()===c._lid);if(-1!==x&&(l.splice(x,1),l.unshift(c._lid)),l.length>0&&i.guid){c.canRender=!1;const ke={cid:c._cid,lid:c._lid,totalLidsArr:l,guid:i.guid,pageName:i.label},Mt=yield c._templateService.checkDeletePageStatusAsync(c._cid,i.guid);if(Mt&&"all good"!=Mt.message.toLowerCase())return void c._sharedService.openSnackBar(Mt.message);const un=yield c._templateService.deleteAllGlobalPageASync(ke);un?(c._sharedService.openSnackBar(un.message),setTimeout(()=>{c._getLib4FrmExp()},3e3)):c._sharedService.unableToCompleteRequestMessage()}else c._sharedService.openSnackBar("empty identifier and array")}catch(l){console.error(`edit-sidenav.ts:_deletePageInBulk => ${l.message}`)}})()}_getLib4FrmExp(){this._cid&&this._lid&&this._templateService.getLibrary(this._cid,this._lid).subscribe(i=>{"200 OK"===i.status&&this._templateService.getLibraryBS().subscribe(c=>{c&&(this.libraryPage=c.data,this.libraryPage?.[0].pages.length&&(this.storageService.setItem("libId",this.libraryPage[0]._id),this.storageService.setItem("libExists",!0)))}),this._sharedService.openSnackBar(i.message)})}uploadImage(){const i=this._el.nativeElement.querySelector("#photo");if(i.files.item(0).size>5e6&&this._sharedService.openSnackBar("image size too large exceeded 5MB","ok"),i.files.length>0){const c=new FormData,l=new Si.LE;c.append("photo",i.files.item(0)),this._http.post(this.uri,c,{params:l}).subscribe(x=>{const ke=x;this._sharedService.openSnackBar("Image Uploaded","ok"),this.logoImageURL="/uploads/"+ke.uploadname},x=>{this._sharedService.openSnackBar("Upload Image Error","ok")})}}saveHeader(){switch(this.selectedLogo){case"libOnly":this.imageNtext=!1,this.libTitle=!1,this.showLogo=!1;break;case"imageOnly":this.imageNtext=!1,this.libTitle=!1,this.showLogo=!0;break;case"customText":this.imageNtext=!1,this.libTitle=!0,this.showLogo=!1;break;case"bothImageText":this.imageNtext=!0,this.libTitle=!1,this.showLogo=!1}if(!this.logoImageURL&&("bothImageText"===this.selectedLogo||"imageOnly"===this.selectedLogo))return void this._sharedService.openSnackBar("Upload a logo");const i={cid:this.storageService.getCid(),lid:this.storageService.getLid(),logoImageURL:this.logoImageURL,logoRedirectURL:this.logoRedirectURL?this.logoRedirectURL:"",showTitle:this.libTitle,logoAndText:this.imageNtext,showLogo:this.showLogo,name:this.logoRedirectTITLE,customText:this.logoCustomText,showLanguages:this.showLanguages};("bothImageText"===this.selectedLogo||"imageOnly"===this.selectedLogo||"customText"===this.selectedLogo||"libOnly"===this.selectedLogo)&&this._setHeader(i)}_setHeader(i){this._templateService.setHeader(i).subscribe(c=>{if("200 OK"===c.status){this._sharedService.openSnackBar(c.message,"ok");const l=c.data[0];this.storageService.setItem("layoutSettings",l),this._sharedService.setHeader(l),l.showLanguages&&window.location.reload()}})}globalOptions(){this._opacSettingsService.useGlobalOptions().subscribe(i=>{"200 OK"===i.status&&(this.stafftabsLocal=i.data.globalStaffMenu,this._sharedService.openSnackBar(i.message,"ok",2e3))})}saveWebLinksOptions(i){const c=i.value,l={weblinkOnSeparateTab:{guest:JSON.parse(c.weblinkOnSeparateTabGuest),patron:JSON.parse(c.weblinkOnSeparateTabPatron),staff:JSON.parse(c.weblinkOnSeparateTabStaff)},weblinkOnChooseResourceScreen:{guest:JSON.parse(c.weblinkOnChooseResourceScreenGuest),patron:JSON.parse(c.weblinkOnChooseResourceScreenPatron),staff:JSON.parse(c.weblinkOnChooseResourceScreenStaff)},webLinkTabLabel:this.webLinkTabLabel,webLinkPageText:this.medEditorWebLink.getInnerText()};this._opacSettingsService.updateWebLinksOptions(l).subscribe(x=>{this._sharedService.openSnackBar(x.message)})}saveLoginOptions(i){this.maxValueofString=[];const c=i.value.emailText,l=i.value.loginInstructionalText,x=i.value.userNameLabel,ke=i.value.passwordLabel,Mt=i.value.showLibraryLookupBox,un=i.value.showPasswordPrompt,Dn=i.value.requireLoginBeforSearch,Bn=i.value.redirectToAdvancedSearch,pi=i.value.showForgotPasswordLink;c.length>240&&this.maxValueofString.push("Email"),l.length>240&&this.maxValueofString.push("Login Instructions"),x.length>50&&this.maxValueofString.push("user name"),ke.length>50&&this.maxValueofString.push("password"),this.maxValueofString.length>0?(this.maxValueofString.push("exceeded length"),this._sharedService.openSnackBar(this.maxValueofString)):this._opacSettingsService.updateLoginOptions({loginInstructionalText:l,userNameLabel:x,passwordLabel:ke,showLibraryLookupBox:Mt,showPasswordPrompt:un,requireLoginBeforSearch:Dn,redirectToAdvancedSearch:Bn,showForgotPasswordLink:pi,emailText:c}).subscribe(Yi=>{"200 OK"===Yi.status&&this._sharedService.openSnackBar(Yi.message)})}saveSimpleSearchOptions(i){const c=i.value;this._opacSettingsService.updateSearchOptions({simple:{displayIndexSelectionForPatronsGuests:c.indexSelectionPatronGuest,displayIndexSelectionForStaff:c.indexSelectionStaff,displayResourceSelectionForPatronsGuests:c.resourcesSelectionPatronGuest,displayResourceSelectionForStaff:c.resourcesSelectionStaff,enableTypeAheadForPatronsGuests:c.typeAheadPatronGuest,enableTypeAheadForStaff:c.typeAheadStaff,searchBoxDefaultIndex:+c.searchBoxDefaultValue},advance:this.advSearchOptions}).subscribe(x=>{this._sharedService.openSnackBar(x.message)})}saveAdvancedSearchOptions(i){var c=this;return(0,t.Z)(function*(){c.maxValueofString=[];const l=i.value.filterTabLabel,x=i.value.resourceTabLabel;if(l.length>20&&c.maxValueofString.push("Filter Tab Label exceeds maximum length allowed."),x.length>20&&c.maxValueofString.push("Resources Tab Label exceeds maximum length allowed."),c.maxValueofString.length>0)c._sharedService.openSnackBar(c.maxValueofString.join(" "));else{const ke={simple:c.simpleSearchOptions,advance:{filterTabLabel:l,resourceTabLabel:x,searchBoxDisplaySelectedOptionId:+i.value.searchBoxDisplayOptions,enableTypeAheadForPatronsGuests:JSON.parse(i.value.enableTypeAheadForPatronsGuests),enableTypeAheadForStaff:JSON.parse(i.value.enableTypeAheadForStaff),searchBoxOneDefaultIndex:+i.value.searchBoxOneDefaultIndex,searchBoxTwoDefaultIndex:+i.value.searchBoxTwoDefaultIndex,searchBoxThreeeDefaultIndex:+i.value.searchBoxThreeeDefaultIndex}};c._opacSettingsService.updateSearchOptions(ke).subscribe(function(){var Mt=(0,t.Z)(function*(un){c._sharedService.openSnackBar(un.message),yield c._advancedSearchService.getDefaultAvailableFiltersAsync()});return function(un){return Mt.apply(this,arguments)}}())}})()}saveResultOptions(){this._opacSettingsService.updateResultsOptions(this._buildResultsOptionsBody()).subscribe(i=>{this._sharedService.openSnackBar(i.message)})}_buildResultsOptionsBody(){return{resultview:{patronguest:+this.resultViewPatronGuestDefault,staff:+this.resultViewStaffDefault},print:{patronguest:JSON.parse(this.printOptionPatronGuestDefault),staff:JSON.parse(this.printOptionStaffDefault)},jacketartonlistview:{patronguest:JSON.parse(this.jacketArtListPatronGuestDefault),staff:JSON.parse(this.jacketArtListStaffDefault)},resultsgrouping:{patronguest:+this.resultsGroupingPatronGuest,staff:+this.resultsGroupingStaff},resultsort:{patronguest:+this.resultsSortPatronGuest,staff:+this.resultsSortStaff},formatsequence:+this.formatSequence,enablesearchhighlight:{patronguest:JSON.parse(this.enableSeachHighlightPatronsGuests),staff:JSON.parse(this.enableSeachHighlightStaff)},showresulttypes:{patronguest:JSON.parse(this.showResultTypesPatronsGuests),staff:JSON.parse(this.showResultTypesStaff)},eformatOption:{patronguest:JSON.parse(this.showEformatsPatronGuests),staff:JSON.parse(this.showEformatsStaff)},showresourcedetailsdisplay:{patronguest:JSON.parse(this.showResourceDetailsDisplayPatronGuests),staff:JSON.parse(this.showResourceDetailsDisplayStaff)},showBrowseIndexesDisplay:{patronguest:this.showBrowseIndexesPatronGuests,staff:this.showBrowseIndexesStaff},seeMoreFrom:{patronguest:this.seeMoreFromPatronGuest,staff:this.seeMoreFromStaff},showingResultsFor:{patronguest:this.showingResultsForPatronGuest,staff:this.showingResultsForStaff}}}_clearAll(){this.pageStart=!1,this.login=!1,this.search=!1,this.style=!1,this.record=!1,this.pages=!1,this.design=!1,this.staff=!1,this.pagesCreate=!1,this.header=!1,this.simple=!1,this.results=!1,this.zeroResults=!1,this.newRDP=!1,this.showNewRDPFormFlag=!1,this.detail=!1,this.facets=!1,this.advanced=!1,this.currentAS=!1,this.newAS=!1,this.browse=!1,this.loginFormOpt=!1,this.loginRes=!1}goStart(){this._clearAll(),this.pageStart=!0}goLoginForm(){this._clearAll(),this.loginFormOpt=!0}goDisplayLibs(){this._clearAll(),this.loginRes=!0}goLogin(){this._clearAll(),this.login=!0}goSearch(){this._clearAll(),this.search=!0}goPages(){this._clearAll(),this.pages=!0}goDesign(){this._clearAll(),this.design=!0}goStaff(){this._clearAll(),this.staff=!0}language(i){this.showLanguages=i.checked}goDesignOptions(){this._clearAll(),this.design=!0}goHeader(){this._cid&&this._lid&&this._templateService.getHeader(this._cid,this._lid).subscribe(i=>{if(this.libTitle=!1,this.showLogo=!1,this.imageNtext=!1,"200 OK"===i.status&&i.data.length>0){i.data[0].showTitle&&(this.libTitle=!0),i.data[0].showLogo&&(this.showLogo=!0,this.logoRedirectURL=i.data[0].logoRedirectURL,this.logoImageURL=i.data[0].logoImageURL);const c=i.data;c.length>0?(c[0].showTitle&&(this.libTitle=!0),c[0].showLogo&&(this.showLogo=!0),c[0].logoAndText&&(this.imageNtext=!0),c[0].logoRedirectURL&&(this.logoRedirectURL=c[0].logoRedirectURL),c[0].logoImageURL&&(this.logoImageURL=c[0].logoImageURL),c[0].name&&(this.logoRedirectTITLE=c[0].name),c[0].customText&&(this.logoCustomText=c[0].customText),c[0].showLanguages&&(this.showLanguages=c[0].showLanguages,this.showLanguagesValueBeforeModify=JSON.parse(JSON.stringify(this.showLanguages))),this.libTitle||this.showLogo||this.imageNtext?this.libTitle||!this.showLogo||this.imageNtext?!this.libTitle||this.showLogo||this.imageNtext?!this.libTitle&&!this.showLogo&&this.imageNtext&&(this.selectedLogo="bothImageText"):this.selectedLogo="customText":this.selectedLogo="imageOnly":this.selectedLogo="libOnly",this.pageStart=!1,this.design=!1,this.header=!0):0===c.length&&(this.pageStart=!1,this.design=!1,this.header=!0)}})}goStyle(){this._clearAll(),this.style=!0}goFooter(){this.userData.isCustSuperUser||this.userData.isLibSuperUser?(this._clearAll(),this.design=!0,this._router.navigate(["/edit-footer"],{queryParams:{lat:!0}}),this.closeOverlay()):this._sharedService.openSnackBar("You are not authorized to edit footer.","ok")}goSearchOptions(){this._clearAll(),this.search=!0}goAdvanced(){this._clearAll(),this.advanced=!0}goCurrentAS(){this._clearAll(),this.currentAS=!0}goNewAS(){this._clearAll(),this.newAS=!0}goBrowse(){this._clearAll(),this.browse=!0}goDetail(){this._clearAll(),this.detail=!0}goFacets(){this._clearAll(),this.facets=!0}goResults(){this._clearAll(),this.results=!0}goZeroResults(){this._clearAll(),this.zeroResults=!0}goRDP(){this._clearAll(),this.newRDP=!0,this._editSidenavService.getNewRDP().subscribe(i=>{"200 OK"===i.status&&(this.newRDPData=i.data)})}goSimple(){this._clearAll(),this.simple=!0}createPage(){this._clearAll(),this.pagesCreate=!0,this.pageType=Dr.WD.PAGE}createPageLink(){this._clearAll(),this.pagesCreate=!0,this.pageType=Dr.WD.LINK}createWidget(){this._clearAll(),this.pagesCreate=!0,this.pageType=Dr.WD.WIDGET}editCustomPage(i,c){try{if(i?.isGlobal&&!this.userData.isCustSuperUser)return void this._sharedService.openSnackBar("You are not authorized to edit this page.");this._goToUpdatePageAsync(i._id,c)}catch(l){throw console.error(`error in EditSideNavComponent.ts: editCustomPage  => ${l.message}`),new Error(l)}}editCustomerCarePage(){try{if(!this.userData.isCustSuperUser)return void this._sharedService.openSnackBar("You are not authorized to edit this page.");const i=this._templateService.getCustomerCarePageBSValue();if(!i)return void console.error("customer care page is null");this.storageService.setItem("editPage",i),this._templateService.predefined.next(i),this._router.navigate(["/home-edit"],{queryParams:{pageId:i._id,type:Dr.WD.PAGE}})}catch(i){console.error(`error in EditSideNavComponent.ts: editCustomerCarePage  => ${i}`)}}_goToUpdatePageAsync(i,c){var l=this;return(0,t.Z)(function*(){const x={cid:l._cid,lid:l._lid,libId:l.storageService.getItem("libId"),pageId:i},ke=yield l._templateService.getPageByIdAsync(x);if(!ke)return void l._sharedService.openSnackBar(`Unable to retrieve page with pageId: ${i}`);if(!ke?.pages[0])return l._sharedService.openSnackBar("Page not found for editing"),void l._templateService.getLibAndBindInfoAsync(l._cid,l._lid);const Mt={pageId:ke.pages[0]._id,label:ke.pages[0].label,newtab:ke.pages[0].newtab,private:ke.pages[0].private,routeLink:ke.pages[0].routeLink,active:ke.pages[0].active,activeDate:ke.pages[0].activeDate,activeOnDate:ke.pages[0].activeOnDate,showGuest:ke.pages[0].showGuest,showPatron:ke.pages[0].showPatron,showStaff:ke.pages[0].showStaff,setHome:ke.pages[0].setHome,homeOnDate:ke.pages[0].homeOnDate,homeDate:ke.pages[0].homeDate,linkPage:ke.pages[0].linkPage,widgetPage:c===Dr.WD.WIDGET,redirectUrl:ke.pages[0].redirectUrl,templates:ke.pages[0].templates};Mt?.linkPage&&(c=Dr.WD.LINK),l._templateService.setNewPageLabelBS(null),l.storageService.setItem("editPage",Mt),l._templateService.predefined.next(Mt),l.closeOverlay(),l.storageService.setIsNewPage(!1),l._router.navigate(["/home-edit"],{queryParams:{pageId:i,type:c}})})()}closeOverlay(){ce(".mat-drawer-shown").click()}compareWithValue(i,c){return String(i)===String(c)}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(At.QS),e.Y36(ve.i),e.Y36(Qn),e.Y36(Hn.pQ),e.Y36(Ii.F),e.Y36(To.j),e.Y36(kt.$),e.Y36(Gi.F0),e.Y36(Ti.pl),e.Y36(Dr.fs),e.Y36(io.E),e.Y36(no.V),e.Y36(e.SBq),e.Y36(Be.U),e.Y36(Si.eN))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-edit-sidenav"]],viewQuery:function(c,l){if(1&c&&e.Gf(Da,5),2&c){let x;e.iGM(x=e.CRH())&&(l.medEditorWebLink=x.first)}},inputs:{trigger:"trigger"},features:[e._Bn([{provide:e.QbO,useValue:"BrowserAnimations"}]),e.TTD],decls:2,vars:2,consts:[["class","text-center","style","margin-top: 15em !important; min-width: 480px; max-width: 480px",4,"ngIf"],["class","ag-pa-md",4,"ngIf"],[1,"text-center",2,"margin-top","15em !important","min-width","480px","max-width","480px"],["strokeWidth","3",2,"display","inline-block","position","relative","margin-top","5em",3,"diameter"],[1,"ag-pa-md"],["class","control-panel","style","min-width: 480px; max-width: 480px",4,"ngIf","ngIfElse"],["renderOption",""],[1,"control-panel",2,"min-width","480px","max-width","480px"],[1,"text-start","semi-bold","pointer","ag-mb-sm"],["aria-hidden","true","title","Close Side Navigation","tabindex","0",1,"fa","fa-times","pull-right","close-sidenav",3,"agInteract"],["tabindex","0",1,"padding-10-25","pointer",3,"agInteract"],["aria-hidden","true",1,"fa","fa-angle-right","pull-right"],["class","control-panel","style","min-width: 480px; max-width: 480px",4,"ngIf"],["class","control-panel",4,"ngIf"],["class","control-panel width-400",4,"ngIf"],["class","control-panel width-320",4,"ngIf"],["class","control-panel","style","min-width: 320px; width: 320px",4,"ngIf"],["editSidenavHeader",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"text-center"],["class","padding-10-25 pointer","tabindex","0",3,"agInteract",4,"ngIf"],[1,"control-panel"],[1,"margin-25"],[1,"width-100"],[3,"dataSource"],["matColumnDef","login"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","info"],["matColumnDef","code"],["matColumnDef","libraryName"],["class","stickyHeaderRow",4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"width-100","height-50"],["type","button",1,"btn","btn-primary","pull-right","ag-ma-md",3,"click"],["type","checkbox",3,"value","checked","change"],[1,"stickyHeaderRow"],["class","text-center",4,"ngIf"],["novalidate","",3,"ngSubmit"],["f","ngForm"],[1,"container-fluid"],["class","row",4,"ngIf"],[1,"row"],[1,"col-12","col-md-6"],[1,"form-group"],["for","loginInstructions"],["appearance","outline",1,"width-100"],["matInput","","required","","maxlength","240","id","loginInstructions","rows","3","name","loginInstructionalText",3,"ngModel","ngModelChange"],["loginInstructionalText","ngModel"],["align","end"],["for","userNameLabel"],["matInput","","required","","maxlength","50","id","userNameLabel","name","userNameLabel","placeholder","Enter Username Label","aria-label","Username Prompt Label",3,"ngModel","ngModelChange"],["userNameLabel","ngModel"],["for","passwordLabel"],["matInput","","required","","id","passwordLabel","name","passwordLabel","maxlength","50",3,"ngModel","ngModelChange"],["passwordLabel","ngModel"],["name","showForgotPasswordLink",3,"ngModel","ngModelChange"],["showForgotPasswordLink","ngModel"],["name","showLibraryLookupBox",3,"ngModel","ngModelChange"],["showLibraryLookupBox","ngModel"],["name","requireLoginBeforSearch",3,"ngModel","ngModelChange"],["requireLoginBeforSearch","ngModel"],["name","redirectToAdvancedSearch",3,"ngModel","ngModelChange"],["redirectToAdvancedSearch","ngModel"],["name","showPasswordPrompt",3,"ngModel","ngModelChange"],["showPasswordPrompt","ngModel"],["for","emailText"],["matInput","","required","","maxlength","240","id","emailText","rows","3","name","emailText",3,"ngModel","ngModelChange"],["aria-label","Save","type","submit",1,"btn","btn-primary","pull-right",3,"disabled"],[1,"control-panel","width-400"],[3,"ngSubmit"],["simple","ngForm"],[4,"ngIf"],[1,"col-12","col-md-6","col-lg-4"],["for","displayIndexSelection",1,"color-header-color","bold"],["id","displayIndexSelection","name","indexSelectionStaff",1,"ag-px-md",3,"ngModel","ngModelChange"],["name","indexSelectionPatronGuest",1,"ag-px-md",3,"ngModel","ngModelChange"],["for","displayResourceSelection",1,"color-header-color","bold"],["id","displayResourceSelection","name","resourcesSelectionStaff",1,"ag-px-md",3,"ngModel","ngModelChange"],["name","resourcesSelectionPatronGuest",1,"ag-px-md",3,"ngModel","ngModelChange"],["for","enableTypeAhead",1,"color-header-color","bold"],["id","enableTypeAhead","name","typeAheadStaff",1,"ag-px-md",3,"ngModel","ngModelChange"],["name","typeAheadPatronGuest",1,"ag-px-md",3,"ngModel","ngModelChange"],["for","selectForm"],["id","selectForm","name","searchBoxDefaultValue",3,"compareWith","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"col-12","text-end"],["aria-label","Save","type","submit",1,"btn","btn-primary","pull-right"],[3,"value"],[1,"col-12","col-lg-12","col-md-12"],["type","button",1,"btn","btn-primary","ag-mt-md",3,"click"],[1,"col-12","col-md-12"],["newRDPForm","ngForm"],["class","facet-tabs","dragula","new-bag",3,"dragulaModel","dragulaModelChange",4,"ngIf"],["dragula","new-bag",1,"facet-tabs",3,"dragulaModel","dragulaModelChange"],["class","page-list drake",4,"ngFor","ngForOf"],[1,"page-list","drake"],[1,"set-staff-icons"],["aria-hidden","true","title","Drag to change order",1,"fa","fa-arrows","drag-area"],["aria-hidden","true","title","Remove","tabindex","0",1,"fa","fa-trash","padding-5",3,"click"],["tabindex","0",1,"set-checkbox-input-link",3,"agInteract"],[1,"set-label","truncate-ellipsis"],["matInput","","placeholder","tag Id","disabled","true",3,"name","ngModel","ngModelChange"],["matInput","","placeholder","sub-fields","disabled","true",3,"name","ngModel","ngModelChange"],["matInput","","placeholder","label","disabled","true",3,"name","ngModel","ngModelChange"],["_ngcontent-c15","","aria-hidden","true",1,"fa","fa-angle-right","pull-right"],[3,"formGroup","ngSubmit"],["for","tagId"],["type","text","id","tagId","formControlName","tagId",1,"form-control"],["for","subfields"],["type","text","id","subfields","formControlName","subfields",1,"form-control"],["for","label"],["type","text","id","label","formControlName","label",1,"form-control"],["aria-label","Submit","type","submit",1,"btn","btn-primary",3,"disabled"],[3,"zeroResults"],["for","defaultResultsView",1,"color-header-color","bold"],["id","defaultResultsView","name","resultViewPatronGuest",3,"ngModel","ngModelChange"],["class","block",3,"value","name",4,"ngFor","ngForOf"],[1,"margin-5"],["name","resultViewStaff",3,"ngModel","ngModelChange"],["for","displayPrintOptions",1,"color-header-color","bold"],["id","displayPrintOptions","name","printOptionPatronGuest",3,"ngModel","ngModelChange"],["name","printOptionStaff",3,"ngModel","ngModelChange"],["for","displayJacketArt",1,"color-header-color","bold"],["id","displayJacketArt","name","jacketArtOnListViewPatronGuest",3,"ngModel","ngModelChange"],["name","jacketArtOnListViewStaff",3,"ngModel","ngModelChange"],["for","displaySeeMoreFrom",1,"color-header-color","bold"],["name","seeMoreFromPatronGuest",3,"ngModel","ngModelChange"],["class","block","id","displaySeeMoreFrom",3,"value","name",4,"ngFor","ngForOf"],["name","seeMoreFromStaff",3,"ngModel","ngModelChange"],["for","displayShowingResultsFor",1,"color-header-color","bold"],["id","displayShowingResultsFor","name","showingResultsForPatronGuest",3,"ngModel","ngModelChange"],["name","showingResultsForStaff",3,"ngModel","ngModelChange"],["for","enableSearchHighlight",1,"color-header-color","bold"],["id","enableSearchHighlight","name","enableSeachHighlightPatronsGuests",3,"ngModel","ngModelChange"],["name","enableSeachHighlightStaff",3,"ngModel","ngModelChange"],["for","showSearchGrouping",1,"color-header-color","bold"],["id","showSearchGrouping","name","showResultTypesPatronsGuests",3,"ngModel","ngModelChange"],["name","showResultTypesStaff",3,"ngModel","ngModelChange"],["class","col-12 col-md-6 col-lg-4",4,"ngIf"],["for","facetSequence",1,"color-header-color","bold"],["id","facetSequence","name","formatSequenceGeneral",3,"ngModel","ngModelChange"],["id","selectForm","aria-describedby","selectFormHelp",3,"ngModel","ngModelChange"],[4,"ngFor","ngForOf"],[1,"width-100","text-end"],["type","button","aria-label","Save",1,"btn","btn-primary","pull-right",3,"click"],[1,"block",3,"value","name"],["id","displaySeeMoreFrom",1,"block",3,"value","name"],["for","browseIndexes",1,"color-header-color","bold"],["id","browseIndexes","name","showBrowseIndexesPatronsGuests",3,"ngModel","ngModelChange"],["name","showBrowseIndexesStaff",3,"ngModel","ngModelChange"],["for","displayEFormats",1,"color-header-color","bold"],["id","displayEFormats","name","showEformatsPatronGuests",3,"ngModel","ngModelChange"],["name","showEformatsStaff",3,"ngModel","ngModelChange"],[3,"value",4,"ngIf"],[1,"col-12"],["for","showResourceDetails",1,"color-header-color","bold","header-no-margin-bottom"],[1,"sub-group-header"],["name","showResourceDetailsDisplayPatronGuests",3,"ngModel","ngModelChange"],["name","showResourceDetailsDisplayStaff",3,"ngModel","ngModelChange"],[3,"ngSubmit",4,"ngIf"],[1,"text-center",2,"margin-right","25%"],[1,"col-12","mw-80"],["for","npageTitle"],["appearance","outline",1,"width-100","no-wrapper"],["matInput","","type","email","id","npageTitle","maxlength","20","placeholder","Filter Tab Label","aria-label","Filter Tab Label","name","filterTabLabel",3,"ngModel","ngModelChange"],["matInput","","type","email","id","npageTitle","maxlength","20","placeholder","Resources Tab Label","aria-label","Resources Tab Label","name","resourceTabLabel",3,"ngModel","ngModelChange"],["for","searchBox"],["id","searchBox","aria-describedby","Search Box Display Options","name","searchBoxOneDefaultIndex",3,"compareWith","ngModel","ngModelChange"],["id","searchBox","aria-describedby","Search Box Display Options","name","searchBoxTwoDefaultIndex",3,"compareWith","ngModel","ngModelChange"],["id","searchBox","aria-describedby","Search Box Display Options","name","searchBoxThreeeDefaultIndex",3,"compareWith","ngModel","ngModelChange"],["for","enableTypeAhead"],["id","enableTypeAhead",1,"ag-px-md"],["name","enableTypeAheadForStaff",1,"ag-mx-md",3,"ngModel","ngModelChange"],[1,"ag-px-md"],["name","enableTypeAheadForPatronsGuests",1,"ag-px-md",3,"ngModel","ngModelChange"],["aria-label","Save","type","submit",1,"btn","btn-primary"],["asFilterPatronForm","ngForm"],["class","facet-tabs","dragula","asfilter-bag-patron",3,"dragulaModel","dragulaModelChange",4,"ngIf"],["asFilterStaffForm","ngForm"],["class","facet-tabs","dragula","asfilter-bag-staff",3,"dragulaModel","dragulaModelChange",4,"ngIf"],["dragula","asfilter-bag-patron",1,"facet-tabs",3,"dragulaModel","dragulaModelChange"],[1,"set-checkbox-input-link"],[1,"set-label"],[1,"set-label-checkbox"],["type","checkbox",3,"name","ngModel","ngModelChange"],[1,"custom-control-indicator"],[1,"example-full-width"],["matInput","",3,"placeholder","name","ngModel","ngModelChange"],["dragula","asfilter-bag-staff",1,"facet-tabs",3,"dragulaModel","dragulaModelChange"],[1,"padding-0-10"],[1,"padding-5-15"],[1,"width-300","inline-block","text-start"],["name","weblinkOnSeparateTabGuest",1,"ag-px-lg",3,"ngModel","ngModelChange"],["name","weblinkOnSeparateTabPatron",1,"ag-px-lg",3,"ngModel","ngModelChange"],["name","weblinkOnSeparateTabStaff",1,"ag-px-lg",3,"ngModel","ngModelChange"],["name","weblinkOnChooseResourceScreenGuest",1,"ag-px-lg",3,"ngModel","ngModelChange"],["name","weblinkOnChooseResourceScreenPatron",1,"ag-px-lg",3,"ngModel","ngModelChange"],["name","weblinkOnChooseResourceScreenStaff",1,"ag-px-lg",3,"ngModel","ngModelChange"],["matInput","","aria-label","Web Link Tab Label","placeholder","Enter Tab Label","maxlength","20",3,"ngModel","ngModelOptions","ngModelChange"],["formText","ngForm"],[3,"innerHTMLText","location"],["medEditorWebLink",""],[1,"control-panel","width-320"],["facetPatronForm","ngForm"],["class","facet-tabs","dragula","page-bag-patron",3,"dragulaModel","dragulaModelChange",4,"ngIf"],["facetStaffForm","ngForm"],["class","facet-tabs","dragula","page-bag-staff",3,"dragulaModel","dragulaModelChange",4,"ngIf"],["dragula","page-bag-patron",1,"facet-tabs",3,"dragulaModel","dragulaModelChange"],[1,"custom-control","custom-checkbox"],["type","checkbox",3,"ngModel","name","ngModelChange"],["matInput","",3,"placeholder","ngModel","name","ngModelChange"],["dragula","page-bag-staff",1,"facet-tabs",3,"dragulaModel","dragulaModelChange"],[3,"fullRecordOptions","canShowILLLenderColumn","updateFullRecord"],[1,"ag-mt-md"],["cass","page-links","dragula","page-bag-pages",3,"dragulaModel","dragulaModelChange"],[1,"move-list"],[1,"set-icons"],["class","fa fa-home","aria-hidden","true","title","Home Page",4,"ngIf"],["class","fa fa-link","aria-hidden","true","title","Link Page",4,"ngIf"],["class","fa fa-file-o","aria-hidden","true","title","Template Page",4,"ngIf"],["class","fa fa-trash padding-5-0","aria-hidden","true","title","Remove Page",3,"click",4,"ngIf"],["tabindex","0",1,"set-label-link",3,"agInteract"],["style","font-size: 11px; font-weight: 730",3,"title",4,"ngIf"],[1,"set-angle"],["aria-hidden","true",1,"fa","fa-angle-right"],["aria-hidden","true","title","Home Page",1,"fa","fa-home"],["aria-hidden","true","title","Link Page",1,"fa","fa-link"],["aria-hidden","true","title","Template Page",1,"fa","fa-file-o"],["aria-hidden","true","title","Remove Page",1,"fa","fa-trash","padding-5-0",3,"click"],[2,"font-size","11px","font-weight","730",3,"title"],[1,"text-center","ag-mt-sm"],["class","fa fa-trash","aria-hidden","true","title","Remove",3,"click",4,"ngIf"],["aria-hidden","true","title","Remove",1,"fa","fa-trash",3,"click"],["aria-hidden","true","title","Customer Care Page",1,"fa","fa-file-o"],["aria-hidden","true",1,"fa","fa-file-o"],[3,"pageType","resetNav"],["id","titletext","placeholder","Enter Title","title","Title Text",1,"form-control",3,"ngModel","ngModelChange"],["id","targeturl","title","Target URL","placeholder","Enter Redirect Url",1,"form-control",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange","change"],[1,"form-group","col-12","col-md-6"],["title","Branding Logo Options","id","logotype",3,"ngModel","ngModelChange"],["value","libOnly"],["value","imageOnly"],["value","customText"],["value","bothImageText"],[1,"width-100","text-end","ag-my-lg","clearfix"],["for","photo"],["ng2FileSelect","","type","file","name","photo","id","photo",1,"form-control",3,"uploader"],["aria-label","Upload","type","button",1,"btn","btn-primary","ag-my-sm",3,"click"],[1,"col-12","col-md-6","text-center"],["class","width-100 border-25 back-offset-three",4,"ngIf"],["class","width-100",4,"ngIf"],[1,"col-12","text-end","ag-my-md"],["type","button","aria-label","Save",1,"btn","btn-primary",3,"click"],[1,"width-100","border-25","back-offset-three"],["alt","Logo Image",1,"width-100",3,"src"],["matInput","","aria-label","Custom Logo Text","placeholder","Custom Text","maxlength","100",3,"ngModel","ngModelOptions","ngModelChange"],["type","button","aria-label","Save",1,"btn","btn-primary","pull-right",3,"disabled","click"],["matInput","","aria-label","Custom Text","placeholder","Custom Text","maxlength","100",3,"ngModel","ngModelOptions","ngModelChange"],["aria-label","Save","type","button",1,"btn","btn-primary","ag-my-sm",3,"disabled","click"],["style","width: 100%",4,"ngIf"],["type","button","aria-label","Save",1,"btn","btn-primary",3,"disabled","click"],[2,"width","100%"],["alt","Custom Logo",2,"max-width","95%",3,"src"],[1,"control-panel",2,"min-width","320px","width","320px"],[3,"color","themes","showSaveApply","themesEE","colorsEE"],[1,"color-primary","width-100"],["dragula","page-bag",1,"staff-tabs",3,"dragulaModel","dragulaModelChange"],["class","col-12 col-md-6",4,"ngIf"],["class","btn btn-primary pull-right","type","button","title","Save to set Global Tab Order",3,"click",4,"ngIf"],[1,"set-label-staff-link"],[1,"color-header-color","width-100",2,"display","inline-block","width","initial"],["class","staff-tabs","dragula","page-bag-global",3,"dragulaModel","dragulaModelChange",4,"ngIf"],["dragula","page-bag-global",1,"staff-tabs",3,"dragulaModel","dragulaModelChange"],["aria-hidden","true","title","Drag to change order",1,"fa","fa-arrows","drag-area","global"],[1,"color-header-color","width-100"],[1,"set-label-link"],["type","button","title","Save to set Global Tab Order",1,"btn","btn-primary","pull-right",3,"click"],["tabindex","0",1,"text-start","semi-bold","pointer","ag-mb-sm",3,"agInteract"],["aria-hidden","true",1,"fa","fa-chevron-circle-left","pull-left"]],template:function(c,l){1&c&&e.YNc(0,Yc,2,1,"div",0)(1,tu,4,2,"div",1),2&c&&(e.Q6J("ngIf",!l.canRender),e.xp6(),e.Q6J("ngIf",l.canRender))},dependencies:[ei.sg,ei.O5,ei.tP,Kn.o,At._Y,At.Fj,At.Wl,At.JJ,At.JL,At.Q7,At.nD,At.On,At.F,ci.CK,Go.FC,po.v_,po.pH,xo.k0,sr.sN,wo.OY,wo.vy,yr.x8,la.ty,la.wO,la.S4,la.t3,la.R3,la.Al,la.L7,la.ML,la.fg,la.Zw,At.sg,At.u,Hn.sW,el.C6,Uc,kd,Xh,gt,km],styles:[".control-panel[_ngcontent-%COMP%]{min-width:95px;max-width:320px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--header-color) var(--offset-three);height:calc(100% - 95px)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:var(--header-color);box-shadow:0 0 1px #ffffff80;border:2px solid var(--offset-three)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--offset-three)}.control-panel[_ngcontent-%COMP%]   medium-editor[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#000!important}.drag-area[_ngcontent-%COMP%]{padding:5px 7px;cursor:move}.drag-area[_ngcontent-%COMP%]:hover, .drag-area[_ngcontent-%COMP%]:focus{color:var(--primary)}.move-list[_ngcontent-%COMP%]{width:25px;height:50px;padding:12px 0;text-align:center;float:left;color:var(---header-color);position:relative}.set-icons[_ngcontent-%COMP%]{display:inline-block;width:60px;height:50px;padding:14px 0;text-align:center;float:left;color:var(--header-color)}.set-staff-icons[_ngcontent-%COMP%]{display:inline-block;width:30px;text-align:right;float:left;clear:left;color:#d3d3d3;margin-top:10px}.staff-tabs[_ngcontent-%COMP%]{padding:0 10px}.page-list[_ngcontent-%COMP%]{width:100%;display:block;text-align:left;color:var(--header-color);background:var(--offset-two);box-shadow:0 2px 3px var(--box-shadows);font-size:1em;cursor:pointer}.set-label-staff-link[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 40px);padding:10px 0 10px 10px}.set-label-link[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 85px);padding:10px 0 10px 10px}.set-checkbox-input-link[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 30px);padding:0 0 0 10px}.set-label[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 50px);float:left}.set-angle[_ngcontent-%COMP%]{display:inline-block;width:50px;float:right;text-align:right;padding:0 10px}.set-label-checkbox[_ngcontent-%COMP%]{width:40px;display:inline-block;padding:5px}.facet-tabs[_ngcontent-%COMP%]   i.drag-area[_ngcontent-%COMP%]{padding:5px 8px;cursor:move;font-size:1.5em}.facet-tabs[_ngcontent-%COMP%]   page-list[_ngcontent-%COMP%]{padding-top:10px}.facet-tabs[_ngcontent-%COMP%]   .mat-input-wrapper[_ngcontent-%COMP%]{padding-bottom:.4em!important}.page-links[_ngcontent-%COMP%]   .drag-area[_ngcontent-%COMP%]{padding:5px 0}@media screen and (min-width: 576px){.example-full-width[_ngcontent-%COMP%]{width:90%!important}.control-panel[_ngcontent-%COMP%]{min-width:360px;max-width:540px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--header-color) var(--offset-three);height:calc(100% - 80px)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:var(--header-color);box-shadow:0 0 1px #ffffff80;border:2px solid var(--offset-three)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--offset-three)}}@media screen and (min-width: 768px){.control-panel[_ngcontent-%COMP%]{min-width:480px;max-width:740px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--header-color) var(--offset-three);height:calc(100% - 55px)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:var(--header-color);box-shadow:0 0 1px #ffffff80;border:2px solid var(--offset-three)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--offset-three)}.example-full-width[_ngcontent-%COMP%]{width:52%!important}@-moz-document url-prefix(){.example-full-width{width:52%!important}}}@media screen and (min-width: 992px){.control-panel[_ngcontent-%COMP%]{min-width:575px;max-width:740px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--header-color) var(--offset-three);height:calc(100% - 105px)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:var(--header-color);box-shadow:0 0 1px #ffffff80;border:2px solid var(--offset-three)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--offset-three)}.example-full-width[_ngcontent-%COMP%]{width:62%!important}@-moz-document url-prefix(){.example-full-width{width:62%!important}}}@media screen and (min-width: 1200px){.control-panel[_ngcontent-%COMP%]{min-width:640px;max-width:740px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--header-color) var(--offset-three);height:calc(100% - 105px)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:var(--header-color);box-shadow:0 0 1px #ffffff80;border:2px solid var(--offset-three)}.control-panel[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--offset-three)}}hr[_ngcontent-%COMP%]{display:block;height:1px;border:0;border-top:1px solid var(--header-color);margin:1em 0;padding:0}[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px;height:10px;padding-top:40px}.medium-editor-placeholder[_ngcontent-%COMP%]{color:#000!important}.sub-group-header[_ngcontent-%COMP%]{font-weight:700;text-decoration:underline}.header-no-margin-bottom[_ngcontent-%COMP%]{margin-bottom:0!important}[_nghost-%COMP%]     .mat-radio-outer-circle{border:2px solid var(--header-color)!important}[_nghost-%COMP%]     .mat-radio-inner-circle{border:2px solid var(--offset-two)!important}[_nghost-%COMP%]     .mat-checkbox-frame{border:2px solid var(--header-color)!important}input[type=radio][_ngcontent-%COMP%]{-webkit-appearance:none;border-radius:50%;outline:none;border:2px solid var(--header-color)}[_nghost-%COMP%]     .mat-tab-label{color:var(--header-color)}[_nghost-%COMP%]     .no-wrapper .mat-form-field-wrapper{margin:0!important;padding:0}[_nghost-%COMP%]     .mat-radio-label-content{margin-right:10px}[_nghost-%COMP%]     .mat-form-field-outline-start, [_nghost-%COMP%]     .mat-form-field-outline-gap, [_nghost-%COMP%]     .mat-form-field-outline-end{background-color:#fff}[_nghost-%COMP%]     .mat-input-element{color:#000}[_nghost-%COMP%]     .mat-stroked-button{color:var(--button-color);background-color:var(--button-background)}mat-table[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{color:var(--header-color)}.pointer[_ngcontent-%COMP%]{cursor:pointer}mat-radio-button[_ngcontent-%COMP%]{margin:5px}"]})}return d})();var Yr=s(2413),Ys=s(2572),nu=s(3620),iu=s(3997),Oc=s(1082),v=s(3213),rt=s(441),f=s(9594),Oe=s(318);const ot=["settings",""];function qn(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",3)(1,"a",4),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goToUrl())})("keyup.enter",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goToUrl())}),e._UZ(2,"img",5),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(2),e.Q6J("src",i.imageUrl,e.LSH)("title",i.titleHover),e.uIk("alt",i.titleHover)}}const Ro=d=>({"d-none d-lg-flex":d,pointer:!0});function mr(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",6),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goToUrl())})("keyup.enter",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goToUrl())}),e._uU(1),e.qZA()}if(2&d){const i=e.oxw();e.Q6J("title",i.titleHover)("ngClass",e.VKq(3,Ro,i.responsive)),e.xp6(),e.hij(" ",i.title," ")}}let Ar=(()=>{class d{constructor(i,c,l){this._router=i,this._configService=c,this._predefinedTemplatesService=l,this.responsive=!0,this.showLogo=!1,this.showTitle=!1,this.titleHover=null}ngOnChanges(i){if(i.settings){if(null==i.settings.currentValue)throw new TypeError('"settings" cannot be null or undefined');this._bindSettings(i.settings.currentValue.layoutSettings)}}goToUrl(){if(/\S/.test(this.redirectUrl)&&null!=this.redirectUrl&&this.redirectUrl){let i="";i=this.redirectUrl.includes("http://")||this.redirectUrl.includes("https://")?this.redirectUrl:"https://"+this.redirectUrl,window.open(i,"_blank")}else this._predefinedTemplatesService.underlineActivePage({type:"primary page"}),this._router.navigate(["/"],{queryParams:{cid:this.settings.layoutSettings.cid,lid:this.settings.layoutSettings.lid}})}_bindSettings(i){this.showLogo=i.showLogo||i.logoAndText,this.showTitle=1!=i.showLogo,this.imageUrl=this._configService.baseUrl+i.logoImageURL,this.redirectUrl=i.logoRedirectURL,this.title=i.logoAndText||i.showTitle?i.customText:this.settings.libraryName,this.titleHover=i.name??""}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Gi.F0),e.Y36(io.E),e.Y36(Dr.fs))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-logo-title","settings",""]],inputs:{settings:"settings",responsive:"responsive"},features:[e.TTD],attrs:ot,decls:3,vars:2,consts:[["fxLayout","row","fxLayoutGap","10px","fxLayoutAlign","start center"],["fxFlex","nogrow",4,"ngIf"],["tabindex","0",3,"title","ngClass","click","keyup.enter",4,"ngIf"],["fxFlex","nogrow"],["tabindex","0",1,"pointer",3,"click","keyup.enter"],[2,"max-width","220px","max-height","45px",3,"src","title"],["tabindex","0",3,"title","ngClass","click","keyup.enter"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0),e.YNc(1,qn,3,3,"div",1)(2,mr,2,5,"a",2),e.qZA()),2&c&&(e.xp6(),e.Q6J("ngIf",l.showLogo),e.xp6(),e.Q6J("ngIf",l.showTitle))},dependencies:[ei.mk,ei.O5,bi.xw,bi.SQ,bi.Wh,bi.yH,zr.oO],styles:["[_nghost-%COMP%]   a[_ngcontent-%COMP%]{color:var(--header-color);text-decoration:none}"]})}return d})();var rr=s(8898),Wr=s(9025),cs=s(6385),ql=s(3305),Kl=s(6718),gs=s(1274);const sd=["header"],ou=["searchInput"];function ru(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.clearInput())}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function Sm(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",35),e.NdJ("click",function(){const x=e.CHM(i).index,ke=e.oxw(4);return e.KtG(ke.scrollToOption("select-option-"+x))}),e._uU(1),e.qZA()}if(2&d){const i=g.$implicit;e.xp6(),e.hij(" ",i.heading," ")}}function Em(d,g){if(1&d&&(e.TgZ(0,"div",33),e.YNc(1,Sm,2,1,"button",34),e.qZA()),2&d){const i=e.oxw(3);e.xp6(),e.Q6J("ngForOf",i.searchSuggestions)}}function Om(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-option",38),e.NdJ("onSelectionChange",function(l){const ke=e.CHM(i).$implicit,Mt=e.oxw(5);return e.KtG(Mt.selectSearchOption(l,ke))}),e.qZA()}if(2&d){const i=g.$implicit;e.Q6J("innerHTML",i.termHtml,e.oJD)("value",i.searchTerm)}}function Sp(d,g){if(1&d&&(e.TgZ(0,"div")(1,"mat-optgroup",36),e.YNc(2,Om,1,2,"mat-option",37),e.qZA()()),2&d){const i=g.$implicit,c=g.index;e.xp6(),e.Q6J("label",i.heading)("id","select-option-"+c),e.xp6(),e.Q6J("ngForOf",i.results)}}function ld(d,g){if(1&d&&(e.TgZ(0,"div"),e.YNc(1,Sp,3,3,"div",30),e.qZA()),2&d){const i=e.oxw(3);e.xp6(),e.Q6J("ngForOf",i.searchSuggestions)}}function uh(d,g){if(1&d){const i=e.EpF();e.ynx(0),e._UZ(1,"mat-divider",39),e.TgZ(2,"button",40),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.isSearchOptionsOpen=!l.isSearchOptionsOpen)}),e.TgZ(3,"mat-icon"),e._uU(4,"arrow_drop_down"),e.qZA()(),e.BQk()}2&d&&(e.xp6(),e.Q6J("vertical",!0))}function Dm(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-option",47),e.NdJ("click",function(){const x=e.CHM(i).$implicit,ke=e.oxw(4);return e.KtG(ke.mobileSelectIndex(x))}),e._uU(1),e.qZA()}if(2&d){const i=g.$implicit;e.Q6J("value",i),e.xp6(),e.hij(" ",i.name,"")}}function Xb(d,g){if(1&d&&(e.TgZ(0,"div")(1,"mat-card")(2,"mat-card-content")(3,"div",41)(4,"mat-form-field",42)(5,"mat-label"),e._uU(6,"Search Index"),e.qZA(),e.TgZ(7,"mat-select"),e.YNc(8,Dm,2,2,"mat-option",43),e.qZA()()(),e.TgZ(9,"mat-expansion-panel",44)(10,"mat-expansion-panel-header")(11,"mat-panel-title"),e._uU(12,"Resources"),e.qZA(),e.TgZ(13,"mat-panel-description"),e._uU(14,"Libraries and Digital sources."),e.qZA()(),e._uU(15," resource 1 "),e.qZA()(),e.TgZ(16,"mat-card-actions",45)(17,"button",46),e._uU(18,"Reset"),e.qZA(),e.TgZ(19,"button",46),e._uU(20,"Done"),e.qZA()()()()),2&d){const i=e.oxw(3);e.xp6(8),e.Q6J("ngForOf",i.indexesArray),e.xp6(),e.Q6J("hideToggle",!1)}}function ev(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"button",35),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goToLogin())}),e._uU(2,"Login"),e.qZA(),e.BQk()}}function Am(d,g){1&d&&(e.TgZ(0,"mat-icon",54),e._uU(1,"account_circle"),e.qZA())}function Xf(d,g){if(1&d&&e._UZ(0,"img",55),2&d){const i=e.oxw(4);e.Q6J("src",i.avatar,e.LSH)}}function cd(d,g){1&d&&(e.TgZ(0,"mat-icon"),e._uU(1,"account_circle"),e.qZA())}function e_(d,g){if(1&d&&e._UZ(0,"img",55),2&d){const i=e.oxw(4);e.Q6J("src",i.avatar,e.LSH)}}function t_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",48),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.openSideNavMenu("end",""))}),e._uU(1),e.YNc(2,Am,2,0,"mat-icon",49)(3,Xf,1,1,"ng-template",null,50,e.W1O),e.qZA(),e.TgZ(5,"button",51),e.YNc(6,cd,2,0,"mat-icon",4)(7,e_,1,1,"ng-template",null,50,e.W1O),e.qZA(),e.TgZ(9,"mat-menu",null,52)(11,"button",53),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.routingService.goToAccountProfile())}),e._uU(12," Edit Profile "),e.qZA(),e.TgZ(13,"button",53),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.authService.OnLogOut())}),e._uU(14," Logout "),e.qZA()()}if(2&d){const i=e.MAs(4),c=e.MAs(10),l=e.oxw(3);e.xp6(),e.hij(" ",l.userData.firstName," "),e.xp6(),e.Q6J("ngIf",!l.avatar)("ngIfElse",i),e.xp6(3),e.Q6J("matMenuTriggerFor",c),e.xp6(),e.Q6J("ngIf",!l.avatar)("ngIfElse",i)}}function tv(d,g){if(1&d&&(e.ynx(0),e._uU(1),e.BQk()),2&d){const i=e.oxw().ngIf;e.xp6(),e.hij(" ",i.label," ")}}function Mx(d,g){if(1&d&&e._UZ(0,"i",58),2&d){const i=e.oxw().ngIf;e.Tol(i.icon)}}function Ep(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",56),e.NdJ("agInteract",function(){const x=e.CHM(i).ngIf,ke=e.oxw(3);return e.KtG(ke.handleMenuNavigation(x))}),e.YNc(1,tv,2,1,"ng-container",20)(2,Mx,1,2,"i",57),e.qZA()}if(2&d){const i=g.ngIf;e.Q6J("matTooltip",i.icon?i.label:""),e.uIk("aria-label",i.label),e.xp6(),e.Q6J("ngIf",i.label),e.xp6(),e.Q6J("ngIf",i.icon)}}function nv(d,g){if(1&d&&(e.ynx(0),e._uU(1),e.BQk()),2&d){const i=e.oxw(2).$implicit;e.xp6(),e.hij(" ",i.label," ")}}function n_(d,g){if(1&d&&e._UZ(0,"i",58),2&d){const i=e.oxw(2).$implicit;e.Tol(i.icon)}}function i_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",60),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.handleMenuNavigation(l))}),e.YNc(1,nv,2,1,"ng-container",20)(2,n_,1,2,"i",57),e.qZA()}if(2&d){const i=e.oxw().$implicit;e.Q6J("matTooltip",i.icon?i.label:""),e.uIk("aria-label",i.label),e.xp6(),e.Q6J("ngIf",i.label),e.xp6(),e.Q6J("ngIf",i.icon)}}function o_(d,g){if(1&d&&(e.ynx(0),e.YNc(1,i_,3,4,"a",59),e.BQk()),2&d){const i=g.index;e.xp6(),e.Q6J("ngIf",i>0)}}function Pm(d,g){1&d&&(e.TgZ(0,"button",65)(1,"mat-icon"),e._uU(2,"translate"),e.qZA()())}function r_(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"button",61),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.routingService.goToKidsCat())}),e.TgZ(2,"i",62),e._UZ(3,"img",63),e.qZA()(),e.YNc(4,Pm,3,0,"button",64),e.BQk()}if(2&d){const i=e.oxw(2).ngIf;e.xp6(4),e.Q6J("ngIf",i.showLanguages)}}function Op(d,g){1&d&&(e.TgZ(0,"div",107)(1,"div",108),e._UZ(2,"div",109),e.TgZ(3,"div",110)(4,"div"),e._UZ(5,"i",111),e.qZA()()()())}function hh(d,g){if(1&d&&(e.TgZ(0,"option",112),e._uU(1),e.qZA()),2&d){const i=g.$implicit,c=g.index;e.Q6J("selected",i.isDefault)("ngValue",i),e.uIk("selected",0===c||null),e.xp6(),e.hij(" ",i.name," ")}}function a_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",26)(1,"div",113)(2,"div",114),e.NdJ("focus",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.showResourceHasFocus=!0)})("blur",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.showResourceHasFocus=!1)})("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.openSideNavMenu("start","resources"))}),e._UZ(3,"i",115),e.qZA()()()}if(2&d){const i=e.oxw(4);e.xp6(2),e.Tol(i.showResourceHasFocus?"focused":"")}}function Im(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-option",117),e.NdJ("onSelectionChange",function(l){const ke=e.CHM(i).$implicit,Mt=e.oxw(6);return e.KtG(Mt.selectSearchOption(l,ke))}),e.qZA()}if(2&d){const i=g.$implicit;e.Q6J("innerHTML",i.termHtml,e.oJD)("value",i.searchTerm)}}function Dp(d,g){if(1&d&&(e.TgZ(0,"div")(1,"h5"),e._uU(2),e.qZA(),e.YNc(3,Im,1,2,"mat-option",116),e.qZA()),2&d){const i=g.$implicit;e.xp6(2),e.Oqu(i.heading),e.xp6(),e.Q6J("ngForOf",i.results)}}function s_(d,g){if(1&d&&(e.TgZ(0,"div"),e.YNc(1,Dp,4,2,"div",30),e.qZA()),2&d){const i=e.oxw(4);e.xp6(),e.Q6J("ngForOf",i.searchSuggestions)}}function Rm(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",118),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.clearInput())}),e._UZ(1,"i",119),e.qZA()}}function Ap(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",120),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.routingService.goToKidsCat())}),e.TgZ(1,"i",121),e._UZ(2,"img",122),e.qZA()()}}function iv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",123),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.goToBrowseSearch())}),e._UZ(1,"i",124),e.qZA()}}function l_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",125),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.guestTrack())}),e._UZ(1,"i",126),e.qZA()}}function ov(d,g){if(1&d&&(e.TgZ(0,"span",131),e._uU(1),e.qZA()),2&d){const i=e.oxw(5);e.xp6(),e.Oqu(i.yourSharedListCount)}}function rv(d,g){if(1&d&&(e.TgZ(0,"span",132),e._uU(1),e.qZA()),2&d){const i=e.oxw(5);e.xp6(),e.Oqu(i.yourListCount)}}function av(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",127),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.goToYourList())}),e._UZ(1,"i",128),e.YNc(2,ov,2,1,"span",129)(3,rv,2,1,"span",130),e.qZA()}if(2&d){const i=e.oxw(4);e.xp6(2),e.Q6J("ngIf",i.yourSharedListCount>0),e.xp6(),e.Q6J("ngIf",i.yourListCount>0)}}function c_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",135),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(5);return e.KtG(l.openSideNavMenu("end","quickmenu"))}),e._UZ(1,"i",136),e.TgZ(2,"span",132),e._uU(3,"F9"),e.qZA()()}}const d_=d=>({red:d});function Pp(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"span",139),e.ALo(2,"async"),e._uU(3),e.ALo(4,"async"),e.qZA(),e.BQk()),2&d){const i=e.oxw(6);e.xp6(),e.Q6J("ngClass",e.VKq(6,d_,e.lcZ(2,2,i.unreadMessageCount$)>0)),e.xp6(2),e.Oqu(e.lcZ(4,4,i.unreadMessageCount$))}}function Lm(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",137),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(5);return e.KtG(l.openSideNavMenu("end","notify"))}),e._UZ(1,"i",138),e.YNc(2,Pp,5,8,"ng-container",20),e.ALo(3,"async"),e.qZA()}if(2&d){const i=e.oxw(5);e.xp6(2),e.Q6J("ngIf",e.lcZ(3,1,i.unreadMessageCount$))}}function au(d,g){if(1&d&&(e.TgZ(0,"span"),e.YNc(1,c_,4,0,"a",133)(2,Lm,4,3,"a",134),e.qZA()),2&d){const i=e.oxw(4);e.xp6(),e.Q6J("ngIf",i.quickMenu&&(null==i.userData?null:i.userData.isStaff)),e.xp6(),e.Q6J("ngIf",!(null!=i.userData&&i.userData.isGuest))}}function sv(d,g){if(1&d&&(e.ynx(0),e._uU(1),e.BQk()),2&d){const i=e.oxw().$implicit;e.xp6(),e.hij(" ",i.label," ")}}function lv(d,g){if(1&d&&e._UZ(0,"i",58),2&d){const i=e.oxw().$implicit;e.Tol(i.icon)}}function kx(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",140),e.NdJ("agInteract",function(){const x=e.CHM(i).$implicit,ke=e.oxw(4);return e.KtG(ke.handleMenuNavigation(x))}),e.YNc(1,sv,2,1,"ng-container",20)(2,lv,1,2,"i",57),e.qZA()}if(2&d){const i=g.$implicit;e.Q6J("matTooltip",i.icon?i.label:""),e.uIk("aria-label",i.label),e.xp6(),e.Q6J("ngIf",i.label),e.xp6(),e.Q6J("ngIf",i.icon)}}function cv(d,g){1&d&&(e.TgZ(0,"span",141),e._uU(1,"Hello, Guest"),e.qZA())}function Ip(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",142),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.goToLogin())}),e._uU(1,"Please Login "),e.qZA()}}function Nm(d,g){if(1&d&&(e.TgZ(0,"div",143),e._uU(1),e.qZA()),2&d){const i=e.oxw(4);e.MGl("title","Hello, ",i.userData.firstName,""),e.xp6(),e.hij(" Hello, ",i.userData.firstName," ")}}function u_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",142),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.openSideNavMenu("end",""))}),e._uU(1,"Your Account"),e._UZ(2,"i",144),e.qZA()}}function h_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",145),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(4);return e.KtG(l.authService.OnLogOut())}),e.TgZ(1,"span",146),e._uU(2,"Logout"),e.qZA()()}}const Fm=(d,g)=>({layoutSettings:d,libraryName:g}),dd=d=>({"greyed-out":d});function dv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",66)(1,"div",67)(2,"div",68),e._UZ(3,"ag-logo-title",69),e.qZA(),e.TgZ(4,"div",70)(5,"div",71),e.YNc(6,Op,6,0,"div",72),e.TgZ(7,"div",26)(8,"div",73)(9,"div",74)(10,"select",75),e.NdJ("focus",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.selectSearchIndexHasFocus=!0)})("blur",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.selectSearchIndexHasFocus=!1)})("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.onChangeSearchIndex(l))}),e.YNc(11,hh,2,4,"option",76),e.qZA()()()(),e.YNc(12,a_,4,2,"div",77),e.TgZ(13,"div",78)(14,"div",79)(15,"form")(16,"div",80)(17,"input",81,82),e.NdJ("focus",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.searchInputHasFocus=!0)})("blur",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.searchInputHasFocus=!1)})("keydown.enter",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.searchEnter())}),e.qZA(),e.TgZ(19,"mat-autocomplete",83,84),e.YNc(21,s_,2,1,"div",20),e.qZA()()()(),e.TgZ(22,"div",85),e.YNc(23,Rm,2,0,"div",86),e._UZ(24,"div",87),e.TgZ(25,"div",88),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.doSearch(l.searchTerm.value,null))}),e._UZ(26,"i",89),e.qZA()()(),e.TgZ(27,"div",90)(28,"div",91),e.NdJ("blur",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.searchAdvancedHasFocus=!1)})("focus",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.searchAdvancedHasFocus=!0)})("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goToAdvancedSearch())}),e.TgZ(29,"div"),e._uU(30,"Advanced"),e.qZA()()()()(),e.TgZ(31,"div",92)(32,"div",93),e.YNc(33,Ap,3,0,"a",94)(34,iv,2,0,"a",95),e.qZA(),e.TgZ(35,"div",96)(36,"span"),e.YNc(37,l_,2,0,"a",97)(38,av,4,2,"a",98),e.qZA(),e.YNc(39,au,3,2,"span",20),e.qZA()()(),e.TgZ(40,"div",67)(41,"div",99),e.YNc(42,kx,3,4,"a",100),e.qZA(),e.TgZ(43,"div",101)(44,"span",102),e.YNc(45,cv,2,0,"span",103)(46,Ip,2,0,"a",104)(47,Nm,2,2,"div",105)(48,u_,3,0,"a",104),e.qZA(),e.YNc(49,h_,3,0,"a",106),e.qZA()()()}if(2&d){const i=e.MAs(18),c=e.MAs(20),l=e.oxw(2).ngIf,x=e.oxw();e.xp6(3),e.Q6J("settings",e.WLB(33,Fm,l,x.userData.libraryName)),e.xp6(3),e.Q6J("ngIf",l.showLanguages),e.xp6(3),e.Tol(x.selectSearchIndexHasFocus?"focused":""),e.Q6J("hidden",null===x.indexesArray),e.xp6(),e.Q6J("title","Search Indexed by "+(null==x.selectedIndex?null:x.selectedIndex.name))("ngModel",x.selectedIndex)("disabled",!x.showIndexSelection),e.xp6(),e.Q6J("ngForOf",x.indexesArray),e.xp6(),e.Q6J("ngIf",x.showResourceSelection),e.xp6(),e.Tol(x.searchInputHasFocus?"focused":""),e.xp6(4),e.Q6J("formControl",x.searchTerm)("matAutocomplete",c),e.uIk("title","search word by : "+x.selectedIndex.name),e.xp6(4),e.Q6J("ngIf",x.searchSuggestions.length),e.xp6(2),e.Q6J("ngIf",(null==x.searchTerm.value?null:x.searchTerm.value.length)>=1),e.xp6(2),e.Q6J("tabindex",x.enableSearch&&x.resources.length&&null!=x.indexesArray&&x.indexesArray.length?0:-1)("ngClass",e.VKq(36,dd,!x.enableSearch||!x.resources.length||!(null!=x.indexesArray&&x.indexesArray.length))),e.uIk("aria-label","Search the term : "+i.value),e.xp6(3),e.Tol(x.searchAdvancedHasFocus?"focused":""),e.xp6(5),e.Q6J("ngIf",null==x.userData?null:x.userData.enableKidsCat),e.xp6(),e.Q6J("ngIf",x.showBrowseIndexes),e.xp6(3),e.Q6J("ngIf",x.showGuestTracking&&(null==x.userData?null:x.userData.systemCategory)===x.SYSTEM_CATEGORY.SHAREIT),e.xp6(),e.Q6J("ngIf",x.showList),e.xp6(),e.Q6J("ngIf",!(null!=x.userData&&x.userData.isGuest)),e.xp6(3),e.Q6J("ngForOf",x.menuItems),e.xp6(3),e.Q6J("ngIf",null==x.userData?null:x.userData.isGuest),e.xp6(),e.Q6J("ngIf",null==x.userData?null:x.userData.isGuest),e.xp6(),e.Q6J("ngIf",!(null!=x.userData&&x.userData.isGuest)),e.xp6(),e.Q6J("ngIf",!(null!=x.userData&&x.userData.isGuest)),e.xp6(),e.Q6J("ngIf",!(null!=x.userData&&x.userData.isGuest))}}const uv=()=>({originX:"center",originY:"bottom",overlayX:"center",overlayY:"top"}),hv=()=>({originX:"center",originY:"top",overlayX:"center",overlayY:"top"}),pv=(d,g)=>[d,g];function mv(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"mat-toolbar",6,7)(3,"mat-toolbar-row")(4,"div",8)(5,"button",9),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.toggleSideNav())}),e.TgZ(6,"mat-icon"),e._uU(7,"menu"),e.qZA()(),e._UZ(8,"ag-logo-title",10),e.TgZ(9,"div",11)(10,"div",12,13)(12,"div",14)(13,"input",15),e.NdJ("keydown.enter",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.searchEnter())}),e.qZA(),e.YNc(14,ru,3,0,"button",16),e.TgZ(15,"mat-autocomplete",17,18),e.YNc(17,Em,2,1,"div",19)(18,ld,2,1,"div",20),e.qZA()(),e.TgZ(19,"div",21)(20,"button",22),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.searchEnter())}),e.TgZ(21,"mat-icon"),e._uU(22,"search"),e.qZA()(),e.YNc(23,uh,5,1,"ng-container",20),e.qZA()(),e.YNc(24,Xb,21,2,"ng-template",23),e.NdJ("backdropClick",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.isSearchOptionsOpen=!1)}),e.qZA(),e.ynx(25),e.TgZ(26,"div"),e.YNc(27,ev,3,0,"ng-container",4)(28,t_,15,6,"ng-template",null,24,e.W1O),e.qZA(),e.BQk(),e.qZA()(),e.TgZ(30,"mat-toolbar-row",25)(31,"div",26),e.YNc(32,Ep,3,4,"a",27),e.qZA(),e.TgZ(33,"div",28)(34,"ag-scroll-area",29),e.YNc(35,o_,2,1,"ng-container",30),e.qZA()(),e.TgZ(36,"div",26),e.YNc(37,r_,5,1,"ng-container",20),e.qZA()()(),e.YNc(38,dv,50,38,"div",31),e.ALo(39,"async"),e.BQk()}if(2&d){const i=e.MAs(2),c=e.MAs(11),l=e.MAs(16),x=e.MAs(29),ke=e.oxw().ngIf,Mt=e.oxw();e.xp6(8),e.Q6J("settings",e.WLB(22,Fm,ke,Mt.userData.libraryName)),e.xp6(5),e.Q6J("formControl",Mt.searchTerm)("matAutocomplete",l)("matAutocompleteConnectedTo",i),e.xp6(),e.Q6J("ngIf",(null==Mt.searchTerm.value?null:Mt.searchTerm.value.length)>=1),e.xp6(3),e.Q6J("ngIf",Mt.searchSuggestions.length>1),e.xp6(),e.Q6J("ngIf",Mt.searchSuggestions.length),e.xp6(2),e.Q6J("disabled",!Mt.enableSearch||!Mt.resources.length||!(null!=Mt.indexesArray&&Mt.indexesArray.length)),e.xp6(3),e.Q6J("ngIf",Mt.showSearchOptions),e.xp6(),e.Q6J("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",Mt.isSearchOptionsOpen)("cdkConnectedOverlayHasBackdrop",!0)("cdkConnectedOverlayPositions",e.WLB(27,pv,e.DdM(25,uv),e.DdM(26,hv))),e.xp6(3),e.Q6J("ngIf",null==Mt.userData?null:Mt.userData.isGuest)("ngIfElse",x),e.xp6(5),e.Q6J("ngIf",Mt.menuItems&&Mt.menuItems[0]),e.xp6(2),e.Q6J("verticalScroll",!1),e.xp6(),e.Q6J("ngForOf",Mt.menuItems),e.xp6(2),e.Q6J("ngIf",Mt.showRightActions),e.xp6(),e.Q6J("ngIf",!1===e.lcZ(39,20,Mt.sharedService.kidsCat$))}}function $l(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",166),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goToLogin())}),e._uU(1," Logout "),e.qZA()}}function su(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",166),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goToLogin())}),e._uU(1," Login "),e.qZA()}}function fv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",154),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goToLogin())}),e._uU(1," Login "),e.qZA()}}function _v(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",154),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goToLogin())}),e._uU(1," Logout "),e.qZA()}}function gv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"img",167),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.goToLogin())}),e.qZA()}}function bv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"img",168),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.authService.OnLogOut())}),e.qZA()}}function vv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"img",169),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(3);return e.KtG(l.aboutMeKC())}),e.qZA()}}function yv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",147)(1,"div",148)(2,"button",149),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.exitKC())}),e._uU(3," Exit "),e.qZA(),e.TgZ(4,"button",149),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.aboutMeKC())}),e._uU(5," About Me "),e.qZA(),e.TgZ(6,"h4",150),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.routingService.goToKidsCat())}),e._uU(7," Kids "),e.qZA(),e.YNc(8,$l,2,0,"button",151)(9,su,2,0,"button",151),e.qZA()(),e.TgZ(10,"div",152)(11,"div",153)(12,"button",154),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.exitKC())}),e._uU(13," Exit "),e.qZA(),e.TgZ(14,"button",154),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.aboutMeKC())}),e._uU(15," About Me "),e.qZA(),e.YNc(16,fv,2,0,"button",155)(17,_v,2,0,"button",155),e.TgZ(18,"h4",156),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.routingService.goToKidsCat())}),e._uU(19," Kids "),e.qZA()()(),e.TgZ(20,"div",157)(21,"div",67)(22,"div",158)(23,"img",159),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.routingService.goToKidsCat())}),e.qZA(),e.TgZ(24,"img",160),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.routingService.goToKidsCat())}),e.qZA()(),e.TgZ(25,"div",161),e.YNc(26,gv,1,0,"img",162)(27,bv,1,0,"img",163)(28,vv,1,0,"img",164),e.TgZ(29,"img",165),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.exitKC())}),e.qZA()()()()}if(2&d){const i=e.oxw(2);e.xp6(8),e.Q6J("ngIf",!(null!=i.userData&&i.userData.isGuest)),e.xp6(),e.Q6J("ngIf",null==i.userData?null:i.userData.isGuest),e.xp6(7),e.Q6J("ngIf",null==i.userData?null:i.userData.isGuest),e.xp6(),e.Q6J("ngIf",!(null!=i.userData&&i.userData.isGuest)),e.xp6(9),e.Q6J("ngIf",null==i.userData?null:i.userData.isGuest),e.xp6(),e.Q6J("ngIf",!(null!=i.userData&&i.userData.isGuest)),e.xp6(),e.Q6J("ngIf",!(null!=i.userData&&i.userData.isGuest))}}function p_(d,g){if(1&d&&(e.TgZ(0,"div",3),e.YNc(1,mv,40,30,"ng-container",4),e.ALo(2,"async"),e.YNc(3,yv,30,7,"ng-template",null,5,e.W1O),e.qZA()),2&d){const i=e.MAs(4),c=e.oxw();e.xp6(),e.Q6J("ngIf",!1===e.lcZ(2,2,c.sharedService.kidsCat$))("ngIfElse",i)}}const xv=d=>({"background-white":d});let Cv=(()=>{class d{constructor(i,c,l,x,ke,Mt,un,Dn,Bn,pi,Zi,Yi,Vi,ii,Ji,ko,Vo,Ko,Zo,ka){this._router=i,this.overlay=c,this.viewContainerRef=l,this.layoutService=x,this._notifyService=ke,this._opacSettingsService=Mt,this._predefinedTemplatesService=un,this._requestService=Dn,this.routingService=Bn,this._quickMenuService=pi,this._scriptsService=Zi,this._searchService=Yi,this.sharedService=Vi,this._yourListService=ii,this.authService=Ji,this.dialog=ko,this.myElement=Vo,this.storageService=Ko,this.snackBar=Zo,this._analyticsService=ka,this.tracking=new e.vpe,this.SYSTEM_CATEGORY=qo._n,this.searchTerm=new At.NI(""),this.unreadMessageCount$=this._notifyService.unreadMessageCount$,this.selectedIndex={},this.showGuestTracking=!1,this.showResourceHasFocus=!1,this.selectSearchIndexHasFocus=!1,this.searchInputHasFocus=!1,this.searchAdvancedHasFocus=!1,this.sidenavOpened=!1,this.showRightActions=!1,this.showSearchOptions=!1,this.isSearchOptionsOpen=!1,this.showList=!1,this.showIndexSelection=!0,this.showResourceSelection=!1,this.defaultScopingLevel=0,this.enableSearch=!0,this.searchSuggestions=[],this.resources=[],this._loadScriptsStylesLazy()}onWindowResize(){}ngOnInit(){this._router.events.subscribe(l=>{l instanceof Gi.OD&&this._hideSearchSuggestions()}),this._searchService.getQuickSearchResourcesBS().subscribe(l=>{this.resources=ta.oD.getSelectResources(l)}),this.sharedService.getLibraryChangedBS().subscribe(l=>{l&&this._predefinedTemplatesService.getLibAndBindInfoAsync(l.cid,l.lid)});const i=this.sharedService.getUserDataBS(),c=this.sharedService.getOpacResultsBS();(0,Ys.a)([i,c]).subscribe(l=>{if(!l[0]||(this._setupUserDataOptions(l[0]),this.userData.isGuest&&this.searchTerm.patchValue(""),!l[1]))return;const x=l[1],ke=!this.userData.isStaff&&"true"==x.showBrowseIndexesDisplay.patronGuest?.find(un=>un.selected).value,Mt=this.userData.isStaff&&"true"==x.showBrowseIndexesDisplay.staff.find(un=>un.selected).value;this.showBrowseIndexes=ke||Mt}),this._yourListService.lists$.subscribe(l=>{this.yourListCount=l?.numOfLists??0,this.yourSharedListCount=l?.shared.length??0}),this._searchService.getSearchIndexesBS().subscribe(l=>{l&&(this.indexesArray=l.simpleSearchIndexes,this.selectedIndex=this.indexesArray.find(x=>x.isDefault))}),this.sharedService.openSideNavSettigs$.subscribe(l=>{l&&(this.openSideNavMenu("start","page"),this.sharedService.setOpenSideNavSettings(null))}),this._notifyService.getOpenNotSideNavBS().subscribe(l=>{l&&(this.userData?.isStaff||this.userData?.isPatron)&&this.openSideNavMenu("end","notify")}),this._quickMenuService.quickMenuItems$.subscribe(l=>{l&&(this.quickMenu=l)}),this._opacSettingsService.getWebLinkOptionsBS().subscribe(l=>{l&&(this.webLinksOptions=l)})}ngAfterViewInit(){0!==this.header.nativeElement.offsetHeight&&this.layoutService.setHeaderHeight(this.header.nativeElement.offsetHeight),new ResizeObserver(c=>{this.layoutService.setHeaderHeight(c[0].contentRect.height)}).observe(this.header.nativeElement),ce("input.deletable").wrap('<span class="deleteicon" />').after(ce("<span/>").click(function(){ce(this).prev("input").val("").trigger("change").focus()}))}_initializeSearchSuggestions(){this.simpleSearchOptions?.showTypeAhead&&(this._searchTermSubscription$=this.searchTerm.valueChanges.pipe((0,nu.b)(250),(0,vr.U)(i=>i.trim()),(0,iu.x)(),(0,ms.w)(i=>i?this._searchService.suggestSearchResults(i):(0,is.of)([]))).subscribe(i=>{this.searchSuggestions=i??[],this.searchSuggestions.length>0?this._showSearchSuggestions():this._hideSearchSuggestions()}))}_resetSearchSuggestions(){this._searchTermSubscription$&&this._searchTermSubscription$.unsubscribe(),this._initializeSearchSuggestions()}_showSearchSuggestions(){this.searchInput?.nativeElement.setAttribute("spellcheck","false")}_hideSearchSuggestions(){this.searchSuggestions=[],this.searchInput?.nativeElement.setAttribute("spellcheck","true")}_loadScriptsStylesLazy(){this._scriptsService.loadExternalStyles("https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css")}clearInput(){this.searchInput.nativeElement.value="",this.searchInput.nativeElement.blur(),this.searchInput.nativeElement.focus(),this.searchTerm.setValue("")}goToYourList(){this.authService.isGuest()?this.layoutService.openSideNav({template:"addList",position:"end",data:!0}):this._router.navigateByUrl("/list")}goToLogin(){this.routingService.goToLogin(this.routingService.currentUrl)}aboutMeKC(){this.openSideNavMenu("end","")}exitKC(){this.sharedService.setKidsCat(!1),this._router.navigate(["/home"],{queryParams:{cid:this.userData.customerId,lid:this.userData.libraryId}})}goToPrevKC(){const i=this.storageService.getItem("previousUrl");i&&this._router.navigateByUrl(i)}guestTrack(){this.authService.getIllGuestInstructions().subscribe(i=>{this.tracking.emit(i)},i=>{i instanceof Error&&console.error(i.message),this.sharedService.openSnackBar("Unable to get Ill tracking instructions.")})}mobileSelectIndex(i){this.onChangeSearchIndex(i),this.searchInput.nativeElement.focus()}onChangeSearchIndex(i){this.selectedIndex=this.indexesArray.find(c=>c.value==i.value&&c.name==i.name)}_setupUserDataOptions(i){this.userData=i,this.showGuestTracking=this.userData.illOptions.showGuestTracking;const c=this.userData.opacOptions;this.enableSearch=c.enableSearch,this.simpleSearchOptions=c.simpleSearchOptions,this.showIndexSelection=this.simpleSearchOptions.showIndexSelection,this.showResourceSelection=this.simpleSearchOptions.showResourceSelection,this.showList=this.authService.hasDisplayYourListPermission(),this._resetSearchSuggestions()}_goToDashboard(){this._predefinedTemplatesService.addRemoveCurrentClass(),ce(".pages7 a").addClass("current-route"),this.routingService.goToDashboard()}selectSearchOption(i,c){i.source&&c&&this.doSearch(c.searchTerm,c)}searchEnter(){this.doSearch(this.searchTerm.value)}scrollToOption(i){const c=document.getElementById(i);c&&this.sharedService.scrollIntoView(c)}handleMenuNavigation(i){switch(i.type){case"home":this._goToHomePage();break;case"staff-dashboard":this._goToDashboard();break;case"search-history":this.openSideNavMenu("start","history");break;case"blank-ill-request":this._goToBlankILLRequest();break;case"web-links":this._goToWebLinks();break;case"page":this._goToPage(i.page)}}_goToHomePage(){this._predefinedTemplatesService.underlineActivePage({type:"primary page",index:-1}),this._router.navigate(["/home"],{queryParams:{cid:this.userData.customerId,lid:this.userData.libraryId}})}_goToWebLinks(){this._predefinedTemplatesService.addRemoveCurrentClass(),ce(".pages9 a").addClass("current-route"),this._router.navigateByUrl("/webLinks")}_goToPage(i){this.routingService.goToPage(i)}closeOverlay(){ce("#search-overlay").css("display","none")}goToAdvancedSearch(){this._router.navigate(["/advancedsearch"],{queryParams:{history:!1}})}goToBrowseSearch(){const i=this._router.events.subscribe(c=>{c instanceof Gi.OD&&(this.storageService.isExisted("BrowseSearchData")&&this.storageService.remove("BrowseSearchData"),this.storageService.isExisted("BrowseTerms")&&this.storageService.remove("BrowseTerms"),this.storageService.isExisted("BrowseSearch")&&this.storageService.remove("BrowseSearch"),this.storageService.isExisted("BrowseInitialSearchOffset")&&this.storageService.remove("BrowseInitialSearchOffset"))});this._router.navigate(["/browse"]),i.unsubscribe()}_goToBlankILLRequest(){this._requestService.requestThisItemBlank()}goToMyAccount(){this.authService.loginSuccess()?this._router.navigate(["/account"]):alert("login first")}doSearch(i,c=null){if(!this.resources.length||!this.indexesArray?.length)return;if(this._resetSearchSuggestions(),!this.enableSearch)return void this.openSnackBar("You must login to the system before searching","ok");if(Ii.F.isEmpty(i))return void this.openSnackBar("Please enter a search term","ok");const l=c?c.index:this.selectedIndex.value;this._analyticsService.logEvent("Search",{index1:l,query1:i}),this.searchTerm.setValue(i,{emitEvent:!1}),this._searchService.doSearchSimple(l,i,this.resources,this.userData.opacOptions.simpleSearchOptions.defaultScopingLevel),ce("#staffClose").click()}openResourceDialog(i,c){this.dialog.open(i,{height:"80vh",width:"90vw"}).afterClosed().subscribe(x=>{})}openSnackBar(i,c=null){this.snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}toggleSideNav(){this.layoutService.toggleSideNav({position:"start",template:""})}openSideNavMenu(i,c){"history"==c&&(this._predefinedTemplatesService.addRemoveCurrentClass(),ce(".pages10 a").addClass("current-route")),this.layoutService.openSideNav({position:i,template:c})}focus(){this.myElement.nativeElement.focus()}ngOnDestroy(){this._searchTermSubscription$&&this._searchTermSubscription$.unsubscribe()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Gi.F0),e.Y36(f.aV),e.Y36(e.s_b),e.Y36(We.P),e.Y36(Oe.c),e.Y36(To.j),e.Y36(Dr.fs),e.Y36(Oc.sm),e.Y36(Wo.Z),e.Y36(rt.M),e.Y36(uo),e.Y36(ta.oD),e.Y36(Ii.F),e.Y36(v.K),e.Y36(qo.e8),e.Y36(qi.on),e.Y36(e.SBq),e.Y36(no.V),e.Y36(Ti.pl),e.Y36(Te.y))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-header"]],viewQuery:function(c,l){if(1&c&&(e.Gf(sd,5),e.Gf(ou,5)),2&c){let x;e.iGM(x=e.CRH())&&(l.header=x.first),e.iGM(x=e.CRH())&&(l.searchInput=x.first)}},hostBindings:function(c,l){1&c&&e.NdJ("resize",function(ke){return l.onWindowResize(ke)},!1,e.Jf7)},inputs:{menuItems:"menuItems"},outputs:{tracking:"tracking"},decls:5,vars:8,consts:[[1,"header-area","mat-elevation-z6",3,"ngClass"],["header",""],["id","header","class","no-print",4,"ngIf"],["id","header",1,"no-print"],[4,"ngIf","ngIfElse"],["kidsCatHeader",""],["id","header-mobile","matAutocompleteOrigin","",1,"d-flex","d-lg-none"],["origin","matAutocompleteOrigin"],["fxLayout","row","fxFlex","100","fxLayoutGap","10px","fxLayoutAlign","start center"],["mat-icon-button","","aria-label","Toggle Navigation","type","button",3,"click"],[1,"d-none","d-md-flex",3,"settings"],["fxLayout","row","fxFlex","100","fxLayoutGap","10px"],["fxLayout","row","fxLayoutAlign","start stretch","cdkOverlayOrigin","",1,"search-input"],["overlayOrigin","cdkOverlayOrigin"],["fxFlex","","fxLayoutAlign","stretch center"],["type","text","autocomplete","off","placeholder","Search...",2,"width","100%","margin-left","10px",3,"formControl","matAutocomplete","matAutocompleteConnectedTo","keydown.enter"],["mat-icon-button","","aria-label","Clear Search","matTooltip","Clear Search","type","button",3,"click",4,"ngIf"],[1,"header-mobile-autocomplete-panel"],["searchAutocomplete","matAutocomplete"],["fxLayout","row","class","sticky-top bg-white",4,"ngIf"],[4,"ngIf"],["fxLayout","row","fxFlex","nogrow"],["mat-icon-button","","matSuffix","","aria-label","Search","type","button",3,"disabled","click"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayPositions","backdropClick"],["user",""],["fxHide.gt-md","","fxHide.lt-sm","","fxLayoutAlign","start start"],["fxFlex","nogrow"],["mat-icon-button","","tabindex","0",3,"matTooltip","agInteract",4,"ngIf"],["fxFlex","auto",2,"overflow-x","hidden"],[3,"verticalScroll"],[4,"ngFor","ngForOf"],["id","header-desktop",4,"ngIf"],["mat-icon-button","","aria-label","Clear Search","matTooltip","Clear Search","type","button",3,"click"],["fxLayout","row",1,"sticky-top","bg-white"],["mat-button","","type","button",3,"click",4,"ngFor","ngForOf"],["mat-button","","type","button",3,"click"],[3,"label","id"],["style","white-space: pre",3,"innerHTML","value","onSelectionChange",4,"ngFor","ngForOf"],[2,"white-space","pre",3,"innerHTML","value","onSelectionChange"],[3,"vertical"],["mat-icon-button","","matSuffix","","aria-label","Search Options","type","button",3,"click"],["fxLayout","column"],["fxFlex","100"],[3,"value","click",4,"ngFor","ngForOf"],[3,"hideToggle"],["align","end"],["mat-button","","type","button"],[3,"value","click"],["fxHide.lt-md","","mat-button","","type","button",3,"click"],["matSuffix","",4,"ngIf","ngIfElse"],["profileImage",""],["fxHide","","fxShow.lt-md","","mat-icon-button","","type","button",3,"matMenuTriggerFor"],["accountMenu","matMenu"],["mat-menu-item","","type","button",3,"click"],["matSuffix",""],["alt","Profile Image",3,"src"],["mat-icon-button","","tabindex","0",3,"matTooltip","agInteract"],["aria-hidden","true",3,"class",4,"ngIf"],["aria-hidden","true"],["mat-button","","tabindex","0",3,"matTooltip","agInteract",4,"ngIf"],["mat-button","","tabindex","0",3,"matTooltip","agInteract"],["mat-icon-button","","matTooltip","Kids Category","type","button",3,"click"],[1,"fa","fa-lg","ag-kids"],["title","Kids Catalog","src","./assets/icons/KidsCatalog/kids-icon-fill.png","alt","Kids Catalog",1,"ag-kids-filling"],["mat-icon-button","","matTooltip","Select Language","type","button",4,"ngIf"],["mat-icon-button","","matTooltip","Select Language","type","button"],["id","header-desktop"],[1,"row","d-none","d-lg-flex"],[1,"col-lg-3","align-self-center"],[3,"settings"],[1,"col-lg-6"],["fxLayout","row","id","quick-search"],["class","qs-translate-container",4,"ngIf"],[1,"qs-index-container"],[1,"qs-index",3,"hidden"],["tabindex","0","title","Select Search Index","aria-label","Select Index",1,"headeritem-no-outline",3,"title","ngModel","disabled","focus","blur","ngModelChange"],[3,"selected","ngValue",4,"ngFor","ngForOf"],["fxFlex","nogrow",4,"ngIf"],["fxLayout","row","fxFlex","grow",1,"qs-input-container"],["fxFlex","grow"],[1,"qs-search-input"],["id","searchInput","matInput","","autocomplete","off","spellcheck","true","aria-hidden","false","tabindex","0","aria-label","Search Term","role","combobox","aria-expanded","false","aria-controls","header-autocomplete-panel",1,"deleteicon","bg-white","search-field",3,"formControl","matAutocomplete","focus","blur","keydown.enter"],["searchInput",""],["id","header-autocomplete-panel",1,"header-autocomplete-panel","dense"],["auto","matAutocomplete"],["fxLayout","row","fxLayoutAlign","start strech",1,"qs-actions-container"],["fxFlex","","fxLayoutAlign","center center","class","clear-button","tabindex","0","role","button","aria-label","Clear Search","matTooltip","Clear Search",3,"agInteract",4,"ngIf"],[1,"action-divider"],["fxFlex","","fxLayoutAlign","center center","matTooltip","Search","role","button",1,"search-button",3,"tabindex","ngClass","agInteract"],["aria-hidden","true",1,"fa","fa-search"],["fxLayoutAlign","center stretch",1,"qs-advanced-container"],["tabindex","0","aria-label","Advanced Search",1,"qs-advanced","pointer",3,"blur","focus","agInteract"],[1,"col-lg-3","notify-icons"],[1,"top-deck"],["class","icon-badge kids-catalog","aria-label","Kids Catalog","tabindex","0","matTooltip","Kids Catalog",3,"agInteract",4,"ngIf"],["class","icon-badge","tabindex","0","matTooltip","Browse Search","aria-label","Browse Search",3,"agInteract",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end none"],["class","icon-badge","tabindex","0","aria-label","Guest ILL Tracking","matTooltip","Guest ILL Tracking",3,"agInteract",4,"ngIf"],["class","icon-badge","tabindex","0","aria-label","Your List","matTooltip","Your List","title","Your List",3,"agInteract",4,"ngIf"],["id","style-4",1,"header-links","x-scroll-bar","scrollbar",2,"padding-top","1px"],["class","header-link active-header-link pointer","tabindex","0",3,"matTooltip","agInteract",4,"ngFor","ngForOf"],[1,"header-options"],[1,"stacked-text"],["class","stacked-top",4,"ngIf"],["class","stacked-bottom","tabindex","0","style","font-size: 1em !important",3,"agInteract",4,"ngIf"],["class","stacked-top truncate-ellipsis d-block",3,"title",4,"ngIf"],["tabindex","0","class","non-stacked-text",3,"agInteract",4,"ngIf"],[1,"qs-translate-container"],[1,"qs-translate"],["id","google_translate_element","title","Select Language",1,"google-lang-dropdown"],[1,"translator-globe"],["title","Select Language","aria-hidden","true",1,"fa","fa-language","translator","lang-icon"],[3,"selected","ngValue"],[1,"qs-resource-container"],["tabindex","0","aria-label","Select Resources","matTooltip","Select Resources",1,"nav-search-resources","qs-resource",3,"focus","blur","agInteract"],["aria-hidden","true",1,"fa","fa-database"],["class","nav-fill__mat-option",3,"innerHTML","value","onSelectionChange",4,"ngFor","ngForOf"],[1,"nav-fill__mat-option",3,"innerHTML","value","onSelectionChange"],["fxFlex","","fxLayoutAlign","center center","tabindex","0","role","button","aria-label","Clear Search","matTooltip","Clear Search",1,"clear-button",3,"agInteract"],["aria-hidden","true",1,"fa","fa-times"],["aria-label","Kids Catalog","tabindex","0","matTooltip","Kids Catalog",1,"icon-badge","kids-catalog",3,"agInteract"],["aria-hidden","true",1,"fa","ag-kids","fa-lg"],["src","./assets/icons/KidsCatalog/kids-icon-fill.png","alt","kids catalog",1,"ag-kids-filling"],["tabindex","0","matTooltip","Browse Search","aria-label","Browse Search",1,"icon-badge",3,"agInteract"],["aria-hidden","true",1,"fa","ag-browse-search","fa-lg"],["tabindex","0","aria-label","Guest ILL Tracking","matTooltip","Guest ILL Tracking",1,"icon-badge",3,"agInteract"],["aria-hidden","true",1,"fa","fa-xlg","fa-list-ol","fa-lg"],["tabindex","0","aria-label","Your List","matTooltip","Your List","title","Your List",1,"icon-badge",3,"agInteract"],["aria-hidden","true",1,"fa","fa-list-alt","fa-lg"],["class","badge-share-count",4,"ngIf"],["class","badge badge-pill badge-default",4,"ngIf"],[1,"badge-share-count"],[1,"badge","badge-pill","badge-default"],["class","icon-badge","aria-label","Quick Links","matTooltip","Quick Links","tabindex","0",3,"agInteract",4,"ngIf"],["class","icon-badge","aria-label","Notifications","matTooltip","Notifications","tabindex","0",3,"agInteract",4,"ngIf"],["aria-label","Quick Links","matTooltip","Quick Links","tabindex","0",1,"icon-badge",3,"agInteract"],["aria-hidden","true",1,"fa","fa-heart","fa-lg","fa-lg"],["aria-label","Notifications","matTooltip","Notifications","tabindex","0",1,"icon-badge",3,"agInteract"],["aria-hidden","true",1,"fa","fa-bell-o","fa-lg","fa-lg"],[1,"badge","badge-pill","badge-default",3,"ngClass"],["tabindex","0",1,"header-link","active-header-link","pointer",3,"matTooltip","agInteract"],[1,"stacked-top"],["tabindex","0",1,"stacked-bottom",2,"font-size","1em !important",3,"agInteract"],[1,"stacked-top","truncate-ellipsis","d-block",3,"title"],["aria-hidden","true",1,"fa","fa-angle-down"],["tabindex","0",1,"non-stacked-text",3,"agInteract"],[1,"single-row"],[1,"d-flex","d-md-none"],[1,"logo-brand","padding-15-0","text-center",2,"width","100%"],["type","button",1,"btn","btn-link","d-inline","transparent","pull-right","action-buttons-kids-mobile",3,"click"],["tabindex","0",1,"kids-cat-logo-mobile","pull-right",2,"cursor","pointer",3,"agInteract"],["class","btn btn-link d-inline transparent action-buttons-kids-mobile","type","button",3,"click",4,"ngIf"],[1,"d-none","d-md-block","d-lg-none"],[1,"col-sm-12"],["type","button",1,"btn","btn-link","d-inline","transparent","pull-right","margin-top-2-percent",3,"click"],["class","btn btn-link d-inline transparent pull-right margin-top-2-percent","type","button",3,"click",4,"ngIf"],["tabindex","0",1,"kids-cat-logo-tablet","d-inline","transparent","pull-right",2,"margin-right","10%","cursor","pointer",3,"agInteract"],[1,"container-fluid",2,"margin-top","20px"],[1,"col-12","col-md-9",2,"text-align","center"],["src","./assets/images/kids-catalog/logo.gif","alt","Logo","title","logo","tabindex","0",2,"margin-top","-20px","max-height","100px","margin-left","30%",3,"agInteract"],["src","./assets/images/kids-catalog/kids-title.gif","alt","Kids Catalog","title","Kids Catalog","tabindex","0",2,"cursor","pointer",3,"agInteract"],[1,"col-12","col-md-3","text-end"],["alt","Login","src","./assets/images/kids-catalog/login.png","style","margin-right: 5px","title","Login","style","cursor: pointer","tabindex","0",3,"agInteract",4,"ngIf"],["alt","Log Out","src","./assets/images/kids-catalog/Logout.png","style","margin-right: 5px","title","Logout","style","cursor: pointer","tabindex","0",3,"agInteract",4,"ngIf"],["alt","About Me","src","./assets/images/kids-catalog/aboutme.gif","style","margin-right: 5px","title","About Me","style","cursor: pointer","tabindex","0",3,"agInteract",4,"ngIf"],["alt","Exit","src","./assets/images/kids-catalog/exit.gif","title","Exit","tabindex","0",2,"cursor","pointer",3,"agInteract"],["type","button",1,"btn","btn-link","d-inline","transparent","action-buttons-kids-mobile",3,"click"],["alt","Login","src","./assets/images/kids-catalog/login.png","title","Login","tabindex","0",2,"cursor","pointer",3,"agInteract"],["alt","Log Out","src","./assets/images/kids-catalog/Logout.png","title","Logout","tabindex","0",2,"cursor","pointer",3,"agInteract"],["alt","About Me","src","./assets/images/kids-catalog/aboutme.gif","title","About Me","tabindex","0",2,"cursor","pointer",3,"agInteract"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0,1),e.ALo(2,"async"),e.YNc(3,p_,5,4,"div",2),e.ALo(4,"async"),e.qZA()),2&c&&(e.Q6J("ngClass",e.VKq(6,xv,e.lcZ(2,2,l.sharedService.kidsCat$))),e.xp6(3),e.Q6J("ngIf",e.lcZ(4,4,l.layoutService.layoutSettings$)))},dependencies:[Kn.o,ei.mk,ei.sg,ei.O5,At._Y,At.YN,At.Kr,At.Fj,At.EJ,At.JJ,At.JL,At.On,At.F,At.oH,Ar,rr.T,ro.VN,ro.QJ,ro.$C,ci.CK,ci.NA,Zn.eB,Zn.Nr,bi.xw,bi.SQ,bi.Wh,bi.yH,zr.b8,zr.oO,Wr.S$,Wr.Qi,Wr.Fx,cs.d,ql.ib,ql.yz,ql.yK,ql.u4,po.v_,po.$V,po.nX,Jo.Hw,xo.k0,Kl.W0,Kl.tN,Kl.D8,yr.x8,gs.Ye,gs.rD,pa.Kd,f.pI,f.xu,ei.Ov],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .skiptranslate{display:none}[_nghost-%COMP%]     .skiptranslate.goog-te-gadget{display:block;color:transparent}[_nghost-%COMP%]     .skiptranslate.goog-te-gadget a{color:transparent;visibility:hidden}[_nghost-%COMP%]     .skiptranslate.goog-te-gadget .goog-te-combo{cursor:pointer;color:#000!important;background:transparent!important;border:none!important;height:27px;outline:none}[_nghost-%COMP%]     .skiptranslate.goog-te-gadget img{display:hidden}[_nghost-%COMP%]     .lang-icon{font-size:1.5em!important;background:#000;color:#fff!important}[_nghost-%COMP%]     .goog-tooltip{display:none!important}[_nghost-%COMP%]     .goog-tooltip:hover{display:none!important}[_nghost-%COMP%]     .goog-text-highlight{background-color:transparent!important;border:none!important;box-shadow:none!important}.mat-toolbar[_ngcontent-%COMP%]{background:var(--header-background)!important;color:var(--header-color)!important}.mat-focused[_ngcontent-%COMP%]   .placeholder[_ngcontent-%COMP%]{color:var(--header-color)!important}.search-input[_ngcontent-%COMP%]{width:100%;margin:0;border:1px solid var(--header-color);border-radius:6px;background-color:#fff;color:var(--body-color)}.search-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:1rem;border:none}.mat-form-field[_ngcontent-%COMP%]{font-size:.9em!important;line-height:1!important}.nav-search-index[_ngcontent-%COMP%]   .mat-option[_ngcontent-%COMP%]:focus:not(.mat-option-disabled), .nav-search-index[_ngcontent-%COMP%]   .mat-option[_ngcontent-%COMP%]:hover:not(.mat-option-disabled){background:#0006}a[_ngcontent-%COMP%]{color:inherit}.logo-brand[_ngcontent-%COMP%]{height:75px;width:calc(100% - 100px);vertical-align:middle}@media screen and (min-width: 992px){.logo-brand[_ngcontent-%COMP%]{height:55px;width:100%}}.active[_ngcontent-%COMP%]{background-color:var(--primary);color:#fff}.header-area[_ngcontent-%COMP%]{background:var(--header-background);color:var(--header-color)!important;position:fixed;top:0;width:100%;z-index:1000;will-change:transform;transition:transform .1s linear}.notify-icons[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;margin:5px 10px 0;padding:5px;font-size:1.5em;color:#3b4751}.notify-icons[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{padding-left:3px;padding-right:3px}.dropdown-menu.show[_ngcontent-%COMP%]{left:0!important;width:100%;border:1px solid transparent;border-radius:0;box-shadow:3px 3px 5px var(--box-shadows)}.dropdown-toggle[_ngcontent-%COMP%]:after{display:inherit;width:0;height:0;margin-left:0;vertical-align:0;content:"";border-top:0;border-right:0;border-bottom:0;border-left:0}.header-links[_ngcontent-%COMP%]{font-size:.8em;font-weight:400;width:calc(100% - 260px);padding-left:25px}.header-link[_ngcontent-%COMP%]{display:inline-block;padding:10px 7px;color:var(--header-color)}.x-scroll-bar[_ngcontent-%COMP%]{overflow-x:auto;-ms-overflow-y:hidden;overflow-y:hidden;white-space:nowrap;height:43px}.x-scroll-bar[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:4px;background-color:#aaa}.x-scroll-bar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#000}.blackdrop-overlay.show[_ngcontent-%COMP%]{position:absolute;left:0;top:0;background:#0006;width:100%;height:100%;z-index:999}.header-options[_ngcontent-%COMP%]{text-align:right;width:240px}.stacked-text[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;text-align:left;height:36px;width:150px;top:0;border-left:2px solid var(--offset-three);padding:0 10px 0 5px;font-size:1em;color:var(--header-color);cursor:pointer}.stacked-top[_ngcontent-%COMP%]{display:block;font-size:.7em;white-space:nowrap;clear:both;line-height:1.25em}.stacked-bottom[_ngcontent-%COMP%]{display:block;font-size:1.15em;color:var(--header-color);line-height:1.15em}.stacked-bottom[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:var(--header-color)}.non-stacked-text[_ngcontent-%COMP%]{display:inline-block;vertical-align:bottom;font-size:.9em;border-left:2px solid var(--offset-three);padding:8px 10px 0 5px;cursor:pointer;height:36px}.single-row[_ngcontent-%COMP%]{color:var(--header-color)}.sticky[_ngcontent-%COMP%]{left:0!important;width:100%}.sticky[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{box-shadow:1px 3px 5px var(--box-shadows)}#quick-search[_ngcontent-%COMP%]{border-collapse:collapse;border-spacing:0;margin-top:7px;height:35px;width:100%}#quick-search[_ngcontent-%COMP%]   .qs-translate-container[_ngcontent-%COMP%]   .qs-translate[_ngcontent-%COMP%]{position:relative;height:35px;width:37px;margin:0 4px;overflow:hidden;border:2px solid var(--header-background)}#quick-search[_ngcontent-%COMP%]   .qs-translate-container[_ngcontent-%COMP%]   .qs-translate[_ngcontent-%COMP%]:focus-within{border:2px solid #000}#quick-search[_ngcontent-%COMP%]   .qs-translate-container[_ngcontent-%COMP%]   .qs-translate[_ngcontent-%COMP%]   .google-lang-dropdown[_ngcontent-%COMP%]{position:absolute;width:35px;height:35px;z-index:0;background-color:var(--header-background)}#quick-search[_ngcontent-%COMP%]   .qs-translate-container[_ngcontent-%COMP%]   .qs-translate[_ngcontent-%COMP%]   .translator-globe[_ngcontent-%COMP%]{position:absolute;height:35px;width:35px;z-index:1;background-color:var(--header-background);pointer-events:none;text-align:center}#quick-search[_ngcontent-%COMP%]   .qs-translate-container[_ngcontent-%COMP%]   .qs-translate[_ngcontent-%COMP%]   .translator-globe[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{cursor:pointer}#quick-search[_ngcontent-%COMP%]   .qs-translate-container[_ngcontent-%COMP%]   .qs-translate[_ngcontent-%COMP%]   .translator-globe[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-top:5px}#quick-search[_ngcontent-%COMP%]   .qs-index-container[_ngcontent-%COMP%]{width:175px}#quick-search[_ngcontent-%COMP%]   .qs-index-container[_ngcontent-%COMP%]   .qs-index[_ngcontent-%COMP%]{cursor:pointer;height:35px;padding-left:10px;border-radius:10px 0 0 10px;border:solid 2px var(--offset-two);background:var(--offset-two)}#quick-search[_ngcontent-%COMP%]   .qs-index-container[_ngcontent-%COMP%]   .qs-index.focused[_ngcontent-%COMP%]{border:2px solid #000}#quick-search[_ngcontent-%COMP%]   .qs-index-container[_ngcontent-%COMP%]   .qs-index[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{background:var(--offset-two);border:none;outline:none;padding:7px;width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--header-color);font-size:.8em;height:31px}#quick-search[_ngcontent-%COMP%]   .qs-index-container[_ngcontent-%COMP%]   .qs-index[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:focus{outline:none!important}#quick-search[_ngcontent-%COMP%]   .qs-index-container[_ngcontent-%COMP%]   .qs-index[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{padding:10px 15px;font-size:1.25em;min-width:180px}#quick-search[_ngcontent-%COMP%]   .qs-resource-container[_ngcontent-%COMP%]{text-align:center;background:var(--offset-two)}#quick-search[_ngcontent-%COMP%]   .qs-resource-container[_ngcontent-%COMP%]   .qs-resource[_ngcontent-%COMP%]{height:35px;width:35px;color:var(--header-color);cursor:pointer;border:solid 2px var(--offset-two)}#quick-search[_ngcontent-%COMP%]   .qs-resource-container[_ngcontent-%COMP%]   .qs-resource[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{padding:8px}#quick-search[_ngcontent-%COMP%]   .qs-resource-container[_ngcontent-%COMP%]   .qs-resource[_ngcontent-%COMP%]:focus{outline:none!important}#quick-search[_ngcontent-%COMP%]   .qs-resource-container[_ngcontent-%COMP%]   .qs-resource.focused[_ngcontent-%COMP%]{border:2px solid #000}#quick-search[_ngcontent-%COMP%]   .qs-input-container[_ngcontent-%COMP%]{border:solid 2px #fff;background:#fff;min-width:150px;max-width:100%;width:100%}#quick-search[_ngcontent-%COMP%]   .qs-input-container.focused[_ngcontent-%COMP%]{border:2px solid #000}#quick-search[_ngcontent-%COMP%]   .qs-input-container[_ngcontent-%COMP%]   .qs-search-input[_ngcontent-%COMP%]{color:#000}#quick-search[_ngcontent-%COMP%]   .qs-input-container[_ngcontent-%COMP%]   .qs-search-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none!important;height:31px;outline:none!important;margin-top:0!important;padding:0 6px;width:100%}#quick-search[_ngcontent-%COMP%]   .qs-input-container[_ngcontent-%COMP%]   .qs-actions-container[_ngcontent-%COMP%]{height:31px}#quick-search[_ngcontent-%COMP%]   .qs-input-container[_ngcontent-%COMP%]   .qs-actions-container[_ngcontent-%COMP%]   .clear-button[_ngcontent-%COMP%], #quick-search[_ngcontent-%COMP%]   .qs-input-container[_ngcontent-%COMP%]   .qs-actions-container[_ngcontent-%COMP%]   .search-button[_ngcontent-%COMP%]{width:27px;color:var(--offset-two);cursor:pointer;font-size:20px;outline:none;padding:0 8px}#quick-search[_ngcontent-%COMP%]   .qs-input-container[_ngcontent-%COMP%]   .qs-actions-container[_ngcontent-%COMP%]   .clear-button[_ngcontent-%COMP%]:focus, #quick-search[_ngcontent-%COMP%]   .qs-input-container[_ngcontent-%COMP%]   .qs-actions-container[_ngcontent-%COMP%]   .search-button[_ngcontent-%COMP%]:focus{outline:2px #000 solid}#quick-search[_ngcontent-%COMP%]   .qs-input-container[_ngcontent-%COMP%]   .qs-actions-container[_ngcontent-%COMP%]   .clear-button[_ngcontent-%COMP%]{border-right:2px solid var(--offset-two)}#quick-search[_ngcontent-%COMP%]   .qs-advanced-container[_ngcontent-%COMP%]{width:80px}#quick-search[_ngcontent-%COMP%]   .qs-advanced-container[_ngcontent-%COMP%]   .qs-advanced[_ngcontent-%COMP%]{font-size:13px;background:var(--offset-two);border:solid 2px var(--offset-two);border-radius:0 10px 10px 0}#quick-search[_ngcontent-%COMP%]   .qs-advanced-container[_ngcontent-%COMP%]   .qs-advanced[_ngcontent-%COMP%]:focus{outline:none!important}#quick-search[_ngcontent-%COMP%]   .qs-advanced-container[_ngcontent-%COMP%]   .qs-advanced.focused[_ngcontent-%COMP%]{border:2px solid #000}#quick-search[_ngcontent-%COMP%]   .qs-advanced-container[_ngcontent-%COMP%]   .qs-advanced[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:5px 8px}div#mat-autocomplete-0.mat-autocomplete-panel.mat-autocomplete-visible[_ngcontent-%COMP%]{width:31%!important}@media screen and (min-width: 992px){.header-area.staff[_ngcontent-%COMP%]{height:50px}.notify-icons[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px}.notify-icons[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 25px 0 35px;font-size:1.2em}}@media screen and (min-width: 1045px){.notify-icons[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 25px 0 35px;font-size:1.5em}}.dropdown[_ngcontent-%COMP%]{position:relative;display:inline-block}ul[_ngcontent-%COMP%]{padding-left:25px}li[_ngcontent-%COMP%]{list-style-type:none}  .mat-focused .mat-form-field-placeholder{color:var(--header-color)!important}.background-white[_ngcontent-%COMP%]{background-color:#fff}.kids-cat-logo-tablet[_ngcontent-%COMP%]{color:#1f69b3;text-align:center;font-size:26px;text-transform:uppercase;line-height:2.5;margin-left:125px!important}.kids-cat-logo-mobile[_ngcontent-%COMP%]{color:#1f69b3;text-align:center;font-size:13px;text-transform:uppercase;line-height:2.5;margin-right:17px;margin-top:1%}.transparent[_ngcontent-%COMP%]{background:transparent}.margin-top-2-percent[_ngcontent-%COMP%]{margin-top:2%!important}.btn-link[_ngcontent-%COMP%]:hover{color:#1f69b3!important}.action-buttons-kids-mobile[_ngcontent-%COMP%]{font-size:12px;margin-top:1%;padding-bottom:0}.mat-progress-bar-buffer[_ngcontent-%COMP%]{background-color:var(--offset-two)!important}#style-4[_ngcontent-%COMP%]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)!important;background-color:#f5f5f5}#style-4[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px!important;background-color:#f5f5f5!important}#style-4[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#b8b3b3!important;outline:1px solid slategrey!important}.greyed-out[_ngcontent-%COMP%]{color:#d3d3d3!important;cursor:not-allowed!important}.greyed-out[_ngcontent-%COMP%]:hover, .greyed-out[_ngcontent-%COMP%]:focus{text-decoration:none!important}.current-route[_ngcontent-%COMP%]{border-bottom:5px solid var(--header-color)}#header-desktop[_ngcontent-%COMP%]   mat-option.mat-option.mat-active[_ngcontent-%COMP%]{background:#0006!important}.nav-fill__mat-option[_ngcontent-%COMP%]{white-space:pre!important;display:list-item}.top-deck__button[_ngcontent-%COMP%]{border-color:var(--offset-two);color:var(--header-color)}.top-deck__button[_ngcontent-%COMP%]:focus{outline:var(--offset-two)}.top-deck[_ngcontent-%COMP%]{margin-left:-15px}.ag-browse-search[_ngcontent-%COMP%]{padding-bottom:5px;color:var(--header-color)}.ag-kids-filling[_ngcontent-%COMP%]{position:absolute;top:5px;left:12px;height:1em;z-index:-9999}.kids-catalog[_ngcontent-%COMP%]{padding-left:7px;padding-bottom:2px}.badge-share-count[_ngcontent-%COMP%]{position:absolute;top:-1px;right:30px;width:16px;height:16px;padding:2px 4px 2px 2px;border-radius:50%;background:red;color:#fff;font-size:.5em;font-weight:700;line-height:1}']})}return d})();var wv=s(1687);function Tv(d,g){1&d&&(e.TgZ(0,"h1",3),e._uU(1,"Session Timeout"),e.qZA())}function Rp(d,g){if(1&d&&(e.TgZ(0,"div",4)(1,"div",5)(2,"div",6)(3,"div",7)(4,"h4"),e._uU(5," Session will expire in "),e.TgZ(6,"strong",8),e._uU(7),e.qZA()(),e.TgZ(8,"p"),e._uU(9,'Click "Resume Session" to "Continue" or "Logout" to end the session'),e.qZA()()()()()),2&d){const i=e.oxw();e.xp6(7),e.hij("",i.displayTimer," Seconds")}}function Wl(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",9)(1,"button",10),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.resume())}),e._uU(2," Resume session "),e.qZA(),e.TgZ(3,"button",11),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.logout())}),e._uU(4," Logout "),e.qZA()()}}let ph=(()=>{class d{constructor(i,c){this._dialogRef=i,this.data=c,this._time=120,this._unsubscribe=new Fa.x}ngOnInit(){(0,wv.F)(1e3).pipe((0,ji.R)(this._unsubscribe)).subscribe(i=>{this._counter=i,this.displayTimer=this._time-this._counter,this.displayTimer<0&&(this.displayTimer=0,this._unsubscribe.next(),this._dialogRef.close("timeout"))})}ngOnDestroy(){this._unsubscribe.next()}resume(){this._dialogRef.close("resume"),this._unsubscribe.next()}logout(){this._dialogRef.close("logout"),this._unsubscribe.next()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.hV),e.Y36(qi.eJ))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-session-expiry-dialog"]],decls:3,vars:3,consts:[["mat-dialog-title","",4,"ngIf"],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","",4,"ngIf"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"container-fluid"],[1,"row"],[1,"col-12"],[2,"color","red"],["mat-dialog-actions",""],["role","button","type","button","aria-label","Resume","cdkFocusInitial","",1,"btn","btn-primary",2,"margin-right","2%",3,"click"],["role","button","type","button","aria-label","Logout",1,"btn","btn-secondary",3,"click"]],template:function(c,l){1&c&&e.YNc(0,Tv,2,0,"h1",0)(1,Rp,10,1,"div",1)(2,Wl,5,0,"div",2),2&c&&(e.Q6J("ngIf",l.displayTimer),e.xp6(),e.Q6J("ngIf",l.displayTimer),e.xp6(),e.Q6J("ngIf",l.displayTimer))},dependencies:[ei.O5,qi.YS,qi.Rb,qi.ev]})}return d})();var Lp=s(3439),mh=s(3999);const m_=["header"],Sx=["pageContainer"],Ex=["staffPageContainer"],Ox=["footer"],Bm=["color"],Um=["pages"],Dx=["sideNav"];function Ax(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"library-card",22),e.NdJ("closed",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closeLibraryCard())}),e.qZA()}if(2&d){const i=e.oxw();e.Q6J("id",i.libraryCardId)("library",i.libraryCardLibraryName)}}function f_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",23)(1,"h4",24),e._uU(2,"Hello User"),e.qZA(),e.TgZ(3,"button",25),e.NdJ("click",function(){const x=e.CHM(i).dismiss;return e.KtG(x("Cross click"))}),e.TgZ(4,"span",26),e._uU(5,"\xd7"),e.qZA()()(),e.TgZ(6,"div",27),e._UZ(7,"p")(8,"p"),e.qZA(),e.TgZ(9,"div",28)(10,"button",29),e.NdJ("click",function(){const x=e.CHM(i).close;return e.KtG(x("Close click"))}),e._uU(11," Continue with my current session "),e.qZA(),e.TgZ(12,"button",30),e.NdJ("click",function(){const x=e.CHM(i).close;return e.KtG(x("Close click"))}),e._uU(13," Logout "),e.qZA()()}}function Mv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"ag-header",31,32),e.NdJ("tracking",function(l){e.CHM(i);const x=e.oxw(),ke=e.MAs(13);return ke.close(),x.trackingSummary(l),e.KtG(ke.open())}),e.qZA()}if(2&d){const i=e.oxw();e.Q6J("menuItems",i.menuItems)}}function kv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"div",51)(2,"div",52)(3,"h4",53),e._uU(4,"Resources"),e.qZA()(),e.TgZ(5,"div",54)(6,"button",55),e.NdJ("click",function(){e.CHM(i),e.oxw(2);const l=e.MAs(13);return e.KtG(l.close())}),e.TgZ(7,"mat-icon"),e._uU(8,"close"),e.qZA()()()(),e._UZ(9,"mat-divider"),e.TgZ(10,"div",56),e._UZ(11,"app-search-resources"),e.qZA()()}}function Sv(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"languages",60),e.NdJ("lang",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.setTranslationLanguage(l))}),e.qZA()}}const Ev=(d,g)=>({"maxWidth-800":d,"maxWidth-1150":g});function __(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",57)(1,"div",51)(2,"div",52)(3,"h4",53),e._uU(4,"Languages"),e.qZA()(),e.TgZ(5,"div",54)(6,"button",58),e.NdJ("click",function(){e.CHM(i),e.oxw(2);const l=e.MAs(13);return e.KtG(l.close())}),e.TgZ(7,"mat-icon"),e._uU(8,"close"),e.qZA()()()(),e._UZ(9,"mat-divider"),e.YNc(10,Sv,1,0,"languages",59),e.qZA()}if(2&d){const i=e.oxw(2);e.Q6J("ngClass",e.WLB(2,Ev,i.numberOfTargets>12,i.numberOfTargets>24)),e.xp6(10),e.Q6J("ngSwitchCase","languages")}}function Np(d,g){if(1&d&&e._UZ(0,"add-list",61),2&d){const i=e.oxw().ngIf;e.Q6J("item",i.data)}}function g_(d,g){1&d&&e._UZ(0,"quick-menu")}function Zm(d,g){if(1&d&&e._UZ(0,"notify",62),2&d){const i=e.oxw(2);e.Q6J("trigger",i.trigger)("notifications",i.notifications)}}function Ov(d,g){if(1&d&&e._UZ(0,"guest-ill-tracking",63),2&d){const i=e.oxw().ngIf;e.Q6J("tracking",i.data)}}function ud(d,g){if(1&d&&e._UZ(0,"search-history",64),2&d){const i=e.oxw(2);e.Q6J("searchHistrory",i.searchHistory)}}function b_(d,g){if(1&d&&e._UZ(0,"send-email",65),2&d){const i=e.oxw().ngIf;e.Q6J("email",i.data)}}function Dv(d,g){if(1&d&&e._UZ(0,"send-sms",66),2&d){const i=e.oxw().ngIf;e.Q6J("sms",i.data)}}function Hm(d,g){if(1&d&&e._UZ(0,"copy-link",67),2&d){const i=e.oxw().ngIf;e.Q6J("links",i.data)}}function Gm(d,g){if(1&d&&e._UZ(0,"ag-edit-sidenav",68),2&d){const i=e.oxw(2);e.Q6J("trigger",i.trigger)}}function Av(d,g){1&d&&e._UZ(0,"ag-patron-search",69),2&d&&e.Q6J("isInSideNav",!0)}function Pv(d,g){if(1&d&&e._UZ(0,"staff-full-record",70),2&d){const i=e.oxw().ngIf;e.Q6J("staff",i.data)}}function Iv(d,g){if(1&d&&e._UZ(0,"staff-menu",71),2&d){const i=e.oxw().ngIf;e.Q6J("menu",i.data)}}function Rv(d,g){1&d&&e._UZ(0,"edit-page")}function v_(d,g){if(1&d&&e._UZ(0,"edit-row",72),2&d){const i=e.oxw().ngIf;e.Q6J("row",i.data)}}function Px(d,g){if(1&d&&e._UZ(0,"edit-component",73),2&d){const i=e.oxw().ngIf;e.Q6J("component",i.data)}}function Ix(d,g){if(1&d&&e._UZ(0,"forgot-password",74),2&d){const i=e.oxw().ngIf,c=e.oxw();e.Q6J("details",i.data)("trigger",c.trigger)}}function fh(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"ag-profile-nav",75),e.NdJ("resetA11y",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.resetA11y())})("toggleSideNav",function(l){e.CHM(i);const x=e.oxw(2),ke=e.MAs(13);return ke.close(),x.setPosition(l),e.KtG(ke.open())})("openLibraryCard",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.openLibraryCard(l))}),e.qZA()}if(2&d){const i=e.oxw(2);e.Q6J("pages",i.activePages)("a11y",i.a11y)}}function Jm(d,g){1&d&&(e.ynx(0,33),e.YNc(1,kv,12,0,"div",34)(2,__,11,5,"div",35)(3,Np,1,1,"add-list",36)(4,g_,1,0,"quick-menu",34)(5,Zm,1,2,"notify",37)(6,Ov,1,1,"guest-ill-tracking",38)(7,ud,1,1,"search-history",39)(8,b_,1,1,"send-email",40)(9,Dv,1,1,"send-sms",41)(10,Hm,1,1,"copy-link",42)(11,Gm,1,1,"ag-edit-sidenav",43)(12,Av,1,1,"ag-patron-search",44)(13,Pv,1,1,"staff-full-record",45)(14,Iv,1,1,"staff-menu",46)(15,Rv,1,0,"edit-page",34)(16,v_,1,1,"edit-row",47)(17,Px,1,1,"edit-component",48)(18,Ix,1,2,"forgot-password",49)(19,fh,1,2,"ag-profile-nav",50),e.BQk()),2&d&&(e.Q6J("ngSwitch",g.ngIf.template),e.xp6(),e.Q6J("ngSwitchCase","resources"),e.xp6(),e.Q6J("ngSwitchCase","languages"),e.xp6(),e.Q6J("ngSwitchCase","addList"),e.xp6(),e.Q6J("ngSwitchCase","quickmenu"),e.xp6(),e.Q6J("ngSwitchCase","notify"),e.xp6(),e.Q6J("ngSwitchCase","tracking"),e.xp6(),e.Q6J("ngSwitchCase","history"),e.xp6(),e.Q6J("ngSwitchCase","email"),e.xp6(),e.Q6J("ngSwitchCase","sms"),e.xp6(),e.Q6J("ngSwitchCase","copyLink"),e.xp6(),e.Q6J("ngSwitchCase","page"),e.xp6(),e.Q6J("ngSwitchCase","patron"),e.xp6(),e.Q6J("ngSwitchCase","staffFullRecord"),e.xp6(),e.Q6J("ngSwitchCase","staffMenu"),e.xp6(),e.Q6J("ngSwitchCase","pages"),e.xp6(),e.Q6J("ngSwitchCase","row"),e.xp6(),e.Q6J("ngSwitchCase","comp"),e.xp6(),e.Q6J("ngSwitchCase","f-pass"))}const Rx=(d,g)=>({"min-height":d,"display ":g});function Lx(d,g){if(1&d&&(e.TgZ(0,"div",13,76),e.ALo(2,"async"),e._UZ(3,"ag-staff-content",77),e.qZA()),2&d){const i=e.oxw();e.Q6J("ngStyle",e.WLB(6,Rx,"calc(100dvh - "+e.lcZ(2,4,i.layoutService.headerHeight$)+"px)",i.staffMenuItem?"block":"none")),e.xp6(3),e.Q6J("staffMenu",i.staffMenuItem)("locations",i.locations)("homeLocationLink",i.homeLocationLink)}}function Fp(d,g){if(1&d&&(e.TgZ(0,"div",78),e._uU(1),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.hij(" VERSO\u2122, SHAREit\u2122, AGent Library Management Platform\u2122, AGent\u2122, Impact\u2122, RESEARCHit\u2122, AGCat\u2122, and MARCit\u2122 are trademarks of Auto-Graphics, Inc. Fontana, CA. All Rights Reserved. Copyright \xa9 ",null==i.DATE?null:i.DATE.getFullYear(),". ")}}function Lv(d,g){1&d&&e._UZ(0,"ag-footer",79)}function Vm(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",82),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.layoutService.scrollContentToTop())}),e.TgZ(1,"mat-icon"),e._uU(2,"expand_less"),e.qZA()()}2&d&&e.Q6J("@fadeInOut",void 0)}const zm=()=>[18,18];function lu(d,g){if(1&d&&(e.TgZ(0,"ag-page-sticky",80),e.YNc(1,Vm,3,1,"button",81),e.ALo(2,"async"),e.qZA()),2&d){const i=e.oxw();e.Q6J("offset",e.DdM(4,zm)),e.xp6(),e.Q6J("ngIf",e.lcZ(2,2,i.layoutService.contentScrollOffset$)>0)}}const Qm=(d,g)=>({"remove-colors":d,"width-75":g}),jm=(d,g)=>({height:d,"margin-top.px":g}),_h=d=>({"kids-body":d}),Bp=d=>({position:"relative","min-height":d}),cu=(d,g)=>({"padding-bottom.px":d,"display ":g});let gh=(()=>{class d{constructor(i,c,l,x,ke,Mt,un,Dn,Bn,pi,Zi,Yi,Vi,ii,Ji,ko){this._cd=i,this._dialog=c,this._router=l,this._authService=x,this._colorsService=ke,this._configService=Mt,this._dashboardService=un,this.layoutService=Dn,this._notifyService=Bn,this._predefinedTemplatesService=pi,this._searchHistoryService=Zi,this.sharedService=Yi,this._storageService=Vi,this._translationService=ii,this._opacSettingsService=Ji,this._routingService=ko,this.a11y=!1,this.bodyPadding=!0,this.libraryCardId="",this.libraryCardLibraryName="",this.trigger=Date.now(),this.kidsBGColor=!1,this.numberOfTargets=0,this.DATE=new Date,this._accessTabs=["skip2Search","skip2Content","skip2Nav"],this._mainTab=!1,this._navTab=!1,this._searchTab=!1,ii.setDefaultLang("en"),this._patronTimeoutExpiryHandler=this._patronTimeoutExpiryHandler.bind(this)}ngOnInit(){this._initializeSubscriptions(),this.hideComponentsBasedOnRoute()}hideComponentsBasedOnRoute(){this.showCopyRights=this._router.url.includes("/dashboard"),this.hideHeader=["/PatronLookupTool","/shippingLabels/print"].some(l=>this._router.url.includes(l)),this.hideFooter=["/dashboard","/configuration","/marc","/PatronLookupTool","/reports","/staff","/shippingLabels"].some(l=>this._router.url.includes(l)),this.showBackToTop=!this._router.url.includes("/details")}ngAfterViewInit(){0!==this.footer.nativeElement.offsetHeight&&this.layoutService.setFooterHeight(this.footer.nativeElement.offsetHeight),new ResizeObserver(l=>{this.layoutService.setFooterHeight(l[0].contentRect.height)}).observe(this.footer.nativeElement),new ResizeObserver(l=>{this.layoutService.setContentScrollbarWidth(l[0].target.offsetWidth-l[0].target.clientWidth)}).observe(this.sideNavContent.getElementRef().nativeElement),this._cd.detectChanges(),this.layoutService.setSideNav(this.sideNav),this.layoutService.setContentComponent(this.sideNavContent)}onRouteActivate(i){document.getElementById("app-body").scrollTop=0,document.body.classList.remove("fixed")}setTranslationLanguage(i){const c=this._translationService.getBrowserLang();this._translationService.use(c.match(/en|fr|cn|hi/)?c:i)}_getNotifications(){this._notifyService.getNotificationMessages().subscribe(i=>{this.notifications=i})}closeLibraryCard(){this.showLibraryCard=!1,document.body.style.removeProperty("overflow"),document.body.style.top="0px",document.body.style.position="relative"}openLibraryCard(i){i&&(this.showLibraryCard=i.showLibraryCard,this.libraryCardId=i.libraryCardId,this.libraryCardLibraryName=i.libraryCardLibraryName,i.showLibraryCard&&(document.body.style.overflow="hidden",document.body.style.removeProperty("top"),document.body.style.removeProperty("position")))}_initializeSubscriptions(){this._router.events.subscribe(i=>{i instanceof Gi.m2&&(this.closeIframesAndSideNavs(),this.hideComponentsBasedOnRoute(),this.sideNavContent.scrollTo({top:0}))}),this.layoutService.sideNavConfig$.subscribe(i=>{if(i)switch(this._router.url.includes("dashboard")&&(this.trigger=Date.now()),i.template){case"notify":this._getNotifications();break;case"history":this._getSearchHistory();break;case"addList":this.sharedService.setLoadGuestListBS(!0),this.closeOverlay()}}),this.sharedService.getUserDataBS().subscribe(i=>{i&&this._enablePatronTimeoutExpiry()}),this.layoutService.layoutSettings$.subscribe(i=>{i&&i.styles.length>0?this.updateColor(i.styles[0]):this.resetColor()}),(0,Ys.a)([this._predefinedTemplatesService.activePages$,this._opacSettingsService.getWebLinkOptionsBS()]).subscribe(([i,c])=>{i&&(this.activePages=i,this._updateMenuItems(c?.webLinkTabLabel))}),this.sharedService.openStaffPage$.subscribe(i=>{if(this.staffMenuItem=i,this.staffMenuItem){this.locations=null,this.homeLocationLink=null;const c=this._dashboardService.findMenu(this.staffMenuItem.menuId);c?.getHomeLocationsApi&&c?.updateHomeLocationApi&&this._dashboardService.getHomeLocationsApi(this._configService.baseUrl+c.getHomeLocationsApi).subscribe(l=>{this.locations=l,this.homeLocationLink=this._configService.baseUrl+c.updateHomeLocationApi})}}),this.sharedService.searchIframe$.subscribe(i=>{i&&this.searchIframeUrl(i)}),this.sharedService.getPageSlideNav().subscribe(i=>{i&&this.addPage(i)}),this.sharedService.getRowSlideNav().subscribe(i=>{i&&this.editRow(i)})}setContentScrollOffset(i){this.layoutService.setContentScrollOffset(i.target.scrollTop)}_updateMenuItems(i="Web Links"){this.menuItems=[{type:"home",icon:"fa fa-home fa-lg"}];const c=this._authService.getUserDataFromSession();if(c&&(c.isStaff&&this.menuItems.push({type:"staff-dashboard",label:"Staff Dashboard"}),c.isGuest||this.menuItems.push({type:"search-history",label:"Search History"}),c.illOptions.showBlankILL&&this.menuItems.push({type:"blank-ill-request",label:"Blank ILL Request"}),c.opacOptions?.showWebLinkOnSeparateTab&&this.menuItems.push({type:"web-links",label:i})),this.activePages){const l=this.activePages?.filter(x=>this._showMenuItem(x,c)).map(x=>({type:"page",label:x.label,page:x}));l.length>0&&!l[0].page.linkPage&&l.shift(),this.menuItems=[...this.menuItems,...l]}}_showMenuItem(i,c){let l=!1;return c&&(c.isGuest?l=i.showGuest:c.isPatron?l=i.showPatron:c.isStaff&&(l=i.showStaff)),l}setPosition(i){this.trigger=Date.now(),this._openSideNav(i.template,i.position),this.closeOverlay(),setTimeout(()=>{this.sideNav?.open()},200)}openPage(i,c){this._openSideNav("page","end",c)}addPage(i){this._openSideNav("pages","start",i)}trackingSummary(i){this._openSideNav("tracking","end",i)}editRow(i){this._openSideNav("row","start",i)}_openSideNav(i,c,l,x){this.layoutService.openSideNav({template:i,position:c,data:l,mode:x})}updateColor(i){this.removeColors(),document.documentElement.style.setProperty("--shade-base",i.shadeBase),document.documentElement.style.setProperty("--shade-one",i.shadeOne),document.documentElement.style.setProperty("--shade-two",i.shadeTwo),document.documentElement.style.setProperty("--shade-three",i.shadeThree),document.documentElement.style.setProperty("--shade-four",i.shadeFour),document.documentElement.style.setProperty("--neutral",i.neutral),document.documentElement.style.setProperty("--offset-one",i.offsetOne),document.documentElement.style.setProperty("--offset-two",i.offsetTwo),document.documentElement.style.setProperty("--offset-three",i.offsetThree),document.documentElement.style.setProperty("--offset-four",i.offsetFour),document.documentElement.style.setProperty("--accent-one",i.accentOne),document.documentElement.style.setProperty("--accent-two",i.accentTwo),document.documentElement.style.setProperty("--accent-three",i.accentThree),document.documentElement.style.setProperty("--accent-four",i.accentFour),document.documentElement.style.setProperty("--link",i.link),document.documentElement.style.setProperty("--header-background",i.headerBackground),document.documentElement.style.setProperty("--header-color",i.headerColor),document.documentElement.style.setProperty("--footer-background",i.footerBackground),document.documentElement.style.setProperty("--footer-color",i.footerColor),document.documentElement.style.setProperty("--body-color",i.bodyColor),document.documentElement.style.setProperty("--body-background",i.bodyBackground),document.documentElement.style.setProperty("--button-background",i.buttonBackground),document.documentElement.style.setProperty("--button-border",i.buttonBorder),document.documentElement.style.setProperty("--button-color",i.buttonColor),i.typeOf&&null!=i.typeOf&&document.body.classList.add(i.typeOf)}resetColor(){this.removeColors(),this._colorsService.setColorDefaultsBS(!0),this._colorsService.setColorPalleteBS(!0)}removeColors(){document.documentElement.style.removeProperty("--shade-base"),document.documentElement.style.removeProperty("--shade-one"),document.documentElement.style.removeProperty("--shade-two"),document.documentElement.style.removeProperty("--shade-three"),document.documentElement.style.removeProperty("--shade-four"),document.documentElement.style.removeProperty("--neutral"),document.documentElement.style.removeProperty("--offset-one"),document.documentElement.style.removeProperty("--offset-two"),document.documentElement.style.removeProperty("--offset-three"),document.documentElement.style.removeProperty("--offset-four"),document.documentElement.style.removeProperty("--accent-one"),document.documentElement.style.removeProperty("--accent-two"),document.documentElement.style.removeProperty("--accent-three"),document.documentElement.style.removeProperty("--accent-four"),document.documentElement.style.removeProperty("--text-icons"),document.documentElement.style.removeProperty("--primary-text"),document.documentElement.style.removeProperty("--light"),document.documentElement.style.removeProperty("--light-primary-color"),document.documentElement.style.removeProperty("--dark"),document.documentElement.style.removeProperty("--dark-primary-color"),document.documentElement.style.removeProperty("--secondary-text"),document.documentElement.style.removeProperty("--divider-color"),document.documentElement.style.removeProperty("--warning"),document.documentElement.style.removeProperty("--secondary"),document.documentElement.style.removeProperty("--info"),document.documentElement.style.removeProperty("--body-color"),document.documentElement.style.removeProperty("--body-background"),document.documentElement.style.removeProperty("--button-background"),document.documentElement.style.removeProperty("--button-color"),document.documentElement.style.removeProperty("--button-border"),document.documentElement.style.removeProperty("--header-background"),document.documentElement.style.removeProperty("--header-color"),document.documentElement.style.removeProperty("--footer-background"),document.documentElement.style.removeProperty("--footer-color"),document.documentElement.style.removeProperty("--box-shadows"),document.documentElement.style.removeProperty("--drop-shadows"),document.documentElement.style.removeProperty("--link"),document.documentElement.style.removeProperty("--hover-focus"),document.documentElement.style.removeProperty("--primary"),document.documentElement.style.removeProperty("--secondary"),document.documentElement.style.removeProperty("--info"),document.documentElement.style.removeProperty("--warning"),document.documentElement.style.removeProperty("--danger"),document.documentElement.style.removeProperty("--light"),document.documentElement.style.removeProperty("--dark"),document.body.className=""}closeIframesAndSideNavs(){this.sharedService.setOpenStaffPage(null),this.sideNav?.close(),this.resetA11y()}resetA11y(){this.a11y=!1,this._searchTab=!1,this._mainTab=!1,this._navTab=!1,ce("#skip2Content").blur(),ce("#skip2Search").blur(),ce("#skip2Nav").blur(),ce("main").removeClass("outline")}skip2Main(){(this.staffMenuItem?this.mainStaffContent.nativeElement:this.mainContent.nativeElement).focus()}skip2Search(){this._searchTab=!0,this.header.searchInput.nativeElement.focus()}navigation(i){this.setPosition({template:"",position:"end"}),this.a11y=!0,this._navTab=!0,ce("#skip2Nav").blur()}shiftTabs(i,c){if(this._searchTab&&0==this._mainTab&&0==this._navTab&&((c<-1||c==this._accessTabs.length)&&(c=-1),-1==c?(ce("#skip2Content").blur(),ce("#skip2Search").blur(),ce("#skip2Nav").blur()):ce("#"+this._accessTabs[c]).focus()),1==this._navTab){const l=[];ce("#userNav [tabindex]").each(function(){l.push(this.id)});const x=document.activeElement;l.indexOf(x.id);let ke=l.indexOf(x.id);"shift+tab"==i?0==ke?ke=l.length-1:ke-=1:ke==l.length-1?ke=0:ke+=1,ce("#"+x.id).blur(),ce("#"+l[ke]).focus()}if(1==this._searchTab){const l=[];ce("#search-overlay [tabindex]").each(function(){l.push(this.id)});const x=document.activeElement;l.indexOf(x.id)}}closeOverlay(){ce("#search-overlay").css("display","none")}_getSearchHistory(){this._searchHistoryService.getSearchHistory().subscribe(i=>{"OK"==i.status&&(this.searchHistory=i.data)})}searchIframeUrl(i){if(i.startsWith("http")||i.startsWith("https"))window.open(i,"_blank","location=yes,height=650,width=650,scrollbars=yes,status=yes");else{let c=this._routingService.baseUri;this._configService.agApi.includes("localhost")&&i.includes("loginmodule")?c=this._configService.agApi:this._routingService.baseUri.includes("localhost")&&(c=this._configService.baseUrl.replace("api",qo._n.SHAREIT?`${this._storageService.getCid()}-agent`:`${this._storageService.getCid()}-verso`)),window.open(c+i,"_blank","location=yes,height=650,width=650,scrollbars=yes,status=yes")}}_enablePatronTimeoutExpiry(){this._autoLogoutTimer&&(clearTimeout(this._autoLogoutTimer),this._autoLogoutTimer=void 0),this._authService.isPatron()||this._authService.isGuest()?document.addEventListener("mousemove",this._patronTimeoutExpiryHandler):document.removeEventListener("mousemove",this._patronTimeoutExpiryHandler)}_patronTimeoutExpiryHandler(){this._autoLogoutTimer&&clearTimeout(this._autoLogoutTimer),this._autoLogoutTimer=setTimeout(()=>{this._dialog.open(ph,{width:"600px",height:"auto",disableClose:!0}).afterClosed().subscribe(c=>{("logout"===c||"timeout"===c)&&this._authService.OnLogOut()})},6e5)}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(e.sBO),e.Y36(qi.on),e.Y36(Gi.F0),e.Y36(qo.e8),e.Y36(Qn),e.Y36(io.E),e.Y36(Yr.s),e.Y36(We.P),e.Y36(Oe.c),e.Y36(Dr.fs),e.Y36(Lp.r),e.Y36(Ii.F),e.Y36(no.V),e.Y36(mh.sK),e.Y36(To.j),e.Y36(Wo.Z))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-main-v6-layout"]],viewQuery:function(c,l){if(1&c&&(e.Gf(m_,5),e.Gf(Sx,5),e.Gf(Ex,5),e.Gf(Ox,5),e.Gf(Bm,5),e.Gf(Um,5),e.Gf(Dx,5),e.Gf(Cl.Rh,5)),2&c){let x;e.iGM(x=e.CRH())&&(l.header=x.first),e.iGM(x=e.CRH())&&(l.mainContent=x.first),e.iGM(x=e.CRH())&&(l.mainStaffContent=x.first),e.iGM(x=e.CRH())&&(l.footer=x.first),e.iGM(x=e.CRH())&&(l.color=x.first),e.iGM(x=e.CRH())&&(l.pages=x.first),e.iGM(x=e.CRH())&&(l.sideNav=x.first),e.iGM(x=e.CRH())&&(l.sideNavContent=x.first)}},decls:35,vars:44,consts:[[3,"id","library","closed",4,"ngIf"],["id","Modal"],["content",""],[1,"skipnav"],["id","skip2Search","tabindex","0",1,"pointer",3,"agInteract"],["id","skip2Content","tabindex","0",1,"pointer",3,"agInteract"],["id","skip2Nav","tabindex","0",1,"pointer",3,"agInteract"],["tabindex","-1",3,"menuItems","tracking",4,"ngIf"],["fixedInViewport","true","ngClass","sidenav-height","role","navigation",3,"fixedTopGap","ngClass","closedStart"],["sideNav",""],[3,"ngSwitch",4,"ngIf"],["id","app-body",3,"ngStyle","scroll"],["id","main-content",3,"ngClass","ngStyle"],["tabindex","-1",1,"ag-page-container",3,"ngStyle"],["pageContainer",""],[3,"activate"],["class","ag-page-container","tabindex","-1",3,"ngStyle",4,"ngIf"],[2,"position","absolute","bottom","0","left","0","right","0"],["footer",""],["class","ag-copyright padding-0-15",4,"ngIf"],["aria-label","footer","class","no-print",4,"ngIf"],[3,"offset",4,"ngIf"],[3,"id","library","closed"],[1,"modal-header"],[1,"modal-title"],["role","button","aria-label","Close","type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[1,"modal-footer"],["role","button","aria-label","Continue","type","button",1,"btn","btn-outline-success",3,"click"],["role","button","aria-label","Log Out","type","button",1,"btn","btn-outline-success",3,"click"],["tabindex","-1",3,"menuItems","tracking"],["header",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngClass",4,"ngSwitchCase"],[3,"item",4,"ngSwitchCase"],[3,"trigger","notifications",4,"ngSwitchCase"],[3,"tracking",4,"ngSwitchCase"],[3,"searchHistrory",4,"ngSwitchCase"],[3,"email",4,"ngSwitchCase"],[3,"sms",4,"ngSwitchCase"],[3,"links",4,"ngSwitchCase"],[3,"trigger",4,"ngSwitchCase"],[3,"isInSideNav",4,"ngSwitchCase"],[3,"staff",4,"ngSwitchCase"],[3,"menu",4,"ngSwitchCase"],[3,"row",4,"ngSwitchCase"],[3,"component",4,"ngSwitchCase"],[3,"details","trigger",4,"ngSwitchCase"],[3,"pages","a11y","resetA11y","toggleSideNav","openLibraryCard",4,"ngSwitchDefault"],["fxLayout","row"],["fxFlex",""],[1,"ag-ml-md"],["fxFlex","nogrow"],["mat-icon-button","","aria-label","Close Resources","type","button",3,"click"],[1,"ag-pa-md"],[3,"ngClass"],["mat-icon-button","","aria-label","Close Languages","type","button",3,"click"],[3,"lang",4,"ngSwitchCase"],[3,"lang"],[3,"item"],[3,"trigger","notifications"],[3,"tracking"],[3,"searchHistrory"],[3,"email"],[3,"sms"],[3,"links"],[3,"trigger"],[3,"isInSideNav"],[3,"staff"],[3,"menu"],[3,"row"],[3,"component"],[3,"details","trigger"],[3,"pages","a11y","resetA11y","toggleSideNav","openLibraryCard"],["staffPageContainer",""],[3,"staffMenu","locations","homeLocationLink"],[1,"ag-copyright","padding-0-15"],["aria-label","footer",1,"no-print"],[3,"offset"],["mat-fab","","type","button","class","ag-mat-button-primary",3,"click",4,"ngIf"],["mat-fab","","type","button",1,"ag-mat-button-primary",3,"click"]],template:function(c,l){if(1&c){const x=e.EpF();e.YNc(0,Ax,1,2,"library-card",0)(1,f_,14,0,"ng-template",1,2,e.W1O),e.TgZ(3,"span",3)(4,"a",4),e.NdJ("agInteract",function(){return e.CHM(x),e.MAs(13).close(),e.KtG(l.skip2Search())}),e._uU(5,"Skip to search "),e.qZA(),e.TgZ(6,"a",5),e.NdJ("agInteract",function(){return e.CHM(x),e.MAs(13).close(),e.KtG(l.skip2Main())}),e._uU(7,"Skip to main content "),e.qZA(),e.TgZ(8,"a",6),e.NdJ("agInteract",function(){return e.CHM(x),e.MAs(13).close(),e.KtG(l.header.focus())}),e._uU(9,"Skip to navigation "),e.qZA()(),e.YNc(10,Mv,2,1,"ag-header",7),e.TgZ(11,"mat-sidenav-container")(12,"mat-sidenav",8,9),e.NdJ("closedStart",function(){return l.resetA11y()}),e.ALo(14,"async"),e.ALo(15,"async"),e.ALo(16,"async"),e.YNc(17,Jm,20,19,"ng-container",10),e.ALo(18,"async"),e.qZA(),e.TgZ(19,"mat-sidenav-content",11),e.NdJ("scroll",function(Mt){return l.setContentScrollOffset(Mt)}),e.ALo(20,"async"),e.ALo(21,"async"),e.TgZ(22,"div",12),e.ALo(23,"async"),e.ALo(24,"async"),e.TgZ(25,"div",13,14),e.ALo(27,"async"),e.TgZ(28,"router-outlet",15),e.NdJ("activate",function(Mt){return l.onRouteActivate(Mt)}),e.qZA()(),e.YNc(29,Lx,4,9,"div",16),e.TgZ(30,"footer",17,18),e.YNc(32,Fp,2,1,"div",19)(33,Lv,1,0,"ag-footer",20),e.qZA()()()(),e.YNc(34,lu,3,5,"ag-page-sticky",21)}if(2&c){let x;e.Q6J("ngIf",l.showLibraryCard),e.xp6(10),e.Q6J("ngIf",!l.hideHeader),e.xp6(2),e.Q6J("fixedTopGap",e.lcZ(14,13,l.layoutService.headerHeight$))("ngClass",e.WLB(31,Qm,"resources"===(null==(x=e.lcZ(15,15,l.layoutService.sideNavConfig$))?null:x.template),"resources"===(null==(x=e.lcZ(16,17,l.layoutService.sideNavConfig$))?null:x.template))),e.xp6(5),e.Q6J("ngIf",e.lcZ(18,19,l.layoutService.sideNavConfig$)),e.xp6(2),e.Q6J("ngStyle",e.WLB(34,jm,"calc(100dvh - "+e.lcZ(20,21,l.layoutService.headerHeight$)+"px)",e.lcZ(21,23,l.layoutService.headerHeight$))),e.xp6(3),e.Q6J("ngClass",e.VKq(37,_h,e.lcZ(23,25,l.sharedService.kidsCat$)))("ngStyle",e.VKq(39,Bp,"calc(100dvh - "+e.lcZ(24,27,l.layoutService.headerHeight$)+"px)")),e.xp6(3),e.Q6J("ngStyle",e.WLB(41,cu,e.lcZ(27,29,l.layoutService.footerHeight$),l.staffMenuItem?"none":"block")),e.xp6(4),e.Q6J("ngIf",l.staffMenuItem),e.xp6(3),e.Q6J("ngIf",l.showCopyRights&&!l.staffMenuItem),e.xp6(),e.Q6J("ngIf",!l.staffMenuItem&&!l.hideFooter),e.xp6(),e.Q6J("ngIf",l.showBackToTop)}},styles:["[_nghost-%COMP%]{display:block;height:100%;min-height:inherit}mat-sidenav-container[_ngcontent-%COMP%]{background:var(--body-background)!important}.mat-sidenav[_ngcontent-%COMP%]{background-color:var(--header-background);color:var(--header-color)}.mat-drawer-container[_ngcontent-%COMP%]{color:var(--body-color)}.sidenav-height[_ngcontent-%COMP%]{height:100%}.kids-body[_ngcontent-%COMP%]{background-color:#1f69b3;background-image:url(/assets/images/kids-catalog/bg1.jpg);background-repeat:repeat-x;background-position:center -100px;font-family:Arial,Sans-Serif;font-size:15px}.skipnav[_ngcontent-%COMP%]{width:100vw;text-align:center}.skipnav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{position:absolute;top:-200px;left:calc(50vw - 150px);height:90px;z-index:2000;overflow:hidden;min-width:300px;padding:14px 24px;border-radius:2px;box-sizing:border-box;background:#323232;color:#fff;text-decoration:underline}.skipnav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active, .skipnav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .skipnav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{top:0;width:auto;height:auto;overflow:visible}.remove-colors[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.ag-copyright[_ngcontent-%COMP%]{text-align:center;background:var(--offset-two)!important;font-weight:700}#ngb-typeahead-0[_ngcontent-%COMP%]{min-width:480px!important}.scroll[_ngcontent-%COMP%]{overflow:auto}.scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}.scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px #0000004d;border-radius:0}.scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:5px;box-shadow:inset 0 0 6px #00000080}@media screen and (max-width: 1200px){.ag-copyright[_ngcontent-%COMP%]{font-size:1.1em!important}}@media screen and (max-width: 992px){.ag-copyright[_ngcontent-%COMP%]{font-size:.8em!important}}@media screen and (max-width: 768px){.ag-copyright[_ngcontent-%COMP%]{font-size:.6em!important}}@media screen and (max-width: 576px){.ag-copyright[_ngcontent-%COMP%]{font-size:.4em!important}}"],data:{animation:[(0,m.X$)("fadeInOut",[(0,m.SB)("void",(0,m.oB)({opacity:0})),(0,m.eR)("void <=> *",(0,m.jt)(250))])]}})}return d})();const bh=[{component:gh,path:"",canActivate:[Do],children:[{path:"",loadChildren:()=>s.e(169).then(s.bind(s,2169)).then(d=>d.HomeModule)},{path:"home",loadChildren:()=>s.e(169).then(s.bind(s,2169)).then(d=>d.HomeModule)},{path:"auth",loadChildren:()=>s.e(172).then(s.bind(s,3172)).then(d=>d.ForgotYourPasswordModule)},{path:"account",loadChildren:()=>Promise.all([s.e(592),s.e(319)]).then(s.bind(s,2319)).then(d=>d.YourSettingsModule)},{path:"advancedsearch",loadChildren:()=>s.e(726).then(s.bind(s,4760)).then(d=>d.AdvancedsearchModule)},{path:"brief",loadChildren:()=>Promise.all([s.e(353),s.e(603),s.e(265)]).then(s.bind(s,5666)).then(d=>d.BriefModule)},{path:"briefShareit",loadChildren:()=>Promise.all([s.e(353),s.e(703)]).then(s.bind(s,6703)).then(d=>d.BriefShareitModule)},{path:"browse",loadChildren:()=>Promise.resolve().then(s.bind(s,2506)).then(d=>d.BrowseModule)},{path:"bsu",loadChildren:()=>Promise.all([s.e(657),s.e(621)]).then(s.bind(s,2621)).then(d=>d.BatchStatusUpdateModule)},{path:"circulation",loadChildren:()=>Promise.all([s.e(657),s.e(592),s.e(760)]).then(s.bind(s,1906)).then(d=>d.CirculationModule)},{path:"dashboard",loadChildren:()=>s.e(510).then(s.bind(s,3510)).then(d=>d.DashboardModule)},{path:"edit-footer",loadChildren:()=>s.e(242).then(s.bind(s,4242)).then(d=>d.EditFooterModule)},{path:"ezproxy",loadChildren:()=>s.e(852).then(s.bind(s,1852)).then(d=>d.EzproxyModule)},{path:"hold",loadChildren:()=>Promise.all([s.e(657),s.e(681)]).then(s.bind(s,5681)).then(d=>d.HoldModule)},{path:"home-edit",loadChildren:()=>s.e(437).then(s.bind(s,437)).then(d=>d.HomeEditModule)},{path:"ill",loadChildren:()=>Promise.all([s.e(657),s.e(939)]).then(s.bind(s,7939)).then(d=>d.SearchesWithZeroResultsModule)},{path:"items",loadChildren:()=>s.e(790).then(s.bind(s,4790)).then(d=>d.YourItemsModule)},{path:"kids",loadChildren:()=>s.e(25).then(s.bind(s,8025)).then(d=>d.KidsCatalogSearchModule)},{path:"list",loadChildren:()=>Promise.all([s.e(657),s.e(898)]).then(s.bind(s,6898)).then(d=>d.YourListModule)},{path:"marc",loadChildren:()=>Promise.all([s.e(592),s.e(713)]).then(s.bind(s,4713)).then(d=>d.MarcModule),canActivate:[Oo.a1,Oo.gv]},{path:"shippingLabels",loadChildren:()=>Promise.all([s.e(592),s.e(798)]).then(s.bind(s,8798)).then(d=>d.ShippingLabelsModule)},{path:"reports",loadChildren:()=>Promise.all([s.e(777),s.e(435)]).then(s.bind(s,7435)).then(d=>d.ReportsModule)},{path:"page",loadChildren:()=>s.e(983).then(s.bind(s,8983)).then(d=>d.PageModule)},{path:"PatronLookupTool",loadChildren:()=>Promise.resolve().then(s.bind(s,8911)).then(d=>d.PatronLookupModule)},{path:"request/blank",loadChildren:()=>Promise.all([s.e(592),s.e(183)]).then(s.bind(s,5183)).then(d=>d.RequestModule),canActivate:[Xs]},{path:"request",loadChildren:()=>Promise.all([s.e(592),s.e(183)]).then(s.bind(s,5183)).then(d=>d.RequestModule),canActivate:[Xs]},{path:"request-edit",loadChildren:()=>Promise.all([s.e(592),s.e(118)]).then(s.bind(s,2118)).then(d=>d.RequestEditModule)},{path:"search",loadChildren:()=>Promise.all([s.e(353),s.e(603),s.e(911)]).then(s.bind(s,6911)).then(d=>d.SearchModule)},{path:"signup",loadChildren:()=>s.e(288).then(s.bind(s,4288)).then(d=>d.SignupModule)},{path:"userinfo",loadChildren:()=>s.e(256).then(s.bind(s,4256)).then(d=>d.UserinfoModule)},{path:"webLinks",loadChildren:()=>s.e(293).then(s.bind(s,2293)).then(d=>d.WebLinksModule)},{path:"acquisitions",loadChildren:()=>s.e(732).then(s.bind(s,5732)).then(d=>d.AcquisitionsModule)},{path:"holdings",loadChildren:()=>Promise.all([s.e(592),s.e(995)]).then(s.bind(s,4995)).then(d=>d.HoldingsModule)},{path:"staff",loadChildren:()=>Promise.all([s.e(777),s.e(592),s.e(637)]).then(s.bind(s,7637)).then(d=>d.StaffModule)},{path:"error-test",component:si},{path:"details",component:Vr.MC,canActivate:[Oo.a1]},{path:"record",redirectTo:"details"},{path:"login",component:ec},{path:"giplogin",component:ic},{path:"loginsso",component:Bc},{path:"register",component:yl,canActivate:[Oo.a1]},{path:"sch",component:bd},{path:"404",component:wa.r}]},{component:(()=>{class d{constructor(){}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-widget-layout"]],decls:1,vars:0,template:function(c,l){1&c&&e._UZ(0,"router-outlet")},dependencies:[Gi.lC]})}return d})(),canActivate:[Do],path:"page-widgets",loadChildren:()=>s.e(386).then(s.bind(s,8386)).then(d=>d.PageWidgetsModule)},{component:Or,canActivate:[Do],path:"",loadChildren:()=>Promise.all([s.e(592),s.e(36)]).then(s.bind(s,7036)).then(d=>d.PrintModule)},{component:gh,path:"",canActivate:[Do],children:[{path:"**",component:wa.r}]}];let Nx=(()=>{class d{static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275mod=e.oAB({type:d});static#n=this.\u0275inj=e.cJS({imports:[Gi.Bz.forRoot(bh,{useHash:!0}),Gi.Bz]})}return d})();var vh=s(5587),qs=s(9993),y_=s(2359),Up=s(4593);let Nv=(()=>{class d{constructor(i){this._userData=i,i&&(this.name=`${i.firstName} ${i.lastName}`,this.expireDate=i.expireDate,this.expireText=new Date(i.expireDate)<new Date?"expired":"will expire")}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.eJ))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-patron-expiry-msg-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"red"],["align","end"],["mat-dialog-close","","tabindex","-1","type","button",1,"btn","btn-primary"]],template:function(c,l){1&c&&(e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1)(3,"p")(4,"strong"),e._uU(5),e.TgZ(6,"span",2),e._uU(7),e.qZA(),e._uU(8,". Please contact the library for assistance "),e.qZA()()(),e.TgZ(9,"mat-dialog-actions",3)(10,"button",4),e._uU(11,"Close"),e.qZA()()),2&c&&(e.xp6(),e.hij("Welcome ",l.name,""),e.xp6(4),e.hij(" Your library card ",l.expireText," on "),e.xp6(2),e.Oqu(l.expireDate))},dependencies:[qi.aO,qi.YS,qi.Rb,qi.ev]})}return d})();function Fv(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"*New Password is required."),e.qZA())}function qm(d,g){if(1&d&&(e.TgZ(0,"span",16),e.YNc(1,Fv,2,0,"span",17),e.qZA()),2&d){e.oxw();const i=e.MAs(11);e.xp6(),e.Q6J("ngIf",i.errors.required)}}function x_(d,g){1&d&&(e.TgZ(0,"span"),e._uU(1,"*Confirm Password is required."),e.qZA())}function Bv(d,g){if(1&d&&(e.TgZ(0,"span",16),e.YNc(1,x_,2,0,"span",17),e.qZA()),2&d){e.oxw();const i=e.MAs(17);e.xp6(),e.Q6J("ngIf",i.errors.required)}}const C_=d=>({"has-error":d});let Fx=(()=>{class d{constructor(i,c,l,x){this._dialogRef=i,this.data=c,this._sharedService=l,this._authService=x,this.pageTitle="Change Password"}validatePassword(i){const c=i.value.newPass;let x;return c!==i.value.confirmPass?x="Passwords do not match":c.length>20&&(x="Password must be 20 characters or less"),!x||(this._sharedService.openSnackBar(x,"ok"),!1)}changePassword(i){this.validatePassword(i)&&this._authService.updatePassword(i.value.newPass).subscribe(()=>{this._sharedService.openSnackBar("Password updated","ok"),this._dialogRef.close({status:"success"})},c=>{c instanceof Error&&this._sharedService.openSnackBar(c.message,"ok")})}cancel(){this._dialogRef.close({status:"cancel"})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.hV),e.Y36(qi.eJ),e.Y36(Ii.F),e.Y36(qo.e8))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-changepassword-dialog"]],decls:24,vars:11,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,""],["novalidate","","autocomplete","off",1,"form-horizontal"],["loginForm","ngForm"],[1,"form-group",3,"ngClass"],["for","userNameId",1,"control-label"],["id","newPassId","type","password","placeholder"," New password (required)","required","","autocomplete","nope","name","newPass","agAutofocus","",1,"form-control",3,"ngModel"],["userNameVar","ngModel"],["class","help-block",4,"ngIf"],["for","passwordId",1,"control-label"],["id","confirmPassId","type","password","placeholder","Confirm Password (required)","required","","autocomplete","nope-again","name","confirmPass",1,"form-control",3,"ngModel"],["passwordVar","ngModel"],["align","end",1,"ag-theme"],["mat-button","","mat-dialog-close","","aria-label","Cancel","type","button",3,"click"],["mat-button","","aria-label","Submit","type","button",1,"ag-primary-button",3,"disabled","mat-dialog-close","click"],[1,"help-block"],[4,"ngIf"]],template:function(c,l){if(1&c){const x=e.EpF();e.TgZ(0,"h1",0),e._uU(1),e.qZA(),e.TgZ(2,"div",1)(3,"div",2)(4,"form",3,4)(6,"fieldset")(7,"div",5)(8,"label",6),e._uU(9,"New Password"),e.qZA(),e.TgZ(10,"input",7,8),e.NdJ("ngModel",function(){return l.newPass}),e.qZA(),e.YNc(12,qm,2,1,"span",9),e.qZA(),e.TgZ(13,"div",5)(14,"label",10),e._uU(15,"Confirm Password"),e.qZA(),e.TgZ(16,"input",11,12),e.NdJ("ngModel",function(){return l.confirmPass}),e.qZA(),e.YNc(18,Bv,2,1,"span",9),e.qZA()()()()(),e.TgZ(19,"mat-dialog-actions",13)(20,"button",14),e.NdJ("click",function(){return l.cancel()}),e._uU(21," Cancel "),e.qZA(),e.TgZ(22,"button",15),e.NdJ("click",function(){e.CHM(x);const Mt=e.MAs(5);return e.KtG(l.changePassword(Mt))}),e._uU(23," Submit "),e.qZA()()}if(2&c){const x=e.MAs(5),ke=e.MAs(11),Mt=e.MAs(17);e.xp6(),e.Oqu(l.pageTitle),e.xp6(6),e.Q6J("ngClass",e.VKq(7,C_,(ke.touched||ke.dirty)&&!ke.valid)),e.xp6(5),e.Q6J("ngIf",(ke.touched||ke.dirty)&&ke.errors),e.xp6(),e.Q6J("ngClass",e.VKq(9,C_,(Mt.touched||Mt.dirty)&&!Mt.valid)),e.xp6(5),e.Q6J("ngIf",(Mt.touched||Mt.dirty)&&Mt.errors),e.xp6(4),e.Q6J("disabled",!x.valid)("mat-dialog-close",!0)}},dependencies:[_n.Q,ei.mk,ei.O5,At._Y,At.Fj,At.JJ,At.JL,At.Q7,At.On,At.F,Zn.eB,zr.oO,qi.aO,qi.YS,qi.Rb,qi.ev],styles:[".ag-theme[_ngcontent-%COMP%]   .ag-primary-button[_ngcontent-%COMP%]{color:var(--button-color);background:var(--button-background)}"]})}return d})();var Uv=s(9315);function Zp(d,g){if(1&d&&(e.TgZ(0,"h1",13),e._uU(1),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.hij(" ",null==i.message?null:i.message.msgTitle," ")}}function Km(d,g){if(1&d&&(e.TgZ(0,"div",14),e._uU(1),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.hij(" ",i.isoFormatDMY(i.parseISOString(null==i.message?null:i.message.msgBegin),null==i.message?null:i.message.msgBegin)," ")}}function Zv(d,g){if(1&d&&e._UZ(0,"div",15),2&d){const i=e.oxw(2);e.Q6J("innerHTML",null==i.message?null:i.message.msgText,e.oJD)}}function w_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",16),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.openLink())})("keyup.enter",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.openLink())}),e._uU(1),e.qZA()}if(2&d){const i=e.oxw(2);e.xp6(),e.Oqu(null==i.message?null:i.message.msgLinkText)}}function $m(d,g){if(1&d&&(e.TgZ(0,"div",17),e._uU(1),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.hij(" ",null==i.message?null:i.message.msgSignature," ")}}function Hp(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"div",3),e.YNc(3,Zp,2,1,"h1",4)(4,Km,2,1,"div",5),e.TgZ(5,"div",6),e.YNc(6,Zv,1,1,"div",7),e.TgZ(7,"div",8),e.YNc(8,w_,2,1,"a",9),e.qZA(),e.YNc(9,$m,2,1,"div",10),e.qZA(),e.TgZ(10,"div",11)(11,"button",12),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.close())}),e._uU(12,"Ok"),e.qZA()()()()()}if(2&d){const i=e.oxw();e.xp6(3),e.Q6J("ngIf",null==i.message?null:i.message.msgTitle),e.xp6(),e.Q6J("ngIf",(null==i.message?null:i.message.msgBegin)&&""!==(null==i.message?null:i.message.msgBegin)),e.xp6(2),e.Q6J("ngIf",(null==i.message?null:i.message.msgText)&&""!==(null==i.message?null:i.message.msgText)),e.xp6(2),e.Q6J("ngIf",(null==i.message?null:i.message.msgLinkText)&&""!==(null==i.message?null:i.message.msgLinkText)),e.xp6(),e.Q6J("ngIf",(null==i.message?null:i.message.msgSignature)&&""!==(null==i.message?null:i.message.msgSignature))}}let T_=(()=>{class d{constructor(i,c,l){this._dialogRef=i,this._snackBar=c,this.data=l}ngOnInit(){this.data.message&&(this.message=this.data.message)}openLink(){if(this.message.msgLink){let i=this.message.msgLink;/\S/.test(i)&&null!=i?(!i.includes("http://")&&!i.includes("https://")&&(i="https://"+i),window.open(i,"_blank")):this.openSnackBar("no link found","ok")}}openSnackBar(i,c){this._snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}parseISOString(i){const c=i.split(/\D+/);return new Date(Date.UTC(c[0],--c[1],c[2],c[3],c[4],c[5],c[6]))}isoFormatDMY(i,c){return this.pad(this.pad(i.getUTCMonth()+1)+"/"+i.getUTCDate())+"/"+i.getUTCFullYear()+" "+i.toLocaleTimeString()}pad(i){return(i<10?"0":"")+i}padd(i){return(i<100?"0":"")+this.pad(i)}close(){this._dialogRef.close({message:this.message,postion:this.position,action:"ok"})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.hV),e.Y36(Ti.pl),e.Y36(qi.eJ))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-notifications-dialog"]],decls:1,vars:1,consts:[["class","container-fluid padding-0",4,"ngIf"],[1,"container-fluid","padding-0"],[1,"row","padding-0"],[1,"col-12","padding-0"],["mat-dialog-title","","class","text-center",4,"ngIf"],["class","text-center padding-0",4,"ngIf"],["mat-dialog-content","",1,"sublist-hr"],[3,"innerHTML",4,"ngIf"],[1,"text-center"],["class","main-link","tabindex","0",3,"click","keyup.enter",4,"ngIf"],["class","sublist-hr",4,"ngIf"],["mat-dialog-actions","",1,"example-card","float-end"],["mat-button","","type","button","cdkFocusInitial","",3,"click"],["mat-dialog-title","",1,"text-center"],[1,"text-center","padding-0"],[3,"innerHTML"],["tabindex","0",1,"main-link",3,"click","keyup.enter"],[1,"sublist-hr"]],template:function(c,l){1&c&&e.YNc(0,Hp,13,5,"div",0),2&c&&e.Q6J("ngIf",l.message&&null!==l.message)},dependencies:[ei.O5,Zn.eB,qi.YS,qi.Rb,qi.ev],styles:["[_nghost-%COMP%]     .mat-dialog-content{margin:0!important}.alert-danger[_ngcontent-%COMP%]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.example-card[_ngcontent-%COMP%]{cursor:pointer}.main-link[_ngcontent-%COMP%]{color:#00f!important;cursor:pointer;text-decoration:underline!important}b[_ngcontent-%COMP%]   .padding-0[_ngcontent-%COMP%]{padding:0!important}.overflow-hidden[_ngcontent-%COMP%]{overflow:hidden!important}.sublist-hr[_ngcontent-%COMP%]{width:auto;border-top:1px solid #bee5eb!important;margin-top:15px!important;padding:0!important}"]})}return d})();var M_=s(6630),k_=s(1261),S_=s(3576);function Bx(d,g){1&d&&e._UZ(0,"router-outlet")}let Hv=(()=>{class d{onKeyDown(i){this._quickMenuService.hotkey(i)}onResize(i){this._sharedService.setResizeBS(window.innerWidth)}constructor(i,c,l,x,ke,Mt,un,Dn,Bn,pi,Zi,Yi,Vi,ii,Ji,ko,Vo,Ko,Zo,ka,Jr,fr){this._router=i,this._dialog=c,this._snackbar=l,this._accountService=x,this._dashboardService=ke,this._notifyService=Mt,this._opacSettingsService=un,this._predefinedTemplatesService=Dn,this._routingService=Bn,this._searchService=pi,this._scriptsService=Zi,this._sharedService=Yi,this._storageService=Vi,this._titleService=ii,this._quickMenuService=Ji,this._yourListService=ko,this._illSettingService=Vo,this._layoutService=Ko,this._activatedRoute=Zo,this._translateService=ka,this.authorized=!1,Jr.addSvgIcon("finger-black",fr.bypassSecurityTrustResourceUrl("assets/icons/finger-gray.svg")),Jr.addSvgIcon("finger",fr.bypassSecurityTrustResourceUrl("assets/icons/finger-black.svg")),Jr.addSvgIcon("finger-inverse",fr.bypassSecurityTrustResourceUrl("assets/icons/finger-inverse.svg")),Jr.addSvgIcon("browse-search-icon",fr.bypassSecurityTrustResourceUrl("assets/icons/browse-search-icon.svg")),this._translateService.use("en")}ngOnInit(){this._router.events.subscribe(i=>{i instanceof Gi.OD&&this._snackbar.dismiss(),i instanceof Gi.m2&&(this._setCurrentPageTitle(),this._routingService.setCurrentUrl(i.url),(this._router.url.includes("/kids")||this._activatedRoute.snapshot.queryParams?.kids)&&this._sharedService.setKidsCat(!0))}),this._initializeSubscriptions(),this._sharedService.setDefaultWindowSize(window.innerWidth)}ngAfterViewInit(){this._loadDataTablesScriptStylesLazy()}_initializeSubscriptions(){this._sharedService.getUserDataBS().subscribe(i=>{if(!i)return;this.authorized=!0,this._sharedService.setLoginStatusBS(Ii.P.SUCCESSFUL),i.isPatron&&this._checkIfPatronExpiryDialog(i),i.needsPasswordChange&&this._openChangePasswordDialog(),i.guestListSaved&&this._sharedService.openSnackBar("Guest List Added."),this._searchService.resultType=i.opacOptions.searchResultOptions.groupOption,this._searchService.sortBy=i.opacOptions.searchResultOptions.sortBy,this._searchService.orderBy=i.opacOptions.searchResultOptions.orderBy;const c=[];c.push(this._searchService.getSearchIndexes()),c.push(this._searchService.getAvailableTargets()),c.push(this._opacSettingsService.loadWebLinkOptions()),c.push(this._opacSettingsService.fetchOpacResults()),c.push(this._accountService.getUserPreferences()),c.push(this._illSettingService.getBorrowerPolicy()),c.push(this._yourListService.loadLists()),i.isStaff&&(c.push(this._dashboardService.loadStaffDashboard()),c.push(this._quickMenuService.loadQuickMenu())),(0,Uv.D)(c).subscribe(()=>{this._sharedService.setLoginStatusBS(Ii.P.COMPLETE)}),this._predefinedTemplatesService.getLibAndBindInfoAsync(this._storageService.getCid(),this._storageService.getLid()),(i.isStaff||i.isPatron)&&(this._notifyService.startUnreadMessageCountUpdates(),this._notifyService.getNotificationMessages().subscribe(l=>{this._showAlertNotifications(l)}))}),this._sharedService.getLibraryChangedBS().subscribe(i=>{i&&(this._cid=i.cid.toUpperCase(),this._lid=i.lid.toUpperCase(),this._setCurrentPageTitle(),this._getLayoutSettings(this._cid,this._lid))})}_getLayoutSettings(i,c){var l=this;return(0,t.Z)(function*(){const x=yield l._predefinedTemplatesService.getLayoutSettingsAsync(i,c);l._layoutService.setLayoutSettings(x)})()}_loadDataTablesScriptStylesLazy(){this._scriptsService.load("dataTables").catch(i=>console.log(i))}_setCurrentPageTitle(){let i=this._routingService.getCurrentRouteTitle();this._cid&&(i+=` | ${this._cid}`),this._lid&&(i+=` | ${this._lid}`),i+=" | Auto-Graphics Inc.",this._titleService.setTitle(i)}_checkIfPatronExpiryDialog(i){if(!i.circOption&&!i.expireDate)return;const c=24*i.circOption.patronExpirationWarningPeriod*60*60*1e3;new Date(i.expireDate).getTime()-(new Date).getTime()<=c&&this._dialog.open(Nv,{data:i,panelClass:M_.$.MD})}_openChangePasswordDialog(){this._dialog.open(Fx,{width:"600px",height:"auto",disableClose:!0}).afterClosed().subscribe(c=>{"success"===c.status&&this._router.navigate(["/"],{queryParams:{cid:this._storageService.getCid(),lid:this._storageService.getLid()}})})}_showAlertNotifications(i){const c=i?.allMessages;if(c){c.forEach(l=>{l.msgBegin.includes("Z")||(l.msgBegin=l.msgBegin.concat("Z")),l.msgText=l.msgText.replace(/(?:\r\n|\r|\n)/g,"<br/>")});for(let l=0;l<c.length;l++){const x=c[l];x.showAlertBox&&this._openNotificationsDialog(x,l)}}}_openNotificationsDialog(i,c){this._dialog.open(T_,{panelClass:"notifications-back-color",width:"600px",height:"auto",disableClose:!0,data:{position:c,message:i,fromHeader:!0}}).afterClosed().subscribe(x=>{x.message&&this._notifyService.ackMessage(x.message).subscribe(ke=>{"200 OK"===ke.status&&this._notifyService.updateUnreadMessageCount()})})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Gi.F0),e.Y36(qi.on),e.Y36(Ti.pl),e.Y36(k_.B),e.Y36(Yr.s),e.Y36(Oe.c),e.Y36(To.j),e.Y36(Dr.fs),e.Y36(Wo.Z),e.Y36(ta.oD),e.Y36(uo),e.Y36(Ii.F),e.Y36(no.V),e.Y36(u.Dx),e.Y36(rt.M),e.Y36(v.K),e.Y36(S_.f),e.Y36(We.P),e.Y36(Gi.gz),e.Y36(mh.sK),e.Y36(Jo.jv),e.Y36(u.H7))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-root"]],hostBindings:function(c,l){1&c&&e.NdJ("keydown",function(ke){return l.onKeyDown(ke)},!1,e.evT)("resize",function(ke){return l.onResize(ke)},!1,e.Jf7)},decls:2,vars:1,consts:[[4,"ngIf"]],template:function(c,l){1&c&&(e.TgZ(0,"main"),e.YNc(1,Bx,1,0,"router-outlet",0),e.qZA()),2&c&&(e.xp6(),e.Q6J("ngIf",l.authorized))},dependencies:[ei.O5,Gi.lC],styles:["main[_ngcontent-%COMP%]{height:100%;min-height:100%}"]})}return d})();var yh=s(7276),Gv=s(9365),du=s(3162),xh=s(893),Jv=s(502),E_=s(6440),Vv=s(9639),zv=s(7004),Qv=s(4873),Wm=s(5862),jv=s(1286),Ux=s(8477);function Zx(d,g){if(1&d&&e._UZ(0,"col-1",8),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("components",null==l?null:l.components)}}function Yv(d,g){if(1&d&&e._UZ(0,"col-21",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function qv(d,g){if(1&d&&e._UZ(0,"col-2-1-2",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function Hx(d,g){if(1&d&&e._UZ(0,"col-2-1-3",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function Gp(d,g){if(1&d&&e._UZ(0,"col-2-2-1",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function Kv(d,g){if(1&d&&e._UZ(0,"col-2-3-1",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function $v(d,g){if(1&d&&e._UZ(0,"col-31",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function Xm(d,g){if(1&d&&e._UZ(0,"col-3-1-1-2",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function O_(d,g){if(1&d&&e._UZ(0,"col-3-1-2-1",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function Wv(d,g){if(1&d&&e._UZ(0,"col-3-2-1-1",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function Xv(d,g){if(1&d&&e._UZ(0,"col-421",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function e0(d,g){if(1&d&&e._UZ(0,"col-632",9),2&d){const i=e.oxw(),l=i.$implicit;e.Q6J("index",i.index)("templates",null==l?null:l.components)}}function t0(d,g){1&d&&e._UZ(0,"div")}function D_(d,g){if(1&d&&(e.TgZ(0,"div",4),e.YNc(1,Zx,1,2,"col-1",5)(2,Yv,1,2,"col-21",6)(3,qv,1,2,"col-2-1-2",6)(4,Hx,1,2,"col-2-1-3",6)(5,Gp,1,2,"col-2-2-1",6)(6,Kv,1,2,"col-2-3-1",6)(7,$v,1,2,"col-31",6)(8,Xm,1,2,"col-3-1-1-2",6)(9,O_,1,2,"col-3-1-2-1",6)(10,Wv,1,2,"col-3-2-1-1",6)(11,Xv,1,2,"col-421",6)(12,e0,1,2,"col-632",6)(13,t0,1,0,"div",7),e.qZA()),2&d){const i=g.$implicit;e.Q6J("ngSwitch",null==i?null:i.typeOf),e.xp6(),e.Q6J("ngSwitchCase","col-1"),e.xp6(),e.Q6J("ngSwitchCase","col-21"),e.xp6(),e.Q6J("ngSwitchCase","col-2-1-2"),e.xp6(),e.Q6J("ngSwitchCase","col-2-1-3"),e.xp6(),e.Q6J("ngSwitchCase","col-2-2-1"),e.xp6(),e.Q6J("ngSwitchCase","col-2-3-1"),e.xp6(),e.Q6J("ngSwitchCase","col-31"),e.xp6(),e.Q6J("ngSwitchCase","col-3-1-1-2"),e.xp6(),e.Q6J("ngSwitchCase","col-3-1-2-1"),e.xp6(),e.Q6J("ngSwitchCase","col-3-2-1-1"),e.xp6(),e.Q6J("ngSwitchCase","col-421"),e.xp6(),e.Q6J("ngSwitchCase","col-632")}}function A_(d,g){if(1&d&&(e.TgZ(0,"div",2),e.YNc(1,D_,14,13,"div",3),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngForOf",null==i.footer?null:i.footer.templates)}}function P_(d,g){if(1&d&&(e.TgZ(0,"div",10),e._uU(1),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.hij(" ",null==i.configService?null:i.configService.versionNumber,"\n")}}let n0=(()=>{class d{constructor(i,c,l,x){this.configService=i,this._predefinedTemplatesService=c,this._sharedService=l,this._storageService=x}ngOnInit(){this._sharedService.getLibraryChangedBS().subscribe(i=>{i&&(this._cid=i.cid,this._lid=i.lid,this._getFooter(this._cid,this._lid))})}ngOnChanges(i){this.footer=i.footer.currentValue}ngAfterViewInit(){this._predefinedTemplatesService.getFooterUndefinedBS().subscribe(i=>{null!==i&&i&&(this.footer=void 0)})}_getFooter(i,c){var l=this;return(0,t.Z)(function*(){l._predefinedTemplatesService.getFooter(i,c).subscribe(x=>{l._storageService.setFetchExpressFooter("N"),l.footer=x&&"200 OK"==x.status&&"Success"==x.message&&x.data.length>0?x.data[0]:void 0})})()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(io.E),e.Y36(Dr.fs),e.Y36(Ii.F),e.Y36(no.V))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-footer"]],inputs:{footer:"footer"},features:[e.TTD],decls:2,vars:2,consts:[["class","container-fluid back-body",4,"ngIf"],["class","ag-pa-sm back-body","style","text-align: right",4,"ngIf"],[1,"container-fluid","back-body"],[3,"ngSwitch",4,"ngFor","ngForOf"],[3,"ngSwitch"],[3,"index","components",4,"ngSwitchCase"],[3,"index","templates",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"index","components"],[3,"index","templates"],[1,"ag-pa-sm","back-body",2,"text-align","right"]],template:function(c,l){1&c&&e.YNc(0,A_,2,1,"div",0)(1,P_,2,1,"div",1),2&c&&(e.Q6J("ngIf",l.footer),e.xp6(),e.Q6J("ngIf",""!==(null==l.configService?null:l.configService.versionNumber)))},dependencies:[yh.L,Gv.q,du.q,xh.J,Jv.l,E_.o,Vv.y,zv.u,Qv.D,Wm.W,jv.E,Ux.U,ei.sg,ei.O5,ei.RF,ei.n9,ei.ED],styles:["agm-map[_ngcontent-%COMP%]{height:300px}.sign-up[_ngcontent-%COMP%]{text-align:center;vertical-align:middle;border-top:3px solid #BFB9BC;background:var(--link);padding:25px 20px}.signupInput[_ngcontent-%COMP%]{padding:11px;width:80%;margin-bottom:15px}.footer-location[_ngcontent-%COMP%]{background:var(--link)}.location[_ngcontent-%COMP%]{padding:25px;color:#fff;margin-right:0;margin-left:0}.location[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:inline-block;width:50px;text-align:right;vertical-align:top;padding-right:10px;line-height:1.5em}.footer-links[_ngcontent-%COMP%]{background:#f9f9f9;margin-right:0;margin-left:0}.footer-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;font-size:.85em;color:var(--link);cursor:pointer;line-height:1.5em;font-weight:600}.footpad[_ngcontent-%COMP%]{padding:15px 15px 15px 25px}.footpad[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, .footpad[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.followUs[_ngcontent-%COMP%]{padding:15px}.followUs[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:2.5em;display:inline-block;padding:5px}.followUs[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#999}.followUs[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:focus, .followUs[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]:hover{color:var(--link)}.footer-ads[_ngcontent-%COMP%]{padding:25px}.footer-ad[_ngcontent-%COMP%]:focus, .footer-ad[_ngcontent-%COMP%]:hover{background:var(--link);color:#fff}.footer-ad[_ngcontent-%COMP%]{color:var(--link);background:#ccc;margin:15px 0;padding:15px 25px;max-width:350px;display:inline-block;cursor:pointer;border-radius:5px}.footer-ad-icon[_ngcontent-%COMP%]{display:inline-block;width:25%;text-align:center;margin-top:5%}.footer-ad-content[_ngcontent-%COMP%]{display:inline-block;width:55%;vertical-align:top;padding-top:5px}.footer-ad-content-only[_ngcontent-%COMP%]{display:block;width:100%}.footer-Connect[_ngcontent-%COMP%]{padding-top:20px;background:#552e17;color:#fcfae1}.footer-Connect[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:.9em}.footer-Connect[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;text-decoration:underline}.hours-location[_ngcontent-%COMP%]{width:95%;display:block;margin:2% auto}.phone-number[_ngcontent-%COMP%]{color:#fff;font-size:1.65em;padding:5px}.phone-number[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:inline-block;width:50px}.phone-number[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 60px)}.address[_ngcontent-%COMP%], .email[_ngcontent-%COMP%]{font-family:roboto;display:block;font-size:1.1em;padding:5px}.address[_ngcontent-%COMP%]   i[_ngcontent-%COMP%], .email[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:inline-block;width:50px}.address[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 60px)}.email[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;font-size:1.15em;width:calc(100% - 60px);color:#fff;cursor:pointer}.email[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .email[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#fff;cursor:pointer}.get-directions[_ngcontent-%COMP%]:hover, .get-directions[_ngcontent-%COMP%]:focus{color:#fff!important;cursor:pointer}.hours[_ngcontent-%COMP%]{display:block;font-size:1em;padding:5px}.hours[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:inline-block;width:50px}.hours[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 60px)}#maps[_ngcontent-%COMP%]{width:100%;height:auto}.slim-map[_ngcontent-%COMP%]{width:100%;height:240px;background-image:url(https://www5.auto-graphics.com/v6assets/assets/images/rmpl_stylesheet.jpg);background-position:center;background-repeat:no-repeat;background-size:cover}@media screen and (min-width: 768px){.gutter-md-up[_ngcontent-%COMP%]{margin:0 50px;padding:0 15px}.address[_ngcontent-%COMP%], .email[_ngcontent-%COMP%]{font-family:roboto;display:block;font-size:.85em;padding:5px}.footer-links[_ngcontent-%COMP%]{margin-right:-15px;margin-left:-15px}}"]})}return d})();var Jp=s(8504),I_=s(4716),ef=s(2181);const o0=new e.OlP("defaultTimeout");let R_=(()=>{class d{constructor(i,c,l,x,ke){this._authService=i,this._tokenService=c,this._sharedService=l,this._storageService=x,this.defaultTimeout=ke,this._isRefreshingToken=!1,this._refreshTokenSubject=new fn.X(null)}addAuthTokenToRequest(i,c){return i.headers.has("Authorization")?i:i.clone({setHeaders:{Authorization:`Bearer ${c}`}})}intercept(i,c){const l=i.url.toLowerCase(),Mt={setToken:un=>{this._tokenService.setToken(un)},getToken:()=>this._tokenService.getToken()};return"POST"===i.method&&l.includes("/auth")&&!["overdrivepatronlogin","forgotpassword","updatepw"].some(un=>l.includes(un))||["/record","/i18n/en.json","-staff"].some(un=>l.includes(un))?c.handle(i):((l.includes("lendingpolicy?agent=")||l.includes("ws/ill")||"GET"===i.method&&l.includes("/auth?agent="))&&(Mt.setToken=un=>{this._tokenService.setResourceSharingToken(un)},Mt.getToken=()=>this._tokenService.getResourceSharingToken()),this.handleTokenizedRequest(Mt,i,c))}handleTokenizedRequest(i,c,l){const x=i.getToken();return x&&(c=this.addAuthTokenToRequest(c,x)),l.handle(c).pipe((0,os.K)(ke=>x&&ke instanceof Si.UA&&401===ke.status&&("GET"!=c.method.toUpperCase()||!c.url.includes("/auth")||c.url.includes("/auth/logout"))?this.handle401Error(i,c,l,ke):(0,Jp._)(ke)))}handle401Error(i,c,l,x){return this._isRefreshingToken?this._refreshTokenSubject.pipe((0,ef.h)(ke=>null!=ke),(0,or.q)(1),(0,ms.w)(ke=>ke?l.handle(this.addAuthTokenToRequest(c,ke)):(0,Jp._)(x))):(this._isRefreshingToken=!0,this._refreshTokenSubject.next(null),this._authService.refreshToken(i.getToken()).pipe((0,I_.x)(()=>{this._isRefreshingToken=!1}),(0,ms.w)(ke=>(this._refreshTokenSubject.next(ke),i.setToken(ke),l.handle(this.addAuthTokenToRequest(c.clone({headers:c.headers.delete("Authorization")}),ke)))),(0,os.K)(ke=>(c.url.includes("/auth/logout")||(console.error(`Refresh token failed, request: ${c}, token: ${this._tokenService.getToken()}`),this._sharedService.openSnackBar("Session expired, please logout","ok",1e4)),(0,Jp._)(ke)))))}static#e=this.\u0275fac=function(c){return new(c||d)(e.LFG(qo.e8),e.LFG(y_.B),e.LFG(Ii.F),e.LFG(no.V),e.LFG(o0))};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})();var Ch=s(8159),r0=s(9927),wh=s(4497);let L_=(()=>{class d{constructor(i,c){this._apiService=i,this._configService=c}copyCatalog(i,c,l){return this._apiService.post(this._configService.searchApi+`/bib/copy/${i}/${c}`,l)}newHolding(i,c){return this._apiService.get(this._configService.searchApi+`/bib/copy/${i}/${c}`)}modifyExistingRequest(i){return this._apiService.post(this._configService.agApi+"/illrequest/ModifyExistingRequest",i)}currentLocations(i,c){return this._apiService.get(this._configService.searchApi+`/bib/holdings/${c}/${i}`)}addLocation(i,c,l){return this._apiService.post(this._configService.searchApi+`/bib/holdings/${i}/${c}`,l)}updateLocation(i,c,l){return this._apiService.put(this._configService.searchApi+`/bib/holdings/${i}/${c}`,l)}deleteLocation(i,c,l){return this._apiService.delete(this._configService.searchApi+`/bib/holdings/${i}?holdingId=${l}`)}static#e=this.\u0275fac=function(c){return new(c||d)(e.LFG(Up.s),e.LFG(io.E))};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})();var l0=s(2616),c0=s(7989);let N_=(()=>{class d{constructor(i,c,l,x){this.router=i,this.storageService=c,this.apiService=l,this.configService=x,this.agctrlid="",this.shard="",this.url="",this.fullRecordResults=new fn.X([]),this.holdingsBS=new fn.X(null)}setHoldingsBS(i){this.holdingsBS.next(i)}getHoldingsBS(){return this.holdingsBS.asObservable()}getFullRecord(){return this.fullRecordResults.asObservable()}getFullRecordResults(){return this.fullRecordResults.asObservable()}getAvailableHoldings(i){return this.url=this.configService.searchApi+"/holding",this.apiService.post(this.url,i)}buildRecordDetails(){return{source:this.shard,agcontrolid:this.agctrlid}}static#e=this.\u0275fac=function(c){return new(c||d)(e.LFG(Gi.F0),e.LFG(no.V),e.LFG(Up.s),e.LFG(io.E))};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})(),F_=(()=>{class d{constructor(){}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})(),B_=(()=>{class d{constructor(){}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})(),U_=(()=>{class d{constructor(i,c,l){this._componentFactoryResolver=i,this._appRef=c,this._injector=l}appendComponentToBody(i){const c=this._componentFactoryResolver.resolveComponentFactory(i).create(this._injector);this._appRef.attachView(c.hostView),document.body.appendChild(c.hostView.rootNodes[0])}static#e=this.\u0275fac=function(c){return new(c||d)(e.LFG(e._Vd),e.LFG(e.z2F),e.LFG(e.zs3))};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})();var d0=s(9376);const tf=["advanceShowcase"];function Dc(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",35)(1,"span",36),e._uU(2),e.qZA()()),2&d){const i=g.$implicit;e.Q6J("value",i.listId),e.xp6(2),e.hij(" ",i.listName," ")}}function Z_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-radio-group",33),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(3);return e.KtG(x.listId=l)}),e.YNc(1,Dc,3,2,"mat-radio-button",34),e.qZA()}if(2&d){const i=e.oxw(3);e.Q6J("ngModel",i.listId),e.xp6(),e.Q6J("ngForOf",i.lists)}}function Vp(d,g){if(1&d&&(e.TgZ(0,"div",5)(1,"div",6)(2,"h6"),e._uU(3,"Select a List for Showcase"),e.qZA(),e.YNc(4,Z_,2,2,"mat-radio-group",32),e.qZA()()),2&d){const i=e.oxw(2);e.xp6(4),e.Q6J("ngIf",i.lists)}}function H_(d,g){1&d&&e._UZ(0,"i",37)}function G_(d,g){1&d&&e._UZ(0,"i",38)}function u0(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",39),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.doListShow())}),e._uU(1," Submit Showcase "),e.qZA()}}function h0(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6)(4,"label",7),e._uU(5,"Title"),e.qZA(),e.TgZ(6,"input",8),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.title=l)}),e.qZA()()(),e.TgZ(7,"div",5)(8,"div",6)(9,"label",9),e._uU(10,"Title Background Color"),e.qZA(),e._UZ(11,"br"),e.TgZ(12,"input",10),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.titleBackground=l)}),e.qZA(),e.TgZ(13,"button",11),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.titleBackground=l)}),e.qZA()()(),e.TgZ(14,"div",5)(15,"div",12)(16,"mat-checkbox",13),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setAutoPlay(l))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.autoplay=l)}),e._uU(17,"Auto Play"),e.qZA()()(),e.YNc(18,Vp,5,1,"div",14),e.qZA(),e.TgZ(19,"div",4)(20,"div",15)(21,"button",16),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.isCollapsed=!l.isCollapsed)}),e._uU(22," More Options "),e.YNc(23,H_,1,0,"i",17)(24,G_,1,0,"i",18),e.qZA()()(),e.TgZ(25,"div",19)(26,"div",20)(27,"h3"),e._uU(28," Design Elements "),e._UZ(29,"i",21),e.qZA()(),e.TgZ(30,"div",4)(31,"div",5)(32,"div",6)(33,"label",22),e._uU(34,"Font Color"),e.qZA(),e._UZ(35,"br"),e.TgZ(36,"input",23),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.color=l)}),e.qZA(),e.TgZ(37,"button",11),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.color=l)}),e.qZA()()(),e.TgZ(38,"div",5)(39,"div",6)(40,"label",24),e._uU(41,"Background Color"),e.qZA(),e._UZ(42,"br"),e.TgZ(43,"input",25),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.background=l)}),e.qZA(),e.TgZ(44,"button",11),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.background=l)}),e.qZA()()(),e.TgZ(45,"div",5)(46,"div",12)(47,"label",26)(48,"input",27),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.flushed=l)}),e.qZA(),e._uU(49,"Flush in template. "),e.qZA()(),e._UZ(50,"hr",28),e.qZA()()(),e.TgZ(51,"div",29)(52,"div",30),e.YNc(53,u0,2,0,"button",31),e.qZA()()()}if(2&d){const i=e.oxw();e.xp6(6),e.Q6J("ngModel",i.title),e.xp6(6),e.Q6J("ngModel",i.titleBackground),e.xp6(),e.Udp("background",i.titleBackground),e.Q6J("colorPicker",i.titleBackground),e.xp6(3),e.Q6J("ngModel",i.autoplay),e.xp6(2),e.Q6J("ngIf",!i.isPopularList),e.xp6(5),e.Q6J("ngIf",i.isCollapsed),e.xp6(),e.Q6J("ngIf",!i.isCollapsed),e.xp6(),e.Q6J("ngbCollapse",i.isCollapsed),e.xp6(4),e.Q6J("matTooltipPosition","right"),e.xp6(7),e.Q6J("ngModel",i.color),e.xp6(),e.Udp("background",i.color),e.Q6J("colorPicker",i.color),e.xp6(6),e.Q6J("ngModel",i.background),e.xp6(),e.Udp("background",i.background),e.Q6J("colorPicker",i.background),e.xp6(4),e.Q6J("ngModel",i.flushed),e.xp6(5),e.Q6J("ngIf","static"===i.showcaseType)}}function p0(d,g){if(1&d&&(e.TgZ(0,"div",48)(1,"div",49),e._uU(2),e._UZ(3,"i",50),e.qZA()()),2&d){const i=e.oxw(2);e.xp6(2),e.hij(" Total Records Found : ",i.recordsCount," "),e.xp6(),e.Q6J("matTooltipPosition","right")}}function m0(d,g){1&d&&e._UZ(0,"i",37)}function J_(d,g){1&d&&e._UZ(0,"i",38)}function zx(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",51),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.saveShowCase())}),e._uU(1," Submit Showcase "),e.qZA()}if(2&d){const i=e.oxw(2);e.Q6J("disabled",0===i.recordsCount)}}function f0(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",6)(4,"label",7),e._uU(5,"Title"),e.qZA(),e.TgZ(6,"input",8),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.title=l)}),e.qZA()()(),e.TgZ(7,"div",5)(8,"div",6)(9,"label",9),e._uU(10,"Title Background Color"),e.qZA(),e._UZ(11,"br"),e.TgZ(12,"input",10),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.titleBackground=l)}),e.qZA(),e.TgZ(13,"button",11),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.titleBackground=l)}),e.qZA()()(),e.TgZ(14,"div",5)(15,"div",12)(16,"mat-checkbox",13),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.setAutoPlay(l))})("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.autoplay=l)}),e._uU(17,"Auto Play"),e.qZA()()(),e.YNc(18,p0,4,2,"div",40),e.TgZ(19,"ag-advanced-search",41,42),e.NdJ("count",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.recordsFound(l))}),e.qZA(),e.TgZ(21,"div",4)(22,"div",43)(23,"button",16),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.isCollapsed=!l.isCollapsed)}),e._uU(24," More Options "),e.YNc(25,m0,1,0,"i",17)(26,J_,1,0,"i",18),e.qZA()()(),e.TgZ(27,"div",19)(28,"div",44)(29,"h3"),e._uU(30," Design Elements "),e._UZ(31,"i",21),e.qZA()(),e.TgZ(32,"div",4)(33,"div",5)(34,"div",6)(35,"label",22),e._uU(36,"Font Color"),e.qZA(),e._UZ(37,"br"),e.TgZ(38,"input",23),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.color=l)}),e.qZA(),e.TgZ(39,"button",11),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.color=l)}),e.qZA()()(),e.TgZ(40,"div",5)(41,"div",6)(42,"label",24),e._uU(43,"Background Color"),e.qZA(),e._UZ(44,"br"),e.TgZ(45,"input",25),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.background=l)}),e.qZA(),e.TgZ(46,"button",11),e.NdJ("colorPickerChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.background=l)}),e.qZA()()(),e.TgZ(47,"div",5)(48,"div",12)(49,"label",45)(50,"input",27),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.flushed=l)}),e.qZA(),e._uU(51,"Flush in template. "),e.qZA()(),e._UZ(52,"hr",28),e.qZA()()(),e.TgZ(53,"div",46)(54,"div",30),e.YNc(55,zx,2,1,"button",47),e.qZA()()()()}if(2&d){const i=e.oxw();e.xp6(6),e.Q6J("ngModel",i.title),e.xp6(6),e.Q6J("ngModel",i.titleBackground),e.xp6(),e.Udp("background",i.titleBackground),e.Q6J("colorPicker",i.titleBackground),e.xp6(3),e.Q6J("ngModel",i.autoplay),e.xp6(2),e.Q6J("ngIf",i.recordsCount>-1),e.xp6(),e.Q6J("showcase",!0)("grid",!1)("embeddedComponent",!0)("template",i.template[i.compArray]),e.xp6(6),e.Q6J("ngIf",i.isCollapsed),e.xp6(),e.Q6J("ngIf",!i.isCollapsed),e.xp6(),e.Q6J("ngbCollapse",i.isCollapsed),e.xp6(4),e.Q6J("matTooltipPosition","right"),e.xp6(7),e.Q6J("ngModel",i.color),e.xp6(),e.Udp("background",i.color),e.Q6J("colorPicker",i.color),e.xp6(6),e.Q6J("ngModel",i.background),e.xp6(),e.Udp("background",i.background),e.Q6J("colorPicker",i.background),e.xp6(4),e.Q6J("ngModel",i.flushed),e.xp6(5),e.Q6J("ngIf","dynamic"===i.showcaseType)}}let Qx=(()=>{class d extends na.e{constructor(i,c,l,x,ke,Mt){super(i),this._layoutService=i,this._editService=c,this._sharedService=l,this._predefinedTemplatesService=x,this._storageService=ke,this._yourListService=Mt,this.dynamic=!0,this.defaultColors=!0,this.starterTheme="",this.isPopularList=!1,this.isCollapsed=!0,this.autoplay=!0,this.showcaseType="dynamic",this.typeOf="showcase",this.infinite=!0,this.items=[],this._unsubscribeAll=new Fa.x}ngOnChanges(i){i&&(i.template&&(this.template=i.template.currentValue),i.rowType&&(this.rowType=i.rowType.currentValue),i.rowArray&&(this.rowArray=i.rowArray.currentValue),i.compArray&&(this.compArray=i.compArray.currentValue),i.show&&(this.show=i.show.currentValue),i.type&&(this.type=i.type.currentValue),i.edit&&(this.edit=i.edit.currentValue),i.dynamic&&(this.dynamic=i.dynamic.currentValue),this.widgetEdit=!!i.widgetEdit&&i.widgetEdit.currentValue,this.dynamic?this.showcaseType="dynamic":(this.showcaseType="static",this.isPopularList?this.getPopularLists():this.getLists()),!0===this.edit?(this.setRowType(),this.getFormVariables()):this.setNewVariables(),this._predefinedTemplatesService.getShowCaseResultsBS().pipe((0,ji.R)(this._unsubscribeAll)).subscribe(c=>{this.ShowCaseResults=c}),i.starterTheme&&(this.starterTheme=i.starterTheme.currentValue),!this.edit&&this.template&&""!==this.starterTheme&&this.starterTheme&&i.defaultColors&&(this.defaultColors=i.defaultColors.currentValue,this.defaultColors&&(this.color=this.defaultColors.fontColor,this.background=this.defaultColors.backColor)))}ngOnDestroy(){this._unsubscribeAll.next(),this._unsubscribeAll.complete()}setAutoPlay(i){this.autoplay=i.checked}setNewVariables(){this.firstNewVariables().some(i=>i===this.rowType)?this.initializeValues("height-250 padding-10-15"):this.secondNewVariables().some(i=>i===this.rowType)?this.initializeValues("height-200 padding-10-15"):this.initializeValues("padding-25")}firstNewVariables(){return["col-2","col-21","col-2-1-2","col-2-1-3","col-2-2-1","col-2-3-1","col-31","col-3-1-1-2","col-3-1-2-1","col-3-2-1-1"]}secondNewVariables(){return["col-42","col-421","col-51","col-632"]}initializeValues(i){this.className=i,this.titleBackground="",this.background="",this.backImg="",this.color="",this.flushed=!0,this.autoplay=!0,this.autoplaySpeed=4e3,this.infinite=!0,this.variableWidth="",this.responsive=""}getFormVariables(){this.typeOf="showcase",this.title=this.template[this.compArray].title,this.titleBackground=this.template[this.compArray].titleBackground,this.background=this.template[this.compArray].background,this.backImg=this.template[this.compArray].backImg,this.color=this.template[this.compArray].color,this.flushed=this.template[this.compArray].flushed,this.autoplay=this.template[this.compArray].autoplay,this.autoplaySpeed=this.template[this.compArray].autoplaySpeed,this.infinite=this.template[this.compArray].infinite,this.variableWidth=this.template[this.compArray].variableWidth,this.className=this.template[this.compArray].className,this.responsive=this.template[this.compArray].responsive}setRowType(){this.className=this.firstRowTypes().some(i=>i===this.rowType)?"height-250 padding-10-15":this.secondRowTypes().some(i=>i===this.rowType)?"height-200 padding-10-15":"padding-25"}firstRowTypes(){return["col-21","col-2-1-2","col-2-1-3","col-2-2-1","col-2-3-1","col-3-1-2-1"]}secondRowTypes(){return["col-2","col-31","col-3-1-1-2","col-3-2-1-1","col-42","col-421","col-51","col-632"]}recordsFound(i){this.recordsCount=i}getSHOWstyles(){return{color:this.color,"background-color":this.background,"background-image":"url("+this.backImg+")"}}getLists(){this._yourListService.lists$.pipe((0,ji.R)(this._unsubscribeAll)).subscribe(i=>{this._listBindings(i)},i=>{this._sharedService.openSnackBar("Unable to load lists."),console.error(i)})}_listBindings(i){if(!i?.lists?.length)return;this.lists=i.lists;const c=this.edit&&this.template&&this.template[this.compArray].listId?this.lists.find(l=>l.listId===this.template[this.compArray].listId):this.lists[0];this.listId=c?.listId}getPopularLists(){this._yourListService.getPopularLists().subscribe(i=>{this._listBindings(i)})}doListShow(){const i={typeOf:this.isPopularList?"popular-list":"showcase-list",className:this.className,flushed:this.flushed,color:this.color,title:this.title,titleBackground:this.titleBackground,background:this.background,backImg:this.backImg,autoplay:this.autoplay,autoplaySpeed:this.autoplaySpeed,infinite:this.infinite,variableWidth:this.variableWidth,responsive:this.responsive,dynamic:!1,listId:this.listId,cid:this._storageService.getCid(),lid:this._storageService.getLid()};this._editService.setSHOWCASE(i,this.rowType,this.template,this.rowArray,this.compArray),this.closeNav()}saveShowCase(){const i={typeOf:"showcase",className:this.className,flushed:this.flushed,color:this.color,title:this.title,titleBackground:this.titleBackground,background:this.background,backImg:this.backImg,autoplay:this.autoplay,autoplaySpeed:this.autoplaySpeed,infinite:this.infinite,variableWidth:this.variableWidth,responsive:this.responsive,query:this.advanceShowcase.buildAdvancedSearchRequest(),dynamic:!0};this._editService.setSHOWCASE(i,this.rowType,this.template,this.rowArray,this.compArray),this.closeNav()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(We.P),e.Y36(as.n),e.Y36(Ii.F),e.Y36(Dr.fs),e.Y36(no.V),e.Y36(v.K))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-edit-c-showcase"]],viewQuery:function(c,l){if(1&c&&e.Gf(tf,5),2&c){let x;e.iGM(x=e.CRH())&&(l.advanceShowcase=x.first)}},inputs:{show:"show",template:"template",type:"type",rowType:"rowType",rowArray:"rowArray",compArray:"compArray",edit:"edit",date:"date",widgetEdit:"widgetEdit",dynamic:"dynamic",defaultColors:"defaultColors",starterTheme:"starterTheme",isPopularList:"isPopularList"},features:[e.qOj,e.TTD],decls:5,vars:2,consts:[[1,"text-center","width-100"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],["class","container-fluid",4,"ngIf"],[1,"container-fluid"],[1,"edit","row"],[1,"col-12","margin-5-0"],[1,"form-group"],["for","name"],["type","text","id","name","aria-describedby","title","placeholder","Enter Title",1,"form-control",3,"ngModel","ngModelChange"],["for","titleBackground"],["type","text","id","titleBackground","aria-describedby","Font Color","placeholder","Background Color",1,"form-control","color",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Change Color",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],[1,"form-check"],["name","Auto Play",3,"ngModel","change","ngModelChange"],["class","col-12 margin-5-0",4,"ngIf"],[1,"col-12","margin-5-0","padding-0-10"],["role","button","type","button","aria-label","More Options",1,"btn","btn-link",3,"click"],["class","fa fa-caret-right","aria-hidden","true",4,"ngIf"],["class","fa fa-caret-down","aria-hidden","true",4,"ngIf"],[1,"width-100","padding-0-25",3,"ngbCollapse"],[1,"block","row","text-center","margin-0"],["aria-hidden","true","matTooltip","Change the overall Font and Background Color, flush out margins in template, and add additional classes for this component.",1,"fa","fa-question-circle-o",2,"margin-left","5px",3,"matTooltipPosition"],["for","color"],["type","text","id","color","aria-describedby","Font Color","placeholder","Font Color",1,"form-control","color",3,"ngModel","ngModelChange"],["for","background"],["type","text","id","background","aria-describedby","Background","placeholder","Background Color",1,"form-control","color",3,"ngModel","ngModelChange"],[1,"form-check-label"],["type","checkbox","id","flush",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],[1,"padding-5"],[1,"width-100","text-center","padding-0-15","background-color"],[1,"padding-10","text-end"],["role","button","aria-label","Submit Showcase","type","submit","class","btn btn-primary",3,"click",4,"ngIf"],[3,"ngModel","ngModelChange",4,"ngIf"],[3,"ngModel","ngModelChange"],["class","width-100",3,"value",4,"ngFor","ngForOf"],[1,"width-100",3,"value"],[1,"wrap-text"],["aria-hidden","true",1,"fa","fa-caret-right"],["aria-hidden","true",1,"fa","fa-caret-down"],["role","button","aria-label","Submit Showcase","type","submit",1,"btn","btn-primary",3,"click"],["class","width-100 margin-10-0 text-center",4,"ngIf"],[3,"showcase","grid","embeddedComponent","template","count"],["advanceShowcase",""],[1,"col-12","margin-5-0","padding-10"],[1,"block","row","text-center","margin-15-0"],["for","flush",1,"form-check-label"],[1,"width-100","text-center","padding-15","background-color"],["role","button","type","button","aria-label","Submit Showcase","class","btn btn-primary",3,"disabled","click",4,"ngIf"],[1,"width-100","margin-10-0","text-center"],[1,"total-records"],["aria-hidden","true","matTooltip","To Narrow Results enter a search term in Advance Search, Choose different Resources or Refine your search, and Submit Showcase to see it on your page.",1,"fa","question-help","fa-question-circle-o",3,"matTooltipPosition"],["role","button","type","button","aria-label","Submit Showcase",1,"btn","btn-primary",3,"disabled","click"]],template:function(c,l){1&c&&(e.TgZ(0,"h3",0),e._uU(1," Showcase "),e.TgZ(2,"i",1),e.NdJ("click",function(){return l.closeNav()}),e.qZA()(),e.YNc(3,h0,54,21,"div",2)(4,f0,56,25,"div",2)),2&c&&(e.xp6(3),e.Q6J("ngIf","static"===l.showcaseType),e.xp6(),e.Q6J("ngIf","dynamic"===l.showcaseType))},dependencies:[d0.s,ei.sg,ei.O5,At.Fj,At.Wl,At.JJ,At.On,Go.FC,wo.OY,wo.vy,pa.Kd,qs._D,Ms.Kk],styles:[".mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{padding-right:16px}.total-records[_ngcontent-%COMP%]{font-weight:700}.selectedList[_ngcontent-%COMP%]{padding:10px;margin:0;border:1px solid lightgrey;border-radius:5px;overflow-x:auto}.selectedList[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:80px;max-height:135px}.slickCarousel[_ngcontent-%COMP%]{overflow-y:hidden;max-height:250px;display:inline-flex}.slick-item[_ngcontent-%COMP%]{width:150px;display:inline-block}.remove-overlay[_ngcontent-%COMP%]{min-width:125px;float:left;text-align:center;position:relative;padding:5px}.check-overlay[_ngcontent-%COMP%]{position:absolute;width:90%;left:6px;top:1px;height:100%;z-index:10;background:transparent}.check-overlay[_ngcontent-%COMP%]:hover, .check-overlay[_ngcontent-%COMP%]:focus{cursor:pointer;background:#0003}.check-overlay[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:none}.check-overlay[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%], .check-overlay[_ngcontent-%COMP%]:focus   i[_ngcontent-%COMP%]{display:inline-block;font-size:4em;margin-top:25%;color:#fff}.captions[_ngcontent-%COMP%]{margin-top:135px}a[_ngcontent-%COMP%]{color:var(--link)}select[_ngcontent-%COMP%]{padding:5px 10px;border-radius:5px;border:1px solid lightgrey}h3[_ngcontent-%COMP%]{display:inline-block;border-radius:3px;padding:10px;margin-bottom:0}.advHeading[_ngcontent-%COMP%]{margin-top:30px;border-bottom:3px solid var(--text-icons);text-indent:15px;clear:both;width:100%;display:inline-block}.linkText[_ngcontent-%COMP%]{font-size:.65em}.advance-phrase[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding:10px 5px;margin:0 5px 5px;width:96%;float:left;font-size:.85em;border-radius:5px;border:1px solid lightgrey}.advance-phrase[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin-bottom:5px;float:left}.advIndexOperator[_ngcontent-%COMP%]{max-width:initial!important}.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{display:inline-block;float:left;width:88%;margin:0 5px 5px;padding:10px;font-size:.85em}.textIn[_ngcontent-%COMP%]{padding:0 10px;display:inline;line-height:36px;float:left;line-height:48px;height:48px;color:var(--header-color)}.advSearchOptions[_ngcontent-%COMP%]{display:inline-block;width:100%;padding:5px 15px 10px}.advSearchOptionsLabel[_ngcontent-%COMP%]{display:inline-block;padding:5px 10px}.advSearchOptions[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{display:inline-block;clear:right;padding:5px 10px;float:inherit}.advCTA[_ngcontent-%COMP%]{padding:25px}.advCTA[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}.target-events[_ngcontent-%COMP%]{background:#efefef;color:gray;cursor:pointer;text-align:center;border-radius:5px}.target-event[_ngcontent-%COMP%]{padding:10px}.target-event[_ngcontent-%COMP%]:hover, .target-event[_ngcontent-%COMP%]:focus{background:#d3d3d3;color:gray}.target-list[_ngcontent-%COMP%]{padding-left:0;list-style:none;clear:both;margin-bottom:25px}.target-heading[_ngcontent-%COMP%]{width:100%}.target-heading[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{padding-bottom:10px;font-size:1.15rem}.target-heading[_ngcontent-%COMP%] > span.target-icon[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{color:gray;font-size:1.75em;margin-top:5px;display:inline-block}.target-icon[_ngcontent-%COMP%]{padding:5px;vertical-align:middle}.target-list-ul[_ngcontent-%COMP%]{padding:5px 35px 5px 15px;list-style:none;margin-bottom:30px;clear:both}.target-list-li[_ngcontent-%COMP%]{float:left}.custom-control[_ngcontent-%COMP%]{padding-left:2rem;line-height:2rem}.custom-control-indicator[_ngcontent-%COMP%]{height:1.5rem;width:1.5rem}.refineLibrarySelect[_ngcontent-%COMP%]{padding:5px;margin-left:35px}@media screen and (max-width: 575px){.linkText[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 768px) and (max-width: 991px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:130px}}@media screen and (min-width: 992px) and (max-width: 1199px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:180px}}@media screen and (min-width: 1200px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:220px}}"]})}return d})();var V_=s(6177);const z_=["advanceShowcase"],Q_=["chipLabel"];function jx(d,g){if(1&d&&(e.TgZ(0,"div",39)(1,"div",40),e._uU(2),e._UZ(3,"i",41),e.qZA()()),2&d){const i=e.oxw();e.xp6(2),e.hij(" Total Records Found : ",i.recordsCount," "),e.xp6(),e.Q6J("matTooltipPosition","right")}}function No(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",42),e._UZ(1,"input",43,44),e.TgZ(3,"button",45),e.NdJ("click",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.AddChip(l))}),e._uU(4," Add Search Chip "),e.qZA(),e._UZ(5,"i",46),e.qZA()}if(2&d){const i=e.oxw();e.xp6(3),e.Q6J("disabled",0===i.recordsCount),e.xp6(2),e.Q6J("matTooltipPosition","right")}}function j_(d,g){1&d&&(e.TgZ(0,"mat-icon",51),e._UZ(1,"i",52),e.qZA())}function Y_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-chip",49),e.NdJ("removed",function(){const x=e.CHM(i).index,ke=e.oxw(2);return e.KtG(ke.removeTopic(x))})("click",function(){const l=e.CHM(i),x=l.$implicit,ke=l.index,Mt=e.oxw(2);return e.KtG(Mt.editTopic(x,ke))}),e._uU(1),e.YNc(2,j_,2,0,"mat-icon",50),e.qZA()}if(2&d){const i=g.$implicit,c=e.oxw(2);e.Q6J("selectable",c.selectable)("removable",c.removable),e.xp6(),e.hij(" ",null==i?null:i.description," "),e.xp6(),e.Q6J("ngIf",c.removable)}}function uu(d,g){if(1&d&&(e.TgZ(0,"div",4)(1,"mat-chip-list",null,47),e.YNc(3,Y_,3,4,"mat-chip",48),e.qZA()()),2&d){const i=e.oxw();e.xp6(3),e.Q6J("ngForOf",i.SearchTopic.rowChips)}}function q_(d,g){1&d&&e._UZ(0,"i",53)}function K_(d,g){1&d&&e._UZ(0,"i",54)}function _0(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",55)(1,"button",56),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.updateTOPIC())}),e._uU(2," Preview "),e.qZA(),e.TgZ(3,"button",57),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.submitTOPIC())}),e._uU(4," Save and Close "),e.qZA()()}}let zp=(()=>{class d extends na.e{constructor(i,c,l,x){super(i),this._layoutService=i,this._editService=c,this._predefinedTemplatesService=l,this._sharedService=x,this.libArray=[],this.topicColor="var(--link)",this.topicBack="#fafafa",this.flushed=!1,this.eachRow=!1,this.hoverTheme=!0,this.rowChips=[],this.libraries=!0,this.lang=!1,this.pubYears=!0,this.formats=!0,this.matTypes=!0,this.audience=!0,this.reading=!0,this.interest=!1,this.point=!0,this.lexile=!0,this.dateAdded=!0,this.showAddTopic=!0,this.clear=!1,this.panelOneOpenState=!0,this.panelTwoOpenState=!1,this.isCollapsed=!0,this.visible=!0,this.selectable=!0,this.removable=!0,this.addOnBlur=!0}ngOnInit(){this._predefinedTemplatesService.getPageIdEditBS().subscribe(i=>{this.pageIdEdit=i})}ngOnChanges(i){this.temp=this.template,!0===this.edit?(this.setRowType(),this.getFormVariables()):this.setNewVariables(),this.SearchTopic=this.temp[this.compArray],this.rowChips=this.SearchTopic.rowChips??[],this.clear=!0}setNewVariables(){this.flushed=!0,this.color="",this.background="",this.topicColor="",this.topicBack="",this.hoverTheme=!1,this.eachRow=!1,this.className="padding-25"}getFormVariables(){this.title=this.temp[this.compArray].title,this.background=this.temp[this.compArray].background,this.color=this.temp[this.compArray].color,this.flushed=this.temp[this.compArray].flushed,this.className=this.temp[this.compArray].className,this.topicColor=this.temp[this.compArray].topicColor,this.topicBack=this.temp[this.compArray].topicBack,this.eachRow=this.temp[this.compArray].eachRow,this.hoverTheme=this.temp[this.compArray].hoverTheme,this.rowChips=this.temp[this.compArray].rowChips}setRowType(){this.className="padding-25"}updateTOPIC(){for(let c=0;c<this.rowChips.length;c++){const l=this.rowChips[c];if(!1===Array.isArray(l.description)){const x=[];x.push(l.description),l.description=x}}this._editService.setTOPIC({typeOf:"topic",title:this.title,color:this.color,background:this.background,topicColor:this.topicColor,topicBack:this.topicBack,flushed:this.flushed,eachRow:this.eachRow,hoverTheme:this.hoverTheme,className:this.className,rowChips:this.rowChips},this.rowType,this.temp,this.rowArray,this.compArray)}submitTOPIC(){this.rowChips&&this.rowChips.length>0?(this._editService.setTOPIC({typeOf:"topic",title:this.title,color:this.color,background:this.background,topicColor:this.topicColor,topicBack:this.topicBack,flushed:this.flushed,eachRow:this.eachRow,hoverTheme:this.hoverTheme,className:this.className,rowChips:this.rowChips},this.rowType,this.temp,this.rowArray,this.compArray),this.closeNav()):this._sharedService.openSnackBar("please add a chip name to save","ok")}recordsFound(i){this.recordsCount=i}AddChip(i){const c=this.advanceShowcase.buildAdvancedSearchRequest();this.rowChips.push({description:this.chipLabel.nativeElement.value,query:c}),this.SearchTopic.rowChips=this.rowChips,this.chipLabel.nativeElement.value="",this.prevRowArr=this.rowArray,this.prevCompArr=this.compArray}removeTopic(i){this.SearchTopic.rowChips.splice(i,1)}editTopic(i,c){this.removable=!1,this.showAddTopic=!1,i.position=c,this.chipEdit=i}saveTopic(i){const c=i.position,l={query:i.query,description:i.description,position:i.position};for(let x=0;x<this.rowChips.length;x++)x===c&&this.rowChips.splice(c,1,l);this.SearchTopic.rowChips=this.rowChips,this.removable=!0,this.showAddTopic=!0}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(We.P),e.Y36(as.n),e.Y36(Dr.fs),e.Y36(Ii.F))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-c-topic"]],viewQuery:function(c,l){if(1&c&&(e.Gf(z_,5),e.Gf(Q_,5)),2&c){let x;e.iGM(x=e.CRH())&&(l.advanceShowcase=x.first),e.iGM(x=e.CRH())&&(l.chipLabel=x.first)}},inputs:{template:"template",rowType:"rowType",rowArray:"rowArray",compArray:"compArray",topic:"topic",edit:"edit"},features:[e.qOj,e.TTD],decls:76,vars:34,consts:[[1,"text-center","width-100"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],[1,"container-fluid"],[1,"edit","row"],[1,"col-12"],[1,"form-group"],["for","name"],["type","text","id","name","aria-describedby","title","placeholder","Enter Title",1,"form-control",3,"ngModel","ngModelChange"],["for","color"],["type","text","id","color","aria-describedby","Title Color","placeholder","Font Color",1,"form-control","color",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Choose Color",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],["class","width-100 margin-15-0 text-center",4,"ngIf"],[3,"topic","grid","embeddedComponent","topicTemplate","chipEdit","clear","count","editedChip"],["advanceShowcase",""],[1,"width-100","text-center","padding-15","background-color"],["style","width: 100%",4,"ngIf"],[1,"row",2,"padding","0","margin","0"],["class","col-12",4,"ngIf"],["role","button","type","button","aria-label","More Options",1,"btn","btn-link",3,"click"],["class","fa fa-caret-right","aria-hidden","true",4,"ngIf"],["class","fa fa-caret-down","aria-hidden","true",4,"ngIf"],[1,"width-100","padding-0-25",3,"ngbCollapse"],[1,"block","row","text-center"],["for","topicColor"],["type","text","id","topicColor","aria-describedby","Topic Color","placeholder","Topic Color",1,"form-control","color",3,"ngModel","ngModelChange"],["for","topicBack"],["type","text","id","topicBack","aria-describedby","Topic Background","placeholder","Topic Background",1,"form-control","color",3,"ngModel","ngModelChange"],[1,"col-12","margin-5-0"],[1,"form-check"],["for","hoverTheme",1,"form-check-label"],["type","checkbox","id","hoverTheme",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"checked","ngModel","ngModelChange"],["for","background"],["type","text","id","background","aria-describedby","Background","placeholder","Enter Background Color",1,"form-control","color",3,"ngModel","ngModelChange"],["for","flush",1,"form-check-label"],["type","checkbox","id","flush",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],["for","eachRow",1,"form-check-label"],["type","checkbox","id","eachRow",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],[1,"padding-5"],["class","padding-10 text-end",4,"ngIf"],[1,"width-100","margin-15-0","text-center"],[1,"total-records"],["aria-hidden","true","matTooltip","To Narrow Results enter a search term in Advance Search, add a description to the label, and click on button Add Search Chip button.\n                            Click on the Update to see it on the page, or just Save and Close.",1,"fa","question-help","fa-question-circle-o",3,"matTooltipPosition"],[2,"width","100%"],["placeholder","Chip Name","title","Chip Name",1,"form-control","inline-block","input-action-row",2,"width","200px"],["chipLabel",""],["role","button","type","button","aria-label","Add Search Chip","color","primary","mat-button","","start","",3,"disabled","click"],["aria-hidden","true","matTooltip","chip name is required to save each search result",1,"range-inputs-tooltip","fa","fa-question-circle-o",3,"matTooltipPosition"],["chipTopic",""],["color","accent",3,"selectable","removable","removed","click",4,"ngFor","ngForOf"],["color","accent",3,"selectable","removable","removed","click"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],["aria-hidden","true","title","Remove Active Facet",1,"facet-close","fa","fa-times-circle-o"],["aria-hidden","true",1,"fa","fa-caret-right"],["aria-hidden","true",1,"fa","fa-caret-down"],[1,"padding-10","text-end"],["role","button","type","button","aria-label","Preview",1,"btn","btn-link",3,"click"],["role","button","type","button","aria-label","Save and Close",1,"btn","btn-primary",3,"click"]],template:function(c,l){1&c&&(e.TgZ(0,"h3",0),e._uU(1," Topic Search "),e.TgZ(2,"i",1),e.NdJ("click",function(){return l.closeNav()}),e.qZA()(),e.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"label",6),e._uU(8,"Topic Title"),e.qZA(),e.TgZ(9,"input",7),e.NdJ("ngModelChange",function(ke){return l.title=ke}),e.qZA()()(),e.TgZ(10,"div",4)(11,"div",5)(12,"label",8),e._uU(13,"Topic Title Color"),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"input",9),e.NdJ("ngModelChange",function(ke){return l.color=ke}),e.qZA(),e.TgZ(16,"button",10),e.NdJ("colorPickerChange",function(ke){return l.color=ke}),e.qZA()()()(),e.YNc(17,jx,4,2,"div",11),e.TgZ(18,"ag-advanced-search",12,13),e.NdJ("count",function(ke){return l.recordsFound(ke)})("editedChip",function(ke){return l.saveTopic(ke)}),e.qZA(),e.TgZ(20,"div",3)(21,"div",14),e.YNc(22,No,6,2,"div",15),e.qZA(),e.TgZ(23,"div",4)(24,"div",2)(25,"div",16),e.YNc(26,uu,4,1,"div",17),e.qZA()()(),e.TgZ(27,"div",4)(28,"button",18),e.NdJ("click",function(){return l.isCollapsed=!l.isCollapsed}),e._uU(29," More Options "),e.YNc(30,q_,1,0,"i",19)(31,K_,1,0,"i",20),e.qZA()()(),e.TgZ(32,"div",21)(33,"div",22)(34,"h3"),e._uU(35,"Design Elements"),e.qZA()(),e.TgZ(36,"div",3)(37,"div",4)(38,"div",5)(39,"label",23),e._uU(40,"Topic Font Color"),e.qZA(),e._UZ(41,"br"),e.TgZ(42,"input",24),e.NdJ("ngModelChange",function(ke){return l.topicColor=ke}),e.qZA(),e.TgZ(43,"button",10),e.NdJ("colorPickerChange",function(ke){return l.topicColor=ke}),e.qZA()()(),e.TgZ(44,"div",4)(45,"div",5)(46,"label",25),e._uU(47,"Topic Background Color"),e.qZA(),e._UZ(48,"br"),e.TgZ(49,"input",26),e.NdJ("ngModelChange",function(ke){return l.topicBack=ke}),e.qZA(),e.TgZ(50,"button",10),e.NdJ("colorPickerChange",function(ke){return l.topicBack=ke}),e.qZA()()(),e.TgZ(51,"div",27)(52,"div",28)(53,"label",29)(54,"input",30),e.NdJ("ngModelChange",function(ke){return l.hoverTheme=ke}),e.qZA(),e._uU(55,"Enable Hover / Focus. "),e.qZA()()(),e.TgZ(56,"div",4)(57,"div",5)(58,"label",31),e._uU(59,"Background Color"),e.qZA(),e._UZ(60,"br"),e.TgZ(61,"input",32),e.NdJ("ngModelChange",function(ke){return l.background=ke}),e.qZA(),e.TgZ(62,"button",10),e.NdJ("colorPickerChange",function(ke){return l.background=ke}),e.qZA()()()(),e.TgZ(63,"div",3)(64,"div",27)(65,"div",28)(66,"label",33)(67,"input",34),e.NdJ("ngModelChange",function(ke){return l.flushed=ke}),e.qZA(),e._uU(68,"Flush in template. "),e.qZA()(),e.TgZ(69,"div",28)(70,"label",35)(71,"input",36),e.NdJ("ngModelChange",function(ke){return l.eachRow=ke}),e.qZA(),e._uU(72,"Show Topic per Row. "),e.qZA()(),e._UZ(73,"hr",37),e.qZA()()(),e.TgZ(74,"div",14),e.YNc(75,_0,5,0,"div",38),e.qZA()()),2&c&&(e.xp6(9),e.Q6J("ngModel",l.title),e.xp6(6),e.Q6J("ngModel",l.color),e.xp6(),e.Udp("background",l.color),e.Q6J("colorPicker",l.color),e.xp6(),e.Q6J("ngIf",l.recordsCount>-1),e.xp6(),e.Q6J("topic",!0)("grid",!1)("embeddedComponent",!0)("topicTemplate",l.rowChips)("chipEdit",l.chipEdit)("clear",l.clear),e.xp6(4),e.Q6J("ngIf",l.showAddTopic),e.xp6(4),e.Q6J("ngIf",l.SearchTopic),e.xp6(4),e.Q6J("ngIf",l.isCollapsed),e.xp6(),e.Q6J("ngIf",!l.isCollapsed),e.xp6(),e.Q6J("ngbCollapse",l.isCollapsed),e.xp6(10),e.Q6J("ngModel",l.topicColor),e.xp6(),e.Udp("background",l.topicColor),e.Q6J("colorPicker",l.topicColor),e.xp6(6),e.Q6J("ngModel",l.topicBack),e.xp6(),e.Udp("background",l.topicBack),e.Q6J("colorPicker",l.topicBack),e.xp6(4),e.Q6J("checked",l.hoverTheme)("ngModel",l.hoverTheme),e.xp6(7),e.Q6J("ngModel",l.background),e.xp6(),e.Udp("background",l.background),e.Q6J("colorPicker",l.background),e.xp6(5),e.Q6J("ngModel",l.flushed),e.xp6(4),e.Q6J("ngModel",l.eachRow),e.xp6(4),e.Q6J("ngIf",null!==l.SearchTopic||void 0!==l.SearchTopic))},dependencies:[d0.s,ei.sg,ei.O5,At.Fj,At.Wl,At.JJ,At.On,Zn.eB,V_.ir,V_.lw,V_.Y6,Jo.Hw,pa.Kd,qs._D,Ms.Kk],styles:[".mat-expansion-panel-body[_ngcontent-%COMP%]{padding:initial!important}.editForm[_ngcontent-%COMP%]   .mat-expansion-panel-body[_ngcontent-%COMP%]{max-height:65vh!important;overflow-y:auto;min-height:initial!important}.total-records[_ngcontent-%COMP%]{font-size:inherit;font-weight:500;margin-bottom:5px}.pad-space[_ngcontent-%COMP%]{padding:15px;font-size:1.25em}.topic-search[_ngcontent-%COMP%]{list-style:none;padding:2px;margin:0}.topic-search[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{cursor:pointer;padding:.5em 10px .5em 7px;margin:3px 2px}.hover.topic-search[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover, .hover.topic-search[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:focus{background:var(--link)!important;color:#fff!important}.topic-search[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.75em;vertical-align:top;margin-top:.25em;margin-right:.75em}.topic-search[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-weight:600}.topic-search[_ngcontent-%COMP%]   .badge-pill[_ngcontent-%COMP%]{color:var(--link);background:var(--body-background);border:1px solid transparent}.badge-pill[_ngcontent-%COMP%]{cursor:pointer}.pill-close[_ngcontent-%COMP%]{padding:10px;margin:3px 5px}@media screen and (min-width: 768px){h5[_ngcontent-%COMP%]{padding-left:25px}.topic-search[_ngcontent-%COMP%]{list-style:none;padding:2px}.topic-search.per-row[_ngcontent-%COMP%]{padding:5px;width:90%}.topic-search.per-row[_ngcontent-%COMP%]   .badge-pill[_ngcontent-%COMP%]{display:block;padding:.5em;margin:2px;border-radius:2px;font-weight:400;text-align:left}}@media screen and (min-width: 1200px){.topic-search.per-row[_ngcontent-%COMP%]{padding:5px;width:95%}}a[_ngcontent-%COMP%]{color:var(--link)}select[_ngcontent-%COMP%]{padding:5px 10px;border-radius:5px;border:1px solid lightgrey}.advHeading[_ngcontent-%COMP%]{margin-top:30px;border-bottom:3px solid var(--text-icons);text-indent:15px;clear:both;width:100%;display:inline-block}.linkText[_ngcontent-%COMP%]{font-size:.65em}.advance-phrase[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{margin:0 5px 5px;width:96%;float:left;font-size:1.25em;padding:10px 5px 10px 15px;border-radius:5px;border:1px solid lightgrey}.advance-phrase[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{margin-bottom:5px;float:left}.advIndexOperator[_ngcontent-%COMP%]{max-width:initial!important}.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{display:inline-block;float:left;width:88%;margin:0 5px 5px;padding:10px;font-size:.85em}.textIn[_ngcontent-%COMP%]{padding:0 10px;display:inline;line-height:36px;float:left;line-height:48px;height:48px;color:var(--header-color)}.advSearchOptions[_ngcontent-%COMP%]{display:inline-block;width:100%;padding:5px 15px 10px}.advSearchOptionsLabel[_ngcontent-%COMP%]{display:inline-block;padding:5px 10px}.advSearchOptions[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{display:inline-block;clear:right;padding:5px 10px;float:inherit}.advCTA[_ngcontent-%COMP%]{padding:25px}.advCTA[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}.target-events[_ngcontent-%COMP%]{background:#efefef;color:gray;cursor:pointer;text-align:center;border-radius:5px}.target-event[_ngcontent-%COMP%]{padding:10px}.target-event[_ngcontent-%COMP%]:hover, .target-event[_ngcontent-%COMP%]:focus{background:#d3d3d3;color:gray}.target-list[_ngcontent-%COMP%]{padding-left:0;list-style:none;clear:both;margin-bottom:25px}.target-heading[_ngcontent-%COMP%]{width:100%}.target-heading[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{padding-bottom:10px;font-size:1.15rem}.target-heading[_ngcontent-%COMP%] > span.target-icon[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{color:gray;font-size:1.75em;margin-top:5px;display:inline-block}.target-icon[_ngcontent-%COMP%]{padding:5px;vertical-align:middle}.target-list-ul[_ngcontent-%COMP%]{padding:5px 35px 5px 15px;list-style:none;margin-bottom:30px;clear:both}.target-list-li[_ngcontent-%COMP%]{float:left}.custom-control[_ngcontent-%COMP%]{padding-left:2rem;line-height:2rem}.custom-control-indicator[_ngcontent-%COMP%]{height:1.5rem;width:1.5rem}.refineLibrarySelect[_ngcontent-%COMP%]{padding:5px;margin-left:35px}@media screen and (max-width: 575px){.linkText[_ngcontent-%COMP%]{display:none}}@media screen and (min-width: 768px) and (max-width: 991px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:130px}}@media screen and (min-width: 992px) and (max-width: 1199px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:180px}}@media screen and (min-width: 1200px){.advIndexOperator[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:220px}}.advFilter[_ngcontent-%COMP%]{margin-top:15px;padding-bottom:20px}.adv-check[_ngcontent-%COMP%]{color:#454545;font-size:1.1em;padding:5px 10px;margin-top:20px}.adv-header[_ngcontent-%COMP%]{border-bottom:1px solid var(--divider-color)}.adv-check[_ngcontent-%COMP%]   .adv-header[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:10px}.adv-check[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{vertical-align:top}.adv-link[_ngcontent-%COMP%]{color:var(--link);font-size:.85em;cursor:pointer}.adv-fields[_ngcontent-%COMP%]{padding:0}.field-range[_ngcontent-%COMP%]{text-align:center;width:100%}.field-range[_ngcontent-%COMP%]   .min[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]   .max[_ngcontent-%COMP%]{max-width:125px;text-align:center;display:inline-block}.field-range[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{max-width:100px;text-align:center;font-size:1.5em;margin:0 auto;padding-left:20px}.field-range[_ngcontent-%COMP%]   .dash[_ngcontent-%COMP%]{font-size:3em;padding-top:4px;color:#d3d3d3;display:inline-block;vertical-align:top}.range-action[_ngcontent-%COMP%]{font-size:.5em;color:#009688!important;display:block;padding-top:10px;cursor:pointer}.field-drop[_ngcontent-%COMP%]{padding:15px}.field-drop[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{font-size:1.5em;padding-left:15px;max-width:261px;margin:0 auto;height:42px}.field-array[_ngcontent-%COMP%]{width:100%;height:auto;position:relative}.array-left[_ngcontent-%COMP%]{border-left:2px solid lightgrey;border-top:2px solid lightgrey;border-bottom:2px solid lightgrey;display:block;float:left;width:15px;min-height:25px;height:5em}.array-right[_ngcontent-%COMP%]{border-right:2px solid lightgrey;border-top:2px solid lightgrey;border-bottom:2px solid lightgrey;display:block;float:left;width:15px;min-height:25px;height:5em}.array-container[_ngcontent-%COMP%]{width:100%;padding:10px;display:inline-block;float:left;min-height:25px}.array-container[_ngcontent-%COMP%]   .badge-pill[_ngcontent-%COMP%]{padding:7px 10px 7px 15px;margin:2px 4px;font-size:1.1em}@media screen and (min-width: 576px){.field-drop[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]{text-align:center;width:100%}}@media screen and (min-width: 768px){.field-drop[_ngcontent-%COMP%]{width:50%;display:inline-block;float:left}.field-range[_ngcontent-%COMP%]{width:50%;display:inline-block;float:left;padding-top:10px}.field-range[_ngcontent-%COMP%]   .min[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]   .max[_ngcontent-%COMP%]{max-width:110px}.mat-slider-horizontal[_ngcontent-%COMP%]{height:48px;min-width:110px}}@media screen and (min-width: 992px){.field-drop[_ngcontent-%COMP%]{text-align:center;width:100%}.field-range[_ngcontent-%COMP%]{text-align:center;width:100%;padding-top:10px}.field-range[_ngcontent-%COMP%]   .min[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]   .max[_ngcontent-%COMP%]{max-width:110px}.mat-slider-horizontal[_ngcontent-%COMP%]{height:48px;min-width:110px}}@media screen and (min-width: 1200px){.field-drop[_ngcontent-%COMP%]{width:50%;display:inline-block;float:left}.field-range[_ngcontent-%COMP%]{width:50%;display:inline-block;float:left;padding-top:10px}.field-range[_ngcontent-%COMP%]   .min[_ngcontent-%COMP%], .field-range[_ngcontent-%COMP%]   .max[_ngcontent-%COMP%]{max-width:110px}.mat-slider-horizontal[_ngcontent-%COMP%]{height:48px;min-width:110px}}.adv-ul[_ngcontent-%COMP%]{padding:0;margin:0;list-style:none}"]})}return d})();function hu(d,g){1&d&&e._UZ(0,"i",51)}function nf(d,g){1&d&&e._UZ(0,"i",52)}let Th=(()=>{class d extends na.e{constructor(i,c,l){super(c),this._editService=i,this._layoutService=c,this._snackBar=l,this.isCollapsed=!0,this.background="",this.color="",this.inputBack="#fafafa",this.labelColor="var(--link)",this.name=!0,this.phone=!0,this.sendEmail=[],this.typeOf="feedback",this.enableReset=!0,this.emailOptional=!0}ngOnChanges(){this.setRowType(),this._temp=this.template,!0===this.edit?(this.setRowType(),this.getFormVariables()):this.setNewVariables()}setNewVariables(){switch(this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":this.className="height-250 padding-0-10",this.title="Send Your Feedback",this.sendButton="Submit",this.placeholder="Write us a message...",this.background="",this.color="",this.flushed=!0,this.enableReset=!1,this.sendLabel="",this.inputBack="",this.labelColor="",this.replyChecked=!1,this.emailCheckbox=!0,this.sendEmail="",this.replyOption="",this.subjectLine="",this.name=!0,this.email=!1,this.emailOptional=!0,this.phone=!0,this.optionalTxt="",this.desc="",this.btnClass="btn btn-primary",this.resetButton=!1;break;case"col-31":case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":case"col-42":case"col-421":case"col-51":case"col-632":this.className="height-200 padding-0",this.title="Send Your Feedback",this.sendButton="Submit",this.placeholder="Write us a message...",this.background="",this.color="",this.flushed=!0,this.enableReset=!1,this.sendLabel="",this.inputBack="",this.labelColor="",this.replyChecked=!1,this.emailCheckbox=!0,this.sendEmail="",this.replyOption="",this.subjectLine="",this.name=!0,this.email=!1,this.emailOptional=!0,this.phone=!0,this.optionalTxt="",this.desc="",this.btnClass="btn btn-primary",this.resetButton=!1;break;default:this.className="padding-25",this.title="Send Your Feedback",this.sendButton="Submit",this.emailCheckbox=!0,this.placeholder="Write us a message...",this.background="",this.color="",this.flushed=!0,this.enableReset=!1,this.sendLabel="",this.inputBack="",this.labelColor="",this.replyChecked=!1,this.emailCheckbox=!0,this.sendEmail="",this.replyOption="",this.subjectLine="",this.name=!0,this.email=!1,this.emailOptional=!0,this.phone=!0,this.optionalTxt="",this.desc="",this.btnClass="btn btn-primary",this.resetButton=!1}}getFormVariables(){this.typeOf="feedback",this.title=this._temp[this.compArray].title,this.background=this._temp[this.compArray].background,this.color=this._temp[this.compArray].color,this.flushed=this._temp[this.compArray].flushed,this.className=this._temp[this.compArray].className,this.enableReset=this._temp[this.compArray].enableReset,this.sendLabel=this._temp[this.compArray].sendLabel,this.inputBack=this._temp[this.compArray].inputBack,this.labelColor=this._temp[this.compArray].labelColor,this.replyChecked=this._temp[this.compArray].replyChecked,this.emailCheckbox=this._temp[this.compArray].emailCheckbox,this.sendEmail=this._temp[this.compArray].sendEmail,this.replyOption=this._temp[this.compArray].replyOption,this.subjectLine=this._temp[this.compArray].subjectLine,this.name=this._temp[this.compArray].name,this.email=this._temp[this.compArray].email,this.emailOptional=this._temp[this.compArray].emailOptional,this.phone=this._temp[this.compArray].phone,this.optionalTxt=this._temp[this.compArray].optionalTxt,this.desc=this._temp[this.compArray].desc,this.sendButton=this._temp[this.compArray].sendButton,this.btnClass=this._temp[this.compArray].btnClass,this.resetButton=this._temp[this.compArray].resetButton,this.placeholder=this._temp[this.compArray].placeholder}setRowType(){switch(this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":case"col-3-1-2-1":this.className="height-250 padding-0-10";break;case"col-31":case"col-3-1-1-2":case"col-3-2-1-1":case"col-42":case"col-421":case"col-51":case"col-632":this.className="height-200 padding-0-10";break;default:this.className="padding-25"}}updateFEED(i){this._editService.setFEEDBACK({typeOf:this.typeOf,title:this.title,background:this.background,color:this.color,flushed:this.flushed,className:this.className,enableReset:this.enableReset,emailCheckbox:this.emailCheckbox,sendLabel:this.sendLabel,inputBack:this.inputBack,labelColor:this.labelColor,replyChecked:this.replyChecked,sendEmail:this.sendEmail,replyOption:this.replyOption,subjectLine:this.subjectLine,name:this.name,email:this.email,sendButton:this.sendButton,btnClass:this.btnClass,resetButton:this.resetButton,placeholder:this.placeholder,emailOptional:this.emailOptional,phone:this.phone,optionalTxt:this.optionalTxt,desc:this.desc},this.rowType,this._temp,this.rowArray,this.compArray)}submitFEED(i){const c={typeOf:this.typeOf,title:this.title,background:this.background,color:this.color,flushed:this.flushed,className:this.className,enableReset:this.enableReset,emailCheckbox:this.emailCheckbox,sendLabel:this.sendLabel,inputBack:this.inputBack,labelColor:this.labelColor,replyChecked:this.replyChecked,sendEmail:this.sendEmail,replyOption:this.replyOption,subjectLine:this.subjectLine,name:this.name,email:this.email,sendButton:this.sendButton,btnClass:this.btnClass,resetButton:this.resetButton,placeholder:this.placeholder,emailOptional:this.emailOptional,phone:this.phone,optionalTxt:this.optionalTxt,desc:this.desc};let l=!0,x="";const ke=/^(([^<>()\[\]\\.,;:\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,}))$/;if(this.sendEmail.includes(",")){const Mt="enter valid send to email addresses",un=this.sendEmail.split(",");if(un){if(un.length<=0&&(l=!1,this.openSnackBar(Mt,"ok")),un.length>0)for(let Dn=0;Dn<un.length;Dn++)if(!ke.test(un[Dn].trim())){l=!1,this.openSnackBar(Mt,"ok");break}}else l=!1,this.openSnackBar(Mt,"ok")}else ke.test(this.sendEmail)||(l=!1,x+="enter a valid send to email address",this.openSnackBar(x,"ok"));l&&(this._editService.setFEEDBACK(c,this.rowType,this._temp,this.rowArray,this.compArray),this.closeNav())}openSnackBar(i,c){this._snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(as.n),e.Y36(We.P),e.Y36(Ti.pl))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-c-feedback"]],inputs:{feed:"feed",template:"template",rowType:"rowType",rowArray:"rowArray",compArray:"compArray",edit:"edit"},features:[e.qOj,e.TTD],decls:116,vars:31,consts:[[1,"text-center","width-100"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],[1,"container-fluid"],[1,"edit","row"],[1,"col-12","margin-5-0"],[1,"form-group"],["for","name"],["type","text","id","name","aria-describedby","title","placeholder","Enter Title",1,"form-control",3,"ngModel","ngModelChange"],["for","sendEmail"],["type","text","id","sendEmail","aria-describedby","headline","placeholder","Enter sender email",1,"form-control",3,"ngModel","ngModelChange"],["id","buttonClassHelp",1,"form-text","text-muted"],["for","sendButton"],["type","text","id","sendButton","aria-describedby","headline","placeholder","Enter Button Description ",1,"form-control",3,"ngModel","ngModelChange"],[1,"form-check"],["for","name",1,"form-check-label"],["type","checkbox","id","name",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],["for","phone",1,"form-check-label"],["type","checkbox","id","phone",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],["for","showEmail",1,"form-check-label"],["type","checkbox","id","showEmail",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],["for","eachRow",1,"form-check-label"],["type","checkbox","id","eachRow",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],["for","resetButton",1,"form-check-label"],["type","checkbox","id","restBtn",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],["for","placeholder"],["type","text","id","placeholder","aria-describedby","placeholder","placeholder","Enter Placeholder Description ",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-12"],["role","button","type","button","aria-label","More Options",1,"btn","btn-link",3,"click"],["class","fa fa-caret-right","aria-hidden","true",4,"ngIf"],["class","fa fa-caret-down","aria-hidden","true",4,"ngIf"],[1,"width-100","padding-0-25",3,"ngbCollapse"],[1,"block","row","text-center","margin-15-0"],["for","subjectLine"],["type","text","id","subjectLine","aria-describedby","headline","placeholder","Enter Subject Line",1,"form-control",3,"ngModel","ngModelChange"],["for","optionalTxt"],["id","optionalTxt","aria-describedby","Optional Text","rows","5",1,"form-control",3,"ngModel","ngModelChange"],["for","color"],["type","text","id","color","aria-describedby","Font Color","placeholder","Title Color",1,"form-control","color",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Choose Color",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],["for","background"],["type","text","id","background","aria-describedby","Background Color","placeholder","Background",1,"form-control","color",3,"ngModel","ngModelChange"],["for","labelColor"],["type","text","id","labelColor","aria-describedby","Label Font Color","placeholder","Input Label",1,"form-control","color",3,"ngModel","ngModelChange"],["for","inputBackground"],["type","text","id","inputBackground","aria-describedby","Input Background","placeholder","Input Background",1,"form-control","color",3,"ngModel","ngModelChange"],[1,"col-12","margin-5-0","padding-10-0"],["for","flush",1,"form-check-label"],["type","checkbox","id","flush",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],[1,"col-12","margin-25-0","text-end"],["role","button","type","button","aria-label","Preview",1,"btn","btn-link",2,"left","initial",3,"click"],["role","button","type","button","aria-label","Save and Close",1,"btn","btn-primary",2,"left","initial",3,"click"],["aria-hidden","true",1,"fa","fa-caret-right"],["aria-hidden","true",1,"fa","fa-caret-down"]],template:function(c,l){1&c&&(e.TgZ(0,"h3",0),e._uU(1," Feedback "),e.TgZ(2,"i",1),e.NdJ("click",function(){return l.closeNav()}),e.qZA()(),e.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"label",6),e._uU(8,"Title"),e.qZA(),e.TgZ(9,"input",7),e.NdJ("ngModelChange",function(ke){return l.title=ke}),e.qZA()()(),e.TgZ(10,"div",4)(11,"div",5)(12,"label",8),e._uU(13,"Send to Email"),e.qZA(),e.TgZ(14,"input",9),e.NdJ("ngModelChange",function(ke){return l.sendEmail=ke}),e.qZA(),e.TgZ(15,"small",10),e._uU(16,'For more than ONE email please use a comma "," to separate email users.'),e.qZA()()(),e.TgZ(17,"div",4)(18,"div",5)(19,"label",11),e._uU(20,"Send Button Label"),e.qZA(),e.TgZ(21,"input",12),e.NdJ("ngModelChange",function(ke){return l.sendButton=ke}),e.qZA()()(),e.TgZ(22,"div",4)(23,"div",13)(24,"label",14)(25,"input",15),e.NdJ("ngModelChange",function(ke){return l.name=ke}),e.qZA(),e._uU(26,"Show Name. "),e.qZA()()(),e.TgZ(27,"div",4)(28,"div",13)(29,"label",16)(30,"input",17),e.NdJ("ngModelChange",function(ke){return l.phone=ke}),e.qZA(),e._uU(31,"Show Phone. "),e.qZA()()(),e.TgZ(32,"div",4)(33,"div",13)(34,"label",18)(35,"input",19),e.NdJ("ngModelChange",function(ke){return l.email=ke}),e.qZA(),e._uU(36,"Show Email. "),e.qZA()()(),e.TgZ(37,"div",4)(38,"div",13)(39,"label",20)(40,"input",21),e.NdJ("ngModelChange",function(ke){return l.emailCheckbox=ke}),e.qZA(),e._uU(41,"Show Email Optional Checkbox. "),e.qZA()()(),e.TgZ(42,"div",4)(43,"div",13)(44,"label",22)(45,"input",23),e.NdJ("ngModelChange",function(ke){return l.resetButton=ke}),e.qZA(),e._uU(46,"Enable Reset Button. "),e.qZA()()(),e.TgZ(47,"div",4)(48,"div",5)(49,"label",24),e._uU(50,"Text Area Placeholder"),e.qZA(),e.TgZ(51,"input",25),e.NdJ("ngModelChange",function(ke){return l.placeholder=ke}),e.qZA()()()(),e.TgZ(52,"div",3)(53,"div",26)(54,"button",27),e.NdJ("click",function(){return l.isCollapsed=!l.isCollapsed}),e._uU(55," More Options "),e.YNc(56,hu,1,0,"i",28)(57,nf,1,0,"i",29),e.qZA()()(),e.TgZ(58,"div",30)(59,"div",31)(60,"h3"),e._uU(61,"Sender Email"),e.qZA()(),e.TgZ(62,"div",3)(63,"div",4)(64,"div",5)(65,"label",32),e._uU(66,"Subject Line"),e.qZA(),e.TgZ(67,"input",33),e.NdJ("ngModelChange",function(ke){return l.subjectLine=ke}),e.qZA()()(),e.TgZ(68,"div",4)(69,"div",5)(70,"label",34),e._uU(71,"Optional Text"),e.qZA(),e.TgZ(72,"textarea",35),e.NdJ("ngModelChange",function(ke){return l.optionalTxt=ke}),e.qZA()()()(),e.TgZ(73,"div",31)(74,"h3"),e._uU(75,"Design Styles"),e.qZA()(),e.TgZ(76,"div",3)(77,"div",4)(78,"div",5)(79,"label",36),e._uU(80,"Font Color"),e.qZA(),e._UZ(81,"br"),e.TgZ(82,"input",37),e.NdJ("ngModelChange",function(ke){return l.color=ke}),e.qZA(),e.TgZ(83,"button",38),e.NdJ("colorPickerChange",function(ke){return l.color=ke}),e.qZA()()(),e.TgZ(84,"div",4)(85,"div",5)(86,"label",39),e._uU(87,"Background Color"),e.qZA(),e._UZ(88,"br"),e.TgZ(89,"input",40),e.NdJ("ngModelChange",function(ke){return l.background=ke}),e.qZA(),e.TgZ(90,"button",38),e.NdJ("colorPickerChange",function(ke){return l.background=ke}),e.qZA()()(),e.TgZ(91,"div",4)(92,"div",5)(93,"label",41),e._uU(94,"Text Input Area Color"),e.qZA(),e._UZ(95,"br"),e.TgZ(96,"input",42),e.NdJ("ngModelChange",function(ke){return l.labelColor=ke}),e.qZA(),e.TgZ(97,"button",38),e.NdJ("colorPickerChange",function(ke){return l.labelColor=ke}),e.qZA()()(),e.TgZ(98,"div",4)(99,"div",5)(100,"label",43),e._uU(101,"Input Background"),e.qZA(),e._UZ(102,"br"),e.TgZ(103,"input",44),e.NdJ("ngModelChange",function(ke){return l.inputBack=ke}),e.qZA(),e.TgZ(104,"button",38),e.NdJ("colorPickerChange",function(ke){return l.inputBack=ke}),e.qZA()()(),e.TgZ(105,"div",45)(106,"div",13)(107,"label",46)(108,"input",47),e.NdJ("ngModelChange",function(ke){return l.flushed=ke}),e.qZA(),e._uU(109,"Flush in template. "),e.qZA()()()()(),e.TgZ(110,"div",3)(111,"div",48)(112,"button",49),e.NdJ("click",function(){return l.updateFEED(l.feed)}),e._uU(113," Preview "),e.qZA(),e.TgZ(114,"button",50),e.NdJ("click",function(){return l.submitFEED(l.feed)}),e._uU(115," Save and Close "),e.qZA()()()()),2&c&&(e.xp6(9),e.Q6J("ngModel",l.title),e.xp6(5),e.Q6J("ngModel",l.sendEmail),e.xp6(7),e.Q6J("ngModel",l.sendButton),e.xp6(4),e.Q6J("ngModel",l.name),e.xp6(5),e.Q6J("ngModel",l.phone),e.xp6(5),e.Q6J("ngModel",l.email),e.xp6(5),e.Q6J("ngModel",l.emailCheckbox),e.xp6(5),e.Q6J("ngModel",l.resetButton),e.xp6(6),e.Q6J("ngModel",l.placeholder),e.xp6(5),e.Q6J("ngIf",l.isCollapsed),e.xp6(),e.Q6J("ngIf",!l.isCollapsed),e.xp6(),e.Q6J("ngbCollapse",l.isCollapsed),e.xp6(9),e.Q6J("ngModel",l.subjectLine),e.xp6(5),e.Q6J("ngModel",l.optionalTxt),e.xp6(10),e.Q6J("ngModel",l.color),e.xp6(),e.Udp("background",l.color),e.Q6J("colorPicker",l.color),e.xp6(6),e.Q6J("ngModel",l.background),e.xp6(),e.Udp("background",l.background),e.Q6J("colorPicker",l.background),e.xp6(6),e.Q6J("ngModel",l.labelColor),e.xp6(),e.Udp("background",l.labelColor),e.Q6J("colorPicker",l.labelColor),e.xp6(6),e.Q6J("ngModel",l.inputBack),e.xp6(),e.Udp("background",l.inputBack),e.Q6J("colorPicker",l.inputBack),e.xp6(4),e.Q6J("ngModel",l.flushed))},dependencies:[ei.O5,At.Fj,At.Wl,At.JJ,At.On,qs._D,Ms.Kk],styles:["h3[_ngcontent-%COMP%]{font-size:1.25em;margin-bottom:0}.feedback[_ngcontent-%COMP%]{width:100%;background:none;display:inline-block;padding-top:10px}.feedback-trim[_ngcontent-%COMP%]{display:inline-block;width:100%}.feedback-height[_ngcontent-%COMP%]{max-height:40vh}form[_ngcontent-%COMP%]{width:100%}select[_ngcontent-%COMP%]{padding:7px;background:var(--text-icons);border:none;border-radius:4px;font-size:.75rem;width:100%;max-width:280px}.textarea[_ngcontent-%COMP%]{padding:15px}.feedback-details[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{width:100%;background:var(--text-icons);font-size:1.15rem;border:none;border-radius:4px}.feedback-desc[_ngcontent-%COMP%]{text-align:center;line-height:1.5em;padding:0 10px}.feedback-select[_ngcontent-%COMP%]{padding:5px 10px}.feedback-buttons[_ngcontent-%COMP%]{text-align:left;padding:15px 0}.feedback-details[_ngcontent-%COMP%], .feedback-inputs[_ngcontent-%COMP%], .feedback-result[_ngcontent-%COMP%]{padding:0 0 0 8px}.feedback-buttons[_ngcontent-%COMP%]{padding:0 5px 0 0;text-align:left}.feedback-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;padding:5px;margin:5px}.feedback-inputs[_ngcontent-%COMP%]{padding:5px}.form-checkbox[_ngcontent-%COMP%]{vertical-align:top}.form-checkbox[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{width:22px;height:22px;margin-top:5px}.form-checkbox[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{padding-left:10px;padding-bottom:3px;padding-top:3px;font-size:.85em;vertical-align:top}.form-input[_ngcontent-%COMP%]{position:relative;margin-bottom:5px}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;display:block;margin:10px;padding:5px;border:none}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{opacity:0}.form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus, .form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{outline:0}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-weight:300;border-radius:2px;padding-top:24px;margin:0;border:none;width:100%;color:#454545;background:var(--text-icons);transition:padding-top .2s ease,margin-top .2s ease;overflow-x:hidden}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus + textarea[_ngcontent-%COMP%]{display:block;position:relative;white-space:nowrap;padding:0;margin:0;width:10%;height:0px;border-top:none;transition:width .4s ease}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{display:block;position:relative;white-space:nowrap;padding:0;margin:0;border-top:none;transition:width .4s ease;height:0px;width:90%;z-index:20}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%], .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%]{width:90%}.form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:valid, .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus{margin-top:35px}input[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:valid + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{top:-54px;color:var(--link)}textarea[_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]:valid + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{top:-54px;color:var(--link)}input[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%] + label[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-weight:300;margin:0;position:absolute;color:var(--link);top:-32px;left:0;z-index:-1;transition:top .2s ease,font-size .2s ease,color .2s ease}.form-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:invalid, .form-input[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:invalid{box-shadow:none}.form-input[_ngcontent-%COMP%]{width:100%}.form-input[_ngcontent-%COMP%]   .alert-success[_ngcontent-%COMP%]{position:absolute;top:28px;right:5px;width:30px;height:30px;border-radius:50%;font-size:1.5em;padding:3px}.form-input[_ngcontent-%COMP%]   .alert-danger[_ngcontent-%COMP%]{position:absolute;top:28px;right:5px;width:30px;height:30px;border-radius:50%;font-size:1.5em;padding:2px 5px}input.ng-invalid.ng-touched[_ngcontent-%COMP%]:invalid{border-bottom:1px solid #a94442}input.valid.touched[_ngcontent-%COMP%]{border:1px solid green}.form-input.has-success[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:invalid{border-bottom:1px solid var(--link)}.form-input.has-success[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:valid{border-bottom:1px solid #3c763d}.feedback-inputs[_ngcontent-%COMP%], .feedback-story[_ngcontent-%COMP%]{display:inline-block;float:left;width:100%}.feedback-story[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-indent:15px;display:inline-block}@media screen and (min-width: 768px){.col-md-4[_ngcontent-%COMP%]   .form-checkbox[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{padding:7px 0 0;font-size:.65em}.feedback-buttons[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:.7em}.feedback-story[_ngcontent-%COMP%], .feedback-inputs[_ngcontent-%COMP%]{width:50%}.col-md-4[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-size:1em}.feedback-buttons[_ngcontent-%COMP%]{text-align:left;padding-right:5%}}@media screen and (min-width: 1200px){.feedback-inputs[_ngcontent-%COMP%]{width:33%}.feedback-story[_ngcontent-%COMP%]{width:66%}}"]})}return d})();function $_(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",64),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.uploadImage())}),e._uU(1," Upload Image "),e.qZA()}}function rf(d,g){1&d&&(e.TgZ(0,"div",65)(1,"span",66),e._uU(2,"For Best Results use an image that is less than 1200px width to cover large monitors."),e.qZA()())}function af(d,g){if(1&d&&(e.TgZ(0,"div",67),e._UZ(1,"img",68),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("src",i.imgUrl,e.LSH)}}function sf(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",5)(1,"label",69),e._uU(2,"Button Label"),e.qZA(),e.TgZ(3,"input",70),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.btnLabel=l)}),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(3),e.Q6J("ngModel",i.btnLabel)}}function W_(d,g){1&d&&e._UZ(0,"i",71)}function lf(d,g){1&d&&e._UZ(0,"i",72)}function g0(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",5)(1,"label",73),e._uU(2,"Button Classes"),e.qZA(),e._UZ(3,"i",74),e.TgZ(4,"input",75),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.btnClass=l)}),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(3),e.Q6J("matTooltipPosition","right"),e.xp6(),e.Q6J("ngModel",i.btnClass)}}let b0=(()=>{class d extends na.e{constructor(i,c,l,x,ke,Mt){super(ke),this._el=i,this._http=c,this._snackBar=l,this._configService=x,this._layoutService=ke,this._editService=Mt,this.defaultColors=!0,this.starterTheme="",this.isCollapsed=!0,this.background="",this.color="white",this.titleBack="",this.fileUploadCheck=!1,this.targetUrl="",this.imgUrl="",this.backPos="center",this.backSize="",this.btnShow=!1,this.btnClass="btn btn-primary",this._fileToUpload=null,this._typeOf="cta",this._rowClass="",this._backRepeat="no-repeat",this._uri=this._configService.expressApi+"/file/upload",this._attachmentList=[],this.uploader=new el.bA({url:this._uri,itemAlias:"photo"}),this.uploader.onAfterAddingFile=un=>{un.withCredentials=!1},this.uploader.onCompleteItem=(un,Dn,Bn,pi)=>{this._attachmentList.push(JSON.parse(Dn))}}ngOnChanges(i){i.template&&(this._temp=i.template.currentValue,this.template=this._temp),i.rowType&&(this.rowType=i.rowType.currentValue),i.rowArray&&(this.rowArray=i.rowArray.currentValue),i.compArray&&(this.compArray=i.compArray.currentValue),i.edit&&(this.edit=i.edit.currentValue),this.edit?(this.setRowType(),this.getFormVariables(),this.fileUploadCheck=!0):this.setNewVariables(),i.starterTheme&&(this.starterTheme=i.starterTheme.currentValue),!this.edit&&this.template&&""!==this.starterTheme&&this.starterTheme&&i.defaultColors&&(this.defaultColors=i.defaultColors.currentValue,this.defaultColors&&(this.color=this.defaultColors.fontColor,this.background=this.defaultColors.backColor))}setNewVariableValues(){this.backPos="center",this.backSize="cover",this.title="",this.imgTitle="",this.background="",this.color="",this.flushed=!0,this.titleBack="",this.paragraph="",this.paraBack="",this._icon="",this._iconSize="",this.targetUrl="",this._newTab=!0,this.imgUrl="",this.backOpacity="",this._filter="",this._backRepeat="no-repeat",this._backAttach="scroll",this.btnShow=!1,this.btnLabel="",this.btnClass="btn btn-primary"}setNewVariables(){switch(this.setNewVariableValues(),this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":this._rowClass="two-links height-250";break;case"col-31":case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":this._rowClass="three-links height-200";break;case"col-42":case"col-421":this._rowClass="four-links height-200";break;case"col-51":this._rowClass="height-200";break;case"col-632":this._rowClass="height-250";break;default:this._rowClass="one-link height-350"}}getFormVariables(){this._typeOf="cta",this.title=this._temp[this.compArray].title,this.imgTitle=this._temp[this.compArray].imgTitle?this._temp[this.compArray].imgTitle:this.imgTitle,this.background=this._temp[this.compArray].background,this.color=this._temp[this.compArray].color,this.flushed=this._temp[this.compArray].flushed,this._rowClass=this._temp[this.compArray].rowClass?this._temp[this.compArray].rowClass:this._rowClass,this.titleBack=this._temp[this.compArray].titleBack,this.paragraph=this._temp[this.compArray].paragraph,this.paraBack=this._temp[this.compArray].paraBack,this._icon=this._temp[this.compArray].icon,this._iconSize=this._temp[this.compArray].iconSize,this.targetUrl=this._temp[this.compArray].targetUrl,this._newTab=this._temp[this.compArray].newtab,this.imgUrl=this._temp[this.compArray].imgUrl,this.backOpacity=this._temp[this.compArray].backOpacity,this._filter=this._temp[this.compArray].filter,this._backRepeat=this._temp[this.compArray].backRepeat,this._backAttach=this._temp[this.compArray].backAttach,this.backPos=this._temp[this.compArray].backPos,this.backSize=this._temp[this.compArray].backSize,this.btnShow=this._temp[this.compArray].btnShow,this.btnLabel=this._temp[this.compArray].btnLabel,this.btnClass=this._temp[this.compArray].btnClass}setRowType(){switch(this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":this._TwoColumns=!0,this._rowClass="two-links height-250";break;case"col-31":case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":this._ThreeColumns=!0,this._rowClass="three-links height-200";break;case"col-42":case"col-421":this._FourColumns=!0,this._rowClass="four-links height-200";break;case"col-51":this._FiveColumns=!0,this._rowClass="height-200";break;case"col-632":this._SixColumns=!0,this._rowClass="height-250";break;default:this._OneColumn=!0,this._rowClass="one-link height-350"}}getCTAstyles(){return{color:this.color,"background-color":this.background,"background-image":"url("+this.imgUrl+")",opacity:this.backOpacity,filter:"alpha(opacity="+this._filter+")","background-repeat":this._backRepeat,"background-attachment":this._backAttach,"background-position":this.backPos,"background-size":this.backSize}}uploadImage(){const i=this._el.nativeElement.querySelector("#photo"),c=i.files.length,l=new FormData;if(i.files.item(0).size<=5e6){if(c>0){l.append("photo",i.files.item(0));const ke=new Si.LE;this._http.post(this._uri,l,{params:ke}).subscribe(Mt=>{let Dn="";Dn="/uploads/"+Mt.uploadname,this.openSnackBar("image uploaded","ok"),this.fileUploadCheck=!0,this.imgUrl=Dn})}}else this.openSnackBar("image size too large exceeded 5MB","ok")}updateCTA(i){if(this.imgUrl&&/\S/.test(this.imgUrl)){const c={typeOf:"cta",rowClass:this._rowClass,flushed:this.flushed,color:this.color,title:this.title,imgTitle:this.imgTitle,titleBack:this.titleBack,titleBorder:this._titleBorder,paragraph:this.paragraph,paraBack:this.paraBack,paraBorder:this._paraBorder,icon:this._icon,iconSize:this._iconSize,newtab:this._newTab,targetUrl:this.targetUrl?this.targetUrl:"",background:this.background,imgUrl:this.imgUrl,backOpacity:this.backOpacity,backFilter:this._backFilter,backRepeat:this._backRepeat,backAttach:this._backAttach,backPos:this.backPos,backSize:this.backSize,btnShow:this.btnShow,btnLabel:this.btnLabel,btnClass:this.btnClass};this.btnShow?/\S/.test(this.btnLabel)&&this.btnLabel&&null!=this.btnLabel&&""!=this.btnLabel?this._editService.setCTA(c,this.rowType,this._temp,this.rowArray,this.compArray):this.openSnackBar("enter the button label","ok"):this._editService.setCTA(c,this.rowType,this._temp,this.rowArray,this.compArray)}else this.openSnackBar("please upload an image first","ok")}submitCTA(i){if(this.imgUrl&&/\S/.test(this.imgUrl)){const c={typeOf:"cta",rowClass:this._rowClass,flushed:this.flushed,color:this.color,title:this.title,imgTitle:this.imgTitle,titleBack:this.titleBack,titleBorder:this._titleBorder,paragraph:this.paragraph,paraBack:this.paraBack,paraBorder:this._paraBorder,icon:this._icon,iconSize:this._iconSize,newtab:this._newTab,targetUrl:this.targetUrl?this.targetUrl:"",background:this.background,imgUrl:this.imgUrl,backOpacity:this.backOpacity,backFilter:this._backFilter,backRepeat:this._backRepeat,backAttach:this._backAttach,backPos:this.backPos,backSize:this.backSize,btnShow:this.btnShow,btnLabel:this.btnLabel,btnClass:this.btnClass};this.btnShow?/\S/.test(this.btnLabel)&&this.btnLabel&&null!=this.btnLabel&&""!=this.btnLabel?(this._editService.setCTA(c,this.rowType,this._temp,this.rowArray,this.compArray),this.closeNav()):this.openSnackBar("enter the button label","ok"):(this._editService.setCTA(c,this.rowType,this._temp,this.rowArray,this.compArray),this.closeNav())}}openSnackBar(i,c){this._snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}setNewTab(i){this._newTab=i.checked}setButton(i){this.btnShow=i.checked}handleFileInput(i){this._fileToUpload=i.item(0),this.imgUrl="localhost:4200/"+this._fileToUpload.name}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(e.SBq),e.Y36(Si.eN),e.Y36(Ti.pl),e.Y36(io.E),e.Y36(We.P),e.Y36(as.n))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-c-cta"]],inputs:{cta:"cta",template:"template",rowType:"rowType",rowArray:"rowArray",compArray:"compArray",edit:"edit",defaultColors:"defaultColors",starterTheme:"starterTheme"},features:[e.qOj,e.TTD],decls:127,vars:40,consts:[[1,"text-center","width-100"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],[1,"container-fluid"],[1,"edit","row","padding-0-25"],[1,"col-12","margin-5-0"],[1,"form-group"],["for","name"],["type","text","id","name","aria-describedby","title","placeholder","Title",1,"form-control",3,"ngModel","ngModelChange"],["for","titleBack"],["type","text","id","titleBack","aria-describedby","Title Background Color","placeholder","Font Color",1,"form-control","color",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Choose Background",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],["for","photo"],["ng2FileSelect","","type","file","name","photo","id","photo",1,"form-control",3,"uploader"],["role","button","aria-label","Upload Image","type","button","class","btn btn-outline-primary margin-10-0",3,"click",4,"ngIf"],["class","text-center width-320 height-150 back-shade-two color-offset-four",4,"ngIf"],["class","text-center",4,"ngIf"],[1,"form-group","margin-10-0"],["for","image-alt-text"],["type","text","id","image-alt-text","aria-describedby","image alternate text","placeholder","Image Alternate Text",1,"form-control",3,"ngModel","ngModelChange"],["for","targetUrl"],["type","text","id","targetUrl","aria-describedby","Target URL","placeholder","Enter URL",1,"form-control",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange","change"],["aria-hidden","true","matTooltip","Call to Action Button to help strengthen the title/paragraph",1,"fa","fa-question-circle-o",2,"margin-left","5px",3,"matTooltipPosition"],["class","form-group",4,"ngIf"],[1,"edit","row"],[1,"col-12"],["role","button","type","button","aria-label","More Options",1,"btn","btn-link",3,"click"],["class","fa fa-caret-right","aria-hidden","true",4,"ngIf"],["class","fa fa-caret-down","aria-hidden","true",4,"ngIf"],[1,"width-100","padding-0-25",3,"ngbCollapse"],[1,"edit","row","text-center","margin-15-0"],["aria-hidden","true","matTooltip","Different Effects for the Uploaded Image. Treated as a background on the container.",1,"fa","fa-question-circle-o",2,"margin-left","5px",3,"matTooltipPosition"],["for","backOpacity"],["aria-hidden","true","matTooltip","The opacity-level describes the transparency-level, where 1 is not transparent at all, 0.5 is 50%\n                    see-through, and 0 is completely transparent.",1,"fa","fa-info",2,"margin-left","5px",3,"matTooltipPosition"],["type","text","id","backOpacity","aria-describedby","Bacground/Image Opacity","placeholder","value from 0.0 to 1.0",1,"form-control",3,"ngModel","ngModelChange"],["id","backOpacityHelp",1,"form-text","text-muted"],["for","backPos"],["aria-hidden","true","matTooltip","Image position property sets the starting position of a background images. Values can be fixed,center,no-repeat etc.",1,"fa","fa-info",2,"margin-left","5px",3,"matTooltipPosition"],["type","text","id","backPos","aria-describedby","background-position property","placeholder","ex. center",1,"form-control",3,"ngModel","ngModelChange"],["id","backPosHelp",1,"form-text","text-muted"],["href","https://www.w3schools.com/cssref/pr_background-position.asp","target","_blank"],["for","backSize"],["aria-hidden","true","matTooltip","The background-size property specifies the size of the background images. Values can be auto,cover,contain etc.",1,"fa","fa-info",2,"margin-left","5px",3,"matTooltipPosition"],["type","text","id","backSize","aria-describedby","background-size property","placeholder","ex. cover",1,"form-control",3,"ngModel","ngModelChange"],["id","backSizeHelp",1,"form-text","text-muted"],["href","https://www.w3schools.com/cssref/css3_pr_background-size.asp","target","_blank"],["aria-hidden","true","matTooltip","Change the overall font colors, background, and ability to add additional classes",1,"fa","fa-question-circle-o",2,"margin-left","5px",3,"matTooltipPosition"],["for","color"],["type","text","id","color","aria-describedby","Font Color","placeholder","Enter Font Color",1,"form-control","color",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Choose Color",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],["for","background"],["type","text","id","background","aria-describedby","Background","placeholder","Enter Background Color",1,"form-control","color",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Choose Background Color",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],["for","paragraph"],["type","text","id","paragraph","aria-describedby","Paragraph","placeholder","Paragraph",1,"form-control",3,"ngModel","ngModelChange"],["for","paraBack"],["type","text","id","paraBack","aria-describedby","Paragraph Background Color","placeholder","Font Color",1,"form-control","color",3,"ngModel","ngModelChange"],[1,"form-check"],["for","flush",1,"form-check-label"],["type","checkbox","id","flush",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],[1,"width-100","text-center","padding-15","background-color"],[1,"padding-10","text-end"],["role","button","type","button","aria-label","Preview",1,"btn","btn-link",3,"click"],["role","button","type","button","aria-label","Save and Close",1,"btn","btn-primary",3,"click"],["role","button","aria-label","Upload Image","type","button",1,"btn","btn-outline-primary","margin-10-0",3,"click"],[1,"text-center","width-320","height-150","back-shade-two","color-offset-four"],[1,"inline-block","padding-40"],[1,"text-center"],["alt","Uploaded Logo",2,"max-width","300px","max-height","200px",3,"src"],["for","btnLabel"],["type","text","id","btnLabel","aria-describedby","Button Label","placeholder","ex. See Our Services",1,"form-control",3,"ngModel","ngModelChange"],["aria-hidden","true",1,"fa","fa-caret-right"],["aria-hidden","true",1,"fa","fa-caret-down"],["for","btnClass"],["aria-hidden","true","matTooltip","decide button color (solid or outline), sizes, shapes, block button, etc",1,"fa","fa-info",2,"margin-left","5px",3,"matTooltipPosition"],["type","text","id","btnClass","aria-describedby","Button Classes","placeholder","ex. btn btn-outline-primary",1,"form-control",3,"ngModel","ngModelChange"]],template:function(c,l){1&c&&(e.TgZ(0,"h3",0),e._uU(1," Call To Action "),e.TgZ(2,"i",1),e.NdJ("click",function(){return l.closeNav()}),e.qZA()(),e.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"label",6),e._uU(8,"Call to Action Title"),e.qZA(),e.TgZ(9,"input",7),e.NdJ("ngModelChange",function(ke){return l.title=ke}),e.qZA()()(),e.TgZ(10,"div",4)(11,"div",5)(12,"label",8),e._uU(13,"Call to Action Title Background"),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"input",9),e.NdJ("ngModelChange",function(ke){return l.titleBack=ke}),e.qZA(),e.TgZ(16,"button",10),e.NdJ("colorPickerChange",function(ke){return l.titleBack=ke}),e.qZA()()(),e.TgZ(17,"div",4)(18,"div",5)(19,"label",11),e._uU(20,"Call to Action Image"),e.qZA(),e._UZ(21,"input",12),e.YNc(22,$_,2,0,"button",13),e.qZA(),e.YNc(23,rf,3,0,"div",14)(24,af,2,1,"div",15),e.qZA(),e.TgZ(25,"div",4)(26,"div",16)(27,"label",17),e._uU(28,"Image Alternate Text"),e.qZA(),e.TgZ(29,"input",18),e.NdJ("ngModelChange",function(ke){return l.imgTitle=ke}),e.qZA()(),e.TgZ(30,"div",16)(31,"label",19),e._uU(32,"Target URL"),e.qZA(),e.TgZ(33,"input",20),e.NdJ("ngModelChange",function(ke){return l.targetUrl=ke}),e.qZA()(),e.TgZ(34,"div",16)(35,"mat-checkbox",21),e.NdJ("ngModelChange",function(ke){return l.btnShow=ke})("change",function(ke){return l.setButton(ke)}),e._uU(36,"Enable Call to Action Button "),e._UZ(37,"i",22),e.qZA()()(),e.TgZ(38,"div",4),e.YNc(39,sf,4,1,"div",23),e.qZA()(),e.TgZ(40,"div",24)(41,"div",25)(42,"button",26),e.NdJ("click",function(){return l.isCollapsed=!l.isCollapsed}),e._uU(43," More Options "),e.YNc(44,W_,1,0,"i",27)(45,lf,1,0,"i",28),e.qZA()()(),e.TgZ(46,"div",29)(47,"div",30)(48,"h3"),e._uU(49," Call to Action Properties "),e._UZ(50,"i",31),e.qZA()(),e.TgZ(51,"div",24)(52,"div",4)(53,"div",5)(54,"label",32),e._uU(55,"Opacity"),e.qZA(),e._UZ(56,"i",33),e.TgZ(57,"input",34),e.NdJ("ngModelChange",function(ke){return l.backOpacity=ke}),e.qZA(),e.TgZ(58,"small",35),e._uU(59,"Set the Transparency Level of the Backgound and/or Image"),e.qZA()()(),e.TgZ(60,"div",4)(61,"div",5)(62,"label",36),e._uU(63,"Image Position"),e.qZA(),e._UZ(64,"i",37),e.TgZ(65,"input",38),e.NdJ("ngModelChange",function(ke){return l.backPos=ke}),e.qZA(),e.TgZ(66,"small",39),e._uU(67,"Specify "),e.TgZ(68,"a",40),e._uU(69,"background-position"),e.qZA(),e._uU(70," property values"),e.qZA()()(),e.TgZ(71,"div",4)(72,"div",5)(73,"label",41),e._uU(74,"Image Sizing"),e.qZA(),e._UZ(75,"i",42),e.TgZ(76,"input",43),e.NdJ("ngModelChange",function(ke){return l.backSize=ke}),e.qZA(),e.TgZ(77,"small",44),e._uU(78,"Specify "),e.TgZ(79,"a",45),e._uU(80,"background-size"),e.qZA(),e._uU(81," property values"),e.qZA()()()(),e.TgZ(82,"div",30)(83,"h3"),e._uU(84," Design Elements "),e._UZ(85,"i",46),e.qZA()(),e.TgZ(86,"div",24)(87,"div",4)(88,"div",5)(89,"label",47),e._uU(90,"CTA Font Color"),e.qZA(),e._UZ(91,"br"),e.TgZ(92,"input",48),e.NdJ("ngModelChange",function(ke){return l.color=ke}),e.qZA(),e.TgZ(93,"button",49),e.NdJ("colorPickerChange",function(ke){return l.color=ke}),e.qZA()()(),e.TgZ(94,"div",4)(95,"div",5)(96,"label",50),e._uU(97,"Background Color"),e.qZA(),e._UZ(98,"br"),e.TgZ(99,"input",51),e.NdJ("ngModelChange",function(ke){return l.background=ke}),e.qZA(),e.TgZ(100,"button",52),e.NdJ("colorPickerChange",function(ke){return l.background=ke}),e.qZA()()(),e.TgZ(101,"div",4),e.YNc(102,g0,5,2,"div",23),e.qZA(),e.TgZ(103,"div",4)(104,"div",5)(105,"label",53),e._uU(106,"Paragraph Text"),e.qZA(),e.TgZ(107,"input",54),e.NdJ("ngModelChange",function(ke){return l.paragraph=ke}),e.qZA()()(),e.TgZ(108,"div",4)(109,"div",5)(110,"label",55),e._uU(111,"Paragraph Background Color"),e.qZA(),e._UZ(112,"br"),e.TgZ(113,"input",56),e.NdJ("ngModelChange",function(ke){return l.paraBack=ke}),e.qZA(),e.TgZ(114,"button",52),e.NdJ("colorPickerChange",function(ke){return l.paraBack=ke}),e.qZA()()(),e._UZ(115,"div",4),e.TgZ(116,"div",4)(117,"div",57)(118,"label",58)(119,"input",59),e.NdJ("ngModelChange",function(ke){return l.flushed=ke}),e.qZA(),e._uU(120,"Flush in template. "),e.qZA()()()()(),e.TgZ(121,"div",60)(122,"div",61)(123,"button",62),e.NdJ("click",function(){return l.updateCTA(l.cta)}),e._uU(124," Preview "),e.qZA(),e.TgZ(125,"button",63),e.NdJ("click",function(){return l.submitCTA(l.cta)}),e._uU(126," Save and Close "),e.qZA()()()()),2&c&&(e.xp6(9),e.Q6J("ngModel",l.title),e.xp6(6),e.Q6J("ngModel",l.titleBack),e.xp6(),e.Udp("background",l.titleBack),e.Q6J("colorPicker",l.titleBack),e.xp6(5),e.Q6J("uploader",l.uploader),e.xp6(),e.Q6J("ngIf",null!==l.uploader),e.xp6(),e.Q6J("ngIf",!1===l.fileUploadCheck),e.xp6(),e.Q6J("ngIf",!0===l.fileUploadCheck),e.xp6(5),e.Q6J("ngModel",l.imgTitle),e.xp6(4),e.Q6J("ngModel",l.targetUrl),e.xp6(2),e.Q6J("ngModel",l.btnShow),e.xp6(2),e.Q6J("matTooltipPosition","right"),e.xp6(2),e.Q6J("ngIf",!0===l.btnShow),e.xp6(5),e.Q6J("ngIf",l.isCollapsed),e.xp6(),e.Q6J("ngIf",!l.isCollapsed),e.xp6(),e.Q6J("ngbCollapse",l.isCollapsed),e.xp6(4),e.Q6J("matTooltipPosition","right"),e.xp6(6),e.Q6J("matTooltipPosition","right"),e.xp6(),e.Q6J("ngModel",l.backOpacity),e.xp6(7),e.Q6J("matTooltipPosition","right"),e.xp6(),e.Q6J("ngModel",l.backPos),e.xp6(10),e.Q6J("matTooltipPosition","right"),e.xp6(),e.Q6J("ngModel",l.backSize),e.xp6(9),e.Q6J("matTooltipPosition","right"),e.xp6(7),e.Q6J("ngModel",l.color),e.xp6(),e.Udp("background",l.color),e.Q6J("colorPicker",l.color),e.xp6(6),e.Q6J("ngModel",l.background),e.xp6(),e.Udp("background",l.background),e.Q6J("colorPicker",l.background),e.xp6(2),e.Q6J("ngIf",!0===l.btnShow),e.xp6(5),e.Q6J("ngModel",l.paragraph),e.xp6(6),e.Q6J("ngModel",l.paraBack),e.xp6(),e.Udp("background",l.paraBack),e.Q6J("colorPicker",l.paraBack),e.xp6(5),e.Q6J("ngModel",l.flushed))},dependencies:[ei.O5,At.Fj,At.Wl,At.JJ,At.On,Go.FC,pa.Kd,qs._D,el.C6,Ms.Kk],styles:["h3[_ngcontent-%COMP%]{font-size:1.25em;margin-bottom:0}.border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{cursor:pointer;bottom:15%;left:5%;position:absolute}.border-line[_ngcontent-%COMP%]{padding:15px;height:100%;width:100%}h3[_ngcontent-%COMP%]{display:inline-block;border-radius:3px;padding:10px;float:left}p[_ngcontent-%COMP%]{display:inline-block;border-radius:3px;padding:5px;float:left;clear:left}button[_ngcontent-%COMP%]{left:8%}.link-one[_ngcontent-%COMP%]{display:inline-block;height:100%;width:100%;padding:0!important}.back-icon[_ngcontent-%COMP%]{width:100%;text-align:center;height:250px}.back-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:3em;position:absolute;display:inline;margin:auto;inset:0}.one-link[_ngcontent-%COMP%]{display:inline-block;width:100%;padding:0!important;background-attachment:initial;background-position:center;background-repeat:no-repeat;background-size:cover}.one-link-2[_ngcontent-%COMP%]{display:inline-block;height:100%;padding:0!important;height:40vh;background-position:center;background-repeat:no-repeat;background-size:cover}.two-links[_ngcontent-%COMP%]{width:100%;position:relative;clear:both;cursor:pointer}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:25px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;line-height:1.3em;font-size:1.5em;font-weight:700;padding:10px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em;margin-top:15px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;position:absolute}.three-links[_ngcontent-%COMP%]{width:100%;position:relative;clear:both}.three-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%], .three-links[_ngcontent-%COMP%]   .one-link-2[_ngcontent-%COMP%]{height:300px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:5%}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;font-size:1.25em;font-weight:700;padding:7px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em;margin-top:15px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;position:absolute}.four-links[_ngcontent-%COMP%]{width:100%;position:relative;clear:both}.four-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:200px}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:5%}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;font-size:1.5em;font-weight:700;padding:5px}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding:3px;font-size:.85em}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;position:absolute;font-size:.9em}.cta-min-width[_ngcontent-%COMP%]{min-width:90vw}@media screen and (min-width: 576px){.cta-min-width[_ngcontent-%COMP%]{min-width:90vw}.two-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:450px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:25px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;line-height:1.3em;font-size:1.5em;font-weight:700}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em;font-size:1.1em;margin-top:0}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;position:absolute}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.25em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.75em;font-size:1.1em;margin-top:15px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%}}@media screen and (min-width: 768px){.cta-min-width[_ngcontent-%COMP%]{min-width:90vw}.border-line[_ngcontent-%COMP%]{padding:5%;height:100%;width:100%}.two-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:400px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:25px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;line-height:1.3em;font-size:1.5em;font-weight:700}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em;font-size:1em;margin-top:15px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;position:absolute}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.25em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em;font-size:1em;margin-top:15px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%}}@media screen and (min-width: 992px){.cta-min-width[_ngcontent-%COMP%]{min-width:90vw}.two-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:425px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]{padding:25px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;line-height:1.3em;font-size:1.5em;font-weight:700}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em;font-size:1em;margin-top:15px}.two-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%;position:absolute}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:20px;font-size:1.5em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em;font-size:1em;margin-top:15px}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{bottom:15%}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;font-size:1.35em;font-weight:700}}@media screen and (min-width: 1200px){.cta-min-width[_ngcontent-%COMP%]{min-width:1080px}.two-links[_ngcontent-%COMP%]   .one-link[_ngcontent-%COMP%]{height:400px}.three-links[_ngcontent-%COMP%]{font-size:1em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.5em}.three-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.25em}.four-links[_ngcontent-%COMP%]   .border-line[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-top:10px;font-size:1.25em;font-weight:700}}"]})}return d})();function v0(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",55),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.uploadImage())}),e._uU(1," Upload Image "),e.qZA()}}function X_(d,g){1&d&&(e.TgZ(0,"div",56)(1,"span",57),e._uU(2,"For Best Results use an image that is less than 1200px width to cover large monitors."),e.qZA()())}function y0(d,g){if(1&d&&(e.TgZ(0,"div",58),e._UZ(1,"img",59),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("src",i.imgUrl,e.LSH)}}function x0(d,g){1&d&&e._UZ(0,"i",60)}function C0(d,g){1&d&&e._UZ(0,"i",61)}let w0=(()=>{class d extends na.e{constructor(i,c,l,x,ke,Mt){super(Mt),this._el=i,this._http=c,this._snackBar=l,this._editService=x,this._configService=ke,this._layoutService=Mt,this.defaultColors=!0,this.starterTheme="",this.isCollapsed=!0,this.fileUploadCheck=!1,this.background="",this.color="",this.imgUrl="",this.className="",this.align="center",this.height="auto",this.maxWidth="100%",this.targetUrl="",this._fileToUpload=null,this._uploadImageUri=this._configService.expressApi+"/file/upload",this.uploader=new el.bA({url:this._uploadImageUri,itemAlias:"photo"}),this.attachmentList=[],this.uploader.onAfterAddingFile=un=>{un.withCredentials=!1},this.uploader.onCompleteItem=(un,Dn,Bn,pi)=>{this.attachmentList.push(JSON.parse(Dn))}}ngOnChanges(i){i.template&&(this._temp=i.template.currentValue,this.template=this._temp),i.rowType&&(this.rowType=i.rowType.currentValue),i.rowArray&&(this.rowArray=i.rowArray.currentValue),i.compArray&&(this.compArray=i.compArray.currentValue),i.edit&&(this.edit=i.edit.currentValue),!0===this.edit?(this.setRowType(),this.getFormVariables(),this.fileUploadCheck=!0):this.setNewVariables(),i.starterTheme&&(this.starterTheme=i.starterTheme.currentValue),!this.edit&&this.template&&""!==this.starterTheme&&this.starterTheme&&i.defaultColors&&(this.defaultColors=i.defaultColors.currentValue,this.defaultColors&&(this.color=this.defaultColors.fontColor,this.background=this.defaultColors.backColor))}setNewVariableValues(){this.title="",this.imgTitle="",this.background="",this.color="",this.flushed=!0,this.imgUrl="",this.className="",this.display="",this.align="center",this.height="",this.maxWidth="",this.width="",this.marginLeft="",this.marginRight="",this.paddingTop="",this.paddingBottom="",this.radius="",this.border="",this.filter="",this.transform="",this.opacity=1,this.alt="",this.longdesc="",this.targetUrl=""}setNewVariables(){switch(this.setNewVariableValues(),this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":case"col-632":this.maxHeight="250px";break;case"col-31":case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":case"col-42":case"col-421":case"col-51":this.maxHeight="200px";break;default:this.maxHeight="350px"}}getFormVariables(){this.title=this._temp[this.compArray].title,this.imgTitle=this._temp[this.compArray].imgTitle,this.background=this._temp[this.compArray].background,this.color=this._temp[this.compArray].color,this.flushed=this._temp[this.compArray].flushed,this.imgUrl=this._temp[this.compArray].imgUrl,this.className=this._temp[this.compArray].className?this._temp[this.compArray].className:this.className,this.display=this._temp[this.compArray].display,this.align=this._temp[this.compArray].align,this.maxHeight=this._temp[this.compArray].maxHeight,this.height=this._temp[this.compArray].height,this.maxWidth=this._temp[this.compArray].maxWidth,this.width=this._temp[this.compArray].width,this.marginLeft=this._temp[this.compArray].marginLeft,this.marginRight=this._temp[this.compArray].marginRight,this.paddingTop=this._temp[this.compArray].paddingTop,this.paddingBottom=this._temp[this.compArray].paddingBottom,this.radius=this._temp[this.compArray].radius,this.border=this._temp[this.compArray].border,this.filter=this._temp[this.compArray].filter,this.transform=this._temp[this.compArray].transform,this.opacity=this._temp[this.compArray].opacity,this.alt=this._temp[this.compArray].alt,this.longdesc=this._temp[this.compArray].longdesc,this.targetUrl=this._temp[this.compArray].targetUrl?this._temp[this.compArray].targetUrl:""}setRowType(){switch(this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":case"col-632":this.maxHeight="250px";break;case"col-31":case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":case"col-42":case"col-421":case"col-51":this.maxHeight="200px";break;default:this.maxHeight="350px"}}uploadImage(){const i=this._el.nativeElement.querySelector("#photo"),c=new FormData,l=i.files.length;if(i.files.item(0).size<=5e6){if(l>0){c.append("photo",i.files.item(0));const ke=new Si.LE;this._http.post(this._uploadImageUri,c,{params:ke}).pipe((0,vr.U)(Mt=>Mt),(0,os.K)(Mt=>(0,Jp._)(Mt))).subscribe(Mt=>{let Dn="";Dn="/uploads/"+Mt.uploadname,this.openSnackBar("image uploaded","ok"),this.fileUploadCheck=!0,this.imgUrl=Dn},Mt=>{console.error("upload image error"),console.log(Mt),console.log(`${JSON.stringify(Mt)}`),alert(Mt)})}}else this.openSnackBar("image size too large exceeded 5MB","ok")}getMyStyles(){return{color:this.title,display:this.display,height:this.height,width:this.width,"max-height":this.maxHeight,"max-width":this.maxWidth,align:this.align,alt:this.alt,border:this.border,filter:this.filter,opacity:this.opacity,"border-radius":this.radius,transform:this.transform,"margin-left":this.marginLeft,"margin-right":this.marginRight}}updateIMAGE(){this.imgUrl&&/\S/.test(this.imgUrl)?this._editService.setIMAGE({typeOf:"image",title:this.title,imgTitle:this.imgTitle,background:this.background,imgUrl:this.imgUrl,color:this.color,flushed:this.flushed,className:this.className,display:this.display,align:this.align,maxHeight:this.maxHeight,maxWidth:this.maxWidth,width:this.width,radius:this.radius,border:this.border,filter:this.filter,targetUrl:this.targetUrl?this.targetUrl:"",transform:this.transform,opacity:this.opacity,alt:this.alt,longdesc:this.longdesc,marginLeft:this.marginLeft,marginRight:this.marginRight,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom},this.rowType,this._temp,this.rowArray,this.compArray):this.openSnackBar("please upload an image first","ok")}submitIMAGE(){this.imgUrl&&/\S/.test(this.imgUrl)?(this._editService.setIMAGE({typeOf:"image",title:this.title,imgTitle:this.imgTitle,background:this.background,imgUrl:this.imgUrl,color:this.color,flushed:this.flushed,className:this.className,display:this.display,align:this.align,maxHeight:this.maxHeight,maxWidth:this.maxWidth,width:this.width,radius:this.radius,border:this.border,filter:this.filter,targetUrl:this.targetUrl?this.targetUrl:"",transform:this.transform,opacity:this.opacity,alt:this.alt,longdesc:this.longdesc,marginLeft:this.marginLeft,marginRight:this.marginRight,paddingTop:this.paddingTop,paddingBottom:this.paddingBottom},this.rowType,this._temp,this.rowArray,this.compArray),this.closeNav()):this.openSnackBar("please upload an image first","ok")}openSnackBar(i,c){this._snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}handleFileInput(i){this._fileToUpload=i.item(0),this.imgUrl="localhost:4200/"+this._fileToUpload.name}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(e.SBq),e.Y36(Si.eN),e.Y36(Ti.pl),e.Y36(as.n),e.Y36(io.E),e.Y36(We.P))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-c-image"]],inputs:{template:"template",rowType:"rowType",rowArray:"rowArray",compArray:"compArray",image:"image",edit:"edit",defaultColors:"defaultColors",starterTheme:"starterTheme"},features:[e.qOj,e.TTD],decls:106,vars:27,consts:[[1,"text-center","width-100"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],[1,"container-fluid"],[1,"edit","row","width-100","padding-0-25"],[1,"col-12","margin-5-0"],[1,"form-group"],["for","name"],["type","text","id","name","aria-describedby","title","placeholder","Title",1,"form-control",3,"ngModel","ngModelChange"],["for","color"],["type","text","id","color","aria-describedby","Title Color","placeholder","Font Color",1,"form-control","color",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Choose Color",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],["for","photo"],["ng2FileSelect","","type","file","name","photo","id","photo",1,"form-control",3,"uploader"],["role","button","aria-label","Upload Image","type","button","class","btn btn-outline-primary margin-10-0",3,"click",4,"ngIf"],["class","text-center width-320 height-150 back-shade-two color-offset-four",4,"ngIf"],["class","text-center",4,"ngIf"],[1,"form-group","margin-10-0"],["for","image-alt-text"],["type","text","id","image-alt-text","aria-describedby","image alternate text","placeholder","Image Alternate Text",1,"form-control",3,"ngModel","ngModelChange"],["for","targetUrl"],["type","text","id","targetUrl","aria-describedby","Target URL","placeholder","Enter URL",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-12"],["role","button","type","button","aria-label","More Options",1,"btn","btn-link",3,"click"],["class","fa fa-caret-right","aria-hidden","true",4,"ngIf"],["class","fa fa-caret-down","aria-hidden","true",4,"ngIf"],[1,"width-100","padding-0-25",3,"ngbCollapse"],[1,"block","row","text-center","margin-15-0"],["aria-hidden","true","matTooltip","Change the Appearance of the uploaded image. See links underneath the input values to get more in detailed explanations on that property.",1,"fa","fa-question-circle-o",2,"margin-left","5px",3,"matTooltipPosition"],[1,"edit","row"],["for","width"],["type","text","id","width","aria-describedby","width","placeholder","ex. 100% or 250px",1,"form-control",3,"ngModel","ngModelChange"],["id","widthHelp",1,"form-text","text-muted"],["href","https://www.w3schools.com/cssref/pr_dim_width.asp","target","_blank"],["for","height"],["type","text","id","height","aria-describedby","height","placeholder","ex. 100% or 250px",1,"form-control",3,"ngModel","ngModelChange"],["id","heightHelp",1,"form-text","text-muted"],["href","https://www.w3schools.com/cssref/pr_dim_height.asp","target","_blank"],["for","align"],["aria-hidden","true","matTooltip","Image position property sets the starting position of a background images",1,"fa","fa-info",2,"margin-left","5px",3,"matTooltipPosition"],["type","text","id","align","aria-describedby","align","placeholder","alignment values",1,"form-control",3,"ngModel","ngModelChange"],["id","alignHelp",1,"form-text","text-muted"],["for","opacity"],["aria-hidden","true","matTooltip","The opacity-level describes the transparency-level, where 1 is not transparent at all, 0.5 is 50%\n                                        see-through, and 0 is completely transparent.",1,"fa","fa-info",2,"margin-left","5px",3,"matTooltipPosition"],["type","text","id","opacity","aria-describedby","opacity","placeholder","0.0 through 1.0",1,"form-control",3,"ngModel","ngModelChange"],["id","backOpacityHelp",1,"form-text","text-muted"],["aria-hidden","true","matTooltip","Change the background color, flush in template with no outer margins, and add additional classes for this component.",1,"fa","fa-question-circle-o",2,"margin-left","5px",3,"matTooltipPosition"],["for","background"],["type","text","id","background","aria-describedby","Background","placeholder","Enter Background Color",1,"form-control","color",3,"ngModel","ngModelChange"],[1,"col-12","margin-5-0","padding-10-0"],[1,"form-check"],["for","flush",1,"form-check-label"],["type","checkbox","id","flush",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],[1,"col-12","margin-25-0","text-end"],["role","button","type","button","aria-label","Preview",1,"btn","btn-link",2,"left","initial",3,"click"],["role","button","type","button","aria-label","Save and Close",1,"btn","btn-primary",2,"left","initial",3,"click"],["role","button","aria-label","Upload Image","type","button",1,"btn","btn-outline-primary","margin-10-0",3,"click"],[1,"text-center","width-320","height-150","back-shade-two","color-offset-four"],[1,"inline-block","padding-40"],[1,"text-center"],["alt","Uploaded Photo",2,"max-width","300px","max-height","200px",3,"src"],["aria-hidden","true",1,"fa","fa-caret-right"],["aria-hidden","true",1,"fa","fa-caret-down"]],template:function(c,l){1&c&&(e.TgZ(0,"h3",0),e._uU(1," Image Block "),e.TgZ(2,"i",1),e.NdJ("click",function(){return l.closeNav()}),e.qZA()(),e.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"label",6),e._uU(8,"Title"),e.qZA(),e.TgZ(9,"input",7),e.NdJ("ngModelChange",function(ke){return l.title=ke}),e.qZA()()(),e.TgZ(10,"div",4)(11,"div",5)(12,"label",8),e._uU(13,"Title Color"),e.qZA(),e._UZ(14,"br"),e.TgZ(15,"input",9),e.NdJ("ngModelChange",function(ke){return l.color=ke}),e.qZA(),e.TgZ(16,"button",10),e.NdJ("colorPickerChange",function(ke){return l.color=ke}),e.qZA()()(),e.TgZ(17,"div",4)(18,"div",5)(19,"label",11),e._uU(20,"Image Upload"),e.qZA(),e._UZ(21,"input",12),e.YNc(22,v0,2,0,"button",13),e.qZA(),e.YNc(23,X_,3,0,"div",14)(24,y0,2,1,"div",15),e.qZA()(),e.TgZ(25,"div",3)(26,"div",4)(27,"div",16)(28,"label",17),e._uU(29,"Image Alternate Text"),e.qZA(),e.TgZ(30,"input",18),e.NdJ("ngModelChange",function(ke){return l.imgTitle=ke}),e.qZA()()(),e.TgZ(31,"div",4)(32,"div",16)(33,"label",19),e._uU(34,"Target URL"),e.qZA(),e.TgZ(35,"input",20),e.NdJ("ngModelChange",function(ke){return l.targetUrl=ke}),e.qZA()()(),e.TgZ(36,"div",21)(37,"button",22),e.NdJ("click",function(){return l.isCollapsed=!l.isCollapsed}),e._uU(38," More Options "),e.YNc(39,x0,1,0,"i",23)(40,C0,1,0,"i",24),e.qZA()()(),e.TgZ(41,"div",25)(42,"div",26)(43,"h3"),e._uU(44," Image Block Properties "),e._UZ(45,"i",27),e.qZA()(),e.TgZ(46,"div",28)(47,"div",4)(48,"div",5)(49,"label",29),e._uU(50,"Width"),e.qZA(),e.TgZ(51,"input",30),e.NdJ("ngModelChange",function(ke){return l.width=ke}),e.qZA(),e.TgZ(52,"small",31),e._uU(53,'Specify image to constant width. Numbers followed by "px", "%", "vw". '),e.TgZ(54,"a",32),e._uU(55,"for width values"),e.qZA()()()(),e.TgZ(56,"div",4)(57,"div",5)(58,"label",33),e._uU(59,"Height"),e.qZA(),e.TgZ(60,"input",34),e.NdJ("ngModelChange",function(ke){return l.height=ke}),e.qZA(),e.TgZ(61,"small",35),e._uU(62,'Specify image to constant height. Numbers followed by "px", "%", "vh". '),e.TgZ(63,"a",36),e._uU(64,"for height values"),e.qZA()()()(),e.TgZ(65,"div",4)(66,"div",5)(67,"label",37),e._uU(68,"Image Postion"),e.qZA(),e._UZ(69,"i",38),e.TgZ(70,"input",39),e.NdJ("ngModelChange",function(ke){return l.align=ke}),e.qZA(),e.TgZ(71,"small",40),e._uU(72,"Represents horizontal alignment of the image. "),e._UZ(73,"br"),e._uU(74,' Enter "left","center", or "right".'),e.qZA()()(),e.TgZ(75,"div",4)(76,"div",5)(77,"label",41),e._uU(78,"Opacity"),e.qZA(),e._UZ(79,"i",42),e.TgZ(80,"input",43),e.NdJ("ngModelChange",function(ke){return l.opacity=ke}),e.qZA(),e.TgZ(81,"small",44),e._uU(82,"Set the Transparency Level of the Backgound and/or Image"),e.qZA()()()(),e.TgZ(83,"div",26)(84,"h3"),e._uU(85," Design Elements "),e._UZ(86,"i",45),e.qZA()(),e.TgZ(87,"div",28)(88,"div",4)(89,"div",5)(90,"label",46),e._uU(91,"Image Background Color"),e.qZA(),e._UZ(92,"br"),e.TgZ(93,"input",47),e.NdJ("ngModelChange",function(ke){return l.background=ke}),e.qZA(),e.TgZ(94,"button",10),e.NdJ("colorPickerChange",function(ke){return l.background=ke}),e.qZA()()(),e.TgZ(95,"div",48)(96,"div",49)(97,"label",50)(98,"input",51),e.NdJ("ngModelChange",function(ke){return l.flushed=ke}),e.qZA(),e._uU(99,"Flush in template. "),e.qZA()()()()(),e.TgZ(100,"div",28)(101,"div",52)(102,"button",53),e.NdJ("click",function(){return l.updateIMAGE()}),e._uU(103," Preview "),e.qZA(),e.TgZ(104,"button",54),e.NdJ("click",function(){return l.submitIMAGE()}),e._uU(105," Save and Close "),e.qZA()()()()),2&c&&(e.xp6(9),e.Q6J("ngModel",l.title),e.xp6(6),e.Q6J("ngModel",l.color),e.xp6(),e.Udp("background",l.color),e.Q6J("colorPicker",l.color),e.xp6(5),e.Q6J("uploader",l.uploader),e.xp6(),e.Q6J("ngIf",null!==l.uploader),e.xp6(),e.Q6J("ngIf",!1===l.fileUploadCheck),e.xp6(),e.Q6J("ngIf",!0===l.fileUploadCheck),e.xp6(6),e.Q6J("ngModel",l.imgTitle),e.xp6(5),e.Q6J("ngModel",l.targetUrl),e.xp6(4),e.Q6J("ngIf",l.isCollapsed),e.xp6(),e.Q6J("ngIf",!l.isCollapsed),e.xp6(),e.Q6J("ngbCollapse",l.isCollapsed),e.xp6(4),e.Q6J("matTooltipPosition","right"),e.xp6(6),e.Q6J("ngModel",l.width),e.xp6(9),e.Q6J("ngModel",l.height),e.xp6(9),e.Q6J("matTooltipPosition","right"),e.xp6(),e.Q6J("ngModel",l.align),e.xp6(9),e.Q6J("matTooltipPosition","right"),e.xp6(),e.Q6J("ngModel",l.opacity),e.xp6(6),e.Q6J("matTooltipPosition","right"),e.xp6(7),e.Q6J("ngModel",l.background),e.xp6(),e.Udp("background",l.background),e.Q6J("colorPicker",l.background),e.xp6(4),e.Q6J("ngModel",l.flushed))},dependencies:[ei.O5,At.Fj,At.Wl,At.JJ,At.On,pa.Kd,qs._D,el.C6,Ms.Kk],styles:["h3[_ngcontent-%COMP%]{font-size:1.25em;margin-bottom:0}"]})}return d})();function eg(d,g){1&d&&e._UZ(0,"i",36)}function tg(d,g){1&d&&e._UZ(0,"i",37)}let T0=(()=>{class d extends na.e{constructor(i,c){super(i),this._layoutService=i,this._editService=c,this.background="",this.color="white",this.targetUrl="",this.isCollapsed=!0,this._typeOf="embed",this._titleBack=""}ngOnChanges(){this._temp=this.template,!0===this.edit?(this.setRowType(),this.getFormVariables()):this.setNewVariables(),this.setRowType()}setNewVariables(){switch(this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":this._className="height-250",this.title="",this.background="",this.color="",this.flushed=!0,this._titleBack="",this.targetUrl="",this.height="215px";break;case"col-31":case"col-42":case"col-421":case"col-51":case"col-632":this._className="height-250",this.title="",this.background="",this.color="",this.flushed=!0,this._titleBack="",this.targetUrl="",this.height="100vh";break;default:this._className="padding-10",this.title="",this.background="",this.color="",this.flushed=!0,this._titleBack="",this.targetUrl="",this.height="100vh"}}getFormVariables(){this._typeOf="embed",this.title=this._temp[this.compArray].title,this.background=this._temp[this.compArray].background,this.color=this._temp[this.compArray].color,this.flushed=this._temp[this.compArray].flushed,this._className=this._temp[this.compArray].className?this._temp[this.compArray].className:this._className,this.targetUrl=this._temp[this.compArray].targetUrl,this.height=this._temp[this.compArray].height}setRowType(){switch(this.rowType){case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":this._TwoColumns=!0;break;case"col-31":case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":this._ThreeColumns=!0;break;case"col-42":case"col-421":this._FourColumns=!0;break;case"col-51":this._FiveColumns=!0;break;case"col-632":this._SixColumns=!0;break;default:this._OneColumn=!0}}updateEMBED(){let i="";this.targetUrl.includes("http://")||this.targetUrl.includes("http")||this.targetUrl.includes("https")?this.targetUrl.includes("http://")?(i=this.targetUrl.replace("http://","https://"),this.targetUrl=i):this.targetUrl.includes("https")&&!this.targetUrl.includes("https://")?(i=this.targetUrl.replace("https","https://"),this.targetUrl=i):this.targetUrl.includes("http")&&!this.targetUrl.includes("https://")&&!this.targetUrl.includes("http://")&&(i=this.targetUrl.replace("http","https://"),this.targetUrl=i):(i="https://"+this.targetUrl,this.targetUrl=i),this._editService.setEMBED({typeOf:"embed",title:this.title,background:this.background,color:this.color,flushed:this.flushed,className:this._className,targetUrl:this.targetUrl,height:this.height},this.rowType,this._temp,this.rowArray,this.compArray)}submitEMBED(){let i="";this.targetUrl.includes("http://")||this.targetUrl.includes("http")||this.targetUrl.includes("https")?this.targetUrl.includes("http://")?(i=this.targetUrl.replace("http://","https://"),this.targetUrl=i):this.targetUrl.includes("https")&&!this.targetUrl.includes("https://")?(i=this.targetUrl.replace("https","https://"),this.targetUrl=i):this.targetUrl.includes("http")&&!this.targetUrl.includes("https://")&&!this.targetUrl.includes("http://")&&(i=this.targetUrl.replace("http","https://"),this.targetUrl=i):i="https://"+this.targetUrl,this._editService.setEMBED({typeOf:"embed",title:this.title,background:this.background,color:this.color,flushed:this.flushed,className:this._className,targetUrl:this.targetUrl,height:this.height},this.rowType,this._temp,this.rowArray,this.compArray),this.closeNav()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(We.P),e.Y36(as.n))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-c-embed"]],inputs:{embed:"embed",template:"template",rowType:"rowType",rowArray:"rowArray",compArray:"compArray",edit:"edit"},features:[e.qOj,e.TTD],decls:72,vars:17,consts:[[1,"text-center","width-100"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],[1,"container-fluid"],[1,"edit","row","w-sm-100","padding-0-25"],[1,"col-12","margin-5-0"],[1,"form-group"],["for","name"],["type","text","id","name","aria-describedby","title","placeholder","Title",1,"form-control",3,"ngModel","ngModelChange"],["for","targetUrl"],["type","text","id","targetUrl","aria-describedby","Embed a secured URL","placeholder","https://",1,"form-control",3,"ngModel","ngModelChange"],["id","backRepeatHelp",1,"form-text","text-muted"],[1,"col-12","margin-10-0"],["for","height"],["aria-hidden","true","matTooltip","Requirement for showing the web link into an iframe. Examples: 640px or 80vh",1,"fa","question-help","fa-question-circle-o",3,"matTooltipPosition"],["type","text","id","height","aria-describedby","Embed a secured URL","placeholder","",1,"form-control",3,"ngModel","ngModelChange"],["href","https://www.w3schools.com/cssref/css_units.asp","target","_blank"],[1,"edit","row"],[1,"col-12"],["role","button","type","button","aria-label","More Options",1,"btn","btn-link",3,"click"],["class","fa fa-caret-right","aria-hidden","true",4,"ngIf"],["class","fa fa-caret-down","aria-hidden","true",4,"ngIf"],[1,"width-100","padding-0-25",3,"ngbCollapse"],[1,"edit","row","text-center","margin-15-0"],["aria-hidden","true","matTooltip","Change the overall font colors, background, and ability to add additional classes",1,"fa","fa-question-circle-o",2,"margin-left","5px",3,"matTooltipPosition"],["for","color"],["type","text","id","color","aria-describedby","Font Color","placeholder","Enter Font Color",1,"form-control","color",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Choose Color",1,"btn","btn-circle",3,"colorPicker","colorPickerChange"],["for","background"],["type","text","id","background","aria-describedby","Background","placeholder","Enter Background Color",1,"form-control","color",3,"ngModel","ngModelChange"],[1,"form-check"],["for","flush",1,"form-check-label"],["type","checkbox","id","flush",1,"form-check-input",2,"width","20px","height","20px","margin-right","5px","position","relative","vertical-align","bottom",3,"ngModel","ngModelChange"],[1,"width-100","text-center","padding-15","background-color"],[1,"padding-10","text-end"],["role","button","type","button","aria-label","Preview",1,"btn","btn-link",3,"click"],["role","button","type","button","aria-label","Save and Close",1,"btn","btn-primary",3,"click"],["aria-hidden","true",1,"fa","fa-caret-right"],["aria-hidden","true",1,"fa","fa-caret-down"]],template:function(c,l){1&c&&(e.TgZ(0,"h3",0),e._uU(1," Embed Web Link "),e.TgZ(2,"i",1),e.NdJ("click",function(){return l.closeNav()}),e.qZA()(),e.TgZ(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"label",6)(8,"strong"),e._uU(9,"Not all external sites allowing linking to a splash page"),e.qZA()()()(),e.TgZ(10,"div",4)(11,"div",5)(12,"label",6),e._uU(13,"Title"),e.qZA(),e.TgZ(14,"input",7),e.NdJ("ngModelChange",function(ke){return l.title=ke}),e.qZA()()(),e.TgZ(15,"div",4)(16,"div",5)(17,"label",8),e._uU(18,"Web Link "),e.qZA(),e._UZ(19,"br"),e.TgZ(20,"input",9),e.NdJ("ngModelChange",function(ke){return l.targetUrl=ke}),e.qZA(),e.TgZ(21,"small",10),e._uU(22," https:// required. If nothing shows up the web link's response header X-Frame-Option is probably set to DENY or SAMEORIGIN. "),e.qZA()()(),e.TgZ(23,"div",11)(24,"div",5)(25,"label",12),e._uU(26,"*Height "),e._UZ(27,"i",13),e.qZA(),e._UZ(28,"br"),e.TgZ(29,"input",14),e.NdJ("ngModelChange",function(ke){return l.height=ke}),e.qZA(),e.TgZ(30,"small",10),e._uU(31,' Specify image to constant height. Numbers followed by "px" or "vh" for '),e.TgZ(32,"a",15),e._uU(33," Height"),e.qZA(),e._uU(34," values. "),e.qZA()()(),e.TgZ(35,"div",16)(36,"div",17)(37,"button",18),e.NdJ("click",function(){return l.isCollapsed=!l.isCollapsed}),e._uU(38," More Options "),e.YNc(39,eg,1,0,"i",19)(40,tg,1,0,"i",20),e.qZA()()(),e.TgZ(41,"div",21)(42,"div",22)(43,"h3"),e._uU(44," Design Elements "),e._UZ(45,"i",23),e.qZA()(),e.TgZ(46,"div",16)(47,"div",4)(48,"div",5)(49,"label",24),e._uU(50,"Title Color"),e.qZA(),e._UZ(51,"br"),e.TgZ(52,"input",25),e.NdJ("ngModelChange",function(ke){return l.color=ke}),e.qZA(),e.TgZ(53,"button",26),e.NdJ("colorPickerChange",function(ke){return l.color=ke}),e.qZA()()(),e.TgZ(54,"div",4)(55,"div",5)(56,"label",27),e._uU(57,"Background Color"),e.qZA(),e._UZ(58,"br"),e.TgZ(59,"input",28),e.NdJ("ngModelChange",function(ke){return l.background=ke}),e.qZA(),e.TgZ(60,"button",26),e.NdJ("colorPickerChange",function(ke){return l.background=ke}),e.qZA()()(),e.TgZ(61,"div",4)(62,"div",29)(63,"label",30)(64,"input",31),e.NdJ("ngModelChange",function(ke){return l.flushed=ke}),e.qZA(),e._uU(65,"Flush in template. "),e.qZA()()()()(),e.TgZ(66,"div",32)(67,"div",33)(68,"button",34),e.NdJ("click",function(){return l.updateEMBED()}),e._uU(69," Preview "),e.qZA(),e.TgZ(70,"button",35),e.NdJ("click",function(){return l.submitEMBED()}),e._uU(71," Save and Close "),e.qZA()()()()()),2&c&&(e.xp6(14),e.Q6J("ngModel",l.title),e.xp6(6),e.Q6J("ngModel",l.targetUrl),e.xp6(7),e.Q6J("matTooltipPosition","after"),e.xp6(2),e.Q6J("ngModel",l.height),e.xp6(10),e.Q6J("ngIf",l.isCollapsed),e.xp6(),e.Q6J("ngIf",!l.isCollapsed),e.xp6(),e.Q6J("ngbCollapse",l.isCollapsed),e.xp6(4),e.Q6J("matTooltipPosition","right"),e.xp6(7),e.Q6J("ngModel",l.color),e.xp6(),e.Udp("background",l.color),e.Q6J("colorPicker",l.color),e.xp6(6),e.Q6J("ngModel",l.background),e.xp6(),e.Udp("background",l.background),e.Q6J("colorPicker",l.background),e.xp6(4),e.Q6J("ngModel",l.flushed))},dependencies:[ei.O5,At.Fj,At.Wl,At.JJ,At.On,pa.Kd,qs._D,Ms.Kk]})}return d})();const M0=["mediumEditor"];function bs(d,g){if(1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2),e.qZA()()),2&d){const i=e.oxw(3);e.xp6(2),e.Oqu(i.maxCharStr)}}function k0(d,g){if(1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2),e.qZA()()),2&d){const i=e.oxw(3);e.xp6(2),e.Oqu(i.maxCharStr)}}function S0(d,g){1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2,"add a valid url with http:// or https://"),e.qZA()())}function Yx(d,g){1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2,"10 digit number only"),e.qZA()())}function cf(d,g){if(1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2),e.qZA()()),2&d){const i=e.oxw(3);e.xp6(2),e.Oqu(i.maxCharStr)}}function ng(d,g){1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2,"please enter a valid email address"),e.qZA()())}function E0(d,g){if(1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2),e.qZA()()),2&d){const i=e.oxw(3);e.xp6(2),e.Oqu(i.maxCharStr)}}function O0(d,g){if(1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2),e.qZA()()),2&d){const i=e.oxw(3);e.xp6(2),e.Oqu(i.maxCharStr)}}function D0(d,g){if(1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2),e.qZA()()),2&d){const i=e.oxw(3);e.xp6(2),e.Oqu(i.maxCharStr)}}function ig(d,g){1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2,"add a valid url with http:// or https://"),e.qZA()())}function A0(d,g){1&d&&(e.TgZ(0,"div")(1,"small"),e._uU(2,"please enter a valid email address"),e.qZA()())}const P0=d=>({"greyed-out":d});function df(d,g){if(1&d&&(e.TgZ(0,"div",13)(1,"div",14)(2,"h6",9),e._uU(3,"2. Customer portal configuration"),e.qZA(),e.TgZ(4,"div",15)(5,"label",16),e._UZ(6,"input",17),e._uU(7,"Display customer portal details. "),e.qZA()(),e.TgZ(8,"div",18)(9,"label",19),e._uU(10,"Customer portal text"),e.qZA(),e._UZ(11,"br")(12,"input",20),e.YNc(13,bs,3,1,"div",0),e.qZA(),e.TgZ(14,"div",18)(15,"label",21),e._uU(16,"Customer portal Link label"),e.qZA(),e._UZ(17,"br")(18,"input",22),e.YNc(19,k0,3,1,"div",0),e.qZA(),e.TgZ(20,"div",18)(21,"label",23),e._uU(22,"Customer portal link"),e.qZA(),e._UZ(23,"br")(24,"input",24),e.YNc(25,S0,3,0,"div",0),e.qZA()(),e.TgZ(26,"div",14)(27,"h6",9),e._uU(28,"3. Customer contact configuration"),e.qZA(),e.TgZ(29,"div",18)(30,"label",25),e._uU(31,"Phone Number"),e.qZA(),e._UZ(32,"br")(33,"input",26),e.YNc(34,Yx,3,0,"div",0),e.qZA(),e.TgZ(35,"div",18)(36,"label",27),e._uU(37,"Email Address Text"),e.qZA(),e._UZ(38,"br")(39,"input",28),e.YNc(40,cf,3,1,"div",0),e.qZA(),e.TgZ(41,"div",18)(42,"label",29),e._uU(43,"Email Address"),e.qZA(),e._UZ(44,"br")(45,"input",30),e.YNc(46,ng,3,0,"div",0),e.qZA(),e.TgZ(47,"div",18)(48,"label",31),e._uU(49,"Customer Contact Text"),e.qZA(),e._UZ(50,"br")(51,"input",32),e.YNc(52,E0,3,1,"div",0),e.qZA()(),e.TgZ(53,"div",14)(54,"h6",9),e._uU(55,"4. Customer survey configuration"),e.qZA(),e.TgZ(56,"div",15)(57,"label",33),e._UZ(58,"input",34),e._uU(59,"Display customer survey details. "),e.qZA()(),e.TgZ(60,"div",18)(61,"label",35),e._uU(62,"Customer Survey Text"),e.qZA(),e._UZ(63,"br")(64,"input",36),e.YNc(65,O0,3,1,"div",0),e.qZA(),e.TgZ(66,"div",18)(67,"label",37),e._uU(68,"Customer Survey Link Label"),e.qZA(),e._UZ(69,"br")(70,"input",38),e.YNc(71,D0,3,1,"div",0),e.qZA(),e.TgZ(72,"div",18)(73,"label",31),e._uU(74,"Customer Survey Link"),e.qZA(),e._UZ(75,"br")(76,"input",39),e.YNc(77,ig,3,0,"div",0),e.qZA()(),e.TgZ(78,"div",14)(79,"h6",9),e._uU(80,"5. Form Submit configuration"),e.qZA(),e.TgZ(81,"div",18)(82,"label",40),e._uU(83,"To email address on form submit"),e.qZA(),e._UZ(84,"br")(85,"input",41),e.YNc(86,A0,3,0,"div",0),e.qZA()(),e.TgZ(87,"div",5)(88,"div",42)(89,"button",43),e._uU(90," Save and Close "),e.qZA()()()()),2&d){const i=e.oxw(2);e.xp6(13),e.Q6J("ngIf",null==i.customerPortalText?null:i.customerPortalText.invalid),e.xp6(6),e.Q6J("ngIf",null==i.customerPortalLinkLabel?null:i.customerPortalLinkLabel.invalid),e.xp6(6),e.Q6J("ngIf",null==i.customerPortalLink?null:i.customerPortalLink.invalid),e.xp6(9),e.Q6J("ngIf",null==i.phoneNumber?null:i.phoneNumber.invalid),e.xp6(6),e.Q6J("ngIf",null==i.emailAddressText?null:i.emailAddressText.invalid),e.xp6(6),e.Q6J("ngIf",null==i.emailAddress?null:i.emailAddress.invalid),e.xp6(6),e.Q6J("ngIf",null==i.timingsText?null:i.timingsText.invalid),e.xp6(13),e.Q6J("ngIf",null==i.customerSurveyText?null:i.customerSurveyText.invalid),e.xp6(6),e.Q6J("ngIf",null==i.customerSurveyLinkLabel?null:i.customerSurveyLinkLabel.invalid),e.xp6(6),e.Q6J("ngIf",null==i.customerSurveyLink?null:i.customerSurveyLink.invalid),e.xp6(9),e.Q6J("ngIf",null==i.toEmailAddressOnSubmit?null:i.toEmailAddressOnSubmit.invalid),e.xp6(3),e.Q6J("disabled",!i.editCustomerCareForm.valid)("ngClass",e.VKq(13,P0,!i.editCustomerCareForm.valid))}}function I0(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"h3",1)(2,"small"),e._uU(3,"Customer Care"),e.qZA(),e.TgZ(4,"i",2),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closeNav())}),e.qZA()(),e.TgZ(5,"div",3)(6,"form",4),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.submitCustomerCareForm())}),e.TgZ(7,"div",5)(8,"div",6)(9,"div",7)(10,"label",8)(11,"h6",9),e._uU(12," 1. Customer Care Header Text "),e.TgZ(13,"div"),e._uU(14),e.qZA()()(),e._UZ(15,"br")(16,"medium-editor-shared",10,11),e.qZA()()(),e.YNc(18,df,91,15,"div",12),e.qZA()(),e.BQk()}if(2&d){const i=e.oxw();e.xp6(6),e.Q6J("formGroup",i.editCustomerCareForm),e.xp6(8),e.hij("(",i.custHeaderMaxCharStr,")"),e.xp6(2),e.Q6J("innerHTMLText",i.customerCareDetails.customerCareHeaderHtml)("location","customerCare"),e.xp6(2),e.Q6J("ngIf",i.editCustomerCareForm)}}let R0=(()=>{class d extends na.e{constructor(i,c,l,x){super(c),this._fb=i,this._layoutService=c,this._setComponentService=l,this._sharedService=x,this.custHeaderMaxCharStr="500 characters maximum",this.maxCharStr="100 characters maximum",this._urlPattern="(https?://)?([\\da-z.-]+)\\.([a-z.]{2,6})[/\\w .-]*/?",this._phoneNumPattern="^((\\+91-?)|0)?[0-9]{10}$",this._emailPattern="^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+[.][a-zA-Z]{2,4}$"}ngOnInit(){this.template&&this.template[0]&&this.edit&&(this.customerCareDetails=this.template[0],this.customerCareDetailsRef=JSON.parse(JSON.stringify(this.customerCareDetails)),this._createEditCustomerCareForm())}_createEditCustomerCareForm(){this.editCustomerCareForm=this._fb.group({customerCareHeaderHtml:[this.customerCareDetails?.customerCareHeaderHtml.trim(),[At.kI.required]],customerPortalText:[this.customerCareDetails?.customerPortalText.trim(),[At.kI.required,At.kI.maxLength(100)]],customerPortalLinkLabel:[this.customerCareDetails?.customerPortalLinkLabel.trim(),[At.kI.required,At.kI.maxLength(100)]],customerPortalLink:[this.customerCareDetails?.customerPortalLink.trim(),[At.kI.required,At.kI.pattern(this._urlPattern)]],isCustomerPortal:[this.customerCareDetails?.isCustomerPortal],phoneNumber:[this.customerCareDetails?.phoneNumber.trim(),[At.kI.required,At.kI.pattern(this._phoneNumPattern)]],emailAddressText:[this.customerCareDetails?.emailAddressText.trim(),[At.kI.required,At.kI.maxLength(100)]],toEmailAddressOnSubmit:[this.customerCareDetails?.toEmailAddressOnSubmit.trim(),[At.kI.required,At.kI.pattern(this._emailPattern)]],emailAddress:[this.customerCareDetails?.emailAddress.trim(),[At.kI.pattern(this._emailPattern)]],timingsText:[this.customerCareDetails?.timingsText.trim(),[At.kI.required,At.kI.maxLength(100)]],customerSurveyText:[this.customerCareDetails?.customerSurveyText.trim(),[At.kI.required,At.kI.maxLength(100)]],customerSurveyLinkLabel:[this.customerCareDetails?.customerSurveyLinkLabel.trim(),[At.kI.required,At.kI.maxLength(100)]],customerSurveyLink:[this.customerCareDetails?.customerSurveyLink.trim(),[At.kI.required,At.kI.pattern(this._urlPattern)]],isCustomerSurvey:[this.customerCareDetails?.isCustomerPortal]})}get f(){return this.editCustomerCareForm.controls}get customerPortalLink(){return this.editCustomerCareForm.get("customerPortalLink")}get customerPortalText(){return this.editCustomerCareForm.get("customerPortalText")}get customerPortalLinkLabel(){return this.editCustomerCareForm.get("customerPortalLinkLabel")}get emailAddressText(){return this.editCustomerCareForm.get("emailAddressText")}get timingsText(){return this.editCustomerCareForm.get("timingsText")}get customerSurveyLink(){return this.editCustomerCareForm.get("customerSurveyLink")}get customerSurveyText(){return this.editCustomerCareForm.get("customerSurveyText")}get customerSurveyLinkLabel(){return this.editCustomerCareForm.get("customerSurveyLinkLabel")}get phoneNumber(){return this.editCustomerCareForm.get("phoneNumber")}get toEmailAddressOnSubmit(){return this.editCustomerCareForm.get("toEmailAddressOnSubmit")}get emailAddress(){return this.editCustomerCareForm.get("emailAddress")}submitCustomerCareForm(){if(this.mediumEditor.medEditElRef.nativeElement.innerHTML.length>500)return void this._sharedService.openSnackBar(`${this.custHeaderMaxCharStr} allowed for customer care header text`);if(this.closeNav(),this._setComponentService.setHasCustomerCareFormChanges(!1),""!=this.mediumEditor.medEditElRef.nativeElement.innerHTML&&(this.mediumEditor.medEditElRef.nativeElement.innerHTML=this.mediumEditor.medEditElRef.nativeElement.innerHTML.replace("<p></p>","")),!this.editCustomerCareForm.touched&&this.customerCareDetailsRef.customerCareHeaderHtml===this.mediumEditor.medEditElRef.nativeElement.innerHTML||this.editCustomerCareForm.pristine&&this.customerCareDetailsRef.customerCareHeaderHtml===this.mediumEditor.medEditElRef.nativeElement.innerHTML)return;let i=!1;i=this.customerCareDetailsRef.customerCareHeaderHtml!==this.mediumEditor.medEditElRef.nativeElement.innerHTML;for(const c in this.editCustomerCareForm.value)this.isDifferent(this.editCustomerCareForm.value,c)&&(i=!0);i&&(this._setComponentService.setHasCustomerCareFormChanges(!0),this.updateCustomerCare())}isDifferent(i,c){return this.customerCareDetailsRef[c]!==i[c]}updateCustomerCare(){const i=this.mediumEditor.medEditElRef.nativeElement.innerHTML;this.customerCareDetails.customerCareHeaderHtml=i,this.editCustomerCareForm.controls.customerCareHeaderHtml.setValue(i),this._setComponentService.setCustomerCare(this.editCustomerCareForm.value)}onReset(){this.editCustomerCareForm.reset()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(At.QS),e.Y36(We.P),e.Y36(as.n),e.Y36(Ii.F))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-customer-care"]],viewQuery:function(c,l){if(1&c&&e.Gf(M0,5),2&c){let x;e.iGM(x=e.CRH())&&(l.mediumEditor=x.first)}},inputs:{typeOf:"typeOf",rowType:"rowType",rowArray:"rowArray",compArray:"compArray",edit:"edit",template:"template"},features:[e.qOj],decls:1,vars:1,consts:[[4,"ngIf"],[1,"text-center","width-100"],["aria-hidden","true","title","Close Customer Care",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],[1,"container-fluid","maxWidth-400","control-panel"],["novalidate","",3,"formGroup","ngSubmit"],[1,"edit","row"],[1,"col-12"],[2,"width","100%"],["for","ccHeaderHtml"],[1,"sub_header","margin-20-0"],["id","ccHeaderHtml",3,"innerHTMLText","location"],["mediumEditor",""],["class","edit-row",4,"ngIf"],[1,"edit-row"],[1,"col-12","margin-5-0"],[1,"form-check","margin-bottom-20"],["for","isCustomerPortal",1,"form-check-label"],["type","checkbox","id","isCustomerPortal","name","isCustomerPortal","formControlName","isCustomerPortal",1,"form-check-input","input_checkbox"],[1,"form-group"],["for","ccPortalText"],["type","text","id","ccPortalText","aria-describedby","Customer portal text","placeholder","Customer portal text","name","ccPortalText","formControlName","customerPortalText",1,"form-control","color"],["for","ccPortalLabel"],["type","text","id","ccPortalLabel","aria-describedby","Customer portal link Label","placeholder","Customer portal link label","name","ccPortalLabel","formControlName","customerPortalLinkLabel",1,"form-control","color"],["for","ccPortalLink"],["type","text","id","ccPortalLink","aria-describedby","Customer portal label","placeholder","Customer portal label","name","ccPortalLink","formControlName","customerPortalLink",1,"form-control","color"],["for","phoneNumber"],["type","text","id","phoneNumber","aria-describedby","Phone Number","placeholder","Enter phone number","name","phoneNumber","formControlName","phoneNumber",1,"form-control","color"],["for","emailAddressText"],["type","text","id","emailAddressText","aria-describedby","Enter email address text","placeholder","Enter email address text","name","emailAddressText","formControlName","emailAddressText",1,"form-control","color"],["for","emailAddress"],["type","email","id","emailAddress","aria-describedby","Enter email address","placeholder","Enter email address","name","emailAddress","formControlName","emailAddress",1,"form-control","color"],["for","timings"],["type","text","id","timings","aria-describedby","Enter customer contact text","placeholder","Enter customer contact text","name","timings","formControlName","timingsText",1,"form-control","color"],["for","isCustomerSurvey",1,"form-check-label"],["type","checkbox","id","isCustomerSurvey","name","isCustomerSurvey","formControlName","isCustomerSurvey",1,"form-check-input","input_checkbox"],["for","ccSurveyText"],["type","text","id","ccSurveyText","aria-describedby","Customer survey text","placeholder","Enter customer survey text","name","ccSurveyText","formControlName","customerSurveyText",1,"form-control","color"],["for","ccSurveyLinkLabel"],["type","text","id","ccSurveyLinkLabel","aria-describedby","Customer survey link label","placeholder","Enter customer survey link label","name","ccSurveyLinkLabel","formControlName","customerSurveyLinkLabel",1,"form-control","color"],["type","text","id","ccSurveyLink","aria-describedby","Customer survey link","placeholder","Enter customer survey link","name","ccSurveyLink","formControlName","customerSurveyLink",1,"form-control","color"],["for","toEmailAddressOnSubmit"],["type","email","id","toEmailAddressOnSubmit","aria-describedby","To email address on form submit","placeholder","To email address on form submit","name","toEmailAddressOnSubmit","formControlName","toEmailAddressOnSubmit",1,"form-control","color"],[1,"col-12","margin-25-0","text-end"],["role","button","aria-label","Save and Close","type","submit",1,"btn","btn-primary",2,"left","initial",3,"disabled","ngClass"]],template:function(c,l){1&c&&e.YNc(0,I0,19,5,"ng-container",0),2&c&&e.Q6J("ngIf",l.customerCareDetails)},dependencies:[ei.mk,ei.O5,zr.oO,At._Y,At.Fj,At.Wl,At.JJ,At.JL,At.sg,At.u,gt],styles:[".color[_ngcontent-%COMP%]{max-width:270px!important}.sub_header[_ngcontent-%COMP%]{font-weight:700}input.ng-invalid[_ngcontent-%COMP%], textarea.ng-invalid[_ngcontent-%COMP%]{border-left:5px solid red}.input_checkbox[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:5px;position:relative;vertical-align:bottom}"]})}return d})();function L0(d,g){if(1&d&&e._UZ(0,"edit-c-cta",12),2&d){const i=e.oxw();e.Q6J("cta",i.typeOf)("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)("defaultColors",i.colors)("starterTheme",i.starterTheme)}}function N0(d,g){if(1&d&&e._UZ(0,"edit-c-embed",13),2&d){const i=e.oxw();e.Q6J("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)}}function F0(d,g){if(1&d&&e._UZ(0,"edit-c-feedback",14),2&d){const i=e.oxw();e.Q6J("feed",i.typeOf)("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)}}function hl(d,g){if(1&d&&e._UZ(0,"edit-c-image",15),2&d){const i=e.oxw();e.Q6J("image",i.typeOf)("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)("defaultColors",i.colors)("starterTheme",i.starterTheme)}}function uf(d,g){if(1&d&&e._UZ(0,"ag-edit-c-showcase",16),2&d){const i=e.oxw();e.Q6J("isPopularList",!1)("show",i.typeOf)("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)("dynamic",i.dynamic)("defaultColors",i.colors)("starterTheme",i.starterTheme)("widgetEdit",i.widgetEdit)}}function B0(d,g){if(1&d&&e._UZ(0,"ag-edit-c-showcase",17),2&d){const i=e.oxw();e.Q6J("isPopularList",!1)("show",i.typeOf)("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)("dynamic",i.dynamic)("starterTheme",i.starterTheme)("defaultColors",i.colors)}}function U0(d,g){if(1&d&&e._UZ(0,"ag-edit-c-showcase",18),2&d){const i=e.oxw();e.Q6J("isPopularList",!0)("show",i.typeOf)("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)("dynamic",i.dynamic)("defaultColors",i.colors)("starterTheme",i.starterTheme)}}function og(d,g){if(1&d&&e._UZ(0,"edit-c-text",19),2&d){const i=e.oxw();e.Q6J("textBlock",i.typeOf)("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)}}function rg(d,g){if(1&d&&e._UZ(0,"edit-c-topic",20),2&d){const i=e.oxw();e.Q6J("topic",i.typeOf)("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)}}function Qp(d,g){if(1&d&&e._UZ(0,"edit-customer-care",21),2&d){const i=e.oxw();e.Q6J("typeOf",i.typeOf)("rowType",i.rowType)("rowArray",i.rowArray)("compArray",i.compArray)("template",i.template)("edit",i.edit)}}function hf(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",22),e._UZ(1,"i",23),e.TgZ(2,"div"),e._uU(3,"Were sorry there seems a different option than what you have chosen."),e.qZA(),e.TgZ(4,"input",24),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.empty=l)}),e.qZA(),e.TgZ(5,"button",25),e._uU(6," Go "),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(4),e.Q6J("ngModel",i.empty),e.xp6(),e.Q6J("disabled",!i.empty)}}let Z0=(()=>{class d extends na.e{constructor(i,c,l,x){super(i),this._layoutService=i,this._colorsService=c,this._predefinedTemplatesService=l,this._storageService=x,this.dynamic=!0,this.empty="",this.starterTheme=""}ngOnChanges(i){var c=this;return(0,t.Z)(function*(){if(i&&i.component&&(c.component=i.component.currentValue,c.typeOf=c.component.typeOf,c.rowType=c.component.rowType,c.rowArray=c.component.rowArray,c.compArray=c.component.compArray,c.template=c.component.template,c.edit=c.component.edit,c.dynamic=c.component.dynamic??!0,c.widgetEdit=c.component.widgetEdit??!1,c.starterTheme="",!c.edit)){let l=c._storageService.getItem("layoutSettings");if(!(l&&l.styles&&l.styles[0]&&l.styles[0].starterTheme)){const x=c._storageService.getCid(),ke=c._storageService.getLid();l=yield c._predefinedTemplatesService.getLayoutSettingsAsync(x,ke)}l&&l.styles&&l.styles[0]&&l.styles[0].starterTheme&&(c.starterTheme=l.styles[0].starterTheme,c.colors=c.checkTheme(c.starterTheme))}})()}checkTheme(i){let c,l;switch(i){case"olivegreen":return c=this._colorsService.setGreen(),l={fontColor:c.headerColor,backColor:""},l;case"purple":return c=this._colorsService.setPurple(),l={fontColor:c.headerColor,backColor:""},l;case"lightblue":return c=this._colorsService.setLightBlue(),l={fontColor:c.headerColor,backColor:""},l;case"royal":return c=this._colorsService.setRoyal(),l={fontColor:c.headerColor,backColor:""},l;case"lightgreen":return c=this._colorsService.setLightGreen(),l={fontColor:c.headerColor,backColor:""},l;case"orange":return c=this._colorsService.setOrange(),l={fontColor:c.headerColor,backColor:""},l;case"pink":return c=this._colorsService.setPink(),l={fontColor:c.headerColor,backColor:""},l;case"red":return c=this._colorsService.setRed(),l={fontColor:c.headerColor,backColor:""},l;case"brown":return c=this._colorsService.setBrown(),l={fontColor:c.headerColor,backColor:""},l;case"bluegrey":return c=this._colorsService.setBlueGrey(),l={fontColor:c.headerColor,backColor:""},l;case"default":return c=this._colorsService.defaultColorTheme(),l={fontColor:c.headerColor,backColor:""},l}}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(We.P),e.Y36(Qn),e.Y36(Dr.fs),e.Y36(no.V))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-component"]],inputs:{component:"component"},features:[e.qOj,e.TTD],decls:12,vars:11,consts:[[1,"editForm",3,"ngSwitch"],[3,"cta","rowType","rowArray","compArray","template","edit","defaultColors","starterTheme",4,"ngSwitchCase"],[3,"rowType","rowArray","compArray","template","edit",4,"ngSwitchCase"],[3,"feed","rowType","rowArray","compArray","template","edit",4,"ngSwitchCase"],[3,"image","rowType","rowArray","compArray","template","edit","defaultColors","starterTheme",4,"ngSwitchCase"],["class","show",3,"isPopularList","show","rowType","rowArray","compArray","template","edit","dynamic","defaultColors","starterTheme","widgetEdit",4,"ngSwitchCase"],["class","show",3,"isPopularList","show","rowType","rowArray","compArray","template","edit","dynamic","starterTheme","defaultColors",4,"ngSwitchCase"],["class","show",3,"isPopularList","show","rowType","rowArray","compArray","template","edit","dynamic","defaultColors","starterTheme",4,"ngSwitchCase"],[3,"textBlock","rowType","rowArray","compArray","template","edit",4,"ngSwitchCase"],["class","topic",3,"topic","rowType","rowArray","compArray","template","edit",4,"ngSwitchCase"],["class","topic",3,"typeOf","rowType","rowArray","compArray","template","edit",4,"ngSwitchCase"],["class","empty-component",4,"ngSwitchDefault"],[3,"cta","rowType","rowArray","compArray","template","edit","defaultColors","starterTheme"],[3,"rowType","rowArray","compArray","template","edit"],[3,"feed","rowType","rowArray","compArray","template","edit"],[3,"image","rowType","rowArray","compArray","template","edit","defaultColors","starterTheme"],[1,"show",3,"isPopularList","show","rowType","rowArray","compArray","template","edit","dynamic","defaultColors","starterTheme","widgetEdit"],[1,"show",3,"isPopularList","show","rowType","rowArray","compArray","template","edit","dynamic","starterTheme","defaultColors"],[1,"show",3,"isPopularList","show","rowType","rowArray","compArray","template","edit","dynamic","defaultColors","starterTheme"],[3,"textBlock","rowType","rowArray","compArray","template","edit"],[1,"topic",3,"topic","rowType","rowArray","compArray","template","edit"],[1,"topic",3,"typeOf","rowType","rowArray","compArray","template","edit"],[1,"empty-component"],["aria-hidden","true",1,"fa","fa-ban"],["placeholder","Send us a message","title","Send us a message",1,"form-control",3,"ngModel","ngModelChange"],["role","button","type","button","aria-label","Send Message",1,"btn","btn-outline-primary",3,"disabled"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0),e.YNc(1,L0,1,8,"edit-c-cta",1)(2,N0,1,5,"edit-c-embed",2)(3,F0,1,6,"edit-c-feedback",3)(4,hl,1,8,"edit-c-image",4)(5,uf,1,11,"ag-edit-c-showcase",5)(6,B0,1,10,"ag-edit-c-showcase",6)(7,U0,1,10,"ag-edit-c-showcase",7)(8,og,1,6,"edit-c-text",8)(9,rg,1,6,"edit-c-topic",9)(10,Qp,1,6,"edit-customer-care",10)(11,hf,7,2,"div",11),e.qZA()),2&c&&(e.Q6J("ngSwitch",l.typeOf),e.xp6(),e.Q6J("ngSwitchCase","cta"),e.xp6(),e.Q6J("ngSwitchCase","embed"),e.xp6(),e.Q6J("ngSwitchCase","feedback"),e.xp6(),e.Q6J("ngSwitchCase","image"),e.xp6(),e.Q6J("ngSwitchCase","showcase"),e.xp6(),e.Q6J("ngSwitchCase","showcase-list"),e.xp6(),e.Q6J("ngSwitchCase","popular-list"),e.xp6(),e.Q6J("ngSwitchCase","text"),e.xp6(),e.Q6J("ngSwitchCase","topic"),e.xp6(),e.Q6J("ngSwitchCase","customerCare"))},dependencies:[ei.RF,ei.n9,ei.ED,At.Fj,At.JJ,At.On,Qx,zp,Th,b0,w0,kd,T0,R0],styles:[".empty-component[_ngcontent-%COMP%]{min-height:50vh;min-width:35vw;background:#d3d3d3;text-align:center;vertical-align:middle}.empty-component[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{padding-top:10vh;font-size:10em;color:#8b0000;display:block}.empty-component[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:25px;font-size:1.5em;font-style:italic}.empty-component[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:25px;font-size:1.5em}.empty-component[_ngcontent-%COMP%]   input.form-control[_ngcontent-%COMP%]{max-width:250px;margin:0 auto}.editForm[_ngcontent-%COMP%]{width:100%;max-width:400px;height:100%}@media screen and (min-width: 768px){.editForm[_ngcontent-%COMP%]{width:100%;max-width:400px}}@media screen and (min-width: 992px){.editForm[_ngcontent-%COMP%]{width:100%;max-width:400px}}"]})}return d})();var ag=s(6557),pf=s(5374),sg=s(3039),jp=s(6429),mf=s(8911);class Xl{constructor(g,i="/assets/i18n/",c=".json"){this.http=g,this.prefix=i,this.suffix=c}getTranslation(g){return this.http.get(`${this.prefix}${g}${this.suffix}`)}}var ff=s(6208),Yp=s(3883),H0=s(6387),qx=s(6623),G0=s(252),J0=s(2154),lg=s(1631),V0=s(9931);function z0(d,g){if(1&d){const i=e.EpF();e.ynx(0),e._UZ(1,"div",7),e.TgZ(2,"div",8),e.NdJ("click",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.loadStaffHistory(l))})("keyup.enter",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.loadStaffHistory(l))}),e.TgZ(3,"div",9),e._uU(4),e.ALo(5,"replaceUserGuidesStringsQuickLinks"),e.qZA()(),e._UZ(6,"div",11),e.BQk()}if(2&d){const i=e.oxw().$implicit;e.xp6(4),e.Oqu(e.lcZ(5,1,i.label))}}function cg(d,g){if(1&d&&(e.TgZ(0,"div",6),e.YNc(1,z0,7,3,"ng-container",13),e.qZA()),2&d){const i=g.index;e.xp6(),e.Q6J("ngIf",i<3)}}function _f(d,g){if(1&d&&(e.TgZ(0,"div",12)(1,"div",2)(2,"h6"),e._uU(3,"Recent Staff Menus"),e.qZA()(),e.YNc(4,cg,2,1,"div",5),e.qZA()),2&d){const i=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",i.recentStaffPages)}}function dg(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"div",7),e._UZ(2,"i",14),e.qZA(),e.TgZ(3,"div",8),e.NdJ("click",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(2);return e.KtG(x.loadQuickMenu(l))})("keyup.enter",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(2);return e.KtG(x.loadQuickMenu(l))}),e.TgZ(4,"div",9)(5,"span",10),e._uU(6),e.qZA(),e._uU(7),e.ALo(8,"replaceUserGuidesStringsQuickLinks"),e.qZA()(),e.TgZ(9,"div",11),e._UZ(10,"span",15),e.TgZ(11,"i",16),e.NdJ("click",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(2);return e.KtG(x.deleteQuickMenuItem(l))})("keyup.enter",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(2);return e.KtG(x.deleteQuickMenuItem(l))}),e.qZA()(),e.BQk()}if(2&d){const i=e.oxw(),c=i.index,l=i.$implicit,x=e.oxw(2);e.xp6(6),e.Oqu(x.formatCtrlNumber(c)),e.xp6(),e.hij(" ",e.lcZ(8,2,null==l?null:l.label)," ")}}function Mh(d,g){if(1&d&&(e.TgZ(0,"div",6),e.YNc(1,dg,12,4,"ng-container",13),e.qZA()),2&d){const i=g.index;e.xp6(),e.Q6J("ngIf",i<10)}}function kh(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",1)(1,"h4",2),e._uU(2,"Quick Links (Ctrl+)"),e.qZA(),e.YNc(3,_f,5,1,"div",3),e.TgZ(4,"div",4),e.NdJ("dragulaModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.quickLinkMenuItems=l)}),e.YNc(5,Mh,2,1,"div",5),e.qZA(),e.TgZ(6,"div",6),e._UZ(7,"div",7),e.TgZ(8,"div",8),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.loadStaffDashboard())})("keyup.enter",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.loadStaffDashboard())}),e.TgZ(9,"div",9)(10,"span",10),e._uU(11,"B"),e.qZA(),e._uU(12," Staff Dashboard "),e.qZA()(),e._UZ(13,"div",11),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(3),e.Q6J("ngIf",null==i.recentStaffPages?null:i.recentStaffPages.length),e.xp6(),e.Q6J("dragulaModel",i.quickLinkMenuItems),e.xp6(),e.Q6J("ngForOf",i.quickLinkMenuItems)}}let ug=(()=>{class d extends na.e{onMouseDown(i){this.isClicking=!0}onMouseUp(i){this.isClicking=!1}constructor(i,c,l,x,ke,Mt){super(x),this.snackBar=i,this._dashboardService=c,this._dragulaService=l,this._layoutService=x,this._quickMenuService=ke,this._routingService=Mt,this.isClicking=!1,this._unsubscribe$=new Fa.x,this._dragulaService.find("page-bag-quickmenu")&&this._dragulaService.destroy("page-bag-quickmenu"),l.createGroup("page-bag-quickmenu",{moves:function(Dn,Bn,pi){return"fa fa-arrows move-link"===pi.className}}),l.dropModel().pipe((0,lg.z)(Dn=>this._quickMenuService.updateQuickMenu(Dn.targetModel)),(0,ji.R)(this._unsubscribe$)).subscribe(()=>{},Dn=>{throw"string"==typeof Dn?new Error(Dn):new Error("Failed to update quick menu")})}ngOnInit(){this._quickMenuService.quickMenuItems$.pipe((0,ji.R)(this._unsubscribe$)).subscribe(i=>{i&&!this.isClicking&&(this.quickLinkMenuItems=i)}),this._dashboardService.staffHistory$.pipe((0,ji.R)(this._unsubscribe$)).subscribe(i=>{i&&(this.recentStaffPages=i)})}ngOnDestory(){this._unsubscribe$.next(),this._unsubscribe$.complete()}formatCtrlNumber(i){return i<9?i+1:9==i?0:void 0}deleteQuickMenuItem(i){this._quickMenuService.deleteQuickMenu([i]).subscribe(l=>{},l=>{if("string"==typeof l)throw new Error(l);this.openSnackBar("Failed to delete quick menu item","ok")})}loadQuickMenu(i){this.closeNav(),this._dashboardService.goToMenuItem(i.menuItem)}loadStaffHistory(i){this.closeNav(),this._dashboardService.goToMenuItem(i.menuItem)}loadStaffDashboard(){this.closeNav(),this._routingService.goToDashboard()}closeOverlay(){ce("#search-overlay").css("display","none")}openSnackBar(i,c){this.snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Ti.pl),e.Y36(Yr.s),e.Y36(Hn.pQ),e.Y36(We.P),e.Y36(rt.M),e.Y36(Wo.Z))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["quick-menu"]],hostBindings:function(c,l){1&c&&e.NdJ("mousedown",function(ke){return l.onMouseDown(ke)})("mouseup",function(ke){return l.onMouseUp(ke)})},features:[e.qOj],decls:1,vars:1,consts:[["class","slide-quickmenu ag-pa-md",4,"ngIf"],[1,"slide-quickmenu","ag-pa-md"],[1,"text-center"],["style","margin-bottom: 15px",4,"ngIf"],["dragula","page-bag-quickmenu",3,"dragulaModel","dragulaModelChange"],["class","page-list drake",4,"ngFor","ngForOf"],[1,"page-list","drake"],[1,"move-list","d-none","d-lg-block"],["tabindex","0",1,"set-label-link",3,"click","keyup.enter"],[1,"set-label"],[1,"badge","badge-pill","badge-secondary"],[1,"set-icons"],[2,"margin-bottom","15px"],[4,"ngIf"],["aria-hidden","true","title","Drag to change order",1,"fa","fa-arrows","move-link"],[1,"helper-spacer"],["title","Delete from Quick Links","tabindex","0",1,"fa","fa-trash","trash-link",3,"click","keyup.enter"]],template:function(c,l){1&c&&e.YNc(0,kh,14,3,"div",0),2&c&&e.Q6J("ngIf",l.quickLinkMenuItems)},dependencies:[ei.sg,ei.O5,Hn.sW,V0.G],styles:[".slide-quickmenu[_ngcontent-%COMP%]{max-width:300px;cursor:pointer}.page-list[_ngcontent-%COMP%]{height:50px;width:100%;display:block;text-align:left;color:var(--header-color);background:var(--offset-two);box-shadow:0 2px 3px var(--box-shadows);font-size:1em;cursor:pointer}.move-list[_ngcontent-%COMP%]{width:25px;height:50px;padding:12px 0;text-align:center;float:left;color:var(--header-color);position:relative}.set-icons[_ngcontent-%COMP%]{width:30px;height:50px;padding:10px 0;text-align:center;color:var(--header-color);float:left}.set-label-link[_ngcontent-%COMP%]{display:table;height:50px;vertical-align:middle;width:calc(100% - 55px);padding:5px 0;font-size:.85em;float:left}.set-label[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.set-label[_ngcontent-%COMP%]   .badge[_ngcontent-%COMP%]{font-size:.85em}.trash-link[_ngcontent-%COMP%]{vertical-align:middle}.move-link[_ngcontent-%COMP%]{vertical-align:middle;padding:2px 5px;cursor:pointer}.helper-spacer[_ngcontent-%COMP%]{display:inline-block;height:100%;vertical-align:middle}.mat-card[_ngcontent-%COMP%] > .mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0;position:absolute;top:0;right:0}.mat-card.alert-info[_ngcontent-%COMP%]{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.mat-card.alert-success[_ngcontent-%COMP%]{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.mat-card.alert-warning[_ngcontent-%COMP%]{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.mat-card.alert-danger[_ngcontent-%COMP%]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.slide-quickmenu[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{padding:10px;margin-bottom:5px}.slide-quickmenu[_ngcontent-%COMP%]   .mat-card-title[_ngcontent-%COMP%]{font-size:1.1em;margin-bottom:7px;width:175px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slide-quickmenu[_ngcontent-%COMP%]   .mat-card-subtitle[_ngcontent-%COMP%]{font-size:.75em;width:195px;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slide-quickmenu[_ngcontent-%COMP%]   mat-card-actions[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:var(--header-color);cursor:pointer}.example-card[_ngcontent-%COMP%]{cursor:pointer}"]})}return d})();var Q0=s(114);let j0=(()=>{class d{constructor(){this._userDataKey="userData",this._storageService=(0,e.f3M)(no.V)}getUserId(){const i=this._storageService.getItem(this._userDataKey);return i?i.userId:0}getUserData(){return this._storageService.getItem(this._userDataKey)||null}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac})}return d})();var Y0=s(2506);let q0=(()=>{class d{constructor(){this.id="",this.library="",this.closed=new e.vpe}close(){this.closed.emit(!0)}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["library-card"]],inputs:{id:"id",library:"library"},outputs:{closed:"closed"},decls:15,vars:5,consts:[[1,"library-card-background"],[1,"library-card-container"],[1,"library-card-v"],[1,"library-card-name"],[1,"code-39","barcode0"],[1,"code-39","barcode1"],[1,"code-39-txt","barcode1"],["type","button",1,"btn-bottom",3,"click"]],template:function(c,l){1&c&&(e._UZ(0,"div",0),e.TgZ(1,"div",1)(2,"div",2)(3,"div",3),e._uU(4),e.qZA(),e.TgZ(5,"div",4),e._uU(6),e.qZA(),e.TgZ(7,"div",5),e._uU(8),e.qZA(),e.TgZ(9,"div",4),e._uU(10),e.qZA(),e.TgZ(11,"div",6),e._uU(12),e.qZA()(),e.TgZ(13,"button",7),e.NdJ("click",function(){return l.close()}),e._uU(14,"Close"),e.qZA()()),2&c&&(e.xp6(4),e.Oqu(l.library),e.xp6(2),e.Oqu(l.id),e.xp6(2),e.Oqu(l.id),e.xp6(2),e.Oqu(l.id),e.xp6(2),e.Oqu(l.id))},styles:['.library-card-background[_ngcontent-%COMP%]{width:1000%;height:1000%;background-color:#000;z-index:8888;top:0;left:0;margin:0;position:absolute}.library-card-container[_ngcontent-%COMP%]{width:100vw;height:100%;background-color:#fff;color:#000;position:absolute;top:0;left:0;z-index:999999}.library-card-v[_ngcontent-%COMP%]{margin:0;position:absolute;top:20%;transform:translateY(-20%);width:100%;text-align:center}.library-card-name[_ngcontent-%COMP%]{font-size:22px;margin-bottom:40px;font-family:Lato}.barcode0[_ngcontent-%COMP%]{line-height:0em}.barcode1[_ngcontent-%COMP%]{line-height:1.1744444444em}.code-39[_ngcontent-%COMP%]{font-family:"Libre Barcode 39";font-size:3em;margin:0;padding:0}.code-39-txt[_ngcontent-%COMP%]{font-family:"Libre Barcode 39 Text";font-size:3em;margin:0;padding:0}.btn-bottom[_ngcontent-%COMP%]{font-family:Lato;position:absolute;bottom:0;background-color:#000;border:none;color:#fff;padding:15px 32px;text-align:center;text-decoration:none;display:inline-block;font-size:48px;width:100%}']})}return d})();var Kx=s(1088),$x=s(6034),Sh=s(523),K0=s(102),hg=s(9250),$0=s.n(hg);let qp=class extends e.qLn{constructor(g){super(),this.bugsnagClient=g||$0()._client}handleError(g){const c=this.bugsnagClient.Event.create(g,!0,{severity:"error",severityReason:{type:"unhandledException"},unhandled:!0},"angular error handler",1);g.ngDebugContext&&c.addMetadata("angular",{component:g.ngDebugContext.component,context:g.ngDebugContext.context}),this.bugsnagClient._notify(c),e.qLn.prototype.handleError.call(this,g)}};qp=function(d,g,i,c){var ke,l=arguments.length,x=l<3?g:null===c?c=Object.getOwnPropertyDescriptor(g,i):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)x=Reflect.decorate(d,g,i,c);else for(var Mt=d.length-1;Mt>=0;Mt--)(ke=d[Mt])&&(x=(l<3?ke(x):l>3?ke(g,i,x):ke(g,i))||x);return l>3&&x&&Object.defineProperty(g,i,x),x}([(0,e.GSi)(),function(d,g){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata("design:paramtypes",g)}(0,[hg.Client])],qp);var hd=s(4580),ty=s(2596);let Kp=(()=>{class d{static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275mod=e.oAB({type:d});static#n=this.\u0275inj=e.cJS({imports:[ei.ez,ff.m,vh.K]})}return d})();var Is=s(741),pg=s(3411),ny=s(1348),eC=s(1927),ma=s(7520),iy=s(1322),gf=s(325),oy=s(3350),ry=s(1242),bf=s(1308),mg=s(7993),fg=s(877),_g=s(177),ay=s(9373),sy=s(3567),pd=s(5089);function bg(d){const g=this,{params:i,slidesEl:c}=g;i.loop&&g.loopDestroy();const l=x=>{if("string"==typeof x){const ke=document.createElement("div");ke.innerHTML=x,c.append(ke.children[0]),ke.innerHTML=""}else c.append(x)};if("object"==typeof d&&"length"in d)for(let x=0;x<d.length;x+=1)d[x]&&l(d[x]);else l(d);g.recalcSlides(),i.loop&&g.loopCreate(),(!i.observer||g.isElement)&&g.update()}function ly(d){const g=this,{params:i,activeIndex:c,slidesEl:l}=g;i.loop&&g.loopDestroy();let x=c+1;const ke=Mt=>{if("string"==typeof Mt){const un=document.createElement("div");un.innerHTML=Mt,l.prepend(un.children[0]),un.innerHTML=""}else l.prepend(Mt)};if("object"==typeof d&&"length"in d){for(let Mt=0;Mt<d.length;Mt+=1)d[Mt]&&ke(d[Mt]);x=c+d.length}else ke(d);g.recalcSlides(),i.loop&&g.loopCreate(),(!i.observer||g.isElement)&&g.update(),g.slideTo(x,0,!1)}function vg(d,g){const i=this,{params:c,activeIndex:l,slidesEl:x}=i;let ke=l;c.loop&&(ke-=i.loopedSlides,i.loopDestroy(),i.recalcSlides());const Mt=i.slides.length;if(d<=0)return void i.prependSlide(g);if(d>=Mt)return void i.appendSlide(g);let un=ke>d?ke+1:ke;const Dn=[];for(let Bn=Mt-1;Bn>=d;Bn-=1){const pi=i.slides[Bn];pi.remove(),Dn.unshift(pi)}if("object"==typeof g&&"length"in g){for(let Bn=0;Bn<g.length;Bn+=1)g[Bn]&&x.append(g[Bn]);un=ke>d?ke+g.length:ke}else x.append(g);for(let Bn=0;Bn<Dn.length;Bn+=1)x.append(Dn[Bn]);i.recalcSlides(),c.loop&&i.loopCreate(),(!c.observer||i.isElement)&&i.update(),i.slideTo(c.loop?un+i.loopedSlides:un,0,!1)}function yg(d){const g=this,{params:i,activeIndex:c}=g;let l=c;i.loop&&(l-=g.loopedSlides,g.loopDestroy());let ke,x=l;if("object"==typeof d&&"length"in d){for(let Mt=0;Mt<d.length;Mt+=1)ke=d[Mt],g.slides[ke]&&g.slides[ke].remove(),ke<x&&(x-=1);x=Math.max(x,0)}else ke=d,g.slides[ke]&&g.slides[ke].remove(),ke<x&&(x-=1),x=Math.max(x,0);g.recalcSlides(),i.loop&&g.loopCreate(),(!i.observer||g.isElement)&&g.update(),g.slideTo(i.loop?x+g.loopedSlides:x,0,!1)}function xg(){const d=this,g=[];for(let i=0;i<d.slides.length;i+=1)g.push(i);d.removeSlide(g)}var cy=s(4046),dy=s(5205),vf=s(4947),uy=s(8509),$p=s(7864),Cg=s(4393);Is.S.use([pg.Z,ny.Z,eC.Z,ma.Z,iy.Z,gf.Z,oy.Z,ry.Z,bf.Z,mg.Z,fg.Z,_g.Z,ay.Z,sy.Z,pd.Z,function gg(d){let l,x,ke,Mt,{swiper:g,extendParams:i,on:c}=d;i({grid:{rows:1,fill:"column"}});const un=()=>{let ii=g.params.spaceBetween;return"string"==typeof ii&&ii.indexOf("%")>=0?ii=parseFloat(ii.replace("%",""))/100*g.size:"string"==typeof ii&&(ii=parseFloat(ii)),ii};c("init",()=>{Mt=g.params.grid&&g.params.grid.rows>1}),c("update",()=>{const{params:ii,el:Ji}=g,ko=ii.grid&&ii.grid.rows>1;Mt&&!ko?(Ji.classList.remove(`${ii.containerModifierClass}grid`,`${ii.containerModifierClass}grid-column`),ke=1,g.emitContainerClasses()):!Mt&&ko&&(Ji.classList.add(`${ii.containerModifierClass}grid`),"column"===ii.grid.fill&&Ji.classList.add(`${ii.containerModifierClass}grid-column`),g.emitContainerClasses()),Mt=ko}),g.grid={initSlides:ii=>{const{slidesPerView:Ji}=g.params,{rows:ko,fill:Vo}=g.params.grid,Ko=g.virtual&&g.params.virtual.enabled?g.virtual.slides.length:ii.length;ke=Math.floor(Ko/ko),l=Math.floor(Ko/ko)===Ko/ko?Ko:Math.ceil(Ko/ko)*ko,"auto"!==Ji&&"row"===Vo&&(l=Math.max(l,Ji*ko)),x=l/ko},unsetSlides:()=>{g.slides&&g.slides.forEach(ii=>{ii.swiperSlideGridSet&&(ii.style.height="",ii.style[g.getDirectionLabel("margin-top")]="")})},updateSlide:(ii,Ji,ko)=>{const{slidesPerGroup:Vo}=g.params,Ko=un(),{rows:Zo,fill:ka}=g.params.grid,Jr=g.virtual&&g.params.virtual.enabled?g.virtual.slides.length:ko.length;let fr,xr,mo;if("row"===ka&&Vo>1){const $a=Math.floor(ii/(Vo*Zo)),Pu=ii-Zo*Vo*$a,ml=0===$a?Vo:Math.min(Math.ceil((Jr-$a*Zo*Vo)/Zo),Vo);mo=Math.floor(Pu/ml),xr=Pu-mo*ml+$a*Vo,fr=xr+mo*l/Zo,Ji.style.order=fr}else"column"===ka?(xr=Math.floor(ii/Zo),mo=ii-xr*Zo,(xr>ke||xr===ke&&mo===Zo-1)&&(mo+=1,mo>=Zo&&(mo=0,xr+=1))):(mo=Math.floor(ii/x),xr=ii-mo*x);Ji.row=mo,Ji.column=xr,Ji.style.height=`calc((100% - ${(Zo-1)*Ko}px) / ${Zo})`,Ji.style[g.getDirectionLabel("margin-top")]=0!==mo?Ko&&`${Ko}px`:"",Ji.swiperSlideGridSet=!0},updateWrapperSize:(ii,Ji)=>{const{centeredSlides:ko,roundLengths:Vo}=g.params,Ko=un(),{rows:Zo}=g.params.grid;if(g.virtualSize=(ii+Ko)*l,g.virtualSize=Math.ceil(g.virtualSize/Zo)-Ko,g.params.cssMode||(g.wrapperEl.style[g.getDirectionLabel("width")]=`${g.virtualSize+Ko}px`),ko){const ka=[];for(let Jr=0;Jr<Ji.length;Jr+=1){let fr=Ji[Jr];Vo&&(fr=Math.floor(fr)),Ji[Jr]<g.virtualSize+Ji[0]&&ka.push(fr)}Ji.splice(0,Ji.length),Ji.push(...ka)}}}},function Eh(d){let{swiper:g}=d;Object.assign(g,{appendSlide:bg.bind(g),prependSlide:ly.bind(g),addSlide:vg.bind(g),removeSlide:yg.bind(g),removeAllSlides:xg.bind(g)})},cy.Z,dy.Z,vf.Z,uy.Z,$p.Z,Cg.Z]);const Wp=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function pu(d){return"object"==typeof d&&null!==d&&d.constructor&&"Object"===Object.prototype.toString.call(d).slice(8,-1)&&!d.__swiper__}function md(d,g){const i=["__proto__","constructor","prototype"];Object.keys(g).filter(c=>i.indexOf(c)<0).forEach(c=>{typeof d[c]>"u"?d[c]=g[c]:pu(g[c])&&pu(d[c])&&Object.keys(g[c]).length>0?g[c].__swiper__?d[c]=g[c]:md(d[c],g[c]):d[c]=g[c]})}function Xp(d){return void 0===d&&(d=""),d.replace(/-[a-z]/g,g=>g.toUpperCase().replace("-",""))}const Tg=d=>{if(parseFloat(d)===Number(d))return Number(d);if("true"===d||""===d)return!0;if("false"===d)return!1;if("null"===d)return null;if("undefined"!==d){if("string"==typeof d&&d.includes("{")&&d.includes("}")&&d.includes('"')){let g;try{g=JSON.parse(d)}catch{g=d}return g}return d}},yf=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function em(d,g,i){const c={},l={};md(c,Is.d);const x=[...Wp,"on"],ke=x.map(un=>un.replace(/_/,""));x.forEach(un=>{un=un.replace("_",""),typeof d[un]<"u"&&(l[un]=d[un])});const Mt=[...d.attributes];return"string"==typeof g&&typeof i<"u"&&Mt.push({name:g,value:pu(i)?{...i}:i}),Mt.forEach(un=>{const Dn=yf.filter(Bn=>0===un.name.indexOf(`${Bn}-`))[0];if(Dn){const Bn=Xp(Dn),pi=Xp(un.name.split(`${Dn}-`)[1]);typeof l[Bn]>"u"&&(l[Bn]={}),!0===l[Bn]&&(l[Bn]={enabled:!0}),l[Bn][pi]=Tg(un.value)}else{const Bn=Xp(un.name);if(!ke.includes(Bn))return;const pi=Tg(un.value);l[Bn]&&yf.includes(un.name)&&!pu(pi)?(l[Bn].constructor!==Object&&(l[Bn]={}),l[Bn].enabled=!!pi):l[Bn]=pi}}),md(c,l),c.navigation?c.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==c.navigation?c.navigation:{}}:!1===c.navigation&&delete c.navigation,c.scrollbar?c.scrollbar={el:".swiper-scrollbar",...!0!==c.scrollbar?c.scrollbar:{}}:!1===c.scrollbar&&delete c.scrollbar,c.pagination?c.pagination={el:".swiper-pagination",...!0!==c.pagination?c.pagination:{}}:!1===c.pagination&&delete c.pagination,{params:c,passedParams:l}}const _y=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",Mg=typeof window>"u"||typeof HTMLElement>"u"?class tm{}:HTMLElement,kg='<svg width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>\n    ',Sg=(d,g)=>{if(typeof CSSStyleSheet<"u"&&d.adoptedStyleSheets){const i=new CSSStyleSheet;i.replaceSync(g),d.adoptedStyleSheets=[i]}else{const i=document.createElement("style");i.rel="stylesheet",i.textContent=g,d.appendChild(i)}};class Eg extends Mg{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return kg}static get prevButtonSvg(){return kg.replace("/></svg>",' transform-origin="center" transform="rotate(180)"/></svg>')}cssStyles(){return[_y,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const g=this.slideSlots||0,i=[...this.querySelectorAll("[slot^=slide-]")].map(c=>parseInt(c.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=i.length?Math.max(...i)+1:0,this.rendered)if(this.slideSlots>g)for(let c=g;c<this.slideSlots;c+=1){const l=document.createElement("swiper-slide");l.setAttribute("part",`slide slide-${c+1}`);const x=document.createElement("slot");x.setAttribute("name",`slide-${c+1}`),l.appendChild(x),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(l)}else if(this.slideSlots<g){const c=this.swiper.slides;for(let l=c.length-1;l>=0;l-=1)l>this.slideSlots&&c[l].remove()}}render(){if(this.rendered)return;this.calcSlideSlots();let g=this.cssStyles();this.slideSlots>0&&(g=g.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),g.length&&Sg(this.shadowRoot,g),this.cssLinks().forEach(c=>{if(this.shadowRoot.querySelector(`link[href="${c}"]`))return;const x=document.createElement("link");x.rel="stylesheet",x.href=c,this.shadowRoot.appendChild(x)});const i=document.createElement("div");i.classList.add("swiper"),i.part="container",i.innerHTML=`\n      <slot name="container-start"></slot>\n      <div class="swiper-wrapper" part="wrapper">\n        <slot></slot>\n        ${Array.from({length:this.slideSlots}).map((c,l)=>`\n        <swiper-slide part="slide slide-${l}">\n          <slot name="slide-${l}"></slot>\n        </swiper-slide>\n        `).join("")}\n      </div>\n      <slot name="container-end"></slot>\n      ${function hy(d){return void 0===d&&(d={}),d.navigation&&typeof d.navigation.nextEl>"u"&&typeof d.navigation.prevEl>"u"}(this.passedParams)?`\n        <div part="button-prev" class="swiper-button-prev">${this.constructor.prevButtonSvg}</div>\n        <div part="button-next" class="swiper-button-next">${this.constructor.nextButtonSvg}</div>\n      `:""}\n      ${function py(d){return void 0===d&&(d={}),d.pagination&&typeof d.pagination.el>"u"}(this.passedParams)?'\n        <div part="pagination" class="swiper-pagination"></div>\n      ':""}\n      ${function my(d){return void 0===d&&(d={}),d.scrollbar&&typeof d.scrollbar.el>"u"}(this.passedParams)?'\n        <div part="scrollbar" class="swiper-scrollbar"></div>\n      ':""}\n    `,this.shadowRoot.appendChild(i),this.rendered=!0}initialize(){var g=this;if(this.initialized)return;this.initialized=!0;const{params:i,passedParams:c}=em(this);this.swiperParams=i,this.passedParams=c,delete this.swiperParams.init,this.render(),this.swiper=new Is.S(this.shadowRoot.querySelector(".swiper"),{...i.virtual?{}:{observer:!0,observeSlideChildren:this.slideSlots>0},...i,touchEventsTarget:"container",onAny:function(l){"observerUpdate"===l&&g.calcSlideSlots();const x=i.eventsPrefix?`${i.eventsPrefix}${l.toLowerCase()}`:l.toLowerCase();for(var ke=arguments.length,Mt=new Array(ke>1?ke-1:0),un=1;un<ke;un++)Mt[un-1]=arguments[un];const Dn=new CustomEvent(x,{detail:Mt,bubbles:"hashChange"!==l,cancelable:!0});g.dispatchEvent(Dn)}})}connectedCallback(){this.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||!1===this.init||"false"===this.getAttribute("init")||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||(this.swiper&&this.swiper.destroy&&this.swiper.destroy(),this.initialized=!1)}updateSwiperOnPropChange(g,i){const{params:c,passedParams:l}=em(this,g,i);this.passedParams=l,this.swiperParams=c,(!this.swiper||this.swiper.params[g]!==i)&&function fy(d){let{swiper:g,slides:i,passedParams:c,changedParams:l,nextEl:x,prevEl:ke,scrollbarEl:Mt,paginationEl:un}=d;const Dn=l.filter(mo=>"children"!==mo&&"direction"!==mo&&"wrapperClass"!==mo),{params:Bn,pagination:pi,navigation:Zi,scrollbar:Yi,virtual:Vi,thumbs:ii}=g;let Ji,ko,Vo,Ko,Zo,ka,Jr,fr;l.includes("thumbs")&&c.thumbs&&c.thumbs.swiper&&Bn.thumbs&&!Bn.thumbs.swiper&&(Ji=!0),l.includes("controller")&&c.controller&&c.controller.control&&Bn.controller&&!Bn.controller.control&&(ko=!0),l.includes("pagination")&&c.pagination&&(c.pagination.el||un)&&(Bn.pagination||!1===Bn.pagination)&&pi&&!pi.el&&(Vo=!0),l.includes("scrollbar")&&c.scrollbar&&(c.scrollbar.el||Mt)&&(Bn.scrollbar||!1===Bn.scrollbar)&&Yi&&!Yi.el&&(Ko=!0),l.includes("navigation")&&c.navigation&&(c.navigation.prevEl||ke)&&(c.navigation.nextEl||x)&&(Bn.navigation||!1===Bn.navigation)&&Zi&&!Zi.prevEl&&!Zi.nextEl&&(Zo=!0);const xr=mo=>{g[mo]&&(g[mo].destroy(),"navigation"===mo?(g.isElement&&(g[mo].prevEl.remove(),g[mo].nextEl.remove()),Bn[mo].prevEl=void 0,Bn[mo].nextEl=void 0,g[mo].prevEl=void 0,g[mo].nextEl=void 0):(g.isElement&&g[mo].el.remove(),Bn[mo].el=void 0,g[mo].el=void 0))};l.includes("loop")&&g.isElement&&(Bn.loop&&!c.loop?ka=!0:!Bn.loop&&c.loop?Jr=!0:fr=!0),Dn.forEach(mo=>{if(pu(Bn[mo])&&pu(c[mo]))Object.assign(Bn[mo],c[mo]),("navigation"===mo||"pagination"===mo||"scrollbar"===mo)&&"enabled"in c[mo]&&!c[mo].enabled&&xr(mo);else{const $a=c[mo];!0!==$a&&!1!==$a||"navigation"!==mo&&"pagination"!==mo&&"scrollbar"!==mo?Bn[mo]=c[mo]:!1===$a&&xr(mo)}}),Dn.includes("controller")&&!ko&&g.controller&&g.controller.control&&Bn.controller&&Bn.controller.control&&(g.controller.control=Bn.controller.control),l.includes("children")&&i&&Vi&&Bn.virtual.enabled?(Vi.slides=i,Vi.update(!0)):l.includes("virtual")&&Vi&&Bn.virtual.enabled&&(i&&(Vi.slides=i),Vi.update(!0)),l.includes("children")&&i&&Bn.loop&&(fr=!0),Ji&&ii.init()&&ii.update(!0),ko&&(g.controller.control=Bn.controller.control),Vo&&(g.isElement&&(!un||"string"==typeof un)&&(un=document.createElement("div"),un.classList.add("swiper-pagination"),un.part.add("pagination"),g.el.appendChild(un)),un&&(Bn.pagination.el=un),pi.init(),pi.render(),pi.update()),Ko&&(g.isElement&&(!Mt||"string"==typeof Mt)&&(Mt=document.createElement("div"),Mt.classList.add("swiper-scrollbar"),Mt.part.add("scrollbar"),g.el.appendChild(Mt)),Mt&&(Bn.scrollbar.el=Mt),Yi.init(),Yi.updateSize(),Yi.setTranslate()),Zo&&(g.isElement&&((!x||"string"==typeof x)&&(x=document.createElement("div"),x.classList.add("swiper-button-next"),x.innerHTML=g.hostEl.constructor.nextButtonSvg,x.part.add("button-next"),g.el.appendChild(x)),(!ke||"string"==typeof ke)&&(ke=document.createElement("div"),ke.classList.add("swiper-button-prev"),ke.innerHTML=g.hostEl.constructor.prevButtonSvg,ke.part.add("button-prev"),g.el.appendChild(ke))),x&&(Bn.navigation.nextEl=x),ke&&(Bn.navigation.prevEl=ke),Zi.init(),Zi.update()),l.includes("allowSlideNext")&&(g.allowSlideNext=c.allowSlideNext),l.includes("allowSlidePrev")&&(g.allowSlidePrev=c.allowSlidePrev),l.includes("direction")&&g.changeDirection(c.direction,!1),(ka||fr)&&g.loopDestroy(),(Jr||fr)&&g.loopCreate(),g.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Xp(g)],..."navigation"===g&&l[g]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===g&&l[g]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===g&&l[g]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(g,i,c){this.initialized&&("true"===i&&null===c&&(c=!1),this.updateSwiperOnPropChange(g,c))}static get observedAttributes(){return Wp.filter(i=>i.includes("_")).map(i=>i.replace(/[A-Z]/g,c=>`-${c}`).replace("_","").toLowerCase())}}Wp.forEach(d=>{"init"!==d&&(d=d.replace("_",""),Object.defineProperty(Eg.prototype,d,{configurable:!0,get(){return(this.passedParams||{})[d]},set(g){this.passedParams||(this.passedParams={}),this.passedParams[d]=g,this.initialized&&this.updateSwiperOnPropChange(d,g)}}))});typeof window<"u"&&(window.SwiperElementRegisterParams=d=>{Wp.push(...d)});var Og=s(9104),Dg=s(5961);function Ag(d,g){if(1&d&&(e.TgZ(0,"div",1),e._UZ(1,"ag-staff-navigation",2)(2,"ag-iframe",3,4),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("locations",i.locations)("homeLocationLink",i.homeLocationLink)("staffMenu",i.staffMenu),e.xp6(),e.Q6J("url",i.url)("printStatus",i.printStatus)}}let yy=(()=>{class d{constructor(i,c,l,x){this._dashboardService=i,this.layoutService=c,this._storageService=l,this._titleService=x,this.locations=[],document.scrollingElement.scrollTop=0}ngOnChanges(i){if(i.staffMenu?.currentValue){let c=this.staffMenu.fullLabel;c||(c=this._dashboardService.fullLabel(this.staffMenu.menuItem));const l=c+" | "+this._storageService.getCid().toUpperCase()+" | "+this._storageService.getLid()+" | AutoGraphics Inc.";this._titleService.setTitle(l);const x=new URL(this.staffMenu.url);x.searchParams.append("t",Date.now().toString()),this.url=x.toString()}}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Yr.s),e.Y36(We.P),e.Y36(no.V),e.Y36(u.Dx))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-staff-content"]],inputs:{staffMenu:"staffMenu",locations:"locations",isFullRecord:"isFullRecord",homeLocationLink:"homeLocationLink",locationsURL:"locationsURL"},features:[e.TTD],decls:3,vars:5,consts:[["fxLayout","column","fxLayoutAlign","start stretch","style","height: 100%",4,"ngIf"],["fxLayout","column","fxLayoutAlign","start stretch",2,"height","100%"],["id","staffNav",3,"locations","homeLocationLink","staffMenu"],["fxFlex","","id","i-frame",3,"url","printStatus"],["iframe",""]],template:function(c,l){1&c&&(e.TgZ(0,"div"),e.ALo(1,"async"),e.YNc(2,Ag,4,5,"div",0),e.qZA()),2&c&&(e.Akn("height: calc(99vh - "+e.lcZ(1,3,l.layoutService.headerFooterHeight$)+"px)"),e.xp6(2),e.Q6J("ngIf",l.staffMenu))},dependencies:[ei.O5,bi.xw,bi.Wh,bi.yH,Og.u,Dg.p,ei.Ov]})}return d})();var iC=s(9780);let Pg=(()=>{class d extends na.e{constructor(i,c){super(c),this._editService=i,this._layoutService=c,this.basic=!0,this.layout=!1,this.panelOneOpenState=!0,this.panelTwoOpenState=!1,this.panelThreeOpenState=!1,this.fileToUpload=null,this._template=[]}submitRow(i,c){this.getEditRow(i),this._editService.setRow("",i,this._template,this.row.component,""),this.closeNav()}getEditRow(i){switch(i){case"col-1":this._template=[{typeOf:"edit",className:"width-100 height-350 pointer",flushed:!1}];break;case"col-2":case"col-21":case"col-2-1-2":case"col-2-1-3":case"col-2-2-1":case"col-2-3-1":this._template=[{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1}];break;case"col-3-1-1-2":case"col-3-1-2-1":case"col-3-2-1-1":case"col-31":this._template=[{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1}];break;case"col-42":case"col-421":this._template=[{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1}];break;case"col-51":this._template=[{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-200 pointer",flushed:!1}];break;case"col-632":this._template=[{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1}];break;case"col-842":this._template=[{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1},{typeOf:"edit",className:"width-100 height-250 pointer",flushed:!1}];break;default:this.rowType="col-1",this._template=[{typeOf:"edit",className:"width-100 height-350 pointer",flushed:!1}]}}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(as.n),e.Y36(We.P))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["edit-row"]],inputs:{row:"row",page:"page",rowType:"rowType",rowArray:"rowArray",compArray:"compArray",basic:"basic",layout:"layout"},features:[e.qOj],decls:94,vars:0,consts:[[1,"control-panel",2,"width","400px !important"],[1,"text-center","width-100"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],["title","One Column","tabindex","0",1,"container",3,"click","keyup.enter"],[1,"row"],[1,"col-12"],[1,"box-row"],["title","Two Columns : 50% distribution","tabindex","0",1,"container",3,"click","keyup.enter"],[1,"col-6"],["title","Two Columns : 33%-67% distribution","tabindex","0",1,"container",3,"click","keyup.enter"],[1,"col-4"],[1,"col-8"],["title","Two Columns : 67%-33% distribution","tabindex","0",1,"container",3,"click","keyup.enter"],["title","Two Columns : 75%-25% distribution","tabindex","0",1,"container",3,"click","keyup.enter"],[1,"col-9"],[1,"col-3"],["title","Two Columns : 25%-75% distribution","tabindex","0",1,"container",3,"click","keyup.enter"],["title","Three Columns : 33% distribution","tabindex","0",1,"container",3,"click","keyup.enter"],["title","Three Columns : 25% - 50% - 25% distribution","tabindex","0",1,"container",3,"click","keyup.enter"],["title","Three Columns : 50% - 25% - 25% distribution","tabindex","0",1,"container",3,"click","keyup.enter"],["title","Three Columns : 25% - 25% - 50% distribution","tabindex","0",1,"container",3,"click","keyup.enter"],["title","Four Columns : Even distribution","tabindex","0",1,"container",3,"click","keyup.enter"],["title","Six Columns : Even distribution","tabindex","0",1,"container",3,"click","keyup.enter"],[1,"col-2"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0)(1,"h3",1),e._uU(2," Add Row "),e.TgZ(3,"i",2),e.NdJ("click",function(){return l.closeNav()}),e.qZA()(),e.TgZ(4,"div",3),e.NdJ("click",function(){return l.submitRow("col-1",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-1",1),l.closeNav()}),e.TgZ(5,"div",4)(6,"div",5),e._UZ(7,"div",6),e.qZA()()(),e.TgZ(8,"div",7),e.NdJ("click",function(){return l.submitRow("col-21",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-21",1),l.closeNav()}),e.TgZ(9,"div",4)(10,"div",8),e._UZ(11,"div",6),e.qZA(),e.TgZ(12,"div",8),e._UZ(13,"div",6),e.qZA()()(),e.TgZ(14,"div",9),e.NdJ("click",function(){return l.submitRow("col-2-1-2",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-2-1-2",1),l.closeNav()}),e.TgZ(15,"div",4)(16,"div",10),e._UZ(17,"div",6),e.qZA(),e.TgZ(18,"div",11),e._UZ(19,"div",6),e.qZA()()(),e.TgZ(20,"div",12),e.NdJ("click",function(){return l.submitRow("col-2-2-1",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-2-2-1",1),l.closeNav()}),e.TgZ(21,"div",4)(22,"div",11),e._UZ(23,"div",6),e.qZA(),e.TgZ(24,"div",10),e._UZ(25,"div",6),e.qZA()()(),e.TgZ(26,"div",13),e.NdJ("click",function(){return l.submitRow("col-2-3-1",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-2-3-1",1),l.closeNav()}),e.TgZ(27,"div",4)(28,"div",14),e._UZ(29,"div",6),e.qZA(),e.TgZ(30,"div",15),e._UZ(31,"div",6),e.qZA()()(),e.TgZ(32,"div",16),e.NdJ("click",function(){return l.submitRow("col-2-1-3",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-2-1-3",1),l.closeNav()}),e.TgZ(33,"div",4)(34,"div",15),e._UZ(35,"div",6),e.qZA(),e.TgZ(36,"div",14),e._UZ(37,"div",6),e.qZA()()(),e.TgZ(38,"div",17),e.NdJ("click",function(){return l.submitRow("col-31",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-31",1),l.closeNav()}),e.TgZ(39,"div",4)(40,"div",10),e._UZ(41,"div",6),e.qZA(),e.TgZ(42,"div",10),e._UZ(43,"div",6),e.qZA(),e.TgZ(44,"div",10),e._UZ(45,"div",6),e.qZA()()(),e.TgZ(46,"div",18),e.NdJ("click",function(){return l.submitRow("col-3-1-2-1",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-3-1-2-1",1),l.closeNav()}),e.TgZ(47,"div",4)(48,"div",15),e._UZ(49,"div",6),e.qZA(),e.TgZ(50,"div",8),e._UZ(51,"div",6),e.qZA(),e.TgZ(52,"div",15),e._UZ(53,"div",6),e.qZA()()(),e.TgZ(54,"div",19),e.NdJ("click",function(){return l.submitRow("col-3-2-1-1",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-3-2-1-1",1),l.closeNav()}),e.TgZ(55,"div",4)(56,"div",8),e._UZ(57,"div",6),e.qZA(),e.TgZ(58,"div",15),e._UZ(59,"div",6),e.qZA(),e.TgZ(60,"div",15),e._UZ(61,"div",6),e.qZA()()(),e.TgZ(62,"div",20),e.NdJ("click",function(){return l.submitRow("col-3-1-1-2",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-3-1-1-2",1),l.closeNav()}),e.TgZ(63,"div",4)(64,"div",15),e._UZ(65,"div",6),e.qZA(),e.TgZ(66,"div",15),e._UZ(67,"div",6),e.qZA(),e.TgZ(68,"div",8),e._UZ(69,"div",6),e.qZA()()(),e.TgZ(70,"div",21),e.NdJ("click",function(){return l.submitRow("col-421",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-421",1),l.closeNav()}),e.TgZ(71,"div",4)(72,"div",15),e._UZ(73,"div",6),e.qZA(),e.TgZ(74,"div",15),e._UZ(75,"div",6),e.qZA(),e.TgZ(76,"div",15),e._UZ(77,"div",6),e.qZA(),e.TgZ(78,"div",15),e._UZ(79,"div",6),e.qZA()()(),e.TgZ(80,"div",22),e.NdJ("click",function(){return l.submitRow("col-632",1),l.closeNav()})("keyup.enter",function(){return l.submitRow("col-632",1),l.closeNav()}),e.TgZ(81,"div",4)(82,"div",23),e._UZ(83,"div",6),e.qZA(),e.TgZ(84,"div",23),e._UZ(85,"div",6),e.qZA(),e.TgZ(86,"div",23),e._UZ(87,"div",6),e.qZA(),e.TgZ(88,"div",23),e._UZ(89,"div",6),e.qZA(),e.TgZ(90,"div",23),e._UZ(91,"div",6),e.qZA(),e.TgZ(92,"div",23),e._UZ(93,"div",6),e.qZA()()()())},styles:[".control-panel[_ngcontent-%COMP%]{min-width:320px}.box-row[_ngcontent-%COMP%]{background:var(--shade-two);color:var(--header-color);margin:.25rem -5px;padding:10px;height:40px;text-align:center;border:1px solid transparent;border-radius:3px}div.container[_ngcontent-%COMP%]:hover   .box-row[_ngcontent-%COMP%], div.container[_ngcontent-%COMP%]:focus   .box-row[_ngcontent-%COMP%]{border:1px solid var(--link);background:var(--hover-focus)!important;cursor:pointer}.edit-content[_ngcontent-%COMP%]{height:calc(100% - 100px);width:100%;overflow-x:hidden;overflow-y:auto}.edit-header[_ngcontent-%COMP%]{height:50px;padding:5px 10px;border-bottom:1px solid lightgrey}.edit-title[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 225px);padding:10px}.edit-h6[_ngcontent-%COMP%]{color:var(--secondary-text);font-size:.9rem;padding:5px}.edit-top-links[_ngcontent-%COMP%]{display:inline-block;width:220px;text-align:right;vertical-align:top;padding:5px}.edit-top-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:.85rem}.edit-top-links[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]{font-weight:500}.edit-top-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .edit-top-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{font-size:.85rem;cursor:pointer;color:#454545}.edit-buttons[_ngcontent-%COMP%]{position:relative;bottom:0;height:50px;width:100%;border-top:1px solid lightgrey}.edit-cancel[_ngcontent-%COMP%], .edit-delete[_ngcontent-%COMP%], .edit-save[_ngcontent-%COMP%]{background:transparent;height:100%;text-align:center;border:0px;color:var(--header-color)}.edit-cancel[_ngcontent-%COMP%]{width:32.5%;border-bottom-left-radius:4px}.edit-delete[_ngcontent-%COMP%]{width:32.5%}.edit-save[_ngcontent-%COMP%]{width:33.25%;border-bottom-right-radius:4px}.edit-cancel[_ngcontent-%COMP%]:hover, .edit-cancel[_ngcontent-%COMP%]:focus{cursor:pointer;color:#454545}.edit-delete[_ngcontent-%COMP%]:hover, .edit-delete[_ngcontent-%COMP%]:focus{background:#ebcccc;cursor:pointer;color:#454545}.edit-save[_ngcontent-%COMP%]:hover, .edit-save[_ngcontent-%COMP%]:focus{background:#d0e9c6;cursor:pointer;color:#454545}.page-content-wrapper[_ngcontent-%COMP%]{padding:25px}.page-content-wrapper[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-bottom:5px;margin-left:5px}.page-content-wrapper[_ngcontent-%COMP%]   .form-text[_ngcontent-%COMP%]{margin-left:5px}.page-content-wrapper[_ngcontent-%COMP%]   select[multiple][_ngcontent-%COMP%]{padding:5px 0}.page-content-wrapper[_ngcontent-%COMP%]   select[multiple][_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{padding:5px;text-indent:10px}.page-content-wrapper[_ngcontent-%COMP%]   input[type=file][_ngcontent-%COMP%]{padding:5px;width:100%}.search-icon-input[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;margin:15px 10px;border-left:2px solid var(--shade-one);padding:12px 10px 12px 5px;font-size:1em;background:var(--body-background);color:var(--text-icons);cursor:pointer}.search-overlay[_ngcontent-%COMP%]   .inner[_ngcontent-%COMP%]{position:relative;width:100vw;padding:0 0 0 30px}.search-overlay[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{position:relative;width:100vw;padding:0 0 0 25px}.search-overlay[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:inline-block;font-weight:100;vertical-align:middle;margin:18px 0 0;font-size:.85em;font-weight:700;max-width:200px}.search-overlay[_ngcontent-%COMP%]   .exit[_ngcontent-%COMP%]{display:block;height:30px;width:60px;margin-top:15px;float:right;color:#333!important;cursor:pointer}.search-overlay[_ngcontent-%COMP%]   .exit[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.5em}.overlay-search[_ngcontent-%COMP%]{font-weight:700;font-size:2.5em;height:50px;letter-spacing:-1.925px;line-height:100px;width:90%;padding-left:0!important;border:none!important;background-color:transparent!important}.overlay-IndexResource[_ngcontent-%COMP%]{padding:0 0 0 30px}.overlay-index[_ngcontent-%COMP%]{background:none!important;border:none!important;color:#999;cursor:pointer}.overlay-index[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{background:none!important;border:2px solid #999}.overlay-index[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{background:none!important;border:none!important;color:#999;cursor:pointer;width:150px}.overlay-index[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{background:none!important;border:2px solid #999}.overlay-resource[_ngcontent-%COMP%]{cursor:pointer}.overlay-suggestions[_ngcontent-%COMP%]{padding:10px 0 0 30px;font-size:.85em}.suggest-phrase[_ngcontent-%COMP%]{text-decoration:none}.suggest-list[_ngcontent-%COMP%]{list-style:none}.control-panel[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{display:block;padding-left:15px;color:var(--header-color)!important;cursor:pointer}.control-panel[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.1em}.page-main[_ngcontent-%COMP%], .page-sub[_ngcontent-%COMP%]{list-style:none;padding:0}.page-main[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:100%;display:block;text-align:center;color:var(--header-color);font-size:1.15em;padding:10px 0;cursor:pointer}.page-sub[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{width:100%;display:block;text-align:left;color:var(--header-color);font-size:1em;padding:10px 25px;cursor:pointer}h6[_ngcontent-%COMP%]{padding:15px;width:100%;display:block;text-align:left;cursor:default}h6.page-arrow[_ngcontent-%COMP%]{padding:15px;width:100%;display:block;text-align:left;cursor:pointer}h6.page-arrow[_ngcontent-%COMP%]:hover, h6.page-arrow[_ngcontent-%COMP%]:focus{color:var(--header-color);background:var(--header-background)}.add-page-icon[_ngcontent-%COMP%]{font-size:.9em;padding:10px 20px;float:right;color:var(--secondary-text);cursor:pointer}.add-page-icon[_ngcontent-%COMP%]:hover, .add-page-icon[_ngcontent-%COMP%]:focus{color:var(--link)}.set-icons[_ngcontent-%COMP%]{display:inline-block;width:40px;padding:10px 0;text-align:right;float:left;clear:left;color:var(--header-color)}.set-home[_ngcontent-%COMP%], .set-link[_ngcontent-%COMP%], .set-page[_ngcontent-%COMP%]{display:inline-block}.page-list[_ngcontent-%COMP%]{width:100%;display:block;text-align:left;color:var(--header-color);background:var(--offset-two);box-shadow:0 2px 3px var(--box-shadows);font-size:1em;cursor:pointer}.set-label-link[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 40px);padding:10px 0 10px 10px}.set-label[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 50px);float:left}.set-angle[_ngcontent-%COMP%]{display:inline-block;width:50px;float:right;text-align:right;padding:0 10px}.pickMe[_ngcontent-%COMP%]{cursor:pointer}.pickMe[_ngcontent-%COMP%]:hover, .pickeMe[_ngcontent-%COMP%]:focus{color:var(--link)!important}@media screen and (min-width: 576px){.search-overlay[_ngcontent-%COMP%]   .inner[_ngcontent-%COMP%]{padding:0 60px 0 80px}.search-overlay[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{position:relative;width:100vw;padding:0 0 0 75px}.search-overlay[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:inline-block;font-weight:100;vertical-align:middle;margin:18px 0 0;font-size:1.5em;font-weight:700;max-width:initial}.search-overlay[_ngcontent-%COMP%]   .exit[_ngcontent-%COMP%]{display:block;height:30px;width:60px;margin-top:15px;float:right;color:#333!important;cursor:pointer}.search-overlay[_ngcontent-%COMP%]   .exit[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:2.5em}.overlay-search[_ngcontent-%COMP%]{font-weight:700;font-size:77px;height:100px;letter-spacing:-1.925px;line-height:100px;width:100%;padding-left:0!important;border:none!important;background-color:transparent!important}.overlay-IndexResource[_ngcontent-%COMP%]{padding:0 0 0 80px}.overlay-index[_ngcontent-%COMP%]{background:none!important;border:none!important;color:#999;cursor:pointer}.overlay-index[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{background:none!important;border:2px solid #999}.overlay-resource[_ngcontent-%COMP%]{cursor:pointer}.overlay-suggestions[_ngcontent-%COMP%]{padding:10px 0 0 100px;font-size:.85em}.suggest-phrase[_ngcontent-%COMP%]{text-decoration:none}.suggest-list[_ngcontent-%COMP%]{list-style:none}.control-panel[_ngcontent-%COMP%]{min-width:360px;max-width:540px}}@media screen and (min-width: 768px){.control-panel[_ngcontent-%COMP%]{min-width:320px;max-width:720px}}"]})}return d})();function Ig(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"a",23),e.NdJ("click",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.openUrl(l.targetUrl))})("keyup.enter",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.openUrl(l.targetUrl))}),e._UZ(2,"div",24),e.qZA(),e.BQk()}if(2&d){const i=e.oxw().$implicit;e.xp6(2),e.Q6J("innerHTML",i.targetName,e.oJD)}}function xf(d,g){if(1&d&&e._UZ(0,"i",30),2&d){const i=e.oxw(2).$implicit;e.Q6J("matTooltip",i.targetDescription)}}function xy(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"label",25)(2,"input",26),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw().$implicit,ke=e.oxw(3);return e.KtG(ke.checkResource(l,x))}),e.qZA(),e._UZ(3,"span",27),e.TgZ(4,"span",28),e._UZ(5,"div",24),e.YNc(6,xf,1,1,"i",29),e.qZA()(),e.BQk()}if(2&d){const i=e.oxw().$implicit;e.xp6(2),e.Q6J("value",i.libraryDBpoolKey)("checked",i.isDefault),e.uIk("title",i.targetName),e.xp6(3),e.Q6J("innerHTML",i.targetName,e.oJD),e.xp6(),e.Q6J("ngIf",i.targetDescription)}}function oC(d,g){if(1&d&&e._UZ(0,"i",30),2&d){const i=e.oxw(2).$implicit;e.Q6J("matTooltip",i.targetDescription)}}function rC(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"input",26),e.NdJ("change",function(l){e.CHM(i);const x=e.oxw().$implicit,ke=e.oxw(3);return e.KtG(ke.checkResource(l,x))}),e.qZA(),e.TgZ(2,"label",31),e._UZ(3,"span",27),e.TgZ(4,"span",28)(5,"a",32),e.NdJ("click",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.openLink(null==l?null:l.noteUrl))})("keyup.enter",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.openUrl(l.targetUrl))}),e._UZ(6,"div",24),e.qZA(),e.YNc(7,oC,1,1,"i",29),e.qZA()(),e.BQk()}if(2&d){const i=e.oxw().$implicit;e.xp6(),e.Q6J("value",i.libraryDBpoolKey)("checked",i.isDefault),e.uIk("title",i.targetName),e.xp6(5),e.Q6J("innerHTML",i.targetName,e.oJD),e.xp6(),e.Q6J("ngIf",i.targetDescription)}}const Cy=d=>({"display-none-class":d});function wy(d,g){if(1&d&&(e.TgZ(0,"div",21),e.YNc(1,Ig,3,1,"ng-container",22)(2,xy,7,5,"ng-container",22)(3,rC,8,5,"ng-container",22),e.qZA()),2&d){const i=g.$implicit,c=e.oxw().$implicit;e.Q6J("ngClass",e.VKq(4,Cy,c.isCollapse)),e.xp6(),e.Q6J("ngIf","WL"===i.targetType),e.xp6(),e.Q6J("ngIf","WL"!==i.targetType&&(null===(null==i?null:i.noteUrl)||""===(null==i?null:i.noteUrl))),e.xp6(),e.Q6J("ngIf","WL"!==i.targetType&&null!==(null==i?null:i.noteUrl)&&""!==(null==i?null:i.noteUrl))}}const Ty=(d,g)=>({"fa-compress":d,"fa-expand":g});function My(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",14)(1,"div",15)(2,"input",16),e.NdJ("click",function(l){const ke=e.CHM(i).$implicit,Mt=e.oxw(2);return e.KtG(Mt.checkGroup(l,ke.searchTargets))}),e.qZA(),e._UZ(3,"span",17),e.TgZ(4,"i",18),e.NdJ("click",function(){const x=e.CHM(i).$implicit,ke=e.oxw(2);return e.KtG(ke.toggleGroup(x))})("keyup.enter",function(){const x=e.CHM(i).$implicit,ke=e.oxw(2);return e.KtG(ke.toggleGroup(x))}),e.qZA()(),e.TgZ(5,"div",19),e.YNc(6,wy,4,6,"div",20),e.qZA()()}if(2&d){const i=g.$implicit,c=g.index,l=e.oxw(2);e.xp6(2),e.Q6J("id","overlay"+c+i.id)("value",i.id)("checked",i.isDefault)("indeterminate",i.checkedStatus===l.PARTIAL_CHECKED),e.uIk("title",i.id),e.xp6(),e.Q6J("innerHTML",i.heading,e.oJD),e.xp6(),e.Q6J("ngClass",e.WLB(8,Ty,!i.isCollapse,i.isCollapse)),e.xp6(2),e.Q6J("ngForOf",i.searchTargets)}}function aC(d,g){if(1&d&&(e.TgZ(0,"div",12),e.YNc(1,My,7,11,"div",13),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngForOf",i.resources)}}function ky(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"a",23),e.NdJ("click",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.openUrl(l.targetUrl))})("keyup.enter",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.openUrl(l.targetUrl))}),e._UZ(2,"div",24),e.qZA(),e.BQk()}if(2&d){const i=e.oxw().$implicit;e.xp6(2),e.Q6J("innerHTML",i.targetName,e.oJD)}}function Sy(d,g){if(1&d&&e._UZ(0,"i",30),2&d){const i=e.oxw(2).$implicit;e.Q6J("matTooltip",i.targetDescription)}}function Ey(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"label")(2,"input",41),e.NdJ("click",function(l){e.CHM(i);const x=e.oxw().$implicit,ke=e.oxw(3);return e.KtG(ke.checkResource(l,x))})("keyup.enter",function(l){e.CHM(i);const x=e.oxw().$implicit,ke=e.oxw(3);return e.KtG(ke.checkResource(l,x))}),e.qZA(),e.TgZ(3,"span"),e._UZ(4,"div",24),e.YNc(5,Sy,1,1,"i",29),e.qZA()(),e.BQk()}if(2&d){const i=e.oxw().$implicit;e.xp6(2),e.Q6J("id",i.libraryDBpoolKey)("value",i.libraryDBpoolKey)("checked",i.isDefault),e.uIk("title",i.targetName),e.xp6(2),e.Q6J("innerHTML",i.targetName,e.oJD),e.xp6(),e.Q6J("ngIf",i.targetDescription)}}function Cf(d,g){if(1&d&&e._UZ(0,"i",30),2&d){const i=e.oxw(2).$implicit;e.Q6J("matTooltip",i.targetDescription)}}function Oh(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"input",41),e.NdJ("click",function(l){e.CHM(i);const x=e.oxw().$implicit,ke=e.oxw(3);return e.KtG(ke.checkResource(l,x))})("keyup.enter",function(l){e.CHM(i);const x=e.oxw().$implicit,ke=e.oxw(3);return e.KtG(ke.checkResource(l,x))}),e.qZA(),e.TgZ(2,"label",42)(3,"a",43),e.NdJ("click",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.openLink(null==l?null:l.noteUrl))})("keyup.enter",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.openUrl(l.targetUrl))}),e._UZ(4,"div",24),e.qZA(),e.YNc(5,Cf,1,1,"i",29),e.qZA(),e.BQk()}if(2&d){const i=e.oxw().$implicit;e.xp6(),e.Q6J("id",i.libraryDBpoolKey)("value",i.libraryDBpoolKey)("checked",i.isDefault),e.uIk("title",i.targetName),e.xp6(3),e.Q6J("innerHTML",i.targetName,e.oJD),e.xp6(),e.Q6J("ngIf",i.targetDescription)}}const wf=(d,g,i)=>({"resource-ulist col-12 col-sm-6 col-md-6 col-lg-4 col-xl-4":!0,"col-sm-6":d,"col-lg-4":g,"display-none-class":i});function nm(d,g){if(1&d&&(e.TgZ(0,"div",40),e.YNc(1,ky,3,1,"ng-container",22)(2,Ey,6,6,"ng-container",22)(3,Oh,6,6,"ng-container",22),e.qZA()),2&d){const i=g.$implicit,c=e.oxw().$implicit;e.Q6J("ngClass",e.kEZ(4,wf,c.numberOfTargets>12,c.numberOfTargets>24,c.isCollapse)),e.xp6(),e.Q6J("ngIf","WL"===i.targetType),e.xp6(),e.Q6J("ngIf","WL"!==(null==i?null:i.targetType)&&(null===(null==i?null:i.noteUrl)||""===(null==i?null:i.noteUrl))),e.xp6(),e.Q6J("ngIf","WL"!==(null==i?null:i.targetType)&&null!==(null==i?null:i.noteUrl)&&""!==(null==i?null:i.noteUrl))}}function Rg(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",34)(1,"div",35)(2,"label")(3,"input",36),e.NdJ("click",function(l){const ke=e.CHM(i).$implicit,Mt=e.oxw(2);return e.KtG(Mt.checkGroup(l,ke.searchTargets))})("keyup.enter",function(l){const ke=e.CHM(i).$implicit,Mt=e.oxw(2);return e.KtG(Mt.checkGroup(l,ke.searchTargets))}),e.qZA(),e._UZ(4,"span")(5,"div",37),e.qZA(),e.TgZ(6,"i",38),e.NdJ("click",function(){const x=e.CHM(i).$implicit,ke=e.oxw(2);return e.KtG(ke.toggleGroup(x))})("keyup.enter",function(){const x=e.CHM(i).$implicit,ke=e.oxw(2);return e.KtG(ke.toggleGroup(x))}),e.qZA()(),e.TgZ(7,"div",19),e.YNc(8,nm,4,8,"div",39),e.qZA()()}if(2&d){const i=g.$implicit,c=g.index,l=e.oxw(2);e.xp6(3),e.Q6J("id","head"+c+i.id)("value","head"+c+i.id)("checked",i.isDefault)("indeterminate",i.checkedStatus===l.PARTIAL_CHECKED),e.xp6(2),e.Q6J("innerHTML",i.heading,e.oJD)("title",i.heading),e.xp6(),e.Q6J("ngClass",e.WLB(8,Ty,!i.isCollapse,i.isCollapse)),e.xp6(2),e.Q6J("ngForOf",null==i?null:i.searchTargets)}}function Dh(d,g){if(1&d&&(e.TgZ(0,"div",12),e.YNc(1,Rg,9,11,"div",33),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngForOf",i.resources)}}let Lg=(()=>{class d{constructor(i,c){this._searchService=i,this._storageService=c,this.PARTIAL_CHECKED=ta.Y$.PARTIAL}ngOnInit(){this._searchService.getQuickSearchResourcesBS().subscribe(i=>{i&&(this.resources=i,this.resources?.length&&(this.showCollapseAll=!this.resources.some(c=>c.isCollapse)))})}openUrl(i=""){i?.includes("useracct.asp?")||i?.includes("MyStatus.aspx")?(i=this.includeSessId(i),this.openLink(i)):this.openLink(i)}includeSessId(i=""){if(i?.includes("myses=&")){const l=this._storageService.getItem("userData")?.sessionId;l&&(i=i.replace("myses=&",`myses=${l}&`))}return i}openLink(i){i&&window.open(i,"_blank","location=yes,height=650,width=650,scrollbars=yes,status=yes")}resetAll(){this.resources=this._searchService.getSearchResources(),this.emitResourceSelection()}checkGroup(i,c){c.forEach(l=>l.isDefault=i.target.checked),ta.oD.setCheckStatus(this.resources),this.emitResourceSelection()}checkResource(i,c){c.isDefault=i.target.checked,ta.oD.toggleResourcesByLibraryDBPoolKey(this.resources,c),this.emitResourceSelection()}checkAll(i){this.resources.forEach(c=>c.searchTargets.forEach(l=>l.isDefault=i)),ta.oD.setCheckStatus(this.resources),this.emitResourceSelection()}toggleGroup(i){i.isCollapse=!i.isCollapse,i.isCollapse?!this.resources.some(l=>!l.isCollapse)&&(this.showCollapseAll=!1):!this.resources.some(l=>l.isCollapse)&&(this.showCollapseAll=!0)}toggleExpandCollapse(){this.resources.map(i=>i.isCollapse=this.showCollapseAll),this.showCollapseAll=!this.showCollapseAll}emitResourceSelection(){this._searchService.setQuickSearchResourcesBS(this.resources)}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(ta.oD),e.Y36(no.V))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-search-resources"]],inputs:{overlay:"overlay"},decls:20,vars:5,consts:[[1,"container-fluid"],[1,"checks","row","hello2"],[1,"text-center","col-6","col-md-3","toggle"],["title","Clear All","tabindex","0",3,"click","keyup.enter"],[1,"fa","fa-lg","fa-square-o"],["title","Check All","tabindex","0",3,"click","keyup.enter"],[1,"fa","fa-lg","fa-check-square-o"],["title","Reset to Default","tabindex","0",3,"click","keyup.enter"],[1,"fa","fa-lg","fa-retweet"],["tabindex","0",3,"title","keyup.enter","click"],[3,"ngClass"],["class","row no-grid-comp",4,"ngIf"],[1,"row","no-grid-comp"],["class","width-100 compPadding",4,"ngFor","ngForOf"],[1,"width-100","compPadding"],[1,"adv-header","margin-5",2,"padding-left","0px"],["type","checkbox","tabindex","0",3,"id","value","checked","indeterminate","click"],[1,"custom-control-description","font-0-8",3,"innerHTML"],["aria-hidden","true","tabindex","0","title","Show or Hide Resources",1,"fa","fa-sm",3,"ngClass","click","keyup.enter"],[1,"resources-main"],["class","resource-ulist col-12 font-0-8",3,"ngClass",4,"ngFor","ngForOf"],[1,"resource-ulist","col-12","font-0-8",3,"ngClass"],[4,"ngIf"],["tabindex","0",1,"resource-links",3,"click","keyup.enter"],[1,"d-inline-block",2,"cursor","pointer","text-decoration","underline",3,"innerHTML"],[1,"custom-checkbox"],["type","checkbox","tabindex","0",3,"value","checked","change"],[1,"custom-control-indicator"],[1,"custom-control-description"],["class","resource-icon fa fa-comment-o","aria-hidden","true",3,"matTooltip",4,"ngIf"],["aria-hidden","true",1,"resource-icon","fa","fa-comment-o",3,"matTooltip"],["for","resourceLinks",1,"custom-checkbox"],["tabindex","0",1,"resource-links-2",3,"click","keyup.enter"],["class","width-100","style","border-bottom: 1px solid var(--shade-three)",4,"ngFor","ngForOf"],[1,"width-100",2,"border-bottom","1px solid var(--shade-three)"],[1,"adv-header","margin-5-0"],["type","checkbox",3,"id","value","checked","indeterminate","click","keyup.enter"],[1,"resource-group","truncate-ellipsis",3,"innerHTML","title"],["aria-hidden","true","tabindex","0","title","Show or Hide Resources","tabindex","0",1,"fa","fa-sm","toggle-res",3,"ngClass","click","keyup.enter"],["style","padding: 0px 5px",3,"ngClass",4,"ngFor","ngForOf"],[2,"padding","0px 5px",3,"ngClass"],["type","checkbox",3,"id","value","checked","click","keyup.enter"],["for","resource-links-2"],["id","resource-links-2","tabindex","0",1,"resource-links-2",3,"click","keyup.enter"]],template:function(c,l){1&c&&(e.TgZ(0,"form",0)(1,"div",1)(2,"div",2)(3,"span",3),e.NdJ("click",function(){return l.checkAll(!1)})("keyup.enter",function(){return l.checkAll(!1)}),e._UZ(4,"i",4),e._uU(5,"Clear All"),e.qZA()(),e.TgZ(6,"div",2)(7,"span",5),e.NdJ("click",function(){return l.checkAll(!0)})("keyup.enter",function(){return l.checkAll(!0)}),e._UZ(8,"i",6),e._uU(9,"Check All"),e.qZA()(),e.TgZ(10,"div",2)(11,"span",7),e.NdJ("click",function(){return l.resetAll()})("keyup.enter",function(){return l.resetAll()}),e._UZ(12,"i",8),e._uU(13,"Set Default"),e.qZA()(),e.TgZ(14,"div",2)(15,"span",9),e.NdJ("keyup.enter",function(){return l.toggleExpandCollapse()})("click",function(){return l.toggleExpandCollapse()}),e._UZ(16,"i",10),e._uU(17),e.qZA()()(),e.YNc(18,aC,2,1,"div",11)(19,Dh,2,1,"div",11),e.qZA()),2&c&&(e.xp6(15),e.s9C("title",l.showCollapseAll?"Collapse All":"Expand All"),e.xp6(),e.Q6J("ngClass",l.showCollapseAll?"fa fa-lg fa-compress":"fa fa-lg fa-expand"),e.xp6(),e.hij(" ",l.showCollapseAll?"Collapse All":"Expand All"," "),e.xp6(),e.Q6J("ngIf",l.overlay),e.xp6(),e.Q6J("ngIf",!l.overlay))},dependencies:[ei.mk,ei.sg,ei.O5,zr.oO,At._Y,At.JL,At.F,pa.Kd],styles:["a.active[_ngcontent-%COMP%]{display:inline-block;color:var(--header-color);font-weight:600;cursor:pointer;padding:5px}a.active[_ngcontent-%COMP%]:hover, a.active[_ngcontent-%COMP%]:focus{color:var(--link)!important}.resource-events[_ngcontent-%COMP%]{cursor:pointer;text-align:center;border-radius:5px}.resource-event[_ngcontent-%COMP%]{padding:10px}.resource-ulist[_ngcontent-%COMP%]{margin-bottom:initial!important;display:inline-block;min-height:0px!important;vertical-align:top}.resource-ulist[_ngcontent-%COMP%]   .hide[_ngcontent-%COMP%]{visibility:hidden;height:0px;display:initial!important}.no-grid-comp[_ngcontent-%COMP%]   .resource-ulist[_ngcontent-%COMP%]{display:inline-block}.resources-ulist-hide[_ngcontent-%COMP%]{display:none}.compPadding[_ngcontent-%COMP%]{padding:0 4px}.resource-links-2[_ngcontent-%COMP%]{display:inline-block;text-decoration:underline!important;color:#00e!important;cursor:pointer!important}.resource-links[_ngcontent-%COMP%]{display:inline-block;padding:2px 32px;text-decoration:underline}.resources-main[_ngcontent-%COMP%]{padding:0 10px;font-size:.8em!important}.resources-list[_ngcontent-%COMP%]{padding:10px 5px;list-style:none}.resources-heading[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{padding-bottom:10px;font-size:1.25rem}.resources-heading[_ngcontent-%COMP%] > span.resource-icon[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{font-size:1.75em;margin-top:5px;display:inline-block}.resource-icon[_ngcontent-%COMP%]{padding:5px}.resource-list[_ngcontent-%COMP%]{padding:0 5px;list-style:none}.custom-control[_ngcontent-%COMP%]{padding-left:2rem;line-height:initial}.custom-control-indicator[_ngcontent-%COMP%]{height:1.3rem;width:1.3rem}.target-list[_ngcontent-%COMP%]{margin-bottom:0}.advFilter[_ngcontent-%COMP%]{margin-top:15px;padding-bottom:20px}.adv-check[_ngcontent-%COMP%]{color:#454545;font-size:1.1em;padding:5px 10px;margin-top:20px}@media screen and (min-width: 0px) and (max-width: 768px){.adv-header[_ngcontent-%COMP%]{padding-bottom:12%!important}}@media screen and (min-width: 769px) and (max-width: 992px){.adv-header[_ngcontent-%COMP%]{padding-bottom:10%!important}}@media screen and (min-width: 993px) and (max-width: 1200px){.adv-header[_ngcontent-%COMP%]{padding-bottom:10%!important}}.adv-header[_ngcontent-%COMP%]{clear:none}.adv-header[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:10px;cursor:pointer}.adv-header[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:1.1em;cursor:pointer;width:calc(100% - 30px);display:block;margin-right:5px;margin-bottom:0;float:left;height:35px}.adv-header[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{display:inline-block;width:25px;cursor:pointer}.adv-check[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{vertical-align:top}.adv-link[_ngcontent-%COMP%]{color:var(--link)!important;font-size:.85em;cursor:pointer}.rows[_ngcontent-%COMP%]{font-size:1.1em;font-weight:300}.checks[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .header-boxes[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{height:20px;width:20px}.checks[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{color:var(--text-icons)}.checks[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%}.checks[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover, .checks[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus{text-decoration:none;cursor:pointer}.header[_ngcontent-%COMP%]   i[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-top:2px;margin-right:5px;display:inline-block;vertical-align:top;cursor:pointer}.header[_ngcontent-%COMP%]   i.fa-eye-slash[_ngcontent-%COMP%], .header[_ngcontent-%COMP%]   i.fa-compress[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   i.fa-eye-slash[_ngcontent-%COMP%]{color:#ccc}.header[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-top:0;font-size:1em;vertical-align:top;line-height:1em}.header[_ngcontent-%COMP%]   i.fa-eye[_ngcontent-%COMP%]{color:var(--link)}.header[_ngcontent-%COMP%]{background:var(--text-icons);padding:10px 15px 10px 5px;font-size:1.25em}.boxes[_ngcontent-%COMP%]{padding:5px 10px 5px 35px}.toggle[_ngcontent-%COMP%]{cursor:pointer;padding:5px 10px}p[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{display:block!important}.display-none-class[_ngcontent-%COMP%]{display:none!important}.resource-group[_ngcontent-%COMP%]{display:inline-block;width:80%}.toggle-res[_ngcontent-%COMP%]{padding:0 6px 0 5px}.three-row-ellipsis[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;display:inline-block;-webkit-line-clamp:3;width:80%}"]})}return d})();function Oy(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"li",10),e.NdJ("click",function(){const x=e.CHM(i).$implicit,ke=e.oxw(3);return e.KtG(ke.moveToList(x.listId))})("keyup.enter",function(){const x=e.CHM(i).$implicit,ke=e.oxw(3);return e.KtG(ke.moveToList(x.listId))}),e._uU(1),e.qZA()}if(2&d){const i=g.$implicit;e.xp6(),e.hij(" ",i.listName," ")}}function Ah(d,g){if(1&d&&(e.TgZ(0,"ul",8),e.YNc(1,Oy,2,1,"li",9),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngForOf",null==i.lists?null:i.lists.lists)}}function Ng(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",3)(1,"h4"),e._uU(2,"Add to List"),e.qZA(),e.TgZ(3,"div",4)(4,"input",5),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.inputCreate=l)})("keyup.enter",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.createList())}),e.qZA(),e.TgZ(5,"i",6),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.createList())})("keyup.enter",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.createList())}),e.qZA()(),e.TgZ(6,"div",4),e._uU(7,"Choose from Your List :"),e.qZA(),e.YNc(8,Ah,2,1,"ul",7),e.qZA()}if(2&d){const i=e.oxw();e.xp6(4),e.Q6J("ngModel",i.inputCreate),e.xp6(4),e.Q6J("ngIf",i.lists)}}function Dy(d,g){if(1&d&&(e.TgZ(0,"div")(1,"strong"),e._uU(2),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(2),e.AsE("",i.title," by ",i.author,"")}}function Fg(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",15)(1,"div",16)(2,"i",17),e.NdJ("click",function(){const x=e.CHM(i).$implicit,ke=e.oxw(2);return e.KtG(ke.deleteItem4frmList(x))}),e.qZA()(),e.YNc(3,Dy,3,2,"div",18),e._UZ(4,"hr"),e.qZA()}if(2&d){const i=g.$implicit;e.xp6(3),e.Q6J("ngIf",i.title)}}function im(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",19),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.saveList())}),e._uU(1," Save List "),e.qZA()}}function Ay(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",19),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.printList())}),e._uU(1," Print List "),e.qZA()}}function Py(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",19),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.emailList())}),e._uU(1," Email List "),e.qZA()}}function Iy(d,g){if(1&d&&(e.TgZ(0,"div",11)(1,"h4"),e._uU(2,"List Items"),e.qZA(),e.TgZ(3,"div",4),e.YNc(4,Fg,5,1,"div",12),e.TgZ(5,"div",13),e.YNc(6,im,2,0,"button",14)(7,Ay,2,0,"button",14)(8,Py,2,0,"button",14),e.qZA()()()),2&d){const i=e.oxw();e.xp6(4),e.Q6J("ngForOf",null==i.listInfo?null:i.listInfo.listItems),e.xp6(2),e.Q6J("ngIf",(null==i.listInfo?null:i.listInfo.listItems.length)>0&&i.listInfo.permissions.showSave),e.xp6(),e.Q6J("ngIf",(null==i.listInfo?null:i.listInfo.listItems.length)>0&&i.listInfo.permissions.showPrint),e.xp6(),e.Q6J("ngIf",(null==i.listInfo?null:i.listInfo.listItems.length)>0&&i.listInfo.permissions.showEmail)}}const Ry=(d,g)=>({"form-control":!0,"input-required":d,"input-valid":g,"form-font-size":!0});function Ly(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",11)(1,"h4"),e._uU(2,"Send Email"),e.qZA(),e.TgZ(3,"form",20),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.validSendEmail())}),e.TgZ(4,"h6",21),e._uU(5,"From*"),e.qZA(),e.TgZ(6,"div",4),e._UZ(7,"input",22),e.qZA(),e.TgZ(8,"h6",21),e._uU(9,"To*"),e.qZA(),e.TgZ(10,"div",4),e._UZ(11,"input",23),e.qZA(),e.TgZ(12,"h6"),e._uU(13,"Subject:"),e.qZA(),e.TgZ(14,"div",4),e._UZ(15,"input",24),e.qZA(),e.TgZ(16,"h6"),e._uU(17,"Body:"),e.qZA(),e.TgZ(18,"div",4),e._UZ(19,"textarea",25),e.qZA(),e.TgZ(20,"button",26),e._uU(21," Send "),e.qZA(),e.TgZ(22,"button",27),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goBack())}),e._uU(23," Close "),e.qZA()()()}if(2&d){const i=e.oxw();e.xp6(3),e.Q6J("formGroup",i.emailForm),e.xp6(8),e.Q6J("ngClass",e.WLB(3,Ry,i.emailForm.controls.ToAddress.invalid,i.emailForm.controls.ToAddress.valid)),e.xp6(9),e.Q6J("disabled",!i.emailForm.valid)}}let Tf=(()=>{class d extends na.e{constructor(i,c,l,x,ke,Mt,un,Dn){super(Dn),this.authService=i,this._emailService=c,this._fb=l,this._routingService=x,this._snackBar=ke,this._sharedService=Mt,this._yourListService=un,this._layoutService=Dn,this.lists=[],this.showEmailForm=!1,this._unsubscribe=new Fa.x,this.emailForm=this._fb.group({FromAddress:"",ToAddress:["",[At.kI.required,At.kI.pattern("[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,3}$")]],Subject:["",At.kI.required],MessageBody:["",At.kI.required],IsBodyHtml:!0})}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}ngOnInit(){this.authService.isGuest()?this.getListInfo():this._yourListService.lists$.pipe((0,ji.R)(this._unsubscribe)).subscribe(i=>{this.lists=i}),this._sharedService.getLoadGuestListBS().pipe((0,ji.R)(this._unsubscribe)).subscribe(i=>{i&&this.authService.isGuest()&&(this.showEmailForm=!1,this.getListInfo())})}validSendEmail(){const i=this.emailForm.getRawValue();this._emailService.SendEmail({FromAddress:i.FromAddress,FromAddressName:"",ToAddress:i.ToAddress,CCAddress:"",BCCAddress:"",Subject:i.Subject,MessageBody:i.MessageBody,IsBodyHtml:!0}).subscribe(l=>{"200 OK"==l.status&&(this.openSnackBar(l.message,"ok"),this.goBack())})}emailList(){this.showEmailForm=!0}printList(){const i=[],c=this.listInfo.listItems;for(let l=0;l<c.length;l++)i.push(c[l].listItemId);this._yourListService.printList(this.listId,i).subscribe(l=>{const x=l.data.body,ke=window.open("","_blank","top=0,left=0,height=100%,width=auto");ke.document.open(),ke.document.write(x),ke.document.close(),ke.print(),ke.close()})}saveList(){this.closeNav(),this._routingService.goToLogin()}deleteItem4frmList(i){const c=[];c.push(i.listItemId),this._yourListService.deleteListItem(0,c).subscribe(()=>{this.getListInfo()},l=>{this._sharedService.openSnackBar("Unable to delete list item."),console.error(l)})}getListInfo(i=0){this._yourListService.getListInfo(i).subscribe(c=>{if(this.listInfo=c,this.listInfo.listItems.length){const l=this.listInfo.emailFromAddress;let x="";const ke=this.listInfo.listItems;for(let Mt=0;Mt<ke.length;Mt++){const un=ke[Mt];let Dn="Title:"+un.title+" By:"+un.author+", \r\n";Dn+="\r\n",x=x.concat(Dn)}this.emailForm.patchValue({FromAddress:l,Subject:"Session List",MessageBody:x}),this.emailForm.controls.FromAddress.disable(),this.emailForm.controls.MessageBody.disable()}})}moveToList(i){this.item.source||this.item.libraryDbPoolKey?this.item.source?this._yourListService.addItemToListFromSource(this.item.agcontrolid,this.item.source,i).subscribe(()=>this.closeNav()):this._yourListService.addItemToListFromLibKey(this.item.agControlId,this.item.libraryDbPoolKey,i).subscribe(l=>{"200 OK"===l.status&&this.openSnackBar(l.data,"ok")}):this.openSnackBar("unable to add item to the list","ok")}createList(){Ii.F.isEmpty(this.inputCreate)?this._sharedService.openSnackBar("Enter name for this list","ok"):this.inputCreate.trim().length>50?this.openSnackBar("List title cannot exceed 50 characters","ok"):this._yourListService.createList(this.inputCreate).subscribe(i=>{this._chosenList=i,this.moveToList(this._chosenList),this.inputCreate="",this._yourListService.loadLists().subscribe(()=>{},c=>{this._sharedService.openSnackBar("Unable to load lists."),console.error(c)})},i=>{this._sharedService.openSnackBar("Unable to create list"),console.error(i)})}goBack(){this.showEmailForm=!1}openSnackBar(i,c){this._snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qo.e8),e.Y36(Ch.j),e.Y36(At.QS),e.Y36(Wo.Z),e.Y36(Ti.pl),e.Y36(Ii.F),e.Y36(v.K),e.Y36(We.P))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["add-list"]],inputs:{item:"item",agcontrolid:"agcontrolid",source:"source",listId:"listId"},features:[e.qOj],decls:4,vars:3,consts:[[1,"ag-pa-md"],["class","slide-list","style","width: 300px",4,"ngIf"],["class","slide-list guest-list",4,"ngIf"],[1,"slide-list",2,"width","300px"],[1,"form-group"],["placeholder","Create New List","title","Create New List",1,"form-control",3,"ngModel","ngModelChange","keyup.enter"],["tabindex","0",1,"fa","fa-plus",3,"click","keyup.enter"],["class","list-ul",4,"ngIf"],[1,"list-ul"],["class","list-item","tabindex","0",3,"click","keyup.enter",4,"ngFor","ngForOf"],["tabindex","0",1,"list-item",3,"click","keyup.enter"],[1,"slide-list","guest-list"],["class","per-items item-guest",4,"ngFor","ngForOf"],[1,"per-items",2,"margin-top","20px"],["class","btn btn-primary margin-bot-10","type","button",3,"click",4,"ngIf"],[1,"per-items","item-guest"],[2,"margin-top","18px","margin-right","7px"],["aria-hidden","true",1,"fa","fa-trash",3,"click"],[4,"ngIf"],["type","button",1,"btn","btn-primary","margin-bot-10",3,"click"],["autocomplete","off","novalidate","",3,"formGroup","ngSubmit"],[2,"color","red"],["type","email","title","Email","id","FromAddress","formControlName","FromAddress","aria-describedby","emailHelp","autocomplete","nope",1,"form-control","form-font-size"],["type","email","title","To","id","ToAddress","aria-describedby","ToAddressHelp","formControlName","ToAddress","autocomplete","nope-again",3,"ngClass"],["type","text","title","Subject","id","Subject","formControlName","Subject","aria-describedby","Subject","autocomplete","new-subject",1,"form-control","form-font-size"],["id","MessageBody","formControlName","MessageBody","title","Type Message Here",1,"form-control","form-font-size","text-area"],["role","button","aria-label","Submit","type","submit",1,"btn","btn-primary",3,"disabled"],["role","button","aria-label","Close","type","button",1,"btn","btn-primary",3,"click"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0),e.YNc(1,Ng,9,2,"div",1)(2,Iy,9,4,"div",2)(3,Ly,24,6,"div",2),e.qZA()),2&c&&(e.xp6(),e.Q6J("ngIf",!l.authService.isGuest()),e.xp6(),e.Q6J("ngIf",l.authService.isGuest()&&l.listInfo&&!l.showEmailForm),e.xp6(),e.Q6J("ngIf",l.authService.isGuest()&&l.listInfo&&l.showEmailForm))},dependencies:[ei.mk,ei.sg,ei.O5,zr.oO,At._Y,At.Fj,At.JJ,At.JL,At.On,At.sg,At.u],styles:[".slide-list[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{display:inline-block;width:80%}.slide-list[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.5em;padding:0 5px;line-height:.5em;vertical-align:middle;color:var(--header-color);cursor:pointer}.list-ul[_ngcontent-%COMP%]{margin:0;padding:0}li.list-item[_ngcontent-%COMP%]{width:100%;margin:0;padding:5px 10px 5px 15px;font-weight:450;font-size:1.15em;list-style:none;cursor:pointer}.list-item[_ngcontent-%COMP%]:hover, .list-item[_ngcontent-%COMP%]:focus{background:var(--body-background);color:var(--body-color)}@media screen and (min-width: 320px){.guest-list[_ngcontent-%COMP%]{width:200px}}@media screen and (min-width: 768px){.guest-list[_ngcontent-%COMP%]{width:200px}}.item-guest[_ngcontent-%COMP%]{display:flex;margin-top:30px}.form-font-size[_ngcontent-%COMP%]{font-size:.8em}.text-area[_ngcontent-%COMP%]{height:100px}.margin-bot-10[_ngcontent-%COMP%]{margin-bottom:10px}"]})}return d})();function Ph(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&d){const i=e.oxw().$implicit,c=e.oxw(2);e.xp6(),e.hij(" ",c.isoFormatDMY(c.parseISOString(null==i?null:i.msgBegin),null==i?null:i.msgBegin)," ")}}function om(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&d){const i=e.oxw().$implicit;e.xp6(),e.Oqu(null==i?null:i.msgSignature)}}const rm=(d,g)=>({"alert-info":d,"alert-warning":g});function sC(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-card",4),e.NdJ("click",function(){const l=e.CHM(i),x=l.$implicit,ke=l.index,Mt=e.oxw(2);return e.KtG(Mt.openNotification(x,ke))}),e.TgZ(1,"mat-card-header")(2,"mat-card-title"),e._uU(3),e.qZA()(),e.TgZ(4,"mat-card-content",5),e._UZ(5,"div",6),e.YNc(6,Ph,2,1,"div",1),e._UZ(7,"hr"),e.YNc(8,om,2,1,"div",1),e.qZA()()}if(2&d){const i=g.$implicit;e.Q6J("ngClass",e.WLB(5,rm,!(null!=i&&i.unRead),null==i?null:i.unRead)),e.xp6(3),e.Oqu(null==i?null:i.msgTitle),e.xp6(2),e.Q6J("innerHTML",null==i?null:i.msgText,e.oJD),e.xp6(),e.Q6J("ngIf",null==i?null:i.msgBegin),e.xp6(2),e.Q6J("ngIf",null==i?null:i.msgSignature)}}function Ny(d,g){if(1&d&&(e.TgZ(0,"div")(1,"h5",2),e._uU(2,"Your notifications"),e.qZA(),e.YNc(3,sC,9,8,"mat-card",3),e.qZA()),2&d){const i=e.oxw();e.xp6(3),e.Q6J("ngForOf",null==i.notifications?null:i.notifications.allMessages)}}function Fy(d,g){1&d&&(e.TgZ(0,"div")(1,"h6",7),e._uU(2,"There are no notifications at this time"),e.qZA()())}function Mf(d,g){1&d&&(e.TgZ(0,"div")(1,"h6",7),e._uU(2,"There are no notifications at this time"),e.qZA()())}let By=(()=>{class d{constructor(i,c){this._dialog=i,this._notifyService=c}ngOnChanges(i){if(i.trigger&&i.notifications){const c=i.notifications.currentValue;if(null!==c&&c){if(null!==c.allMessages){const l=c.allMessages;l.length>0&&l.forEach(x=>{x.msgBegin.includes("Z")||(x.msgBegin=x.msgBegin.concat("Z"))})}this.notifications=c}}}openNotification(i,c){this.openNotificationsDialog(i,c)}openNotificationsDialog(i,c){this._dialog.open(T_,{panelClass:"notifications-back-color",width:"600px",height:"auto",disableClose:!0,data:{position:c,message:i,fromHeader:!1}}).afterClosed().subscribe(x=>{x?.message?.unRead&&this._ackNotification(x.message)})}_ackNotification(i){this._notifyService.ackMessage(i).subscribe(c=>{"200 OK"==c.status&&(this.notifications=c.data,this._notifyService.updateUnreadMessageCount())})}parseISOString(i){const c=i.split(/\D+/);return new Date(Date.UTC(c[0],--c[1],c[2],c[3],c[4],c[5],c[6]))}isoFormatDMY(i,c){return this.pad(this.pad(i.getUTCMonth()+1)+"/"+i.getUTCDate())+"/"+i.getUTCFullYear()+" "+i.toLocaleTimeString()}pad(i){return(i<10?"0":"")+i}padd(i){return(i<100?"0":"")+this.pad(i)}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.on),e.Y36(Oe.c))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["notify"]],inputs:{trigger:"trigger",notifications:"notifications"},features:[e.TTD],decls:4,vars:3,consts:[[1,"slide-notify","ag-pa-md"],[4,"ngIf"],[1,"text=center"],["class","example-card alert-info",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"example-card","alert-info",3,"ngClass","click"],[1,"slide-notify__mat-card-content"],[1,"ellipsis",3,"innerHTML"],[1,"red"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0),e.YNc(1,Ny,4,1,"div",1)(2,Fy,3,0,"div",1)(3,Mf,3,0,"div",1),e.qZA()),2&c&&(e.xp6(),e.Q6J("ngIf",l.notifications&&(null==l.notifications?null:l.notifications.alllMessageCount)>0),e.xp6(),e.Q6J("ngIf",l.notifications&&0===(null==l.notifications?null:l.notifications.alllMessageCount)),e.xp6(),e.Q6J("ngIf",!l.notifications))},dependencies:[ei.mk,ei.sg,ei.O5,zr.oO,Wr.S$,Wr.u7,Wr.Qi,Wr.mi],styles:[".slide-notify[_ngcontent-%COMP%]{max-width:300px}.mat-card[_ngcontent-%COMP%] > .mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0;position:absolute;top:0;right:0}.mat-card.alert-info[_ngcontent-%COMP%]{color:var(--header-color)!important;background-color:var(--offset-two)!important;border-color:#000!important}.mat-card.alert-success[_ngcontent-%COMP%]{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.mat-card.alert-warning[_ngcontent-%COMP%]{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.mat-card.alert-danger[_ngcontent-%COMP%]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.slide-notify[_ngcontent-%COMP%]   .mat-card[_ngcontent-%COMP%]{padding:10px;margin-bottom:5px}.slide-notify[_ngcontent-%COMP%]   .mat-card-title[_ngcontent-%COMP%]{font-size:1.1em;margin-bottom:7px;width:175px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slide-notify[_ngcontent-%COMP%]   .mat-card-subtitle[_ngcontent-%COMP%]{font-size:.75em;width:195px;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slide-notify[_ngcontent-%COMP%]   mat-card-actions[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:var(--header-color);cursor:pointer}.example-card[_ngcontent-%COMP%]{cursor:pointer}.btn-link[_ngcontent-%COMP%]{background:transparent!important}.slide-notify__mat-card-content[_ngcontent-%COMP%]{margin:0 8px}"]})}return d})();function Bg(d,g){1&d&&(e.TgZ(0,"div",8),e._UZ(1,"mat-spinner",9),e.qZA()),2&d&&(e.xp6(),e.Q6J("diameter",25))}function Uy(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",null,10)(2,"h4"),e._uU(3,"Modify Existing Request"),e.qZA(),e.TgZ(4,"div",11)(5,"label",12),e._uU(6,"Enter Request ID for the request you want to Modify"),e.qZA(),e.TgZ(7,"input",13,14),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.modifyReqId=l)}),e.qZA()(),e.TgZ(9,"div",15)(10,"input",16,17),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.generateNewLenderList=l)}),e.qZA(),e.TgZ(12,"label",18),e._uU(13,"Generate new Lender List"),e.qZA()(),e._UZ(14,"br"),e.TgZ(15,"button",19),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.submitModifyRequest())}),e._uU(16," Submit "),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(7),e.Q6J("ngModel",i.modifyReqId),e.xp6(3),e.Q6J("ngModel",i.generateNewLenderList)}}function Zy(d,g){1&d&&e.GkF(0)}function Ug(d,g){1&d&&e.GkF(0)}function Hy(d,g){1&d&&e.GkF(0)}const vs=d=>({$implicit:d});function mu(d,g){if(1&d&&(e.ynx(0),e.YNc(1,Hy,1,0,"ng-container",22),e.BQk()),2&d){const i=e.oxw(2),c=e.MAs(15);e.xp6(),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.VKq(2,vs,i.newHolding))}}function Ih(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",26),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.addLocation())}),e._uU(1," Add Location "),e.qZA()}}function Zg(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"form",null,20)(3,"h4"),e._uU(4,"Add Locations"),e.qZA(),e.TgZ(5,"div",21),e.YNc(6,Zy,1,0,"ng-container",22)(7,Ug,1,0,"ng-container",22)(8,mu,2,4,"ng-container",3),e.TgZ(9,"div",23)(10,"div"),e.YNc(11,Ih,2,0,"button",24),e.qZA(),e.TgZ(12,"div")(13,"button",25),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closeNav())}),e._uU(14," Cancel "),e.qZA()()()()()()}if(2&d){const i=e.oxw(),c=e.MAs(9),l=e.MAs(11);e.xp6(6),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.VKq(6,vs,i.bibInfo)),e.xp6(),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.VKq(8,vs,i.allLibraries)),e.xp6(),e.Q6J("ngIf",i.selectedLibrary),e.xp6(3),e.Q6J("ngIf",i.selectedLibrary)}}function fu(d,g){1&d&&e.GkF(0)}function Rh(d,g){1&d&&e.GkF(0)}function kf(d,g){1&d&&e.GkF(0)}function am(d,g){if(1&d&&(e.ynx(0),e.YNc(1,kf,1,0,"ng-container",22),e.BQk()),2&d){const i=e.oxw(2),c=e.MAs(15);e.xp6(),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.VKq(2,vs,i.newHolding))}}function Gy(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"form",null,20)(3,"h4"),e._uU(4,"Copy Locations"),e.qZA(),e.TgZ(5,"div",21),e.YNc(6,fu,1,0,"ng-container",22)(7,Rh,1,0,"ng-container",22)(8,am,2,4,"ng-container",3),e.TgZ(9,"div",23)(10,"div")(11,"button",27),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.copyCatalog())}),e._uU(12," Add "),e.qZA()(),e.TgZ(13,"div")(14,"button",25),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closeNav())}),e._uU(15," Cancel "),e.qZA()()()()()()}if(2&d){const i=e.oxw(),c=e.MAs(9),l=e.MAs(11);e.xp6(6),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.VKq(5,vs,i.bibInfo)),e.xp6(),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.VKq(7,vs,i.allLibraries)),e.xp6(),e.Q6J("ngIf",i.selectedLibrary)}}function Jy(d,g){1&d&&e.GkF(0)}function Hg(d,g){1&d&&e.GkF(0)}function Gg(d,g){1&d&&e.GkF(0)}function Sf(d,g){1&d&&e.GkF(0)}function Jg(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",29),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.updateLocation())}),e._uU(1," Update Location "),e.qZA()}}function Vy(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"form")(2,"h4"),e._uU(3,"Edit Locations"),e.qZA(),e.TgZ(4,"div",21),e.YNc(5,Jy,1,0,"ng-container",22)(6,Hg,1,0,"ng-container",22)(7,Gg,1,0,"ng-container",22)(8,Sf,1,0,"ng-container",22),e.TgZ(9,"div",23)(10,"div"),e.YNc(11,Jg,2,0,"button",28),e.qZA(),e.TgZ(12,"div")(13,"button",25),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closeNav())}),e._uU(14," Cancel "),e.qZA()()()()()()}if(2&d){const i=e.oxw(),c=e.MAs(9),l=e.MAs(11),x=e.MAs(13),ke=e.MAs(15);e.xp6(5),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.VKq(9,vs,i.bibInfo)),e.xp6(),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.VKq(11,vs,i.libraries)),e.xp6(),e.Q6J("ngTemplateOutlet",x)("ngTemplateOutletContext",e.VKq(13,vs,i.selectLibraryHoldings)),e.xp6(),e.Q6J("ngTemplateOutlet",ke)("ngTemplateOutletContext",e.VKq(15,vs,i.selectedHolding)),e.xp6(3),e.Q6J("ngIf",i.selectedHolding)}}function Vg(d,g){1&d&&e.GkF(0)}function Ef(d,g){1&d&&e.GkF(0)}function zg(d,g){1&d&&e.GkF(0)}function Qg(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",31),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.deleteLocation())}),e._uU(1," Delete Location "),e.qZA()}}function zy(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"h4"),e._uU(2,"Delete Locations"),e.qZA(),e.TgZ(3,"div",21),e.YNc(4,Vg,1,0,"ng-container",22)(5,Ef,1,0,"ng-container",22)(6,zg,1,0,"ng-container",22),e.TgZ(7,"div",23)(8,"div"),e.YNc(9,Qg,2,0,"button",30),e.qZA(),e.TgZ(10,"div")(11,"button",25),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closeNav())}),e._uU(12," Cancel "),e.qZA()()()()()}if(2&d){const i=e.oxw(),c=e.MAs(9),l=e.MAs(11),x=e.MAs(13);e.xp6(4),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.VKq(7,vs,i.bibInfo)),e.xp6(),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.VKq(9,vs,i.libraries)),e.xp6(),e.Q6J("ngTemplateOutlet",x)("ngTemplateOutletContext",e.VKq(11,vs,i.selectLibraryHoldings)),e.xp6(3),e.Q6J("ngIf",i.selectedHolding)}}function Qy(d,g){if(1&d&&(e.TgZ(0,"div",21)(1,"div",32)(2,"div",33),e._uU(3,"Title:"),e.qZA(),e.TgZ(4,"div",34),e._uU(5),e.qZA()(),e.TgZ(6,"div",32)(7,"div",33),e._uU(8,"Author:"),e.qZA(),e.TgZ(9,"div",34),e._uU(10),e.qZA()(),e.TgZ(11,"div",32)(12,"div",33),e._uU(13,"Publisher:"),e.qZA(),e.TgZ(14,"div",34),e._uU(15),e.qZA()(),e.TgZ(16,"div",32)(17,"div",33),e._uU(18,"Date:"),e.qZA(),e.TgZ(19,"div",34),e._uU(20),e.qZA()(),e.TgZ(21,"div",32)(22,"div",33),e._uU(23,"Format:"),e.qZA(),e.TgZ(24,"div",34),e._uU(25),e.qZA()()()),2&d){const i=g.$implicit;e.xp6(5),e.Oqu(i.title),e.xp6(5),e.Oqu(i.author),e.xp6(5),e.Oqu(i.publisher),e.xp6(5),e.Oqu(i.date),e.xp6(5),e.Oqu(i.format)}}function jy(d,g){if(1&d&&(e.TgZ(0,"mat-option",39),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i),e.xp6(),e.AsE(" ",i.name," (",i.libCode,") ")}}function pl(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",35)(1,"mat-form-field",36)(2,"mat-label"),e._uU(3,"Library"),e.qZA(),e.TgZ(4,"mat-select",37),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.selectedLibrary=l)})("selectionChange",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.onLibrarySelection())}),e.YNc(5,jy,2,3,"mat-option",38),e.qZA()()()}if(2&d){const i=g.$implicit,c=e.oxw();e.xp6(4),e.Q6J("ngModel",c.selectedLibrary),e.xp6(),e.Q6J("ngForOf",i)}}function Lh(d,g){if(1&d&&(e.TgZ(0,"mat-radio-button",39),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i),e.xp6(),e.hij("",i.hldContent," ")}}function ya(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"mat-radio-group",40),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.selectedHolding=l)}),e.YNc(2,Lh,2,2,"mat-radio-button",38),e.qZA(),e.BQk()}if(2&d){const i=e.oxw().$implicit,c=e.oxw();e.xp6(),e.Q6J("ngModel",c.selectedHolding),e.xp6(),e.Q6J("ngForOf",i)}}function fd(d,g){1&d&&e.YNc(0,ya,3,2,"ng-container",3),2&d&&e.Q6J("ngIf",g.$implicit)}function sm(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"mat-form-field",36)(2,"mat-label"),e._uU(3),e.qZA(),e.TgZ(4,"input",42),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw().$implicit;return e.KtG(x.value=l)}),e.qZA()(),e.BQk()}if(2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(i.description),e.xp6(),e.s9C("id","subfield_"+i.subfieldTag),e.Q6J("ngModel",i.value)("readonly",!i.editable)}}function Rs(d,g){if(1&d&&(e.TgZ(0,"div",35),e.YNc(1,sm,5,4,"ng-container",3),e.qZA()),2&d){const i=g.$implicit;e.xp6(),e.Q6J("ngIf",!i.isLibraryField)}}function Yy(d,g){if(1&d&&(e.ynx(0),e.YNc(1,Rs,2,1,"div",41),e.BQk()),2&d){const i=e.oxw().$implicit;e.xp6(),e.Q6J("ngForOf",i.hldDetails)}}function _u(d,g){1&d&&e.YNc(0,Yy,2,1,"ng-container",3),2&d&&e.Q6J("ngIf",g.$implicit)}let jg=(()=>{class d{constructor(i,c,l,x){this._staffFullRecordService=i,this._layouyService=c,this._sharedService=l,this._storeageService=x,this.loading=!0}ngOnChanges(i){this.loading=!0,i.staff?.currentValue&&(this.clearValues(),"modifyRequest"===this.staff.type?this.loading=!1:"copyCatalog"===this.staff.type?this._staffFullRecordService.newHolding(this.staff.libraryDBPoolKey,this.staff.agControlId).subscribe(c=>{this.bibInfo=c.bibData,this.newHolding=c.newHolding,this.allLibraries=c.libraries;const l=this._storeageService.getItem("selectedLibrary");l&&(this.selectedLibrary=this.allLibraries.find(x=>x.libCode==l)),1==this.allLibraries.length&&(this.selectedLibrary=this.allLibraries[0]),this.loading=!1}):this._staffFullRecordService.currentLocations(this.staff.agControlId,this.staff.libraryDBPoolKey).subscribe(c=>{this.bibInfo=c.bibData,this.allHoldings=c.holdings,this.newHolding=c.newHolding,this.allLibraries=c.libraries,"addLocation"==this.staff.type?1==this.allLibraries.length&&(this.selectedLibrary=this.allLibraries[0],this.onLibrarySelection()):(this.libraries=this.uniqueLibraryList(c.holdings.map(l=>l.library)),1==this.libraries.length&&(this.selectedLibrary=this.libraries[0],this.onLibrarySelection(),1==this.selectLibraryHoldings.length&&(this.selectedHolding=this.selectLibraryHoldings[0]))),this.loading=!1}))}onLibrarySelection(){"copyCatalog"===this.staff.type&&this._storeageService.setItem("selectedLibrary",this.selectedLibrary.libCode),this.selectLibraryHoldings=this.allHoldings?.filter(i=>i.library.libCode===this.selectedLibrary.libCode),this.selectedHolding=null}copyCatalog(){this.newHolding.hldDetails.find(i=>i.isLibraryField).value=this.selectedLibrary.libCode,this.newHolding.library=this.selectedLibrary,this.newHolding.callNumber=this.newHolding.hldDetails.find(i=>i.isCallNumber).value,this._staffFullRecordService.copyCatalog(this.bibInfo.libraryDBPoolKey,this.bibInfo.agControlId,this.newHolding).subscribe(()=>this.closeNav("Record has been added to main database"))}addLocation(){this.newHolding.hldDetails.find(i=>i.isLibraryField).value=this.selectedLibrary.libCode,this.newHolding.library=this.selectedLibrary,this.newHolding.callNumber=this.newHolding.hldDetails.find(i=>i.isCallNumber).value,this._staffFullRecordService.addLocation(this.bibInfo.libraryDBPoolKey,this.bibInfo.agControlId,this.newHolding).subscribe(()=>this.closeNav("Location Added"))}deleteLocation(){this._staffFullRecordService.deleteLocation(this.bibInfo.libraryDBPoolKey,this.bibInfo.agControlId,this.selectedHolding.holdingId).subscribe(()=>this.closeNav("Location Deleted"))}updateLocation(){this._staffFullRecordService.updateLocation(this.bibInfo.libraryDBPoolKey,this.bibInfo.agControlId,this.selectedHolding).subscribe(()=>this.closeNav("Location Updated"))}submitModifyRequest(){this._staffFullRecordService.modifyExistingRequest({agControlId:this.staff.agControlId,libraryDBPoolKey:this.staff.libraryDBPoolKey,requestId:+this.modifyReqId,generateNewLenderList:this.generateNewLenderList,sourceKey:this.staff.sourceKey}).subscribe(c=>{this.closeNav(c.data)})}clearValues(){this.bibInfo=null,this.allHoldings=null,this.newHolding=null,this.libraries=null,this.allLibraries=null,this.selectLibraryHoldings=null,this.selectedLibrary=null,this.selectedHolding=null,this.modifyReqId=null,this.generateNewLenderList=!1,this.loading=!0}closeNav(i){this.clearValues(),i&&this._sharedService.openSnackBar(i),this._layouyService.closeSideNav()}uniqueLibraryList(i){return Array.from(new Set(i.map(l=>l.libCode))).map(l=>i.find(x=>x.libCode==l))}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(L_),e.Y36(We.P),e.Y36(Ii.F),e.Y36(no.V))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["staff-full-record"]],inputs:{staff:"staff"},features:[e._Bn([{provide:e.QbO,useValue:"BrowserAnimations"}]),e.TTD],decls:16,vars:6,consts:[[1,"staff-template"],["class","text-center","style","width: 100%; position: absolute; height: 50vh; top: 45%",4,"ngIf"],[1,"staff-info","ag-pa-md"],[4,"ngIf"],["bibData",""],["selectLibrary",""],["selectHolding",""],["holdingForm",""],[1,"text-center",2,"width","100%","position","absolute","height","50vh","top","45%"],["strokeWidth","3","color","accent",2,"display","inline-block",3,"diameter"],["modifyRequest",""],[1,"form-group"],["for","modifyEditRequest"],["type","text","id","modifyEditRequest",1,"form-control",3,"ngModel","ngModelChange"],["modifyEditRequest",""],[1,"form-check"],["type","checkbox","id","newLenderList",1,"form-check-input",3,"ngModel","ngModelChange"],["newLenderList",""],["for","newLenderList",1,"form-check-label"],["role","button","aria-label","Submit","type","submit",1,"btn","btn-primary","float-end",3,"click"],["form","ngForm"],["fxLayout","column","fxLayoutGap","10px"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["fxLayout","row","fxLayoutAlign","end center","fxLayoutGap","10px"],["role","button","type","button","aria-label","Add","class","btn btn-primary",3,"click",4,"ngIf"],["role","button","aria-label","Cancel","type","button",1,"btn","btn-secondary",3,"click"],["role","button","type","button","aria-label","Add",1,"btn","btn-primary",3,"click"],["role","button","type","button","aria-label","Copy Catalog",1,"btn","btn-primary",3,"click"],["role","button","type","button","aria-label","Update","class","btn btn-primary",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Update",1,"btn","btn-primary",3,"click"],["role","button","type","button","aria-label","Delete","class","btn btn-primary",3,"click",4,"ngIf"],["role","button","type","button","aria-label","Delete",1,"btn","btn-primary",3,"click"],["fxLayout","row","fxLayoutAlign","start center"],["fxFlex","80px","fxLayout","column"],["fxLayout","column"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","10px"],["appearance","outline","fxFlex",""],["title","Select Library",1,"header-color",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["fxLayout","column","name","holdings",3,"ngModel","ngModelChange"],["fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","10px",4,"ngFor","ngForOf"],["matInput","","type","text",3,"id","ngModel","readonly","ngModelChange"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0),e.YNc(1,Bg,2,1,"div",1),e.TgZ(2,"div",2),e.YNc(3,Uy,17,2,"div",3)(4,Zg,15,10,"div",3)(5,Gy,16,9,"div",3)(6,Vy,15,17,"div",3)(7,zy,13,13,"div",3),e.qZA()(),e.YNc(8,Qy,26,5,"ng-template",null,4,e.W1O)(10,pl,6,2,"ng-template",null,5,e.W1O)(12,fd,1,1,"ng-template",null,6,e.W1O)(14,_u,1,1,"ng-template",null,7,e.W1O)),2&c&&(e.xp6(),e.Q6J("ngIf",l.loading),e.xp6(2),e.Q6J("ngIf","modifyRequest"===l.staff.type),e.xp6(),e.Q6J("ngIf","addLocation"===l.staff.type&&l.bibInfo),e.xp6(),e.Q6J("ngIf","copyCatalog"===l.staff.type&&l.bibInfo),e.xp6(),e.Q6J("ngIf","editLocation"===l.staff.type&&l.bibInfo),e.xp6(),e.Q6J("ngIf","deleteLocation"===l.staff.type&&l.bibInfo))},dependencies:[ei.sg,ei.O5,ei.tP,bi.xw,bi.SQ,bi.Wh,bi.yH,At._Y,At.Fj,At.Wl,At.JJ,At.JL,At.On,At.F,ci.CK,po.v_,po.$V,xo.k0,sr.sN,wo.OY,wo.vy,yr.x8],styles:[".staff-template[_ngcontent-%COMP%]{min-width:300px;width:100%;max-width:360px;font-size:.9em}[_nghost-%COMP%]     .mat-select-value-text{color:var(--header-color)!important}[_nghost-%COMP%]     .mat-form-field-label{color:var(--header-color)!important}[_nghost-%COMP%]     .mat-form-field-outline{color:var(--header-color)!important}mat-radio-button[_ngcontent-%COMP%]{margin:5px}"]})}return d})();s(1938);const Ky=["dashboard"];function $y(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",16),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(4);return e.KtG(x.openStaffIframe(l.menuItem))}),e._uU(1),e.qZA()}if(2&d){const i=e.oxw().$implicit;e.xp6(),e.hij(" ",i.label," ")}}function fa(d,g){if(1&d&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&d){const i=e.oxw().$implicit;e.xp6(),e.hij(" ",i.label," ")}}function Yg(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"ul")(1,"li",17)(2,"a",16),e.NdJ("agInteract",function(){const x=e.CHM(i).$implicit,ke=e.oxw(5);return e.KtG(ke.openStaffIframe(x.menuItem))}),e._uU(3),e.qZA()()()}if(2&d){const i=g.$implicit;e.xp6(3),e.hij(" ",i.label," ")}}function Wy(d,g){if(1&d&&(e.TgZ(0,"ul")(1,"li",13),e.YNc(2,$y,2,1,"a",14)(3,fa,2,1,"ng-template",null,15,e.W1O)(5,Yg,4,1,"ul",6),e.qZA()()),2&d){const i=g.$implicit,c=e.MAs(4);e.xp6(),e.Q6J("ngClass",i.url?"main-link":"no-link"),e.xp6(),e.Q6J("ngIf",i.url)("ngIfElse",c),e.xp6(3),e.Q6J("ngForOf",i.subItems)}}function xa(d,g){if(1&d&&(e.TgZ(0,"div",12),e.YNc(1,Wy,6,4,"ul",6),e.qZA()),2&d){const i=e.oxw().$implicit;e.xp6(),e.Q6J("ngForOf",i.items)}}function Nh(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"div",7)(2,"div",8),e.NdJ("agInteract",function(){const x=e.CHM(i).$implicit,ke=e.oxw(2);return e.KtG(ke.toggleMenu(x))}),e._uU(3),e.TgZ(4,"span",9),e._UZ(5,"i",10),e.qZA()(),e.YNc(6,xa,2,1,"div",11),e.qZA()()}if(2&d){const i=g.$implicit;e.xp6(3),e.hij(" ",null==i?null:i.label," "),e.xp6(2),e.Q6J("ngClass",i.expanded?"fa-angle-down":"fa-angle-right"),e.xp6(),e.Q6J("ngIf",i.expanded)}}function gu(d,g){if(1&d&&(e.TgZ(0,"div",4)(1,"div",5),e.YNc(2,Nh,7,3,"div",6),e.qZA()()),2&d){const i=e.oxw();e.xp6(2),e.Q6J("ngForOf",i.staffMenuItems.data)}}let lm=(()=>{class d extends na.e{constructor(i,c){super(c),this._dashboardService=i,this._layoutService=c,this._unsubscribe=new Fa.x}ngOnInit(){this._dashboardService.staffDashboardMenu$.pipe((0,ji.R)(this._unsubscribe)).subscribe(i=>{this.staffMenuItems={data:i.data.map(l=>{const x={...l};return x.expanded=!1,x})};const c=this.staffMenuItems.data.find(l=>l.menuId==this.menu.menuId);this.toggleMenu(c)})}ngOnChanges(i){if(i.menu&&this.staffMenuItems){this.staffMenuItems.data.forEach(l=>l.expanded=!1);const c=this.staffMenuItems.data.find(l=>l.menuId==this.menu.menuId);this.toggleMenu(c)}}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}openStaffIframe(i){this._dashboardService.goToMenuItem(i),this.closeNav()}toggleMenu(i){i.expanded=!i.expanded}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Yr.s),e.Y36(We.P))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["staff-menu"]],viewQuery:function(c,l){if(1&c&&e.Gf(Ky,5),2&c){let x;e.iGM(x=e.CRH())&&(l.dashboard=x.first)}},inputs:{menu:"menu"},features:[e.qOj,e.TTD],decls:5,vars:1,consts:[[1,"staff-menu","ag-pa-md"],[1,"text-center"],["aria-hidden","true","title","Close Staff Menu",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],["style","padding-top: 5px; padding-bottom: 5px",4,"ngIf"],[2,"padding-top","5px","padding-bottom","5px"],[2,"width","inherit","padding","0","margin","0"],[4,"ngFor","ngForOf"],[1,"staff-list"],["tabindex","0",1,"header-title",3,"agInteract"],[1,"header-icon"],["aria-hidden","true",1,"fa",3,"ngClass"],["class","collapsable",4,"ngIf"],[1,"collapsable"],[1,"main-items",3,"ngClass"],["tabindex","0",3,"agInteract",4,"ngIf","ngIfElse"],["noLink",""],["tabindex","0",3,"agInteract"],[1,"sub-items"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0)(1,"h4",1),e._uU(2," Staff Menu "),e.TgZ(3,"i",2),e.NdJ("click",function(){return l.closeNav()}),e.qZA()(),e.YNc(4,gu,3,1,"div",3),e.qZA()),2&c&&(e.xp6(4),e.Q6J("ngIf",l.staffMenuItems))},dependencies:[ei.mk,ei.sg,ei.O5,Kn.o,zr.oO],styles:[".header-title[_ngcontent-%COMP%]{margin-bottom:.25rem;font-family:inherit;font-size:.95em;font-weight:500;line-height:1.2;color:var(--header-color);cursor:pointer;padding:2px 10px}.header-icon[_ngcontent-%COMP%]{float:right;font-size:1.05em}ul[_ngcontent-%COMP%]{padding-left:0;margin-bottom:0}.main-items[_ngcontent-%COMP%], .sub-items[_ngcontent-%COMP%]{list-style:none;padding-left:7px!important;position:relative;display:inline-block}.main-items[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .sub-items[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:0 5px 0 0;display:inline-block;width:100%;color:var(--link)!important;font-weight:500;font-size:.8rem;cursor:pointer}.main-items[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, .sub-items[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:underline}.no-link[_ngcontent-%COMP%]{color:#000!important;font-weight:400;cursor:default;font-size:.8rem;width:100%}.no-link[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{width:95%;border-bottom:2px solid var(--dark-primary-color);color:var(--body-color);padding-bottom:2px;margin-bottom:5px;display:inline-block;font-weight:500}.collapsable[_ngcontent-%COMP%]{border-top:1px solid grey;border-bottom:1px solid grey;background:var(--body-background)}.staff-menu[_ngcontent-%COMP%]{min-width:300px;width:100%;max-width:360px}"]})}return d})();function Fh(d,g){1&d&&(e.TgZ(0,"div",2),e._UZ(1,"mat-spinner",3),e.qZA()),2&d&&(e.xp6(),e.Q6J("diameter",25))}function cm(d,g){1&d&&(e.TgZ(0,"div",6),e._UZ(1,"input",15),e.qZA())}function qg(d,g){1&d&&(e.TgZ(0,"div",6),e._UZ(1,"input",16),e.TgZ(2,"small",17),e._uU(3,"Multiple addresses use a comma to separate."),e.qZA()())}const Kg=(d,g)=>({"form-control":!0,"input-required":d,"input-valid":g});function $g(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",4)(1,"h4"),e._uU(2,"Send Email"),e.qZA(),e.TgZ(3,"form",5),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.validSendEmail(l.emailForm))}),e.TgZ(4,"h6"),e._uU(5,"FROM"),e.qZA(),e.TgZ(6,"div",6),e._UZ(7,"input",7),e.qZA(),e.TgZ(8,"div",6),e._UZ(9,"input",8),e.TgZ(10,"small",9),e._uU(11,"If nothing is sent, then \u201cno-reply@auto-graphics.com\u201d will be the default."),e.qZA()(),e.TgZ(12,"h6"),e._uU(13,"TO"),e.qZA(),e.TgZ(14,"div",6),e._UZ(15,"input",10),e.qZA(),e.YNc(16,cm,2,0,"div",11)(17,qg,4,0,"div",11),e.TgZ(18,"div",6),e._UZ(19,"input",12),e.qZA(),e.TgZ(20,"div",6),e._UZ(21,"textarea",13),e.qZA(),e.TgZ(22,"button",14),e._uU(23," Send "),e.qZA()()()}if(2&d){const i=e.oxw();e.xp6(3),e.Q6J("formGroup",i.emailForm),e.xp6(12),e.Q6J("ngClass",e.WLB(6,Kg,i.emailForm.controls.ToAddress.invalid,i.emailForm.controls.ToAddress.valid)),e.xp6(),e.Q6J("ngIf",!0===i.ccBCC),e.xp6(),e.Q6J("ngIf",!0===i.ccBCC),e.xp6(4),e.Q6J("rows",i.row),e.xp6(),e.Q6J("disabled",!i.emailForm.valid)}}let dm=(()=>{class d{constructor(i,c,l){this._snackBar=i,this._fb=c,this._emailService=l,this.ccBCC=!0,this.isBodyHtml=!0,this.row=5,this.loading=!1}ngOnInit(){this.emailForm.valueChanges.subscribe(i=>{})}ngOnChanges(i){i.email&&(console.log("email data"),console.log(`${JSON.stringify(this.email)}`),this.email=i.email.currentValue,this._emailBindings())}_emailBindings(){this.emailForm=this._fb.group(1==this.ccBCC?{FromAddressName:this.email.FromAddressName,FromAddress:this.email.FromAddress,ToAddress:[this.email.ToAddress,[At.kI.required,At.kI.pattern("[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,3}$")]],CCAddress:this.email.CCAddress,BCCAddress:this.email.BCCAddress,Subject:[this.email.Subject,At.kI.required],MessageBody:[this.email.MessageBody,At.kI.required],IsBodyHtml:this.email.IsBodyHtml}:{FromAddressName:this.email.FromAddressName,FromAddress:this.email.FromAddress,ToAddress:[this.email.ToAddress,[At.kI.required,At.kI.pattern("[a-z0-9._%+-]+@[a-z0-9.-]+.[a-z]{2,3}$")]],Subject:[this.email.Subject,At.kI.required],MessageBody:[this.email.MessageBody,At.kI.required],IsBodyHtml:this.email.IsBodyHtml})}validSendEmail(i){this._emailService.SendEmail(i.value).subscribe(l=>{"Success"===l.message&&this.openSnackBar(l.data.msg,"ok")})}openSnackBar(i,c){this._snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Ti.pl),e.Y36(At.QS),e.Y36(Ch.j))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["send-email"]],inputs:{email:"email"},features:[e._Bn([{provide:e.QbO,useValue:"BrowserAnimations"}]),e.TTD],decls:2,vars:2,consts:[["class","text-center","style","width: 300px; position: absolute; height: 50vh; top: 45%",4,"ngIf"],["class","email-list ag-ma-md",4,"ngIf"],[1,"text-center",2,"width","300px","position","absolute","height","50vh","top","45%"],["strokeWidth","3","color","accent",2,"display","inline-block",3,"diameter"],[1,"email-list","ag-ma-md"],[3,"formGroup","ngSubmit"],[1,"form-group"],["type","text","title","From","id","FromAddressName","formControlName","FromAddressName","aria-describedby","emailHelp","placeholder","Enter Name",1,"form-control"],["type","email","title","Email","id","FromAddress","formControlName","FromAddress","aria-describedby","emailHelp","placeholder","Enter Email",1,"form-control"],["id","FromAddressHelp",1,"form-text","text-muted"],["type","email","title","To","id","ToAddress","aria-describedby","ToAddressHelp","placeholder","To: email","formControlName","ToAddress",3,"ngClass"],["class","form-group",4,"ngIf"],["type","text","title","Subject","id","Subject","formControlName","Subject","placeholder","Subject",1,"form-control"],["id","MessageBody","formControlName","MessageBody","title","Type Message Here",1,"form-control",3,"rows"],["role","button","aria-label","Submit","type","submit",1,"btn","btn-primary",3,"disabled"],["type","email","title","CC","id","CCAddress","formControlName","CCAddress","aria-describedby","CCAddressHelp","placeholder","CC: email",1,"form-control"],["type","email","title","BBC","id","BCCAddress","formControlName","BCCAddress","aria-describedby","BCCAddressHelp","placeholder","BCC: email",1,"form-control"],["id","BCCAddressHelp",1,"form-text","text-muted"]],template:function(c,l){1&c&&e.YNc(0,Fh,2,1,"div",0)(1,$g,24,9,"div",1),2&c&&(e.Q6J("ngIf",l.loading),e.xp6(),e.Q6J("ngIf",!l.loading))},dependencies:[ei.mk,ei.O5,zr.oO,At._Y,At.Fj,At.JJ,At.JL,sr.sN,At.sg,At.u],styles:[".email-list[_ngcontent-%COMP%]{min-width:300px;width:100%;max-width:360px}"]})}return d})();const Of=(d,g)=>({layoutSettings:d,libraryName:g});function Wg(d,g){if(1&d&&(e._UZ(0,"ag-logo-title",8),e.ALo(1,"async")),2&d){const i=e.oxw();e.Q6J("responsive",!1)("settings",e.WLB(4,Of,e.lcZ(1,2,i.layoutService.layoutSettings$),i.userData.libraryName))}}function um(d,g){if(1&d&&(e.TgZ(0,"div",10)(1,"div",11)(2,"span",12),e._uU(3),e.qZA()()()),2&d){const i=e.oxw(2);e.xp6(3),e.hij(" Welcome, ",null==i.userData?null:i.userData.firstName,"")}}function _d(d,g){if(1&d&&(e.ynx(0),e.YNc(1,um,4,1,"div",9),e.BQk()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",!(null!=i.userData&&i.userData.isGuest))}}function Xy(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",4),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToDashboard())}),e._UZ(1,"i",16),e.TgZ(2,"h5",6),e._uU(3,"Staff Dashboard"),e.qZA()()}}function Ls(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",4),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.openQuickMenu())}),e._UZ(1,"i",17),e.TgZ(2,"h5",6),e._uU(3,"Quick Links"),e.qZA()()}}function e1(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",4),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.openNotifications())}),e._UZ(1,"i",18),e.TgZ(2,"h5",6),e._uU(3,"Notifications"),e.qZA()()}}function t1(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",4),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.openGuestTracking())}),e._UZ(1,"i",19),e.TgZ(2,"h5",6),e._uU(3,"Guest ILL Tracking"),e.qZA()()}}function Df(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",4),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToIllRequestBlank())}),e._UZ(1,"i",20),e.TgZ(2,"h5",6),e._uU(3,"Blank ILL Request"),e.qZA()()}}function Xg(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",4),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.openCard())}),e._UZ(1,"i",21),e.TgZ(2,"h5",6),e._uU(3,"Library Card"),e.qZA()()}}function eb(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",4),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2).$implicit,x=e.oxw(2);return e.KtG(x.goToPage(l))}),e._uU(1),e.qZA()}if(2&d){const i=e.oxw(2).$implicit;e.xp6(),e.hij(" ",i.label," ")}}function n1(d,g){if(1&d&&(e.TgZ(0,"div"),e.YNc(1,eb,2,1,"a",13),e.qZA()),2&d){const i=e.oxw().index;e.xp6(),e.Q6J("ngIf",i>0)}}function lC(d,g){if(1&d&&(e.ynx(0),e.YNc(1,n1,2,1,"div",2),e.BQk()),2&d){const i=g.$implicit,c=e.oxw(2);e.xp6(),e.Q6J("ngIf",(null==c.userData?null:c.userData.isGuest)&&(null==i?null:i.showGuest)||(null==c.userData?null:c.userData.isPatron)&&(null==i?null:i.showPatron)||(null==c.userData?null:c.userData.isStaff)&&(null==i?null:i.showStaff))}}function o1(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.YNc(1,Xy,4,0,"a",13)(2,Ls,4,0,"a",13)(3,e1,4,0,"a",13)(4,t1,4,0,"a",13)(5,Df,4,0,"a",13),e.TgZ(6,"a",4),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goToAdvancedSearch())}),e._UZ(7,"i",14),e.TgZ(8,"h5",6),e._uU(9,"Advanced Search"),e.qZA()(),e.YNc(10,Xg,4,0,"a",13)(11,lC,2,1,"ng-container",15),e.BQk()}if(2&d){const i=e.oxw();e.xp6(),e.Q6J("ngIf",!(null!=i.userData&&i.userData.isGuest)&&(null==i.userData?null:i.userData.isStaff)),e.xp6(),e.Q6J("ngIf",!(null!=i.userData&&i.userData.isGuest)&&(null==i.userData?null:i.userData.isStaff)),e.xp6(),e.Q6J("ngIf",!(null!=i.userData&&i.userData.isGuest)),e.xp6(),e.Q6J("ngIf",i.showGuestTracking),e.xp6(),e.Q6J("ngIf",null==i.userData?null:i.userData.illOptions.showBlankILL),e.xp6(5),e.Q6J("ngIf",i.showDigitalLibraryCard),e.xp6(),e.Q6J("ngForOf",i.pages)}}function hm(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"div")(2,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToOtherLibraries())}),e._uU(3,"Items From Other Libraries "),e.qZA()(),e.BQk()}}function Af(d,g){if(1&d){const i=e.EpF();e.ynx(0),e.TgZ(1,"div")(2,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToItemsOut())}),e._uU(3,"Items Out "),e.qZA()(),e.TgZ(4,"div")(5,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToItemsHold())}),e._uU(6,"Items On Hold "),e.qZA()(),e.TgZ(7,"div")(8,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToLostItems())}),e._uU(9,"Lost Items "),e.qZA()(),e.TgZ(10,"div")(11,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToCheckoutHistory())}),e._uU(12,"Checkout History "),e.qZA()(),e.TgZ(13,"div")(14,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToSearchAlerts())}),e._uU(15,"Search Alerts "),e.qZA()(),e.TgZ(16,"div")(17,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToFines())}),e._uU(18,"Fine and Lost Item Payment "),e.qZA()(),e.BQk()}}function Pf(d,g){if(1&d&&(e.TgZ(0,"div"),e._UZ(1,"i",22),e.TgZ(2,"h5",6),e._uU(3,"Your Items"),e.qZA(),e.YNc(4,hm,4,0,"ng-container",2)(5,Af,19,0,"ng-container",2),e.qZA()),2&d){const i=e.oxw();e.xp6(4),e.Q6J("ngIf",i.userData.systemCategory!==i.SYSTEMCATEGORY.VERSO||i.userData.illOptions.hasVersoCILL),e.xp6(),e.Q6J("ngIf",(null==i.userData?null:i.userData.systemCategory)===i.SYSTEMCATEGORY.VERSO)}}function bu(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.goToWebLinks())}),e._uU(2,"Your Favorite Web Links "),e.qZA()()}}function tb(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div"),e._UZ(1,"i",24),e.TgZ(2,"h5",6),e._uU(3,"Your Settings"),e.qZA(),e.TgZ(4,"div")(5,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goToProfile())}),e._uU(6,"Your Profile "),e.qZA()(),e.TgZ(7,"div")(8,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goToPreferences())}),e._uU(9,"Your Preferences "),e.qZA()(),e.TgZ(10,"div")(11,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goToResources())}),e._uU(12,"Your Favorite Resources "),e.qZA()(),e.YNc(13,bu,3,0,"div",2),e.qZA()}if(2&d){const i=e.oxw();e.xp6(13),e.Q6J("ngIf",i.storageService.isExisted("cid")&&"kesu"!==i.storageService.getCid().trim().toLowerCase())}}function nb(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"a",25),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.openSearchHistory())}),e._UZ(2,"i",26),e.TgZ(3,"h5",6),e._uU(4,"Search History"),e.qZA()()()}}function vu(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"a",4),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.goToYourList())}),e._UZ(2,"i",27),e.TgZ(3,"h5",6),e._uU(4,"Your Lists"),e.qZA()()()}}function If(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"a",23),e.NdJ("agInteract",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.onLogout())}),e._UZ(1,"i",28),e.TgZ(2,"h5",6),e._uU(3,"Log Out"),e.qZA()()}}let Rf=(()=>{class d extends na.e{constructor(i,c,l,x,ke,Mt,un,Dn,Bn){super(l),this._router=i,this._authService=c,this._layoutService=l,this._notifyService=x,this._requestService=ke,this._routingService=Mt,this.sharedService=un,this.storageService=Dn,this._analyticsService=Bn,this.resetA11y=new e.vpe,this.toggleSideNav=new e.vpe,this.openLibraryCard=new e.vpe,this.SYSTEMCATEGORY=qo._n,this._unsubscribeAll=new Fa.x}ngOnInit(){this.sharedService.getUserDataBS().pipe((0,ji.R)(this._unsubscribeAll)).subscribe(i=>{i&&(this.userData=i,this.showList=this._authService.hasDisplayYourListPermission(),this.showDigitalLibraryCard=this.sharedService.isMobile()&&this.userData.systemCategory==qo._n.VERSO&&this.userData.isPatron&&this.userData.showDigitalLibraryCard,this.showGuestTracking=this.userData?.systemCategory==qo._n.SHAREIT&&this.userData?.isGuest&&this.userData.illOptions.showGuestTracking)})}ngOnDestroy(){this._unsubscribeAll.next(),this._unsubscribeAll.complete()}_beforeGoTo(){this.closeNav(),this._resetA11y()}_resetA11y(){this.resetA11y.emit()}goToProfile(){this._beforeGoTo(),this._routingService.goToAccountProfile()}goToPreferences(){this._beforeGoTo(),this._routingService.goToAccountPreferences()}goToResources(){this._beforeGoTo(),this._routingService.goToAccountResources()}goToWebLinks(){this._beforeGoTo(),this._routingService.goToAccountWebLinks()}goToDashboard(){this._beforeGoTo(),this._routingService.goToDashboard()}goToItemsOut(){this._beforeGoTo(),this._routingService.goToItemsOut()}goToItemsHold(){this._beforeGoTo(),this._routingService.goToItemsHold()}goToLostItems(){this._beforeGoTo(),this._routingService.goToLostItems()}goToCheckoutHistory(){this._beforeGoTo(),this._routingService.goToCheckoutHistory()}goToSearchAlerts(){this._beforeGoTo(),this._routingService.goToSearchAlerts()}goToFines(){this._beforeGoTo(),this._routingService.goToFines()}goToOtherLibraries(){this._beforeGoTo(),this._routingService.goToOtherLibraries()}goToIllRequestBlank(){this._beforeGoTo(),this.goToBlankILLRequest()}goToBlankILLRequest(){this._router.url.includes("/request")||this._requestService.requestThisItemBlank()}goToLogin(){this._beforeGoTo(),this._routingService.goToLogin()}goToYourList(){this._beforeGoTo(),this.closeNav(),this._authService.isGuest()?this._layoutService.openSideNav({template:"addList",position:"end",data:!0}):this._routingService.goToYourList()}goToHome(){this._beforeGoTo(),this.closeNav(),this.sharedService.getIsKidsCat()?this._routingService.goToKidsCat():this._routingService.goToHome()}openSearchHistory(){this._resetA11y(),this._analyticsService.logEvent("View Search History"),this.toggleSideNav.emit({position:"start",template:"history"})}goToPage(i){this._beforeGoTo(),this._routingService.goToPage(i)}goToAdvancedSearch(){this._beforeGoTo(),this._routingService.goToAdvancedSearch()}openNotifications(){this._beforeGoTo(),this._notifyService.setOpenNotSideNavBS(!0)}openCard(){this._beforeGoTo(),this.openLibraryCard.emit({showLibraryCard:!0,libraryCardId:"*"+this.userData.userName+"*",libraryCardLibraryName:this.userData.libraryName})}openQuickMenu(){this._beforeGoTo(),this.layoutService.openSideNav({template:"quickmenu",position:"end"})}openGuestTracking(){this._beforeGoTo(),this._authService.getIllGuestInstructions().subscribe(i=>{this._layoutService.openSideNav({template:"tracking",position:"end",data:i})},i=>{i instanceof Error&&console.error(i.message),this.sharedService.openSnackBar("Unable to get Ill tracking instructions.")})}onLogout(){this._beforeGoTo(),this._authService.OnLogOut()}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(Gi.F0),e.Y36(qo.e8),e.Y36(We.P),e.Y36(Oe.c),e.Y36(Oc.sm),e.Y36(Wo.Z),e.Y36(Ii.F),e.Y36(no.V),e.Y36(Te.y))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["ag-profile-nav"]],inputs:{pages:"pages",a11y:"a11y"},outputs:{resetA11y:"resetA11y",toggleSideNav:"toggleSideNav",openLibraryCard:"openLibraryCard"},features:[e.qOj],decls:18,vars:16,consts:[["id","userNav",1,"user-info"],[3,"responsive","settings",4,"ngIf"],[4,"ngIf"],[1,"user-navigation"],["tabindex","0",1,"block",3,"agInteract"],["aria-hidden","true",1,"fa","fa-home"],[1,"inline"],["tabindex","0",3,"agInteract",4,"ngIf"],[3,"responsive","settings"],["class","user-signed pull-left block",4,"ngIf"],[1,"user-signed","pull-left","block"],[1,"width-100"],[1,"user-name"],["tabindex","0","class","block",3,"agInteract",4,"ngIf"],["aria-hidden","true",1,"fa","fa-search-plus"],[4,"ngFor","ngForOf"],["aria-hidden","true",1,"fa","fa-window-maximize"],["aria-hidden","true",1,"fa","fa-heart"],["aria-hidden","true",1,"fa","fa-bell-o"],["aria-hidden","true",1,"fa","fa-list-ol"],["aria-hidden","true",1,"fa","fa-file-text-o"],["aria-hidden","true",1,"fa","fa-id-card"],["aria-hidden","true",1,"fa","fa-files-o"],["tabindex","0",3,"agInteract"],["aria-hidden","true",1,"fa","fa-key"],["tabindex","0","title","Search History",1,"block",3,"agInteract"],["aria-hidden","true",1,"fa","fa-hourglass-half"],["aria-hidden","true",1,"fa","fa-list-alt"],["aria-hidden","true",1,"fa","fa-unlock-alt"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0),e.YNc(1,Wg,2,7,"ag-logo-title",1),e.ALo(2,"async"),e.YNc(3,_d,2,1,"ng-container",2),e.ALo(4,"async"),e.TgZ(5,"div",3)(6,"a",4),e.NdJ("agInteract",function(){return l.goToHome()}),e._UZ(7,"i",5),e.TgZ(8,"h5",6),e._uU(9,"Home"),e.qZA()(),e.YNc(10,o1,12,7,"ng-container",2),e.ALo(11,"async"),e.YNc(12,Pf,6,2,"div",2),e.ALo(13,"async"),e.YNc(14,tb,14,1,"div",2)(15,nb,5,0,"div",2)(16,vu,5,0,"div",2)(17,If,4,0,"a",7),e.qZA()()),2&c&&(e.xp6(),e.Q6J("ngIf",e.lcZ(2,8,l.layoutService.screenRange$).ltMd),e.xp6(2),e.Q6J("ngIf",e.lcZ(4,10,l.layoutService.screenRange$).ltMd&&!l.a11y),e.xp6(7),e.Q6J("ngIf",e.lcZ(11,12,l.layoutService.screenRange$).ltMd&&!l.a11y),e.xp6(2),e.Q6J("ngIf",!(null!=l.userData&&l.userData.isGuest)&&!1===e.lcZ(13,14,l.sharedService.kidsCat$)),e.xp6(2),e.Q6J("ngIf",!(null!=l.userData&&l.userData.isGuest)),e.xp6(),e.Q6J("ngIf",!(null!=l.userData&&l.userData.isGuest)),e.xp6(),e.Q6J("ngIf",l.showList),e.xp6(),e.Q6J("ngIf",!(null!=l.userData&&l.userData.isGuest)))},dependencies:[ei.sg,ei.O5,Kn.o,Ar,ei.Ov],styles:[".user-info[_ngcontent-%COMP%]{min-width:280px}.user-info[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:60px;width:60px;border-radius:50%;float:left}.user-name[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;line-height:1.25em;font-weight:600;font-size:1.1em;padding:0 15px;color:var(--header-color)}.user-signed[_ngcontent-%COMP%]{text-align:left;width:100%;display:inline-block;vertical-align:middle;line-height:1.25em;font-weight:400;color:var(--header-color);padding:15px 10px 0}.user-navigation[_ngcontent-%COMP%]{clear:both;padding:10px 20px}.user-navigation[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{width:100%;color:var(--header-color);text-decoration:none!important;cursor:pointer;display:inline-block;font-size:1.1em;padding:1px}.user-navigation[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{width:100%;list-style:none}.user-navigation[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{width:100%;list-style:none;padding:15px}.user-navigation[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:2px 5px}.user-navigation[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:var(--header-color);font-size:1.75em;margin-right:10px;width:32px}.user-navigation[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1.15em;color:var(--header-color)}"]})}return d})(),ib=(()=>{class d{constructor(i,c){this.dialogRef=i,this.data=c}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.hV),e.Y36(qi.eJ))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-clear-history-dialog"]],decls:10,vars:0,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialong-actions",""],["role","button","type","button","aria-label","Yes","mat-button","","cdkFocusInitial","",3,"click"],["role","button","type","button","aria-label","No","mat-button","",3,"click"]],template:function(c,l){1&c&&(e.TgZ(0,"h1",0),e._uU(1,"Clear Search History"),e.qZA(),e.TgZ(2,"div",1)(3,"p"),e._uU(4,"Are you sure you want to clear all entries in the search history?"),e.qZA()(),e.TgZ(5,"div",2)(6,"button",3),e.NdJ("click",function(){return l.dialogRef.close("yes")}),e._uU(7," Yes "),e.qZA(),e.TgZ(8,"button",4),e.NdJ("click",function(){return l.dialogRef.close("no")}),e._uU(9," No "),e.qZA()())},dependencies:[Zn.eB,qi.YS,qi.Rb]})}return d})();function ob(d,g){1&d&&(e.TgZ(0,"h1",7),e._uU(1,"More Details"),e.qZA())}function rb(d,g){if(1&d&&(e.TgZ(0,"div",10)(1,"span",11),e._uU(2," Libraries: "),e.qZA(),e.TgZ(3,"span",12)(4,"strong"),e._uU(5),e.qZA()()()),2&d){const i=g.$implicit;e.xp6(5),e.Oqu(i)}}function r1(d,g){if(1&d&&(e.TgZ(0,"div",10)(1,"span",11),e._uU(2," Year of Publication: "),e.qZA(),e.TgZ(3,"span",12)(4,"strong"),e._uU(5),e.qZA()()()),2&d){const i=g.$implicit;e.xp6(5),e.hij(" ",i,"")}}function a1(d,g){if(1&d&&(e.TgZ(0,"div",10)(1,"span",11),e._uU(2," Formats: "),e.qZA(),e.TgZ(3,"span",12)(4,"strong"),e._uU(5),e.qZA()()()),2&d){const i=g.$implicit;e.xp6(5),e.hij(" ",i,"")}}function yu(d,g){if(1&d&&(e.TgZ(0,"div",10)(1,"span",11),e._uU(2," Audience Level: "),e.qZA(),e.TgZ(3,"span",12)(4,"strong"),e._uU(5),e.qZA()()()),2&d){const i=g.$implicit;e.xp6(5),e.hij(" ",i,"")}}function ab(d,g){if(1&d&&(e.TgZ(0,"div",10)(1,"span",11),e._uU(2," Resource(s): "),e.qZA(),e.TgZ(3,"span",12)(4,"strong"),e._uU(5),e.qZA()()()),2&d){const i=g.$implicit;e.xp6(5),e.hij(" ",i,"")}}function s1(d,g){if(1&d&&(e.TgZ(0,"div",10)(1,"span",11),e._uU(2," Date of Item Added: "),e.qZA(),e.TgZ(3,"span",12)(4,"strong"),e._uU(5),e.qZA()()()),2&d){const i=e.oxw(4);e.xp6(5),e.hij(" ",null==i.moreDetails?null:i.moreDetails.dateItemsAdded,"")}}function l1(d,g){if(1&d&&(e.TgZ(0,"div",10),e.YNc(1,rb,6,1,"div",9)(2,r1,6,1,"div",9)(3,a1,6,1,"div",9)(4,yu,6,1,"div",9)(5,ab,6,1,"div",9)(6,s1,6,1,"div",13),e.qZA()),2&d){const i=e.oxw(3);e.xp6(),e.Q6J("ngForOf",null==i.moreDetails?null:i.moreDetails.libraries),e.xp6(),e.Q6J("ngForOf",null==i.moreDetails?null:i.moreDetails.yearOfPub),e.xp6(),e.Q6J("ngForOf",null==i.moreDetails?null:i.moreDetails.formats),e.xp6(),e.Q6J("ngForOf",null==i.moreDetails?null:i.moreDetails.audiences),e.xp6(),e.Q6J("ngForOf",null==i.moreDetails?null:i.moreDetails.resources),e.xp6(),e.Q6J("ngIf",null==i.moreDetails?null:i.moreDetails.dateItemsAdded)}}function c1(d,g){if(1&d&&(e.TgZ(0,"div",10)(1,"div",10)(2,"span",11),e._uU(3," Search Term: "),e.qZA(),e.TgZ(4,"span",12)(5,"strong"),e._uU(6),e.qZA()(),e.TgZ(7,"span",11),e._uU(8," Search Index: "),e.qZA(),e.TgZ(9,"span",12)(10,"strong"),e._uU(11),e.qZA()(),e.TgZ(12,"span",11),e._uU(13," Phrase Type: "),e.qZA(),e.TgZ(14,"span",12)(15,"strong"),e._uU(16),e.qZA()(),e.TgZ(17,"span",11),e._uU(18," Operator: "),e.qZA(),e.TgZ(19,"span",12)(20,"strong"),e._uU(21),e.qZA()()(),e.YNc(22,l1,7,6,"div",13),e.qZA()),2&d){const i=g.$implicit,c=g.index;e.xp6(6),e.Oqu(i.searchTerm),e.xp6(5),e.Oqu(i.searchIndex),e.xp6(5),e.Oqu(i.queryOption),e.xp6(5),e.Oqu(i.operator),e.xp6(),e.Q6J("ngIf",0===c)}}function sb(d,g){if(1&d&&(e.TgZ(0,"div",8),e.YNc(1,c1,23,5,"div",9),e.qZA()),2&d){const i=e.oxw();e.xp6(),e.Q6J("ngForOf",null==i.moreDetails?null:i.moreDetails.searchTerms)}}let lb=(()=>{class d{constructor(i,c){this._dialogRef=i,this.data=c}ngOnInit(){this.moreDetails=this.data.details}close(){this._dialogRef.close("close")}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.hV),e.Y36(qi.eJ))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["app-more-details-dialog"]],decls:8,vars:2,consts:[["mat-dialog-title","",4,"ngIf"],["mat-dialog-content",""],[1,"container-fluid"],[1,"row"],["class","col-12",4,"ngIf"],["mat-dialog-actions",""],["role","button","type","button","aria-label","Close","cdkFocusInitial","",1,"btn","btn-primary",3,"click"],["mat-dialog-title",""],[1,"col-12"],["class","width-100",4,"ngFor","ngForOf"],[1,"width-100"],["value","key"],["value","value"],["class","width-100",4,"ngIf"]],template:function(c,l){1&c&&(e.YNc(0,ob,2,0,"h1",0),e.TgZ(1,"div",1)(2,"div",2)(3,"div",3),e.YNc(4,sb,2,1,"div",4),e.qZA()()(),e.TgZ(5,"div",5)(6,"button",6),e.NdJ("click",function(){return l.close()}),e._uU(7," Close "),e.qZA()()),2&c&&(e.Q6J("ngIf",l.moreDetails),e.xp6(4),e.Q6J("ngIf",l.moreDetails))},dependencies:[ei.sg,ei.O5,qi.YS,qi.Rb,qi.ev]})}return d})();function d1(d,g){1&d&&(e.TgZ(0,"div",4)(1,"h6"),e._uU(2,"Search History unavailable"),e.qZA()())}function cC(d,g){1&d&&(e.TgZ(0,"div",5),e._UZ(1,"mat-spinner",6),e.qZA()),2&d&&(e.xp6(),e.Q6J("diameter",25))}function u1(d,g){if(1&d&&(e.TgZ(0,"div",19)(1,"div",19)(2,"span",20),e._uU(3,"Search Term:"),e.qZA(),e.TgZ(4,"span",21),e._uU(5),e.qZA()(),e.TgZ(6,"div",19)(7,"span",20),e._uU(8,"Search Index:"),e.qZA(),e.TgZ(9,"span",21),e._uU(10),e.qZA()(),e.TgZ(11,"div",19)(12,"span",20),e._uU(13,"Resource(s):"),e.qZA(),e.TgZ(14,"span",21),e._uU(15),e.qZA()()()),2&d){const i=g.$implicit,c=e.oxw().$implicit;e.xp6(5),e.Oqu(null==i?null:i.searchTerm),e.xp6(5),e.Oqu(null==i?null:i.searchIndex),e.xp6(5),e.hij(" ",null==c.displayInfo?null:c.displayInfo.resources.length," Selected")}}function cb(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(2);return e.KtG(x.modify(l.searchInfo))}),e._uU(1," Modify "),e.qZA()}}function Lf(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-card",13)(1,"mat-card-content"),e.YNc(2,u1,16,3,"div",14),e.qZA(),e.TgZ(3,"mat-card-actions",15)(4,"button",16),e.NdJ("click",function(){const x=e.CHM(i).$implicit,ke=e.oxw(2);return e.KtG(ke.search(x.searchInfo))}),e._uU(5," Search "),e.qZA(),e.YNc(6,cb,2,0,"button",17),e.ALo(7,"async"),e.TgZ(8,"button",18),e.NdJ("click",function(){const x=e.CHM(i).$implicit,ke=e.oxw(2);return e.KtG(ke.moreDetails(x.displayInfo))}),e._uU(9," More Details "),e.qZA()(),e._UZ(10,"hr",11),e.qZA()}if(2&d){const i=g.$implicit,c=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",null==i.displayInfo?null:i.displayInfo.searchTerms),e.xp6(4),e.Q6J("ngIf",!1===e.lcZ(7,2,c.sharedService.kidsCat$))}}function h1(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"div",7)(2,"h6",8),e._uU(3),e.TgZ(4,"i",9),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.closeNav())}),e.qZA(),e.TgZ(5,"i",10),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.clear())}),e.qZA()(),e._UZ(6,"hr",11),e.YNc(7,Lf,11,4,"mat-card",12),e.qZA()()}if(2&d){const i=e.oxw();e.xp6(3),e.AsE(" Your Search History (",i.currentSaveSearches," of ",i.maxSaveSearches," saved) "),e.xp6(4),e.Q6J("ngForOf",i.searchHistrory)}}let p1=(()=>{class d extends na.e{constructor(i,c,l,x,ke,Mt,un,Dn,Bn){super(ke),this._dialog=i,this._kidsCatalogSearchService=c,this._snackBar=l,this._router=x,this._layoutService=ke,this._searchHistoryService=Mt,this._searchService=un,this._storageService=Dn,this.sharedService=Bn,this.loading=!0}getSearchHistory(){this._searchHistoryService.getSearchHistory().subscribe(i=>{"OK"===i.status&&(this.searchHistrory=i.data.searchHistory,this.currentSaveSearches=i.data.numOfSavedSearches,this.maxSaveSearches=i.data.maxSearchesToSave,this.loading=!1)})}ngOnChanges(i){i&&(this.loading=!0,i.searchHistrory&&setTimeout(()=>{const c=i.searchHistrory.currentValue;c&&(this.searchHistrory=c.searchHistory,this.currentSaveSearches=c.numOfSavedSearches,this.maxSaveSearches=c.maxSearchesToSave,this.loading=!1)},500))}refresh(){this.loading=!0,this._searchHistoryService.getSearchHistory().subscribe(i=>{"OK"===i.status&&(this.openSnackBar("updated","ok"),this.searchHistrory=i.data.searchHistory,this.currentSaveSearches=i.data.numOfSavedSearches,this.maxSaveSearches=i.data.maxSearchesToSave,this.loading=!1)})}modify(i){this._searchHistoryService.setModifySearchBSBS(i),this._storageService.setItem("history",i),this.closeNav(),this._router.navigate(["/advancedsearch"],{queryParams:{history:!0}})}search(i){let x;this._storageService.getCid(),this._storageService.getLid(),this._storageService.setItem("history",i);const ke=i.searchQuery.matches;let Mt="";for(let un=0;un<ke.length;un++){const Dn=ke[un];if(0==un)Mt=Dn.query,this._storageService.setItem("Search-TERM",Mt);else{Mt=Mt+","+Dn.query;const pi=this._storageService.getItem("Search-TERM")+" "+Dn.query;this._storageService.setItem("Search-TERM",pi)}}switch(this._storageService.setItem("Search-TERM",Mt),i.searchQuery.sortBy[0]){case"relevance":default:x="relevance";break;case"title_asc":x="title_asc";break;case"title_desc":x="title_desc";break;case"author_asc":x="author_asc";break;case"author_desc":x="author_desc"}this.closeNav(),this._searchService.doSearch(i)}performKidsSearchAndRoutingAsync(i,c,l,x){var ke=this;return(0,t.Z)(function*(){ke._kidsCatalogSearchService.setKidsCacheSearchRequest(i);const Mt=yield ke._kidsCatalogSearchService.performKidsSearchAsync(i);if(!Mt)throw new Error(`failed to fetch kidsCat results in search history with cid: ${l} and lid:${x} on ${new Date}`);ke.closeNav(),ke._kidsCatalogSearchService.kidsCatBindingsandRouting(Mt,Mt.searchId,c)})()}clear(){this.openClearHistoryDialog()}openClearHistoryDialog(){this._dialog.open(ib,{width:"600px",height:"auto",disableClose:!0}).afterClosed().subscribe(c=>{"yes"==c&&this._searchHistoryService.clearSearchHistory().subscribe(l=>{"OK"===l.status&&(this.openSnackBar(l.message,"ok"),this.loading=!0,this._searchHistoryService.getSearchHistory().subscribe(x=>{"OK"===x.status&&(this.searchHistrory=x.data.searchHistory,this.currentSaveSearches=x.data.numOfSavedSearches,this.maxSaveSearches=x.data.maxSearchesToSave,this.loading=!1)}))})})}moreDetails(i){this.openMoreDetailsDialog(i)}openMoreDetailsDialog(i){this._dialog.open(lb,{width:"600px",height:"auto",data:{details:i}})}openSnackBar(i,c){this._snackBar.open(i,c,{duration:3e3,verticalPosition:"top"})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qi.on),e.Y36(pf.f),e.Y36(Ti.pl),e.Y36(Gi.F0),e.Y36(We.P),e.Y36(Lp.r),e.Y36(ta.oD),e.Y36(no.V),e.Y36(Ii.F))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["search-history"]],inputs:{searchHistrory:"searchHistrory",refreshPage:"refreshPage"},features:[e._Bn([{provide:e.QbO,useValue:"BrowserAnimations"}]),e.qOj,e.TTD],decls:4,vars:3,consts:[[1,"control-panel","ag-pa-md"],["class","hist-unavailable",4,"ngIf"],["style","margin-top: 50px; margin-left: 185px",4,"ngIf"],[4,"ngIf"],[1,"hist-unavailable"],[2,"margin-top","50px","margin-left","185px"],["strokeWidth","3","color","accent",3,"diameter"],[1,"slide-notify",2,"width","400px"],[1,"width-100",2,"font-size","1em"],["aria-hidden","true","title","Close Text Block",1,"fa","fa-times","pull-right","close-sidenav",3,"click"],["aria-hidden","true",1,"fa","fa-trash",2,"margin-left","10px",3,"click"],[2,"border-color","var(--header-color)","width","100%"],["class","history-card",4,"ngFor","ngForOf"],[1,"history-card"],["class","width-100",4,"ngFor","ngForOf"],[1,"text-end"],["role","button","type","button","aria-label","Search",1,"history-action","btn","btn-sm","btn-primary",3,"click"],["role","button","type","button","aria-label","Modify","class","btn btn-sm btn-primary",3,"click",4,"ngIf"],["role","button","type","button","aria-label","More Details",1,"btn","btn-sm","btn-primary",3,"click"],[1,"width-100"],[1,"key"],[1,"value"],["role","button","type","button","aria-label","Modify",1,"btn","btn-sm","btn-primary",3,"click"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0),e.YNc(1,d1,3,0,"div",1)(2,cC,2,1,"div",2)(3,h1,8,3,"div",3),e.qZA()),2&c&&(e.xp6(),e.Q6J("ngIf",null==l.searchHistrory&&!l.loading),e.xp6(),e.Q6J("ngIf",l.loading),e.xp6(),e.Q6J("ngIf",l.searchHistrory&&!l.loading))},dependencies:[ei.sg,ei.O5,Wr.S$,Wr.Qi,Wr.Fx,sr.sN,ei.Ov],styles:["mat-spinner[_ngcontent-%COMP%]{float:left;width:24px;height:24px}.control-panel[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{display:block;padding-left:15px;color:var(--header-color)!important;cursor:pointer}.control-panel[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.1em}.clear-button[_ngcontent-%COMP%]{padding:2%;margin-bottom:10px;margin-top:10px;margin-left:86%}.history-card[_ngcontent-%COMP%]{background-color:var(--header-background);color:var(--header-color);padding-top:10px;padding-bottom:0}.hist-unavailable[_ngcontent-%COMP%]{margin-top:143px;font-size:14px!important;margin-right:50px;margin-left:50px}"]})}return d})();function m1(d,g){if(1&d&&(e.TgZ(0,"option",11),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("ngValue",i.value),e.xp6(),e.Oqu(i.name)}}function f1(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",1)(1,"h4"),e._uU(2,"Send SMS"),e.qZA(),e.TgZ(3,"form",2),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.validSMS(l.smsForm))}),e.TgZ(4,"div",3),e._UZ(5,"input",4),e.qZA(),e.TgZ(6,"div",3),e._UZ(7,"input",5),e.qZA(),e.TgZ(8,"div",3)(9,"select",6),e.YNc(10,m1,2,2,"option",7),e.qZA()(),e.TgZ(11,"div",3),e._UZ(12,"input",8),e.qZA(),e.TgZ(13,"div",3),e._UZ(14,"textarea",9),e.qZA(),e.TgZ(15,"button",10),e._uU(16," Send "),e.qZA()()()}if(2&d){const i=e.oxw();e.xp6(3),e.Q6J("formGroup",i.smsForm),e.xp6(7),e.Q6J("ngForOf",i.carriersArray),e.xp6(4),e.Q6J("rows",i.row),e.xp6(),e.Q6J("disabled",!i.smsForm.valid)}}let _1=(()=>{class d{constructor(i,c,l){this._detailsService=i,this._fb=c,this._snackBar=l,this.row=5}ngOnChanges(i){i.sms&&(this.sms=i.sms.currentValue,this.sms&&this._detailsService.getSMScarriers().subscribe(c=>{if("200 OK"==c.status){this.carriersArray=c.data.status;for(let l=0;l<this.carriersArray.length;l++){const x=this.carriersArray[l];1==x.isDefault&&(this.defaultCarrier=x.value)}this.smsForm=this._fb.group({from:[this.sms.from,At.kI.required],phoneNumber:[this.phoneNumber,[At.kI.required,At.kI.minLength(10),At.kI.maxLength(10),At.kI.pattern("[0-9]+")]],carrier:["",At.kI.required],subject:[this.sms.subject,At.kI.required],messageBody:[this.sms.messageBody,At.kI.required]}),this.smsForm.controls.carrier.setValue(this.defaultCarrier,{onlySelf:!0}),this.smsForm.controls.from.disable()}}))}validSMS(i){i.value=this.smsForm.getRawValue(),this._detailsService.postSMS(i.value).subscribe(c=>{"200 OK"==c.status&&"Success"==c.message&&this.openSnackBar(c.data.msg,"ok"),"200 OK"==c.status&&"Fail"==c.message&&this.openSnackBar(c.data.msg,"ok")})}openSnackBar(i,c){this._snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(tc.nP),e.Y36(At.QS),e.Y36(Ti.pl))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["send-sms"]],inputs:{sms:"sms"},features:[e.TTD],decls:1,vars:1,consts:[["class","email-list ag-pa-md",4,"ngIf"],[1,"email-list","ag-pa-md"],[3,"formGroup","ngSubmit"],[1,"form-group"],["type","text","title","From","id","From","formControlName","from","aria-describedby","fromHelp","placeholder","From:",1,"form-control"],["type","tel","title","Telephone Number","id","PhoneNumber","formControlName","phoneNumber","aria-describedby","phoneNumHelp","placeholder","Enter Phone Number:000000000",1,"form-control"],["id","CarrierType","formControlName","carrier","title","Select Carrier Type"],[3,"ngValue",4,"ngFor","ngForOf"],["type","text","title","Subject","id","FromAddress","formControlName","subject","aria-describedby","subjectHelp","placeholder","Subject:",1,"form-control"],["id","messageBody","formControlName","messageBody","title","Type Message Here...",1,"form-control",3,"rows"],["role","button","aria-label","Send","type","submit",1,"btn","btn-primary",3,"disabled"],[3,"ngValue"]],template:function(c,l){1&c&&e.YNc(0,f1,17,4,"div",0),2&c&&e.Q6J("ngIf",l.smsForm)},dependencies:[ei.sg,ei.O5,At._Y,At.YN,At.Kr,At.Fj,At.EJ,At.JJ,At.JL,At.sg,At.u],styles:[".email-list[_ngcontent-%COMP%]{min-width:300px;width:100%;max-width:360px}"]})}return d})();var g1=s(6805);function b1(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",1)(1,"h4"),e._uU(2,"Permanent link"),e.qZA(),e._UZ(3,"br"),e.TgZ(4,"h6"),e._uU(5,"Press Copy button to copy the link"),e.qZA(),e._UZ(6,"br"),e.TgZ(7,"div",2)(8,"input",3),e.NdJ("ngModelChange",function(l){e.CHM(i);const x=e.oxw();return e.KtG(x.links=l)}),e.qZA(),e.TgZ(9,"span",4)(10,"button",5),e.NdJ("cbOnSuccess",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.getLink())}),e.TgZ(11,"span",6),e._uU(12,"Copy"),e.qZA()()()()()}if(2&d){const i=e.oxw();e.xp6(8),e.Q6J("ngModel",i.links),e.xp6(2),e.ekj("btn-success",i.isCopied1),e.Q6J("cbContent",i.links)}}let v1=(()=>{class d{constructor(i,c){this._fb=i,this._sharedService=c,this.isCopied1=!1}ngOnChanges(i){i&&i.links&&(this.links="",this.links=i.links.currentValue)}getLink(){this._sharedService.openSnackBar("link copied","ok")}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(At.QS),e.Y36(Ii.F))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["copy-link"]],inputs:{links:"links"},features:[e.TTD],decls:1,vars:1,consts:[["class","email-list ag-pa-md",4,"ngIf"],[1,"email-list","ag-pa-md"],[1,"input-group"],["type","text","title","URL Link","placeholder","content will be copy after click the copy button",1,"form-control",3,"ngModel","ngModelChange"],[1,"input-group-btn"],["role","button","aria-label","Copy","type","button","ngxClipboard","",1,"btn","btn-default",3,"cbContent","cbOnSuccess"],[1,"color-header-color"]],template:function(c,l){1&c&&e.YNc(0,b1,13,4,"div",0),2&c&&e.Q6J("ngIf",l.links)},dependencies:[ei.O5,At.Fj,At.JJ,At.On,g1.yb],styles:[".email-list[_ngcontent-%COMP%]{min-width:300px;width:100%;max-width:360px}"]})}return d})();function y1(d,g){1&d&&(e.TgZ(0,"div",3),e._UZ(1,"mat-spinner",4),e.qZA()),2&d&&(e.xp6(),e.Q6J("diameter",25))}function x1(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",5)(1,"h4"),e._uU(2,"Guest Tracking"),e.qZA(),e._UZ(3,"br"),e.TgZ(4,"h6"),e._uU(5),e.qZA(),e._UZ(6,"br"),e.TgZ(7,"form",6),e.NdJ("ngSubmit",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.submitForm(l.guestForm))}),e.TgZ(8,"div",7)(9,"label",8),e._uU(10),e.qZA(),e._UZ(11,"input",9),e.qZA(),e.TgZ(12,"div",7)(13,"label",8),e._uU(14),e.qZA(),e._UZ(15,"input",10),e.qZA(),e.TgZ(16,"button",11),e._uU(17," Submit "),e.qZA()()()}if(2&d){const i=e.oxw();e.xp6(5),e.Oqu(null==i.tracking?null:i.tracking.loginInstructions),e.xp6(2),e.Q6J("formGroup",i.guestForm),e.xp6(3),e.hij(" ",null==i.tracking?null:i.tracking.usernameLabel,""),e.xp6(4),e.hij(" ",null==i.tracking?null:i.tracking.passwordLabel,""),e.xp6(2),e.Q6J("disabled",!i.guestForm.valid)}}function C1(d,g){if(1&d&&(e.TgZ(0,"div")(1,"b"),e._uU(2),e.qZA()()),2&d){const i=e.oxw(2);e.xp6(2),e.Oqu(null==i.requests?null:i.requests.submitRequestText)}}function w1(d,g){if(1&d&&(e.TgZ(0,"div")(1,"b"),e._uU(2),e.qZA()()),2&d){const i=e.oxw(2);e.xp6(2),e.Oqu(null==i.requests?null:i.requests.submitAdditionalRequestText)}}function T1(d,g){1&d&&(e.TgZ(0,"h5"),e._uU(1,"Request Details"),e.qZA())}function M1(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1," ID: "),e.TgZ(2,"b"),e._uU(3),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(null==i?null:i.requestId)}}function k1(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1," Date: "),e.TgZ(2,"b"),e._uU(3),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(null==i?null:i.requestDate)}}function S1(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1," Need By: "),e.TgZ(2,"b"),e._uU(3),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(null==i?null:i.needByDate)}}function db(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div")(1,"a",22),e.NdJ("click",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.onNavigate(null==l?null:l.documentURL))})("keyup.enter",function(){e.CHM(i);const l=e.oxw().$implicit,x=e.oxw(3);return e.KtG(x.onNavigate(null==l?null:l.documentURL))}),e._uU(2,"Electronic Attachment"),e.qZA()()}}function ub(d,g){if(1&d&&(e.TgZ(0,"div",23)(1,"span")(2,"strong"),e._uU(3),e.qZA(),e._uU(4),e.qZA()()),2&d){const i=g.$implicit;e.xp6(3),e.Oqu(null==i?null:i.fileName),e.xp6(),e.hij(" ",null==i?null:i.message,"")}}function Ac(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1," Pick Up Location: "),e.TgZ(2,"b"),e._uU(3),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(null==i?null:i.showPickupLocations)}}function hb(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1," Current Location: "),e.TgZ(2,"b"),e._uU(3),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(null==i?null:i.currentPickupLocation)}}function E1(d,g){1&d&&(e.TgZ(0,"h5"),e._uU(1,"Item Details"),e.qZA())}function pb(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1," Title: "),e.TgZ(2,"b"),e._uU(3),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(i.title)}}function mb(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1," Author: "),e.TgZ(2,"b"),e._uU(3),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(null==i?null:i.author)}}function Bh(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1," Pub Year: "),e.TgZ(2,"b"),e._uU(3),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(null==i?null:i.pubYear)}}function Nf(d,g){if(1&d&&(e.TgZ(0,"div"),e._uU(1," Status: "),e.TgZ(2,"b"),e._uU(3),e.qZA()()),2&d){const i=e.oxw().$implicit;e.xp6(3),e.Oqu(null==i?null:i.status)}}function xu(d,g){if(1&d&&(e.TgZ(0,"div",19),e._UZ(1,"hr",20),e.YNc(2,T1,2,0,"h5",16)(3,M1,4,1,"div",16)(4,k1,4,1,"div",16)(5,S1,4,1,"div",16)(6,db,3,0,"div",16)(7,ub,5,2,"div",21)(8,Ac,4,1,"div",16)(9,hb,4,1,"div",16),e._UZ(10,"br"),e.YNc(11,E1,2,0,"h5",16)(12,pb,4,1,"div",16)(13,mb,4,1,"div",16)(14,Bh,4,1,"div",16)(15,Nf,4,1,"div",16),e._UZ(16,"br"),e.qZA()),2&d){const i=g.$implicit;e.xp6(2),e.Q6J("ngIf",i),e.xp6(),e.Q6J("ngIf",null==i?null:i.requestId),e.xp6(),e.Q6J("ngIf",null==i?null:i.requestDate),e.xp6(),e.Q6J("ngIf",null==i?null:i.needByDate),e.xp6(),e.Q6J("ngIf",null!==(null==i?null:i.documentURL)&&""!==(null==i?null:i.documentURL)),e.xp6(),e.Q6J("ngForOf",null==i?null:i.documentInfo),e.xp6(),e.Q6J("ngIf",null==i?null:i.showPickupLocations),e.xp6(),e.Q6J("ngIf",null==i?null:i.currentPickupLocation),e.xp6(2),e.Q6J("ngIf",i),e.xp6(),e.Q6J("ngIf",null==i?null:i.title),e.xp6(),e.Q6J("ngIf",null==i?null:i.author),e.xp6(),e.Q6J("ngIf",null==i?null:i.pubYear),e.xp6(),e.Q6J("ngIf",null==i?null:i.status)}}function fb(d,g){if(1&d&&(e.TgZ(0,"div",14),e.YNc(1,xu,17,13,"div",18),e.qZA()),2&d){const i=e.oxw(2);e.xp6(),e.Q6J("ngForOf",i.items)}}function Cu(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"div",5)(1,"div",12)(2,"div",13)(3,"div",14)(4,"a",15),e.NdJ("click",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.back())})("keyup.enter",function(){e.CHM(i);const l=e.oxw();return e.KtG(l.back())}),e.TgZ(5,"h5"),e._uU(6,"Back"),e.qZA()()()(),e._UZ(7,"br"),e.TgZ(8,"div",13)(9,"div",14),e.YNc(10,C1,3,1,"div",16)(11,w1,3,1,"div",16),e.qZA()(),e.TgZ(12,"div",13),e.YNc(13,fb,2,1,"div",17),e.qZA()()()}if(2&d){const i=e.oxw();e.xp6(10),e.Q6J("ngIf",null==i.requests?null:i.requests.submitRequestText),e.xp6(),e.Q6J("ngIf",null==i.requests?null:i.requests.submitAdditionalRequestText),e.xp6(2),e.Q6J("ngIf",i.items.length>0)}}let Ff=(()=>{class d{constructor(i,c,l){this._authService=i,this._fb=c,this.snackBar=l,this.loading=!0}ngOnInit(){this.guestForm=this._fb.group({Username:["",At.kI.required],Password:["",At.kI.required]})}ngOnChanges(i){i&&i.tracking&&(this.tracking=i.tracking.currentValue,this.loading=!1,this.page1=!0,this.guestForm&&this.guestForm.reset())}submitForm(i){this._authService.getGuestIllReq({username:i.value.Username,password:i.value.Password,sortBy:""}).subscribe(l=>{"200 OK"==l.status&&(l.data.items.length>0||0==l.data.items.length)&&(this.requests=l.data,this.items=this.requests.items,this.page1=!1)})}back(){this.page1=!0,this.items=!1}onNavigate(i){window.open(i,"_blank","location=yes,height=650,width=650,scrollbars=yes,status=yes")}openSnackBar(i,c){this.snackBar.open(i,c,{duration:5e3,verticalPosition:"top"})}static#e=this.\u0275fac=function(c){return new(c||d)(e.Y36(qo.e8),e.Y36(At.QS),e.Y36(Ti.pl))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["guest-ill-tracking"]],inputs:{tracking:"tracking"},features:[e._Bn([{provide:e.QbO,useValue:"BrowserAnimations"}]),e.TTD],decls:4,vars:3,consts:[["class","text-center","style","width: 300px; position: absolute; height: 50vh; top: 45%",4,"ngIf"],[1,"ag-pa-md"],["class","email-list",4,"ngIf"],[1,"text-center",2,"width","300px","position","absolute","height","50vh","top","45%"],["strokeWidth","3","color","accent",2,"display","inline-block",3,"diameter"],[1,"email-list"],[3,"formGroup","ngSubmit"],[1,"form-group"],["for","Username"],["type","text","id","username","title","User Name","formControlName","Username","aria-describedby","usernameHelp","placeholder","Enter Username",1,"form-control"],["type","password","title","Password","formControlName","Password","aria-describedby","usernameHelp","placeholder","Enter Password:",1,"form-control"],["role","button","aria-label","Submit","type","submit",1,"btn","btn-primary",3,"disabled"],[1,"container"],[1,"row"],[1,"col-12"],["tabindex","0",2,"text-decoration","underline","cursor","pointer",3,"click","keyup.enter"],[4,"ngIf"],["class","col-12",4,"ngIf"],["class","quick-content",4,"ngFor","ngForOf"],[1,"quick-content"],[2,"border-color","var(--header-color)"],["class","margin-top-5",4,"ngFor","ngForOf"],["tabindex","0",1,"a-link",3,"click","keyup.enter"],[1,"margin-top-5"]],template:function(c,l){1&c&&(e.YNc(0,y1,2,1,"div",0),e.TgZ(1,"div",1),e.YNc(2,x1,18,5,"div",2)(3,Cu,14,3,"div",2),e.qZA()),2&c&&(e.Q6J("ngIf",l.loading),e.xp6(2),e.Q6J("ngIf",!l.loading&&l.tracking&&l.page1),e.xp6(),e.Q6J("ngIf",!l.page1&&l.requests))},dependencies:[ei.sg,ei.O5,At._Y,At.Fj,At.JJ,At.JL,sr.sN,At.sg,At.u],styles:[".email-list[_ngcontent-%COMP%]{min-width:300px;width:100%;max-width:360px}p[_ngcontent-%COMP%]{font-size:1.1em;margin:0}.sort[_ngcontent-%COMP%]{clear:both;display:inline-block}.filter-block[_ngcontent-%COMP%]{display:inline-block;background:var(--header-background);color:var(--header-color);float:left;padding:10px;border-radius:0}.per-items[_ngcontent-%COMP%]{width:100%}select[_ngcontent-%COMP%]{padding:5px;border:1px solid lightgrey;background:#fff;border-radius:4px;max-width:100%}li[_ngcontent-%COMP%]{list-style-type:none}.img-gallery[_ngcontent-%COMP%]{box-shadow:0 5px 8px var(--box-shadows);cursor:pointer;float:left}.hiddenValues[_ngcontent-%COMP%]{display:block}.arrow-down[_ngcontent-%COMP%], .arrow-up[_ngcontent-%COMP%]{display:none}.a-link[_ngcontent-%COMP%]{color:#00f!important;cursor:pointer;text-decoration:underline!important}@media screen and (min-width: 768px){.sort[_ngcontent-%COMP%]{position:sticky;top:8rem}.quick-content-desk[_ngcontent-%COMP%]{width:calc(100% - 200px)}.action-btns[_ngcontent-%COMP%]{padding-top:25px}}"]})}return d})();const wu=["libraryInput"],Tu=["user"];function Mu(d,g){if(1&d&&(e.TgZ(0,"mat-option",17),e._uU(1),e.qZA()),2&d){const i=g.$implicit;e.Q6J("value",i),e.xp6(),e.hij(" ",i," ")}}function ku(d,g){1&d&&(e.TgZ(0,"mat-error"),e._uU(1,"Please select a valid library"),e.qZA())}function Su(d,g){if(1&d){const i=e.EpF();e.TgZ(0,"mat-form-field",10)(1,"mat-label"),e._uU(2,"Select Your Library"),e.qZA(),e.TgZ(3,"input",11,12),e.NdJ("focus",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.onInputFocus())}),e.qZA(),e.TgZ(5,"button",13),e.NdJ("click",function(){e.CHM(i);const l=e.oxw(2);return e.KtG(l.clearLibraryInput())}),e.TgZ(6,"mat-icon"),e._uU(7),e.qZA()(),e.TgZ(8,"mat-autocomplete",14,15),e.NdJ("optionSelected",function(l){e.CHM(i);const x=e.oxw(2);return e.KtG(x.onLibraryOptionSelected(l))}),e.YNc(10,Mu,2,2,"mat-option",16),e.ALo(11,"async"),e.qZA(),e.YNc(12,ku,2,0,"mat-error",2),e.qZA()}if(2&d){const i=e.MAs(9),c=e.oxw(2);e.xp6(3),e.Q6J("formControl",c.librariesControl)("matAutocomplete",i),e.xp6(4),e.Oqu(c.librariesControl.value?"clear":"keyboard_arrow_down"),e.xp6(3),e.Q6J("ngForOf",e.lcZ(11,5,c.filteredLibraryOptions)),e.xp6(2),e.Q6J("ngIf",c.librariesControl.invalid&&!c.librariesControl.pristine)}}function Eu(d,g){if(1&d&&(e.TgZ(0,"mat-form-field",10)(1,"mat-label"),e._uU(2,"Your Library"),e.qZA(),e._UZ(3,"input",18),e.qZA()),2&d){const i=e.oxw(2);e.xp6(3),e.Q6J("formControl",i.librariesControl)}}function Ou(d,g){if(1&d&&(e.TgZ(0,"div"),e.YNc(1,Su,13,7,"mat-form-field",8)(2,Eu,4,1,"ng-template",null,9,e.W1O),e.qZA()),2&d){const i=e.MAs(3),c=e.oxw();e.xp6(),e.Q6J("ngIf",!c.singleLibrary)("ngIfElse",i)}}let Du=(()=>{class d extends na.e{constructor(){super((0,e.f3M)(We.P)),this.showLibraryLookupBox=!1,this.librariesControl=new At.NI("",[At.kI.required]),this._libsArray=[],this._fb=(0,e.f3M)(At.QS),this._authService=(0,e.f3M)(qo.e8),this._opacService=(0,e.f3M)(To.j),this._sharedService=(0,e.f3M)(Ii.F),this._storageService=(0,e.f3M)(no.V)}ngOnInit(){this.forgotPasswordForm=this._fb.group({userName:["",At.kI.required]})}ngOnChanges(i){i&&(i.trigger&&(this._bindDropdownLibName(),this._setupLibraryFiltering()),i.details&&(this.details=i.details.currentValue,this._getLoginInstructions())),this.userName&&this.userName.nativeElement.focus()}submit(){if(this.showLibraryLookupBox){const c=this.forgotPasswordForm.value.userName.trim(),l=/\S/.test(c),x=/\S/.test(this._selectedLibraryWithId);if(l&&x){const[ke]=this._selectedLibraryWithId.split(":").map(un=>un.trim().toLowerCase());this._forgotPasswordWithLidAsync({userName:c,lid:ke})}else this._sharedService.openSnackBar("Username and/or library ID is empty","ok")}else this._submitForm(this.forgotPasswordForm)}_forgotPasswordWithLidAsync(i){var c=this;return(0,t.Z)(function*(){c._authService.forgotPasswordWithLidAsync(i).subscribe(l=>{null!==l?"200 OK"==l.status&&"Success"==l.message&&(c._sharedService.openSnackBar(l.data.msg,"ok"),c._closeNav()):c._sharedService.openSnackBar("Unable to save changes at the moment","ok")})})()}_getLoginInstructions(){this._opacService.getLoginInstructions().subscribe(i=>{"200 OK"==i.status&&(this.userNameLabel=i.data.userNameLabel?i.data.userNameLabel:"Enter your library barcode number")})}_bindDropdownLibName(){this._libsArray=this._sharedService.getLibDropdownList();const i=this._storageService.getLid();this.singleLibrary=1===this._libsArray.length;const c=this._libsArray.find(l=>l.split(":")[0]?.trim().toLowerCase()===i.toLowerCase());c&&(this._selectedLibraryWithId=c,this.librariesControl.setValue(this._selectedLibraryWithId)),this._libsArray&&(this.showLibraryLookupBox=!0)}_setupLibraryFiltering(){this.filteredLibraryOptions=this.librariesControl.valueChanges.pipe((0,kr.O)(""),(0,vr.U)(i=>{if(""===i||"object"==typeof i)return this._libsArray;{const c=i.toLowerCase(),l=this._libsArray.filter(x=>x.toLowerCase().includes(c));return this.librariesControl.setErrors(0===l.length?{invalidOption:!0}:null),l}}))}_submitForm(i){this._authService.forgotPassword(i.value).subscribe(c=>{"200 OK"==c.status&&"Success"==c.message?(this._sharedService.openSnackBar(c.data.msg,"ok"),this._closeNav()):"200 OK"==c.status&&"Fail"==c.message&&this._sharedService.openSnackBar(c.data.msg,"ok")})}cancel(){this._closeNav()}onLibraryOptionSelected(i){const c=i.option.value;c&&(this._selectedLibraryWithId=c),this.userName&&this.userName.nativeElement.focus()}clearLibraryInput(){this.librariesControl.setValue("")}onInputFocus(){this.libraryInput.nativeElement.select()}_closeNav(){this.forgotPasswordForm.get("userName").setValue(""),this.closeNav()}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["forgot-password"]],viewQuery:function(c,l){if(1&c&&(e.Gf(wu,5),e.Gf(Tu,5),e.Gf(ro.VN,5),e.Gf(ro.QJ,5)),2&c){let x;e.iGM(x=e.CRH())&&(l.libraryInput=x.first),e.iGM(x=e.CRH())&&(l.userName=x.first),e.iGM(x=e.CRH())&&(l.matAutocomplete=x.first),e.iGM(x=e.CRH())&&(l.autocomplete=x.first)}},inputs:{details:"details",trigger:"trigger"},features:[e.qOj,e.TTD],decls:12,vars:4,consts:[["fxLayout","column","fxLayoutGap","10px",1,"content-wrapper"],[3,"formGroup","ngSubmit"],[4,"ngIf"],[1,"form-group"],["type","text","title","User Name","id","userName","formControlName","userName","cdkFocusInitial","",1,"form-control",3,"placeholder"],["user",""],["mat-button","","role","button","type","submit","aria-label","Submit",1,"ag-mat-button-primary","margin-right-5",3,"disabled"],["role","button","aria-label","Cancel","type","button",1,"btn","btn-link",3,"click"],["fxFlex","100",4,"ngIf","ngIfElse"],["singleLid",""],["fxFlex","100"],["matInput","","type","text","placeholder","Select Your Library",3,"formControl","matAutocomplete","focus"],["libraryInput",""],["mat-icon-button","","matSuffix","","type","button",3,"click"],["autoActiveFirstOption","","autoSelectActiveOption","",3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","type","text","readonly","",3,"formControl"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0)(1,"h4"),e._uU(2,"Forgot Password"),e.qZA(),e.TgZ(3,"form",1),e.NdJ("ngSubmit",function(){return l.submit()}),e.YNc(4,Ou,4,2,"div",2),e.TgZ(5,"div",3),e._UZ(6,"input",4,5),e.qZA(),e.TgZ(8,"button",6),e._uU(9," Send "),e.qZA(),e.TgZ(10,"button",7),e.NdJ("click",function(){return l.cancel()}),e._uU(11," Cancel "),e.qZA()()()),2&c&&(e.xp6(3),e.Q6J("formGroup",l.forgotPasswordForm),e.xp6(),e.Q6J("ngIf",l.showLibraryLookupBox),e.xp6(2),e.Q6J("placeholder",l.userNameLabel),e.xp6(2),e.Q6J("disabled",l.forgotPasswordForm.invalid))},dependencies:[ei.sg,ei.O5,bi.xw,bi.SQ,bi.yH,At._Y,At.Fj,At.JJ,At.JL,ro.VN,ro.QJ,ci.CK,Zn.eB,po.nI,po.v_,po.$V,po.nX,Jo.Hw,xo.k0,At.oH,At.sg,At.u,ei.Ov],styles:[".content-wrapper[_ngcontent-%COMP%]{padding:20px;min-width:320px;width:100%;max-width:480px}"]})}return d})(),Au=(()=>{class d{constructor(){this.closSideNav=new e.vpe,this.lang=new e.vpe,this.arrayOneCopy=[],this.arrayTwoCopy=[],this.arrayThreeCopy=[],this.arrayOne=[{name:"English",value:"en",selected:!0},{name:"Afrikaans",value:"af",selected:!1},{name:"Albanian",value:"sq",selected:!1},{name:"Arabic",value:"ar",selected:!1},{name:"Azerbaijani",value:"az",selected:!1},{name:"Albanian",value:"sq",selected:!1},{name:"Basque",value:"eu",selected:!1},{name:"Bengali",value:"bn",selected:!1},{name:"Belarusian",value:"be",selected:!1},{name:"Bulgarian",value:"bg",selected:!1},{name:"Bulgarian",value:"bg",selected:!1},{name:"Catalan",value:"ca",selected:!1},{name:"Chinese Simplified",value:"zh-CN",selected:!1},{name:"Chinese Traditional",value:"zh-TW",selected:!1},{name:"Croatian",value:"hr",selected:!1},{name:"Czech",value:"cs",selected:!1},{name:"Danish",value:"da",selected:!1},{name:"Dutch",value:"nl",selected:!1},{name:"Esperanto",value:"eo",selected:!1},{name:"Estonian",value:"et",selected:!1},{name:"Fillipino",value:"tl",selected:!1},{name:"Finnish",value:"fi",selected:!1}],this.arrayTwo=[{name:"French",value:"fr",selected:!1},{name:"Galician",value:"gl",selected:!1},{name:"Georgian",value:"ka",selected:!1},{name:"German",value:"de",selected:!1},{name:"Greek",value:"el",selected:!1},{name:"Gujarati",value:"gu",selected:!1},{name:"Haitian Creole",value:"ht",selected:!1},{name:"Hebrew",value:"iw",selected:!1},{name:"Hindi",value:"hi",selected:!1},{name:"Hungarian",value:"hu",selected:!1},{name:"Icelandic",value:"is",selected:!1},{name:"Indonesian",value:"id",selected:!1},{name:"Irish",value:"ga"},{name:"Italian",value:"it",selected:!1},{name:"Japanese",value:"ja",selected:!1},{name:"Kannada",value:"kn",selected:!1},{name:"Korean",value:"ko",selected:!1},{name:"Latin",value:"la",selected:!1},{name:"Latvian",value:"lv",selected:!1},{name:"Lithuanian",value:"lt",selected:!1}],this.arrayThree=[{name:"Macedonian",value:"mk",selected:!1},{name:"Malay",value:"ms",selected:!1},{name:"Maltese",value:"mt",selected:!1},{name:"Norwegian",value:"no",selected:!1},{name:"Persian",value:"fa",selected:!1},{name:"Polish",value:"pl",selected:!1},{name:"Portuguese",value:"pt",selected:!1},{name:"Romanian",value:"ro",selected:!1},{name:"Russian",value:"ru",selected:!1},{name:"Serbian",value:"sr",selected:!1},{name:"Slovak",value:"sk",selected:!1},{name:"Slovenian",value:"sl",selected:!1},{name:"Spanish",value:"es",selected:!1},{name:"Swahili",value:"sw",selected:!1},{name:"Swedish",value:"sv",selected:!1},{name:"Tamil",value:"ta",selected:!1},{name:"Telugu",value:"te",selected:!1},{name:"Thai",value:"th",selected:!1},{name:"Turkish",value:"tr",selected:!1},{name:"Ukrainian",value:"uk",selected:!1},{name:"Urdu",value:"ur",selected:!1},{name:"Vietnamese",value:"vi",selected:!1},{name:"Welsh",value:"cy",selected:!1},{name:"Yiddish",value:"yi",selected:!1}],this.arrayOneCopy=this.arrayOne.slice(),this.arrayTwo=this.arrayTwo.slice(),this.arrayThree=this.arrayThree.slice()}selectLang(i,c){switch(c){case 1:this.setDefaultArrays();for(let l=0;l<this.arrayOne.length;l++){const x=this.arrayOne[l];x.value==i&&(x.selected=!0)}this.lang.emit(i),this.closSideNav.emit(!0);break;case 2:this.setDefaultArrays();for(let l=0;l<this.arrayTwo.length;l++){const x=this.arrayTwo[l];x.value==i&&(x.selected=!0)}this.lang.emit(i),this.closSideNav.emit(!0);break;case 3:this.setDefaultArrays();for(let l=0;l<this.arrayThree.length;l++){const x=this.arrayThree[l];x.value==i&&(x.selected=!0)}this.lang.emit(i),this.closSideNav.emit(!0)}}setDefaultArrays(){this.arrayOne[0].selected=!1,this.arrayOne=this.arrayOneCopy,this.arrayTwo=this.arrayTwoCopy,this.arrayThree=this.arrayThreeCopy}static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["languages"]],outputs:{closSideNav:"closSideNav",lang:"lang"},decls:53,vars:0,consts:[[1,"container-fluid"],[1,"row"],[1,"col-12","col-lg-12"],["onclick","translateLanguage('English')"],["onclick","translateLanguage('Spanish')"],["onclick","translateLanguage('Afrikaans')"],["onclick","translateLanguage('Albanian')"],["onclick","translateLanguage('Arabic')"],["onclick","translateLanguage('Azerbaijani')"],["onclick","translateLanguage('Basque')"],["onclick","translateLanguage('Romanian')"],["onclick","translateLanguage('Russian')"],["onclick","translateLanguage('French')"],["onclick","translateLanguage('German')"],["onclick","translateLanguage('Urdu')"],["onclick","translateLanguage('Yiddish')"],["onclick","translateLanguage('Welsh')"],["onclick","translateLanguage('Turkish')"],["onclick","translateLanguage('Swedish')"],["onclick","translateLanguage('Swahili')"],["onclick","translateLanguage('Icelandic')"],["onclick","translateLanguage('Hungarian')"],["onclick","translateLanguage('Indonesian')"],["onclick","translateLanguage('Macedonian')"],["onclick","translateLanguage('Italian')"],["onclick","translateLanguage('Japanese')"]],template:function(c,l){1&c&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"a",3),e._uU(4,"English"),e.qZA(),e.TgZ(5,"a",4),e._uU(6,"Spanish"),e.qZA(),e.TgZ(7,"a",5),e._uU(8,"Afrikaans"),e.qZA(),e.TgZ(9,"a",6),e._uU(10,"Albanian"),e.qZA(),e.TgZ(11,"a",7),e._uU(12,"Arabic"),e.qZA(),e.TgZ(13,"a",8),e._uU(14,"Azerbaijani"),e.qZA(),e.TgZ(15,"a",9),e._uU(16,"Basque"),e.qZA(),e.TgZ(17,"a",10),e._uU(18,"Romanian"),e.qZA(),e.TgZ(19,"a",4),e._uU(20,"Spanish"),e.qZA(),e.TgZ(21,"a",11),e._uU(22,"Russian"),e.qZA(),e.TgZ(23,"a",12),e._uU(24,"French"),e.qZA(),e.TgZ(25,"a",13),e._uU(26,"German"),e.qZA(),e.TgZ(27,"a",14),e._uU(28,"Urdu"),e.qZA(),e.TgZ(29,"a",15),e._uU(30,"Yiddish"),e.qZA(),e.TgZ(31,"a",4),e._uU(32,"Spanish"),e.qZA(),e.TgZ(33,"a",16),e._uU(34,"Welsh"),e.qZA(),e.TgZ(35,"a",17),e._uU(36,"Turkish"),e.qZA(),e.TgZ(37,"a",18),e._uU(38,"Swedish"),e.qZA(),e.TgZ(39,"a",19),e._uU(40,"Swahili"),e.qZA(),e.TgZ(41,"a",20),e._uU(42,"Icelandic"),e.qZA(),e.TgZ(43,"a",21),e._uU(44,"Hungarian"),e.qZA(),e.TgZ(45,"a",22),e._uU(46,"Indonesian"),e.qZA(),e.TgZ(47,"a",23),e._uU(48,"Macedonian"),e.qZA(),e.TgZ(49,"a",24),e._uU(50,"Italian"),e.qZA(),e.TgZ(51,"a",25),e._uU(52,"Japanese"),e.qZA()()()())},styles:[".header-link[_ngcontent-%COMP%]{display:inline-block;padding:10px 7px;color:var(--header-color);cursor:pointer}.header-link[_ngcontent-%COMP%]:hover, .header-link[_ngcontent-%COMP%]:focus{text-decoration:underline}.highlight[_ngcontent-%COMP%]{color:#000;font-weight:700;-webkit-text-decoration:underline black;text-decoration:underline black}"]})}return d})();var Bf=s(6608);function gb(d){return new Xl(d,"../assets/i18n/",".json")}function yb(){return new qp}typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",Eg),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",class by extends Mg{constructor(){super(),this.attachShadow({mode:"open"})}render(){const g=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(Sg(this.shadowRoot,"::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}"),this.shadowRoot.appendChild(document.createElement("slot")),g){const i=document.createElement("div");i.classList.add("swiper-lazy-preloader"),i.part.add("preloader"),this.shadowRoot.appendChild(i)}}initialize(){this.render()}connectedCallback(){this.initialize()}})),$0().start({apiKey:"db990d4e9669ca0918647680574c2298",appVersion:function vb(){let d="##versnvalgoeshere##";return d.includes("versnvalgoeshere")&&(d="development"),d}(),appType:"ui",releaseStage:function bb(){let d="##stagevalgoeshere##";return window.location.href.includes("localhost")||window.location.href.includes("bs-local.com")?d="localhost":d.includes("stagevalgoeshere")&&(d="dev"),d}(),enabledReleaseStages:["production","staging","dev"],onError:function(d){const g=sessionStorage.getItem("userData");if(g){const l=JSON.parse(g);d.setUser(l.userId,l.userName,l.libraryName)}const i=sessionStorage.getItem("cid");i&&d.addMetadata("cid",{cid:i});const c=sessionStorage.getItem("lid");c&&d.addMetadata("lid",{lid:c})}});let xb=(()=>{class d{static#e=this.\u0275fac=function(c){return new(c||d)};static#t=this.\u0275mod=e.oAB({type:d,bootstrap:[Hv]});static#n=this.\u0275inj=e.cJS({providers:[Oo.a1,Oo.gv,Oo.Jq,Xs,Do,U_,Up.s,k_.B,qo.e8,ac.S,$x.y,Sh.U,io.E,Qn,kt.$,Yr.s,tc.nP,Z0,Ch.j,N_,F_,r0.M,wh.h,Oe.c,ag.E,Dr.fs,Oc.sm,ta.oD,Lp.r,as.n,l0.g,Ii.F,Wo.Z,L_,no.V,y_.B,v.K,B_,ve.i,c0.q,To.j,rt.M,pf.f,Be.U,sg.x,uo,j0,u.Dx,Gi.rH,K0.lx,ei.uU,{provide:e.QbO,useValue:"BrowserAnimations"},{provide:Si.TP,useClass:R_,multi:!0},{provide:e.qLn,useFactory:yb},{provide:o0,useValue:12e4},{provide:ty.Jm,useValue:{showDelay:750,disableTooltipInteractivity:!0}}],imports:[Q0.Z,J0.N,G0.j,H0.p,Yp.N,u.b2,Nx,Gi.Bz.forRoot(bh,{useHash:!1}),At.u5,At.UX,Si.JF,Cn,qx.J,vh.K,qs.IJ,mf.PatronLookupModule,ff.m,Y0.BrowseModule,hd.F,jp.o9,mh.aw.forRoot({loader:{provide:mh.Zw,useFactory:gb,deps:[Si.eN]}}),Kx.xu,qe,Kp,Yp.N,ff.m,vh.K,Kp]})}return d})();e.B6R(gh,function(){return[Kn.o,yy,ei.mk,ei.O5,ei.PC,ei.RF,ei.n9,ei.ED,Gi.lC,iC.$,Uc,Pg,Yl,Lg,Tf,By,jg,lm,dm,Rf,p1,_1,v1,Ff,Du,Au,Bf.S,Zn.eB,bi.xw,bi.yH,zr.oO,zr.Zl,cs.d,Jo.Hw,Cl.JX,Cl.TM,Cl.Rh,Cv,n0,ug,Z0,q0]},function(){return[ei.Ov]});(0,t.Z)(function*(){const g=yield(yield fetch("assets/configuration/appsettings.json")).json();(0,e.G48)(),window.appSettings=g,u.q6().bootstrapModule(xb).catch(i=>console.error(i))})()},393:jt=>{jt.exports=function(s,t){return Array.prototype.slice.call(s,t)}},5597:(jt,$e,s)=>{"use strict";var t=s(716);jt.exports=function(e,m,p){e&&t(function(){e.apply(p||null,m||[])})}},1541:(jt,$e,s)=>{"use strict";var t=s(393),u=s(5597);jt.exports=function(m,p){var U=p||{},n={};return void 0===m&&(m={}),m.on=function(I,L){return n[I]?n[I].push(L):n[I]=[L],m},m.once=function(I,L){return L._once=!0,m.on(I,L),m},m.off=function(I,L){var y=arguments.length;if(1===y)delete n[I];else if(0===y)n={};else{var O=n[I];if(!O)return m;O.splice(O.indexOf(L),1)}return m},m.emit=function(){var I=t(arguments);return m.emitterSnapshot(I.shift()).apply(this,I)},m.emitterSnapshot=function(I){var L=(n[I]||[]).slice(0);return function(){var y=t(arguments),O=this||m;if("error"===I&&!1!==U.throws&&!L.length)throw 1===y.length?y[0]:y;return L.forEach(function(E){U.async?u(E,y,O):E.apply(O,y),E._once&&m.off(I,E)}),m}},m}},599:(jt,$e,s)=>{"use strict";var t=s(5370),u=s(9670),e=global.document,m=function n(Z,oe,le,ee){return Z.addEventListener(oe,le,ee)},p=function L(Z,oe,le,ee){return Z.removeEventListener(oe,le,ee)},U=[];function A(Z,oe,le){var ee=function S(Z,oe,le){var ee,K;for(ee=0;ee<U.length;ee++)if((K=U[ee]).element===Z&&K.type===oe&&K.fn===le)return ee}(Z,oe,le);if(ee){var K=U[ee].wrapper;return U.splice(ee,1),K}}global.addEventListener||(m=function I(Z,oe,le){return Z.attachEvent("on"+oe,function E(Z,oe,le){var ee=A(Z,oe,le)||function M(Z,oe,le){return function(K){var Q=K||global.event;Q.target=Q.target||Q.srcElement,Q.preventDefault=Q.preventDefault||function(){Q.returnValue=!1},Q.stopPropagation=Q.stopPropagation||function(){Q.cancelBubble=!0},Q.which=Q.which||Q.keyCode,le.call(Z,Q)}}(Z,0,le);return U.push({wrapper:ee,element:Z,type:oe,fn:le}),ee}(Z,oe,le))},p=function y(Z,oe,le){var ee=A(Z,oe,le);if(ee)return Z.detachEvent("on"+oe,ee)}),jt.exports={add:m,remove:p,fabricate:function O(Z,oe,le){var ee=-1===u.indexOf(oe)?function Q(){return new t(oe,{detail:le})}():function K(){var q;return e.createEvent?(q=e.createEvent("Event")).initEvent(oe,!0,!0):e.createEventObject&&(q=e.createEventObject()),q}();Z.dispatchEvent?Z.dispatchEvent(ee):Z.fireEvent("on"+oe,ee)}}},9670:jt=>{"use strict";var $e=[],s="",t=/^on/;for(s in global)t.test(s)&&$e.push(s.slice(2));jt.exports=$e},5370:jt=>{var $e=global.CustomEvent;jt.exports=function s(){try{var t=new $e("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch{}return!1}()?$e:typeof document<"u"&&"function"==typeof document.createEvent?function(u,e){var m=document.createEvent("CustomEvent");return e?m.initCustomEvent(u,e.bubbles,e.cancelable,e.detail):m.initCustomEvent(u,!1,!1,void 0),m}:function(u,e){var m=document.createEventObject();return m.type=u,e?(m.bubbles=!!e.bubbles,m.cancelable=!!e.cancelable,m.detail=e.detail):(m.bubbles=!1,m.cancelable=!1,m.detail=void 0),m}},1315:(jt,$e,s)=>{var t,u;!function(e,m){"use strict";t=function(){var m=function(){var p=window.Element.prototype;if(p.matches)return"matches";if(p.matchesSelector)return"matchesSelector";for(var U=["webkit","moz","ms","o"],n=0;n<U.length;n++){var L=U[n]+"MatchesSelector";if(p[L])return L}}();return function(U,n){return U[m](n)}},void 0!==(u=t.call($e,s,$e,jt))&&(jt.exports=u)}(window)},3692:jt=>{"use strict";var $e={};function u(p){var U=$e[p];return U?U.lastIndex=0:$e[p]=U=new RegExp("(?:^|\\s)"+p+"(?:\\s|$)","g"),U}jt.exports={add:function e(p,U){var n=p.className;n.length?u(U).test(n)||(p.className+=" "+U):p.className=U},rm:function m(p,U){p.className=p.className.replace(u(U)," ").trim()}}},5661:(jt,$e,s)=>{"use strict";var t=s(1541),u=s(599),e=s(3692),m=document,p=m.documentElement;function n(q,H,T,ie){global.navigator.pointerEnabled?u[H](q,{mouseup:"pointerup",mousedown:"pointerdown",mousemove:"pointermove"}[T],ie):global.navigator.msPointerEnabled?u[H](q,{mouseup:"MSPointerUp",mousedown:"MSPointerDown",mousemove:"MSPointerMove"}[T],ie):(u[H](q,{mouseup:"touchend",mousedown:"touchstart",mousemove:"touchmove"}[T],ie),u[H](q,T,ie))}function I(q){if(void 0!==q.touches)return q.touches.length;if(void 0!==q.which&&0!==q.which)return q.which;if(void 0!==q.buttons)return q.buttons;var H=q.button;return void 0!==H?1&H?1:2&H?3:4&H?2:0:void 0}function y(q,H){return typeof global[H]<"u"?global[H]:p.clientHeight?p[q]:m.body[q]}function O(q,H,T){var _e,ie=(q=q||{}).className||"";return q.className+=" gu-hide",_e=m.elementFromPoint(H,T),q.className=ie,_e}function M(){return!1}function E(){return!0}function A(q){return q.width||q.right-q.left}function S(q){return q.height||q.bottom-q.top}function Z(q){return q.parentNode===m?null:q.parentNode}function oe(q){return"INPUT"===q.tagName||"TEXTAREA"===q.tagName||"SELECT"===q.tagName||le(q)}function le(q){return!(!q||"false"===q.contentEditable)&&("true"===q.contentEditable||le(Z(q)))}function ee(q){return q.nextElementSibling||function H(){var T=q;do{T=T.nextSibling}while(T&&1!==T.nodeType);return T}()}function Q(q,H){var T=function K(q){return q.targetTouches&&q.targetTouches.length?q.targetTouches[0]:q.changedTouches&&q.changedTouches.length?q.changedTouches[0]:q}(H),ie={pageX:"clientX",pageY:"clientY"};return q in ie&&!(q in T)&&ie[q]in T&&(q=ie[q]),T[q]}jt.exports=function U(q,H){1===arguments.length&&!1===Array.isArray(q)&&(H=q,q=[]);var ie,_e,Ce,Ve,ae,pe,Ae,Ze,dt,Fe,Xe,W,Ie=null,we=H||{};void 0===we.moves&&(we.moves=E),void 0===we.accepts&&(we.accepts=E),void 0===we.invalid&&(we.invalid=function Nn(){return!1}),void 0===we.containers&&(we.containers=q||[]),void 0===we.isContainer&&(we.isContainer=M),void 0===we.copy&&(we.copy=!1),void 0===we.copySortSource&&(we.copySortSource=!1),void 0===we.revertOnSpill&&(we.revertOnSpill=!1),void 0===we.removeOnSpill&&(we.removeOnSpill=!1),void 0===we.direction&&(we.direction="vertical"),void 0===we.ignoreInputTextSelection&&(we.ignoreInputTextSelection=!0),void 0===we.mirrorContainer&&(we.mirrorContainer=m.body);var P=t({containers:we.containers,start:function sn(nt){var Ye=Ft(nt);Ye&&hn(Ye)},end:Jt,cancel:$,remove:Ne,destroy:function de(){Se(!0),He({})},canMove:function mt(nt){return!!Ft(nt)},dragging:!1});return!0===we.removeOnSpill&&P.on("over",function Tt(nt){e.rm(nt,"gu-hide")}).on("out",function tn(nt){P.dragging&&e.add(nt,"gu-hide")}),Se(),P;function V(nt){return-1!==P.containers.indexOf(nt)||we.isContainer(nt)}function Se(nt){var Ye=nt?"remove":"add";n(p,Ye,"mousedown",tt),n(p,Ye,"mouseup",He)}function G(nt){n(p,nt?"remove":"add","mousemove",Re)}function be(nt){var Ye=nt?"remove":"add";u[Ye](p,"selectstart",De),u[Ye](p,"click",De)}function De(nt){W&&nt.preventDefault()}function tt(nt){if(pe=nt.clientX,Ae=nt.clientY,1===I(nt)&&!nt.metaKey&&!nt.ctrlKey){var zt=nt.target,$t=Ft(zt);$t&&(W=$t,G(),"mousedown"===nt.type&&(oe(zt)?zt.focus():nt.preventDefault()))}}function Re(nt){if(W){if(0===I(nt))return void He({});if(!(void 0!==nt.clientX&&Math.abs(nt.clientX-pe)<=(we.slideFactorX||0)&&void 0!==nt.clientY&&Math.abs(nt.clientY-Ae)<=(we.slideFactorY||0))){if(we.ignoreInputTextSelection){var Ye=Q("clientX",nt)||0,zt=Q("clientY",nt)||0;if(oe(m.elementFromPoint(Ye,zt)))return}var Mn=W;G(!0),be(),Jt(),hn(Mn);var Wn=function L(q){var H=q.getBoundingClientRect();return{left:H.left+y("scrollLeft","pageXOffset"),top:H.top+y("scrollTop","pageYOffset")}}(Ce);Ve=Q("pageX",nt)-Wn.left,ae=Q("pageY",nt)-Wn.top,e.add(Fe||Ce,"gu-transit"),function rn(){if(!ie){var nt=Ce.getBoundingClientRect();(ie=Ce.cloneNode(!0)).style.width=A(nt)+"px",ie.style.height=S(nt)+"px",e.rm(ie,"gu-transit"),e.add(ie,"gu-mirror"),we.mirrorContainer.appendChild(ie),n(p,"add","mousemove",Et),e.add(we.mirrorContainer,"gu-unselectable"),P.emit("cloned",ie,Ce,"mirror")}}(),Et(nt)}}}function Ft(nt){if(!(P.dragging&&ie||V(nt))){for(var Ye=nt;Z(nt)&&!1===V(Z(nt));)if(we.invalid(nt,Ye)||!(nt=Z(nt)))return;var zt=Z(nt);if(zt&&!we.invalid(nt,Ye)&&we.moves(nt,zt,Ye,ee(nt)))return{item:nt,source:zt}}}function hn(nt){(function Ue(nt,Ye){return"boolean"==typeof we.copy?we.copy:we.copy(nt,Ye)})(nt.item,nt.source)&&(Fe=nt.item.cloneNode(!0),P.emit("cloned",Fe,nt.item,"copy")),_e=nt.source,Ce=nt.item,Ze=dt=ee(nt.item),P.dragging=!0,P.emit("drag",Ce,_e)}function Jt(){if(P.dragging){var nt=Fe||Ce;fe(nt,Z(nt))}}function cn(){W=!1,G(!0),be(!0)}function He(nt){if(cn(),P.dragging){var Ye=Fe||Ce,zt=Q("clientX",nt)||0,$t=Q("clientY",nt)||0,Wn=Ke(O(ie,zt,$t),zt,$t);Wn&&(Fe&&we.copySortSource||!Fe||Wn!==_e)?fe(Ye,Wn):we.removeOnSpill?Ne():$()}}function fe(nt,Ye){var zt=Z(nt);Fe&&we.copySortSource&&Ye===_e&&zt.removeChild(Ce),Ge(Ye)?P.emit("cancel",nt,_e,_e):P.emit("drop",nt,Ye,_e,dt),Ee()}function Ne(){if(P.dragging){var nt=Fe||Ce,Ye=Z(nt);Ye&&Ye.removeChild(nt),P.emit(Fe?"cancel":"remove",nt,Ye,_e),Ee()}}function $(nt){if(P.dragging){var Ye=arguments.length>0?nt:we.revertOnSpill,zt=Fe||Ce,$t=Z(zt),Mn=Ge($t);!1===Mn&&Ye&&(Fe?$t&&$t.removeChild(Fe):_e.insertBefore(zt,Ze)),Mn||Ye?P.emit("cancel",zt,_e,_e):P.emit("drop",zt,$t,_e,dt),Ee()}}function Ee(){var nt=Fe||Ce;cn(),function Nt(){ie&&(e.rm(we.mirrorContainer,"gu-unselectable"),n(p,"remove","mousemove",Et),Z(ie).removeChild(ie),ie=null)}(),nt&&e.rm(nt,"gu-transit"),Xe&&clearTimeout(Xe),P.dragging=!1,Ie&&P.emit("out",nt,Ie,_e),P.emit("dragend",nt),_e=Ce=Fe=Ze=dt=Xe=Ie=null}function Ge(nt,Ye){var zt;return zt=void 0!==Ye?Ye:ie?dt:ee(Fe||Ce),nt===_e&&zt===Ze}function Ke(nt,Ye,zt){for(var $t=nt;$t&&!Mn();)$t=Z($t);return $t;function Mn(){if(!1===V($t))return!1;var di=ft($t,nt),Pt=Bt($t,di,Ye,zt);return!!Ge($t,Pt)||we.accepts(Ce,$t,_e,Pt)}}function Et(nt){if(ie){nt.preventDefault();var Ye=Q("clientX",nt)||0,zt=Q("clientY",nt)||0,Mn=zt-ae;ie.style.left=Ye-Ve+"px",ie.style.top=Mn+"px";var Wn=Fe||Ce,di=O(ie,Ye,zt),Pt=Ke(di,Ye,zt),Xt=null!==Pt&&Pt!==Ie;(Xt||null===Pt)&&(function j(){Ie&&xe("out")}(),Ie=Pt,function et(){Xt&&xe("over")}());var Le=Z(Wn);if(Pt!==_e||!Fe||we.copySortSource){var ue,X=ft(Pt,di);if(null!==X)ue=Bt(Pt,X,Ye,zt);else{if(!0!==we.revertOnSpill||Fe)return void(Fe&&Le&&Le.removeChild(Wn));ue=Ze,Pt=_e}(null===ue&&Xt||ue!==Wn&&ue!==ee(Wn))&&(dt=ue,Pt.insertBefore(Wn,ue),P.emit("shadow",Wn,Pt,_e))}else Le&&Le.removeChild(Wn)}function xe(F){P.emit(F,Wn,Ie,_e)}}function ft(nt,Ye){for(var zt=Ye;zt!==nt&&Z(zt)!==nt;)zt=Z(zt);return zt===p?null:zt}function Bt(nt,Ye,zt,$t){var Mn="horizontal"===we.direction;return Ye!==nt?function Pt(){var Le=Ye.getBoundingClientRect();return function Xt(Le){return Le?ee(Ye):Ye}(Mn?zt>Le.left+A(Le)/2:$t>Le.top+S(Le)/2)}():function di(){var ue,X,xe,Le=nt.children.length;for(ue=0;ue<Le;ue++)if(xe=(X=nt.children[ue]).getBoundingClientRect(),Mn&&xe.left+xe.width/2>zt||!Mn&&xe.top+xe.height/2>$t)return X;return null}()}}},8507:function(jt,$e,s){var t,u;typeof window<"u"&&window,void 0!==(u="function"==typeof(t=function(){"use strict";function e(){}var m=e.prototype;return m.on=function(p,U){if(p&&U){var n=this._events=this._events||{},I=n[p]=n[p]||[];return-1==I.indexOf(U)&&I.push(U),this}},m.once=function(p,U){if(p&&U){this.on(p,U);var n=this._onceEvents=this._onceEvents||{};return(n[p]=n[p]||{})[U]=!0,this}},m.off=function(p,U){var n=this._events&&this._events[p];if(n&&n.length){var I=n.indexOf(U);return-1!=I&&n.splice(I,1),this}},m.emitEvent=function(p,U){var n=this._events&&this._events[p];if(n&&n.length){n=n.slice(0),U=U||[];for(var I=this._onceEvents&&this._onceEvents[p],L=0;L<n.length;L++){var y=n[L];I&&I[y]&&(this.off(p,y),delete I[y]),y.apply(this,U)}return this}},m.allOff=function(){delete this._events,delete this._onceEvents},e})?t.call($e,s,$e,jt):t)&&(jt.exports=u)},6498:function(jt,$e,s){var t,u=u||function(e){"use strict";if(!(typeof e>"u"||typeof navigator<"u"&&/MSIE [1-9]\./.test(navigator.userAgent))){var p=function(){return e.URL||e.webkitURL||e},U=e.document.createElementNS("http://www.w3.org/1999/xhtml","a"),n="download"in U,L=/constructor/i.test(e.HTMLElement)||e.safari,y=/CriOS\/[\d]+/.test(navigator.userAgent),O=function(K){(e.setImmediate||e.setTimeout)(function(){throw K},0)},A=function(K){setTimeout(function(){"string"==typeof K?p().revokeObjectURL(K):K.remove()},4e4)},Z=function(K){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(K.type)?new Blob(["\ufeff",K],{type:K.type}):K},oe=function(K,Q,q){q||(K=Z(K));var _e,H=this,ie="application/octet-stream"===K.type,Ce=function(){!function(K,Q,q){for(var H=(Q=[].concat(Q)).length;H--;){var T=K["on"+Q[H]];if("function"==typeof T)try{T.call(K,K)}catch(ie){O(ie)}}}(H,"writestart progress write writeend".split(" "))};if(H.readyState=H.INIT,n)return _e=p().createObjectURL(K),void setTimeout(function(){U.href=_e,U.download=Q,function(K){var Q=new MouseEvent("click");K.dispatchEvent(Q)}(U),Ce(),A(_e),H.readyState=H.DONE});!function(){if((y||ie&&L)&&e.FileReader){var ae=new FileReader;return ae.onloadend=function(){var Ae=y?ae.result:ae.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(Ae,"_blank")||(e.location.href=Ae),Ae=void 0,H.readyState=H.DONE,Ce()},ae.readAsDataURL(K),void(H.readyState=H.INIT)}_e||(_e=p().createObjectURL(K)),ie?e.location.href=_e:e.open(_e,"_blank")||(e.location.href=_e),H.readyState=H.DONE,Ce(),A(_e)}()},le=oe.prototype;return typeof navigator<"u"&&navigator.msSaveOrOpenBlob?function(K,Q,q){return Q=Q||K.name||"download",q||(K=Z(K)),navigator.msSaveOrOpenBlob(K,Q)}:(le.abort=function(){},le.readyState=le.INIT=0,le.WRITING=1,le.DONE=2,le.error=le.onwritestart=le.onprogress=le.onwrite=le.onabort=le.onerror=le.onwriteend=null,function(K,Q,q){return new oe(K,Q||K.name||"download",q)})}}(typeof self<"u"&&self||typeof window<"u"&&window||this.content);jt.exports?jt.exports.saveAs=u:null!==s.amdD&&null!==s.amdO&&void 0!==(t=function(){return u}.call($e,s,$e,jt))&&(jt.exports=t)},7771:(jt,$e,s)=>{var t,u,e;e=window,t=[s(1315)],void 0!==(u=function(p){return function(m,p){"use strict";var U={extend:function(L,y){for(var O in y)L[O]=y[O];return L},modulo:function(L,y){return(L%y+y)%y}},n=Array.prototype.slice;U.makeArray=function(L){return Array.isArray(L)?L:null==L?[]:"object"==typeof L&&"number"==typeof L.length?n.call(L):[L]},U.removeFrom=function(L,y){var O=L.indexOf(y);-1!=O&&L.splice(O,1)},U.getParent=function(L,y){for(;L.parentNode&&L!=document.body;)if(p(L=L.parentNode,y))return L},U.getQueryElement=function(L){return"string"==typeof L?document.querySelector(L):L},U.handleEvent=function(L){var y="on"+L.type;this[y]&&this[y](L)},U.filterFindElements=function(L,y){L=U.makeArray(L);var O=[];return L.forEach(function(M){if(M instanceof HTMLElement){if(!y)return void O.push(M);p(M,y)&&O.push(M);for(var E=M.querySelectorAll(y),A=0;A<E.length;A++)O.push(E[A])}}),O},U.debounceMethod=function(L,y,O){O=O||100;var M=L.prototype[y],E=y+"Timeout";L.prototype[y]=function(){clearTimeout(this[E]);var S=arguments,Z=this;this[E]=setTimeout(function(){M.apply(Z,S),delete Z[E]},O)}},U.docReady=function(L){var y=document.readyState;"complete"==y||"interactive"==y?setTimeout(L):document.addEventListener("DOMContentLoaded",L)},U.toDashed=function(L){return L.replace(/(.)([A-Z])/g,function(y,O,M){return O+"-"+M}).toLowerCase()};var I=m.console;return U.htmlInit=function(L,y){U.docReady(function(){var O=U.toDashed(y),M="data-"+O,E=document.querySelectorAll("["+M+"]"),A=document.querySelectorAll(".js-"+O),S=U.makeArray(E).concat(U.makeArray(A)),Z=M+"-options",oe=m.jQuery;S.forEach(function(le){var K,ee=le.getAttribute(M)||le.getAttribute(Z);try{K=ee&&JSON.parse(ee)}catch(q){return void(I&&I.error("Error parsing "+M+" on "+le.className+": "+q))}var Q=new L(le,K);oe&&oe.data(le,y,Q)})})},U}(e,p)}.apply($e,t))&&(jt.exports=u)},9099:(jt,$e,s)=>{var t,u;window,void 0!==(u="function"==typeof(t=function(){"use strict";function m(S){var Z=parseFloat(S);return-1==S.indexOf("%")&&!isNaN(Z)&&Z}var U=typeof console>"u"?function p(){}:function(S){console.error(S)},n=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],I=n.length;function y(S){var Z=getComputedStyle(S);return Z||U("Style returned "+Z+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),Z}var M,O=!1;function A(S){if(function E(){if(!O){O=!0;var S=document.createElement("div");S.style.width="200px",S.style.padding="1px 2px 3px 4px",S.style.borderStyle="solid",S.style.borderWidth="1px 2px 3px 4px",S.style.boxSizing="border-box";var Z=document.body||document.documentElement;Z.appendChild(S);var oe=y(S);M=200==Math.round(m(oe.width)),A.isBoxSizeOuter=M,Z.removeChild(S)}}(),"string"==typeof S&&(S=document.querySelector(S)),S&&"object"==typeof S&&S.nodeType){var Z=y(S);if("none"==Z.display)return function L(){for(var S={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},Z=0;Z<I;Z++)S[n[Z]]=0;return S}();var oe={};oe.width=S.offsetWidth,oe.height=S.offsetHeight;for(var le=oe.isBorderBox="border-box"==Z.boxSizing,ee=0;ee<I;ee++){var K=n[ee],q=parseFloat(Z[K]);oe[K]=isNaN(q)?0:q}var H=oe.paddingLeft+oe.paddingRight,T=oe.paddingTop+oe.paddingBottom,ie=oe.marginLeft+oe.marginRight,_e=oe.marginTop+oe.marginBottom,Ce=oe.borderLeftWidth+oe.borderRightWidth,Ve=oe.borderTopWidth+oe.borderBottomWidth,ae=le&&M,pe=m(Z.width);!1!==pe&&(oe.width=pe+(ae?0:H+Ce));var Ae=m(Z.height);return!1!==Ae&&(oe.height=Ae+(ae?0:T+Ve)),oe.innerWidth=oe.width-(H+Ce),oe.innerHeight=oe.height-(T+Ve),oe.outerWidth=oe.width+ie,oe.outerHeight=oe.height+_e,oe}}return A})?t.call($e,s,$e,jt):t)&&(jt.exports=u)},2276:function(jt,$e){var t;!function(u,e){"use strict";"object"==typeof jt.exports?jt.exports=u.document?e(u,!0):function(m){if(!m.document)throw new Error("jQuery requires a window with a document");return e(m)}:e(u)}(typeof window<"u"?window:this,function(u,e){"use strict";var m=[],p=Object.getPrototypeOf,U=m.slice,n=m.flat?function(D){return m.flat.call(D)}:function(D){return m.concat.apply([],D)},I=m.push,L=m.indexOf,y={},O=y.toString,M=y.hasOwnProperty,E=M.toString,A=E.call(Object),S={},Z=function(te){return"function"==typeof te&&"number"!=typeof te.nodeType&&"function"!=typeof te.item},oe=function(te){return null!=te&&te===te.window},le=u.document,ee={type:!0,src:!0,nonce:!0,noModule:!0};function K(D,te,Pe){var je,bt,vt=(Pe=Pe||le).createElement("script");if(vt.text=D,te)for(je in ee)(bt=te[je]||te.getAttribute&&te.getAttribute(je))&&vt.setAttribute(je,bt);Pe.head.appendChild(vt).parentNode.removeChild(vt)}function Q(D){return null==D?D+"":"object"==typeof D||"function"==typeof D?y[O.call(D)]||"object":typeof D}var q="3.7.1",H=/HTML$/i,T=function(D,te){return new T.fn.init(D,te)};function ie(D){var te=!!D&&"length"in D&&D.length,Pe=Q(D);return!Z(D)&&!oe(D)&&("array"===Pe||0===te||"number"==typeof te&&te>0&&te-1 in D)}function _e(D,te){return D.nodeName&&D.nodeName.toLowerCase()===te.toLowerCase()}T.fn=T.prototype={jquery:q,constructor:T,length:0,toArray:function(){return U.call(this)},get:function(D){return null==D?U.call(this):D<0?this[D+this.length]:this[D]},pushStack:function(D){var te=T.merge(this.constructor(),D);return te.prevObject=this,te},each:function(D){return T.each(this,D)},map:function(D){return this.pushStack(T.map(this,function(te,Pe){return D.call(te,Pe,te)}))},slice:function(){return this.pushStack(U.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(D,te){return(te+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(D,te){return te%2}))},eq:function(D){var te=this.length,Pe=+D+(D<0?te:0);return this.pushStack(Pe>=0&&Pe<te?[this[Pe]]:[])},end:function(){return this.prevObject||this.constructor()},push:I,sort:m.sort,splice:m.splice},T.extend=T.fn.extend=function(){var D,te,Pe,je,bt,vt,Lt=arguments[0]||{},gn=1,mn=arguments.length,In=!1;for("boolean"==typeof Lt&&(In=Lt,Lt=arguments[gn]||{},gn++),"object"!=typeof Lt&&!Z(Lt)&&(Lt={}),gn===mn&&(Lt=this,gn--);gn<mn;gn++)if(null!=(D=arguments[gn]))for(te in D)je=D[te],"__proto__"!==te&&Lt!==je&&(In&&je&&(T.isPlainObject(je)||(bt=Array.isArray(je)))?(Pe=Lt[te],vt=bt&&!Array.isArray(Pe)?[]:bt||T.isPlainObject(Pe)?Pe:{},bt=!1,Lt[te]=T.extend(In,vt,je)):void 0!==je&&(Lt[te]=je));return Lt},T.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(D){throw new Error(D)},noop:function(){},isPlainObject:function(D){var te,Pe;return!(!D||"[object Object]"!==O.call(D)||(te=p(D))&&("function"!=typeof(Pe=M.call(te,"constructor")&&te.constructor)||E.call(Pe)!==A))},isEmptyObject:function(D){var te;for(te in D)return!1;return!0},globalEval:function(D,te,Pe){K(D,{nonce:te&&te.nonce},Pe)},each:function(D,te){var Pe,je=0;if(ie(D))for(Pe=D.length;je<Pe&&!1!==te.call(D[je],je,D[je]);je++);else for(je in D)if(!1===te.call(D[je],je,D[je]))break;return D},text:function(D){var te,Pe="",je=0,bt=D.nodeType;if(!bt)for(;te=D[je++];)Pe+=T.text(te);return 1===bt||11===bt?D.textContent:9===bt?D.documentElement.textContent:3===bt||4===bt?D.nodeValue:Pe},makeArray:function(D,te){var Pe=te||[];return null!=D&&(ie(Object(D))?T.merge(Pe,"string"==typeof D?[D]:D):I.call(Pe,D)),Pe},inArray:function(D,te,Pe){return null==te?-1:L.call(te,D,Pe)},isXMLDoc:function(D){var Pe=D&&(D.ownerDocument||D).documentElement;return!H.test(D&&D.namespaceURI||Pe&&Pe.nodeName||"HTML")},merge:function(D,te){for(var Pe=+te.length,je=0,bt=D.length;je<Pe;je++)D[bt++]=te[je];return D.length=bt,D},grep:function(D,te,Pe){for(var bt=[],vt=0,Lt=D.length,gn=!Pe;vt<Lt;vt++)!te(D[vt],vt)!==gn&&bt.push(D[vt]);return bt},map:function(D,te,Pe){var je,bt,vt=0,Lt=[];if(ie(D))for(je=D.length;vt<je;vt++)null!=(bt=te(D[vt],vt,Pe))&&Lt.push(bt);else for(vt in D)null!=(bt=te(D[vt],vt,Pe))&&Lt.push(bt);return n(Lt)},guid:1,support:S}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=m[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(D,te){y["[object "+te+"]"]=te.toLowerCase()});var Ce=m.pop,Ve=m.sort,ae=m.splice,pe="[\\x20\\t\\r\\n\\f]",Ae=new RegExp("^"+pe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+pe+"+$","g");T.contains=function(D,te){var Pe=te&&te.parentNode;return D===Pe||!(!Pe||1!==Pe.nodeType||!(D.contains?D.contains(Pe):D.compareDocumentPosition&&16&D.compareDocumentPosition(Pe)))};var Ze=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function dt(D,te){return te?"\0"===D?"\ufffd":D.slice(0,-1)+"\\"+D.charCodeAt(D.length-1).toString(16)+" ":"\\"+D}T.escapeSelector=function(D){return(D+"").replace(Ze,dt)};var Fe=le,Xe=I;!function(){var D,te,Pe,je,bt,Lt,gn,mn,In,An,vt=Xe,ai=T.expando,Gn=0,yi=0,co=Ii(),Ao=Ii(),_o=Ii(),ar=Ii(),br=function(dn,Tn){return dn===Tn&&(bt=!0),0},Xr="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Ir="(?:\\\\[\\da-fA-F]{1,6}"+pe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",vo="\\["+pe+"*("+Ir+")(?:"+pe+"*([*^$|!~]?=)"+pe+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Ir+"))|)"+pe+"*\\]",ei=":("+Ir+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vo+")*)|.*)\\)|)",eo=new RegExp(pe+"+","g"),yo=new RegExp("^"+pe+"*,"+pe+"*"),Fr=new RegExp("^"+pe+"*([>+~]|"+pe+")"+pe+"*"),Cr=new RegExp(pe+"|>"),ut=new RegExp(ei),xt=new RegExp("^"+Ir+"$"),qe={ID:new RegExp("^#("+Ir+")"),CLASS:new RegExp("^\\.("+Ir+")"),TAG:new RegExp("^("+Ir+"|[*])"),ATTR:new RegExp("^"+vo),PSEUDO:new RegExp("^"+ei),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+pe+"*(even|odd|(([+-]|)(\\d*)n|)"+pe+"*(?:([+-]|)"+pe+"*(\\d+)|))"+pe+"*\\)|)","i"),bool:new RegExp("^(?:"+Xr+")$","i"),needsContext:new RegExp("^"+pe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+pe+"*((?:-\\d)?\\d*)"+pe+"*\\)|)(?=[^-]|$)","i")},Ht=/^(?:input|select|textarea|button)$/i,Cn=/^h\d$/i,li=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,At=/[+~]/,Si=new RegExp("\\\\[\\da-fA-F]{1,6}"+pe+"?|\\\\([^\\r\\n\\f])","g"),Gi=function(dn,Tn){var Zn="0x"+dn.slice(1)-65536;return Tn||(Zn<0?String.fromCharCode(Zn+65536):String.fromCharCode(Zn>>10|55296,1023&Zn|56320))},Or=function(){Br()},Vr=Ga(function(dn){return!0===dn.disabled&&_e(dn,"fieldset")},{dir:"parentNode",next:"legend"});try{vt.apply(m=U.call(Fe.childNodes),Fe.childNodes)}catch{vt={apply:function(Tn,Zn){Xe.apply(Tn,U.call(Zn))},call:function(Tn){Xe.apply(Tn,U.call(arguments,1))}}}function To(dn,Tn,Zn,Jn){var ti,Mi,Ri,zi,Ei,Po,oo,lo=Tn&&Tn.ownerDocument,Eo=Tn?Tn.nodeType:9;if(Zn=Zn||[],"string"!=typeof dn||!dn||1!==Eo&&9!==Eo&&11!==Eo)return Zn;if(!Jn&&(Br(Tn),Tn=Tn||Lt,mn)){if(11!==Eo&&(Ei=li.exec(dn)))if(ti=Ei[1]){if(9===Eo){if(!(Ri=Tn.getElementById(ti)))return Zn;if(Ri.id===ti)return vt.call(Zn,Ri),Zn}else if(lo&&(Ri=lo.getElementById(ti))&&To.contains(Tn,Ri)&&Ri.id===ti)return vt.call(Zn,Ri),Zn}else{if(Ei[2])return vt.apply(Zn,Tn.getElementsByTagName(dn)),Zn;if((ti=Ei[3])&&Tn.getElementsByClassName)return vt.apply(Zn,Tn.getElementsByClassName(ti)),Zn}if(!(ar[dn+" "]||In&&In.test(dn))){if(oo=dn,lo=Tn,1===Eo&&(Cr.test(dn)||Fr.test(dn))){for(((lo=At.test(dn)&&nr(Tn.parentNode)||Tn)!=Tn||!S.scope)&&((zi=Tn.getAttribute("id"))?zi=T.escapeSelector(zi):Tn.setAttribute("id",zi=ai)),Mi=(Po=Ur(dn)).length;Mi--;)Po[Mi]=(zi?"#"+zi:":scope")+" "+Ia(Po[Mi]);oo=Po.join(",")}try{return vt.apply(Zn,lo.querySelectorAll(oo)),Zn}catch{ar(dn,!0)}finally{zi===ai&&Tn.removeAttribute("id")}}}return us(dn.replace(Ae,"$1"),Tn,Zn,Jn)}function Ii(){var dn=[];return function Tn(Zn,Jn){return dn.push(Zn+" ")>te.cacheLength&&delete Tn[dn.shift()],Tn[Zn+" "]=Jn}}function no(dn){return dn[ai]=!0,dn}function ea(dn){var Tn=Lt.createElement("fieldset");try{return!!dn(Tn)}catch{return!1}finally{Tn.parentNode&&Tn.parentNode.removeChild(Tn),Tn=null}}function uo(dn){return function(Tn){return _e(Tn,"input")&&Tn.type===dn}}function qi(dn){return function(Tn){return(_e(Tn,"input")||_e(Tn,"button"))&&Tn.type===dn}}function zr(dn){return function(Tn){return"form"in Tn?Tn.parentNode&&!1===Tn.disabled?"label"in Tn?"label"in Tn.parentNode?Tn.parentNode.disabled===dn:Tn.disabled===dn:Tn.isDisabled===dn||Tn.isDisabled!==!dn&&Vr(Tn)===dn:Tn.disabled===dn:"label"in Tn&&Tn.disabled===dn}}function oa(dn){return no(function(Tn){return Tn=+Tn,no(function(Zn,Jn){for(var ti,Mi=dn([],Zn.length,Tn),Ri=Mi.length;Ri--;)Zn[ti=Mi[Ri]]&&(Zn[ti]=!(Jn[ti]=Zn[ti]))})})}function nr(dn){return dn&&typeof dn.getElementsByTagName<"u"&&dn}function Br(dn){var Tn,Zn=dn?dn.ownerDocument||dn:Fe;return Zn==Lt||9!==Zn.nodeType||!Zn.documentElement||(gn=(Lt=Zn).documentElement,mn=!T.isXMLDoc(Lt),An=gn.matches||gn.webkitMatchesSelector||gn.msMatchesSelector,gn.msMatchesSelector&&Fe!=Lt&&(Tn=Lt.defaultView)&&Tn.top!==Tn&&Tn.addEventListener("unload",Or),S.getById=ea(function(Jn){return gn.appendChild(Jn).id=T.expando,!Lt.getElementsByName||!Lt.getElementsByName(T.expando).length}),S.disconnectedMatch=ea(function(Jn){return An.call(Jn,"*")}),S.scope=ea(function(){return Lt.querySelectorAll(":scope")}),S.cssHas=ea(function(){try{return Lt.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),S.getById?(te.filter.ID=function(Jn){var ti=Jn.replace(Si,Gi);return function(Mi){return Mi.getAttribute("id")===ti}},te.find.ID=function(Jn,ti){if(typeof ti.getElementById<"u"&&mn){var Mi=ti.getElementById(Jn);return Mi?[Mi]:[]}}):(te.filter.ID=function(Jn){var ti=Jn.replace(Si,Gi);return function(Mi){var Ri=typeof Mi.getAttributeNode<"u"&&Mi.getAttributeNode("id");return Ri&&Ri.value===ti}},te.find.ID=function(Jn,ti){if(typeof ti.getElementById<"u"&&mn){var Mi,Ri,zi,Ei=ti.getElementById(Jn);if(Ei){if((Mi=Ei.getAttributeNode("id"))&&Mi.value===Jn)return[Ei];for(zi=ti.getElementsByName(Jn),Ri=0;Ei=zi[Ri++];)if((Mi=Ei.getAttributeNode("id"))&&Mi.value===Jn)return[Ei]}return[]}}),te.find.TAG=function(Jn,ti){return typeof ti.getElementsByTagName<"u"?ti.getElementsByTagName(Jn):ti.querySelectorAll(Jn)},te.find.CLASS=function(Jn,ti){if(typeof ti.getElementsByClassName<"u"&&mn)return ti.getElementsByClassName(Jn)},In=[],ea(function(Jn){var ti;gn.appendChild(Jn).innerHTML="<a id='"+ai+"' href='' disabled='disabled'></a><select id='"+ai+"-\r\\' disabled='disabled'><option selected=''></option></select>",Jn.querySelectorAll("[selected]").length||In.push("\\["+pe+"*(?:value|"+Xr+")"),Jn.querySelectorAll("[id~="+ai+"-]").length||In.push("~="),Jn.querySelectorAll("a#"+ai+"+*").length||In.push(".#.+[+~]"),Jn.querySelectorAll(":checked").length||In.push(":checked"),(ti=Lt.createElement("input")).setAttribute("type","hidden"),Jn.appendChild(ti).setAttribute("name","D"),gn.appendChild(Jn).disabled=!0,2!==Jn.querySelectorAll(":disabled").length&&In.push(":enabled",":disabled"),(ti=Lt.createElement("input")).setAttribute("name",""),Jn.appendChild(ti),Jn.querySelectorAll("[name='']").length||In.push("\\["+pe+"*name"+pe+"*="+pe+"*(?:''|\"\")")}),S.cssHas||In.push(":has"),In=In.length&&new RegExp(In.join("|")),br=function(Jn,ti){if(Jn===ti)return bt=!0,0;var Mi=!Jn.compareDocumentPosition-!ti.compareDocumentPosition;return Mi||(1&(Mi=(Jn.ownerDocument||Jn)==(ti.ownerDocument||ti)?Jn.compareDocumentPosition(ti):1)||!S.sortDetached&&ti.compareDocumentPosition(Jn)===Mi?Jn===Lt||Jn.ownerDocument==Fe&&To.contains(Fe,Jn)?-1:ti===Lt||ti.ownerDocument==Fe&&To.contains(Fe,ti)?1:je?L.call(je,Jn)-L.call(je,ti):0:4&Mi?-1:1)}),Lt}for(D in To.matches=function(dn,Tn){return To(dn,null,null,Tn)},To.matchesSelector=function(dn,Tn){if(Br(dn),mn&&!ar[Tn+" "]&&(!In||!In.test(Tn)))try{var Zn=An.call(dn,Tn);if(Zn||S.disconnectedMatch||dn.document&&11!==dn.document.nodeType)return Zn}catch{ar(Tn,!0)}return To(Tn,Lt,null,[dn]).length>0},To.contains=function(dn,Tn){return(dn.ownerDocument||dn)!=Lt&&Br(dn),T.contains(dn,Tn)},To.attr=function(dn,Tn){(dn.ownerDocument||dn)!=Lt&&Br(dn);var Zn=te.attrHandle[Tn.toLowerCase()],Jn=Zn&&M.call(te.attrHandle,Tn.toLowerCase())?Zn(dn,Tn,!mn):void 0;return void 0!==Jn?Jn:dn.getAttribute(Tn)},To.error=function(dn){throw new Error("Syntax error, unrecognized expression: "+dn)},T.uniqueSort=function(dn){var Tn,Zn=[],Jn=0,ti=0;if(bt=!S.sortStable,je=!S.sortStable&&U.call(dn,0),Ve.call(dn,br),bt){for(;Tn=dn[ti++];)Tn===dn[ti]&&(Jn=Zn.push(ti));for(;Jn--;)ae.call(dn,Zn[Jn],1)}return je=null,dn},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(U.apply(this)))},(te=T.expr={cacheLength:50,createPseudo:no,match:qe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(dn){return dn[1]=dn[1].replace(Si,Gi),dn[3]=(dn[3]||dn[4]||dn[5]||"").replace(Si,Gi),"~="===dn[2]&&(dn[3]=" "+dn[3]+" "),dn.slice(0,4)},CHILD:function(dn){return dn[1]=dn[1].toLowerCase(),"nth"===dn[1].slice(0,3)?(dn[3]||To.error(dn[0]),dn[4]=+(dn[4]?dn[5]+(dn[6]||1):2*("even"===dn[3]||"odd"===dn[3])),dn[5]=+(dn[7]+dn[8]||"odd"===dn[3])):dn[3]&&To.error(dn[0]),dn},PSEUDO:function(dn){var Tn,Zn=!dn[6]&&dn[2];return qe.CHILD.test(dn[0])?null:(dn[3]?dn[2]=dn[4]||dn[5]||"":Zn&&ut.test(Zn)&&(Tn=Ur(Zn,!0))&&(Tn=Zn.indexOf(")",Zn.length-Tn)-Zn.length)&&(dn[0]=dn[0].slice(0,Tn),dn[2]=Zn.slice(0,Tn)),dn.slice(0,3))}},filter:{TAG:function(dn){var Tn=dn.replace(Si,Gi).toLowerCase();return"*"===dn?function(){return!0}:function(Zn){return _e(Zn,Tn)}},CLASS:function(dn){var Tn=co[dn+" "];return Tn||(Tn=new RegExp("(^|"+pe+")"+dn+"("+pe+"|$)"))&&co(dn,function(Zn){return Tn.test("string"==typeof Zn.className&&Zn.className||typeof Zn.getAttribute<"u"&&Zn.getAttribute("class")||"")})},ATTR:function(dn,Tn,Zn){return function(Jn){var ti=To.attr(Jn,dn);return null==ti?"!="===Tn:!Tn||(ti+="","="===Tn?ti===Zn:"!="===Tn?ti!==Zn:"^="===Tn?Zn&&0===ti.indexOf(Zn):"*="===Tn?Zn&&ti.indexOf(Zn)>-1:"$="===Tn?Zn&&ti.slice(-Zn.length)===Zn:"~="===Tn?(" "+ti.replace(eo," ")+" ").indexOf(Zn)>-1:"|="===Tn&&(ti===Zn||ti.slice(0,Zn.length+1)===Zn+"-"))}},CHILD:function(dn,Tn,Zn,Jn,ti){var Mi="nth"!==dn.slice(0,3),Ri="last"!==dn.slice(-4),zi="of-type"===Tn;return 1===Jn&&0===ti?function(Ei){return!!Ei.parentNode}:function(Ei,Po,oo){var lo,Eo,to,ro,kr,vr=Mi!==Ri?"nextSibling":"previousSibling",Wo=Ei.parentNode,Te=zi&&Ei.nodeName.toLowerCase(),kt=!oo&&!zi,We=!1;if(Wo){if(Mi){for(;vr;){for(to=Ei;to=to[vr];)if(zi?_e(to,Te):1===to.nodeType)return!1;kr=vr="only"===dn&&!kr&&"nextSibling"}return!0}if(kr=[Ri?Wo.firstChild:Wo.lastChild],Ri&&kt){for(We=(ro=(lo=(Eo=Wo[ai]||(Wo[ai]={}))[dn]||[])[0]===Gn&&lo[1])&&lo[2],to=ro&&Wo.childNodes[ro];to=++ro&&to&&to[vr]||(We=ro=0)||kr.pop();)if(1===to.nodeType&&++We&&to===Ei){Eo[dn]=[Gn,ro,We];break}}else if(kt&&(We=ro=(lo=(Eo=Ei[ai]||(Ei[ai]={}))[dn]||[])[0]===Gn&&lo[1]),!1===We)for(;(to=++ro&&to&&to[vr]||(We=ro=0)||kr.pop())&&(!(zi?_e(to,Te):1===to.nodeType)||!++We||(kt&&((Eo=to[ai]||(to[ai]={}))[dn]=[Gn,We]),to!==Ei)););return(We-=ti)===Jn||We%Jn==0&&We/Jn>=0}}},PSEUDO:function(dn,Tn){var Zn,Jn=te.pseudos[dn]||te.setFilters[dn.toLowerCase()]||To.error("unsupported pseudo: "+dn);return Jn[ai]?Jn(Tn):Jn.length>1?(Zn=[dn,dn,"",Tn],te.setFilters.hasOwnProperty(dn.toLowerCase())?no(function(ti,Mi){for(var Ri,zi=Jn(ti,Tn),Ei=zi.length;Ei--;)ti[Ri=L.call(ti,zi[Ei])]=!(Mi[Ri]=zi[Ei])}):function(ti){return Jn(ti,0,Zn)}):Jn}},pseudos:{not:no(function(dn){var Tn=[],Zn=[],Jn=aa(dn.replace(Ae,"$1"));return Jn[ai]?no(function(ti,Mi,Ri,zi){for(var Ei,Po=Jn(ti,null,zi,[]),oo=ti.length;oo--;)(Ei=Po[oo])&&(ti[oo]=!(Mi[oo]=Ei))}):function(ti,Mi,Ri){return Tn[0]=ti,Jn(Tn,null,Ri,Zn),Tn[0]=null,!Zn.pop()}}),has:no(function(dn){return function(Tn){return To(dn,Tn).length>0}}),contains:no(function(dn){return dn=dn.replace(Si,Gi),function(Tn){return(Tn.textContent||T.text(Tn)).indexOf(dn)>-1}}),lang:no(function(dn){return xt.test(dn||"")||To.error("unsupported lang: "+dn),dn=dn.replace(Si,Gi).toLowerCase(),function(Tn){var Zn;do{if(Zn=mn?Tn.lang:Tn.getAttribute("xml:lang")||Tn.getAttribute("lang"))return(Zn=Zn.toLowerCase())===dn||0===Zn.indexOf(dn+"-")}while((Tn=Tn.parentNode)&&1===Tn.nodeType);return!1}}),target:function(dn){var Tn=u.location&&u.location.hash;return Tn&&Tn.slice(1)===dn.id},root:function(dn){return dn===gn},focus:function(dn){return dn===function qo(){try{return Lt.activeElement}catch{}}()&&Lt.hasFocus()&&!!(dn.type||dn.href||~dn.tabIndex)},enabled:zr(!1),disabled:zr(!0),checked:function(dn){return _e(dn,"input")&&!!dn.checked||_e(dn,"option")&&!!dn.selected},selected:function(dn){return!0===dn.selected},empty:function(dn){for(dn=dn.firstChild;dn;dn=dn.nextSibling)if(dn.nodeType<6)return!1;return!0},parent:function(dn){return!te.pseudos.empty(dn)},header:function(dn){return Cn.test(dn.nodeName)},input:function(dn){return Ht.test(dn.nodeName)},button:function(dn){return _e(dn,"input")&&"button"===dn.type||_e(dn,"button")},text:function(dn){var Tn;return _e(dn,"input")&&"text"===dn.type&&(null==(Tn=dn.getAttribute("type"))||"text"===Tn.toLowerCase())},first:oa(function(){return[0]}),last:oa(function(dn,Tn){return[Tn-1]}),eq:oa(function(dn,Tn,Zn){return[Zn<0?Zn+Tn:Zn]}),even:oa(function(dn,Tn){for(var Zn=0;Zn<Tn;Zn+=2)dn.push(Zn);return dn}),odd:oa(function(dn,Tn){for(var Zn=1;Zn<Tn;Zn+=2)dn.push(Zn);return dn}),lt:oa(function(dn,Tn,Zn){var Jn;for(Jn=Zn<0?Zn+Tn:Zn>Tn?Tn:Zn;--Jn>=0;)dn.push(Jn);return dn}),gt:oa(function(dn,Tn,Zn){for(var Jn=Zn<0?Zn+Tn:Zn;++Jn<Tn;)dn.push(Jn);return dn})}}).pseudos.nth=te.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})te.pseudos[D]=uo(D);for(D in{submit:!0,reset:!0})te.pseudos[D]=qi(D);function Sa(){}function Ur(dn,Tn){var Zn,Jn,ti,Mi,Ri,zi,Ei,Po=Ao[dn+" "];if(Po)return Tn?0:Po.slice(0);for(Ri=dn,zi=[],Ei=te.preFilter;Ri;){for(Mi in(!Zn||(Jn=yo.exec(Ri)))&&(Jn&&(Ri=Ri.slice(Jn[0].length)||Ri),zi.push(ti=[])),Zn=!1,(Jn=Fr.exec(Ri))&&(Zn=Jn.shift(),ti.push({value:Zn,type:Jn[0].replace(Ae," ")}),Ri=Ri.slice(Zn.length)),te.filter)(Jn=qe[Mi].exec(Ri))&&(!Ei[Mi]||(Jn=Ei[Mi](Jn)))&&(Zn=Jn.shift(),ti.push({value:Zn,type:Mi,matches:Jn}),Ri=Ri.slice(Zn.length));if(!Zn)break}return Tn?Ri.length:Ri?To.error(dn):Ao(dn,zi).slice(0)}function Ia(dn){for(var Tn=0,Zn=dn.length,Jn="";Tn<Zn;Tn++)Jn+=dn[Tn].value;return Jn}function Ga(dn,Tn,Zn){var Jn=Tn.dir,ti=Tn.next,Mi=ti||Jn,Ri=Zn&&"parentNode"===Mi,zi=yi++;return Tn.first?function(Ei,Po,oo){for(;Ei=Ei[Jn];)if(1===Ei.nodeType||Ri)return dn(Ei,Po,oo);return!1}:function(Ei,Po,oo){var lo,Eo,to=[Gn,zi];if(oo){for(;Ei=Ei[Jn];)if((1===Ei.nodeType||Ri)&&dn(Ei,Po,oo))return!0}else for(;Ei=Ei[Jn];)if(1===Ei.nodeType||Ri)if(Eo=Ei[ai]||(Ei[ai]={}),ti&&_e(Ei,ti))Ei=Ei[Jn]||Ei;else{if((lo=Eo[Mi])&&lo[0]===Gn&&lo[1]===zi)return to[2]=lo[2];if(Eo[Mi]=to,to[2]=dn(Ei,Po,oo))return!0}return!1}}function Ea(dn){return dn.length>1?function(Tn,Zn,Jn){for(var ti=dn.length;ti--;)if(!dn[ti](Tn,Zn,Jn))return!1;return!0}:dn[0]}function ra(dn,Tn,Zn,Jn,ti){for(var Mi,Ri=[],zi=0,Ei=dn.length,Po=null!=Tn;zi<Ei;zi++)(Mi=dn[zi])&&(!Zn||Zn(Mi,Jn,ti))&&(Ri.push(Mi),Po&&Tn.push(zi));return Ri}function ho(dn,Tn,Zn,Jn,ti,Mi){return Jn&&!Jn[ai]&&(Jn=ho(Jn)),ti&&!ti[ai]&&(ti=ho(ti,Mi)),no(function(Ri,zi,Ei,Po){var oo,lo,Eo,to,ro=[],kr=[],vr=zi.length,Wo=Ri||function xs(dn,Tn,Zn){for(var Jn=0,ti=Tn.length;Jn<ti;Jn++)To(dn,Tn[Jn],Zn);return Zn}(Tn||"*",Ei.nodeType?[Ei]:Ei,[]),Te=!dn||!Ri&&Tn?Wo:ra(Wo,ro,dn,Ei,Po);if(Zn?Zn(Te,to=ti||(Ri?dn:vr||Jn)?[]:zi,Ei,Po):to=Te,Jn)for(oo=ra(to,kr),Jn(oo,[],Ei,Po),lo=oo.length;lo--;)(Eo=oo[lo])&&(to[kr[lo]]=!(Te[kr[lo]]=Eo));if(Ri){if(ti||dn){if(ti){for(oo=[],lo=to.length;lo--;)(Eo=to[lo])&&oo.push(Te[lo]=Eo);ti(null,to=[],oo,Po)}for(lo=to.length;lo--;)(Eo=to[lo])&&(oo=ti?L.call(Ri,Eo):ro[lo])>-1&&(Ri[oo]=!(zi[oo]=Eo))}}else to=ra(to===zi?to.splice(vr,to.length):to),ti?ti(null,zi,to,Po):vt.apply(zi,to)})}function Ja(dn){for(var Tn,Zn,Jn,ti=dn.length,Mi=te.relative[dn[0].type],Ri=Mi||te.relative[" "],zi=Mi?1:0,Ei=Ga(function(lo){return lo===Tn},Ri,!0),Po=Ga(function(lo){return L.call(Tn,lo)>-1},Ri,!0),oo=[function(lo,Eo,to){var ro=!Mi&&(to||Eo!=Pe)||((Tn=Eo).nodeType?Ei(lo,Eo,to):Po(lo,Eo,to));return Tn=null,ro}];zi<ti;zi++)if(Zn=te.relative[dn[zi].type])oo=[Ga(Ea(oo),Zn)];else{if((Zn=te.filter[dn[zi].type].apply(null,dn[zi].matches))[ai]){for(Jn=++zi;Jn<ti&&!te.relative[dn[Jn].type];Jn++);return ho(zi>1&&Ea(oo),zi>1&&Ia(dn.slice(0,zi-1).concat({value:" "===dn[zi-2].type?"*":""})).replace(Ae,"$1"),Zn,zi<Jn&&Ja(dn.slice(zi,Jn)),Jn<ti&&Ja(dn=dn.slice(Jn)),Jn<ti&&Ia(dn))}oo.push(Zn)}return Ea(oo)}function aa(dn,Tn){var Zn,Jn=[],ti=[],Mi=_o[dn+" "];if(!Mi){for(Tn||(Tn=Ur(dn)),Zn=Tn.length;Zn--;)(Mi=Ja(Tn[Zn]))[ai]?Jn.push(Mi):ti.push(Mi);Mi=_o(dn,function Wa(dn,Tn){var Zn=Tn.length>0,Jn=dn.length>0,ti=function(Mi,Ri,zi,Ei,Po){var oo,lo,Eo,to=0,ro="0",kr=Mi&&[],vr=[],Wo=Pe,Te=Mi||Jn&&te.find.TAG("*",Po),kt=Gn+=null==Wo?1:Math.random()||.1,We=Te.length;for(Po&&(Pe=Ri==Lt||Ri||Po);ro!==We&&null!=(oo=Te[ro]);ro++){if(Jn&&oo){for(lo=0,!Ri&&oo.ownerDocument!=Lt&&(Br(oo),zi=!mn);Eo=dn[lo++];)if(Eo(oo,Ri||Lt,zi)){vt.call(Ei,oo);break}Po&&(Gn=kt)}Zn&&((oo=!Eo&&oo)&&to--,Mi&&kr.push(oo))}if(to+=ro,Zn&&ro!==to){for(lo=0;Eo=Tn[lo++];)Eo(kr,vr,Ri,zi);if(Mi){if(to>0)for(;ro--;)kr[ro]||vr[ro]||(vr[ro]=Ce.call(Ei));vr=ra(vr)}vt.apply(Ei,vr),Po&&!Mi&&vr.length>0&&to+Tn.length>1&&T.uniqueSort(Ei)}return Po&&(Gn=kt,Pe=Wo),kr};return Zn?no(ti):ti}(ti,Jn)),Mi.selector=dn}return Mi}function us(dn,Tn,Zn,Jn){var ti,Mi,Ri,zi,Ei,Po="function"==typeof dn&&dn,oo=!Jn&&Ur(dn=Po.selector||dn);if(Zn=Zn||[],1===oo.length){if((Mi=oo[0]=oo[0].slice(0)).length>2&&"ID"===(Ri=Mi[0]).type&&9===Tn.nodeType&&mn&&te.relative[Mi[1].type]){if(!(Tn=(te.find.ID(Ri.matches[0].replace(Si,Gi),Tn)||[])[0]))return Zn;Po&&(Tn=Tn.parentNode),dn=dn.slice(Mi.shift().value.length)}for(ti=qe.needsContext.test(dn)?0:Mi.length;ti--&&!te.relative[zi=(Ri=Mi[ti]).type];)if((Ei=te.find[zi])&&(Jn=Ei(Ri.matches[0].replace(Si,Gi),At.test(Mi[0].type)&&nr(Tn.parentNode)||Tn))){if(Mi.splice(ti,1),!(dn=Jn.length&&Ia(Mi)))return vt.apply(Zn,Jn),Zn;break}}return(Po||aa(dn,oo))(Jn,Tn,!mn,Zn,!Tn||At.test(dn)&&nr(Tn.parentNode)||Tn),Zn}Sa.prototype=te.filters=te.pseudos,te.setFilters=new Sa,S.sortStable=ai.split("").sort(br).join("")===ai,Br(),S.sortDetached=ea(function(dn){return 1&dn.compareDocumentPosition(Lt.createElement("fieldset"))}),T.find=To,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,To.compile=aa,To.select=us,To.setDocument=Br,To.tokenize=Ur,To.escape=T.escapeSelector,To.getText=T.text,To.isXML=T.isXMLDoc,To.selectors=T.expr,To.support=T.support,To.uniqueSort=T.uniqueSort}();var Ie=function(D,te,Pe){for(var je=[],bt=void 0!==Pe;(D=D[te])&&9!==D.nodeType;)if(1===D.nodeType){if(bt&&T(D).is(Pe))break;je.push(D)}return je},W=function(D,te){for(var Pe=[];D;D=D.nextSibling)1===D.nodeType&&D!==te&&Pe.push(D);return Pe},we=T.expr.match.needsContext,P=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(D,te,Pe){return Z(te)?T.grep(D,function(je,bt){return!!te.call(je,bt,je)!==Pe}):te.nodeType?T.grep(D,function(je){return je===te!==Pe}):"string"!=typeof te?T.grep(D,function(je){return L.call(te,je)>-1!==Pe}):T.filter(te,D,Pe)}T.filter=function(D,te,Pe){var je=te[0];return Pe&&(D=":not("+D+")"),1===te.length&&1===je.nodeType?T.find.matchesSelector(je,D)?[je]:[]:T.find.matches(D,T.grep(te,function(bt){return 1===bt.nodeType}))},T.fn.extend({find:function(D){var te,Pe,je=this.length,bt=this;if("string"!=typeof D)return this.pushStack(T(D).filter(function(){for(te=0;te<je;te++)if(T.contains(bt[te],this))return!0}));for(Pe=this.pushStack([]),te=0;te<je;te++)T.find(D,bt[te],Pe);return je>1?T.uniqueSort(Pe):Pe},filter:function(D){return this.pushStack(V(this,D||[],!1))},not:function(D){return this.pushStack(V(this,D||[],!0))},is:function(D){return!!V(this,"string"==typeof D&&we.test(D)?T(D):D||[],!1).length}});var Se,G=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,be=T.fn.init=function(D,te,Pe){var je,bt;if(!D)return this;if(Pe=Pe||Se,"string"==typeof D){if(!(je="<"===D[0]&&">"===D[D.length-1]&&D.length>=3?[null,D,null]:G.exec(D))||!je[1]&&te)return!te||te.jquery?(te||Pe).find(D):this.constructor(te).find(D);if(je[1]){if(T.merge(this,T.parseHTML(je[1],(te=te instanceof T?te[0]:te)&&te.nodeType?te.ownerDocument||te:le,!0)),P.test(je[1])&&T.isPlainObject(te))for(je in te)Z(this[je])?this[je](te[je]):this.attr(je,te[je]);return this}return(bt=le.getElementById(je[2]))&&(this[0]=bt,this.length=1),this}return D.nodeType?(this[0]=D,this.length=1,this):Z(D)?void 0!==Pe.ready?Pe.ready(D):D(T):T.makeArray(D,this)};be.prototype=T.fn,Se=T(le);var de=/^(?:parents|prev(?:Until|All))/,De={children:!0,contents:!0,next:!0,prev:!0};function tt(D,te){for(;(D=D[te])&&1!==D.nodeType;);return D}T.fn.extend({has:function(D){var te=T(D,this),Pe=te.length;return this.filter(function(){for(var je=0;je<Pe;je++)if(T.contains(this,te[je]))return!0})},closest:function(D,te){var Pe,je=0,bt=this.length,vt=[],Lt="string"!=typeof D&&T(D);if(!we.test(D))for(;je<bt;je++)for(Pe=this[je];Pe&&Pe!==te;Pe=Pe.parentNode)if(Pe.nodeType<11&&(Lt?Lt.index(Pe)>-1:1===Pe.nodeType&&T.find.matchesSelector(Pe,D))){vt.push(Pe);break}return this.pushStack(vt.length>1?T.uniqueSort(vt):vt)},index:function(D){return D?"string"==typeof D?L.call(T(D),this[0]):L.call(this,D.jquery?D[0]:D):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(D,te){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(D,te))))},addBack:function(D){return this.add(null==D?this.prevObject:this.prevObject.filter(D))}}),T.each({parent:function(D){var te=D.parentNode;return te&&11!==te.nodeType?te:null},parents:function(D){return Ie(D,"parentNode")},parentsUntil:function(D,te,Pe){return Ie(D,"parentNode",Pe)},next:function(D){return tt(D,"nextSibling")},prev:function(D){return tt(D,"previousSibling")},nextAll:function(D){return Ie(D,"nextSibling")},prevAll:function(D){return Ie(D,"previousSibling")},nextUntil:function(D,te,Pe){return Ie(D,"nextSibling",Pe)},prevUntil:function(D,te,Pe){return Ie(D,"previousSibling",Pe)},siblings:function(D){return W((D.parentNode||{}).firstChild,D)},children:function(D){return W(D.firstChild)},contents:function(D){return null!=D.contentDocument&&p(D.contentDocument)?D.contentDocument:(_e(D,"template")&&(D=D.content||D),T.merge([],D.childNodes))}},function(D,te){T.fn[D]=function(Pe,je){var bt=T.map(this,te,Pe);return"Until"!==D.slice(-5)&&(je=Pe),je&&"string"==typeof je&&(bt=T.filter(je,bt)),this.length>1&&(De[D]||T.uniqueSort(bt),de.test(D)&&bt.reverse()),this.pushStack(bt)}});var Re=/[^\x20\t\r\n\f]+/g;function mt(D){return D}function sn(D){throw D}function hn(D,te,Pe,je){var bt;try{D&&Z(bt=D.promise)?bt.call(D).done(te).fail(Pe):D&&Z(bt=D.then)?bt.call(D,te,Pe):te.apply(void 0,[D].slice(je))}catch(vt){Pe.apply(void 0,[vt])}}T.Callbacks=function(D){D="string"==typeof D?function Ft(D){var te={};return T.each(D.match(Re)||[],function(Pe,je){te[je]=!0}),te}(D):T.extend({},D);var te,Pe,je,bt,vt=[],Lt=[],gn=-1,mn=function(){for(bt=bt||D.once,je=te=!0;Lt.length;gn=-1)for(Pe=Lt.shift();++gn<vt.length;)!1===vt[gn].apply(Pe[0],Pe[1])&&D.stopOnFalse&&(gn=vt.length,Pe=!1);D.memory||(Pe=!1),te=!1,bt&&(vt=Pe?[]:"")},In={add:function(){return vt&&(Pe&&!te&&(gn=vt.length-1,Lt.push(Pe)),function An(ai){T.each(ai,function(Gn,yi){Z(yi)?(!D.unique||!In.has(yi))&&vt.push(yi):yi&&yi.length&&"string"!==Q(yi)&&An(yi)})}(arguments),Pe&&!te&&mn()),this},remove:function(){return T.each(arguments,function(An,ai){for(var Gn;(Gn=T.inArray(ai,vt,Gn))>-1;)vt.splice(Gn,1),Gn<=gn&&gn--}),this},has:function(An){return An?T.inArray(An,vt)>-1:vt.length>0},empty:function(){return vt&&(vt=[]),this},disable:function(){return bt=Lt=[],vt=Pe="",this},disabled:function(){return!vt},lock:function(){return bt=Lt=[],!Pe&&!te&&(vt=Pe=""),this},locked:function(){return!!bt},fireWith:function(An,ai){return bt||(ai=[An,(ai=ai||[]).slice?ai.slice():ai],Lt.push(ai),te||mn()),this},fire:function(){return In.fireWith(this,arguments),this},fired:function(){return!!je}};return In},T.extend({Deferred:function(D){var te=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],Pe="pending",je={state:function(){return Pe},always:function(){return bt.done(arguments).fail(arguments),this},catch:function(vt){return je.then(null,vt)},pipe:function(){var vt=arguments;return T.Deferred(function(Lt){T.each(te,function(gn,mn){var In=Z(vt[mn[4]])&&vt[mn[4]];bt[mn[1]](function(){var An=In&&In.apply(this,arguments);An&&Z(An.promise)?An.promise().progress(Lt.notify).done(Lt.resolve).fail(Lt.reject):Lt[mn[0]+"With"](this,In?[An]:arguments)})}),vt=null}).promise()},then:function(vt,Lt,gn){var mn=0;function In(An,ai,Gn,yi){return function(){var co=this,Ao=arguments,_o=function(){var br,Xr;if(!(An<mn)){if((br=Gn.apply(co,Ao))===ai.promise())throw new TypeError("Thenable self-resolution");Z(Xr=br&&("object"==typeof br||"function"==typeof br)&&br.then)?yi?Xr.call(br,In(mn,ai,mt,yi),In(mn,ai,sn,yi)):(mn++,Xr.call(br,In(mn,ai,mt,yi),In(mn,ai,sn,yi),In(mn,ai,mt,ai.notifyWith))):(Gn!==mt&&(co=void 0,Ao=[br]),(yi||ai.resolveWith)(co,Ao))}},ar=yi?_o:function(){try{_o()}catch(br){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(br,ar.error),An+1>=mn&&(Gn!==sn&&(co=void 0,Ao=[br]),ai.rejectWith(co,Ao))}};An?ar():(T.Deferred.getErrorHook?ar.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(ar.error=T.Deferred.getStackHook()),u.setTimeout(ar))}}return T.Deferred(function(An){te[0][3].add(In(0,An,Z(gn)?gn:mt,An.notifyWith)),te[1][3].add(In(0,An,Z(vt)?vt:mt)),te[2][3].add(In(0,An,Z(Lt)?Lt:sn))}).promise()},promise:function(vt){return null!=vt?T.extend(vt,je):je}},bt={};return T.each(te,function(vt,Lt){var gn=Lt[2],mn=Lt[5];je[Lt[1]]=gn.add,mn&&gn.add(function(){Pe=mn},te[3-vt][2].disable,te[3-vt][3].disable,te[0][2].lock,te[0][3].lock),gn.add(Lt[3].fire),bt[Lt[0]]=function(){return bt[Lt[0]+"With"](this===bt?void 0:this,arguments),this},bt[Lt[0]+"With"]=gn.fireWith}),je.promise(bt),D&&D.call(bt,bt),bt},when:function(D){var te=arguments.length,Pe=te,je=Array(Pe),bt=U.call(arguments),vt=T.Deferred(),Lt=function(gn){return function(mn){je[gn]=this,bt[gn]=arguments.length>1?U.call(arguments):mn,--te||vt.resolveWith(je,bt)}};if(te<=1&&(hn(D,vt.done(Lt(Pe)).resolve,vt.reject,!te),"pending"===vt.state()||Z(bt[Pe]&&bt[Pe].then)))return vt.then();for(;Pe--;)hn(bt[Pe],Lt(Pe),vt.reject);return vt.promise()}});var Nn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(D,te){u.console&&u.console.warn&&D&&Nn.test(D.name)&&u.console.warn("jQuery.Deferred exception: "+D.message,D.stack,te)},T.readyException=function(D){u.setTimeout(function(){throw D})};var Jt=T.Deferred();function cn(){le.removeEventListener("DOMContentLoaded",cn),u.removeEventListener("load",cn),T.ready()}T.fn.ready=function(D){return Jt.then(D).catch(function(te){T.readyException(te)}),this},T.extend({isReady:!1,readyWait:1,ready:function(D){(!0===D?--T.readyWait:T.isReady)||(T.isReady=!0,!(!0!==D&&--T.readyWait>0)&&Jt.resolveWith(le,[T]))}}),T.ready.then=Jt.then,"complete"===le.readyState||"loading"!==le.readyState&&!le.documentElement.doScroll?u.setTimeout(T.ready):(le.addEventListener("DOMContentLoaded",cn),u.addEventListener("load",cn));var He=function(D,te,Pe,je,bt,vt,Lt){var gn=0,mn=D.length,In=null==Pe;if("object"===Q(Pe))for(gn in bt=!0,Pe)He(D,te,gn,Pe[gn],!0,vt,Lt);else if(void 0!==je&&(bt=!0,Z(je)||(Lt=!0),In&&(Lt?(te.call(D,je),te=null):(In=te,te=function(An,ai,Gn){return In.call(T(An),Gn)})),te))for(;gn<mn;gn++)te(D[gn],Pe,Lt?je:je.call(D[gn],gn,te(D[gn],Pe)));return bt?D:In?te.call(D):mn?te(D[0],Pe):vt},fe=/^-ms-/,Ne=/-([a-z])/g;function $(D,te){return te.toUpperCase()}function Ee(D){return D.replace(fe,"ms-").replace(Ne,$)}var Ge=function(D){return 1===D.nodeType||9===D.nodeType||!+D.nodeType};function Ke(){this.expando=T.expando+Ke.uid++}Ke.uid=1,Ke.prototype={cache:function(D){var te=D[this.expando];return te||(te={},Ge(D)&&(D.nodeType?D[this.expando]=te:Object.defineProperty(D,this.expando,{value:te,configurable:!0}))),te},set:function(D,te,Pe){var je,bt=this.cache(D);if("string"==typeof te)bt[Ee(te)]=Pe;else for(je in te)bt[Ee(je)]=te[je];return bt},get:function(D,te){return void 0===te?this.cache(D):D[this.expando]&&D[this.expando][Ee(te)]},access:function(D,te,Pe){return void 0===te||te&&"string"==typeof te&&void 0===Pe?this.get(D,te):(this.set(D,te,Pe),void 0!==Pe?Pe:te)},remove:function(D,te){var Pe,je=D[this.expando];if(void 0!==je){if(void 0!==te)for((Pe=(te=Array.isArray(te)?te.map(Ee):(te=Ee(te))in je?[te]:te.match(Re)||[]).length);Pe--;)delete je[te[Pe]];(void 0===te||T.isEmptyObject(je))&&(D.nodeType?D[this.expando]=void 0:delete D[this.expando])}},hasData:function(D){var te=D[this.expando];return void 0!==te&&!T.isEmptyObject(te)}};var Et=new Ke,Tt=new Ke,tn=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,rn=/[A-Z]/g;function ft(D,te,Pe){var je;if(void 0===Pe&&1===D.nodeType)if(je="data-"+te.replace(rn,"-$&").toLowerCase(),"string"==typeof(Pe=D.getAttribute(je))){try{Pe=function Nt(D){return"true"===D||"false"!==D&&("null"===D?null:D===+D+""?+D:tn.test(D)?JSON.parse(D):D)}(Pe)}catch{}Tt.set(D,te,Pe)}else Pe=void 0;return Pe}T.extend({hasData:function(D){return Tt.hasData(D)||Et.hasData(D)},data:function(D,te,Pe){return Tt.access(D,te,Pe)},removeData:function(D,te){Tt.remove(D,te)},_data:function(D,te,Pe){return Et.access(D,te,Pe)},_removeData:function(D,te){Et.remove(D,te)}}),T.fn.extend({data:function(D,te){var Pe,je,bt,vt=this[0],Lt=vt&&vt.attributes;if(void 0===D){if(this.length&&(bt=Tt.get(vt),1===vt.nodeType&&!Et.get(vt,"hasDataAttrs"))){for(Pe=Lt.length;Pe--;)Lt[Pe]&&0===(je=Lt[Pe].name).indexOf("data-")&&(je=Ee(je.slice(5)),ft(vt,je,bt[je]));Et.set(vt,"hasDataAttrs",!0)}return bt}return"object"==typeof D?this.each(function(){Tt.set(this,D)}):He(this,function(gn){var mn;if(vt&&void 0===gn)return void 0!==(mn=Tt.get(vt,D))||void 0!==(mn=ft(vt,D))?mn:void 0;this.each(function(){Tt.set(this,D,gn)})},null,te,arguments.length>1,null,!0)},removeData:function(D){return this.each(function(){Tt.remove(this,D)})}}),T.extend({queue:function(D,te,Pe){var je;if(D)return je=Et.get(D,te=(te||"fx")+"queue"),Pe&&(!je||Array.isArray(Pe)?je=Et.access(D,te,T.makeArray(Pe)):je.push(Pe)),je||[]},dequeue:function(D,te){var Pe=T.queue(D,te=te||"fx"),je=Pe.length,bt=Pe.shift(),vt=T._queueHooks(D,te);"inprogress"===bt&&(bt=Pe.shift(),je--),bt&&("fx"===te&&Pe.unshift("inprogress"),delete vt.stop,bt.call(D,function(){T.dequeue(D,te)},vt)),!je&&vt&&vt.empty.fire()},_queueHooks:function(D,te){var Pe=te+"queueHooks";return Et.get(D,Pe)||Et.access(D,Pe,{empty:T.Callbacks("once memory").add(function(){Et.remove(D,[te+"queue",Pe])})})}}),T.fn.extend({queue:function(D,te){var Pe=2;return"string"!=typeof D&&(te=D,D="fx",Pe--),arguments.length<Pe?T.queue(this[0],D):void 0===te?this:this.each(function(){var je=T.queue(this,D,te);T._queueHooks(this,D),"fx"===D&&"inprogress"!==je[0]&&T.dequeue(this,D)})},dequeue:function(D){return this.each(function(){T.dequeue(this,D)})},clearQueue:function(D){return this.queue(D||"fx",[])},promise:function(D,te){var Pe,je=1,bt=T.Deferred(),vt=this,Lt=this.length,gn=function(){--je||bt.resolveWith(vt,[vt])};for("string"!=typeof D&&(te=D,D=void 0),D=D||"fx";Lt--;)(Pe=Et.get(vt[Lt],D+"queueHooks"))&&Pe.empty&&(je++,Pe.empty.add(gn));return gn(),bt.promise(te)}});var Bt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ue=new RegExp("^(?:([+-])=|)("+Bt+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],Ye=le.documentElement,zt=function(D){return T.contains(D.ownerDocument,D)},$t={composed:!0};Ye.getRootNode&&(zt=function(D){return T.contains(D.ownerDocument,D)||D.getRootNode($t)===D.ownerDocument});var Mn=function(D,te){return"none"===(D=te||D).style.display||""===D.style.display&&zt(D)&&"none"===T.css(D,"display")};function Wn(D,te,Pe,je){var bt,vt,Lt=20,gn=je?function(){return je.cur()}:function(){return T.css(D,te,"")},mn=gn(),In=Pe&&Pe[3]||(T.cssNumber[te]?"":"px"),An=D.nodeType&&(T.cssNumber[te]||"px"!==In&&+mn)&&Ue.exec(T.css(D,te));if(An&&An[3]!==In){for(In=In||An[3],An=+(mn/=2)||1;Lt--;)T.style(D,te,An+In),(1-vt)*(1-(vt=gn()/mn||.5))<=0&&(Lt=0),An/=vt;T.style(D,te,(An*=2)+In),Pe=Pe||[]}return Pe&&(An=+An||+mn||0,bt=Pe[1]?An+(Pe[1]+1)*Pe[2]:+Pe[2],je&&(je.unit=In,je.start=An,je.end=bt)),bt}var di={};function Pt(D){var te,Pe=D.ownerDocument,je=D.nodeName,bt=di[je];return bt||(te=Pe.body.appendChild(Pe.createElement(je)),bt=T.css(te,"display"),te.parentNode.removeChild(te),"none"===bt&&(bt="block"),di[je]=bt,bt)}function Xt(D,te){for(var Pe,je,bt=[],vt=0,Lt=D.length;vt<Lt;vt++)(je=D[vt]).style&&(Pe=je.style.display,te?("none"===Pe&&(bt[vt]=Et.get(je,"display")||null,bt[vt]||(je.style.display="")),""===je.style.display&&Mn(je)&&(bt[vt]=Pt(je))):"none"!==Pe&&(bt[vt]="none",Et.set(je,"display",Pe)));for(vt=0;vt<Lt;vt++)null!=bt[vt]&&(D[vt].style.display=bt[vt]);return D}T.fn.extend({show:function(){return Xt(this,!0)},hide:function(){return Xt(this)},toggle:function(D){return"boolean"==typeof D?D?this.show():this.hide():this.each(function(){Mn(this)?T(this).show():T(this).hide()})}});var te,Pe,Le=/^(?:checkbox|radio)$/i,ue=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,X=/^$|^module$|\/(?:java|ecma)script/i;te=le.createDocumentFragment().appendChild(le.createElement("div")),(Pe=le.createElement("input")).setAttribute("type","radio"),Pe.setAttribute("checked","checked"),Pe.setAttribute("name","t"),te.appendChild(Pe),S.checkClone=te.cloneNode(!0).cloneNode(!0).lastChild.checked,te.innerHTML="<textarea>x</textarea>",S.noCloneChecked=!!te.cloneNode(!0).lastChild.defaultValue,te.innerHTML="<option></option>",S.option=!!te.lastChild;var xe={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function et(D,te){var Pe;return Pe=typeof D.getElementsByTagName<"u"?D.getElementsByTagName(te||"*"):typeof D.querySelectorAll<"u"?D.querySelectorAll(te||"*"):[],void 0===te||te&&_e(D,te)?T.merge([D],Pe):Pe}function j(D,te){for(var Pe=0,je=D.length;Pe<je;Pe++)Et.set(D[Pe],"globalEval",!te||Et.get(te[Pe],"globalEval"))}xe.tbody=xe.tfoot=xe.colgroup=xe.caption=xe.thead,xe.th=xe.td,S.option||(xe.optgroup=xe.option=[1,"<select multiple='multiple'>","</select>"]);var F=/<|&#?\w+;/;function N(D,te,Pe,je,bt){for(var vt,Lt,gn,mn,In,An,ai=te.createDocumentFragment(),Gn=[],yi=0,co=D.length;yi<co;yi++)if((vt=D[yi])||0===vt)if("object"===Q(vt))T.merge(Gn,vt.nodeType?[vt]:vt);else if(F.test(vt)){for(Lt=Lt||ai.appendChild(te.createElement("div")),gn=(ue.exec(vt)||["",""])[1].toLowerCase(),Lt.innerHTML=(mn=xe[gn]||xe._default)[1]+T.htmlPrefilter(vt)+mn[2],An=mn[0];An--;)Lt=Lt.lastChild;T.merge(Gn,Lt.childNodes),(Lt=ai.firstChild).textContent=""}else Gn.push(te.createTextNode(vt));for(ai.textContent="",yi=0;vt=Gn[yi++];)if(je&&T.inArray(vt,je)>-1)bt&&bt.push(vt);else if(In=zt(vt),Lt=et(ai.appendChild(vt),"script"),In&&j(Lt),Pe)for(An=0;vt=Lt[An++];)X.test(vt.type||"")&&Pe.push(vt);return ai}var k=/^([^.]*)(?:\.(.+)|)/;function ne(){return!0}function z(){return!1}function re(D,te,Pe,je,bt,vt){var Lt,gn;if("object"==typeof te){for(gn in"string"!=typeof Pe&&(je=je||Pe,Pe=void 0),te)re(D,gn,Pe,je,te[gn],vt);return D}if(null==je&&null==bt?(bt=Pe,je=Pe=void 0):null==bt&&("string"==typeof Pe?(bt=je,je=void 0):(bt=je,je=Pe,Pe=void 0)),!1===bt)bt=z;else if(!bt)return D;return 1===vt&&(Lt=bt,bt=function(mn){return T().off(mn),Lt.apply(this,arguments)},bt.guid=Lt.guid||(Lt.guid=T.guid++)),D.each(function(){T.event.add(this,te,bt,je,Pe)})}function B(D,te,Pe){Pe?(Et.set(D,te,!1),T.event.add(D,te,{namespace:!1,handler:function(je){var bt,vt=Et.get(this,te);if(1&je.isTrigger&&this[te]){if(vt)(T.event.special[te]||{}).delegateType&&je.stopPropagation();else if(vt=U.call(arguments),Et.set(this,te,vt),this[te](),bt=Et.get(this,te),Et.set(this,te,!1),vt!==bt)return je.stopImmediatePropagation(),je.preventDefault(),bt}else vt&&(Et.set(this,te,T.event.trigger(vt[0],vt.slice(1),this)),je.stopPropagation(),je.isImmediatePropagationStopped=ne)}})):void 0===Et.get(D,te)&&T.event.add(D,te,ne)}T.event={global:{},add:function(D,te,Pe,je,bt){var vt,Lt,gn,mn,In,An,ai,Gn,yi,co,Ao,_o=Et.get(D);if(Ge(D))for(Pe.handler&&(Pe=(vt=Pe).handler,bt=vt.selector),bt&&T.find.matchesSelector(Ye,bt),Pe.guid||(Pe.guid=T.guid++),(mn=_o.events)||(mn=_o.events=Object.create(null)),(Lt=_o.handle)||(Lt=_o.handle=function(ar){return typeof T<"u"&&T.event.triggered!==ar.type?T.event.dispatch.apply(D,arguments):void 0}),In=(te=(te||"").match(Re)||[""]).length;In--;)yi=Ao=(gn=k.exec(te[In])||[])[1],co=(gn[2]||"").split(".").sort(),yi&&(ai=T.event.special[yi]||{},ai=T.event.special[yi=(bt?ai.delegateType:ai.bindType)||yi]||{},An=T.extend({type:yi,origType:Ao,data:je,handler:Pe,guid:Pe.guid,selector:bt,needsContext:bt&&T.expr.match.needsContext.test(bt),namespace:co.join(".")},vt),(Gn=mn[yi])||((Gn=mn[yi]=[]).delegateCount=0,(!ai.setup||!1===ai.setup.call(D,je,co,Lt))&&D.addEventListener&&D.addEventListener(yi,Lt)),ai.add&&(ai.add.call(D,An),An.handler.guid||(An.handler.guid=Pe.guid)),bt?Gn.splice(Gn.delegateCount++,0,An):Gn.push(An),T.event.global[yi]=!0)},remove:function(D,te,Pe,je,bt){var vt,Lt,gn,mn,In,An,ai,Gn,yi,co,Ao,_o=Et.hasData(D)&&Et.get(D);if(_o&&(mn=_o.events)){for(In=(te=(te||"").match(Re)||[""]).length;In--;)if(yi=Ao=(gn=k.exec(te[In])||[])[1],co=(gn[2]||"").split(".").sort(),yi){for(ai=T.event.special[yi]||{},Gn=mn[yi=(je?ai.delegateType:ai.bindType)||yi]||[],gn=gn[2]&&new RegExp("(^|\\.)"+co.join("\\.(?:.*\\.|)")+"(\\.|$)"),Lt=vt=Gn.length;vt--;)An=Gn[vt],(bt||Ao===An.origType)&&(!Pe||Pe.guid===An.guid)&&(!gn||gn.test(An.namespace))&&(!je||je===An.selector||"**"===je&&An.selector)&&(Gn.splice(vt,1),An.selector&&Gn.delegateCount--,ai.remove&&ai.remove.call(D,An));Lt&&!Gn.length&&((!ai.teardown||!1===ai.teardown.call(D,co,_o.handle))&&T.removeEvent(D,yi,_o.handle),delete mn[yi])}else for(yi in mn)T.event.remove(D,yi+te[In],Pe,je,!0);T.isEmptyObject(mn)&&Et.remove(D,"handle events")}},dispatch:function(D){var te,Pe,je,bt,vt,Lt,gn=new Array(arguments.length),mn=T.event.fix(D),In=(Et.get(this,"events")||Object.create(null))[mn.type]||[],An=T.event.special[mn.type]||{};for(gn[0]=mn,te=1;te<arguments.length;te++)gn[te]=arguments[te];if(mn.delegateTarget=this,!An.preDispatch||!1!==An.preDispatch.call(this,mn)){for(Lt=T.event.handlers.call(this,mn,In),te=0;(bt=Lt[te++])&&!mn.isPropagationStopped();)for(mn.currentTarget=bt.elem,Pe=0;(vt=bt.handlers[Pe++])&&!mn.isImmediatePropagationStopped();)(!mn.rnamespace||!1===vt.namespace||mn.rnamespace.test(vt.namespace))&&(mn.handleObj=vt,mn.data=vt.data,void 0!==(je=((T.event.special[vt.origType]||{}).handle||vt.handler).apply(bt.elem,gn))&&!1===(mn.result=je)&&(mn.preventDefault(),mn.stopPropagation()));return An.postDispatch&&An.postDispatch.call(this,mn),mn.result}},handlers:function(D,te){var Pe,je,bt,vt,Lt,gn=[],mn=te.delegateCount,In=D.target;if(mn&&In.nodeType&&!("click"===D.type&&D.button>=1))for(;In!==this;In=In.parentNode||this)if(1===In.nodeType&&("click"!==D.type||!0!==In.disabled)){for(vt=[],Lt={},Pe=0;Pe<mn;Pe++)void 0===Lt[bt=(je=te[Pe]).selector+" "]&&(Lt[bt]=je.needsContext?T(bt,this).index(In)>-1:T.find(bt,this,null,[In]).length),Lt[bt]&&vt.push(je);vt.length&&gn.push({elem:In,handlers:vt})}return In=this,mn<te.length&&gn.push({elem:In,handlers:te.slice(mn)}),gn},addProp:function(D,te){Object.defineProperty(T.Event.prototype,D,{enumerable:!0,configurable:!0,get:Z(te)?function(){if(this.originalEvent)return te(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[D]},set:function(Pe){Object.defineProperty(this,D,{enumerable:!0,configurable:!0,writable:!0,value:Pe})}})},fix:function(D){return D[T.expando]?D:new T.Event(D)},special:{load:{noBubble:!0},click:{setup:function(D){var te=this||D;return Le.test(te.type)&&te.click&&_e(te,"input")&&B(te,"click",!0),!1},trigger:function(D){var te=this||D;return Le.test(te.type)&&te.click&&_e(te,"input")&&B(te,"click"),!0},_default:function(D){var te=D.target;return Le.test(te.type)&&te.click&&_e(te,"input")&&Et.get(te,"click")||_e(te,"a")}},beforeunload:{postDispatch:function(D){void 0!==D.result&&D.originalEvent&&(D.originalEvent.returnValue=D.result)}}}},T.removeEvent=function(D,te,Pe){D.removeEventListener&&D.removeEventListener(te,Pe)},T.Event=function(D,te){if(!(this instanceof T.Event))return new T.Event(D,te);D&&D.type?(this.originalEvent=D,this.type=D.type,this.isDefaultPrevented=D.defaultPrevented||void 0===D.defaultPrevented&&!1===D.returnValue?ne:z,this.target=D.target&&3===D.target.nodeType?D.target.parentNode:D.target,this.currentTarget=D.currentTarget,this.relatedTarget=D.relatedTarget):this.type=D,te&&T.extend(this,te),this.timeStamp=D&&D.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:z,isPropagationStopped:z,isImmediatePropagationStopped:z,isSimulated:!1,preventDefault:function(){var D=this.originalEvent;this.isDefaultPrevented=ne,D&&!this.isSimulated&&D.preventDefault()},stopPropagation:function(){var D=this.originalEvent;this.isPropagationStopped=ne,D&&!this.isSimulated&&D.stopPropagation()},stopImmediatePropagation:function(){var D=this.originalEvent;this.isImmediatePropagationStopped=ne,D&&!this.isSimulated&&D.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(D,te){function Pe(je){if(le.documentMode){var bt=Et.get(this,"handle"),vt=T.event.fix(je);vt.type="focusin"===je.type?"focus":"blur",vt.isSimulated=!0,bt(je),vt.target===vt.currentTarget&&bt(vt)}else T.event.simulate(te,je.target,T.event.fix(je))}T.event.special[D]={setup:function(){var je;if(B(this,D,!0),!le.documentMode)return!1;(je=Et.get(this,te))||this.addEventListener(te,Pe),Et.set(this,te,(je||0)+1)},trigger:function(){return B(this,D),!0},teardown:function(){var je;if(!le.documentMode)return!1;(je=Et.get(this,te)-1)?Et.set(this,te,je):(this.removeEventListener(te,Pe),Et.remove(this,te))},_default:function(je){return Et.get(je.target,D)},delegateType:te},T.event.special[te]={setup:function(){var je=this.ownerDocument||this.document||this,bt=le.documentMode?this:je,vt=Et.get(bt,te);vt||(le.documentMode?this.addEventListener(te,Pe):je.addEventListener(D,Pe,!0)),Et.set(bt,te,(vt||0)+1)},teardown:function(){var je=this.ownerDocument||this.document||this,bt=le.documentMode?this:je,vt=Et.get(bt,te)-1;vt?Et.set(bt,te,vt):(le.documentMode?this.removeEventListener(te,Pe):je.removeEventListener(D,Pe,!0),Et.remove(bt,te))}}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(D,te){T.event.special[D]={delegateType:te,bindType:te,handle:function(Pe){var je,vt=Pe.relatedTarget,Lt=Pe.handleObj;return(!vt||vt!==this&&!T.contains(this,vt))&&(Pe.type=Lt.origType,je=Lt.handler.apply(this,arguments),Pe.type=te),je}}}),T.fn.extend({on:function(D,te,Pe,je){return re(this,D,te,Pe,je)},one:function(D,te,Pe,je){return re(this,D,te,Pe,je,1)},off:function(D,te,Pe){var je,bt;if(D&&D.preventDefault&&D.handleObj)return je=D.handleObj,T(D.delegateTarget).off(je.namespace?je.origType+"."+je.namespace:je.origType,je.selector,je.handler),this;if("object"==typeof D){for(bt in D)this.off(bt,te,D[bt]);return this}return(!1===te||"function"==typeof te)&&(Pe=te,te=void 0),!1===Pe&&(Pe=z),this.each(function(){T.event.remove(this,D,Pe,te)})}});var Y=/<script|<style|<link/i,Qe=/checked\s*(?:[^=]|=\s*.checked.)/i,_t=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Vt(D,te){return _e(D,"table")&&_e(11!==te.nodeType?te:te.firstChild,"tr")&&T(D).children("tbody")[0]||D}function bn(D){return D.type=(null!==D.getAttribute("type"))+"/"+D.type,D}function xn(D){return"true/"===(D.type||"").slice(0,5)?D.type=D.type.slice(5):D.removeAttribute("type"),D}function Fn(D,te){var Pe,je,bt,Lt,gn,mn;if(1===te.nodeType){if(Et.hasData(D)&&(mn=Et.get(D).events))for(bt in Et.remove(te,"handle events"),mn)for(Pe=0,je=mn[bt].length;Pe<je;Pe++)T.event.add(te,bt,mn[bt][Pe]);Tt.hasData(D)&&(Lt=Tt.access(D),gn=T.extend({},Lt),Tt.set(te,gn))}}function Ot(D,te){var Pe=te.nodeName.toLowerCase();"input"===Pe&&Le.test(D.type)?te.checked=D.checked:("input"===Pe||"textarea"===Pe)&&(te.defaultValue=D.defaultValue)}function En(D,te,Pe,je){te=n(te);var bt,vt,Lt,gn,mn,In,An=0,ai=D.length,Gn=ai-1,yi=te[0],co=Z(yi);if(co||ai>1&&"string"==typeof yi&&!S.checkClone&&Qe.test(yi))return D.each(function(Ao){var _o=D.eq(Ao);co&&(te[0]=yi.call(this,Ao,_o.html())),En(_o,te,Pe,je)});if(ai&&(vt=(bt=N(te,D[0].ownerDocument,!1,D,je)).firstChild,1===bt.childNodes.length&&(bt=vt),vt||je)){for(gn=(Lt=T.map(et(bt,"script"),bn)).length;An<ai;An++)mn=bt,An!==Gn&&(mn=T.clone(mn,!0,!0),gn&&T.merge(Lt,et(mn,"script"))),Pe.call(D[An],mn,An);if(gn)for(In=Lt[Lt.length-1].ownerDocument,T.map(Lt,xn),An=0;An<gn;An++)X.test((mn=Lt[An]).type||"")&&!Et.access(mn,"globalEval")&&T.contains(In,mn)&&(mn.src&&"module"!==(mn.type||"").toLowerCase()?T._evalUrl&&!mn.noModule&&T._evalUrl(mn.src,{nonce:mn.nonce||mn.getAttribute("nonce")},In):K(mn.textContent.replace(_t,""),mn,In))}return D}function ye(D,te,Pe){for(var je,bt=te?T.filter(te,D):D,vt=0;null!=(je=bt[vt]);vt++)!Pe&&1===je.nodeType&&T.cleanData(et(je)),je.parentNode&&(Pe&&zt(je)&&j(et(je,"script")),je.parentNode.removeChild(je));return D}T.extend({htmlPrefilter:function(D){return D},clone:function(D,te,Pe){var je,bt,vt,Lt,gn=D.cloneNode(!0),mn=zt(D);if(!(S.noCloneChecked||1!==D.nodeType&&11!==D.nodeType||T.isXMLDoc(D)))for(Lt=et(gn),je=0,bt=(vt=et(D)).length;je<bt;je++)Ot(vt[je],Lt[je]);if(te)if(Pe)for(vt=vt||et(D),Lt=Lt||et(gn),je=0,bt=vt.length;je<bt;je++)Fn(vt[je],Lt[je]);else Fn(D,gn);return(Lt=et(gn,"script")).length>0&&j(Lt,!mn&&et(D,"script")),gn},cleanData:function(D){for(var te,Pe,je,bt=T.event.special,vt=0;void 0!==(Pe=D[vt]);vt++)if(Ge(Pe)){if(te=Pe[Et.expando]){if(te.events)for(je in te.events)bt[je]?T.event.remove(Pe,je):T.removeEvent(Pe,je,te.handle);Pe[Et.expando]=void 0}Pe[Tt.expando]&&(Pe[Tt.expando]=void 0)}}}),T.fn.extend({detach:function(D){return ye(this,D,!0)},remove:function(D){return ye(this,D)},text:function(D){return He(this,function(te){return void 0===te?T.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=te)})},null,D,arguments.length)},append:function(){return En(this,arguments,function(D){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Vt(this,D).appendChild(D)})},prepend:function(){return En(this,arguments,function(D){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var te=Vt(this,D);te.insertBefore(D,te.firstChild)}})},before:function(){return En(this,arguments,function(D){this.parentNode&&this.parentNode.insertBefore(D,this)})},after:function(){return En(this,arguments,function(D){this.parentNode&&this.parentNode.insertBefore(D,this.nextSibling)})},empty:function(){for(var D,te=0;null!=(D=this[te]);te++)1===D.nodeType&&(T.cleanData(et(D,!1)),D.textContent="");return this},clone:function(D,te){return D=D??!1,te=te??D,this.map(function(){return T.clone(this,D,te)})},html:function(D){return He(this,function(te){var Pe=this[0]||{},je=0,bt=this.length;if(void 0===te&&1===Pe.nodeType)return Pe.innerHTML;if("string"==typeof te&&!Y.test(te)&&!xe[(ue.exec(te)||["",""])[1].toLowerCase()]){te=T.htmlPrefilter(te);try{for(;je<bt;je++)1===(Pe=this[je]||{}).nodeType&&(T.cleanData(et(Pe,!1)),Pe.innerHTML=te);Pe=0}catch{}}Pe&&this.empty().append(te)},null,D,arguments.length)},replaceWith:function(){var D=[];return En(this,arguments,function(te){var Pe=this.parentNode;T.inArray(this,D)<0&&(T.cleanData(et(this)),Pe&&Pe.replaceChild(te,this))},D)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(D,te){T.fn[D]=function(Pe){for(var je,bt=[],vt=T(Pe),Lt=vt.length-1,gn=0;gn<=Lt;gn++)je=gn===Lt?this:this.clone(!0),T(vt[gn])[te](je),I.apply(bt,je.get());return this.pushStack(bt)}});var It=new RegExp("^("+Bt+")(?!px)[a-z%]+$","i"),pt=/^--/,wt=function(D){var te=D.ownerDocument.defaultView;return(!te||!te.opener)&&(te=u),te.getComputedStyle(D)},$n=function(D,te,Pe){var je,bt,vt={};for(bt in te)vt[bt]=D.style[bt],D.style[bt]=te[bt];for(bt in je=Pe.call(D),te)D.style[bt]=vt[bt];return je},pn=new RegExp(nt.join("|"),"i");function Vn(D,te,Pe){var je,bt,vt,Lt,gn=pt.test(te),mn=D.style;return(Pe=Pe||wt(D))&&(Lt=Pe.getPropertyValue(te)||Pe[te],gn&&Lt&&(Lt=Lt.replace(Ae,"$1")||void 0),""===Lt&&!zt(D)&&(Lt=T.style(D,te)),!S.pixelBoxStyles()&&It.test(Lt)&&pn.test(te)&&(je=mn.width,bt=mn.minWidth,vt=mn.maxWidth,mn.minWidth=mn.maxWidth=mn.width=Lt,Lt=Pe.width,mn.width=je,mn.minWidth=bt,mn.maxWidth=vt)),void 0!==Lt?Lt+"":Lt}function Ct(D,te){return{get:function(){if(!D())return(this.get=te).apply(this,arguments);delete this.get}}}!function(){function D(){if(In){mn.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",In.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ye.appendChild(mn).appendChild(In);var An=u.getComputedStyle(In);Pe="1%"!==An.top,gn=12===te(An.marginLeft),In.style.right="60%",vt=36===te(An.right),je=36===te(An.width),In.style.position="absolute",bt=12===te(In.offsetWidth/3),Ye.removeChild(mn),In=null}}function te(An){return Math.round(parseFloat(An))}var Pe,je,bt,vt,Lt,gn,mn=le.createElement("div"),In=le.createElement("div");In.style&&(In.style.backgroundClip="content-box",In.cloneNode(!0).style.backgroundClip="",S.clearCloneStyle="content-box"===In.style.backgroundClip,T.extend(S,{boxSizingReliable:function(){return D(),je},pixelBoxStyles:function(){return D(),vt},pixelPosition:function(){return D(),Pe},reliableMarginLeft:function(){return D(),gn},scrollboxSize:function(){return D(),bt},reliableTrDimensions:function(){var An,ai,Gn,yi;return null==Lt&&(An=le.createElement("table"),ai=le.createElement("tr"),Gn=le.createElement("div"),An.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ai.style.cssText="box-sizing:content-box;border:1px solid",ai.style.height="1px",Gn.style.height="9px",Gn.style.display="block",Ye.appendChild(An).appendChild(ai).appendChild(Gn),yi=u.getComputedStyle(ai),Lt=parseInt(yi.height,10)+parseInt(yi.borderTopWidth,10)+parseInt(yi.borderBottomWidth,10)===ai.offsetHeight,Ye.removeChild(An)),Lt}}))}();var nn=["Webkit","Moz","ms"],Wt=le.createElement("div").style,Pn={};function jn(D){return T.cssProps[D]||Pn[D]||(D in Wt?D:Pn[D]=function Un(D){for(var te=D[0].toUpperCase()+D.slice(1),Pe=nn.length;Pe--;)if((D=nn[Pe]+te)in Wt)return D}(D)||D)}var ui=/^(none|table(?!-c[ea]).+)/,Ai={position:"absolute",visibility:"hidden",display:"block"},hi={letterSpacing:"0",fontWeight:"400"};function Xi(D,te,Pe){var je=Ue.exec(te);return je?Math.max(0,je[2]-(Pe||0))+(je[3]||"px"):te}function ao(D,te,Pe,je,bt,vt){var Lt="width"===te?1:0,gn=0,mn=0,In=0;if(Pe===(je?"border":"content"))return 0;for(;Lt<4;Lt+=2)"margin"===Pe&&(In+=T.css(D,Pe+nt[Lt],!0,bt)),je?("content"===Pe&&(mn-=T.css(D,"padding"+nt[Lt],!0,bt)),"margin"!==Pe&&(mn-=T.css(D,"border"+nt[Lt]+"Width",!0,bt))):(mn+=T.css(D,"padding"+nt[Lt],!0,bt),"padding"!==Pe?mn+=T.css(D,"border"+nt[Lt]+"Width",!0,bt):gn+=T.css(D,"border"+nt[Lt]+"Width",!0,bt));return!je&&vt>=0&&(mn+=Math.max(0,Math.ceil(D["offset"+te[0].toUpperCase()+te.slice(1)]-vt-mn-gn-.5))||0),mn+In}function xi(D,te,Pe){var je=wt(D),vt=(!S.boxSizingReliable()||Pe)&&"border-box"===T.css(D,"boxSizing",!1,je),Lt=vt,gn=Vn(D,te,je),mn="offset"+te[0].toUpperCase()+te.slice(1);if(It.test(gn)){if(!Pe)return gn;gn="auto"}return(!S.boxSizingReliable()&&vt||!S.reliableTrDimensions()&&_e(D,"tr")||"auto"===gn||!parseFloat(gn)&&"inline"===T.css(D,"display",!1,je))&&D.getClientRects().length&&(vt="border-box"===T.css(D,"boxSizing",!1,je),(Lt=mn in D)&&(gn=D[mn])),(gn=parseFloat(gn)||0)+ao(D,te,Pe||(vt?"border":"content"),Lt,je,gn)+"px"}function Bi(D,te,Pe,je,bt){return new Bi.prototype.init(D,te,Pe,je,bt)}T.extend({cssHooks:{opacity:{get:function(D,te){if(te){var Pe=Vn(D,"opacity");return""===Pe?"1":Pe}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(D,te,Pe,je){if(D&&3!==D.nodeType&&8!==D.nodeType&&D.style){var bt,vt,Lt,gn=Ee(te),mn=pt.test(te),In=D.style;if(mn||(te=jn(gn)),Lt=T.cssHooks[te]||T.cssHooks[gn],void 0===Pe)return Lt&&"get"in Lt&&void 0!==(bt=Lt.get(D,!1,je))?bt:In[te];if("string"==(vt=typeof Pe)&&(bt=Ue.exec(Pe))&&bt[1]&&(Pe=Wn(D,te,bt),vt="number"),null==Pe||Pe!=Pe)return;"number"===vt&&!mn&&(Pe+=bt&&bt[3]||(T.cssNumber[gn]?"":"px")),!S.clearCloneStyle&&""===Pe&&0===te.indexOf("background")&&(In[te]="inherit"),(!Lt||!("set"in Lt)||void 0!==(Pe=Lt.set(D,Pe,je)))&&(mn?In.setProperty(te,Pe):In[te]=Pe)}},css:function(D,te,Pe,je){var bt,vt,Lt,gn=Ee(te);return pt.test(te)||(te=jn(gn)),(Lt=T.cssHooks[te]||T.cssHooks[gn])&&"get"in Lt&&(bt=Lt.get(D,!0,Pe)),void 0===bt&&(bt=Vn(D,te,je)),"normal"===bt&&te in hi&&(bt=hi[te]),""===Pe||Pe?(vt=parseFloat(bt),!0===Pe||isFinite(vt)?vt||0:bt):bt}}),T.each(["height","width"],function(D,te){T.cssHooks[te]={get:function(Pe,je,bt){if(je)return!ui.test(T.css(Pe,"display"))||Pe.getClientRects().length&&Pe.getBoundingClientRect().width?xi(Pe,te,bt):$n(Pe,Ai,function(){return xi(Pe,te,bt)})},set:function(Pe,je,bt){var vt,Lt=wt(Pe),gn=!S.scrollboxSize()&&"absolute"===Lt.position,In=(gn||bt)&&"border-box"===T.css(Pe,"boxSizing",!1,Lt),An=bt?ao(Pe,te,bt,In,Lt):0;return In&&gn&&(An-=Math.ceil(Pe["offset"+te[0].toUpperCase()+te.slice(1)]-parseFloat(Lt[te])-ao(Pe,te,"border",!1,Lt)-.5)),An&&(vt=Ue.exec(je))&&"px"!==(vt[3]||"px")&&(Pe.style[te]=je,je=T.css(Pe,te)),Xi(0,je,An)}}}),T.cssHooks.marginLeft=Ct(S.reliableMarginLeft,function(D,te){if(te)return(parseFloat(Vn(D,"marginLeft"))||D.getBoundingClientRect().left-$n(D,{marginLeft:0},function(){return D.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(D,te){T.cssHooks[D+te]={expand:function(Pe){for(var je=0,bt={},vt="string"==typeof Pe?Pe.split(" "):[Pe];je<4;je++)bt[D+nt[je]+te]=vt[je]||vt[je-2]||vt[0];return bt}},"margin"!==D&&(T.cssHooks[D+te].set=Xi)}),T.fn.extend({css:function(D,te){return He(this,function(Pe,je,bt){var vt,Lt,gn={},mn=0;if(Array.isArray(je)){for(vt=wt(Pe),Lt=je.length;mn<Lt;mn++)gn[je[mn]]=T.css(Pe,je[mn],!1,vt);return gn}return void 0!==bt?T.style(Pe,je,bt):T.css(Pe,je)},D,te,arguments.length>1)}}),T.Tween=Bi,Bi.prototype={constructor:Bi,init:function(D,te,Pe,je,bt,vt){this.elem=D,this.prop=Pe,this.easing=bt||T.easing._default,this.options=te,this.start=this.now=this.cur(),this.end=je,this.unit=vt||(T.cssNumber[Pe]?"":"px")},cur:function(){var D=Bi.propHooks[this.prop];return D&&D.get?D.get(this):Bi.propHooks._default.get(this)},run:function(D){var te,Pe=Bi.propHooks[this.prop];return this.pos=te=this.options.duration?T.easing[this.easing](D,this.options.duration*D,0,1,this.options.duration):D,this.now=(this.end-this.start)*te+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),Pe&&Pe.set?Pe.set(this):Bi.propHooks._default.set(this),this}},Bi.prototype.init.prototype=Bi.prototype,Bi.propHooks={_default:{get:function(D){var te;return 1!==D.elem.nodeType||null!=D.elem[D.prop]&&null==D.elem.style[D.prop]?D.elem[D.prop]:(te=T.css(D.elem,D.prop,""))&&"auto"!==te?te:0},set:function(D){T.fx.step[D.prop]?T.fx.step[D.prop](D):1!==D.elem.nodeType||!T.cssHooks[D.prop]&&null==D.elem.style[jn(D.prop)]?D.elem[D.prop]=D.now:T.style(D.elem,D.prop,D.now+D.unit)}}},Bi.propHooks.scrollTop=Bi.propHooks.scrollLeft={set:function(D){D.elem.nodeType&&D.elem.parentNode&&(D.elem[D.prop]=D.now)}},T.easing={linear:function(D){return D},swing:function(D){return.5-Math.cos(D*Math.PI)/2},_default:"swing"},T.fx=Bi.prototype.init,T.fx.step={};var bo,Qi,On=/^(?:toggle|show|hide)$/,mi=/queueHooks$/;function Rt(){Qi&&(!1===le.hidden&&u.requestAnimationFrame?u.requestAnimationFrame(Rt):u.setTimeout(Rt,T.fx.interval),T.fx.tick())}function on(){return u.setTimeout(function(){bo=void 0}),bo=Date.now()}function ze(D,te){var Pe,je=0,bt={height:D};for(te=te?1:0;je<4;je+=2-te)bt["margin"+(Pe=nt[je])]=bt["padding"+Pe]=D;return te&&(bt.opacity=bt.width=D),bt}function en(D,te,Pe){for(var je,bt=(an.tweeners[te]||[]).concat(an.tweeners["*"]),vt=0,Lt=bt.length;vt<Lt;vt++)if(je=bt[vt].call(Pe,te,D))return je}function an(D,te,Pe){var je,bt,vt=0,Lt=an.prefilters.length,gn=T.Deferred().always(function(){delete mn.elem}),mn=function(){if(bt)return!1;for(var ai=bo||on(),Gn=Math.max(0,In.startTime+In.duration-ai),co=1-(Gn/In.duration||0),Ao=0,_o=In.tweens.length;Ao<_o;Ao++)In.tweens[Ao].run(co);return gn.notifyWith(D,[In,co,Gn]),co<1&&_o?Gn:(_o||gn.notifyWith(D,[In,1,0]),gn.resolveWith(D,[In]),!1)},In=gn.promise({elem:D,props:T.extend({},te),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},Pe),originalProperties:te,originalOptions:Pe,startTime:bo||on(),duration:Pe.duration,tweens:[],createTween:function(ai,Gn){var yi=T.Tween(D,In.opts,ai,Gn,In.opts.specialEasing[ai]||In.opts.easing);return In.tweens.push(yi),yi},stop:function(ai){var Gn=0,yi=ai?In.tweens.length:0;if(bt)return this;for(bt=!0;Gn<yi;Gn++)In.tweens[Gn].run(1);return ai?(gn.notifyWith(D,[In,1,0]),gn.resolveWith(D,[In,ai])):gn.rejectWith(D,[In,ai]),this}}),An=In.props;for(function Zt(D,te){var Pe,je,bt,vt,Lt;for(Pe in D)if(bt=te[je=Ee(Pe)],vt=D[Pe],Array.isArray(vt)&&(bt=vt[1],vt=D[Pe]=vt[0]),Pe!==je&&(D[je]=vt,delete D[Pe]),(Lt=T.cssHooks[je])&&"expand"in Lt)for(Pe in vt=Lt.expand(vt),delete D[je],vt)Pe in D||(D[Pe]=vt[Pe],te[Pe]=bt);else te[je]=bt}(An,In.opts.specialEasing);vt<Lt;vt++)if(je=an.prefilters[vt].call(In,D,An,In.opts))return Z(je.stop)&&(T._queueHooks(In.elem,In.opts.queue).stop=je.stop.bind(je)),je;return T.map(An,en,In),Z(In.opts.start)&&In.opts.start.call(D,In),In.progress(In.opts.progress).done(In.opts.done,In.opts.complete).fail(In.opts.fail).always(In.opts.always),T.fx.timer(T.extend(mn,{elem:D,anim:In,queue:In.opts.queue})),In}T.Animation=T.extend(an,{tweeners:{"*":[function(D,te){var Pe=this.createTween(D,te);return Wn(Pe.elem,D,Ue.exec(te),Pe),Pe}]},tweener:function(D,te){Z(D)?(te=D,D=["*"]):D=D.match(Re);for(var Pe,je=0,bt=D.length;je<bt;je++)(an.tweeners[Pe=D[je]]=an.tweeners[Pe]||[]).unshift(te)},prefilters:[function st(D,te,Pe){var je,bt,vt,Lt,gn,mn,In,An,ai="width"in te||"height"in te,Gn=this,yi={},co=D.style,Ao=D.nodeType&&Mn(D),_o=Et.get(D,"fxshow");for(je in Pe.queue||(null==(Lt=T._queueHooks(D,"fx")).unqueued&&(Lt.unqueued=0,gn=Lt.empty.fire,Lt.empty.fire=function(){Lt.unqueued||gn()}),Lt.unqueued++,Gn.always(function(){Gn.always(function(){Lt.unqueued--,T.queue(D,"fx").length||Lt.empty.fire()})})),te)if(On.test(bt=te[je])){if(delete te[je],vt=vt||"toggle"===bt,bt===(Ao?"hide":"show")){if("show"!==bt||!_o||void 0===_o[je])continue;Ao=!0}yi[je]=_o&&_o[je]||T.style(D,je)}if((mn=!T.isEmptyObject(te))||!T.isEmptyObject(yi))for(je in ai&&1===D.nodeType&&(Pe.overflow=[co.overflow,co.overflowX,co.overflowY],null==(In=_o&&_o.display)&&(In=Et.get(D,"display")),"none"===(An=T.css(D,"display"))&&(In?An=In:(Xt([D],!0),In=D.style.display||In,An=T.css(D,"display"),Xt([D]))),("inline"===An||"inline-block"===An&&null!=In)&&"none"===T.css(D,"float")&&(mn||(Gn.done(function(){co.display=In}),null==In&&(In="none"===(An=co.display)?"":An)),co.display="inline-block")),Pe.overflow&&(co.overflow="hidden",Gn.always(function(){co.overflow=Pe.overflow[0],co.overflowX=Pe.overflow[1],co.overflowY=Pe.overflow[2]})),mn=!1,yi)mn||(_o?"hidden"in _o&&(Ao=_o.hidden):_o=Et.access(D,"fxshow",{display:In}),vt&&(_o.hidden=!Ao),Ao&&Xt([D],!0),Gn.done(function(){for(je in Ao||Xt([D]),Et.remove(D,"fxshow"),yi)T.style(D,je,yi[je])})),mn=en(Ao?_o[je]:0,je,Gn),je in _o||(_o[je]=mn.start,Ao&&(mn.end=mn.start,mn.start=0))}],prefilter:function(D,te){te?an.prefilters.unshift(D):an.prefilters.push(D)}}),T.speed=function(D,te,Pe){var je=D&&"object"==typeof D?T.extend({},D):{complete:Pe||!Pe&&te||Z(D)&&D,duration:D,easing:Pe&&te||te&&!Z(te)&&te};return T.fx.off?je.duration=0:"number"!=typeof je.duration&&(je.duration=je.duration in T.fx.speeds?T.fx.speeds[je.duration]:T.fx.speeds._default),(null==je.queue||!0===je.queue)&&(je.queue="fx"),je.old=je.complete,je.complete=function(){Z(je.old)&&je.old.call(this),je.queue&&T.dequeue(this,je.queue)},je},T.fn.extend({fadeTo:function(D,te,Pe,je){return this.filter(Mn).css("opacity",0).show().end().animate({opacity:te},D,Pe,je)},animate:function(D,te,Pe,je){var bt=T.isEmptyObject(D),vt=T.speed(te,Pe,je),Lt=function(){var gn=an(this,T.extend({},D),vt);(bt||Et.get(this,"finish"))&&gn.stop(!0)};return Lt.finish=Lt,bt||!1===vt.queue?this.each(Lt):this.queue(vt.queue,Lt)},stop:function(D,te,Pe){var je=function(bt){var vt=bt.stop;delete bt.stop,vt(Pe)};return"string"!=typeof D&&(Pe=te,te=D,D=void 0),te&&this.queue(D||"fx",[]),this.each(function(){var bt=!0,vt=null!=D&&D+"queueHooks",Lt=T.timers,gn=Et.get(this);if(vt)gn[vt]&&gn[vt].stop&&je(gn[vt]);else for(vt in gn)gn[vt]&&gn[vt].stop&&mi.test(vt)&&je(gn[vt]);for(vt=Lt.length;vt--;)Lt[vt].elem===this&&(null==D||Lt[vt].queue===D)&&(Lt[vt].anim.stop(Pe),bt=!1,Lt.splice(vt,1));(bt||!Pe)&&T.dequeue(this,D)})},finish:function(D){return!1!==D&&(D=D||"fx"),this.each(function(){var te,Pe=Et.get(this),je=Pe[D+"queue"],bt=Pe[D+"queueHooks"],vt=T.timers,Lt=je?je.length:0;for(Pe.finish=!0,T.queue(this,D,[]),bt&&bt.stop&&bt.stop.call(this,!0),te=vt.length;te--;)vt[te].elem===this&&vt[te].queue===D&&(vt[te].anim.stop(!0),vt.splice(te,1));for(te=0;te<Lt;te++)je[te]&&je[te].finish&&je[te].finish.call(this);delete Pe.finish})}}),T.each(["toggle","show","hide"],function(D,te){var Pe=T.fn[te];T.fn[te]=function(je,bt,vt){return null==je||"boolean"==typeof je?Pe.apply(this,arguments):this.animate(ze(te,!0),je,bt,vt)}}),T.each({slideDown:ze("show"),slideUp:ze("hide"),slideToggle:ze("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(D,te){T.fn[D]=function(Pe,je,bt){return this.animate(te,Pe,je,bt)}}),T.timers=[],T.fx.tick=function(){var D,te=0,Pe=T.timers;for(bo=Date.now();te<Pe.length;te++)!(D=Pe[te])()&&Pe[te]===D&&Pe.splice(te--,1);Pe.length||T.fx.stop(),bo=void 0},T.fx.timer=function(D){T.timers.push(D),T.fx.start()},T.fx.interval=13,T.fx.start=function(){Qi||(Qi=!0,Rt())},T.fx.stop=function(){Qi=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(D,te){return D=T.fx&&T.fx.speeds[D]||D,this.queue(te=te||"fx",function(Pe,je){var bt=u.setTimeout(Pe,D);je.stop=function(){u.clearTimeout(bt)}})},function(){var D=le.createElement("input"),Pe=le.createElement("select").appendChild(le.createElement("option"));D.type="checkbox",S.checkOn=""!==D.value,S.optSelected=Pe.selected,(D=le.createElement("input")).value="t",D.type="radio",S.radioValue="t"===D.value}();var Xn,fi=T.expr.attrHandle;T.fn.extend({attr:function(D,te){return He(this,T.attr,D,te,arguments.length>1)},removeAttr:function(D){return this.each(function(){T.removeAttr(this,D)})}}),T.extend({attr:function(D,te,Pe){var je,bt,vt=D.nodeType;if(3!==vt&&8!==vt&&2!==vt)return typeof D.getAttribute>"u"?T.prop(D,te,Pe):((1!==vt||!T.isXMLDoc(D))&&(bt=T.attrHooks[te.toLowerCase()]||(T.expr.match.bool.test(te)?Xn:void 0)),void 0!==Pe?null===Pe?void T.removeAttr(D,te):bt&&"set"in bt&&void 0!==(je=bt.set(D,Pe,te))?je:(D.setAttribute(te,Pe+""),Pe):bt&&"get"in bt&&null!==(je=bt.get(D,te))?je:(je=T.find.attr(D,te))??void 0)},attrHooks:{type:{set:function(D,te){if(!S.radioValue&&"radio"===te&&_e(D,"input")){var Pe=D.value;return D.setAttribute("type",te),Pe&&(D.value=Pe),te}}}},removeAttr:function(D,te){var Pe,je=0,bt=te&&te.match(Re);if(bt&&1===D.nodeType)for(;Pe=bt[je++];)D.removeAttribute(Pe)}}),Xn={set:function(D,te,Pe){return!1===te?T.removeAttr(D,Pe):D.setAttribute(Pe,Pe),Pe}},T.each(T.expr.match.bool.source.match(/\w+/g),function(D,te){var Pe=fi[te]||T.find.attr;fi[te]=function(je,bt,vt){var Lt,gn,mn=bt.toLowerCase();return vt||(gn=fi[mn],fi[mn]=Lt,Lt=null!=Pe(je,bt,vt)?mn:null,fi[mn]=gn),Lt}});var Ui=/^(?:input|select|textarea|button)$/i,So=/^(?:a|area)$/i;function Lo(D){return(D.match(Re)||[]).join(" ")}function Co(D){return D.getAttribute&&D.getAttribute("class")||""}function Yo(D){return Array.isArray(D)?D:"string"==typeof D&&D.match(Re)||[]}T.fn.extend({prop:function(D,te){return He(this,T.prop,D,te,arguments.length>1)},removeProp:function(D){return this.each(function(){delete this[T.propFix[D]||D]})}}),T.extend({prop:function(D,te,Pe){var je,bt,vt=D.nodeType;if(3!==vt&&8!==vt&&2!==vt)return(1!==vt||!T.isXMLDoc(D))&&(bt=T.propHooks[te=T.propFix[te]||te]),void 0!==Pe?bt&&"set"in bt&&void 0!==(je=bt.set(D,Pe,te))?je:D[te]=Pe:bt&&"get"in bt&&null!==(je=bt.get(D,te))?je:D[te]},propHooks:{tabIndex:{get:function(D){var te=T.find.attr(D,"tabindex");return te?parseInt(te,10):Ui.test(D.nodeName)||So.test(D.nodeName)&&D.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(T.propHooks.selected={get:function(D){return null},set:function(D){}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(D){var te,Pe,je,bt,vt,Lt;return Z(D)?this.each(function(gn){T(this).addClass(D.call(this,gn,Co(this)))}):(te=Yo(D)).length?this.each(function(){if(je=Co(this),Pe=1===this.nodeType&&" "+Lo(je)+" "){for(vt=0;vt<te.length;vt++)Pe.indexOf(" "+(bt=te[vt])+" ")<0&&(Pe+=bt+" ");Lt=Lo(Pe),je!==Lt&&this.setAttribute("class",Lt)}}):this},removeClass:function(D){var te,Pe,je,bt,vt,Lt;return Z(D)?this.each(function(gn){T(this).removeClass(D.call(this,gn,Co(this)))}):arguments.length?(te=Yo(D)).length?this.each(function(){if(je=Co(this),Pe=1===this.nodeType&&" "+Lo(je)+" "){for(vt=0;vt<te.length;vt++)for(bt=te[vt];Pe.indexOf(" "+bt+" ")>-1;)Pe=Pe.replace(" "+bt+" "," ");Lt=Lo(Pe),je!==Lt&&this.setAttribute("class",Lt)}}):this:this.attr("class","")},toggleClass:function(D,te){var Pe,je,bt,vt,Lt=typeof D,gn="string"===Lt||Array.isArray(D);return Z(D)?this.each(function(mn){T(this).toggleClass(D.call(this,mn,Co(this),te),te)}):"boolean"==typeof te&&gn?te?this.addClass(D):this.removeClass(D):(Pe=Yo(D),this.each(function(){if(gn)for(vt=T(this),bt=0;bt<Pe.length;bt++)vt.hasClass(je=Pe[bt])?vt.removeClass(je):vt.addClass(je);else(void 0===D||"boolean"===Lt)&&((je=Co(this))&&Et.set(this,"__className__",je),this.setAttribute&&this.setAttribute("class",je||!1===D?"":Et.get(this,"__className__")||""))}))},hasClass:function(D){var te,Pe,je=0;for(te=" "+D+" ";Pe=this[je++];)if(1===Pe.nodeType&&(" "+Lo(Co(Pe))+" ").indexOf(te)>-1)return!0;return!1}});var $o=/\r/g;T.fn.extend({val:function(D){var te,Pe,je,bt=this[0];return arguments.length?(je=Z(D),this.each(function(vt){var Lt;1===this.nodeType&&(null==(Lt=je?D.call(this,vt,T(this).val()):D)?Lt="":"number"==typeof Lt?Lt+="":Array.isArray(Lt)&&(Lt=T.map(Lt,function(gn){return null==gn?"":gn+""})),(!(te=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])||!("set"in te)||void 0===te.set(this,Lt,"value"))&&(this.value=Lt))})):bt?(te=T.valHooks[bt.type]||T.valHooks[bt.nodeName.toLowerCase()])&&"get"in te&&void 0!==(Pe=te.get(bt,"value"))?Pe:"string"==typeof(Pe=bt.value)?Pe.replace($o,""):Pe??"":void 0}}),T.extend({valHooks:{option:{get:function(D){return T.find.attr(D,"value")??Lo(T.text(D))}},select:{get:function(D){var te,Pe,je,bt=D.options,vt=D.selectedIndex,Lt="select-one"===D.type,gn=Lt?null:[],mn=Lt?vt+1:bt.length;for(je=vt<0?mn:Lt?vt:0;je<mn;je++)if(((Pe=bt[je]).selected||je===vt)&&!Pe.disabled&&(!Pe.parentNode.disabled||!_e(Pe.parentNode,"optgroup"))){if(te=T(Pe).val(),Lt)return te;gn.push(te)}return gn},set:function(D,te){for(var Pe,je,bt=D.options,vt=T.makeArray(te),Lt=bt.length;Lt--;)((je=bt[Lt]).selected=T.inArray(T.valHooks.option.get(je),vt)>-1)&&(Pe=!0);return Pe||(D.selectedIndex=-1),vt}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(D,te){if(Array.isArray(te))return D.checked=T.inArray(T(D).val(),te)>-1}},S.checkOn||(T.valHooks[this].get=function(D){return null===D.getAttribute("value")?"on":D.value})});var tr=u.location,Mr={guid:Date.now()},cr=/\?/;T.parseXML=function(D){var te,Pe;if(!D||"string"!=typeof D)return null;try{te=(new u.DOMParser).parseFromString(D,"text/xml")}catch{}return Pe=te&&te.getElementsByTagName("parsererror")[0],(!te||Pe)&&T.error("Invalid XML: "+(Pe?T.map(Pe.childNodes,function(je){return je.textContent}).join("\n"):D)),te};var dr=/^(?:focusinfocus|focusoutblur)$/,qr=function(D){D.stopPropagation()};T.extend(T.event,{trigger:function(D,te,Pe,je){var bt,vt,Lt,gn,mn,In,An,ai,Gn=[Pe||le],yi=M.call(D,"type")?D.type:D,co=M.call(D,"namespace")?D.namespace.split("."):[];if(vt=ai=Lt=Pe=Pe||le,3!==Pe.nodeType&&8!==Pe.nodeType&&!dr.test(yi+T.event.triggered)&&(yi.indexOf(".")>-1&&(co=yi.split("."),yi=co.shift(),co.sort()),mn=yi.indexOf(":")<0&&"on"+yi,(D=D[T.expando]?D:new T.Event(yi,"object"==typeof D&&D)).isTrigger=je?2:3,D.namespace=co.join("."),D.rnamespace=D.namespace?new RegExp("(^|\\.)"+co.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,D.result=void 0,D.target||(D.target=Pe),te=null==te?[D]:T.makeArray(te,[D]),An=T.event.special[yi]||{},je||!An.trigger||!1!==An.trigger.apply(Pe,te))){if(!je&&!An.noBubble&&!oe(Pe)){for(dr.test((gn=An.delegateType||yi)+yi)||(vt=vt.parentNode);vt;vt=vt.parentNode)Gn.push(vt),Lt=vt;Lt===(Pe.ownerDocument||le)&&Gn.push(Lt.defaultView||Lt.parentWindow||u)}for(bt=0;(vt=Gn[bt++])&&!D.isPropagationStopped();)ai=vt,D.type=bt>1?gn:An.bindType||yi,(In=(Et.get(vt,"events")||Object.create(null))[D.type]&&Et.get(vt,"handle"))&&In.apply(vt,te),(In=mn&&vt[mn])&&In.apply&&Ge(vt)&&(D.result=In.apply(vt,te),!1===D.result&&D.preventDefault());return D.type=yi,!je&&!D.isDefaultPrevented()&&(!An._default||!1===An._default.apply(Gn.pop(),te))&&Ge(Pe)&&mn&&Z(Pe[yi])&&!oe(Pe)&&((Lt=Pe[mn])&&(Pe[mn]=null),T.event.triggered=yi,D.isPropagationStopped()&&ai.addEventListener(yi,qr),Pe[yi](),D.isPropagationStopped()&&ai.removeEventListener(yi,qr),T.event.triggered=void 0,Lt&&(Pe[mn]=Lt)),D.result}},simulate:function(D,te,Pe){var je=T.extend(new T.Event,Pe,{type:D,isSimulated:!0});T.event.trigger(je,null,te)}}),T.fn.extend({trigger:function(D,te){return this.each(function(){T.event.trigger(D,te,this)})},triggerHandler:function(D,te){var Pe=this[0];if(Pe)return T.event.trigger(D,te,Pe,!0)}});var Nr=/\[\]$/,Er=/\r?\n/g,ln=/^(?:submit|button|image|reset|file)$/i,Ci=/^(?:input|select|textarea|keygen)/i;function me(D,te,Pe,je){var bt;if(Array.isArray(te))T.each(te,function(vt,Lt){Pe||Nr.test(D)?je(D,Lt):me(D+"["+("object"==typeof Lt&&null!=Lt?vt:"")+"]",Lt,Pe,je)});else if(Pe||"object"!==Q(te))je(D,te);else for(bt in te)me(D+"["+bt+"]",te[bt],Pe,je)}T.param=function(D,te){var Pe,je=[],bt=function(vt,Lt){var gn=Z(Lt)?Lt():Lt;je[je.length]=encodeURIComponent(vt)+"="+encodeURIComponent(gn??"")};if(null==D)return"";if(Array.isArray(D)||D.jquery&&!T.isPlainObject(D))T.each(D,function(){bt(this.name,this.value)});else for(Pe in D)me(Pe,D[Pe],te,bt);return je.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var D=T.prop(this,"elements");return D?T.makeArray(D):this}).filter(function(){var D=this.type;return this.name&&!T(this).is(":disabled")&&Ci.test(this.nodeName)&&!ln.test(D)&&(this.checked||!Le.test(D))}).map(function(D,te){var Pe=T(this).val();return null==Pe?null:Array.isArray(Pe)?T.map(Pe,function(je){return{name:te.name,value:je.replace(Er,"\r\n")}}):{name:te.name,value:Pe.replace(Er,"\r\n")}}).get()}});var ct=/%20/g,it=/#.*$/,Yt=/([?&])_=[^&]*/,yn=/^(.*?):[ \t]*([^\r\n]*)$/gm,ur=/^(?:GET|HEAD)$/,hr=/^\/\//,Pr={},so={},lt="*/".concat("*"),Ut=le.createElement("a");function Kt(D){return function(te,Pe){"string"!=typeof te&&(Pe=te,te="*");var je,bt=0,vt=te.toLowerCase().match(Re)||[];if(Z(Pe))for(;je=vt[bt++];)"+"===je[0]?(je=je.slice(1)||"*",(D[je]=D[je]||[]).unshift(Pe)):(D[je]=D[je]||[]).push(Pe)}}function Qt(D,te,Pe,je){var bt={},vt=D===so;function Lt(gn){var mn;return bt[gn]=!0,T.each(D[gn]||[],function(In,An){var ai=An(te,Pe,je);return"string"!=typeof ai||vt||bt[ai]?vt?!(mn=ai):void 0:(te.dataTypes.unshift(ai),Lt(ai),!1)}),mn}return Lt(te.dataTypes[0])||!bt["*"]&&Lt("*")}function vn(D,te){var Pe,je,bt=T.ajaxSettings.flatOptions||{};for(Pe in te)void 0!==te[Pe]&&((bt[Pe]?D:je||(je={}))[Pe]=te[Pe]);return je&&T.extend(!0,D,je),D}Ut.href=tr.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tr.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(tr.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":lt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(D,te){return te?vn(vn(D,T.ajaxSettings),te):vn(T.ajaxSettings,D)},ajaxPrefilter:Kt(Pr),ajaxTransport:Kt(so),ajax:function(D,te){"object"==typeof D&&(te=D,D=void 0);var Pe,je,bt,vt,Lt,gn,mn,In,An,ai,Gn=T.ajaxSetup({},te=te||{}),yi=Gn.context||Gn,co=Gn.context&&(yi.nodeType||yi.jquery)?T(yi):T.event,Ao=T.Deferred(),_o=T.Callbacks("once memory"),ar=Gn.statusCode||{},br={},Xr={},Ir="canceled",vo={readyState:0,getResponseHeader:function(eo){var yo;if(mn){if(!vt)for(vt={};yo=yn.exec(bt);)vt[yo[1].toLowerCase()+" "]=(vt[yo[1].toLowerCase()+" "]||[]).concat(yo[2]);yo=vt[eo.toLowerCase()+" "]}return null==yo?null:yo.join(", ")},getAllResponseHeaders:function(){return mn?bt:null},setRequestHeader:function(eo,yo){return null==mn&&(eo=Xr[eo.toLowerCase()]=Xr[eo.toLowerCase()]||eo,br[eo]=yo),this},overrideMimeType:function(eo){return null==mn&&(Gn.mimeType=eo),this},statusCode:function(eo){var yo;if(eo)if(mn)vo.always(eo[vo.status]);else for(yo in eo)ar[yo]=[ar[yo],eo[yo]];return this},abort:function(eo){var yo=eo||Ir;return Pe&&Pe.abort(yo),ei(0,yo),this}};if(Ao.promise(vo),Gn.url=((D||Gn.url||tr.href)+"").replace(hr,tr.protocol+"//"),Gn.type=te.method||te.type||Gn.method||Gn.type,Gn.dataTypes=(Gn.dataType||"*").toLowerCase().match(Re)||[""],null==Gn.crossDomain){gn=le.createElement("a");try{gn.href=Gn.url,gn.href=gn.href,Gn.crossDomain=Ut.protocol+"//"+Ut.host!=gn.protocol+"//"+gn.host}catch{Gn.crossDomain=!0}}if(Gn.data&&Gn.processData&&"string"!=typeof Gn.data&&(Gn.data=T.param(Gn.data,Gn.traditional)),Qt(Pr,Gn,te,vo),mn)return vo;for(An in(In=T.event&&Gn.global)&&0==T.active++&&T.event.trigger("ajaxStart"),Gn.type=Gn.type.toUpperCase(),Gn.hasContent=!ur.test(Gn.type),je=Gn.url.replace(it,""),Gn.hasContent?Gn.data&&Gn.processData&&0===(Gn.contentType||"").indexOf("application/x-www-form-urlencoded")&&(Gn.data=Gn.data.replace(ct,"+")):(ai=Gn.url.slice(je.length),Gn.data&&(Gn.processData||"string"==typeof Gn.data)&&(je+=(cr.test(je)?"&":"?")+Gn.data,delete Gn.data),!1===Gn.cache&&(je=je.replace(Yt,"$1"),ai=(cr.test(je)?"&":"?")+"_="+Mr.guid+++ai),Gn.url=je+ai),Gn.ifModified&&(T.lastModified[je]&&vo.setRequestHeader("If-Modified-Since",T.lastModified[je]),T.etag[je]&&vo.setRequestHeader("If-None-Match",T.etag[je])),(Gn.data&&Gn.hasContent&&!1!==Gn.contentType||te.contentType)&&vo.setRequestHeader("Content-Type",Gn.contentType),vo.setRequestHeader("Accept",Gn.dataTypes[0]&&Gn.accepts[Gn.dataTypes[0]]?Gn.accepts[Gn.dataTypes[0]]+("*"!==Gn.dataTypes[0]?", "+lt+"; q=0.01":""):Gn.accepts["*"]),Gn.headers)vo.setRequestHeader(An,Gn.headers[An]);if(Gn.beforeSend&&(!1===Gn.beforeSend.call(yi,vo,Gn)||mn))return vo.abort();if(Ir="abort",_o.add(Gn.complete),vo.done(Gn.success),vo.fail(Gn.error),Pe=Qt(so,Gn,te,vo)){if(vo.readyState=1,In&&co.trigger("ajaxSend",[vo,Gn]),mn)return vo;Gn.async&&Gn.timeout>0&&(Lt=u.setTimeout(function(){vo.abort("timeout")},Gn.timeout));try{mn=!1,Pe.send(br,ei)}catch(eo){if(mn)throw eo;ei(-1,eo)}}else ei(-1,"No Transport");function ei(eo,yo,Fr,Cr){var ut,xt,qe,Ht,Cn,li=yo;mn||(mn=!0,Lt&&u.clearTimeout(Lt),Pe=void 0,bt=Cr||"",vo.readyState=eo>0?4:0,ut=eo>=200&&eo<300||304===eo,Fr&&(Ht=function kn(D,te,Pe){for(var je,bt,vt,Lt,gn=D.contents,mn=D.dataTypes;"*"===mn[0];)mn.shift(),void 0===je&&(je=D.mimeType||te.getResponseHeader("Content-Type"));if(je)for(bt in gn)if(gn[bt]&&gn[bt].test(je)){mn.unshift(bt);break}if(mn[0]in Pe)vt=mn[0];else{for(bt in Pe){if(!mn[0]||D.converters[bt+" "+mn[0]]){vt=bt;break}Lt||(Lt=bt)}vt=vt||Lt}if(vt)return vt!==mn[0]&&mn.unshift(vt),Pe[vt]}(Gn,vo,Fr)),!ut&&T.inArray("script",Gn.dataTypes)>-1&&T.inArray("json",Gn.dataTypes)<0&&(Gn.converters["text script"]=function(){}),Ht=function zn(D,te,Pe,je){var bt,vt,Lt,gn,mn,In={},An=D.dataTypes.slice();if(An[1])for(Lt in D.converters)In[Lt.toLowerCase()]=D.converters[Lt];for(vt=An.shift();vt;)if(D.responseFields[vt]&&(Pe[D.responseFields[vt]]=te),!mn&&je&&D.dataFilter&&(te=D.dataFilter(te,D.dataType)),mn=vt,vt=An.shift())if("*"===vt)vt=mn;else if("*"!==mn&&mn!==vt){if(!(Lt=In[mn+" "+vt]||In["* "+vt]))for(bt in In)if((gn=bt.split(" "))[1]===vt&&(Lt=In[mn+" "+gn[0]]||In["* "+gn[0]])){!0===Lt?Lt=In[bt]:!0!==In[bt]&&(vt=gn[0],An.unshift(gn[1]));break}if(!0!==Lt)if(Lt&&D.throws)te=Lt(te);else try{te=Lt(te)}catch(ai){return{state:"parsererror",error:Lt?ai:"No conversion from "+mn+" to "+vt}}}return{state:"success",data:te}}(Gn,Ht,vo,ut),ut?(Gn.ifModified&&((Cn=vo.getResponseHeader("Last-Modified"))&&(T.lastModified[je]=Cn),(Cn=vo.getResponseHeader("etag"))&&(T.etag[je]=Cn)),204===eo||"HEAD"===Gn.type?li="nocontent":304===eo?li="notmodified":(li=Ht.state,xt=Ht.data,ut=!(qe=Ht.error))):(qe=li,(eo||!li)&&(li="error",eo<0&&(eo=0))),vo.status=eo,vo.statusText=(yo||li)+"",ut?Ao.resolveWith(yi,[xt,li,vo]):Ao.rejectWith(yi,[vo,li,qe]),vo.statusCode(ar),ar=void 0,In&&co.trigger(ut?"ajaxSuccess":"ajaxError",[vo,Gn,ut?xt:qe]),_o.fireWith(yi,[vo,li]),In&&(co.trigger("ajaxComplete",[vo,Gn]),--T.active||T.event.trigger("ajaxStop")))}return vo},getJSON:function(D,te,Pe){return T.get(D,te,Pe,"json")},getScript:function(D,te){return T.get(D,void 0,te,"script")}}),T.each(["get","post"],function(D,te){T[te]=function(Pe,je,bt,vt){return Z(je)&&(vt=vt||bt,bt=je,je=void 0),T.ajax(T.extend({url:Pe,type:te,dataType:vt,data:je,success:bt},T.isPlainObject(Pe)&&Pe))}}),T.ajaxPrefilter(function(D){var te;for(te in D.headers)"content-type"===te.toLowerCase()&&(D.contentType=D.headers[te]||"")}),T._evalUrl=function(D,te,Pe){return T.ajax({url:D,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(je){T.globalEval(je,te,Pe)}})},T.fn.extend({wrapAll:function(D){var te;return this[0]&&(Z(D)&&(D=D.call(this[0])),te=T(D,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&te.insertBefore(this[0]),te.map(function(){for(var Pe=this;Pe.firstElementChild;)Pe=Pe.firstElementChild;return Pe}).append(this)),this},wrapInner:function(D){return Z(D)?this.each(function(te){T(this).wrapInner(D.call(this,te))}):this.each(function(){var te=T(this),Pe=te.contents();Pe.length?Pe.wrapAll(D):te.append(D)})},wrap:function(D){var te=Z(D);return this.each(function(Pe){T(this).wrapAll(te?D.call(this,Pe):D)})},unwrap:function(D){return this.parent(D).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(D){return!T.expr.pseudos.visible(D)},T.expr.pseudos.visible=function(D){return!!(D.offsetWidth||D.offsetHeight||D.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new u.XMLHttpRequest}catch{}};var gi={0:200,1223:204},oi=T.ajaxSettings.xhr();S.cors=!!oi&&"withCredentials"in oi,S.ajax=oi=!!oi,T.ajaxTransport(function(D){var te,Pe;if(S.cors||oi&&!D.crossDomain)return{send:function(je,bt){var vt,Lt=D.xhr();if(Lt.open(D.type,D.url,D.async,D.username,D.password),D.xhrFields)for(vt in D.xhrFields)Lt[vt]=D.xhrFields[vt];for(vt in D.mimeType&&Lt.overrideMimeType&&Lt.overrideMimeType(D.mimeType),!D.crossDomain&&!je["X-Requested-With"]&&(je["X-Requested-With"]="XMLHttpRequest"),je)Lt.setRequestHeader(vt,je[vt]);te=function(gn){return function(){te&&(te=Pe=Lt.onload=Lt.onerror=Lt.onabort=Lt.ontimeout=Lt.onreadystatechange=null,"abort"===gn?Lt.abort():"error"===gn?"number"!=typeof Lt.status?bt(0,"error"):bt(Lt.status,Lt.statusText):bt(gi[Lt.status]||Lt.status,Lt.statusText,"text"!==(Lt.responseType||"text")||"string"!=typeof Lt.responseText?{binary:Lt.response}:{text:Lt.responseText},Lt.getAllResponseHeaders()))}},Lt.onload=te(),Pe=Lt.onerror=Lt.ontimeout=te("error"),void 0!==Lt.onabort?Lt.onabort=Pe:Lt.onreadystatechange=function(){4===Lt.readyState&&u.setTimeout(function(){te&&Pe()})},te=te("abort");try{Lt.send(D.hasContent&&D.data||null)}catch(gn){if(te)throw gn}},abort:function(){te&&te()}}}),T.ajaxPrefilter(function(D){D.crossDomain&&(D.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(D){return T.globalEval(D),D}}}),T.ajaxPrefilter("script",function(D){void 0===D.cache&&(D.cache=!1),D.crossDomain&&(D.type="GET")}),T.ajaxTransport("script",function(D){var te,Pe;if(D.crossDomain||D.scriptAttrs)return{send:function(je,bt){te=T("<script>").attr(D.scriptAttrs||{}).prop({charset:D.scriptCharset,src:D.url}).on("load error",Pe=function(vt){te.remove(),Pe=null,vt&&bt("error"===vt.type?404:200,vt.type)}),le.head.appendChild(te[0])},abort:function(){Pe&&Pe()}}});var D,Pi=[],wi=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var D=Pi.pop()||T.expando+"_"+Mr.guid++;return this[D]=!0,D}}),T.ajaxPrefilter("json jsonp",function(D,te,Pe){var je,bt,vt,Lt=!1!==D.jsonp&&(wi.test(D.url)?"url":"string"==typeof D.data&&0===(D.contentType||"").indexOf("application/x-www-form-urlencoded")&&wi.test(D.data)&&"data");if(Lt||"jsonp"===D.dataTypes[0])return je=D.jsonpCallback=Z(D.jsonpCallback)?D.jsonpCallback():D.jsonpCallback,Lt?D[Lt]=D[Lt].replace(wi,"$1"+je):!1!==D.jsonp&&(D.url+=(cr.test(D.url)?"&":"?")+D.jsonp+"="+je),D.converters["script json"]=function(){return vt||T.error(je+" was not called"),vt[0]},D.dataTypes[0]="json",bt=u[je],u[je]=function(){vt=arguments},Pe.always(function(){void 0===bt?T(u).removeProp(je):u[je]=bt,D[je]&&(D.jsonpCallback=te.jsonpCallback,Pi.push(je)),vt&&Z(bt)&&bt(vt[0]),vt=bt=void 0}),"script"}),S.createHTMLDocument=((D=le.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===D.childNodes.length),T.parseHTML=function(D,te,Pe){return"string"!=typeof D?[]:("boolean"==typeof te&&(Pe=te,te=!1),te||(S.createHTMLDocument?((je=(te=le.implementation.createHTMLDocument("")).createElement("base")).href=le.location.href,te.head.appendChild(je)):te=le),vt=!Pe&&[],(bt=P.exec(D))?[te.createElement(bt[1])]:(bt=N([D],te,vt),vt&&vt.length&&T(vt).remove(),T.merge([],bt.childNodes)));var je,bt,vt},T.fn.load=function(D,te,Pe){var je,bt,vt,Lt=this,gn=D.indexOf(" ");return gn>-1&&(je=Lo(D.slice(gn)),D=D.slice(0,gn)),Z(te)?(Pe=te,te=void 0):te&&"object"==typeof te&&(bt="POST"),Lt.length>0&&T.ajax({url:D,type:bt||"GET",dataType:"html",data:te}).done(function(mn){vt=arguments,Lt.html(je?T("<div>").append(T.parseHTML(mn)).find(je):mn)}).always(Pe&&function(mn,In){Lt.each(function(){Pe.apply(this,vt||[mn.responseText,In,mn])})}),this},T.expr.pseudos.animated=function(D){return T.grep(T.timers,function(te){return D===te.elem}).length},T.offset={setOffset:function(D,te,Pe){var je,bt,vt,Lt,gn,mn,An=T.css(D,"position"),ai=T(D),Gn={};"static"===An&&(D.style.position="relative"),gn=ai.offset(),vt=T.css(D,"top"),mn=T.css(D,"left"),("absolute"===An||"fixed"===An)&&(vt+mn).indexOf("auto")>-1?(Lt=(je=ai.position()).top,bt=je.left):(Lt=parseFloat(vt)||0,bt=parseFloat(mn)||0),Z(te)&&(te=te.call(D,Pe,T.extend({},gn))),null!=te.top&&(Gn.top=te.top-gn.top+Lt),null!=te.left&&(Gn.left=te.left-gn.left+bt),"using"in te?te.using.call(D,Gn):ai.css(Gn)}},T.fn.extend({offset:function(D){if(arguments.length)return void 0===D?this:this.each(function(bt){T.offset.setOffset(this,D,bt)});var te,Pe,je=this[0];return je?je.getClientRects().length?{top:(te=je.getBoundingClientRect()).top+(Pe=je.ownerDocument.defaultView).pageYOffset,left:te.left+Pe.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var D,te,Pe,je=this[0],bt={top:0,left:0};if("fixed"===T.css(je,"position"))te=je.getBoundingClientRect();else{for(te=this.offset(),Pe=je.ownerDocument,D=je.offsetParent||Pe.documentElement;D&&(D===Pe.body||D===Pe.documentElement)&&"static"===T.css(D,"position");)D=D.parentNode;D&&D!==je&&1===D.nodeType&&((bt=T(D).offset()).top+=T.css(D,"borderTopWidth",!0),bt.left+=T.css(D,"borderLeftWidth",!0))}return{top:te.top-bt.top-T.css(je,"marginTop",!0),left:te.left-bt.left-T.css(je,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var D=this.offsetParent;D&&"static"===T.css(D,"position");)D=D.offsetParent;return D||Ye})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(D,te){var Pe="pageYOffset"===te;T.fn[D]=function(je){return He(this,function(bt,vt,Lt){var gn;if(oe(bt)?gn=bt:9===bt.nodeType&&(gn=bt.defaultView),void 0===Lt)return gn?gn[te]:bt[vt];gn?gn.scrollTo(Pe?gn.pageXOffset:Lt,Pe?Lt:gn.pageYOffset):bt[vt]=Lt},D,je,arguments.length)}}),T.each(["top","left"],function(D,te){T.cssHooks[te]=Ct(S.pixelPosition,function(Pe,je){if(je)return je=Vn(Pe,te),It.test(je)?T(Pe).position()[te]+"px":je})}),T.each({Height:"height",Width:"width"},function(D,te){T.each({padding:"inner"+D,content:te,"":"outer"+D},function(Pe,je){T.fn[je]=function(bt,vt){var Lt=arguments.length&&(Pe||"boolean"!=typeof bt),gn=Pe||(!0===bt||!0===vt?"margin":"border");return He(this,function(mn,In,An){var ai;return oe(mn)?0===je.indexOf("outer")?mn["inner"+D]:mn.document.documentElement["client"+D]:9===mn.nodeType?(ai=mn.documentElement,Math.max(mn.body["scroll"+D],ai["scroll"+D],mn.body["offset"+D],ai["offset"+D],ai["client"+D])):void 0===An?T.css(mn,In,gn):T.style(mn,In,An,gn)},te,Lt?bt:void 0,Lt)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(D,te){T.fn[te]=function(Pe){return this.on(te,Pe)}}),T.fn.extend({bind:function(D,te,Pe){return this.on(D,null,te,Pe)},unbind:function(D,te){return this.off(D,null,te)},delegate:function(D,te,Pe,je){return this.on(te,D,Pe,je)},undelegate:function(D,te,Pe){return 1===arguments.length?this.off(D,"**"):this.off(te,D||"**",Pe)},hover:function(D,te){return this.on("mouseenter",D).on("mouseleave",te||D)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(D,te){T.fn[te]=function(Pe,je){return arguments.length>0?this.on(te,null,Pe,je):this.trigger(te)}});var $i=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(D,te){var Pe,je,bt;if("string"==typeof te&&(Pe=D[te],te=D,D=Pe),Z(D))return je=U.call(arguments,2),bt=function(){return D.apply(te||this,je.concat(U.call(arguments)))},bt.guid=D.guid=D.guid||T.guid++,bt},T.holdReady=function(D){D?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=_e,T.isFunction=Z,T.isWindow=oe,T.camelCase=Ee,T.type=Q,T.now=Date.now,T.isNumeric=function(D){var te=T.type(D);return("number"===te||"string"===te)&&!isNaN(D-parseFloat(D))},T.trim=function(D){return null==D?"":(D+"").replace($i,"$1")},void 0!==(t=function(){return T}.apply($e,[]))&&(jt.exports=t);var ki=u.jQuery,Hi=u.$;return T.noConflict=function(D){return u.$===T&&(u.$=Hi),D&&u.jQuery===T&&(u.jQuery=ki),T},typeof e>"u"&&(u.jQuery=u.$=T),T})},9946:(jt,$e,s)=>{var t,u,e;window,u=[s(4139),s(9099)],void 0!==(e="function"==typeof(t=function(p,U){"use strict";var n=p.create("masonry");n.compatOptions.fitWidth="isFitWidth";var I=n.prototype;return I._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var L=0;L<this.cols;L++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},I.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var L=this.items[0],y=L&&L.element;this.columnWidth=y&&U(y).outerWidth||this.containerWidth}var O=this.columnWidth+=this.gutter,M=this.containerWidth+this.gutter,E=M/O,A=O-M%O;E=Math[A&&A<1?"round":"floor"](E),this.cols=Math.max(E,1)},I.getContainerWidth=function(){var L=this._getOption("fitWidth"),O=U(L?this.element.parentNode:this.element);this.containerWidth=O&&O.innerWidth},I._getItemLayoutPosition=function(L){L.getSize();var y=L.size.outerWidth%this.columnWidth,M=Math[y&&y<1?"round":"ceil"](L.size.outerWidth/this.columnWidth);M=Math.min(M,this.cols);for(var A=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](M,L),S={x:this.columnWidth*A.col,y:A.y},Z=A.y+L.size.outerHeight,oe=M+A.col,le=A.col;le<oe;le++)this.colYs[le]=Z;return S},I._getTopColPosition=function(L){var y=this._getTopColGroup(L),O=Math.min.apply(Math,y);return{col:y.indexOf(O),y:O}},I._getTopColGroup=function(L){if(L<2)return this.colYs;for(var y=[],O=this.cols+1-L,M=0;M<O;M++)y[M]=this._getColGroupY(M,L);return y},I._getColGroupY=function(L,y){if(y<2)return this.colYs[L];var O=this.colYs.slice(L,L+y);return Math.max.apply(Math,O)},I._getHorizontalColPosition=function(L,y){var O=this.horizontalColIndex%this.cols;return O=L>1&&O+L>this.cols?0:O,this.horizontalColIndex=y.size.outerWidth&&y.size.outerHeight?O+L:this.horizontalColIndex,{col:O,y:this._getColGroupY(O,L)}},I._manageStamp=function(L){var y=U(L),O=this._getElementOffset(L),E=this._getOption("originLeft")?O.left:O.right,A=E+y.outerWidth,S=Math.floor(E/this.columnWidth);S=Math.max(0,S);var Z=Math.floor(A/this.columnWidth);Z-=A%this.columnWidth?0:1,Z=Math.min(this.cols-1,Z);for(var le=(this._getOption("originTop")?O.top:O.bottom)+y.outerHeight,ee=S;ee<=Z;ee++)this.colYs[ee]=Math.max(le,this.colYs[ee])},I._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var L={height:this.maxY};return this._getOption("fitWidth")&&(L.width=this._getContainerFitWidth()),L},I._getContainerFitWidth=function(){for(var L=0,y=this.cols;--y&&0===this.colYs[y];)L++;return(this.cols-L)*this.columnWidth-this.gutter},I.needsResizeLayout=function(){var L=this.containerWidth;return this.getContainerWidth(),L!=this.containerWidth},n})?t.apply($e,u):t)&&(jt.exports=e)},3353:(jt,$e,s)=>{var t,u,e;window,u=[s(8507),s(9099)],void 0!==(e="function"==typeof(t=function(p,U){"use strict";var I=document.documentElement.style,L="string"==typeof I.transition?"transition":"WebkitTransition",y="string"==typeof I.transform?"transform":"WebkitTransform",O={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[L],M={transform:y,transition:L,transitionDuration:L+"Duration",transitionProperty:L+"Property",transitionDelay:L+"Delay"};function E(ee,K){ee&&(this.element=ee,this.layout=K,this.position={x:0,y:0},this._create())}var A=E.prototype=Object.create(p.prototype);A.constructor=E,A._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},A.handleEvent=function(ee){var K="on"+ee.type;this[K]&&this[K](ee)},A.getSize=function(){this.size=U(this.element)},A.css=function(ee){var K=this.element.style;for(var Q in ee)K[M[Q]||Q]=ee[Q]},A.getPosition=function(){var ee=getComputedStyle(this.element),K=this.layout._getOption("originLeft"),Q=this.layout._getOption("originTop"),q=ee[K?"left":"right"],H=ee[Q?"top":"bottom"],T=parseFloat(q),ie=parseFloat(H),_e=this.layout.size;-1!=q.indexOf("%")&&(T=T/100*_e.width),-1!=H.indexOf("%")&&(ie=ie/100*_e.height),T=isNaN(T)?0:T,ie=isNaN(ie)?0:ie,ie-=Q?_e.paddingTop:_e.paddingBottom,this.position.x=T-=K?_e.paddingLeft:_e.paddingRight,this.position.y=ie},A.layoutPosition=function(){var ee=this.layout.size,K={},Q=this.layout._getOption("originLeft"),q=this.layout._getOption("originTop"),ie=Q?"right":"left";K[Q?"left":"right"]=this.getXValue(this.position.x+ee[Q?"paddingLeft":"paddingRight"]),K[ie]="";var ae=q?"bottom":"top";K[q?"top":"bottom"]=this.getYValue(this.position.y+ee[q?"paddingTop":"paddingBottom"]),K[ae]="",this.css(K),this.emitEvent("layout",[this])},A.getXValue=function(ee){var K=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!K?ee/this.layout.size.width*100+"%":ee+"px"},A.getYValue=function(ee){var K=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&K?ee/this.layout.size.height*100+"%":ee+"px"},A._transitionTo=function(ee,K){this.getPosition();var Q=this.position.x,q=this.position.y,H=ee==this.position.x&&K==this.position.y;if(this.setPosition(ee,K),!H||this.isTransitioning){var _e={};_e.transform=this.getTranslate(ee-Q,K-q),this.transition({to:_e,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},A.getTranslate=function(ee,K){return"translate3d("+(ee=this.layout._getOption("originLeft")?ee:-ee)+"px, "+(K=this.layout._getOption("originTop")?K:-K)+"px, 0)"},A.goTo=function(ee,K){this.setPosition(ee,K),this.layoutPosition()},A.moveTo=A._transitionTo,A.setPosition=function(ee,K){this.position.x=parseFloat(ee),this.position.y=parseFloat(K)},A._nonTransition=function(ee){for(var K in this.css(ee.to),ee.isCleaning&&this._removeStyles(ee.to),ee.onTransitionEnd)ee.onTransitionEnd[K].call(this)},A.transition=function(ee){if(parseFloat(this.layout.options.transitionDuration)){var K=this._transn;for(var Q in ee.onTransitionEnd)K.onEnd[Q]=ee.onTransitionEnd[Q];for(Q in ee.to)K.ingProperties[Q]=!0,ee.isCleaning&&(K.clean[Q]=!0);ee.from&&this.css(ee.from),this.enableTransition(ee.to),this.css(ee.to),this.isTransitioning=!0}else this._nonTransition(ee)};var Z="opacity,"+function S(ee){return ee.replace(/([A-Z])/g,function(K){return"-"+K.toLowerCase()})}(y);A.enableTransition=function(){if(!this.isTransitioning){var ee=this.layout.options.transitionDuration;this.css({transitionProperty:Z,transitionDuration:ee="number"==typeof ee?ee+"ms":ee,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(O,this,!1)}},A.onwebkitTransitionEnd=function(ee){this.ontransitionend(ee)},A.onotransitionend=function(ee){this.ontransitionend(ee)};var oe={"-webkit-transform":"transform"};A.ontransitionend=function(ee){if(ee.target===this.element){var K=this._transn,Q=oe[ee.propertyName]||ee.propertyName;delete K.ingProperties[Q],function n(ee){for(var K in ee)return!1;return!0}(K.ingProperties)&&this.disableTransition(),Q in K.clean&&(this.element.style[ee.propertyName]="",delete K.clean[Q]),Q in K.onEnd&&(K.onEnd[Q].call(this),delete K.onEnd[Q]),this.emitEvent("transitionEnd",[this])}},A.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(O,this,!1),this.isTransitioning=!1},A._removeStyles=function(ee){var K={};for(var Q in ee)K[Q]="";this.css(K)};var le={transitionProperty:"",transitionDuration:"",transitionDelay:""};return A.removeTransitionStyles=function(){this.css(le)},A.stagger=function(ee){ee=isNaN(ee)?0:ee,this.staggerDelay=ee+"ms"},A.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},A.remove=function(){L&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},A.reveal=function(){delete this.isHidden,this.css({display:""});var ee=this.layout.options,K={};K[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:ee.hiddenStyle,to:ee.visibleStyle,isCleaning:!0,onTransitionEnd:K})},A.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},A.getHideRevealTransitionEndProperty=function(ee){var K=this.layout.options[ee];if(K.opacity)return"opacity";for(var Q in K)return Q},A.hide=function(){this.isHidden=!0,this.css({display:""});var ee=this.layout.options,K={};K[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:ee.visibleStyle,to:ee.hiddenStyle,isCleaning:!0,onTransitionEnd:K})},A.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},A.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},E})?t.apply($e,u):t)&&(jt.exports=e)},4139:(jt,$e,s)=>{var t,u;!function(e,m){"use strict";t=[s(8507),s(9099),s(7771),s(3353)],u=function(p,U,n,I){return function(m,p,U,n,I){var L=m.console,y=m.jQuery,O=function(){},M=0,E={};function A(ee,K){var Q=n.getQueryElement(ee);if(Q){this.element=Q,y&&(this.$element=y(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(K);var q=++M;this.element.outlayerGUID=q,E[q]=this,this._create(),this._getOption("initLayout")&&this.layout()}else L&&L.error("Bad element for "+this.constructor.namespace+": "+(Q||ee))}A.namespace="outlayer",A.Item=I,A.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var S=A.prototype;function Z(ee){function K(){ee.apply(this,arguments)}return(K.prototype=Object.create(ee.prototype)).constructor=K,K}n.extend(S,p.prototype),S.option=function(ee){n.extend(this.options,ee)},S._getOption=function(ee){var K=this.constructor.compatOptions[ee];return K&&void 0!==this.options[K]?this.options[K]:this.options[ee]},A.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},S._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},S.reloadItems=function(){this.items=this._itemize(this.element.children)},S._itemize=function(ee){for(var K=this._filterFindItemElements(ee),Q=this.constructor.Item,q=[],H=0;H<K.length;H++){var ie=new Q(K[H],this);q.push(ie)}return q},S._filterFindItemElements=function(ee){return n.filterFindElements(ee,this.options.itemSelector)},S.getItemElements=function(){return this.items.map(function(ee){return ee.element})},S.layout=function(){this._resetLayout(),this._manageStamps();var ee=this._getOption("layoutInstant");this.layoutItems(this.items,void 0!==ee?ee:!this._isLayoutInited),this._isLayoutInited=!0},S._init=S.layout,S._resetLayout=function(){this.getSize()},S.getSize=function(){this.size=U(this.element)},S._getMeasurement=function(ee,K){var q,Q=this.options[ee];Q?("string"==typeof Q?q=this.element.querySelector(Q):Q instanceof HTMLElement&&(q=Q),this[ee]=q?U(q)[K]:Q):this[ee]=0},S.layoutItems=function(ee,K){ee=this._getItemsForLayout(ee),this._layoutItems(ee,K),this._postLayout()},S._getItemsForLayout=function(ee){return ee.filter(function(K){return!K.isIgnored})},S._layoutItems=function(ee,K){if(this._emitCompleteOnItems("layout",ee),ee&&ee.length){var Q=[];ee.forEach(function(q){var H=this._getItemLayoutPosition(q);H.item=q,H.isInstant=K||q.isLayoutInstant,Q.push(H)},this),this._processLayoutQueue(Q)}},S._getItemLayoutPosition=function(){return{x:0,y:0}},S._processLayoutQueue=function(ee){this.updateStagger(),ee.forEach(function(K,Q){this._positionItem(K.item,K.x,K.y,K.isInstant,Q)},this)},S.updateStagger=function(){var ee=this.options.stagger;if(null!=ee)return this.stagger=function le(ee){if("number"==typeof ee)return ee;var K=ee.match(/(^\d*\.?\d*)(\w*)/),Q=K&&K[1],q=K&&K[2];return Q.length?(Q=parseFloat(Q))*(oe[q]||1):0}(ee),this.stagger;this.stagger=0},S._positionItem=function(ee,K,Q,q,H){q?ee.goTo(K,Q):(ee.stagger(H*this.stagger),ee.moveTo(K,Q))},S._postLayout=function(){this.resizeContainer()},S.resizeContainer=function(){if(this._getOption("resizeContainer")){var K=this._getContainerSize();K&&(this._setContainerMeasure(K.width,!0),this._setContainerMeasure(K.height,!1))}},S._getContainerSize=O,S._setContainerMeasure=function(ee,K){if(void 0!==ee){var Q=this.size;Q.isBorderBox&&(ee+=K?Q.paddingLeft+Q.paddingRight+Q.borderLeftWidth+Q.borderRightWidth:Q.paddingBottom+Q.paddingTop+Q.borderTopWidth+Q.borderBottomWidth),ee=Math.max(ee,0),this.element.style[K?"width":"height"]=ee+"px"}},S._emitCompleteOnItems=function(ee,K){var Q=this;function q(){Q.dispatchEvent(ee+"Complete",null,[K])}var H=K.length;if(K&&H){var T=0;K.forEach(function(_e){_e.once(ee,ie)})}else q();function ie(){++T==H&&q()}},S.dispatchEvent=function(ee,K,Q){var q=K?[K].concat(Q):Q;if(this.emitEvent(ee,q),y)if(this.$element=this.$element||y(this.element),K){var H=y.Event(K);H.type=ee,this.$element.trigger(H,Q)}else this.$element.trigger(ee,Q)},S.ignore=function(ee){var K=this.getItem(ee);K&&(K.isIgnored=!0)},S.unignore=function(ee){var K=this.getItem(ee);K&&delete K.isIgnored},S.stamp=function(ee){(ee=this._find(ee))&&(this.stamps=this.stamps.concat(ee),ee.forEach(this.ignore,this))},S.unstamp=function(ee){(ee=this._find(ee))&&ee.forEach(function(K){n.removeFrom(this.stamps,K),this.unignore(K)},this)},S._find=function(ee){if(ee)return"string"==typeof ee&&(ee=this.element.querySelectorAll(ee)),n.makeArray(ee)},S._manageStamps=function(){!this.stamps||!this.stamps.length||(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},S._getBoundingRect=function(){var ee=this.element.getBoundingClientRect(),K=this.size;this._boundingRect={left:ee.left+K.paddingLeft+K.borderLeftWidth,top:ee.top+K.paddingTop+K.borderTopWidth,right:ee.right-(K.paddingRight+K.borderRightWidth),bottom:ee.bottom-(K.paddingBottom+K.borderBottomWidth)}},S._manageStamp=O,S._getElementOffset=function(ee){var K=ee.getBoundingClientRect(),Q=this._boundingRect,q=U(ee);return{left:K.left-Q.left-q.marginLeft,top:K.top-Q.top-q.marginTop,right:Q.right-K.right-q.marginRight,bottom:Q.bottom-K.bottom-q.marginBottom}},S.handleEvent=n.handleEvent,S.bindResize=function(){m.addEventListener("resize",this),this.isResizeBound=!0},S.unbindResize=function(){m.removeEventListener("resize",this),this.isResizeBound=!1},S.onresize=function(){this.resize()},n.debounceMethod(A,"onresize",100),S.resize=function(){!this.isResizeBound||!this.needsResizeLayout()||this.layout()},S.needsResizeLayout=function(){var ee=U(this.element);return this.size&&ee&&ee.innerWidth!==this.size.innerWidth},S.addItems=function(ee){var K=this._itemize(ee);return K.length&&(this.items=this.items.concat(K)),K},S.appended=function(ee){var K=this.addItems(ee);K.length&&(this.layoutItems(K,!0),this.reveal(K))},S.prepended=function(ee){var K=this._itemize(ee);if(K.length){var Q=this.items.slice(0);this.items=K.concat(Q),this._resetLayout(),this._manageStamps(),this.layoutItems(K,!0),this.reveal(K),this.layoutItems(Q)}},S.reveal=function(ee){if(this._emitCompleteOnItems("reveal",ee),ee&&ee.length){var K=this.updateStagger();ee.forEach(function(Q,q){Q.stagger(q*K),Q.reveal()})}},S.hide=function(ee){if(this._emitCompleteOnItems("hide",ee),ee&&ee.length){var K=this.updateStagger();ee.forEach(function(Q,q){Q.stagger(q*K),Q.hide()})}},S.revealItemElements=function(ee){var K=this.getItems(ee);this.reveal(K)},S.hideItemElements=function(ee){var K=this.getItems(ee);this.hide(K)},S.getItem=function(ee){for(var K=0;K<this.items.length;K++){var Q=this.items[K];if(Q.element==ee)return Q}},S.getItems=function(ee){ee=n.makeArray(ee);var K=[];return ee.forEach(function(Q){var q=this.getItem(Q);q&&K.push(q)},this),K},S.remove=function(ee){var K=this.getItems(ee);this._emitCompleteOnItems("remove",K),K&&K.length&&K.forEach(function(Q){Q.remove(),n.removeFrom(this.items,Q)},this)},S.destroy=function(){var ee=this.element.style;ee.height="",ee.position="",ee.width="",this.items.forEach(function(Q){Q.destroy()}),this.unbindResize(),delete E[this.element.outlayerGUID],delete this.element.outlayerGUID,y&&y.removeData(this.element,this.constructor.namespace)},A.data=function(ee){var K=(ee=n.getQueryElement(ee))&&ee.outlayerGUID;return K&&E[K]},A.create=function(ee,K){var Q=Z(A);return Q.defaults=n.extend({},A.defaults),n.extend(Q.defaults,K),Q.compatOptions=n.extend({},A.compatOptions),Q.namespace=ee,Q.data=A.data,Q.Item=Z(I),n.htmlInit(Q,ee),y&&y.bridget&&y.bridget(ee,Q),Q};var oe={ms:1,s:1e3};return A.Item=I,A}(e,p,U,n,I)}.apply($e,t),void 0!==u&&(jt.exports=u)}(window)},5619:(jt,$e,s)=>{"use strict";s.d($e,{X:()=>u});var t=s(8645);class u extends t.x{constructor(m){super(),this._value=m}get value(){return this.getValue()}_subscribe(m){const p=super._subscribe(m);return!p.closed&&m.next(this._value),p}getValue(){const{hasError:m,thrownError:p,_value:U}=this;if(m)throw p;return this._throwIfClosed(),U}next(m){super.next(this._value=m)}}},5592:(jt,$e,s)=>{"use strict";s.d($e,{y:()=>I});var t=s(305),u=s(7394),e=s(4850),m=s(8407),p=s(2653),U=s(4674),n=s(1441);let I=(()=>{class M{constructor(A){A&&(this._subscribe=A)}lift(A){const S=new M;return S.source=this,S.operator=A,S}subscribe(A,S,Z){const oe=function O(M){return M&&M instanceof t.Lv||function y(M){return M&&(0,U.m)(M.next)&&(0,U.m)(M.error)&&(0,U.m)(M.complete)}(M)&&(0,u.Nn)(M)}(A)?A:new t.Hp(A,S,Z);return(0,n.x)(()=>{const{operator:le,source:ee}=this;oe.add(le?le.call(oe,ee):ee?this._subscribe(oe):this._trySubscribe(oe))}),oe}_trySubscribe(A){try{return this._subscribe(A)}catch(S){A.error(S)}}forEach(A,S){return new(S=L(S))((Z,oe)=>{const le=new t.Hp({next:ee=>{try{A(ee)}catch(K){oe(K),le.unsubscribe()}},error:oe,complete:Z});this.subscribe(le)})}_subscribe(A){var S;return null===(S=this.source)||void 0===S?void 0:S.subscribe(A)}[e.L](){return this}pipe(...A){return(0,m.U)(A)(this)}toPromise(A){return new(A=L(A))((S,Z)=>{let oe;this.subscribe(le=>oe=le,le=>Z(le),()=>S(oe))})}}return M.create=E=>new M(E),M})();function L(M){var E;return null!==(E=M??p.config.Promise)&&void 0!==E?E:Promise}},8645:(jt,$e,s)=>{"use strict";s.d($e,{x:()=>n});var t=s(5592),u=s(7394);const m=(0,s(2306).d)(L=>function(){L(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var p=s(9039),U=s(1441);let n=(()=>{class L extends t.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(O){const M=new I(this,this);return M.operator=O,M}_throwIfClosed(){if(this.closed)throw new m}next(O){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const M of this.currentObservers)M.next(O)}})}error(O){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=O;const{observers:M}=this;for(;M.length;)M.shift().error(O)}})}complete(){(0,U.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:O}=this;for(;O.length;)O.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var O;return(null===(O=this.observers)||void 0===O?void 0:O.length)>0}_trySubscribe(O){return this._throwIfClosed(),super._trySubscribe(O)}_subscribe(O){return this._throwIfClosed(),this._checkFinalizedStatuses(O),this._innerSubscribe(O)}_innerSubscribe(O){const{hasError:M,isStopped:E,observers:A}=this;return M||E?u.Lc:(this.currentObservers=null,A.push(O),new u.w0(()=>{this.currentObservers=null,(0,p.P)(A,O)}))}_checkFinalizedStatuses(O){const{hasError:M,thrownError:E,isStopped:A}=this;M?O.error(E):A&&O.complete()}asObservable(){const O=new t.y;return O.source=this,O}}return L.create=(y,O)=>new I(y,O),L})();class I extends n{constructor(y,O){super(),this.destination=y,this.source=O}next(y){var O,M;null===(M=null===(O=this.destination)||void 0===O?void 0:O.next)||void 0===M||M.call(O,y)}error(y){var O,M;null===(M=null===(O=this.destination)||void 0===O?void 0:O.error)||void 0===M||M.call(O,y)}complete(){var y,O;null===(O=null===(y=this.destination)||void 0===y?void 0:y.complete)||void 0===O||O.call(y)}_subscribe(y){var O,M;return null!==(M=null===(O=this.source)||void 0===O?void 0:O.subscribe(y))&&void 0!==M?M:u.Lc}}},305:(jt,$e,s)=>{"use strict";s.d($e,{Hp:()=>Z,Lv:()=>M});var t=s(4674),u=s(7394),e=s(2653),m=s(3894),p=s(2420);const U=L("C",void 0,void 0);function L(Q,q,H){return{kind:Q,value:q,error:H}}var y=s(7599),O=s(1441);class M extends u.w0{constructor(q){super(),this.isStopped=!1,q?(this.destination=q,(0,u.Nn)(q)&&q.add(this)):this.destination=K}static create(q,H,T){return new Z(q,H,T)}next(q){this.isStopped?ee(function I(Q){return L("N",Q,void 0)}(q),this):this._next(q)}error(q){this.isStopped?ee(function n(Q){return L("E",void 0,Q)}(q),this):(this.isStopped=!0,this._error(q))}complete(){this.isStopped?ee(U,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(q){this.destination.next(q)}_error(q){try{this.destination.error(q)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const E=Function.prototype.bind;function A(Q,q){return E.call(Q,q)}class S{constructor(q){this.partialObserver=q}next(q){const{partialObserver:H}=this;if(H.next)try{H.next(q)}catch(T){oe(T)}}error(q){const{partialObserver:H}=this;if(H.error)try{H.error(q)}catch(T){oe(T)}else oe(q)}complete(){const{partialObserver:q}=this;if(q.complete)try{q.complete()}catch(H){oe(H)}}}class Z extends M{constructor(q,H,T){let ie;if(super(),(0,t.m)(q)||!q)ie={next:q??void 0,error:H??void 0,complete:T??void 0};else{let _e;this&&e.config.useDeprecatedNextContext?(_e=Object.create(q),_e.unsubscribe=()=>this.unsubscribe(),ie={next:q.next&&A(q.next,_e),error:q.error&&A(q.error,_e),complete:q.complete&&A(q.complete,_e)}):ie=q}this.destination=new S(ie)}}function oe(Q){e.config.useDeprecatedSynchronousErrorHandling?(0,O.O)(Q):(0,m.h)(Q)}function ee(Q,q){const{onStoppedNotification:H}=e.config;H&&y.z.setTimeout(()=>H(Q,q))}const K={closed:!0,next:p.Z,error:function le(Q){throw Q},complete:p.Z}},7394:(jt,$e,s)=>{"use strict";s.d($e,{Lc:()=>U,w0:()=>p,Nn:()=>n});var t=s(4674);const e=(0,s(2306).d)(L=>function(O){L(this),this.message=O?`${O.length} errors occurred during unsubscription:\n${O.map((M,E)=>`${E+1}) ${M.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=O});var m=s(9039);class p{constructor(y){this.initialTeardown=y,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let y;if(!this.closed){this.closed=!0;const{_parentage:O}=this;if(O)if(this._parentage=null,Array.isArray(O))for(const A of O)A.remove(this);else O.remove(this);const{initialTeardown:M}=this;if((0,t.m)(M))try{M()}catch(A){y=A instanceof e?A.errors:[A]}const{_finalizers:E}=this;if(E){this._finalizers=null;for(const A of E)try{I(A)}catch(S){y=y??[],S instanceof e?y=[...y,...S.errors]:y.push(S)}}if(y)throw new e(y)}}add(y){var O;if(y&&y!==this)if(this.closed)I(y);else{if(y instanceof p){if(y.closed||y._hasParent(this))return;y._addParent(this)}(this._finalizers=null!==(O=this._finalizers)&&void 0!==O?O:[]).push(y)}}_hasParent(y){const{_parentage:O}=this;return O===y||Array.isArray(O)&&O.includes(y)}_addParent(y){const{_parentage:O}=this;this._parentage=Array.isArray(O)?(O.push(y),O):O?[O,y]:y}_removeParent(y){const{_parentage:O}=this;O===y?this._parentage=null:Array.isArray(O)&&(0,m.P)(O,y)}remove(y){const{_finalizers:O}=this;O&&(0,m.P)(O,y),y instanceof p&&y._removeParent(this)}}p.EMPTY=(()=>{const L=new p;return L.closed=!0,L})();const U=p.EMPTY;function n(L){return L instanceof p||L&&"closed"in L&&(0,t.m)(L.remove)&&(0,t.m)(L.add)&&(0,t.m)(L.unsubscribe)}function I(L){(0,t.m)(L)?L():L.unsubscribe()}},2653:(jt,$e,s)=>{"use strict";s.d($e,{config:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3168:(jt,$e,s)=>{"use strict";s.d($e,{c:()=>U});var t=s(5592),u=s(7394),e=s(6196),m=s(8251),p=s(9360);class U extends t.y{constructor(I,L){super(),this.source=I,this.subjectFactory=L,this._subject=null,this._refCount=0,this._connection=null,(0,p.A)(I)&&(this.lift=I.lift)}_subscribe(I){return this.getSubject().subscribe(I)}getSubject(){const I=this._subject;return(!I||I.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:I}=this;this._subject=this._connection=null,I?.unsubscribe()}connect(){let I=this._connection;if(!I){I=this._connection=new u.w0;const L=this.getSubject();I.add(this.source.subscribe((0,m.x)(L,void 0,()=>{this._teardown(),L.complete()},y=>{this._teardown(),L.error(y)},()=>this._teardown()))),I.closed&&(this._connection=null,I=u.w0.EMPTY)}return I}refCount(){return(0,e.x)()(this)}}},2572:(jt,$e,s)=>{"use strict";s.d($e,{a:()=>y});var t=s(5592),u=s(7453),e=s(7715),m=s(2737),p=s(7400),U=s(9940),n=s(2714),I=s(8251),L=s(7103);function y(...E){const A=(0,U.yG)(E),S=(0,U.jO)(E),{args:Z,keys:oe}=(0,u.D)(E);if(0===Z.length)return(0,e.D)([],A);const le=new t.y(function O(E,A,S=m.y){return Z=>{M(A,()=>{const{length:oe}=E,le=new Array(oe);let ee=oe,K=oe;for(let Q=0;Q<oe;Q++)M(A,()=>{const q=(0,e.D)(E[Q],A);let H=!1;q.subscribe((0,I.x)(Z,T=>{le[Q]=T,H||(H=!0,K--),K||Z.next(S(le.slice()))},()=>{--ee||Z.complete()}))},Z)},Z)}}(Z,A,oe?ee=>(0,n.n)(oe,ee):m.y));return S?le.pipe((0,p.Z)(S)):le}function M(E,A,S){E?(0,L.f)(S,E,A):A()}},5211:(jt,$e,s)=>{"use strict";s.d($e,{z:()=>p});var t=s(7537),e=s(9940),m=s(7715);function p(...U){return function u(){return(0,t.J)(1)}()((0,m.D)(U,(0,e.yG)(U)))}},4911:(jt,$e,s)=>{"use strict";s.d($e,{P:()=>e});var t=s(5592),u=s(4829);function e(m){return new t.y(p=>{(0,u.Xf)(m()).subscribe(p)})}},6232:(jt,$e,s)=>{"use strict";s.d($e,{E:()=>u});const u=new(s(5592).y)(p=>p.complete())},9315:(jt,$e,s)=>{"use strict";s.d($e,{D:()=>I});var t=s(5592),u=s(7453),e=s(4829),m=s(9940),p=s(8251),U=s(7400),n=s(2714);function I(...L){const y=(0,m.jO)(L),{args:O,keys:M}=(0,u.D)(L),E=new t.y(A=>{const{length:S}=O;if(!S)return void A.complete();const Z=new Array(S);let oe=S,le=S;for(let ee=0;ee<S;ee++){let K=!1;(0,e.Xf)(O[ee]).subscribe((0,p.x)(A,Q=>{K||(K=!0,le--),Z[ee]=Q},()=>oe--,void 0,()=>{(!oe||!K)&&(le||A.next(M?(0,n.n)(M,Z):Z),A.complete())}))}});return y?E.pipe((0,U.Z)(y)):E}},7715:(jt,$e,s)=>{"use strict";s.d($e,{D:()=>T});var t=s(4829),u=s(7103),e=s(9360),m=s(8251);function p(ie,_e=0){return(0,e.e)((Ce,Ve)=>{Ce.subscribe((0,m.x)(Ve,ae=>(0,u.f)(Ve,ie,()=>Ve.next(ae),_e),()=>(0,u.f)(Ve,ie,()=>Ve.complete(),_e),ae=>(0,u.f)(Ve,ie,()=>Ve.error(ae),_e)))})}function U(ie,_e=0){return(0,e.e)((Ce,Ve)=>{Ve.add(ie.schedule(()=>Ce.subscribe(Ve),_e))})}var L=s(5592),O=s(4971),M=s(4674);function A(ie,_e){if(!ie)throw new Error("Iterable cannot be null");return new L.y(Ce=>{(0,u.f)(Ce,_e,()=>{const Ve=ie[Symbol.asyncIterator]();(0,u.f)(Ce,_e,()=>{Ve.next().then(ae=>{ae.done?Ce.complete():Ce.next(ae.value)})},0,!0)})})}var S=s(8382),Z=s(4026),oe=s(4266),le=s(3664),ee=s(5726),K=s(9853),Q=s(541);function T(ie,_e){return _e?function H(ie,_e){if(null!=ie){if((0,S.c)(ie))return function n(ie,_e){return(0,t.Xf)(ie).pipe(U(_e),p(_e))}(ie,_e);if((0,oe.z)(ie))return function y(ie,_e){return new L.y(Ce=>{let Ve=0;return _e.schedule(function(){Ve===ie.length?Ce.complete():(Ce.next(ie[Ve++]),Ce.closed||this.schedule())})})}(ie,_e);if((0,Z.t)(ie))return function I(ie,_e){return(0,t.Xf)(ie).pipe(U(_e),p(_e))}(ie,_e);if((0,ee.D)(ie))return A(ie,_e);if((0,le.T)(ie))return function E(ie,_e){return new L.y(Ce=>{let Ve;return(0,u.f)(Ce,_e,()=>{Ve=ie[O.h](),(0,u.f)(Ce,_e,()=>{let ae,pe;try{({value:ae,done:pe}=Ve.next())}catch(Ae){return void Ce.error(Ae)}pe?Ce.complete():Ce.next(ae)},0,!0)}),()=>(0,M.m)(Ve?.return)&&Ve.return()})}(ie,_e);if((0,Q.L)(ie))return function q(ie,_e){return A((0,Q.Q)(ie),_e)}(ie,_e)}throw(0,K.z)(ie)}(ie,_e):(0,t.Xf)(ie)}},2438:(jt,$e,s)=>{"use strict";s.d($e,{R:()=>y});var t=s(4829),u=s(5592),e=s(1631),m=s(4266),p=s(4674),U=s(7400);const n=["addListener","removeListener"],I=["addEventListener","removeEventListener"],L=["on","off"];function y(S,Z,oe,le){if((0,p.m)(oe)&&(le=oe,oe=void 0),le)return y(S,Z,oe).pipe((0,U.Z)(le));const[ee,K]=function A(S){return(0,p.m)(S.addEventListener)&&(0,p.m)(S.removeEventListener)}(S)?I.map(Q=>q=>S[Q](Z,q,oe)):function M(S){return(0,p.m)(S.addListener)&&(0,p.m)(S.removeListener)}(S)?n.map(O(S,Z)):function E(S){return(0,p.m)(S.on)&&(0,p.m)(S.off)}(S)?L.map(O(S,Z)):[];if(!ee&&(0,m.z)(S))return(0,e.z)(Q=>y(Q,Z,oe))((0,t.Xf)(S));if(!ee)throw new TypeError("Invalid event target");return new u.y(Q=>{const q=(...H)=>Q.next(1<H.length?H:H[0]);return ee(q),()=>K(q)})}function O(S,Z){return oe=>le=>S[oe](Z,le)}},4829:(jt,$e,s)=>{"use strict";s.d($e,{Xf:()=>E});var t=s(7582),u=s(4266),e=s(4026),m=s(5592),p=s(8382),U=s(5726),n=s(9853),I=s(3664),L=s(541),y=s(4674),O=s(3894),M=s(4850);function E(Q){if(Q instanceof m.y)return Q;if(null!=Q){if((0,p.c)(Q))return function A(Q){return new m.y(q=>{const H=Q[M.L]();if((0,y.m)(H.subscribe))return H.subscribe(q);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Q);if((0,u.z)(Q))return function S(Q){return new m.y(q=>{for(let H=0;H<Q.length&&!q.closed;H++)q.next(Q[H]);q.complete()})}(Q);if((0,e.t)(Q))return function Z(Q){return new m.y(q=>{Q.then(H=>{q.closed||(q.next(H),q.complete())},H=>q.error(H)).then(null,O.h)})}(Q);if((0,U.D)(Q))return le(Q);if((0,I.T)(Q))return function oe(Q){return new m.y(q=>{for(const H of Q)if(q.next(H),q.closed)return;q.complete()})}(Q);if((0,L.L)(Q))return function ee(Q){return le((0,L.Q)(Q))}(Q)}throw(0,n.z)(Q)}function le(Q){return new m.y(q=>{(function K(Q,q){var H,T,ie,_e;return(0,t.mG)(this,void 0,void 0,function*(){try{for(H=(0,t.KL)(Q);!(T=yield H.next()).done;)if(q.next(T.value),q.closed)return}catch(Ce){ie={error:Ce}}finally{try{T&&!T.done&&(_e=H.return)&&(yield _e.call(H))}finally{if(ie)throw ie.error}}q.complete()})})(Q,q).catch(H=>q.error(H))})}},1687:(jt,$e,s)=>{"use strict";s.d($e,{F:()=>e});var t=s(6321),u=s(9080);function e(m=0,p=t.z){return m<0&&(m=0),(0,u.H)(m,m,p)}},3019:(jt,$e,s)=>{"use strict";s.d($e,{T:()=>U});var t=s(7537),u=s(4829),e=s(6232),m=s(9940),p=s(7715);function U(...n){const I=(0,m.yG)(n),L=(0,m._6)(n,1/0),y=n;return y.length?1===y.length?(0,u.Xf)(y[0]):(0,t.J)(L)((0,p.D)(y,I)):e.E}},2096:(jt,$e,s)=>{"use strict";s.d($e,{of:()=>e});var t=s(9940),u=s(7715);function e(...m){const p=(0,t.yG)(m);return(0,u.D)(m,p)}},8504:(jt,$e,s)=>{"use strict";s.d($e,{_:()=>e});var t=s(5592),u=s(4674);function e(m,p){const U=(0,u.m)(m)?m:()=>m,n=I=>I.error(U());return new t.y(p?I=>p.schedule(n,0,I):n)}},9080:(jt,$e,s)=>{"use strict";s.d($e,{H:()=>p});var t=s(5592),u=s(6321),e=s(671),m=s(93);function p(U=0,n,I=u.P){let L=-1;return null!=n&&((0,e.K)(n)?I=n:L=n),new t.y(y=>{let O=(0,m.q)(U)?+U-I.now():U;O<0&&(O=0);let M=0;return I.schedule(function(){y.closed||(y.next(M++),0<=L?this.schedule(void 0,L):y.complete())},O)})}},8251:(jt,$e,s)=>{"use strict";s.d($e,{x:()=>u});var t=s(305);function u(m,p,U,n,I){return new e(m,p,U,n,I)}class e extends t.Lv{constructor(p,U,n,I,L,y){super(p),this.onFinalize=L,this.shouldUnsubscribe=y,this._next=U?function(O){try{U(O)}catch(M){p.error(M)}}:super._next,this._error=I?function(O){try{I(O)}catch(M){p.error(M)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(O){p.error(O)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var p;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:U}=this;super.unsubscribe(),!U&&(null===(p=this.onFinalize)||void 0===p||p.call(this))}}}},9028:(jt,$e,s)=>{"use strict";s.d($e,{e:()=>n});var t=s(6321),u=s(9360),e=s(4829),m=s(8251),U=s(9080);function n(I,L=t.z){return function p(I){return(0,u.e)((L,y)=>{let O=!1,M=null,E=null,A=!1;const S=()=>{if(E?.unsubscribe(),E=null,O){O=!1;const oe=M;M=null,y.next(oe)}A&&y.complete()},Z=()=>{E=null,A&&y.complete()};L.subscribe((0,m.x)(y,oe=>{O=!0,M=oe,E||(0,e.Xf)(I(oe)).subscribe(E=(0,m.x)(y,S,Z))},()=>{A=!0,(!O||!E||E.closed)&&y.complete()}))})}(()=>(0,U.H)(I,L))}},6306:(jt,$e,s)=>{"use strict";s.d($e,{K:()=>m});var t=s(4829),u=s(8251),e=s(9360);function m(p){return(0,e.e)((U,n)=>{let y,I=null,L=!1;I=U.subscribe((0,u.x)(n,void 0,void 0,O=>{y=(0,t.Xf)(p(O,m(p)(U))),I?(I.unsubscribe(),I=null,y.subscribe(n)):L=!0})),L&&(I.unsubscribe(),I=null,y.subscribe(n))})}},6328:(jt,$e,s)=>{"use strict";s.d($e,{b:()=>e});var t=s(1631),u=s(4674);function e(m,p){return(0,u.m)(p)?(0,t.z)(m,p,1):(0,t.z)(m,1)}},3620:(jt,$e,s)=>{"use strict";s.d($e,{b:()=>m});var t=s(6321),u=s(9360),e=s(8251);function m(p,U=t.z){return(0,u.e)((n,I)=>{let L=null,y=null,O=null;const M=()=>{if(L){L.unsubscribe(),L=null;const A=y;y=null,I.next(A)}};function E(){const A=O+p,S=U.now();if(S<A)return L=this.schedule(void 0,A-S),void I.add(L);M()}n.subscribe((0,e.x)(I,A=>{y=A,O=U.now(),L||(L=U.schedule(E,p),I.add(L))},()=>{M(),I.complete()},void 0,()=>{y=L=null}))})}},3572:(jt,$e,s)=>{"use strict";s.d($e,{d:()=>e});var t=s(9360),u=s(8251);function e(m){return(0,t.e)((p,U)=>{let n=!1;p.subscribe((0,u.x)(U,I=>{n=!0,U.next(I)},()=>{n||U.next(m),U.complete()}))})}},5177:(jt,$e,s)=>{"use strict";s.d($e,{g:()=>E});var t=s(6321),u=s(5211),e=s(8180),m=s(9360),p=s(8251),U=s(2420),I=s(975),L=s(1631),y=s(4829);function O(A,S){return S?Z=>(0,u.z)(S.pipe((0,e.q)(1),function n(){return(0,m.e)((A,S)=>{A.subscribe((0,p.x)(S,U.Z))})}()),Z.pipe(O(A))):(0,L.z)((Z,oe)=>(0,y.Xf)(A(Z,oe)).pipe((0,e.q)(1),(0,I.h)(Z)))}var M=s(9080);function E(A,S=t.z){const Z=(0,M.H)(A,S);return O(()=>Z)}},3997:(jt,$e,s)=>{"use strict";s.d($e,{x:()=>m});var t=s(2737),u=s(9360),e=s(8251);function m(U,n=t.y){return U=U??p,(0,u.e)((I,L)=>{let y,O=!0;I.subscribe((0,e.x)(L,M=>{const E=n(M);(O||!U(y,E))&&(O=!1,y=E,L.next(M))}))})}function p(U,n){return U===n}},2181:(jt,$e,s)=>{"use strict";s.d($e,{h:()=>e});var t=s(9360),u=s(8251);function e(m,p){return(0,t.e)((U,n)=>{let I=0;U.subscribe((0,u.x)(n,L=>m.call(p,L,I++)&&n.next(L)))})}},4716:(jt,$e,s)=>{"use strict";s.d($e,{x:()=>u});var t=s(9360);function u(e){return(0,t.e)((m,p)=>{try{m.subscribe(p)}finally{p.add(e)}})}},1374:(jt,$e,s)=>{"use strict";s.d($e,{P:()=>n});var t=s(6973),u=s(2181),e=s(8180),m=s(3572),p=s(3026),U=s(2737);function n(I,L){const y=arguments.length>=2;return O=>O.pipe(I?(0,u.h)((M,E)=>I(M,E,O)):U.y,(0,e.q)(1),y?(0,m.d)(L):(0,p.T)(()=>new t.K))}},7398:(jt,$e,s)=>{"use strict";s.d($e,{U:()=>e});var t=s(9360),u=s(8251);function e(m,p){return(0,t.e)((U,n)=>{let I=0;U.subscribe((0,u.x)(n,L=>{n.next(m.call(p,L,I++))}))})}},975:(jt,$e,s)=>{"use strict";s.d($e,{h:()=>u});var t=s(7398);function u(e){return(0,t.U)(()=>e)}},7537:(jt,$e,s)=>{"use strict";s.d($e,{J:()=>e});var t=s(1631),u=s(2737);function e(m=1/0){return(0,t.z)(u.y,m)}},1631:(jt,$e,s)=>{"use strict";s.d($e,{z:()=>I});var t=s(7398),u=s(4829),e=s(9360),m=s(7103),p=s(8251),n=s(4674);function I(L,y,O=1/0){return(0,n.m)(y)?I((M,E)=>(0,t.U)((A,S)=>y(M,A,E,S))((0,u.Xf)(L(M,E))),O):("number"==typeof y&&(O=y),(0,e.e)((M,E)=>function U(L,y,O,M,E,A,S,Z){const oe=[];let le=0,ee=0,K=!1;const Q=()=>{K&&!oe.length&&!le&&y.complete()},q=T=>le<M?H(T):oe.push(T),H=T=>{A&&y.next(T),le++;let ie=!1;(0,u.Xf)(O(T,ee++)).subscribe((0,p.x)(y,_e=>{E?.(_e),A?q(_e):y.next(_e)},()=>{ie=!0},void 0,()=>{if(ie)try{for(le--;oe.length&&le<M;){const _e=oe.shift();S?(0,m.f)(y,S,()=>H(_e)):H(_e)}Q()}catch(_e){y.error(_e)}}))};return L.subscribe((0,p.x)(y,q,()=>{K=!0,Q()})),()=>{Z?.()}}(M,E,L,O)))}},6196:(jt,$e,s)=>{"use strict";s.d($e,{x:()=>e});var t=s(9360),u=s(8251);function e(){return(0,t.e)((m,p)=>{let U=null;m._refCount++;const n=(0,u.x)(p,void 0,void 0,void 0,()=>{if(!m||m._refCount<=0||0<--m._refCount)return void(U=null);const I=m._connection,L=U;U=null,I&&(!L||I===L)&&I.unsubscribe(),p.unsubscribe()});m.subscribe(n),n.closed||(U=m.connect())})}},3020:(jt,$e,s)=>{"use strict";s.d($e,{B:()=>p});var t=s(4829),u=s(8645),e=s(305),m=s(9360);function p(n={}){const{connector:I=(()=>new u.x),resetOnError:L=!0,resetOnComplete:y=!0,resetOnRefCountZero:O=!0}=n;return M=>{let E,A,S,Z=0,oe=!1,le=!1;const ee=()=>{A?.unsubscribe(),A=void 0},K=()=>{ee(),E=S=void 0,oe=le=!1},Q=()=>{const q=E;K(),q?.unsubscribe()};return(0,m.e)((q,H)=>{Z++,!le&&!oe&&ee();const T=S=S??I();H.add(()=>{Z--,0===Z&&!le&&!oe&&(A=U(Q,O))}),T.subscribe(H),!E&&Z>0&&(E=new e.Hp({next:ie=>T.next(ie),error:ie=>{le=!0,ee(),A=U(K,L,ie),T.error(ie)},complete:()=>{oe=!0,ee(),A=U(K,y),T.complete()}}),(0,t.Xf)(q).subscribe(E))})(M)}}function U(n,I,...L){if(!0===I)return void n();if(!1===I)return;const y=new e.Hp({next:()=>{y.unsubscribe(),n()}});return(0,t.Xf)(I(...L)).subscribe(y)}},836:(jt,$e,s)=>{"use strict";s.d($e,{T:()=>u});var t=s(2181);function u(e){return(0,t.h)((m,p)=>e<=p)}},7921:(jt,$e,s)=>{"use strict";s.d($e,{O:()=>m});var t=s(5211),u=s(9940),e=s(9360);function m(...p){const U=(0,u.yG)(p);return(0,e.e)((n,I)=>{(U?(0,t.z)(p,n,U):(0,t.z)(p,n)).subscribe(I)})}},4664:(jt,$e,s)=>{"use strict";s.d($e,{w:()=>m});var t=s(4829),u=s(9360),e=s(8251);function m(p,U){return(0,u.e)((n,I)=>{let L=null,y=0,O=!1;const M=()=>O&&!L&&I.complete();n.subscribe((0,e.x)(I,E=>{L?.unsubscribe();let A=0;const S=y++;(0,t.Xf)(p(E,S)).subscribe(L=(0,e.x)(I,Z=>I.next(U?U(E,Z,S,A++):Z),()=>{L=null,M()}))},()=>{O=!0,M()}))})}},8180:(jt,$e,s)=>{"use strict";s.d($e,{q:()=>m});var t=s(6232),u=s(9360),e=s(8251);function m(p){return p<=0?()=>t.E:(0,u.e)((U,n)=>{let I=0;U.subscribe((0,e.x)(n,L=>{++I<=p&&(n.next(L),p<=I&&n.complete())}))})}},9773:(jt,$e,s)=>{"use strict";s.d($e,{R:()=>p});var t=s(9360),u=s(8251),e=s(4829),m=s(2420);function p(U){return(0,t.e)((n,I)=>{(0,e.Xf)(U).subscribe((0,u.x)(I,()=>I.complete(),m.Z)),!I.closed&&n.subscribe(I)})}},812:(jt,$e,s)=>{"use strict";s.d($e,{o:()=>e});var t=s(9360),u=s(8251);function e(m,p=!1){return(0,t.e)((U,n)=>{let I=0;U.subscribe((0,u.x)(n,L=>{const y=m(L,I++);(y||p)&&n.next(L),!y&&n.complete()}))})}},9397:(jt,$e,s)=>{"use strict";s.d($e,{b:()=>p});var t=s(4674),u=s(9360),e=s(8251),m=s(2737);function p(U,n,I){const L=(0,t.m)(U)||n||I?{next:U,error:n,complete:I}:U;return L?(0,u.e)((y,O)=>{var M;null===(M=L.subscribe)||void 0===M||M.call(L);let E=!0;y.subscribe((0,e.x)(O,A=>{var S;null===(S=L.next)||void 0===S||S.call(L,A),O.next(A)},()=>{var A;E=!1,null===(A=L.complete)||void 0===A||A.call(L),O.complete()},A=>{var S;E=!1,null===(S=L.error)||void 0===S||S.call(L,A),O.error(A)},()=>{var A,S;E&&(null===(A=L.unsubscribe)||void 0===A||A.call(L)),null===(S=L.finalize)||void 0===S||S.call(L)}))}):m.y}},3026:(jt,$e,s)=>{"use strict";s.d($e,{T:()=>m});var t=s(6973),u=s(9360),e=s(8251);function m(U=p){return(0,u.e)((n,I)=>{let L=!1;n.subscribe((0,e.x)(I,y=>{L=!0,I.next(y)},()=>L?I.complete():I.error(U())))})}function p(){return new t.K}},5178:(jt,$e,s)=>{"use strict";s.d($e,{V:()=>L});var t=s(6321),u=s(93),e=s(9360),m=s(4829),p=s(2306),U=s(8251),n=s(7103);const I=(0,p.d)(O=>function(E=null){O(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=E});function L(O,M){const{first:E,each:A,with:S=y,scheduler:Z=M??t.z,meta:oe=null}=(0,u.q)(O)?{first:O}:"number"==typeof O?{each:O}:O;if(null==E&&null==A)throw new TypeError("No timeout provided.");return(0,e.e)((le,ee)=>{let K,Q,q=null,H=0;const T=ie=>{Q=(0,n.f)(ee,Z,()=>{try{K.unsubscribe(),(0,m.Xf)(S({meta:oe,lastValue:q,seen:H})).subscribe(ee)}catch(_e){ee.error(_e)}},ie)};K=le.subscribe((0,U.x)(ee,ie=>{Q?.unsubscribe(),H++,ee.next(q=ie),A>0&&T(A)},void 0,void 0,()=>{Q?.closed||Q?.unsubscribe(),q=null})),!H&&T(null!=E?"number"==typeof E?E:+E-Z.now():A)})}function y(O){throw new I(O)}},1954:(jt,$e,s)=>{"use strict";s.d($e,{o:()=>p});var t=s(7394);class u extends t.w0{constructor(n,I){super()}schedule(n,I=0){return this}}const e={setInterval(U,n,...I){const{delegate:L}=e;return L?.setInterval?L.setInterval(U,n,...I):setInterval(U,n,...I)},clearInterval(U){const{delegate:n}=e;return(n?.clearInterval||clearInterval)(U)},delegate:void 0};var m=s(9039);class p extends u{constructor(n,I){super(n,I),this.scheduler=n,this.work=I,this.pending=!1}schedule(n,I=0){var L;if(this.closed)return this;this.state=n;const y=this.id,O=this.scheduler;return null!=y&&(this.id=this.recycleAsyncId(O,y,I)),this.pending=!0,this.delay=I,this.id=null!==(L=this.id)&&void 0!==L?L:this.requestAsyncId(O,this.id,I),this}requestAsyncId(n,I,L=0){return e.setInterval(n.flush.bind(n,this),L)}recycleAsyncId(n,I,L=0){if(null!=L&&this.delay===L&&!1===this.pending)return I;null!=I&&e.clearInterval(I)}execute(n,I){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const L=this._execute(n,I);if(L)return L;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,I){let y,L=!1;try{this.work(n)}catch(O){L=!0,y=O||new Error("Scheduled action threw falsy error")}if(L)return this.unsubscribe(),y}unsubscribe(){if(!this.closed){const{id:n,scheduler:I}=this,{actions:L}=I;this.work=this.state=this.scheduler=null,this.pending=!1,(0,m.P)(L,this),null!=n&&(this.id=this.recycleAsyncId(I,n,null)),this.delay=null,super.unsubscribe()}}}},2631:(jt,$e,s)=>{"use strict";s.d($e,{v:()=>e});var t=s(4552);class u{constructor(p,U=u.now){this.schedulerActionCtor=p,this.now=U}schedule(p,U=0,n){return new this.schedulerActionCtor(this,p).schedule(n,U)}}u.now=t.l.now;class e extends u{constructor(p,U=u.now){super(p,U),this.actions=[],this._active=!1}flush(p){const{actions:U}=this;if(this._active)return void U.push(p);let n;this._active=!0;do{if(n=p.execute(p.state,p.delay))break}while(p=U.shift());if(this._active=!1,n){for(;p=U.shift();)p.unsubscribe();throw n}}}},927:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>n});var t=s(1954),u=s(7394);const e={schedule(L){let y=requestAnimationFrame,O=cancelAnimationFrame;const{delegate:M}=e;M&&(y=M.requestAnimationFrame,O=M.cancelAnimationFrame);const E=y(A=>{O=void 0,L(A)});return new u.w0(()=>O?.(E))},requestAnimationFrame(...L){const{delegate:y}=e;return(y?.requestAnimationFrame||requestAnimationFrame)(...L)},cancelAnimationFrame(...L){const{delegate:y}=e;return(y?.cancelAnimationFrame||cancelAnimationFrame)(...L)},delegate:void 0};var p=s(2631);const n=new class U extends p.v{flush(y){this._active=!0;const O=this._scheduled;this._scheduled=void 0;const{actions:M}=this;let E;y=y||M.shift();do{if(E=y.execute(y.state,y.delay))break}while((y=M[0])&&y.id===O&&M.shift());if(this._active=!1,E){for(;(y=M[0])&&y.id===O&&M.shift();)y.unsubscribe();throw E}}}(class m extends t.o{constructor(y,O){super(y,O),this.scheduler=y,this.work=O}requestAsyncId(y,O,M=0){return null!==M&&M>0?super.requestAsyncId(y,O,M):(y.actions.push(this),y._scheduled||(y._scheduled=e.requestAnimationFrame(()=>y.flush(void 0))))}recycleAsyncId(y,O,M=0){var E;if(null!=M?M>0:this.delay>0)return super.recycleAsyncId(y,O,M);const{actions:A}=y;null!=O&&(null===(E=A[A.length-1])||void 0===E?void 0:E.id)!==O&&(e.cancelAnimationFrame(O),y._scheduled=void 0)}})},6410:(jt,$e,s)=>{"use strict";s.d($e,{E:()=>A});var t=s(1954);let e,u=1;const m={};function p(Z){return Z in m&&(delete m[Z],!0)}const U={setImmediate(Z){const oe=u++;return m[oe]=!0,e||(e=Promise.resolve()),e.then(()=>p(oe)&&Z()),oe},clearImmediate(Z){p(Z)}},{setImmediate:I,clearImmediate:L}=U,y={setImmediate(...Z){const{delegate:oe}=y;return(oe?.setImmediate||I)(...Z)},clearImmediate(Z){const{delegate:oe}=y;return(oe?.clearImmediate||L)(Z)},delegate:void 0};var M=s(2631);const A=new class E extends M.v{flush(oe){this._active=!0;const le=this._scheduled;this._scheduled=void 0;const{actions:ee}=this;let K;oe=oe||ee.shift();do{if(K=oe.execute(oe.state,oe.delay))break}while((oe=ee[0])&&oe.id===le&&ee.shift());if(this._active=!1,K){for(;(oe=ee[0])&&oe.id===le&&ee.shift();)oe.unsubscribe();throw K}}}(class O extends t.o{constructor(oe,le){super(oe,le),this.scheduler=oe,this.work=le}requestAsyncId(oe,le,ee=0){return null!==ee&&ee>0?super.requestAsyncId(oe,le,ee):(oe.actions.push(this),oe._scheduled||(oe._scheduled=y.setImmediate(oe.flush.bind(oe,void 0))))}recycleAsyncId(oe,le,ee=0){var K;if(null!=ee?ee>0:this.delay>0)return super.recycleAsyncId(oe,le,ee);const{actions:Q}=oe;null!=le&&(null===(K=Q[Q.length-1])||void 0===K?void 0:K.id)!==le&&(y.clearImmediate(le),oe._scheduled===le&&(oe._scheduled=void 0))}})},6321:(jt,$e,s)=>{"use strict";s.d($e,{P:()=>m,z:()=>e});var t=s(1954);const e=new(s(2631).v)(t.o),m=e},4552:(jt,$e,s)=>{"use strict";s.d($e,{l:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},7599:(jt,$e,s)=>{"use strict";s.d($e,{z:()=>t});const t={setTimeout(u,e,...m){const{delegate:p}=t;return p?.setTimeout?p.setTimeout(u,e,...m):setTimeout(u,e,...m)},clearTimeout(u){const{delegate:e}=t;return(e?.clearTimeout||clearTimeout)(u)},delegate:void 0}},4971:(jt,$e,s)=>{"use strict";s.d($e,{h:()=>u});const u=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4850:(jt,$e,s)=>{"use strict";s.d($e,{L:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},6973:(jt,$e,s)=>{"use strict";s.d($e,{K:()=>u});const u=(0,s(2306).d)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"})},9940:(jt,$e,s)=>{"use strict";s.d($e,{_6:()=>U,jO:()=>m,yG:()=>p});var t=s(4674),u=s(671);function e(n){return n[n.length-1]}function m(n){return(0,t.m)(e(n))?n.pop():void 0}function p(n){return(0,u.K)(e(n))?n.pop():void 0}function U(n,I){return"number"==typeof e(n)?n.pop():I}},7453:(jt,$e,s)=>{"use strict";s.d($e,{D:()=>p});const{isArray:t}=Array,{getPrototypeOf:u,prototype:e,keys:m}=Object;function p(n){if(1===n.length){const I=n[0];if(t(I))return{args:I,keys:null};if(function U(n){return n&&"object"==typeof n&&u(n)===e}(I)){const L=m(I);return{args:L.map(y=>I[y]),keys:L}}}return{args:n,keys:null}}},9039:(jt,$e,s)=>{"use strict";function t(u,e){if(u){const m=u.indexOf(e);0<=m&&u.splice(m,1)}}s.d($e,{P:()=>t})},2306:(jt,$e,s)=>{"use strict";function t(u){const m=u(p=>{Error.call(p),p.stack=(new Error).stack});return m.prototype=Object.create(Error.prototype),m.prototype.constructor=m,m}s.d($e,{d:()=>t})},2714:(jt,$e,s)=>{"use strict";function t(u,e){return u.reduce((m,p,U)=>(m[p]=e[U],m),{})}s.d($e,{n:()=>t})},1441:(jt,$e,s)=>{"use strict";s.d($e,{O:()=>m,x:()=>e});var t=s(2653);let u=null;function e(p){if(t.config.useDeprecatedSynchronousErrorHandling){const U=!u;if(U&&(u={errorThrown:!1,error:null}),p(),U){const{errorThrown:n,error:I}=u;if(u=null,n)throw I}}else p()}function m(p){t.config.useDeprecatedSynchronousErrorHandling&&u&&(u.errorThrown=!0,u.error=p)}},7103:(jt,$e,s)=>{"use strict";function t(u,e,m,p=0,U=!1){const n=e.schedule(function(){m(),U?u.add(this.schedule(null,p)):this.unsubscribe()},p);if(u.add(n),!U)return n}s.d($e,{f:()=>t})},2737:(jt,$e,s)=>{"use strict";function t(u){return u}s.d($e,{y:()=>t})},4266:(jt,$e,s)=>{"use strict";s.d($e,{z:()=>t});const t=u=>u&&"number"==typeof u.length&&"function"!=typeof u},5726:(jt,$e,s)=>{"use strict";s.d($e,{D:()=>u});var t=s(4674);function u(e){return Symbol.asyncIterator&&(0,t.m)(e?.[Symbol.asyncIterator])}},93:(jt,$e,s)=>{"use strict";function t(u){return u instanceof Date&&!isNaN(u)}s.d($e,{q:()=>t})},4674:(jt,$e,s)=>{"use strict";function t(u){return"function"==typeof u}s.d($e,{m:()=>t})},8382:(jt,$e,s)=>{"use strict";s.d($e,{c:()=>e});var t=s(4850),u=s(4674);function e(m){return(0,u.m)(m[t.L])}},3664:(jt,$e,s)=>{"use strict";s.d($e,{T:()=>e});var t=s(4971),u=s(4674);function e(m){return(0,u.m)(m?.[t.h])}},2664:(jt,$e,s)=>{"use strict";s.d($e,{b:()=>e});var t=s(5592),u=s(4674);function e(m){return!!m&&(m instanceof t.y||(0,u.m)(m.lift)&&(0,u.m)(m.subscribe))}},4026:(jt,$e,s)=>{"use strict";s.d($e,{t:()=>u});var t=s(4674);function u(e){return(0,t.m)(e?.then)}},541:(jt,$e,s)=>{"use strict";s.d($e,{L:()=>m,Q:()=>e});var t=s(7582),u=s(4674);function e(p){return(0,t.FC)(this,arguments,function*(){const n=p.getReader();try{for(;;){const{value:I,done:L}=yield(0,t.qq)(n.read());if(L)return yield(0,t.qq)(void 0);yield yield(0,t.qq)(I)}}finally{n.releaseLock()}})}function m(p){return(0,u.m)(p?.getReader)}},671:(jt,$e,s)=>{"use strict";s.d($e,{K:()=>u});var t=s(4674);function u(e){return e&&(0,t.m)(e.schedule)}},9360:(jt,$e,s)=>{"use strict";s.d($e,{A:()=>u,e:()=>e});var t=s(4674);function u(m){return(0,t.m)(m?.lift)}function e(m){return p=>{if(u(p))return p.lift(function(U){try{return m(U,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}},7400:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>m});var t=s(7398);const{isArray:u}=Array;function m(p){return(0,t.U)(U=>function e(p,U){return u(U)?p(...U):p(U)}(p,U))}},2420:(jt,$e,s)=>{"use strict";function t(){}s.d($e,{Z:()=>t})},8407:(jt,$e,s)=>{"use strict";s.d($e,{U:()=>e,z:()=>u});var t=s(2737);function u(...m){return e(m)}function e(m){return 0===m.length?t.y:1===m.length?m[0]:function(U){return m.reduce((n,I)=>I(n),U)}}},3894:(jt,$e,s)=>{"use strict";s.d($e,{h:()=>e});var t=s(2653),u=s(7599);function e(m){u.z.setTimeout(()=>{const{onUnhandledError:p}=t.config;if(!p)throw m;p(m)})}},9853:(jt,$e,s)=>{"use strict";function t(u){return new TypeError(`You provided ${null!==u&&"object"==typeof u?"an invalid object":`'${u}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}s.d($e,{z:()=>t})},716:jt=>{var $e="function"==typeof setImmediate;jt.exports=$e?function(t){setImmediate(t)}:function(t){setTimeout(t,0)}},6771:()=>{},8022:()=>{},6045:()=>{},8190:()=>{},7333:()=>{},6139:()=>{},6825:(jt,$e,s)=>{"use strict";s.d($e,{F4:()=>O,IO:()=>Z,SB:()=>y,X$:()=>p,ZE:()=>Ce,ZN:()=>_e,_j:()=>le,eR:()=>M,jt:()=>U,k1:()=>Ve,l3:()=>m,mo:()=>e,oB:()=>L,pV:()=>A,ru:()=>n,vP:()=>I});var t=s(6814),u=s(9212),e=function(ae){return ae[ae.State=0]="State",ae[ae.Transition=1]="Transition",ae[ae.Sequence=2]="Sequence",ae[ae.Group=3]="Group",ae[ae.Animate=4]="Animate",ae[ae.Keyframes=5]="Keyframes",ae[ae.Style=6]="Style",ae[ae.Trigger=7]="Trigger",ae[ae.Reference=8]="Reference",ae[ae.AnimateChild=9]="AnimateChild",ae[ae.AnimateRef=10]="AnimateRef",ae[ae.Query=11]="Query",ae[ae.Stagger=12]="Stagger",ae}(e||{});const m="*";function p(ae,pe){return{type:e.Trigger,name:ae,definitions:pe,options:{}}}function U(ae,pe=null){return{type:e.Animate,styles:pe,timings:ae}}function n(ae,pe=null){return{type:e.Group,steps:ae,options:pe}}function I(ae,pe=null){return{type:e.Sequence,steps:ae,options:pe}}function L(ae){return{type:e.Style,styles:ae,offset:null}}function y(ae,pe,Ae){return{type:e.State,name:ae,styles:pe,options:Ae}}function O(ae){return{type:e.Keyframes,steps:ae}}function M(ae,pe,Ae=null){return{type:e.Transition,expr:ae,animation:pe,options:Ae}}function A(ae=null){return{type:e.AnimateChild,options:ae}}function Z(ae,pe,Ae=null){return{type:e.Query,selector:ae,animation:pe,options:Ae}}let le=(()=>{class ae{static#e=this.\u0275fac=function(Ze){return new(Ze||ae)};static#t=this.\u0275prov=u.Yz7({token:ae,factory:()=>(0,u.f3M)(K),providedIn:"root"})}return ae})();class ee{}let K=(()=>{class ae extends le{constructor(Ae,Ze){if(super(),this.animationModuleType=(0,u.f3M)(u.QbO,{optional:!0}),this._nextAnimationId=0,this._renderer=Ae.createRenderer(Ze.body,{id:"0",encapsulation:u.ifc.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function ie(ae){const pe=ae.\u0275type;return 0===pe||1===pe}(this._renderer))throw new u.vHH(3600,!1)}build(Ae){const Ze=this._nextAnimationId;this._nextAnimationId++;const dt=Array.isArray(Ae)?I(Ae):Ae;return H(this._renderer,null,Ze,"register",[dt]),new Q(Ze,this._renderer)}static#e=this.\u0275fac=function(Ze){return new(Ze||ae)(u.LFG(u.FYo),u.LFG(t.K0))};static#t=this.\u0275prov=u.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();class Q extends ee{constructor(pe,Ae){super(),this._id=pe,this._renderer=Ae}create(pe,Ae){return new q(this._id,pe,Ae||{},this._renderer)}}class q{constructor(pe,Ae,Ze,dt){this.id=pe,this.element=Ae,this._renderer=dt,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Ze)}_listen(pe,Ae){return this._renderer.listen(this.element,`@@${this.id}:${pe}`,Ae)}_command(pe,...Ae){H(this._renderer,this.element,this.id,pe,Ae)}onDone(pe){this._listen("done",pe)}onStart(pe){this._listen("start",pe)}onDestroy(pe){this._listen("destroy",pe)}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(pe){this._command("setPosition",pe)}getPosition(){return function T(ae){const pe=ae.\u0275type;return 0===pe?ae:1===pe?ae.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function H(ae,pe,Ae,Ze,dt){ae.setProperty(pe,`@@${Ae}:${Ze}`,dt)}class _e{constructor(pe=0,Ae=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=pe+Ae}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(pe=>pe()),this._onDoneFns=[])}onStart(pe){this._originalOnStartFns.push(pe),this._onStartFns.push(pe)}onDone(pe){this._originalOnDoneFns.push(pe),this._onDoneFns.push(pe)}onDestroy(pe){this._onDestroyFns.push(pe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(pe=>pe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(pe=>pe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(pe){this._position=this.totalTime?pe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(pe){const Ae="start"==pe?this._onStartFns:this._onDoneFns;Ae.forEach(Ze=>Ze()),Ae.length=0}}class Ce{constructor(pe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=pe;let Ae=0,Ze=0,dt=0;const Fe=this.players.length;0==Fe?queueMicrotask(()=>this._onFinish()):this.players.forEach(Xe=>{Xe.onDone(()=>{++Ae==Fe&&this._onFinish()}),Xe.onDestroy(()=>{++Ze==Fe&&this._onDestroy()}),Xe.onStart(()=>{++dt==Fe&&this._onStart()})}),this.totalTime=this.players.reduce((Xe,Ie)=>Math.max(Xe,Ie.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(pe=>pe()),this._onDoneFns=[])}init(){this.players.forEach(pe=>pe.init())}onStart(pe){this._onStartFns.push(pe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(pe=>pe()),this._onStartFns=[])}onDone(pe){this._onDoneFns.push(pe)}onDestroy(pe){this._onDestroyFns.push(pe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(pe=>pe.play())}pause(){this.players.forEach(pe=>pe.pause())}restart(){this.players.forEach(pe=>pe.restart())}finish(){this._onFinish(),this.players.forEach(pe=>pe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(pe=>pe.destroy()),this._onDestroyFns.forEach(pe=>pe()),this._onDestroyFns=[])}reset(){this.players.forEach(pe=>pe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(pe){const Ae=pe*this.totalTime;this.players.forEach(Ze=>{const dt=Ze.totalTime?Math.min(1,Ae/Ze.totalTime):1;Ze.setPosition(dt)})}getPosition(){const pe=this.players.reduce((Ae,Ze)=>null===Ae||Ze.totalTime>Ae.totalTime?Ze:Ae,null);return null!=pe?pe.getPosition():0}beforeDestroy(){this.players.forEach(pe=>{pe.beforeDestroy&&pe.beforeDestroy()})}triggerCallback(pe){const Ae="start"==pe?this._onStartFns:this._onDoneFns;Ae.forEach(Ze=>Ze()),Ae.length=0}}const Ve="!"},4300:(jt,$e,s)=>{"use strict";s.d($e,{$s:()=>Ve,Em:()=>dt,Kd:()=>ft,QL:()=>Et,X6:()=>fe,Zf:()=>Q,iD:()=>q,ic:()=>Xe,kH:()=>zt,mK:()=>sn,qV:()=>mt,qm:()=>di,rt:()=>Pt,s1:()=>Ze,tE:()=>Ye,yG:()=>Ne});var t=s(6814),u=s(9212),e=s(2831),m=s(8645),p=s(7394),U=s(5619),n=s(2096),I=s(6028),L=s(9397),y=s(3620),O=s(2181),M=s(7398),E=s(8180),A=s(836),S=s(3997),Z=s(9773),oe=s(2495),le=s(7131),ee=s(1088);const K=" ";function Q(Xt,Le,ue){const X=H(Xt,Le);X.some(xe=>xe.trim()==ue.trim())||(X.push(ue.trim()),Xt.setAttribute(Le,X.join(K)))}function q(Xt,Le,ue){const xe=H(Xt,Le).filter(et=>et!=ue.trim());xe.length?Xt.setAttribute(Le,xe.join(K)):Xt.removeAttribute(Le)}function H(Xt,Le){return(Xt.getAttribute(Le)||"").match(/\S+/g)||[]}const ie="cdk-describedby-message",_e="cdk-describedby-host";let Ce=0,Ve=(()=>{class Xt{constructor(ue,X){this._platform=X,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ce++,this._document=ue,this._id=(0,u.f3M)(u.AFp)+"-"+Ce++}describe(ue,X,xe){if(!this._canBeDescribed(ue,X))return;const et=ae(X,xe);"string"!=typeof X?(pe(X,this._id),this._messageRegistry.set(et,{messageElement:X,referenceCount:0})):this._messageRegistry.has(et)||this._createMessageElement(X,xe),this._isElementDescribedByMessage(ue,et)||this._addMessageReference(ue,et)}removeDescription(ue,X,xe){if(!X||!this._isElementNode(ue))return;const et=ae(X,xe);if(this._isElementDescribedByMessage(ue,et)&&this._removeMessageReference(ue,et),"string"==typeof X){const j=this._messageRegistry.get(et);j&&0===j.referenceCount&&this._deleteMessageElement(et)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ue=this._document.querySelectorAll(`[${_e}="${this._id}"]`);for(let X=0;X<ue.length;X++)this._removeCdkDescribedByReferenceIds(ue[X]),ue[X].removeAttribute(_e);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(ue,X){const xe=this._document.createElement("div");pe(xe,this._id),xe.textContent=ue,X&&xe.setAttribute("role",X),this._createMessagesContainer(),this._messagesContainer.appendChild(xe),this._messageRegistry.set(ae(ue,X),{messageElement:xe,referenceCount:0})}_deleteMessageElement(ue){this._messageRegistry.get(ue)?.messageElement?.remove(),this._messageRegistry.delete(ue)}_createMessagesContainer(){if(this._messagesContainer)return;const ue="cdk-describedby-message-container",X=this._document.querySelectorAll(`.${ue}[platform="server"]`);for(let et=0;et<X.length;et++)X[et].remove();const xe=this._document.createElement("div");xe.style.visibility="hidden",xe.classList.add(ue),xe.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&xe.setAttribute("platform","server"),this._document.body.appendChild(xe),this._messagesContainer=xe}_removeCdkDescribedByReferenceIds(ue){const X=H(ue,"aria-describedby").filter(xe=>0!=xe.indexOf(ie));ue.setAttribute("aria-describedby",X.join(" "))}_addMessageReference(ue,X){const xe=this._messageRegistry.get(X);Q(ue,"aria-describedby",xe.messageElement.id),ue.setAttribute(_e,this._id),xe.referenceCount++}_removeMessageReference(ue,X){const xe=this._messageRegistry.get(X);xe.referenceCount--,q(ue,"aria-describedby",xe.messageElement.id),ue.removeAttribute(_e)}_isElementDescribedByMessage(ue,X){const xe=H(ue,"aria-describedby"),et=this._messageRegistry.get(X),j=et&&et.messageElement.id;return!!j&&-1!=xe.indexOf(j)}_canBeDescribed(ue,X){if(!this._isElementNode(ue))return!1;if(X&&"object"==typeof X)return!0;const xe=null==X?"":`${X}`.trim(),et=ue.getAttribute("aria-label");return!(!xe||et&&et.trim()===xe)}_isElementNode(ue){return ue.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.LFG(t.K0),u.LFG(e.t4))};static#t=this.\u0275prov=u.Yz7({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}return Xt})();function ae(Xt,Le){return"string"==typeof Xt?`${Le||""}/${Xt}`:Xt}function pe(Xt,Le){Xt.id||(Xt.id=`${ie}-${Le}-${Ce++}`)}class Ae{constructor(Le){this._items=Le,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new m.x,this._typeaheadSubscription=p.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=ue=>ue.disabled,this._pressedLetters=[],this.tabOut=new m.x,this.change=new m.x,Le instanceof u.n_E&&(this._itemChangesSubscription=Le.changes.subscribe(ue=>{if(this._activeItem){const xe=ue.toArray().indexOf(this._activeItem);xe>-1&&xe!==this._activeItemIndex&&(this._activeItemIndex=xe)}}))}skipPredicate(Le){return this._skipPredicateFn=Le,this}withWrap(Le=!0){return this._wrap=Le,this}withVerticalOrientation(Le=!0){return this._vertical=Le,this}withHorizontalOrientation(Le){return this._horizontal=Le,this}withAllowedModifierKeys(Le){return this._allowedModifierKeys=Le,this}withTypeAhead(Le=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,L.b)(ue=>this._pressedLetters.push(ue)),(0,y.b)(Le),(0,O.h)(()=>this._pressedLetters.length>0),(0,M.U)(()=>this._pressedLetters.join(""))).subscribe(ue=>{const X=this._getItemsArray();for(let xe=1;xe<X.length+1;xe++){const et=(this._activeItemIndex+xe)%X.length,j=X[et];if(!this._skipPredicateFn(j)&&0===j.getLabel().toUpperCase().trim().indexOf(ue)){this.setActiveItem(et);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(Le=!0){return this._homeAndEnd=Le,this}withPageUpDown(Le=!0,ue=10){return this._pageUpAndDown={enabled:Le,delta:ue},this}setActiveItem(Le){const ue=this._activeItem;this.updateActiveItem(Le),this._activeItem!==ue&&this.change.next(this._activeItemIndex)}onKeydown(Le){const ue=Le.keyCode,xe=["altKey","ctrlKey","metaKey","shiftKey"].every(et=>!Le[et]||this._allowedModifierKeys.indexOf(et)>-1);switch(ue){case I.Mf:return void this.tabOut.next();case I.JH:if(this._vertical&&xe){this.setNextItemActive();break}return;case I.LH:if(this._vertical&&xe){this.setPreviousItemActive();break}return;case I.SV:if(this._horizontal&&xe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case I.oh:if(this._horizontal&&xe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case I.Sd:if(this._homeAndEnd&&xe){this.setFirstItemActive();break}return;case I.uR:if(this._homeAndEnd&&xe){this.setLastItemActive();break}return;case I.Ku:if(this._pageUpAndDown.enabled&&xe){const et=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(et>0?et:0,1);break}return;case I.VM:if(this._pageUpAndDown.enabled&&xe){const et=this._activeItemIndex+this._pageUpAndDown.delta,j=this._getItemsArray().length;this._setActiveItemByIndex(et<j?et:j-1,-1);break}return;default:return void((xe||(0,I.Vb)(Le,"shiftKey"))&&(Le.key&&1===Le.key.length?this._letterKeyStream.next(Le.key.toLocaleUpperCase()):(ue>=I.A&&ue<=I.Z||ue>=I.xE&&ue<=I.aO)&&this._letterKeyStream.next(String.fromCharCode(ue))))}this._pressedLetters=[],Le.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(Le){const ue=this._getItemsArray(),X="number"==typeof Le?Le:ue.indexOf(Le);this._activeItem=ue[X]??null,this._activeItemIndex=X}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Le){this._wrap?this._setActiveInWrapMode(Le):this._setActiveInDefaultMode(Le)}_setActiveInWrapMode(Le){const ue=this._getItemsArray();for(let X=1;X<=ue.length;X++){const xe=(this._activeItemIndex+Le*X+ue.length)%ue.length;if(!this._skipPredicateFn(ue[xe]))return void this.setActiveItem(xe)}}_setActiveInDefaultMode(Le){this._setActiveItemByIndex(this._activeItemIndex+Le,Le)}_setActiveItemByIndex(Le,ue){const X=this._getItemsArray();if(X[Le]){for(;this._skipPredicateFn(X[Le]);)if(!X[Le+=ue])return;this.setActiveItem(Le)}}_getItemsArray(){return this._items instanceof u.n_E?this._items.toArray():this._items}}class Ze extends Ae{setActiveItem(Le){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Le),this.activeItem&&this.activeItem.setActiveStyles()}}class dt extends Ae{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Le){return this._origin=Le,this}setActiveItem(Le){super.setActiveItem(Le),this.activeItem&&this.activeItem.focus(this._origin)}}let Xe=(()=>{class Xt{constructor(ue){this._platform=ue}isDisabled(ue){return ue.hasAttribute("disabled")}isVisible(ue){return function W(Xt){return!!(Xt.offsetWidth||Xt.offsetHeight||"function"==typeof Xt.getClientRects&&Xt.getClientRects().length)}(ue)&&"visible"===getComputedStyle(ue).visibility}isTabbable(ue){if(!this._platform.isBrowser)return!1;const X=function Ie(Xt){try{return Xt.frameElement}catch{return null}}(function Re(Xt){return Xt.ownerDocument&&Xt.ownerDocument.defaultView||window}(ue));if(X&&(-1===de(X)||!this.isVisible(X)))return!1;let xe=ue.nodeName.toLowerCase(),et=de(ue);return ue.hasAttribute("contenteditable")?-1!==et:!("iframe"===xe||"object"===xe||this._platform.WEBKIT&&this._platform.IOS&&!function De(Xt){let Le=Xt.nodeName.toLowerCase(),ue="input"===Le&&Xt.type;return"text"===ue||"password"===ue||"select"===Le||"textarea"===Le}(ue))&&("audio"===xe?!!ue.hasAttribute("controls")&&-1!==et:"video"===xe?-1!==et&&(null!==et||this._platform.FIREFOX||ue.hasAttribute("controls")):ue.tabIndex>=0)}isFocusable(ue,X){return function tt(Xt){return!function P(Xt){return function Se(Xt){return"input"==Xt.nodeName.toLowerCase()}(Xt)&&"hidden"==Xt.type}(Xt)&&(function we(Xt){let Le=Xt.nodeName.toLowerCase();return"input"===Le||"select"===Le||"button"===Le||"textarea"===Le}(Xt)||function V(Xt){return function G(Xt){return"a"==Xt.nodeName.toLowerCase()}(Xt)&&Xt.hasAttribute("href")}(Xt)||Xt.hasAttribute("contenteditable")||be(Xt))}(ue)&&!this.isDisabled(ue)&&(X?.ignoreVisibility||this.isVisible(ue))}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.LFG(e.t4))};static#t=this.\u0275prov=u.Yz7({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}return Xt})();function be(Xt){if(!Xt.hasAttribute("tabindex")||void 0===Xt.tabIndex)return!1;let Le=Xt.getAttribute("tabindex");return!(!Le||isNaN(parseInt(Le,10)))}function de(Xt){if(!be(Xt))return null;const Le=parseInt(Xt.getAttribute("tabindex")||"",10);return isNaN(Le)?-1:Le}class Ft{get enabled(){return this._enabled}set enabled(Le){this._enabled=Le,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Le,this._startAnchor),this._toggleAnchorTabIndex(Le,this._endAnchor))}constructor(Le,ue,X,xe,et=!1){this._element=Le,this._checker=ue,this._ngZone=X,this._document=xe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,et||this.attachAnchors()}destroy(){const Le=this._startAnchor,ue=this._endAnchor;Le&&(Le.removeEventListener("focus",this.startAnchorListener),Le.remove()),ue&&(ue.removeEventListener("focus",this.endAnchorListener),ue.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(Le){return new Promise(ue=>{this._executeOnStable(()=>ue(this.focusInitialElement(Le)))})}focusFirstTabbableElementWhenReady(Le){return new Promise(ue=>{this._executeOnStable(()=>ue(this.focusFirstTabbableElement(Le)))})}focusLastTabbableElementWhenReady(Le){return new Promise(ue=>{this._executeOnStable(()=>ue(this.focusLastTabbableElement(Le)))})}_getRegionBoundary(Le){const ue=this._element.querySelectorAll(`[cdk-focus-region-${Le}], [cdkFocusRegion${Le}], [cdk-focus-${Le}]`);return"start"==Le?ue.length?ue[0]:this._getFirstTabbableElement(this._element):ue.length?ue[ue.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Le){const ue=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(ue){if(!this._checker.isFocusable(ue)){const X=this._getFirstTabbableElement(ue);return X?.focus(Le),!!X}return ue.focus(Le),!0}return this.focusFirstTabbableElement(Le)}focusFirstTabbableElement(Le){const ue=this._getRegionBoundary("start");return ue&&ue.focus(Le),!!ue}focusLastTabbableElement(Le){const ue=this._getRegionBoundary("end");return ue&&ue.focus(Le),!!ue}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Le){if(this._checker.isFocusable(Le)&&this._checker.isTabbable(Le))return Le;const ue=Le.children;for(let X=0;X<ue.length;X++){const xe=ue[X].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(ue[X]):null;if(xe)return xe}return null}_getLastTabbableElement(Le){if(this._checker.isFocusable(Le)&&this._checker.isTabbable(Le))return Le;const ue=Le.children;for(let X=ue.length-1;X>=0;X--){const xe=ue[X].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(ue[X]):null;if(xe)return xe}return null}_createAnchor(){const Le=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Le),Le.classList.add("cdk-visually-hidden"),Le.classList.add("cdk-focus-trap-anchor"),Le.setAttribute("aria-hidden","true"),Le}_toggleAnchorTabIndex(Le,ue){Le?ue.setAttribute("tabindex","0"):ue.removeAttribute("tabindex")}toggleAnchors(Le){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Le,this._startAnchor),this._toggleAnchorTabIndex(Le,this._endAnchor))}_executeOnStable(Le){this._ngZone.isStable?Le():this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(Le)}}let mt=(()=>{class Xt{constructor(ue,X,xe){this._checker=ue,this._ngZone=X,this._document=xe}create(ue,X=!1){return new Ft(ue,this._checker,this._ngZone,this._document,X)}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.LFG(Xe),u.LFG(u.R0b),u.LFG(t.K0))};static#t=this.\u0275prov=u.Yz7({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}return Xt})(),sn=(()=>{class Xt{get enabled(){return this.focusTrap.enabled}set enabled(ue){this.focusTrap.enabled=(0,oe.Ig)(ue)}get autoCapture(){return this._autoCapture}set autoCapture(ue){this._autoCapture=(0,oe.Ig)(ue)}constructor(ue,X,xe){this._elementRef=ue,this._focusTrapFactory=X,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}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(ue){const X=ue.autoCapture;X&&!X.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,e.ht)(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.Y36(u.SBq),u.Y36(mt),u.Y36(t.K0))};static#t=this.\u0275dir=u.lG2({type:Xt,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[u.lbL.None,"cdkTrapFocus","enabled"],autoCapture:[u.lbL.None,"cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[u.TTD]})}return Xt})();function fe(Xt){return 0===Xt.buttons||0===Xt.detail}function Ne(Xt){const Le=Xt.touches&&Xt.touches[0]||Xt.changedTouches&&Xt.changedTouches[0];return!(!Le||-1!==Le.identifier||null!=Le.radiusX&&1!==Le.radiusX||null!=Le.radiusY&&1!==Le.radiusY)}const $=new u.OlP("cdk-input-modality-detector-options"),Ee={ignoreKeys:[I.zL,I.jx,I.b2,I.MW,I.JU]},Ke=(0,e.i$)({passive:!0,capture:!0});let Et=(()=>{class Xt{get mostRecentModality(){return this._modality.value}constructor(ue,X,xe,et){this._platform=ue,this._mostRecentTarget=null,this._modality=new U.X(null),this._lastTouchMs=0,this._onKeydown=j=>{this._options?.ignoreKeys?.some(F=>F===j.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,e.sA)(j))},this._onMousedown=j=>{Date.now()-this._lastTouchMs<650||(this._modality.next(fe(j)?"keyboard":"mouse"),this._mostRecentTarget=(0,e.sA)(j))},this._onTouchstart=j=>{Ne(j)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,e.sA)(j))},this._options={...Ee,...et},this.modalityDetected=this._modality.pipe((0,A.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,S.x)()),ue.isBrowser&&X.runOutsideAngular(()=>{xe.addEventListener("keydown",this._onKeydown,Ke),xe.addEventListener("mousedown",this._onMousedown,Ke),xe.addEventListener("touchstart",this._onTouchstart,Ke)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ke),document.removeEventListener("mousedown",this._onMousedown,Ke),document.removeEventListener("touchstart",this._onTouchstart,Ke))}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.LFG(e.t4),u.LFG(u.R0b),u.LFG(t.K0),u.LFG($,8))};static#t=this.\u0275prov=u.Yz7({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}return Xt})();const Tt=new u.OlP("liveAnnouncerElement",{providedIn:"root",factory:function tn(){return null}}),rn=new u.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Nt=0,ft=(()=>{class Xt{constructor(ue,X,xe,et){this._ngZone=X,this._defaultOptions=et,this._document=xe,this._liveElement=ue||this._createLiveElement()}announce(ue,...X){const xe=this._defaultOptions;let et,j;return 1===X.length&&"number"==typeof X[0]?j=X[0]:[et,j]=X,this.clear(),clearTimeout(this._previousTimeout),et||(et=xe&&xe.politeness?xe.politeness:"polite"),null==j&&xe&&(j=xe.duration),this._liveElement.setAttribute("aria-live",et),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(F=>this._currentResolve=F)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=ue,"number"==typeof j&&(this._previousTimeout=setTimeout(()=>this.clear(),j)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const ue="cdk-live-announcer-element",X=this._document.getElementsByClassName(ue),xe=this._document.createElement("div");for(let et=0;et<X.length;et++)X[et].remove();return xe.classList.add(ue),xe.classList.add("cdk-visually-hidden"),xe.setAttribute("aria-atomic","true"),xe.setAttribute("aria-live","polite"),xe.id="cdk-live-announcer-"+Nt++,this._document.body.appendChild(xe),xe}_exposeAnnouncerToModals(ue){const X=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let xe=0;xe<X.length;xe++){const et=X[xe],j=et.getAttribute("aria-owns");j?-1===j.indexOf(ue)&&et.setAttribute("aria-owns",j+" "+ue):et.setAttribute("aria-owns",ue)}}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.LFG(Tt,8),u.LFG(u.R0b),u.LFG(t.K0),u.LFG(rn,8))};static#t=this.\u0275prov=u.Yz7({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}return Xt})();const Ue=new u.OlP("cdk-focus-monitor-default-options"),nt=(0,e.i$)({passive:!0,capture:!0});let Ye=(()=>{class Xt{constructor(ue,X,xe,et,j){this._ngZone=ue,this._platform=X,this._inputModalityDetector=xe,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 m.x,this._rootNodeFocusAndBlurListener=F=>{for(let k=(0,e.sA)(F);k;k=k.parentElement)"focus"===F.type?this._onFocus(F,k):this._onBlur(F,k)},this._document=et,this._detectionMode=j?.detectionMode||0}monitor(ue,X=!1){const xe=(0,oe.fI)(ue);if(!this._platform.isBrowser||1!==xe.nodeType)return(0,n.of)();const et=(0,e.kV)(xe)||this._getDocument(),j=this._elementInfo.get(xe);if(j)return X&&(j.checkChildren=!0),j.subject;const F={checkChildren:X,subject:new m.x,rootNode:et};return this._elementInfo.set(xe,F),this._registerGlobalListeners(F),F.subject}stopMonitoring(ue){const X=(0,oe.fI)(ue),xe=this._elementInfo.get(X);xe&&(xe.subject.complete(),this._setClasses(X),this._elementInfo.delete(X),this._removeGlobalListeners(xe))}focusVia(ue,X,xe){const et=(0,oe.fI)(ue);et===this._getDocument().activeElement?this._getClosestElementsInfo(et).forEach(([F,N])=>this._originChanged(F,X,N)):(this._setOrigin(X),"function"==typeof et.focus&&et.focus(xe))}ngOnDestroy(){this._elementInfo.forEach((ue,X)=>this.stopMonitoring(X))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(ue){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ue)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ue&&this._isLastInteractionFromInputLabel(ue)?"mouse":"program"}_shouldBeAttributedToTouch(ue){return 1===this._detectionMode||!!ue?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ue,X){ue.classList.toggle("cdk-focused",!!X),ue.classList.toggle("cdk-touch-focused","touch"===X),ue.classList.toggle("cdk-keyboard-focused","keyboard"===X),ue.classList.toggle("cdk-mouse-focused","mouse"===X),ue.classList.toggle("cdk-program-focused","program"===X)}_setOrigin(ue,X=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ue,this._originFromTouchInteraction="touch"===ue&&X,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ue,X){const xe=this._elementInfo.get(X),et=(0,e.sA)(ue);!xe||!xe.checkChildren&&X!==et||this._originChanged(X,this._getFocusOrigin(et),xe)}_onBlur(ue,X){const xe=this._elementInfo.get(X);!xe||xe.checkChildren&&ue.relatedTarget instanceof Node&&X.contains(ue.relatedTarget)||(this._setClasses(X),this._emitOrigin(xe,null))}_emitOrigin(ue,X){ue.subject.observers.length&&this._ngZone.run(()=>ue.subject.next(X))}_registerGlobalListeners(ue){if(!this._platform.isBrowser)return;const X=ue.rootNode,xe=this._rootNodeFocusListenerCount.get(X)||0;xe||this._ngZone.runOutsideAngular(()=>{X.addEventListener("focus",this._rootNodeFocusAndBlurListener,nt),X.addEventListener("blur",this._rootNodeFocusAndBlurListener,nt)}),this._rootNodeFocusListenerCount.set(X,xe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Z.R)(this._stopInputModalityDetector)).subscribe(et=>{this._setOrigin(et,!0)}))}_removeGlobalListeners(ue){const X=ue.rootNode;if(this._rootNodeFocusListenerCount.has(X)){const xe=this._rootNodeFocusListenerCount.get(X);xe>1?this._rootNodeFocusListenerCount.set(X,xe-1):(X.removeEventListener("focus",this._rootNodeFocusAndBlurListener,nt),X.removeEventListener("blur",this._rootNodeFocusAndBlurListener,nt),this._rootNodeFocusListenerCount.delete(X))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ue,X,xe){this._setClasses(ue,X),this._emitOrigin(xe,X),this._lastFocusOrigin=X}_getClosestElementsInfo(ue){const X=[];return this._elementInfo.forEach((xe,et)=>{(et===ue||xe.checkChildren&&et.contains(ue))&&X.push([et,xe])}),X}_isLastInteractionFromInputLabel(ue){const{_mostRecentTarget:X,mostRecentModality:xe}=this._inputModalityDetector;if("mouse"!==xe||!X||X===ue||"INPUT"!==ue.nodeName&&"TEXTAREA"!==ue.nodeName||ue.disabled)return!1;const et=ue.labels;if(et)for(let j=0;j<et.length;j++)if(et[j].contains(X))return!0;return!1}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.LFG(u.R0b),u.LFG(e.t4),u.LFG(Et),u.LFG(t.K0,8),u.LFG(Ue,8))};static#t=this.\u0275prov=u.Yz7({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}return Xt})(),zt=(()=>{class Xt{constructor(ue,X){this._elementRef=ue,this._focusMonitor=X,this._focusOrigin=null,this.cdkFocusChange=new u.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ue=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ue,1===ue.nodeType&&ue.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(X=>{this._focusOrigin=X,this.cdkFocusChange.emit(X)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.Y36(u.SBq),u.Y36(Ye))};static#t=this.\u0275dir=u.lG2({type:Xt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return Xt})();const $t="cdk-high-contrast-black-on-white",Mn="cdk-high-contrast-white-on-black",Wn="cdk-high-contrast-active";let di=(()=>{class Xt{constructor(ue,X){this._platform=ue,this._document=X,this._breakpointSubscription=(0,u.f3M)(ee.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const ue=this._document.createElement("div");ue.style.backgroundColor="rgb(1,2,3)",ue.style.position="absolute",this._document.body.appendChild(ue);const X=this._document.defaultView||window,xe=X&&X.getComputedStyle?X.getComputedStyle(ue):null,et=(xe&&xe.backgroundColor||"").replace(/ /g,"");switch(ue.remove(),et){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const ue=this._document.body.classList;ue.remove(Wn,$t,Mn),this._hasCheckedHighContrastMode=!0;const X=this.getHighContrastMode();1===X?ue.add(Wn,$t):2===X&&ue.add(Wn,Mn)}}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.LFG(e.t4),u.LFG(t.K0))};static#t=this.\u0275prov=u.Yz7({token:Xt,factory:Xt.\u0275fac,providedIn:"root"})}return Xt})(),Pt=(()=>{class Xt{constructor(ue){ue._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(X){return new(X||Xt)(u.LFG(di))};static#t=this.\u0275mod=u.oAB({type:Xt});static#n=this.\u0275inj=u.cJS({imports:[le.Q8]})}return Xt})()},9388:(jt,$e,s)=>{"use strict";s.d($e,{Is:()=>n,vT:()=>L});var t=s(9212),u=s(6814);const e=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function m(){return(0,t.f3M)(u.K0)}}),p=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let n=(()=>{class y{constructor(M){this.value="ltr",this.change=new t.vpe,M&&(this.value=function U(y){const O=y?.toLowerCase()||"";return"auto"===O&&typeof navigator<"u"&&navigator?.language?p.test(navigator.language)?"rtl":"ltr":"rtl"===O?"rtl":"ltr"}((M.body?M.body.dir:null)||(M.documentElement?M.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(E){return new(E||y)(t.LFG(e,8))};static#t=this.\u0275prov=t.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})(),L=(()=>{class y{static#e=this.\u0275fac=function(E){return new(E||y)};static#t=this.\u0275mod=t.oAB({type:y});static#n=this.\u0275inj=t.cJS({})}return y})()},2495:(jt,$e,s)=>{"use strict";s.d($e,{Eq:()=>p,HM:()=>U,Ig:()=>u,du:()=>I,fI:()=>n,su:()=>e,t6:()=>m});var t=s(9212);function u(L){return null!=L&&"false"!=`${L}`}function e(L,y=0){return m(L)?Number(L):y}function m(L){return!isNaN(parseFloat(L))&&!isNaN(Number(L))}function p(L){return Array.isArray(L)?L:[L]}function U(L){return null==L?"":"string"==typeof L?L:`${L}px`}function n(L){return L instanceof t.SBq?L.nativeElement:L}function I(L,y=/\s+/){const O=[];if(null!=L){const M=Array.isArray(L)?L:`${L}`.split(y);for(const E of M){const A=`${E}`.trim();A&&O.push(A)}}return O}},8337:(jt,$e,s)=>{"use strict";s.d($e,{A8:()=>O,Ov:()=>L,Z9:()=>p,eX:()=>I,k:()=>M,o2:()=>m,yy:()=>n});var t=s(3168),u=s(8645),e=s(9212);class m{}function p(E){return E&&"function"==typeof E.connect&&!(E instanceof t.c)}class n{applyChanges(A,S,Z,oe,le){A.forEachOperation((ee,K,Q)=>{let q,H;if(null==ee.previousIndex){const T=Z(ee,K,Q);q=S.createEmbeddedView(T.templateRef,T.context,T.index),H=1}else null==Q?(S.remove(K),H=3):(q=S.get(K),S.move(q,Q),H=2);le&&le({context:q?.context,operation:H,record:ee})})}detach(){}}class I{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(A,S,Z,oe,le){A.forEachOperation((ee,K,Q)=>{let q,H;null==ee.previousIndex?(q=this._insertView(()=>Z(ee,K,Q),Q,S,oe(ee)),H=q?1:0):null==Q?(this._detachAndCacheView(K,S),H=3):(q=this._moveView(K,Q,S,oe(ee)),H=2),le&&le({context:q?.context,operation:H,record:ee})})}detach(){for(const A of this._viewCache)A.destroy();this._viewCache=[]}_insertView(A,S,Z,oe){const le=this._insertViewFromCache(S,Z);if(le)return void(le.context.$implicit=oe);const ee=A();return Z.createEmbeddedView(ee.templateRef,ee.context,ee.index)}_detachAndCacheView(A,S){const Z=S.detach(A);this._maybeCacheView(Z,S)}_moveView(A,S,Z,oe){const le=Z.get(A);return Z.move(le,S),le.context.$implicit=oe,le}_maybeCacheView(A,S){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(A);else{const Z=S.indexOf(A);-1===Z?A.destroy():S.remove(Z)}}_insertViewFromCache(A,S){const Z=this._viewCache.pop();return Z&&S.insert(Z,A),Z||null}}class L{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(A=!1,S,Z=!0,oe){this._multiple=A,this._emitChanges=Z,this.compareWith=oe,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new u.x,S&&S.length&&(A?S.forEach(le=>this._markSelected(le)):this._markSelected(S[0]),this._selectedToEmit.length=0)}select(...A){this._verifyValueAssignment(A),A.forEach(Z=>this._markSelected(Z));const S=this._hasQueuedChanges();return this._emitChangeEvent(),S}deselect(...A){this._verifyValueAssignment(A),A.forEach(Z=>this._unmarkSelected(Z));const S=this._hasQueuedChanges();return this._emitChangeEvent(),S}setSelection(...A){this._verifyValueAssignment(A);const S=this.selected,Z=new Set(A);A.forEach(le=>this._markSelected(le)),S.filter(le=>!Z.has(le)).forEach(le=>this._unmarkSelected(le));const oe=this._hasQueuedChanges();return this._emitChangeEvent(),oe}toggle(A){return this.isSelected(A)?this.deselect(A):this.select(A)}clear(A=!0){this._unmarkAll();const S=this._hasQueuedChanges();return A&&this._emitChangeEvent(),S}isSelected(A){return this._selection.has(this._getConcreteValue(A))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(A){this._multiple&&this.selected&&this._selected.sort(A)}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(A){A=this._getConcreteValue(A),this.isSelected(A)||(this._multiple||this._unmarkAll(),this.isSelected(A)||this._selection.add(A),this._emitChanges&&this._selectedToEmit.push(A))}_unmarkSelected(A){A=this._getConcreteValue(A),this.isSelected(A)&&(this._selection.delete(A),this._emitChanges&&this._deselectedToEmit.push(A))}_unmarkAll(){this.isEmpty()||this._selection.forEach(A=>this._unmarkSelected(A))}_verifyValueAssignment(A){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(A){if(this.compareWith){for(let S of this._selection)if(this.compareWith(A,S))return S;return A}return A}}let O=(()=>{class E{constructor(){this._listeners=[]}notify(S,Z){for(let oe of this._listeners)oe(S,Z)}listen(S){return this._listeners.push(S),()=>{this._listeners=this._listeners.filter(Z=>S!==Z)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(Z){return new(Z||E)};static#t=this.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})();const M=new e.OlP("_ViewRepeater")},7954:(jt,$e,s)=>{"use strict";s.d($e,{LL:()=>Z,Su:()=>_e,Vq:()=>T,ib:()=>A});var t=s(4300),u=s(9594),e=s(2831),m=s(8484),p=s(6814),U=s(9212),n=s(6028),I=s(8645),L=s(4911),y=s(2096),O=s(9388),M=s(7921);function E(Ce,Ve){}class A{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let Z=(()=>{class Ce extends m.en{constructor(ae,pe,Ae,Ze,dt,Fe,Xe,Ie){super(),this._elementRef=ae,this._focusTrapFactory=pe,this._config=Ze,this._interactivityChecker=dt,this._ngZone=Fe,this._overlayRef=Xe,this._focusMonitor=Ie,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=W=>{this._portalOutlet.hasAttached();const we=this._portalOutlet.attachDomPortal(W);return this._contentAttached(),we},this._document=Ae,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ae){this._portalOutlet.hasAttached();const pe=this._portalOutlet.attachComponentPortal(ae);return this._contentAttached(),pe}attachTemplatePortal(ae){this._portalOutlet.hasAttached();const pe=this._portalOutlet.attachTemplatePortal(ae);return this._contentAttached(),pe}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ae,pe){this._interactivityChecker.isFocusable(ae)||(ae.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ae=()=>{ae.removeEventListener("blur",Ae),ae.removeEventListener("mousedown",Ae),ae.removeAttribute("tabindex")};ae.addEventListener("blur",Ae),ae.addEventListener("mousedown",Ae)})),ae.focus(pe)}_focusByCssSelector(ae,pe){let Ae=this._elementRef.nativeElement.querySelector(ae);Ae&&this._forceFocus(Ae,pe)}_trapFocus(){const ae=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ae.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(pe=>{pe||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 ae=this._config.restoreFocus;let pe=null;if("string"==typeof ae?pe=this._document.querySelector(ae):"boolean"==typeof ae?pe=ae?this._elementFocusedBeforeDialogWasOpened:null:ae&&(pe=ae),this._config.restoreFocus&&pe&&"function"==typeof pe.focus){const Ae=(0,e.ht)(),Ze=this._elementRef.nativeElement;(!Ae||Ae===this._document.body||Ae===Ze||Ze.contains(Ae))&&(this._focusMonitor?(this._focusMonitor.focusVia(pe,this._closeInteractionType),this._closeInteractionType=null):pe.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ae=this._elementRef.nativeElement,pe=(0,e.ht)();return ae===pe||ae.contains(pe)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,e.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(pe){return new(pe||Ce)(U.Y36(U.SBq),U.Y36(t.qV),U.Y36(p.K0,8),U.Y36(A),U.Y36(t.ic),U.Y36(U.R0b),U.Y36(u.Iu),U.Y36(t.tE))};static#t=this.\u0275cmp=U.Xpm({type:Ce,selectors:[["cdk-dialog-container"]],viewQuery:function(pe,Ae){if(1&pe&&U.Gf(m.Pl,7),2&pe){let Ze;U.iGM(Ze=U.CRH())&&(Ae._portalOutlet=Ze.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(pe,Ae){2&pe&&U.uIk("id",Ae._config.id||null)("role",Ae._config.role)("aria-modal",Ae._config.ariaModal)("aria-labelledby",Ae._config.ariaLabel?null:Ae._ariaLabelledByQueue[0])("aria-label",Ae._config.ariaLabel)("aria-describedby",Ae._config.ariaDescribedBy||null)},features:[U.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(pe,Ae){1&pe&&U.YNc(0,E,0,0,"ng-template",0)},dependencies:[m.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return Ce})();class oe{constructor(Ve,ae){this.overlayRef=Ve,this.config=ae,this.closed=new I.x,this.disableClose=ae.disableClose,this.backdropClick=Ve.backdropClick(),this.keydownEvents=Ve.keydownEvents(),this.outsidePointerEvents=Ve.outsidePointerEvents(),this.id=ae.id,this.keydownEvents.subscribe(pe=>{pe.keyCode===n.hY&&!this.disableClose&&!(0,n.Vb)(pe)&&(pe.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Ve.detachments().subscribe(()=>{!1!==ae.closeOnOverlayDetachments&&this.close()})}close(Ve,ae){if(this.containerInstance){const pe=this.closed;this.containerInstance._closeInteractionType=ae?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),pe.next(Ve),pe.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ve="",ae=""){return this.overlayRef.updateSize({width:Ve,height:ae}),this}addPanelClass(Ve){return this.overlayRef.addPanelClass(Ve),this}removePanelClass(Ve){return this.overlayRef.removePanelClass(Ve),this}}const le=new U.OlP("DialogScrollStrategy"),ee=new U.OlP("DialogData"),K=new U.OlP("DefaultDialogConfig"),q={provide:le,deps:[u.aV],useFactory:function Q(Ce){return()=>Ce.scrollStrategies.block()}};let H=0,T=(()=>{class Ce{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(ae,pe,Ae,Ze,dt,Fe){this._overlay=ae,this._injector=pe,this._defaultOptions=Ae,this._parentDialog=Ze,this._overlayContainer=dt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new I.x,this._afterOpenedAtThisLevel=new I.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,L.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,M.O)(void 0))),this._scrollStrategy=Fe}open(ae,pe){(pe={...this._defaultOptions||new A,...pe}).id=pe.id||"cdk-dialog-"+H++,pe.id&&this.getDialogById(pe.id);const Ze=this._getOverlayConfig(pe),dt=this._overlay.create(Ze),Fe=new oe(dt,pe),Xe=this._attachContainer(dt,Fe,pe);return Fe.containerInstance=Xe,this._attachDialogContent(ae,Fe,Xe,pe),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Fe),Fe.closed.subscribe(()=>this._removeOpenDialog(Fe,!0)),this.afterOpened.next(Fe),Fe}closeAll(){ie(this.openDialogs,ae=>ae.close())}getDialogById(ae){return this.openDialogs.find(pe=>pe.id===ae)}ngOnDestroy(){ie(this._openDialogsAtThisLevel,ae=>{!1===ae.config.closeOnDestroy&&this._removeOpenDialog(ae,!1)}),ie(this._openDialogsAtThisLevel,ae=>ae.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ae){const pe=new u.X_({positionStrategy:ae.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ae.scrollStrategy||this._scrollStrategy(),panelClass:ae.panelClass,hasBackdrop:ae.hasBackdrop,direction:ae.direction,minWidth:ae.minWidth,minHeight:ae.minHeight,maxWidth:ae.maxWidth,maxHeight:ae.maxHeight,width:ae.width,height:ae.height,disposeOnNavigation:ae.closeOnNavigation});return ae.backdropClass&&(pe.backdropClass=ae.backdropClass),pe}_attachContainer(ae,pe,Ae){const Ze=Ae.injector||Ae.viewContainerRef?.injector,dt=[{provide:A,useValue:Ae},{provide:oe,useValue:pe},{provide:u.Iu,useValue:ae}];let Fe;Ae.container?"function"==typeof Ae.container?Fe=Ae.container:(Fe=Ae.container.type,dt.push(...Ae.container.providers(Ae))):Fe=Z;const Xe=new m.C5(Fe,Ae.viewContainerRef,U.zs3.create({parent:Ze||this._injector,providers:dt}),Ae.componentFactoryResolver);return ae.attach(Xe).instance}_attachDialogContent(ae,pe,Ae,Ze){if(ae instanceof U.Rgc){const dt=this._createInjector(Ze,pe,Ae,void 0);let Fe={$implicit:Ze.data,dialogRef:pe};Ze.templateContext&&(Fe={...Fe,..."function"==typeof Ze.templateContext?Ze.templateContext():Ze.templateContext}),Ae.attachTemplatePortal(new m.UE(ae,null,Fe,dt))}else{const dt=this._createInjector(Ze,pe,Ae,this._injector),Fe=Ae.attachComponentPortal(new m.C5(ae,Ze.viewContainerRef,dt,Ze.componentFactoryResolver));pe.componentRef=Fe,pe.componentInstance=Fe.instance}}_createInjector(ae,pe,Ae,Ze){const dt=ae.injector||ae.viewContainerRef?.injector,Fe=[{provide:ee,useValue:ae.data},{provide:oe,useValue:pe}];return ae.providers&&("function"==typeof ae.providers?Fe.push(...ae.providers(pe,ae,Ae)):Fe.push(...ae.providers)),ae.direction&&(!dt||!dt.get(O.Is,null,{optional:!0}))&&Fe.push({provide:O.Is,useValue:{value:ae.direction,change:(0,y.of)()}}),U.zs3.create({parent:dt||Ze,providers:Fe})}_removeOpenDialog(ae,pe){const Ae=this.openDialogs.indexOf(ae);Ae>-1&&(this.openDialogs.splice(Ae,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Ze,dt)=>{Ze?dt.setAttribute("aria-hidden",Ze):dt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),pe&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ae=this._overlayContainer.getContainerElement();if(ae.parentElement){const pe=ae.parentElement.children;for(let Ae=pe.length-1;Ae>-1;Ae--){const Ze=pe[Ae];Ze!==ae&&"SCRIPT"!==Ze.nodeName&&"STYLE"!==Ze.nodeName&&!Ze.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Ze,Ze.getAttribute("aria-hidden")),Ze.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ae=this._parentDialog;return ae?ae._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(pe){return new(pe||Ce)(U.LFG(u.aV),U.LFG(U.zs3),U.LFG(K,8),U.LFG(Ce,12),U.LFG(u.Xj),U.LFG(le))};static#t=this.\u0275prov=U.Yz7({token:Ce,factory:Ce.\u0275fac})}return Ce})();function ie(Ce,Ve){let ae=Ce.length;for(;ae--;)Ve(Ce[ae])}let _e=(()=>{class Ce{static#e=this.\u0275fac=function(pe){return new(pe||Ce)};static#t=this.\u0275mod=U.oAB({type:Ce});static#n=this.\u0275inj=U.cJS({providers:[T,q],imports:[u.U8,m.eL,t.rt,m.eL]})}return Ce})()},4423:(jt,$e,s)=>{"use strict";s.d($e,{Hk:()=>ft,Wj:()=>Pt,Zt:()=>$t,_t:()=>Le,bA:()=>Re});var t=s(9212),u=s(6814),e=s(6672),m=s(2831),p=s(2495),U=s(4300),n=s(8645),I=s(7394),L=s(1687),y=s(927),O=s(5592),M=s(3019),E=s(9773),A=s(7398),S=s(8180),Z=s(7921),oe=s(9397),le=s(4664),ee=s(9388);function K(ue,X,xe){for(let et in X)if(X.hasOwnProperty(et)){const j=X[et];j?ue.setProperty(et,j,xe?.has(et)?"important":""):ue.removeProperty(et)}return ue}function Q(ue,X){const xe=X?"":"none";K(ue.style,{"touch-action":X?"":"none","-webkit-user-drag":X?"":"none","-webkit-tap-highlight-color":X?"":"transparent","user-select":xe,"-ms-user-select":xe,"-webkit-user-select":xe,"-moz-user-select":xe})}function q(ue,X,xe){K(ue.style,{position:X?"":"fixed",top:X?"":"0",opacity:X?"":"0",left:X?"":"-999em"},xe)}function H(ue,X){return X&&"none"!=X?ue+" "+X:ue}function T(ue){const X=ue.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(ue)*X}function _e(ue,X){return ue.getPropertyValue(X).split(",").map(et=>et.trim())}function Ce(ue){const X=ue.getBoundingClientRect();return{top:X.top,right:X.right,bottom:X.bottom,left:X.left,width:X.width,height:X.height,x:X.x,y:X.y}}function Ve(ue,X,xe){const{top:et,bottom:j,left:F,right:N}=ue;return xe>=et&&xe<=j&&X>=F&&X<=N}function ae(ue,X,xe){ue.top+=X,ue.bottom=ue.top+ue.height,ue.left+=xe,ue.right=ue.left+ue.width}function pe(ue,X,xe,et){const{top:j,right:F,bottom:N,left:k,width:ne,height:z}=ue,re=ne*X,B=z*X;return et>j-B&&et<N+B&&xe>k-re&&xe<F+re}class Ae{constructor(X){this._document=X,this.positions=new Map}clear(){this.positions.clear()}cache(X){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),X.forEach(xe=>{this.positions.set(xe,{scrollPosition:{top:xe.scrollTop,left:xe.scrollLeft},clientRect:Ce(xe)})})}handleScroll(X){const xe=(0,m.sA)(X),et=this.positions.get(xe);if(!et)return null;const j=et.scrollPosition;let F,N;if(xe===this._document){const z=this.getViewportScrollPosition();F=z.top,N=z.left}else F=xe.scrollTop,N=xe.scrollLeft;const k=j.top-F,ne=j.left-N;return this.positions.forEach((z,re)=>{z.clientRect&&xe!==re&&xe.contains(re)&&ae(z.clientRect,k,ne)}),j.top=F,j.left=N,{top:k,left:ne}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function Ze(ue){const X=ue.cloneNode(!0),xe=X.querySelectorAll("[id]"),et=ue.nodeName.toLowerCase();X.removeAttribute("id");for(let j=0;j<xe.length;j++)xe[j].removeAttribute("id");return"canvas"===et?Ie(ue,X):("input"===et||"select"===et||"textarea"===et)&&Xe(ue,X),dt("canvas",ue,X,Ie),dt("input, textarea, select",ue,X,Xe),X}function dt(ue,X,xe,et){const j=X.querySelectorAll(ue);if(j.length){const F=xe.querySelectorAll(ue);for(let N=0;N<j.length;N++)et(j[N],F[N])}}let Fe=0;function Xe(ue,X){"file"!==X.type&&(X.value=ue.value),"radio"===X.type&&X.name&&(X.name=`mat-clone-${X.name}-${Fe++}`)}function Ie(ue,X){const xe=X.getContext("2d");if(xe)try{xe.drawImage(ue,0,0)}catch{}}const W=(0,m.i$)({passive:!0}),we=(0,m.i$)({passive:!1}),V=new Set(["position"]);class Se{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(X){const xe=(0,p.Ig)(X);xe!==this._disabled&&(this._disabled=xe,this._toggleNativeDragInteractions(),this._handles.forEach(et=>Q(et,xe)))}constructor(X,xe,et,j,F,N){this._config=xe,this._document=et,this._ngZone=j,this._viewportRuler=F,this._dragDropRegistry=N,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new n.x,this._pointerMoveSubscription=I.w0.EMPTY,this._pointerUpSubscription=I.w0.EMPTY,this._scrollSubscription=I.w0.EMPTY,this._resizeSubscription=I.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new n.x,this.started=new n.x,this.released=new n.x,this.ended=new n.x,this.entered=new n.x,this.exited=new n.x,this.dropped=new n.x,this.moved=this._moveEvents,this._pointerDown=k=>{if(this.beforeStarted.next(),this._handles.length){const ne=this._getTargetHandle(k);ne&&!this._disabledHandles.has(ne)&&!this.disabled&&this._initializeDragSequence(ne,k)}else this.disabled||this._initializeDragSequence(this._rootElement,k)},this._pointerMove=k=>{const ne=this._getPointerPositionOnPage(k);if(!this._hasStartedDragging){if(Math.abs(ne.x-this._pickupPositionOnPage.x)+Math.abs(ne.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const Qe=Date.now()>=this._dragStartTime+this._getDragStartDelay(k),_t=this._dropContainer;if(!Qe)return void this._endDragSequence(k);(!_t||!_t.isDragging()&&!_t.isReceiving())&&(k.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(k)))}return}k.preventDefault();const z=this._getConstrainedPointerPosition(ne);if(this._hasMoved=!0,this._lastKnownPointerPosition=ne,this._updatePointerDirectionDelta(z),this._dropContainer)this._updateActiveDropContainer(z,ne);else{const re=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,B=this._activeTransform;B.x=z.x-re.x+this._passiveTransform.x,B.y=z.y-re.y+this._passiveTransform.y,this._applyRootElementTransform(B.x,B.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:z,event:k,distance:this._getDragDistance(z),delta:this._pointerDirectionDelta})})},this._pointerUp=k=>{this._endDragSequence(k)},this._nativeDragStart=k=>{if(this._handles.length){const ne=this._getTargetHandle(k);ne&&!this._disabledHandles.has(ne)&&!this.disabled&&k.preventDefault()}else this.disabled||k.preventDefault()},this.withRootElement(X).withParent(xe.parentDragRef||null),this._parentPositions=new Ae(et),N.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(X){this._handles=X.map(et=>(0,p.fI)(et)),this._handles.forEach(et=>Q(et,this.disabled)),this._toggleNativeDragInteractions();const xe=new Set;return this._disabledHandles.forEach(et=>{this._handles.indexOf(et)>-1&&xe.add(et)}),this._disabledHandles=xe,this}withPreviewTemplate(X){return this._previewTemplate=X,this}withPlaceholderTemplate(X){return this._placeholderTemplate=X,this}withRootElement(X){const xe=(0,p.fI)(X);return xe!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{xe.addEventListener("mousedown",this._pointerDown,we),xe.addEventListener("touchstart",this._pointerDown,W),xe.addEventListener("dragstart",this._nativeDragStart,we)}),this._initialTransform=void 0,this._rootElement=xe),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(X){return this._boundaryElement=X?(0,p.fI)(X):null,this._resizeSubscription.unsubscribe(),X&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(X){return this._parentDragRef=X,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(X){!this._disabledHandles.has(X)&&this._handles.indexOf(X)>-1&&(this._disabledHandles.add(X),Q(X,!0))}enableHandle(X){this._disabledHandles.has(X)&&(this._disabledHandles.delete(X),Q(X,this.disabled))}withDirection(X){return this._direction=X,this}_withDropContainer(X){this._dropContainer=X}getFreeDragPosition(){const X=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:X.x,y:X.y}}setFreeDragPosition(X){return this._activeTransform={x:0,y:0},this._passiveTransform.x=X.x,this._passiveTransform.y=X.y,this._dropContainer||this._applyRootElementTransform(X.x,X.y),this}withPreviewContainer(X){return this._previewContainer=X,this}_sortFromLastPointerPosition(){const X=this._lastKnownPointerPosition;X&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(X),X)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(X){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:X}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(X),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const xe=this._getPointerPositionOnPage(X);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(xe),dropPoint:xe,event:X})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(X){de(X)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const xe=this._dropContainer;if(xe){const et=this._rootElement,j=et.parentNode,F=this._placeholder=this._createPlaceholderElement(),N=this._anchor=this._anchor||this._document.createComment(""),k=this._getShadowRoot();j.insertBefore(N,et),this._initialTransform=et.style.transform||"",this._preview=this._createPreviewElement(),q(et,!1,V),this._document.body.appendChild(j.replaceChild(F,et)),this._getPreviewInsertionPoint(j,k).appendChild(this._preview),this.started.next({source:this,event:X}),xe.start(),this._initialContainer=xe,this._initialIndex=xe.getItemIndex(this)}else this.started.next({source:this,event:X}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(xe?xe.getScrollableParents():[])}_initializeDragSequence(X,xe){this._parentDragRef&&xe.stopPropagation();const et=this.isDragging(),j=de(xe),F=!j&&0!==xe.button,N=this._rootElement,k=(0,m.sA)(xe),ne=!j&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),z=j?(0,U.yG)(xe):(0,U.X6)(xe);if(k&&k.draggable&&"mousedown"===xe.type&&xe.preventDefault(),et||F||ne||z)return;if(this._handles.length){const Y=N.style;this._rootElementTapHighlight=Y.webkitTapHighlightColor||"",Y.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Y=>this._updateOnScroll(Y)),this._boundaryElement&&(this._boundaryRect=Ce(this._boundaryElement));const re=this._previewTemplate;this._pickupPositionInElement=re&&re.template&&!re.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,X,xe);const B=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(xe);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:B.x,y:B.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,xe)}_cleanupDragArtifacts(X){q(this._rootElement,!0,V),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const xe=this._dropContainer,et=xe.getItemIndex(this),j=this._getPointerPositionOnPage(X),F=this._getDragDistance(j),N=xe._isOverContainer(j.x,j.y);this.ended.next({source:this,distance:F,dropPoint:j,event:X}),this.dropped.next({item:this,currentIndex:et,previousIndex:this._initialIndex,container:xe,previousContainer:this._initialContainer,isPointerOverContainer:N,distance:F,dropPoint:j,event:X}),xe.drop(this,et,this._initialIndex,this._initialContainer,N,F,j,X),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:X,y:xe},{x:et,y:j}){let F=this._initialContainer._getSiblingContainerFromPosition(this,X,xe);!F&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(X,xe)&&(F=this._initialContainer),F&&F!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=F,this._dropContainer.enter(this,X,xe,F===this._initialContainer&&F.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:F,currentIndex:F.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(et,j),this._dropContainer._sortItem(this,X,xe,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(X,xe):this._applyPreviewTransform(X-this._pickupPositionInElement.x,xe-this._pickupPositionInElement.y))}_createPreviewElement(){const X=this._previewTemplate,xe=this.previewClass,et=X?X.template:null;let j;if(et&&X){const F=X.matchSize?this._initialClientRect:null,N=X.viewContainer.createEmbeddedView(et,X.context);N.detectChanges(),j=De(N,this._document),this._previewRef=N,X.matchSize?tt(j,F):j.style.transform=G(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else j=Ze(this._rootElement),tt(j,this._initialClientRect),this._initialTransform&&(j.style.transform=this._initialTransform);return K(j.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},V),Q(j,!1),j.classList.add("cdk-drag-preview"),j.setAttribute("dir",this._direction),xe&&(Array.isArray(xe)?xe.forEach(F=>j.classList.add(F)):j.classList.add(xe)),j}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const X=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(X.left,X.top);const xe=function ie(ue){const X=getComputedStyle(ue),xe=_e(X,"transition-property"),et=xe.find(k=>"transform"===k||"all"===k);if(!et)return 0;const j=xe.indexOf(et),F=_e(X,"transition-duration"),N=_e(X,"transition-delay");return T(F[j])+T(N[j])}(this._preview);return 0===xe?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(et=>{const j=N=>{(!N||(0,m.sA)(N)===this._preview&&"transform"===N.propertyName)&&(this._preview?.removeEventListener("transitionend",j),et(),clearTimeout(F))},F=setTimeout(j,1.5*xe);this._preview.addEventListener("transitionend",j)}))}_createPlaceholderElement(){const X=this._placeholderTemplate,xe=X?X.template:null;let et;return xe?(this._placeholderRef=X.viewContainer.createEmbeddedView(xe,X.context),this._placeholderRef.detectChanges(),et=De(this._placeholderRef,this._document)):et=Ze(this._rootElement),et.style.pointerEvents="none",et.classList.add("cdk-drag-placeholder"),et}_getPointerPositionInElement(X,xe,et){const j=xe===this._rootElement?null:xe,F=j?j.getBoundingClientRect():X,N=de(et)?et.targetTouches[0]:et,k=this._getViewportScrollPosition();return{x:F.left-X.left+(N.pageX-F.left-k.left),y:F.top-X.top+(N.pageY-F.top-k.top)}}_getPointerPositionOnPage(X){const xe=this._getViewportScrollPosition(),et=de(X)?X.touches[0]||X.changedTouches[0]||{pageX:0,pageY:0}:X,j=et.pageX-xe.left,F=et.pageY-xe.top;if(this._ownerSVGElement){const N=this._ownerSVGElement.getScreenCTM();if(N){const k=this._ownerSVGElement.createSVGPoint();return k.x=j,k.y=F,k.matrixTransform(N.inverse())}}return{x:j,y:F}}_getConstrainedPointerPosition(X){const xe=this._dropContainer?this._dropContainer.lockAxis:null;let{x:et,y:j}=this.constrainPosition?this.constrainPosition(X,this,this._initialClientRect,this._pickupPositionInElement):X;if("x"===this.lockAxis||"x"===xe?j=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===xe)&&(et=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:F,y:N}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,k=this._boundaryRect,{width:ne,height:z}=this._getPreviewRect(),re=k.top+N,B=k.bottom-(z-N);et=be(et,k.left+F,k.right-(ne-F)),j=be(j,re,B)}return{x:et,y:j}}_updatePointerDirectionDelta(X){const{x:xe,y:et}=X,j=this._pointerDirectionDelta,F=this._pointerPositionAtLastDirectionChange,N=Math.abs(xe-F.x),k=Math.abs(et-F.y);return N>this._config.pointerDirectionChangeThreshold&&(j.x=xe>F.x?1:-1,F.x=xe),k>this._config.pointerDirectionChangeThreshold&&(j.y=et>F.y?1:-1,F.y=et),j}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const X=this._handles.length>0||!this.isDragging();X!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=X,Q(this._rootElement,X))}_removeRootElementListeners(X){X.removeEventListener("mousedown",this._pointerDown,we),X.removeEventListener("touchstart",this._pointerDown,W),X.removeEventListener("dragstart",this._nativeDragStart,we)}_applyRootElementTransform(X,xe){const et=G(X,xe),j=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=j.transform&&"none"!=j.transform?j.transform:""),j.transform=H(et,this._initialTransform)}_applyPreviewTransform(X,xe){const et=this._previewTemplate?.template?void 0:this._initialTransform,j=G(X,xe);this._preview.style.transform=H(j,et)}_getDragDistance(X){const xe=this._pickupPositionOnPage;return xe?{x:X.x-xe.x,y:X.y-xe.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:X,y:xe}=this._passiveTransform;if(0===X&&0===xe||this.isDragging()||!this._boundaryElement)return;const et=this._rootElement.getBoundingClientRect(),j=this._boundaryElement.getBoundingClientRect();if(0===j.width&&0===j.height||0===et.width&&0===et.height)return;const F=j.left-et.left,N=et.right-j.right,k=j.top-et.top,ne=et.bottom-j.bottom;j.width>et.width?(F>0&&(X+=F),N>0&&(X-=N)):X=0,j.height>et.height?(k>0&&(xe+=k),ne>0&&(xe-=ne)):xe=0,(X!==this._passiveTransform.x||xe!==this._passiveTransform.y)&&this.setFreeDragPosition({y:xe,x:X})}_getDragStartDelay(X){const xe=this.dragStartDelay;return"number"==typeof xe?xe:de(X)?xe.touch:xe?xe.mouse:0}_updateOnScroll(X){const xe=this._parentPositions.handleScroll(X);if(xe){const et=(0,m.sA)(X);this._boundaryRect&&et!==this._boundaryElement&&et.contains(this._boundaryElement)&&ae(this._boundaryRect,xe.top,xe.left),this._pickupPositionOnPage.x+=xe.left,this._pickupPositionOnPage.y+=xe.top,this._dropContainer||(this._activeTransform.x-=xe.left,this._activeTransform.y-=xe.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,m.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(X,xe){const et=this._previewContainer||"global";if("parent"===et)return X;if("global"===et){const j=this._document;return xe||j.fullscreenElement||j.webkitFullscreenElement||j.mozFullScreenElement||j.msFullscreenElement||j.body}return(0,p.fI)(et)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(X){return this._handles.find(xe=>X.target&&(X.target===xe||xe.contains(X.target)))}}function G(ue,X){return`translate3d(${Math.round(ue)}px, ${Math.round(X)}px, 0)`}function be(ue,X,xe){return Math.max(X,Math.min(xe,ue))}function de(ue){return"t"===ue.type[0]}function De(ue,X){const xe=ue.rootNodes;if(1===xe.length&&xe[0].nodeType===X.ELEMENT_NODE)return xe[0];const et=X.createElement("div");return xe.forEach(j=>et.appendChild(j)),et}function tt(ue,X){ue.style.width=`${X.width}px`,ue.style.height=`${X.height}px`,ue.style.transform=G(X.left,X.top)}function Re(ue,X,xe){const et=sn(X,ue.length-1),j=sn(xe,ue.length-1);if(et===j)return;const F=ue[et],N=j<et?-1:1;for(let k=et;k!==j;k+=N)ue[k]=ue[k+N];ue[j]=F}function sn(ue,X){return Math.max(0,Math.min(X,ue))}class hn{constructor(X,xe){this._element=X,this._dragDropRegistry=xe,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(X){this.withItems(X)}sort(X,xe,et,j){const F=this._itemPositions,N=this._getItemIndexFromPointerPosition(X,xe,et,j);if(-1===N&&F.length>0)return null;const k="horizontal"===this.orientation,ne=F.findIndex(bn=>bn.drag===X),z=F[N],B=z.clientRect,Y=ne>N?1:-1,Qe=this._getItemOffsetPx(F[ne].clientRect,B,Y),_t=this._getSiblingOffsetPx(ne,F,Y),Vt=F.slice();return Re(F,ne,N),F.forEach((bn,xn)=>{if(Vt[xn]===bn)return;const Fn=bn.drag===X,Ot=Fn?Qe:_t,En=Fn?X.getPlaceholderElement():bn.drag.getRootElement();bn.offset+=Ot,k?(En.style.transform=H(`translate3d(${Math.round(bn.offset)}px, 0, 0)`,bn.initialTransform),ae(bn.clientRect,0,Ot)):(En.style.transform=H(`translate3d(0, ${Math.round(bn.offset)}px, 0)`,bn.initialTransform),ae(bn.clientRect,Ot,0))}),this._previousSwap.overlaps=Ve(B,xe,et),this._previousSwap.drag=z.drag,this._previousSwap.delta=k?j.x:j.y,{previousIndex:ne,currentIndex:N}}enter(X,xe,et,j){const F=null==j||j<0?this._getItemIndexFromPointerPosition(X,xe,et):j,N=this._activeDraggables,k=N.indexOf(X),ne=X.getPlaceholderElement();let z=N[F];if(z===X&&(z=N[F+1]),!z&&(null==F||-1===F||F<N.length-1)&&this._shouldEnterAsFirstChild(xe,et)&&(z=N[0]),k>-1&&N.splice(k,1),z&&!this._dragDropRegistry.isDragging(z)){const re=z.getRootElement();re.parentElement.insertBefore(ne,re),N.splice(F,0,X)}else(0,p.fI)(this._element).appendChild(ne),N.push(X);ne.style.transform="",this._cacheItemPositions()}withItems(X){this._activeDraggables=X.slice(),this._cacheItemPositions()}withSortPredicate(X){this._sortPredicate=X}reset(){this._activeDraggables.forEach(X=>{const xe=X.getRootElement();if(xe){const et=this._itemPositions.find(j=>j.drag===X)?.initialTransform;xe.style.transform=et||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(X){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(et=>et.drag===X)}updateOnScroll(X,xe){this._itemPositions.forEach(({clientRect:et})=>{ae(et,X,xe)}),this._itemPositions.forEach(({drag:et})=>{this._dragDropRegistry.isDragging(et)&&et._sortFromLastPointerPosition()})}_cacheItemPositions(){const X="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(xe=>{const et=xe.getVisibleElement();return{drag:xe,offset:0,initialTransform:et.style.transform||"",clientRect:Ce(et)}}).sort((xe,et)=>X?xe.clientRect.left-et.clientRect.left:xe.clientRect.top-et.clientRect.top)}_getItemOffsetPx(X,xe,et){const j="horizontal"===this.orientation;let F=j?xe.left-X.left:xe.top-X.top;return-1===et&&(F+=j?xe.width-X.width:xe.height-X.height),F}_getSiblingOffsetPx(X,xe,et){const j="horizontal"===this.orientation,F=xe[X].clientRect,N=xe[X+-1*et];let k=F[j?"width":"height"]*et;if(N){const ne=j?"left":"top",z=j?"right":"bottom";-1===et?k-=N.clientRect[ne]-F[z]:k+=F[ne]-N.clientRect[z]}return k}_shouldEnterAsFirstChild(X,xe){if(!this._activeDraggables.length)return!1;const et=this._itemPositions,j="horizontal"===this.orientation;if(et[0].drag!==this._activeDraggables[0]){const N=et[et.length-1].clientRect;return j?X>=N.right:xe>=N.bottom}{const N=et[0].clientRect;return j?X<=N.left:xe<=N.top}}_getItemIndexFromPointerPosition(X,xe,et,j){const F="horizontal"===this.orientation,N=this._itemPositions.findIndex(({drag:k,clientRect:ne})=>k!==X&&((!j||k!==this._previousSwap.drag||!this._previousSwap.overlaps||(F?j.x:j.y)!==this._previousSwap.delta)&&(F?xe>=Math.floor(ne.left)&&xe<Math.floor(ne.right):et>=Math.floor(ne.top)&&et<Math.floor(ne.bottom))));return-1!==N&&this._sortPredicate(N,X)?N:-1}}class cn{constructor(X,xe,et,j,F){this._dragDropRegistry=xe,this._ngZone=j,this._viewportRuler=F,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new n.x,this.entered=new n.x,this.exited=new n.x,this.dropped=new n.x,this.sorted=new n.x,this.receivingStarted=new n.x,this.receivingStopped=new n.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=I.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new n.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,L.F)(0,y.Z).pipe((0,E.R)(this._stopScrollTimers)).subscribe(()=>{const N=this._scrollNode,k=this.autoScrollStep;1===this._verticalScrollDirection?N.scrollBy(0,-k):2===this._verticalScrollDirection&&N.scrollBy(0,k),1===this._horizontalScrollDirection?N.scrollBy(-k,0):2===this._horizontalScrollDirection&&N.scrollBy(k,0)})},this.element=(0,p.fI)(X),this._document=et,this.withScrollableParents([this.element]),xe.registerDropContainer(this),this._parentPositions=new Ae(et),this._sortStrategy=new hn(this.element,xe),this._sortStrategy.withSortPredicate((N,k)=>this.sortPredicate(N,k,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(X,xe,et,j){this._draggingStarted(),null==j&&this.sortingDisabled&&(j=this._draggables.indexOf(X)),this._sortStrategy.enter(X,xe,et,j),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:X,container:this,currentIndex:this.getItemIndex(X)})}exit(X){this._reset(),this.exited.next({item:X,container:this})}drop(X,xe,et,j,F,N,k,ne={}){this._reset(),this.dropped.next({item:X,currentIndex:xe,previousIndex:et,container:this,previousContainer:j,isPointerOverContainer:F,distance:N,dropPoint:k,event:ne})}withItems(X){const xe=this._draggables;return this._draggables=X,X.forEach(et=>et._withDropContainer(this)),this.isDragging()&&(xe.filter(j=>j.isDragging()).every(j=>-1===X.indexOf(j))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(X){return this._sortStrategy.direction=X,this}connectedTo(X){return this._siblings=X.slice(),this}withOrientation(X){return this._sortStrategy.orientation=X,this}withScrollableParents(X){const xe=(0,p.fI)(this.element);return this._scrollableElements=-1===X.indexOf(xe)?[xe,...X]:X.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(X){return this._isDragging?this._sortStrategy.getItemIndex(X):this._draggables.indexOf(X)}isReceiving(){return this._activeSiblings.size>0}_sortItem(X,xe,et,j){if(this.sortingDisabled||!this._clientRect||!pe(this._clientRect,.05,xe,et))return;const F=this._sortStrategy.sort(X,xe,et,j);F&&this.sorted.next({previousIndex:F.previousIndex,currentIndex:F.currentIndex,container:this,item:X})}_startScrollingIfNecessary(X,xe){if(this.autoScrollDisabled)return;let et,j=0,F=0;if(this._parentPositions.positions.forEach((N,k)=>{k===this._document||!N.clientRect||et||pe(N.clientRect,.05,X,xe)&&([j,F]=function Ne(ue,X,xe,et){const j=He(X,et),F=fe(X,xe);let N=0,k=0;if(j){const ne=ue.scrollTop;1===j?ne>0&&(N=1):ue.scrollHeight-ne>ue.clientHeight&&(N=2)}if(F){const ne=ue.scrollLeft;1===F?ne>0&&(k=1):ue.scrollWidth-ne>ue.clientWidth&&(k=2)}return[N,k]}(k,N.clientRect,X,xe),(j||F)&&(et=k))}),!j&&!F){const{width:N,height:k}=this._viewportRuler.getViewportSize(),ne={width:N,height:k,top:0,right:N,bottom:k,left:0};j=He(ne,xe),F=fe(ne,X),et=window}et&&(j!==this._verticalScrollDirection||F!==this._horizontalScrollDirection||et!==this._scrollNode)&&(this._verticalScrollDirection=j,this._horizontalScrollDirection=F,this._scrollNode=et,(j||F)&&et?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const X=(0,p.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=X.msScrollSnapType||X.scrollSnapType||"",X.scrollSnapType=X.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const X=(0,p.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(X).clientRect}_reset(){this._isDragging=!1;const X=(0,p.fI)(this.element).style;X.scrollSnapType=X.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(xe=>xe._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(X,xe){return null!=this._clientRect&&Ve(this._clientRect,X,xe)}_getSiblingContainerFromPosition(X,xe,et){return this._siblings.find(j=>j._canReceive(X,xe,et))}_canReceive(X,xe,et){if(!this._clientRect||!Ve(this._clientRect,xe,et)||!this.enterPredicate(X,this))return!1;const j=this._getShadowRoot().elementFromPoint(xe,et);if(!j)return!1;const F=(0,p.fI)(this.element);return j===F||F.contains(j)}_startReceiving(X,xe){const et=this._activeSiblings;!et.has(X)&&xe.every(j=>this.enterPredicate(j,this)||this._draggables.indexOf(j)>-1)&&(et.add(X),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:X,receiver:this,items:xe}))}_stopReceiving(X){this._activeSiblings.delete(X),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:X,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(X=>{if(this.isDragging()){const xe=this._parentPositions.handleScroll(X);xe&&this._sortStrategy.updateOnScroll(xe.top,xe.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const X=(0,m.kV)((0,p.fI)(this.element));this._cachedShadowRoot=X||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const X=this._sortStrategy.getActiveItemsSnapshot().filter(xe=>xe.isDragging());this._siblings.forEach(xe=>xe._startReceiving(this,X))}}function He(ue,X){const{top:xe,bottom:et,height:j}=ue,F=.05*j;return X>=xe-F&&X<=xe+F?1:X>=et-F&&X<=et+F?2:0}function fe(ue,X){const{left:xe,right:et,width:j}=ue,F=.05*j;return X>=xe-F&&X<=xe+F?1:X>=et-F&&X<=et+F?2:0}const $=(0,m.i$)({passive:!1,capture:!0});let Ee=(()=>{class ue{constructor(xe,et){this._ngZone=xe,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=j=>j.isDragging(),this.pointerMove=new n.x,this.pointerUp=new n.x,this.scroll=new n.x,this._preventDefaultWhileDragging=j=>{this._activeDragInstances.length>0&&j.preventDefault()},this._persistentTouchmoveListener=j=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&j.preventDefault(),this.pointerMove.next(j))},this._document=et}registerDropContainer(xe){this._dropInstances.has(xe)||this._dropInstances.add(xe)}registerDragItem(xe){this._dragInstances.add(xe),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,$)})}removeDropContainer(xe){this._dropInstances.delete(xe)}removeDragItem(xe){this._dragInstances.delete(xe),this.stopDragging(xe),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,$)}startDragging(xe,et){if(!(this._activeDragInstances.indexOf(xe)>-1)&&(this._activeDragInstances.push(xe),1===this._activeDragInstances.length)){const j=et.type.startsWith("touch");this._globalListeners.set(j?"touchend":"mouseup",{handler:F=>this.pointerUp.next(F),options:!0}).set("scroll",{handler:F=>this.scroll.next(F),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:$}),j||this._globalListeners.set("mousemove",{handler:F=>this.pointerMove.next(F),options:$}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((F,N)=>{this._document.addEventListener(N,F.handler,F.options)})})}}stopDragging(xe){const et=this._activeDragInstances.indexOf(xe);et>-1&&(this._activeDragInstances.splice(et,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(xe){return this._activeDragInstances.indexOf(xe)>-1}scrolled(xe){const et=[this.scroll];return xe&&xe!==this._document&&et.push(new O.y(j=>this._ngZone.runOutsideAngular(()=>{const N=k=>{this._activeDragInstances.length&&j.next(k)};return xe.addEventListener("scroll",N,!0),()=>{xe.removeEventListener("scroll",N,!0)}}))),(0,M.T)(...et)}ngOnDestroy(){this._dragInstances.forEach(xe=>this.removeDragItem(xe)),this._dropInstances.forEach(xe=>this.removeDropContainer(xe)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((xe,et)=>{this._document.removeEventListener(et,xe.handler,xe.options)}),this._globalListeners.clear()}static#e=this.\u0275fac=function(et){return new(et||ue)(t.LFG(t.R0b),t.LFG(u.K0))};static#t=this.\u0275prov=t.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();const Ge={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Ke=(()=>{class ue{constructor(xe,et,j,F){this._document=xe,this._ngZone=et,this._viewportRuler=j,this._dragDropRegistry=F}createDrag(xe,et=Ge){return new Se(xe,et,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(xe){return new cn(xe,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#e=this.\u0275fac=function(et){return new(et||ue)(t.LFG(u.K0),t.LFG(t.R0b),t.LFG(e.rL),t.LFG(Ee))};static#t=this.\u0275prov=t.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();const Et=new t.OlP("CDK_DRAG_PARENT"),tn=new t.OlP("CdkDragHandle"),Nt=new t.OlP("CdkDragPlaceholder");let ft=(()=>{class ue{constructor(xe){this.templateRef=xe}static#e=this.\u0275fac=function(et){return new(et||ue)(t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:ue,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},standalone:!0,features:[t._Bn([{provide:Nt,useExisting:ue}])]})}return ue})();const Bt=new t.OlP("CdkDragPreview"),nt=new t.OlP("CDK_DRAG_CONFIG"),zt=new t.OlP("CdkDropList");let $t=(()=>{class ue{static#e=this._dragInstances=[];get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(xe){this._disabled=(0,p.Ig)(xe),this._dragRef.disabled=this._disabled}constructor(xe,et,j,F,N,k,ne,z,re,B,Y){this.element=xe,this.dropContainer=et,this._ngZone=F,this._viewContainerRef=N,this._dir=ne,this._changeDetectorRef=re,this._selfHandle=B,this._parentDrag=Y,this._destroyed=new n.x,this.started=new t.vpe,this.released=new t.vpe,this.ended=new t.vpe,this.entered=new t.vpe,this.exited=new t.vpe,this.dropped=new t.vpe,this.moved=new O.y(Qe=>{const _t=this._dragRef.moved.pipe((0,A.U)(Vt=>({source:this,pointerPosition:Vt.pointerPosition,event:Vt.event,delta:Vt.delta,distance:Vt.distance}))).subscribe(Qe);return()=>{_t.unsubscribe()}}),this._dragRef=z.createDrag(xe,{dragStartThreshold:k&&null!=k.dragStartThreshold?k.dragStartThreshold:5,pointerDirectionChangeThreshold:k&&null!=k.pointerDirectionChangeThreshold?k.pointerDirectionChangeThreshold:5,zIndex:k?.zIndex}),this._dragRef.data=this,ue._dragInstances.push(this),k&&this._assignDefaults(k),et&&(this._dragRef._withDropContainer(et._dropListRef),et.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(xe){this._dragRef.setFreeDragPosition(xe)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,S.q)(1),(0,E.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(xe){const et=xe.rootElementSelector,j=xe.freeDragPosition;et&&!et.firstChange&&this._updateRootElement(),j&&!j.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const xe=ue._dragInstances.indexOf(this);xe>-1&&ue._dragInstances.splice(xe,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const xe=this.element.nativeElement;let et=xe;this.rootElementSelector&&(et=void 0!==xe.closest?xe.closest(this.rootElementSelector):xe.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(et||xe)}_getBoundaryElement(){const xe=this.boundaryElement;return xe?"string"==typeof xe?this.element.nativeElement.closest(xe):(0,p.fI)(xe):null}_syncInputs(xe){xe.beforeStarted.subscribe(()=>{if(!xe.isDragging()){const et=this._dir,j=this.dragStartDelay,F=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,N=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;xe.disabled=this.disabled,xe.lockAxis=this.lockAxis,xe.dragStartDelay="object"==typeof j&&j?j:(0,p.su)(j),xe.constrainPosition=this.constrainPosition,xe.previewClass=this.previewClass,xe.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(F).withPreviewTemplate(N).withPreviewContainer(this.previewContainer||"global"),et&&xe.withDirection(et.value)}}),xe.beforeStarted.pipe((0,S.q)(1)).subscribe(()=>{if(this._parentDrag)return void xe.withParent(this._parentDrag._dragRef);let et=this.element.nativeElement.parentElement;for(;et;){if(et.classList.contains("cdk-drag")){xe.withParent(ue._dragInstances.find(j=>j.element.nativeElement===et)?._dragRef||null);break}et=et.parentElement}})}_handleEvents(xe){xe.started.subscribe(et=>{this.started.emit({source:this,event:et.event}),this._changeDetectorRef.markForCheck()}),xe.released.subscribe(et=>{this.released.emit({source:this,event:et.event})}),xe.ended.subscribe(et=>{this.ended.emit({source:this,distance:et.distance,dropPoint:et.dropPoint,event:et.event}),this._changeDetectorRef.markForCheck()}),xe.entered.subscribe(et=>{this.entered.emit({container:et.container.data,item:this,currentIndex:et.currentIndex})}),xe.exited.subscribe(et=>{this.exited.emit({container:et.container.data,item:this})}),xe.dropped.subscribe(et=>{this.dropped.emit({previousIndex:et.previousIndex,currentIndex:et.currentIndex,previousContainer:et.previousContainer.data,container:et.container.data,isPointerOverContainer:et.isPointerOverContainer,item:this,distance:et.distance,dropPoint:et.dropPoint,event:et.event})})}_assignDefaults(xe){const{lockAxis:et,dragStartDelay:j,constrainPosition:F,previewClass:N,boundaryElement:k,draggingDisabled:ne,rootElementSelector:z,previewContainer:re}=xe;this.disabled=ne??!1,this.dragStartDelay=j||0,et&&(this.lockAxis=et),F&&(this.constrainPosition=F),N&&(this.previewClass=N),k&&(this.boundaryElement=k),z&&(this.rootElementSelector=z),re&&(this.previewContainer=re)}_setupHandlesListener(){this._handles.changes.pipe((0,Z.O)(this._handles),(0,oe.b)(xe=>{const et=xe.filter(j=>j._parentDrag===this).map(j=>j.element);this._selfHandle&&this.rootElementSelector&&et.push(this.element),this._dragRef.withHandles(et)}),(0,le.w)(xe=>(0,M.T)(...xe.map(et=>et._stateChanges.pipe((0,Z.O)(et))))),(0,E.R)(this._destroyed)).subscribe(xe=>{const et=this._dragRef,j=xe.element.nativeElement;xe.disabled?et.disableHandle(j):et.enableHandle(j)})}static#t=this.\u0275fac=function(et){return new(et||ue)(t.Y36(t.SBq),t.Y36(zt,12),t.Y36(u.K0),t.Y36(t.R0b),t.Y36(t.s_b),t.Y36(nt,8),t.Y36(ee.Is,8),t.Y36(Ke),t.Y36(t.sBO),t.Y36(tn,10),t.Y36(Et,12))};static#n=this.\u0275dir=t.lG2({type:ue,selectors:[["","cdkDrag",""]],contentQueries:function(et,j,F){if(1&et&&(t.Suo(F,Bt,5),t.Suo(F,Nt,5),t.Suo(F,tn,5)),2&et){let N;t.iGM(N=t.CRH())&&(j._previewTemplate=N.first),t.iGM(N=t.CRH())&&(j._placeholderTemplate=N.first),t.iGM(N=t.CRH())&&(j._handles=N)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(et,j){2&et&&t.ekj("cdk-drag-disabled",j.disabled)("cdk-drag-dragging",j._dragRef.isDragging())},inputs:{data:[t.lbL.None,"cdkDragData","data"],lockAxis:[t.lbL.None,"cdkDragLockAxis","lockAxis"],rootElementSelector:[t.lbL.None,"cdkDragRootElement","rootElementSelector"],boundaryElement:[t.lbL.None,"cdkDragBoundary","boundaryElement"],dragStartDelay:[t.lbL.None,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[t.lbL.None,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[t.lbL.None,"cdkDragDisabled","disabled"],constrainPosition:[t.lbL.None,"cdkDragConstrainPosition","constrainPosition"],previewClass:[t.lbL.None,"cdkDragPreviewClass","previewClass"],previewContainer:[t.lbL.None,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[t._Bn([{provide:Et,useExisting:ue}]),t.TTD]})}return ue})();const Mn=new t.OlP("CdkDropListGroup");let di=0,Pt=(()=>{class ue{static#e=this._dropLists=[];get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(xe){this._dropListRef.disabled=this._disabled=(0,p.Ig)(xe)}constructor(xe,et,j,F,N,k,ne){this.element=xe,this._changeDetectorRef=j,this._scrollDispatcher=F,this._dir=N,this._group=k,this._destroyed=new n.x,this.connectedTo=[],this.id="cdk-drop-list-"+di++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new t.vpe,this.entered=new t.vpe,this.exited=new t.vpe,this.sorted=new t.vpe,this._unsortedItems=new Set,this._dropListRef=et.createDropList(xe),this._dropListRef.data=this,ne&&this._assignDefaults(ne),this._dropListRef.enterPredicate=(z,re)=>this.enterPredicate(z.data,re.data),this._dropListRef.sortPredicate=(z,re,B)=>this.sortPredicate(z,re.data,B.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),ue._dropLists.push(this),k&&k._items.add(this)}addItem(xe){this._unsortedItems.add(xe),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(xe){this._unsortedItems.delete(xe),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((xe,et)=>xe._dragRef.getVisibleElement().compareDocumentPosition(et._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const xe=ue._dropLists.indexOf(this);xe>-1&&ue._dropLists.splice(xe,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(xe){this._dir&&this._dir.change.pipe((0,Z.O)(this._dir.value),(0,E.R)(this._destroyed)).subscribe(et=>xe.withDirection(et)),xe.beforeStarted.subscribe(()=>{const et=(0,p.Eq)(this.connectedTo).map(j=>"string"==typeof j?ue._dropLists.find(N=>N.id===j):j);if(this._group&&this._group._items.forEach(j=>{-1===et.indexOf(j)&&et.push(j)}),!this._scrollableParentsResolved){const j=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(F=>F.getElementRef().nativeElement);this._dropListRef.withScrollableParents(j),this._scrollableParentsResolved=!0}xe.disabled=this.disabled,xe.lockAxis=this.lockAxis,xe.sortingDisabled=(0,p.Ig)(this.sortingDisabled),xe.autoScrollDisabled=(0,p.Ig)(this.autoScrollDisabled),xe.autoScrollStep=(0,p.su)(this.autoScrollStep,2),xe.connectedTo(et.filter(j=>j&&j!==this).map(j=>j._dropListRef)).withOrientation(this.orientation)})}_handleEvents(xe){xe.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),xe.entered.subscribe(et=>{this.entered.emit({container:this,item:et.item.data,currentIndex:et.currentIndex})}),xe.exited.subscribe(et=>{this.exited.emit({container:this,item:et.item.data}),this._changeDetectorRef.markForCheck()}),xe.sorted.subscribe(et=>{this.sorted.emit({previousIndex:et.previousIndex,currentIndex:et.currentIndex,container:this,item:et.item.data})}),xe.dropped.subscribe(et=>{this.dropped.emit({previousIndex:et.previousIndex,currentIndex:et.currentIndex,previousContainer:et.previousContainer.data,container:et.container.data,item:et.item.data,isPointerOverContainer:et.isPointerOverContainer,distance:et.distance,dropPoint:et.dropPoint,event:et.event}),this._changeDetectorRef.markForCheck()}),(0,M.T)(xe.receivingStarted,xe.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(xe){const{lockAxis:et,draggingDisabled:j,sortingDisabled:F,listAutoScrollDisabled:N,listOrientation:k}=xe;this.disabled=j??!1,this.sortingDisabled=F??!1,this.autoScrollDisabled=N??!1,this.orientation=k||"vertical",et&&(this.lockAxis=et)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(xe=>xe._dragRef))}static#t=this.\u0275fac=function(et){return new(et||ue)(t.Y36(t.SBq),t.Y36(Ke),t.Y36(t.sBO),t.Y36(e.mF),t.Y36(ee.Is,8),t.Y36(Mn,12),t.Y36(nt,8))};static#n=this.\u0275dir=t.lG2({type:ue,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(et,j){2&et&&(t.uIk("id",j.id),t.ekj("cdk-drop-list-disabled",j.disabled)("cdk-drop-list-dragging",j._dropListRef.isDragging())("cdk-drop-list-receiving",j._dropListRef.isReceiving()))},inputs:{connectedTo:[t.lbL.None,"cdkDropListConnectedTo","connectedTo"],data:[t.lbL.None,"cdkDropListData","data"],orientation:[t.lbL.None,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[t.lbL.None,"cdkDropListLockAxis","lockAxis"],disabled:[t.lbL.None,"cdkDropListDisabled","disabled"],sortingDisabled:[t.lbL.None,"cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:[t.lbL.None,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[t.lbL.None,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[t.lbL.None,"cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:[t.lbL.None,"cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[t._Bn([{provide:Mn,useValue:void 0},{provide:zt,useExisting:ue}])]})}return ue})(),Le=(()=>{class ue{static#e=this.\u0275fac=function(et){return new(et||ue)};static#t=this.\u0275mod=t.oAB({type:ue});static#n=this.\u0275inj=t.cJS({providers:[Ke],imports:[e.ZD]})}return ue})()},6028:(jt,$e,s)=>{"use strict";s.d($e,{A:()=>P,JH:()=>K,JU:()=>U,K5:()=>p,Ku:()=>E,LH:()=>le,L_:()=>M,MW:()=>rn,Mf:()=>e,OC:()=>nn,SV:()=>ee,Sd:()=>Z,VM:()=>A,Vb:()=>Bi,Z:()=>tn,ZH:()=>u,aO:()=>Fe,b2:()=>xi,hY:()=>O,jx:()=>n,oh:()=>oe,uR:()=>S,xE:()=>ie,yY:()=>T,zL:()=>I});const u=8,e=9,p=13,U=16,n=17,I=18,O=27,M=32,E=33,A=34,S=35,Z=36,oe=37,le=38,ee=39,K=40,T=46,ie=48,Fe=57,P=65,tn=90,rn=91,nn=188,xi=224;function Bi(bo,...Qi){return Qi.length?Qi.some(On=>bo[On]):bo.altKey||bo.shiftKey||bo.ctrlKey||bo.metaKey}},1088:(jt,$e,s)=>{"use strict";s.d($e,{Yg:()=>K,u3:()=>q,xu:()=>A});var t=s(9212),u=s(2495),e=s(8645),m=s(2572),p=s(5211),U=s(5592),n=s(8180),I=s(836),L=s(3620),y=s(7398),O=s(7921),M=s(9773),E=s(2831);let A=(()=>{class H{static#e=this.\u0275fac=function(_e){return new(_e||H)};static#t=this.\u0275mod=t.oAB({type:H});static#n=this.\u0275inj=t.cJS({})}return H})();const S=new Set;let Z,oe=(()=>{class H{constructor(ie,_e){this._platform=ie,this._nonce=_e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ee}matchMedia(ie){return(this._platform.WEBKIT||this._platform.BLINK)&&function le(H,T){if(!S.has(H))try{Z||(Z=document.createElement("style"),T&&(Z.nonce=T),Z.setAttribute("type","text/css"),document.head.appendChild(Z)),Z.sheet&&(Z.sheet.insertRule(`@media ${H} {body{ }}`,0),S.add(H))}catch(ie){console.error(ie)}}(ie,this._nonce),this._matchMedia(ie)}static#e=this.\u0275fac=function(_e){return new(_e||H)(t.LFG(E.t4),t.LFG(t.Ojb,8))};static#t=this.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();function ee(H){return{matches:"all"===H||""===H,media:H,addListener:()=>{},removeListener:()=>{}}}let K=(()=>{class H{constructor(ie,_e){this._mediaMatcher=ie,this._zone=_e,this._queries=new Map,this._destroySubject=new e.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ie){return Q((0,u.Eq)(ie)).some(Ce=>this._registerQuery(Ce).mql.matches)}observe(ie){const Ce=Q((0,u.Eq)(ie)).map(ae=>this._registerQuery(ae).observable);let Ve=(0,m.a)(Ce);return Ve=(0,p.z)(Ve.pipe((0,n.q)(1)),Ve.pipe((0,I.T)(1),(0,L.b)(0))),Ve.pipe((0,y.U)(ae=>{const pe={matches:!1,breakpoints:{}};return ae.forEach(({matches:Ae,query:Ze})=>{pe.matches=pe.matches||Ae,pe.breakpoints[Ze]=Ae}),pe}))}_registerQuery(ie){if(this._queries.has(ie))return this._queries.get(ie);const _e=this._mediaMatcher.matchMedia(ie),Ve={observable:new U.y(ae=>{const pe=Ae=>this._zone.run(()=>ae.next(Ae));return _e.addListener(pe),()=>{_e.removeListener(pe)}}).pipe((0,O.O)(_e),(0,y.U)(({matches:ae})=>({query:ie,matches:ae})),(0,M.R)(this._destroySubject)),mql:_e};return this._queries.set(ie,Ve),Ve}static#e=this.\u0275fac=function(_e){return new(_e||H)(t.LFG(oe),t.LFG(t.R0b))};static#t=this.\u0275prov=t.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"})}return H})();function Q(H){return H.map(T=>T.split(",")).reduce((T,ie)=>T.concat(ie)).map(T=>T.trim())}const q={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},1346:(jt,$e,s)=>{"use strict";s.d($e,{eu:()=>tn,qn:()=>fe,Sv:()=>Nn,F1:()=>Nt});var t=s(9212),u=s(9594),e=s(6028),m=s(7921),p=s(3620),U=s(3997),n=s(2181),I=s(9773),L=s(1631),y=s(975),O=s(7537),M=s(4664),E=s(9360),A=s(8251),Z=s(836),oe=s(8337),le=s(8645),ee=s(3019),K=s(2438),Q=s(4911);function q(ft,Bt){return(Ue,nt)=>!ft.call(Bt,Ue,nt)}var H=s(4829),ie=s(8484),_e=s(4300),Ce=s(2495),Ve=s(9388),ae=s(2831);let pe=(()=>{class ft{static#e=this.\u0275fac=function(nt){return new(nt||ft)};static#t=this.\u0275dir=t.lG2({type:ft,selectors:[["","cdkMenuGroup",""]],hostAttrs:["role","group",1,"cdk-menu-group"],exportAs:["cdkMenuGroup"],standalone:!0,features:[t._Bn([{provide:oe.A8,useClass:oe.A8}])]})}return ft})();const Ae=new t.OlP("cdk-menu"),Ze=new t.OlP("cdk-menu-stack"),dt={provide:Ze,deps:[[new t.FiY,new t.tp0,new t.tBr(Ze)]],useFactory:ft=>ft||new Ie},Fe=ft=>({provide:Ze,deps:[[new t.FiY,new t.tp0,new t.tBr(Ze)]],useFactory:Bt=>Bt||Ie.inline(ft)});let Xe=0,Ie=(()=>{class ft{constructor(){this.id=""+Xe++,this._elements=[],this._close=new le.x,this._empty=new le.x,this._hasFocus=new le.x,this.closed=this._close,this.hasFocus=this._hasFocus.pipe((0,m.O)(!1),(0,p.b)(0),(0,U.x)()),this.emptied=this._empty,this._inlineMenuOrientation=null}static inline(Ue){const nt=new ft;return nt._inlineMenuOrientation=Ue,nt}push(Ue){this._elements.push(Ue)}close(Ue,nt){const{focusNextOnEmpty:Ye,focusParentTrigger:zt}={...nt};if(this._elements.indexOf(Ue)>=0){let $t;do{$t=this._elements.pop(),this._close.next({item:$t,focusParentTrigger:zt})}while($t!==Ue);this.isEmpty()&&this._empty.next(Ye)}}closeSubMenuOf(Ue){let nt=!1;if(this._elements.indexOf(Ue)>=0)for(nt=this.peek()!==Ue;this.peek()!==Ue;)this._close.next({item:this._elements.pop()});return nt}closeAll(Ue){const{focusNextOnEmpty:nt,focusParentTrigger:Ye}={...Ue};if(!this.isEmpty()){for(;!this.isEmpty();){const zt=this._elements.pop();zt&&this._close.next({item:zt,focusParentTrigger:Ye})}this._empty.next(nt)}}isEmpty(){return!this._elements.length}length(){return this._elements.length}peek(){return this._elements[this._elements.length-1]}hasInlineMenu(){return null!=this._inlineMenuOrientation}inlineMenuOrientation(){return this._inlineMenuOrientation}setHasFocus(Ue){this._hasFocus.next(Ue)}static#e=this.\u0275fac=function(nt){return new(nt||ft)};static#t=this.\u0275prov=t.Yz7({token:ft,factory:ft.\u0275fac})}return ft})();const W=new t.OlP("cdk-menu-trigger");let we=(()=>{class ft{constructor(){this.injector=(0,t.f3M)(t.zs3),this.viewContainerRef=(0,t.f3M)(t.s_b),this.menuStack=(0,t.f3M)(Ze),this.opened=new t.vpe,this.closed=new t.vpe,this.overlayRef=null,this.destroyed=new le.x,this.stopOutsideClicksListener=(0,ee.T)(this.closed,this.destroyed)}ngOnDestroy(){this._destroyOverlay(),this.destroyed.next(),this.destroyed.complete()}isOpen(){return!!this.overlayRef?.hasAttached()}registerChildMenu(Ue){this.childMenu=Ue}getMenuContentPortal(){return this.menuTemplateRef&&(!this._menuPortal||this.menuTemplateRef!==this._menuPortal?.templateRef)&&(this._menuPortal=new ie.UE(this.menuTemplateRef,this.viewContainerRef,this.menuData,this._getChildMenuInjector())),this._menuPortal}isElementInsideMenuStack(Ue){for(let nt=Ue;nt;nt=nt?.parentElement??null)if(nt.getAttribute("data-cdk-menu-stack-id")===this.menuStack.id)return!0;return!1}_destroyOverlay(){this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}_getChildMenuInjector(){return this._childMenuInjector=this._childMenuInjector||t.zs3.create({providers:[{provide:W,useValue:this},{provide:Ze,useValue:this.menuStack}],parent:this.injector}),this._childMenuInjector}static#e=this.\u0275fac=function(nt){return new(nt||ft)};static#t=this.\u0275dir=t.lG2({type:ft,hostVars:2,hostBindings:function(nt,Ye){2&nt&&t.uIk("aria-controls",null==Ye.childMenu?null:Ye.childMenu.id)("data-cdk-menu-stack-id",Ye.menuStack.id)}})}return ft})();const Se=new t.OlP("cdk-menu-aim");function sn(ft,Bt){if(!Bt.isTrusted)return!1;const Ue=ft.nativeElement,nt=Bt.keyCode;return"BUTTON"!==Ue.nodeName||Ue.disabled?"A"===Ue.nodeName&&nt===e.K5:nt===e.K5||nt===e.L_}let hn=(()=>{class ft extends we{constructor(){super(),this._elementRef=(0,t.f3M)(t.SBq),this._overlay=(0,t.f3M)(u.aV),this._ngZone=(0,t.f3M)(t.R0b),this._changeDetectorRef=(0,t.f3M)(t.sBO),this._inputModalityDetector=(0,t.f3M)(_e.QL),this._directionality=(0,t.f3M)(Ve.Is,{optional:!0}),this._parentMenu=(0,t.f3M)(Ae,{optional:!0}),this._menuAim=(0,t.f3M)(Se,{optional:!0}),this._setRole(),this._registerCloseHandler(),this._subscribeToMenuStackClosed(),this._subscribeToMouseEnter(),this._subscribeToMenuStackHasFocus(),this._setType()}toggle(){this.isOpen()?this.close():this.open()}open(){!this.isOpen()&&null!=this.menuTemplateRef&&(this.opened.next(),this.overlayRef=this.overlayRef||this._overlay.create(this._getOverlayConfig()),this.overlayRef.attach(this.getMenuContentPortal()),this._changeDetectorRef.markForCheck(),this._subscribeToOutsideClicks())}close(){this.isOpen()&&(this.closed.next(),this.overlayRef.detach(),this._changeDetectorRef.markForCheck()),this._closeSiblingTriggers()}getMenu(){return this.childMenu}_toggleOnKeydown(Ue){const nt="vertical"===this._parentMenu?.orientation;switch(Ue.keyCode){case e.L_:case e.K5:!(0,e.Vb)(Ue)&&!sn(this._elementRef,Ue)&&(this.toggle(),this.childMenu?.focusFirstItem("keyboard"));break;case e.SV:(0,e.Vb)(Ue)||this._parentMenu&&nt&&"rtl"!==this._directionality?.value&&(Ue.preventDefault(),this.open(),this.childMenu?.focusFirstItem("keyboard"));break;case e.oh:(0,e.Vb)(Ue)||this._parentMenu&&nt&&"rtl"===this._directionality?.value&&(Ue.preventDefault(),this.open(),this.childMenu?.focusFirstItem("keyboard"));break;case e.JH:case e.LH:(0,e.Vb)(Ue)||nt||(Ue.preventDefault(),this.open(),Ue.keyCode===e.JH?this.childMenu?.focusFirstItem("keyboard"):this.childMenu?.focusLastItem("keyboard"))}}_handleClick(){this.toggle(),this.childMenu?.focusFirstItem("mouse")}_setHasFocus(Ue){this._parentMenu||this.menuStack.setHasFocus(Ue)}_subscribeToMouseEnter(){this._ngZone.runOutsideAngular(()=>{(0,K.R)(this._elementRef.nativeElement,"mouseenter").pipe((0,n.h)(()=>"touch"!==this._inputModalityDetector.mostRecentModality&&!this.menuStack.isEmpty()&&!this.isOpen()),(0,I.R)(this.destroyed)).subscribe(()=>{const Ue=()=>this._ngZone.run(()=>{this._closeSiblingTriggers(),this.open()});this._menuAim?this._menuAim.toggle(Ue):Ue()})})}_closeSiblingTriggers(){this._parentMenu?!this.menuStack.closeSubMenuOf(this._parentMenu)&&this.menuStack.peek()!==this._parentMenu&&this.menuStack.closeAll():this.menuStack.closeAll()}_getOverlayConfig(){return new u.X_({positionStrategy:this._getOverlayPositionStrategy(),scrollStrategy:this._overlay.scrollStrategies.reposition(),direction:this._directionality||void 0})}_getOverlayPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._elementRef).withLockedPosition().withGrowAfterOpen().withPositions(this._getOverlayPositions())}_getOverlayPositions(){return this.menuPosition??(this._parentMenu&&"horizontal"!==this._parentMenu.orientation?u.cR:u.Yy)}_registerCloseHandler(){this._parentMenu||this.menuStack.closed.pipe((0,I.R)(this.destroyed)).subscribe(({item:Ue})=>{Ue===this.childMenu&&this.close()})}_subscribeToOutsideClicks(){this.overlayRef&&this.overlayRef.outsidePointerEvents().pipe((0,I.R)(this.stopOutsideClicksListener)).subscribe(Ue=>{const nt=(0,ae.sA)(Ue),Ye=this._elementRef.nativeElement;nt!==Ye&&!Ye.contains(nt)&&(this.isElementInsideMenuStack(nt)?this._closeSiblingTriggers():this.menuStack.closeAll())})}_subscribeToMenuStackHasFocus(){this._parentMenu||this.menuStack.hasFocus.pipe((0,I.R)(this.destroyed)).subscribe(Ue=>{Ue||this.menuStack.closeAll()})}_subscribeToMenuStackClosed(){this._parentMenu||this.menuStack.closed.subscribe(({focusParentTrigger:Ue})=>{Ue&&!this.menuStack.length()&&this._elementRef.nativeElement.focus()})}_setRole(){this._parentMenu||this._elementRef.nativeElement.setAttribute("role","button")}_setType(){const Ue=this._elementRef.nativeElement;"BUTTON"===Ue.nodeName&&!Ue.getAttribute("type")&&Ue.setAttribute("type","button")}static#e=this.\u0275fac=function(nt){return new(nt||ft)};static#t=this.\u0275dir=t.lG2({type:ft,selectors:[["","cdkMenuTriggerFor",""]],hostAttrs:[1,"cdk-menu-trigger"],hostVars:2,hostBindings:function(nt,Ye){1&nt&&t.NdJ("focusin",function(){return Ye._setHasFocus(!0)})("focusout",function(){return Ye._setHasFocus(!1)})("keydown",function($t){return Ye._toggleOnKeydown($t)})("click",function(){return Ye._handleClick()}),2&nt&&t.uIk("aria-haspopup",Ye.menuTemplateRef?"menu":null)("aria-expanded",null==Ye.menuTemplateRef?null:Ye.isOpen())},inputs:{menuTemplateRef:[t.lbL.None,"cdkMenuTriggerFor","menuTemplateRef"],menuPosition:[t.lbL.None,"cdkMenuPosition","menuPosition"],menuData:[t.lbL.None,"cdkMenuTriggerData","menuData"]},outputs:{opened:"cdkMenuOpened",closed:"cdkMenuClosed"},exportAs:["cdkMenuTriggerFor"],standalone:!0,features:[t._Bn([{provide:W,useExisting:ft},dt]),t.qOj]})}return ft})(),Nn=(()=>{class ft{get disabled(){return this._disabled}set disabled(Ue){this._disabled=(0,Ce.Ig)(Ue)}get hasMenu(){return null!=this._menuTrigger?.menuTemplateRef}constructor(){this._dir=(0,t.f3M)(Ve.Is,{optional:!0}),this._elementRef=(0,t.f3M)(t.SBq),this._ngZone=(0,t.f3M)(t.R0b),this._inputModalityDetector=(0,t.f3M)(_e.QL),this._menuAim=(0,t.f3M)(Se,{optional:!0}),this._menuStack=(0,t.f3M)(Ze),this._parentMenu=(0,t.f3M)(Ae,{optional:!0}),this._menuTrigger=(0,t.f3M)(hn,{optional:!0,self:!0}),this._disabled=!1,this.triggered=new t.vpe,this._tabindex=-1,this.closeOnSpacebarTrigger=!0,this.destroyed=new le.x,this._setupMouseEnter(),this._setType(),this._isStandaloneItem()&&(this._tabindex=0)}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}trigger(Ue){const{keepOpen:nt}={...Ue};!this.disabled&&!this.hasMenu&&(this.triggered.next(),nt||this._menuStack.closeAll({focusParentTrigger:!0}))}isMenuOpen(){return!!this._menuTrigger?.isOpen()}getMenu(){return this._menuTrigger?.getMenu()}getMenuTrigger(){return this._menuTrigger}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}_resetTabIndex(){this._isStandaloneItem()||(this._tabindex=-1)}_setTabIndex(Ue){this.disabled||(!Ue||!this._menuStack.isEmpty())&&(this._tabindex=0)}_onKeydown(Ue){switch(Ue.keyCode){case e.L_:case e.K5:!(0,e.Vb)(Ue)&&!sn(this._elementRef,Ue)&&this.trigger({keepOpen:Ue.keyCode===e.L_&&!this.closeOnSpacebarTrigger});break;case e.SV:(0,e.Vb)(Ue)||this._parentMenu&&this._isParentVertical()&&("rtl"!==this._dir?.value?this._forwardArrowPressed(Ue):this._backArrowPressed(Ue));break;case e.oh:(0,e.Vb)(Ue)||this._parentMenu&&this._isParentVertical()&&("rtl"!==this._dir?.value?this._backArrowPressed(Ue):this._forwardArrowPressed(Ue))}}_isStandaloneItem(){return!this._parentMenu}_backArrowPressed(Ue){const nt=this._parentMenu;(this._menuStack.hasInlineMenu()||this._menuStack.length()>1)&&(Ue.preventDefault(),this._menuStack.close(nt,{focusNextOnEmpty:"horizontal"===this._menuStack.inlineMenuOrientation()?1:2,focusParentTrigger:!0}))}_forwardArrowPressed(Ue){!this.hasMenu&&"horizontal"===this._menuStack.inlineMenuOrientation()&&(Ue.preventDefault(),this._menuStack.closeAll({focusNextOnEmpty:0,focusParentTrigger:!0}))}_setupMouseEnter(){if(!this._isStandaloneItem()){const Ue=()=>this._ngZone.run(()=>this._menuStack.closeSubMenuOf(this._parentMenu));this._ngZone.runOutsideAngular(()=>(0,K.R)(this._elementRef.nativeElement,"mouseenter").pipe((0,n.h)(()=>"touch"!==this._inputModalityDetector.mostRecentModality&&!this._menuStack.isEmpty()&&!this.hasMenu),(0,I.R)(this.destroyed)).subscribe(()=>{this._menuAim?this._menuAim.toggle(Ue):Ue()}))}}_isParentVertical(){return"vertical"===this._parentMenu?.orientation}_setType(){const Ue=this._elementRef.nativeElement;"BUTTON"===Ue.nodeName&&!Ue.getAttribute("type")&&Ue.setAttribute("type","button")}static#e=this.\u0275fac=function(nt){return new(nt||ft)};static#t=this.\u0275dir=t.lG2({type:ft,selectors:[["","cdkMenuItem",""]],hostAttrs:["role","menuitem",1,"cdk-menu-item"],hostVars:2,hostBindings:function(nt,Ye){1&nt&&t.NdJ("blur",function(){return Ye._resetTabIndex()})("focus",function(){return Ye._setTabIndex()})("click",function(){return Ye.trigger()})("keydown",function($t){return Ye._onKeydown($t)}),2&nt&&(t.Ikx("tabindex",Ye._tabindex),t.uIk("aria-disabled",Ye.disabled||null))},inputs:{disabled:[t.lbL.None,"cdkMenuItemDisabled","disabled"],typeaheadLabel:[t.lbL.None,"cdkMenuitemTypeaheadLabel","typeaheadLabel"]},outputs:{triggered:"cdkMenuItemTriggered"},exportAs:["cdkMenuItem"],standalone:!0})}return ft})();class Jt{constructor(Bt){this._items=Bt,this.entered=this._getItemPointerEntries(),this.exited=this._getItemPointerExits(),this._destroyed=new le.x,this.entered.subscribe(Ue=>this.activeElement=Ue),this.exited.subscribe(()=>{this.previousElement=this.activeElement,this.activeElement=void 0})}destroy(){this._destroyed.next(),this._destroyed.complete()}_getItemPointerEntries(){return(0,Q.P)(()=>this._items.changes.pipe((0,m.O)(this._items),(0,L.z)(Bt=>Bt.map(Ue=>(0,K.R)(Ue._elementRef.nativeElement,"mouseenter").pipe((0,y.h)(Ue),(0,I.R)(this._items.changes)))),(0,O.J)()))}_getItemPointerExits(){return(0,Q.P)(()=>this._items.changes.pipe((0,m.O)(this._items),(0,L.z)(Bt=>Bt.map(Ue=>(0,K.R)(Ue._elementRef.nativeElement,"mouseout").pipe((0,y.h)(Ue),(0,I.R)(this._items.changes)))),(0,O.J)()))}}let cn=0,He=(()=>{class ft extends pe{constructor(){super(...arguments),this.nativeElement=(0,t.f3M)(t.SBq).nativeElement,this.ngZone=(0,t.f3M)(t.R0b),this.menuStack=(0,t.f3M)(Ze),this.menuAim=(0,t.f3M)(Se,{optional:!0,self:!0}),this.dir=(0,t.f3M)(Ve.Is,{optional:!0}),this.id="cdk-menu-"+cn++,this.orientation="vertical",this.isInline=!1,this.destroyed=new le.x,this._menuStackHasFocus=!1}ngAfterContentInit(){this.isInline||this.menuStack.push(this),this._setKeyManager(),this._subscribeToMenuStackHasFocus(),this._subscribeToMenuOpen(),this._subscribeToMenuStackClosed(),this._setUpPointerTracker()}ngOnDestroy(){this.keyManager?.destroy(),this.destroyed.next(),this.destroyed.complete(),this.pointerTracker?.destroy()}focusFirstItem(Ue="program"){this.keyManager.setFocusOrigin(Ue),this.keyManager.setFirstItemActive()}focusLastItem(Ue="program"){this.keyManager.setFocusOrigin(Ue),this.keyManager.setLastItemActive()}_getTabIndex(){return this.isInline?this._menuStackHasFocus?-1:0:null}closeOpenMenu(Ue,nt){const{focusParentTrigger:Ye}={...nt},zt=this.keyManager,$t=this.triggerItem;Ue===$t?.getMenuTrigger()?.getMenu()&&($t?.getMenuTrigger()?.close(),Ye&&($t?zt.setActiveItem($t):zt.setFirstItemActive()))}_setKeyManager(){this.keyManager=new _e.Em(this.items).withWrap().withTypeAhead().withHomeAndEnd(),"horizontal"===this.orientation?this.keyManager.withHorizontalOrientation(this.dir?.value||"ltr"):this.keyManager.withVerticalOrientation()}_subscribeToMenuOpen(){const Ue=(0,ee.T)(this.items.changes,this.destroyed);this.items.changes.pipe((0,m.O)(this.items),(0,L.z)(nt=>nt.filter(Ye=>Ye.hasMenu).map(Ye=>Ye.getMenuTrigger().opened.pipe((0,y.h)(Ye),(0,I.R)(Ue)))),(0,O.J)(),(0,M.w)(nt=>(this.triggerItem=nt,nt.getMenuTrigger().closed)),(0,I.R)(this.destroyed)).subscribe(()=>this.triggerItem=void 0)}_subscribeToMenuStackClosed(){this.menuStack.closed.pipe((0,I.R)(this.destroyed)).subscribe(({item:Ue,focusParentTrigger:nt})=>this.closeOpenMenu(Ue,{focusParentTrigger:nt}))}_subscribeToMenuStackHasFocus(){this.isInline&&this.menuStack.hasFocus.pipe((0,I.R)(this.destroyed)).subscribe(Ue=>{this._menuStackHasFocus=Ue})}_setUpPointerTracker(){this.menuAim&&(this.ngZone.runOutsideAngular(()=>{this.pointerTracker=new Jt(this.items)}),this.menuAim.initialize(this,this.pointerTracker))}static#e=this.\u0275fac=(()=>{let Ue;return function(Ye){return(Ue||(Ue=t.n5z(ft)))(Ye||ft)}})();static#t=this.\u0275dir=t.lG2({type:ft,contentQueries:function(nt,Ye,zt){if(1&nt&&t.Suo(zt,Nn,5),2&nt){let $t;t.iGM($t=t.CRH())&&(Ye.items=$t)}},hostAttrs:["role","menu"],hostVars:4,hostBindings:function(nt,Ye){1&nt&&t.NdJ("focus",function(){return Ye.focusFirstItem()})("focusin",function(){return Ye.menuStack.setHasFocus(!0)})("focusout",function(){return Ye.menuStack.setHasFocus(!1)}),2&nt&&(t.Ikx("tabindex",Ye._getTabIndex())("id",Ye.id),t.uIk("aria-orientation",Ye.orientation)("data-cdk-menu-stack-id",Ye.menuStack.id))},inputs:{id:"id"},features:[t.qOj]})}return ft})(),fe=(()=>{class ft extends He{constructor(){super(),this._parentTrigger=(0,t.f3M)(W,{optional:!0}),this.closed=new t.vpe,this.orientation="vertical",this.isInline=!this._parentTrigger,this.destroyed.subscribe(this.closed),this._parentTrigger?.registerChildMenu(this)}ngAfterContentInit(){super.ngAfterContentInit(),this._subscribeToMenuStackEmptied()}ngOnDestroy(){super.ngOnDestroy(),this.closed.complete()}_handleKeyEvent(Ue){const nt=this.keyManager;switch(Ue.keyCode){case e.oh:case e.SV:(0,e.Vb)(Ue)||(Ue.preventDefault(),nt.setFocusOrigin("keyboard"),nt.onKeydown(Ue));break;case e.hY:(0,e.Vb)(Ue)||(Ue.preventDefault(),this.menuStack.close(this,{focusNextOnEmpty:2,focusParentTrigger:!0}));break;case e.Mf:(0,e.Vb)(Ue,"altKey","metaKey","ctrlKey")||this.menuStack.closeAll({focusParentTrigger:!0});break;default:nt.onKeydown(Ue)}}_toggleMenuFocus(Ue){const nt=this.keyManager;switch(Ue){case 0:nt.setFocusOrigin("keyboard"),nt.setNextItemActive();break;case 1:nt.setFocusOrigin("keyboard"),nt.setPreviousItemActive();break;case 2:nt.activeItem&&(nt.setFocusOrigin("keyboard"),nt.setActiveItem(nt.activeItem))}}_subscribeToMenuStackEmptied(){this.menuStack.emptied.pipe((0,I.R)(this.destroyed)).subscribe(Ue=>this._toggleMenuFocus(Ue))}static#e=this.\u0275fac=function(nt){return new(nt||ft)};static#t=this.\u0275dir=t.lG2({type:ft,selectors:[["","cdkMenu",""]],hostAttrs:["role","menu",1,"cdk-menu"],hostVars:2,hostBindings:function(nt,Ye){1&nt&&t.NdJ("keydown",function($t){return Ye._handleKeyEvent($t)}),2&nt&&t.ekj("cdk-menu-inline",Ye.isInline)},outputs:{closed:"closed"},exportAs:["cdkMenu"],standalone:!0,features:[t._Bn([{provide:pe,useExisting:ft},{provide:Ae,useExisting:ft},Fe("vertical")]),t.qOj]})}return ft})();const Et=u.Yy.map(ft=>{const Bt="start"===ft.overlayX?2:-2,Ue="top"===ft.overlayY?2:-2;return{...ft,offsetX:Bt,offsetY:Ue}});let Tt=(()=>{class ft{update(Ue){ft._openContextMenuTrigger!==Ue&&(ft._openContextMenuTrigger?.close(),ft._openContextMenuTrigger=Ue)}static#e=this.\u0275fac=function(nt){return new(nt||ft)};static#t=this.\u0275prov=t.Yz7({token:ft,factory:ft.\u0275fac,providedIn:"root"})}return ft})(),tn=(()=>{class ft extends we{get disabled(){return this._disabled}set disabled(Ue){this._disabled=(0,Ce.Ig)(Ue)}constructor(){super(),this._overlay=(0,t.f3M)(u.aV),this._directionality=(0,t.f3M)(Ve.Is,{optional:!0}),this._contextMenuTracker=(0,t.f3M)(Tt),this._disabled=!1,this._setMenuStackCloseListener()}open(Ue){this._open(null,Ue)}close(){this.menuStack.closeAll()}_openOnContextMenu(Ue){this.disabled||(Ue.preventDefault(),Ue.stopPropagation(),this._contextMenuTracker.update(this),this._open(Ue,{x:Ue.clientX,y:Ue.clientY}),this.childMenu?.focusFirstItem(2===Ue.button?"mouse":0===Ue.button?"keyboard":"program"))}_getOverlayConfig(Ue){return new u.X_({positionStrategy:this._getOverlayPositionStrategy(Ue),scrollStrategy:this._overlay.scrollStrategies.reposition(),direction:this._directionality||void 0})}_getOverlayPositionStrategy(Ue){return this._overlay.position().flexibleConnectedTo(Ue).withLockedPosition().withGrowAfterOpen().withPositions(this.menuPosition??Et)}_setMenuStackCloseListener(){this.menuStack.closed.pipe((0,I.R)(this.destroyed)).subscribe(({item:Ue})=>{Ue===this.childMenu&&this.isOpen()&&(this.closed.next(),this.overlayRef.detach())})}_subscribeToOutsideClicks(Ue){if(this.overlayRef){let nt=this.overlayRef.outsidePointerEvents();if(Ue){const[Ye,zt]=function T(ft,Bt,Ue){return[(0,n.h)(Bt,Ue)((0,H.Xf)(ft)),(0,n.h)(q(Bt,Ue))((0,H.Xf)(ft))]}(nt,({type:$t})=>"auxclick"===$t);nt=(0,ee.T)(zt.pipe(function S(ft){return(0,E.e)((Bt,Ue)=>{let nt=!1,Ye=0;Bt.subscribe((0,A.x)(Ue,zt=>(nt||(nt=!ft(zt,Ye++)))&&Ue.next(zt)))})}(($t,Mn)=>Ue.ctrlKey&&0===Mn&&$t.ctrlKey)),Ye.pipe((0,Z.T)(1)))}nt.pipe((0,I.R)(this.stopOutsideClicksListener)).subscribe(Ye=>{this.isElementInsideMenuStack((0,ae.sA)(Ye))||this.menuStack.closeAll()})}}_open(Ue,nt){this.disabled||(this.isOpen()?(this.menuStack.closeSubMenuOf(this.childMenu),this.overlayRef.getConfig().positionStrategy.setOrigin(nt),this.overlayRef.updatePosition()):(this.opened.next(),this.overlayRef?(this.overlayRef.getConfig().positionStrategy.setOrigin(nt),this.overlayRef.updatePosition()):this.overlayRef=this._overlay.create(this._getOverlayConfig(nt)),this.overlayRef.attach(this.getMenuContentPortal()),this._subscribeToOutsideClicks(Ue)))}static#e=this.\u0275fac=function(nt){return new(nt||ft)};static#t=this.\u0275dir=t.lG2({type:ft,selectors:[["","cdkContextMenuTriggerFor",""]],hostVars:1,hostBindings:function(nt,Ye){1&nt&&t.NdJ("contextmenu",function($t){return Ye._openOnContextMenu($t)}),2&nt&&t.uIk("data-cdk-menu-stack-id",null)},inputs:{menuTemplateRef:[t.lbL.None,"cdkContextMenuTriggerFor","menuTemplateRef"],menuPosition:[t.lbL.None,"cdkContextMenuPosition","menuPosition"],menuData:[t.lbL.None,"cdkContextMenuTriggerData","menuData"],disabled:[t.lbL.None,"cdkContextMenuDisabled","disabled"]},outputs:{opened:"cdkContextMenuOpened",closed:"cdkContextMenuClosed"},exportAs:["cdkContextMenuTriggerFor"],standalone:!0,features:[t._Bn([{provide:W,useExisting:ft},{provide:Ze,useClass:Ie}]),t.qOj]})}return ft})(),Nt=(()=>{class ft{static#e=this.\u0275fac=function(nt){return new(nt||ft)};static#t=this.\u0275mod=t.oAB({type:ft});static#n=this.\u0275inj=t.cJS({imports:[u.U8]})}return ft})()},7131:(jt,$e,s)=>{"use strict";s.d($e,{Q8:()=>L,wD:()=>I});var t=s(2495),u=s(9212),e=s(5592),m=s(8645),p=s(3620);let U=(()=>{class y{create(M){return typeof MutationObserver>"u"?null:new MutationObserver(M)}static#e=this.\u0275fac=function(E){return new(E||y)};static#t=this.\u0275prov=u.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})(),n=(()=>{class y{constructor(M){this._mutationObserverFactory=M,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((M,E)=>this._cleanupObserver(E))}observe(M){const E=(0,t.fI)(M);return new e.y(A=>{const Z=this._observeElement(E).subscribe(A);return()=>{Z.unsubscribe(),this._unobserveElement(E)}})}_observeElement(M){if(this._observedElements.has(M))this._observedElements.get(M).count++;else{const E=new m.x,A=this._mutationObserverFactory.create(S=>E.next(S));A&&A.observe(M,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(M,{observer:A,stream:E,count:1})}return this._observedElements.get(M).stream}_unobserveElement(M){this._observedElements.has(M)&&(this._observedElements.get(M).count--,this._observedElements.get(M).count||this._cleanupObserver(M))}_cleanupObserver(M){if(this._observedElements.has(M)){const{observer:E,stream:A}=this._observedElements.get(M);E&&E.disconnect(),A.complete(),this._observedElements.delete(M)}}static#e=this.\u0275fac=function(E){return new(E||y)(u.LFG(U))};static#t=this.\u0275prov=u.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})(),I=(()=>{class y{get disabled(){return this._disabled}set disabled(M){this._disabled=(0,t.Ig)(M),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(M){this._debounce=(0,t.su)(M),this._subscribe()}constructor(M,E,A){this._contentObserver=M,this._elementRef=E,this._ngZone=A,this.event=new u.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const M=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?M.pipe((0,p.b)(this.debounce)):M).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(E){return new(E||y)(u.Y36(n),u.Y36(u.SBq),u.Y36(u.R0b))};static#t=this.\u0275dir=u.lG2({type:y,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[u.lbL.None,"cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return y})(),L=(()=>{class y{static#e=this.\u0275fac=function(E){return new(E||y)};static#t=this.\u0275mod=u.oAB({type:y});static#n=this.\u0275inj=u.cJS({providers:[U]})}return y})()},9594:(jt,$e,s)=>{"use strict";s.d($e,{Iu:()=>Xe,U8:()=>He,X_:()=>ie,Xj:()=>Fe,Yy:()=>G,_G:()=>we,aV:()=>Ft,cR:()=>be,pI:()=>Nn,uw:()=>T,xu:()=>hn});var t=s(6672),u=s(6814),e=s(9212),m=s(2495),p=s(2831),U=s(2181),n=s(8180),I=s(9773),L=s(812),y=s(9388),O=s(8484),M=s(8645),E=s(7394),A=s(3019),S=s(6028);const Z=(0,p.Mq)();class oe{constructor($,Ee){this._viewportRuler=$,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Ee}attach(){}enable(){if(this._canBeEnabled()){const $=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=$.style.left||"",this._previousHTMLStyles.top=$.style.top||"",$.style.left=(0,m.HM)(-this._previousScrollPosition.left),$.style.top=(0,m.HM)(-this._previousScrollPosition.top),$.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const $=this._document.documentElement,Ge=$.style,Ke=this._document.body.style,Et=Ge.scrollBehavior||"",Tt=Ke.scrollBehavior||"";this._isEnabled=!1,Ge.left=this._previousHTMLStyles.left,Ge.top=this._previousHTMLStyles.top,$.classList.remove("cdk-global-scrollblock"),Z&&(Ge.scrollBehavior=Ke.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Z&&(Ge.scrollBehavior=Et,Ke.scrollBehavior=Tt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Ee=this._document.body,Ge=this._viewportRuler.getViewportSize();return Ee.scrollHeight>Ge.height||Ee.scrollWidth>Ge.width}}class ee{constructor($,Ee,Ge,Ke){this._scrollDispatcher=$,this._ngZone=Ee,this._viewportRuler=Ge,this._config=Ke,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach($){this._overlayRef=$}enable(){if(this._scrollSubscription)return;const $=this._scrollDispatcher.scrolled(0).pipe((0,U.h)(Ee=>!Ee||!this._overlayRef.overlayElement.contains(Ee.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=$.subscribe(()=>{const Ee=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Ee-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=$.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class K{enable(){}disable(){}attach(){}}function Q(Ne,$){return $.some(Ee=>Ne.bottom<Ee.top||Ne.top>Ee.bottom||Ne.right<Ee.left||Ne.left>Ee.right)}function q(Ne,$){return $.some(Ee=>Ne.top<Ee.top||Ne.bottom>Ee.bottom||Ne.left<Ee.left||Ne.right>Ee.right)}class H{constructor($,Ee,Ge,Ke){this._scrollDispatcher=$,this._viewportRuler=Ee,this._ngZone=Ge,this._config=Ke,this._scrollSubscription=null}attach($){this._overlayRef=$}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 Ee=this._overlayRef.overlayElement.getBoundingClientRect(),{width:Ge,height:Ke}=this._viewportRuler.getViewportSize();Q(Ee,[{width:Ge,height:Ke,bottom:Ke,right:Ge,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 T=(()=>{class Ne{constructor(Ee,Ge,Ke,Et){this._scrollDispatcher=Ee,this._viewportRuler=Ge,this._ngZone=Ke,this.noop=()=>new K,this.close=Tt=>new ee(this._scrollDispatcher,this._ngZone,this._viewportRuler,Tt),this.block=()=>new oe(this._viewportRuler,this._document),this.reposition=Tt=>new H(this._scrollDispatcher,this._viewportRuler,this._ngZone,Tt),this._document=Et}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(e.LFG(t.mF),e.LFG(t.rL),e.LFG(e.R0b),e.LFG(u.K0))};static#t=this.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})();class ie{constructor($){if(this.scrollStrategy=new K,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,$){const Ee=Object.keys($);for(const Ge of Ee)void 0!==$[Ge]&&(this[Ge]=$[Ge])}}}class Ve{constructor($,Ee){this.connectionPair=$,this.scrollableViewProperties=Ee}}let Ae=(()=>{class Ne{constructor(Ee){this._attachedOverlays=[],this._document=Ee}ngOnDestroy(){this.detach()}add(Ee){this.remove(Ee),this._attachedOverlays.push(Ee)}remove(Ee){const Ge=this._attachedOverlays.indexOf(Ee);Ge>-1&&this._attachedOverlays.splice(Ge,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(e.LFG(u.K0))};static#t=this.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),Ze=(()=>{class Ne extends Ae{constructor(Ee,Ge){super(Ee),this._ngZone=Ge,this._keydownListener=Ke=>{const Et=this._attachedOverlays;for(let Tt=Et.length-1;Tt>-1;Tt--)if(Et[Tt]._keydownEvents.observers.length>0){const tn=Et[Tt]._keydownEvents;this._ngZone?this._ngZone.run(()=>tn.next(Ke)):tn.next(Ke);break}}}add(Ee){super.add(Ee),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)}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(e.LFG(u.K0),e.LFG(e.R0b,8))};static#t=this.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),dt=(()=>{class Ne extends Ae{constructor(Ee,Ge,Ke){super(Ee),this._platform=Ge,this._ngZone=Ke,this._cursorStyleIsSet=!1,this._pointerDownListener=Et=>{this._pointerDownEventTarget=(0,p.sA)(Et)},this._clickListener=Et=>{const Tt=(0,p.sA)(Et),tn="click"===Et.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Tt;this._pointerDownEventTarget=null;const rn=this._attachedOverlays.slice();for(let Nt=rn.length-1;Nt>-1;Nt--){const ft=rn[Nt];if(ft._outsidePointerEvents.observers.length<1||!ft.hasAttached())continue;if(ft.overlayElement.contains(Tt)||ft.overlayElement.contains(tn))break;const Bt=ft._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Bt.next(Et)):Bt.next(Et)}}}add(Ee){if(super.add(Ee),!this._isAttached){const Ge=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ge)):this._addEventListeners(Ge),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ge.style.cursor,Ge.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Ee=this._document.body;Ee.removeEventListener("pointerdown",this._pointerDownListener,!0),Ee.removeEventListener("click",this._clickListener,!0),Ee.removeEventListener("auxclick",this._clickListener,!0),Ee.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Ee.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Ee){Ee.addEventListener("pointerdown",this._pointerDownListener,!0),Ee.addEventListener("click",this._clickListener,!0),Ee.addEventListener("auxclick",this._clickListener,!0),Ee.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(e.LFG(u.K0),e.LFG(p.t4),e.LFG(e.R0b,8))};static#t=this.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),Fe=(()=>{class Ne{constructor(Ee,Ge){this._platform=Ge,this._document=Ee}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Ee="cdk-overlay-container";if(this._platform.isBrowser||(0,p.Oy)()){const Ke=this._document.querySelectorAll(`.${Ee}[platform="server"], .${Ee}[platform="test"]`);for(let Et=0;Et<Ke.length;Et++)Ke[Et].remove()}const Ge=this._document.createElement("div");Ge.classList.add(Ee),(0,p.Oy)()?Ge.setAttribute("platform","test"):this._platform.isBrowser||Ge.setAttribute("platform","server"),this._document.body.appendChild(Ge),this._containerElement=Ge}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(e.LFG(u.K0),e.LFG(p.t4))};static#t=this.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})();class Xe{constructor($,Ee,Ge,Ke,Et,Tt,tn,rn,Nt,ft=!1){this._portalOutlet=$,this._host=Ee,this._pane=Ge,this._config=Ke,this._ngZone=Et,this._keyboardDispatcher=Tt,this._document=tn,this._location=rn,this._outsideClickDispatcher=Nt,this._animationsDisabled=ft,this._backdropElement=null,this._backdropClick=new M.x,this._attachments=new M.x,this._detachments=new M.x,this._locationChanges=E.w0.EMPTY,this._backdropClickHandler=Bt=>this._backdropClick.next(Bt),this._backdropTransitionendHandler=Bt=>{this._disposeBackdrop(Bt.target)},this._keydownEvents=new M.x,this._outsidePointerEvents=new M.x,Ke.scrollStrategy&&(this._scrollStrategy=Ke.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Ke.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach($){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Ee=this._portalOutlet.attach($);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,n.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),"function"==typeof Ee?.onDestroy&&Ee.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Ee}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const $=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),$}dispose(){const $=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),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,$&&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($){$!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=$,this.hasAttached()&&($.attach(this),this.updatePosition()))}updateSize($){this._config={...this._config,...$},this._updateElementSize()}setDirection($){this._config={...this._config,direction:$},this._updateElementDirection()}addPanelClass($){this._pane&&this._toggleClasses(this._pane,$,!0)}removePanelClass($){this._pane&&this._toggleClasses(this._pane,$,!1)}getDirection(){const $=this._config.direction;return $?"string"==typeof $?$:$.value:"ltr"}updateScrollStrategy($){$!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=$,this.hasAttached()&&($.attach(this),$.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const $=this._pane.style;$.width=(0,m.HM)(this._config.width),$.height=(0,m.HM)(this._config.height),$.minWidth=(0,m.HM)(this._config.minWidth),$.minHeight=(0,m.HM)(this._config.minHeight),$.maxWidth=(0,m.HM)(this._config.maxWidth),$.maxHeight=(0,m.HM)(this._config.maxHeight)}_togglePointerEvents($){this._pane.style.pointerEvents=$?"":"none"}_attachBackdrop(){const $="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),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),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add($)})}):this._backdropElement.classList.add($)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const $=this._backdropElement;if($){if(this._animationsDisabled)return void this._disposeBackdrop($);$.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{$.addEventListener("transitionend",this._backdropTransitionendHandler)}),$.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop($)},500))}}_toggleClasses($,Ee,Ge){const Ke=(0,m.Eq)(Ee||[]).filter(Et=>!!Et);Ke.length&&(Ge?$.classList.add(...Ke):$.classList.remove(...Ke))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const $=this._ngZone.onStable.pipe((0,I.R)((0,A.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()),$.unsubscribe())})})}_disposeScrollStrategy(){const $=this._scrollStrategy;$&&($.disable(),$.detach&&$.detach())}_disposeBackdrop($){$&&($.removeEventListener("click",this._backdropClickHandler),$.removeEventListener("transitionend",this._backdropTransitionendHandler),$.remove(),this._backdropElement===$&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Ie="cdk-overlay-connected-position-bounding-box",W=/([A-Za-z%]+)$/;class we{get positions(){return this._preferredPositions}constructor($,Ee,Ge,Ke,Et){this._viewportRuler=Ee,this._document=Ge,this._platform=Ke,this._overlayContainer=Et,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new M.x,this._resizeSubscription=E.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin($)}attach($){this._validatePositions(),$.hostElement.classList.add(Ie),this._overlayRef=$,this._boundingBox=$.hostElement,this._pane=$.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{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 $=this._originRect,Ee=this._overlayRect,Ge=this._viewportRect,Ke=this._containerRect,Et=[];let Tt;for(let tn of this._preferredPositions){let rn=this._getOriginPoint($,Ke,tn),Nt=this._getOverlayPoint(rn,Ee,tn),ft=this._getOverlayFit(Nt,Ee,Ge,tn);if(ft.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(tn,rn);this._canFitWithFlexibleDimensions(ft,Nt,Ge)?Et.push({position:tn,origin:rn,overlayRect:Ee,boundingBoxRect:this._calculateBoundingBoxRect(rn,tn)}):(!Tt||Tt.overlayFit.visibleArea<ft.visibleArea)&&(Tt={overlayFit:ft,overlayPoint:Nt,originPoint:rn,position:tn,overlayRect:Ee})}if(Et.length){let tn=null,rn=-1;for(const Nt of Et){const ft=Nt.boundingBoxRect.width*Nt.boundingBoxRect.height*(Nt.position.weight||1);ft>rn&&(rn=ft,tn=Nt)}return this._isPushed=!1,void this._applyPosition(tn.position,tn.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Tt.position,Tt.originPoint);this._applyPosition(Tt.position,Tt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&P(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ie),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const $=this._lastPosition;if($){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Ee=this._getOriginPoint(this._originRect,this._containerRect,$);this._applyPosition($,Ee)}else this.apply()}withScrollableContainers($){return this._scrollables=$,this}withPositions($){return this._preferredPositions=$,-1===$.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin($){return this._viewportMargin=$,this}withFlexibleDimensions($=!0){return this._hasFlexibleDimensions=$,this}withGrowAfterOpen($=!0){return this._growAfterOpen=$,this}withPush($=!0){return this._canPush=$,this}withLockedPosition($=!0){return this._positionLocked=$,this}setOrigin($){return this._origin=$,this}withDefaultOffsetX($){return this._offsetX=$,this}withDefaultOffsetY($){return this._offsetY=$,this}withTransformOriginOn($){return this._transformOriginSelector=$,this}_getOriginPoint($,Ee,Ge){let Ke,Et;if("center"==Ge.originX)Ke=$.left+$.width/2;else{const Tt=this._isRtl()?$.right:$.left,tn=this._isRtl()?$.left:$.right;Ke="start"==Ge.originX?Tt:tn}return Ee.left<0&&(Ke-=Ee.left),Et="center"==Ge.originY?$.top+$.height/2:"top"==Ge.originY?$.top:$.bottom,Ee.top<0&&(Et-=Ee.top),{x:Ke,y:Et}}_getOverlayPoint($,Ee,Ge){let Ke,Et;return Ke="center"==Ge.overlayX?-Ee.width/2:"start"===Ge.overlayX?this._isRtl()?-Ee.width:0:this._isRtl()?0:-Ee.width,Et="center"==Ge.overlayY?-Ee.height/2:"top"==Ge.overlayY?0:-Ee.height,{x:$.x+Ke,y:$.y+Et}}_getOverlayFit($,Ee,Ge,Ke){const Et=Se(Ee);let{x:Tt,y:tn}=$,rn=this._getOffset(Ke,"x"),Nt=this._getOffset(Ke,"y");rn&&(Tt+=rn),Nt&&(tn+=Nt);let Ue=0-tn,nt=tn+Et.height-Ge.height,Ye=this._subtractOverflows(Et.width,0-Tt,Tt+Et.width-Ge.width),zt=this._subtractOverflows(Et.height,Ue,nt),$t=Ye*zt;return{visibleArea:$t,isCompletelyWithinViewport:Et.width*Et.height===$t,fitsInViewportVertically:zt===Et.height,fitsInViewportHorizontally:Ye==Et.width}}_canFitWithFlexibleDimensions($,Ee,Ge){if(this._hasFlexibleDimensions){const Ke=Ge.bottom-Ee.y,Et=Ge.right-Ee.x,Tt=V(this._overlayRef.getConfig().minHeight),tn=V(this._overlayRef.getConfig().minWidth);return($.fitsInViewportVertically||null!=Tt&&Tt<=Ke)&&($.fitsInViewportHorizontally||null!=tn&&tn<=Et)}return!1}_pushOverlayOnScreen($,Ee,Ge){if(this._previousPushAmount&&this._positionLocked)return{x:$.x+this._previousPushAmount.x,y:$.y+this._previousPushAmount.y};const Ke=Se(Ee),Et=this._viewportRect,Tt=Math.max($.x+Ke.width-Et.width,0),tn=Math.max($.y+Ke.height-Et.height,0),rn=Math.max(Et.top-Ge.top-$.y,0),Nt=Math.max(Et.left-Ge.left-$.x,0);let ft=0,Bt=0;return ft=Ke.width<=Et.width?Nt||-Tt:$.x<this._viewportMargin?Et.left-Ge.left-$.x:0,Bt=Ke.height<=Et.height?rn||-tn:$.y<this._viewportMargin?Et.top-Ge.top-$.y:0,this._previousPushAmount={x:ft,y:Bt},{x:$.x+ft,y:$.y+Bt}}_applyPosition($,Ee){if(this._setTransformOrigin($),this._setOverlayElementStyles(Ee,$),this._setBoundingBoxStyles(Ee,$),$.panelClass&&this._addPanelClasses($.panelClass),this._lastPosition=$,this._positionChanges.observers.length){const Ge=this._getScrollVisibility(),Ke=new Ve($,Ge);this._positionChanges.next(Ke)}this._isInitialRender=!1}_setTransformOrigin($){if(!this._transformOriginSelector)return;const Ee=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ge,Ke=$.overlayY;Ge="center"===$.overlayX?"center":this._isRtl()?"start"===$.overlayX?"right":"left":"start"===$.overlayX?"left":"right";for(let Et=0;Et<Ee.length;Et++)Ee[Et].style.transformOrigin=`${Ge} ${Ke}`}_calculateBoundingBoxRect($,Ee){const Ge=this._viewportRect,Ke=this._isRtl();let Et,Tt,tn,ft,Bt,Ue;if("top"===Ee.overlayY)Tt=$.y,Et=Ge.height-Tt+this._viewportMargin;else if("bottom"===Ee.overlayY)tn=Ge.height-$.y+2*this._viewportMargin,Et=Ge.height-tn+this._viewportMargin;else{const nt=Math.min(Ge.bottom-$.y+Ge.top,$.y),Ye=this._lastBoundingBoxSize.height;Et=2*nt,Tt=$.y-nt,Et>Ye&&!this._isInitialRender&&!this._growAfterOpen&&(Tt=$.y-Ye/2)}if("end"===Ee.overlayX&&!Ke||"start"===Ee.overlayX&&Ke)Ue=Ge.width-$.x+this._viewportMargin,ft=$.x-this._viewportMargin;else if("start"===Ee.overlayX&&!Ke||"end"===Ee.overlayX&&Ke)Bt=$.x,ft=Ge.right-$.x;else{const nt=Math.min(Ge.right-$.x+Ge.left,$.x),Ye=this._lastBoundingBoxSize.width;ft=2*nt,Bt=$.x-nt,ft>Ye&&!this._isInitialRender&&!this._growAfterOpen&&(Bt=$.x-Ye/2)}return{top:Tt,left:Bt,bottom:tn,right:Ue,width:ft,height:Et}}_setBoundingBoxStyles($,Ee){const Ge=this._calculateBoundingBoxRect($,Ee);!this._isInitialRender&&!this._growAfterOpen&&(Ge.height=Math.min(Ge.height,this._lastBoundingBoxSize.height),Ge.width=Math.min(Ge.width,this._lastBoundingBoxSize.width));const Ke={};if(this._hasExactPosition())Ke.top=Ke.left="0",Ke.bottom=Ke.right=Ke.maxHeight=Ke.maxWidth="",Ke.width=Ke.height="100%";else{const Et=this._overlayRef.getConfig().maxHeight,Tt=this._overlayRef.getConfig().maxWidth;Ke.height=(0,m.HM)(Ge.height),Ke.top=(0,m.HM)(Ge.top),Ke.bottom=(0,m.HM)(Ge.bottom),Ke.width=(0,m.HM)(Ge.width),Ke.left=(0,m.HM)(Ge.left),Ke.right=(0,m.HM)(Ge.right),Ke.alignItems="center"===Ee.overlayX?"center":"end"===Ee.overlayX?"flex-end":"flex-start",Ke.justifyContent="center"===Ee.overlayY?"center":"bottom"===Ee.overlayY?"flex-end":"flex-start",Et&&(Ke.maxHeight=(0,m.HM)(Et)),Tt&&(Ke.maxWidth=(0,m.HM)(Tt))}this._lastBoundingBoxSize=Ge,P(this._boundingBox.style,Ke)}_resetBoundingBoxStyles(){P(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){P(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles($,Ee){const Ge={},Ke=this._hasExactPosition(),Et=this._hasFlexibleDimensions,Tt=this._overlayRef.getConfig();if(Ke){const ft=this._viewportRuler.getViewportScrollPosition();P(Ge,this._getExactOverlayY(Ee,$,ft)),P(Ge,this._getExactOverlayX(Ee,$,ft))}else Ge.position="static";let tn="",rn=this._getOffset(Ee,"x"),Nt=this._getOffset(Ee,"y");rn&&(tn+=`translateX(${rn}px) `),Nt&&(tn+=`translateY(${Nt}px)`),Ge.transform=tn.trim(),Tt.maxHeight&&(Ke?Ge.maxHeight=(0,m.HM)(Tt.maxHeight):Et&&(Ge.maxHeight="")),Tt.maxWidth&&(Ke?Ge.maxWidth=(0,m.HM)(Tt.maxWidth):Et&&(Ge.maxWidth="")),P(this._pane.style,Ge)}_getExactOverlayY($,Ee,Ge){let Ke={top:"",bottom:""},Et=this._getOverlayPoint(Ee,this._overlayRect,$);return this._isPushed&&(Et=this._pushOverlayOnScreen(Et,this._overlayRect,Ge)),"bottom"===$.overlayY?Ke.bottom=this._document.documentElement.clientHeight-(Et.y+this._overlayRect.height)+"px":Ke.top=(0,m.HM)(Et.y),Ke}_getExactOverlayX($,Ee,Ge){let Tt,Ke={left:"",right:""},Et=this._getOverlayPoint(Ee,this._overlayRect,$);return this._isPushed&&(Et=this._pushOverlayOnScreen(Et,this._overlayRect,Ge)),Tt=this._isRtl()?"end"===$.overlayX?"left":"right":"end"===$.overlayX?"right":"left","right"===Tt?Ke.right=this._document.documentElement.clientWidth-(Et.x+this._overlayRect.width)+"px":Ke.left=(0,m.HM)(Et.x),Ke}_getScrollVisibility(){const $=this._getOriginRect(),Ee=this._pane.getBoundingClientRect(),Ge=this._scrollables.map(Ke=>Ke.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:q($,Ge),isOriginOutsideView:Q($,Ge),isOverlayClipped:q(Ee,Ge),isOverlayOutsideView:Q(Ee,Ge)}}_subtractOverflows($,...Ee){return Ee.reduce((Ge,Ke)=>Ge-Math.max(Ke,0),$)}_getNarrowedViewportRect(){const $=this._document.documentElement.clientWidth,Ee=this._document.documentElement.clientHeight,Ge=this._viewportRuler.getViewportScrollPosition();return{top:Ge.top+this._viewportMargin,left:Ge.left+this._viewportMargin,right:Ge.left+$-this._viewportMargin,bottom:Ge.top+Ee-this._viewportMargin,width:$-2*this._viewportMargin,height:Ee-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset($,Ee){return"x"===Ee?null==$.offsetX?this._offsetX:$.offsetX:null==$.offsetY?this._offsetY:$.offsetY}_validatePositions(){}_addPanelClasses($){this._pane&&(0,m.Eq)($).forEach(Ee=>{""!==Ee&&-1===this._appliedPanelClasses.indexOf(Ee)&&(this._appliedPanelClasses.push(Ee),this._pane.classList.add(Ee))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach($=>{this._pane.classList.remove($)}),this._appliedPanelClasses=[])}_getOriginRect(){const $=this._origin;if($ instanceof e.SBq)return $.nativeElement.getBoundingClientRect();if($ instanceof Element)return $.getBoundingClientRect();const Ee=$.width||0,Ge=$.height||0;return{top:$.y,bottom:$.y+Ge,left:$.x,right:$.x+Ee,height:Ge,width:Ee}}}function P(Ne,$){for(let Ee in $)$.hasOwnProperty(Ee)&&(Ne[Ee]=$[Ee]);return Ne}function V(Ne){if("number"!=typeof Ne&&null!=Ne){const[$,Ee]=Ne.split(W);return Ee&&"px"!==Ee?null:parseFloat($)}return Ne||null}function Se(Ne){return{top:Math.floor(Ne.top),right:Math.floor(Ne.right),bottom:Math.floor(Ne.bottom),left:Math.floor(Ne.left),width:Math.floor(Ne.width),height:Math.floor(Ne.height)}}const G=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],be=[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}],de="cdk-global-overlay-wrapper";class De{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach($){const Ee=$.getConfig();this._overlayRef=$,this._width&&!Ee.width&&$.updateSize({width:this._width}),this._height&&!Ee.height&&$.updateSize({height:this._height}),$.hostElement.classList.add(de),this._isDisposed=!1}top($=""){return this._bottomOffset="",this._topOffset=$,this._alignItems="flex-start",this}left($=""){return this._xOffset=$,this._xPosition="left",this}bottom($=""){return this._topOffset="",this._bottomOffset=$,this._alignItems="flex-end",this}right($=""){return this._xOffset=$,this._xPosition="right",this}start($=""){return this._xOffset=$,this._xPosition="start",this}end($=""){return this._xOffset=$,this._xPosition="end",this}width($=""){return this._overlayRef?this._overlayRef.updateSize({width:$}):this._width=$,this}height($=""){return this._overlayRef?this._overlayRef.updateSize({height:$}):this._height=$,this}centerHorizontally($=""){return this.left($),this._xPosition="center",this}centerVertically($=""){return this.top($),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const $=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement.style,Ge=this._overlayRef.getConfig(),{width:Ke,height:Et,maxWidth:Tt,maxHeight:tn}=Ge,rn=!("100%"!==Ke&&"100vw"!==Ke||Tt&&"100%"!==Tt&&"100vw"!==Tt),Nt=!("100%"!==Et&&"100vh"!==Et||tn&&"100%"!==tn&&"100vh"!==tn),ft=this._xPosition,Bt=this._xOffset,Ue="rtl"===this._overlayRef.getConfig().direction;let nt="",Ye="",zt="";rn?zt="flex-start":"center"===ft?(zt="center",Ue?Ye=Bt:nt=Bt):Ue?"left"===ft||"end"===ft?(zt="flex-end",nt=Bt):("right"===ft||"start"===ft)&&(zt="flex-start",Ye=Bt):"left"===ft||"start"===ft?(zt="flex-start",nt=Bt):("right"===ft||"end"===ft)&&(zt="flex-end",Ye=Bt),$.position=this._cssPosition,$.marginLeft=rn?"0":nt,$.marginTop=Nt?"0":this._topOffset,$.marginBottom=this._bottomOffset,$.marginRight=rn?"0":Ye,Ee.justifyContent=zt,Ee.alignItems=Nt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const $=this._overlayRef.overlayElement.style,Ee=this._overlayRef.hostElement,Ge=Ee.style;Ee.classList.remove(de),Ge.justifyContent=Ge.alignItems=$.marginTop=$.marginBottom=$.marginLeft=$.marginRight=$.position="",this._overlayRef=null,this._isDisposed=!0}}let tt=(()=>{class Ne{constructor(Ee,Ge,Ke,Et){this._viewportRuler=Ee,this._document=Ge,this._platform=Ke,this._overlayContainer=Et}global(){return new De}flexibleConnectedTo(Ee){return new we(Ee,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(e.LFG(t.rL),e.LFG(u.K0),e.LFG(p.t4),e.LFG(Fe))};static#t=this.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})(),Re=0,Ft=(()=>{class Ne{constructor(Ee,Ge,Ke,Et,Tt,tn,rn,Nt,ft,Bt,Ue,nt){this.scrollStrategies=Ee,this._overlayContainer=Ge,this._componentFactoryResolver=Ke,this._positionBuilder=Et,this._keyboardDispatcher=Tt,this._injector=tn,this._ngZone=rn,this._document=Nt,this._directionality=ft,this._location=Bt,this._outsideClickDispatcher=Ue,this._animationsModuleType=nt}create(Ee){const Ge=this._createHostElement(),Ke=this._createPaneElement(Ge),Et=this._createPortalOutlet(Ke),Tt=new ie(Ee);return Tt.direction=Tt.direction||this._directionality.value,new Xe(Et,Ge,Ke,Tt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Ee){const Ge=this._document.createElement("div");return Ge.id="cdk-overlay-"+Re++,Ge.classList.add("cdk-overlay-pane"),Ee.appendChild(Ge),Ge}_createHostElement(){const Ee=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Ee),Ee}_createPortalOutlet(Ee){return this._appRef||(this._appRef=this._injector.get(e.z2F)),new O.u0(Ee,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(e.LFG(T),e.LFG(Fe),e.LFG(e._Vd),e.LFG(tt),e.LFG(Ze),e.LFG(e.zs3),e.LFG(e.R0b),e.LFG(u.K0),e.LFG(y.Is),e.LFG(u.Ye),e.LFG(dt),e.LFG(e.QbO,8))};static#t=this.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"})}return Ne})();const mt=[{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"}],sn=new e.OlP("cdk-connected-overlay-scroll-strategy");let hn=(()=>{class Ne{constructor(Ee){this.elementRef=Ee}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:Ne,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return Ne})(),Nn=(()=>{class Ne{get offsetX(){return this._offsetX}set offsetX(Ee){this._offsetX=Ee,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(Ee){this._offsetY=Ee,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Ee){this._hasBackdrop=(0,m.Ig)(Ee)}get lockPosition(){return this._lockPosition}set lockPosition(Ee){this._lockPosition=(0,m.Ig)(Ee)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(Ee){this._flexibleDimensions=(0,m.Ig)(Ee)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(Ee){this._growAfterOpen=(0,m.Ig)(Ee)}get push(){return this._push}set push(Ee){this._push=(0,m.Ig)(Ee)}constructor(Ee,Ge,Ke,Et,Tt){this._overlay=Ee,this._dir=Tt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=E.w0.EMPTY,this._attachSubscription=E.w0.EMPTY,this._detachSubscription=E.w0.EMPTY,this._positionSubscription=E.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new e.vpe,this.positionChange=new e.vpe,this.attach=new e.vpe,this.detach=new e.vpe,this.overlayKeydown=new e.vpe,this.overlayOutsideClick=new e.vpe,this._templatePortal=new O.UE(Ge,Ke),this._scrollStrategyFactory=Et,this.scrollStrategy=this._scrollStrategyFactory()}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(Ee){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),Ee.origin&&this.open&&this._position.apply()),Ee.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=mt);const Ee=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=Ee.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=Ee.detachments().subscribe(()=>this.detach.emit()),Ee.keydownEvents().subscribe(Ge=>{this.overlayKeydown.next(Ge),Ge.keyCode===S.hY&&!this.disableClose&&!(0,S.Vb)(Ge)&&(Ge.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(Ge=>{this.overlayOutsideClick.next(Ge)})}_buildConfig(){const Ee=this._position=this.positionStrategy||this._createPositionStrategy(),Ge=new ie({direction:this._dir,positionStrategy:Ee,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(Ge.width=this.width),(this.height||0===this.height)&&(Ge.height=this.height),(this.minWidth||0===this.minWidth)&&(Ge.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(Ge.minHeight=this.minHeight),this.backdropClass&&(Ge.backdropClass=this.backdropClass),this.panelClass&&(Ge.panelClass=this.panelClass),Ge}_updatePositionStrategy(Ee){const Ge=this.positions.map(Ke=>({originX:Ke.originX,originY:Ke.originY,overlayX:Ke.overlayX,overlayY:Ke.overlayY,offsetX:Ke.offsetX||this.offsetX,offsetY:Ke.offsetY||this.offsetY,panelClass:Ke.panelClass||void 0}));return Ee.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(Ge).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const Ee=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(Ee),Ee}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof hn?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(Ee=>{this.backdropClick.emit(Ee)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,L.o)(()=>this.positionChange.observers.length>0)).subscribe(Ee=>{this.positionChange.emit(Ee),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(e.Y36(Ft),e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(sn),e.Y36(y.Is,8))};static#t=this.\u0275dir=e.lG2({type:Ne,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[e.lbL.None,"cdkConnectedOverlayOrigin","origin"],positions:[e.lbL.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[e.lbL.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[e.lbL.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[e.lbL.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[e.lbL.None,"cdkConnectedOverlayWidth","width"],height:[e.lbL.None,"cdkConnectedOverlayHeight","height"],minWidth:[e.lbL.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[e.lbL.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[e.lbL.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[e.lbL.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[e.lbL.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[e.lbL.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[e.lbL.None,"cdkConnectedOverlayOpen","open"],disableClose:[e.lbL.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[e.lbL.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[e.lbL.None,"cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:[e.lbL.None,"cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:[e.lbL.None,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:[e.lbL.None,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:[e.lbL.None,"cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[e.TTD]})}return Ne})();const cn={provide:sn,deps:[Ft],useFactory:function Jt(Ne){return()=>Ne.scrollStrategies.reposition()}};let He=(()=>{class Ne{static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)};static#t=this.\u0275mod=e.oAB({type:Ne});static#n=this.\u0275inj=e.cJS({providers:[Ft,cn],imports:[y.vT,O.eL,t.Cl,t.Cl]})}return Ne})()},2831:(jt,$e,s)=>{"use strict";s.d($e,{Mq:()=>A,Oy:()=>Q,_i:()=>S,ht:()=>ee,i$:()=>O,kV:()=>le,qK:()=>I,sA:()=>K,t4:()=>m});var t=s(9212),u=s(6814);let e;try{e=typeof Intl<"u"&&Intl.v8BreakIterator}catch{e=!1}let U,m=(()=>{class q{constructor(T){this._platformId=T,this.isBrowser=this._platformId?(0,u.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&&!e)&&typeof CSS<"u"&&!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}static#e=this.\u0275fac=function(ie){return new(ie||q)(t.LFG(t.Lbi))};static#t=this.\u0275prov=t.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"})}return q})();const n=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function I(){if(U)return U;if("object"!=typeof document||!document)return U=new Set(n),U;let q=document.createElement("input");return U=new Set(n.filter(H=>(q.setAttribute("type",H),q.type===H))),U}let L,M,E,Z;function O(q){return function y(){if(null==L&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>L=!0}))}finally{L=L||!1}return L}()?q:!!q.capture}function A(){if(null==E){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return E=!1,E;if("scrollBehavior"in document.documentElement.style)E=!0;else{const q=Element.prototype.scrollTo;E=!!q&&!/\{\s*\[native code\]\s*\}/.test(q.toString())}}return E}function S(){if("object"!=typeof document||!document)return 0;if(null==M){const q=document.createElement("div"),H=q.style;q.dir="rtl",H.width="1px",H.overflow="auto",H.visibility="hidden",H.pointerEvents="none",H.position="absolute";const T=document.createElement("div"),ie=T.style;ie.width="2px",ie.height="1px",q.appendChild(T),document.body.appendChild(q),M=0,0===q.scrollLeft&&(q.scrollLeft=1,M=0===q.scrollLeft?1:2),q.remove()}return M}function le(q){if(function oe(){if(null==Z){const q=typeof document<"u"?document.head:null;Z=!(!q||!q.createShadowRoot&&!q.attachShadow)}return Z}()){const H=q.getRootNode?q.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&H instanceof ShadowRoot)return H}return null}function ee(){let q=typeof document<"u"&&document?document.activeElement:null;for(;q&&q.shadowRoot;){const H=q.shadowRoot.activeElement;if(H===q)break;q=H}return q}function K(q){return q.composedPath?q.composedPath()[0]:q.target}function Q(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},8484:(jt,$e,s)=>{"use strict";s.d($e,{C5:()=>y,Pl:()=>ee,UE:()=>O,eL:()=>Q,en:()=>E,ig:()=>oe,u0:()=>S});var t=s(9212),u=s(6814);class L{attach(T){return this._attachedHost=T,T.attach(this)}detach(){let T=this._attachedHost;null!=T&&(this._attachedHost=null,T.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(T){this._attachedHost=T}}class y extends L{constructor(T,ie,_e,Ce,Ve){super(),this.component=T,this.viewContainerRef=ie,this.injector=_e,this.componentFactoryResolver=Ce,this.projectableNodes=Ve}}class O extends L{constructor(T,ie,_e,Ce){super(),this.templateRef=T,this.viewContainerRef=ie,this.context=_e,this.injector=Ce}get origin(){return this.templateRef.elementRef}attach(T,ie=this.context){return this.context=ie,super.attach(T)}detach(){return this.context=void 0,super.detach()}}class M extends L{constructor(T){super(),this.element=T instanceof t.SBq?T.nativeElement:T}}class E{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(T){return T instanceof y?(this._attachedPortal=T,this.attachComponentPortal(T)):T instanceof O?(this._attachedPortal=T,this.attachTemplatePortal(T)):this.attachDomPortal&&T instanceof M?(this._attachedPortal=T,this.attachDomPortal(T)):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(T){this._disposeFn=T}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class S extends E{constructor(T,ie,_e,Ce,Ve){super(),this.outletElement=T,this._componentFactoryResolver=ie,this._appRef=_e,this._defaultInjector=Ce,this.attachDomPortal=ae=>{const pe=ae.element,Ae=this._document.createComment("dom-portal");pe.parentNode.insertBefore(Ae,pe),this.outletElement.appendChild(pe),this._attachedPortal=ae,super.setDisposeFn(()=>{Ae.parentNode&&Ae.parentNode.replaceChild(pe,Ae)})},this._document=Ve}attachComponentPortal(T){const _e=(T.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(T.component);let Ce;return T.viewContainerRef?(Ce=T.viewContainerRef.createComponent(_e,T.viewContainerRef.length,T.injector||T.viewContainerRef.injector,T.projectableNodes||void 0),this.setDisposeFn(()=>Ce.destroy())):(Ce=_e.create(T.injector||this._defaultInjector||t.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=T,Ce}attachTemplatePortal(T){let ie=T.viewContainerRef,_e=ie.createEmbeddedView(T.templateRef,T.context,{injector:T.injector});return _e.rootNodes.forEach(Ce=>this.outletElement.appendChild(Ce)),_e.detectChanges(),this.setDisposeFn(()=>{let Ce=ie.indexOf(_e);-1!==Ce&&ie.remove(Ce)}),this._attachedPortal=T,_e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(T){return T.hostView.rootNodes[0]}}let oe=(()=>{class H extends O{constructor(ie,_e){super(ie,_e)}static#e=this.\u0275fac=function(_e){return new(_e||H)(t.Y36(t.Rgc),t.Y36(t.s_b))};static#t=this.\u0275dir=t.lG2({type:H,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[t.qOj]})}return H})(),ee=(()=>{class H extends E{constructor(ie,_e,Ce){super(),this._componentFactoryResolver=ie,this._viewContainerRef=_e,this._isInitialized=!1,this.attached=new t.vpe,this.attachDomPortal=Ve=>{const ae=Ve.element,pe=this._document.createComment("dom-portal");Ve.setAttachedHost(this),ae.parentNode.insertBefore(pe,ae),this._getRootNode().appendChild(ae),this._attachedPortal=Ve,super.setDisposeFn(()=>{pe.parentNode&&pe.parentNode.replaceChild(ae,pe)})},this._document=Ce}get portal(){return this._attachedPortal}set portal(ie){this.hasAttached()&&!ie&&!this._isInitialized||(this.hasAttached()&&super.detach(),ie&&super.attach(ie),this._attachedPortal=ie||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(ie){ie.setAttachedHost(this);const _e=null!=ie.viewContainerRef?ie.viewContainerRef:this._viewContainerRef,Ve=(ie.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ie.component),ae=_e.createComponent(Ve,_e.length,ie.injector||_e.injector,ie.projectableNodes||void 0);return _e!==this._viewContainerRef&&this._getRootNode().appendChild(ae.hostView.rootNodes[0]),super.setDisposeFn(()=>ae.destroy()),this._attachedPortal=ie,this._attachedRef=ae,this.attached.emit(ae),ae}attachTemplatePortal(ie){ie.setAttachedHost(this);const _e=this._viewContainerRef.createEmbeddedView(ie.templateRef,ie.context,{injector:ie.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ie,this._attachedRef=_e,this.attached.emit(_e),_e}_getRootNode(){const ie=this._viewContainerRef.element.nativeElement;return ie.nodeType===ie.ELEMENT_NODE?ie:ie.parentNode}static#e=this.\u0275fac=function(_e){return new(_e||H)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36(u.K0))};static#t=this.\u0275dir=t.lG2({type:H,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[t.lbL.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.qOj]})}return H})(),Q=(()=>{class H{static#e=this.\u0275fac=function(_e){return new(_e||H)};static#t=this.\u0275mod=t.oAB({type:H});static#n=this.\u0275inj=t.cJS({})}return H})()},6672:(jt,$e,s)=>{"use strict";s.d($e,{Cl:()=>Ie,PQ:()=>H,ZD:()=>Xe,mF:()=>q,rL:()=>ie});var t=s(2495),u=s(9212),e=s(8645),m=s(2096),p=s(5592),U=s(2438),L=(s(927),s(6410),s(9028)),y=s(2181),O=s(9773),M=s(2831),E=s(6814),A=s(9388);let q=(()=>{class W{constructor(P,V,Se){this._ngZone=P,this._platform=V,this._scrolled=new e.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Se}register(P){this.scrollContainers.has(P)||this.scrollContainers.set(P,P.elementScrolled().subscribe(()=>this._scrolled.next(P)))}deregister(P){const V=this.scrollContainers.get(P);V&&(V.unsubscribe(),this.scrollContainers.delete(P))}scrolled(P=20){return this._platform.isBrowser?new p.y(V=>{this._globalSubscription||this._addGlobalListener();const Se=P>0?this._scrolled.pipe((0,L.e)(P)).subscribe(V):this._scrolled.subscribe(V);return this._scrolledCount++,()=>{Se.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,m.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((P,V)=>this.deregister(V)),this._scrolled.complete()}ancestorScrolled(P,V){const Se=this.getAncestorScrollContainers(P);return this.scrolled(V).pipe((0,y.h)(G=>!G||Se.indexOf(G)>-1))}getAncestorScrollContainers(P){const V=[];return this.scrollContainers.forEach((Se,G)=>{this._scrollableContainsElement(G,P)&&V.push(G)}),V}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(P,V){let Se=(0,t.fI)(V),G=P.getElementRef().nativeElement;do{if(Se==G)return!0}while(Se=Se.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const P=this._getWindow();return(0,U.R)(P.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(V){return new(V||W)(u.LFG(u.R0b),u.LFG(M.t4),u.LFG(E.K0,8))};static#t=this.\u0275prov=u.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),H=(()=>{class W{constructor(P,V,Se,G){this.elementRef=P,this.scrollDispatcher=V,this.ngZone=Se,this.dir=G,this._destroyed=new e.x,this._elementScrolled=new p.y(be=>this.ngZone.runOutsideAngular(()=>(0,U.R)(this.elementRef.nativeElement,"scroll").pipe((0,O.R)(this._destroyed)).subscribe(be)))}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(P){const V=this.elementRef.nativeElement,Se=this.dir&&"rtl"==this.dir.value;null==P.left&&(P.left=Se?P.end:P.start),null==P.right&&(P.right=Se?P.start:P.end),null!=P.bottom&&(P.top=V.scrollHeight-V.clientHeight-P.bottom),Se&&0!=(0,M._i)()?(null!=P.left&&(P.right=V.scrollWidth-V.clientWidth-P.left),2==(0,M._i)()?P.left=P.right:1==(0,M._i)()&&(P.left=P.right?-P.right:P.right)):null!=P.right&&(P.left=V.scrollWidth-V.clientWidth-P.right),this._applyScrollToOptions(P)}_applyScrollToOptions(P){const V=this.elementRef.nativeElement;(0,M.Mq)()?V.scrollTo(P):(null!=P.top&&(V.scrollTop=P.top),null!=P.left&&(V.scrollLeft=P.left))}measureScrollOffset(P){const V="left",G=this.elementRef.nativeElement;if("top"==P)return G.scrollTop;if("bottom"==P)return G.scrollHeight-G.clientHeight-G.scrollTop;const be=this.dir&&"rtl"==this.dir.value;return"start"==P?P=be?"right":V:"end"==P&&(P=be?V:"right"),be&&2==(0,M._i)()?P==V?G.scrollWidth-G.clientWidth-G.scrollLeft:G.scrollLeft:be&&1==(0,M._i)()?P==V?G.scrollLeft+G.scrollWidth-G.clientWidth:-G.scrollLeft:P==V?G.scrollLeft:G.scrollWidth-G.clientWidth-G.scrollLeft}static#e=this.\u0275fac=function(V){return new(V||W)(u.Y36(u.SBq),u.Y36(q),u.Y36(u.R0b),u.Y36(A.Is,8))};static#t=this.\u0275dir=u.lG2({type:W,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}return W})(),ie=(()=>{class W{constructor(P,V,Se){this._platform=P,this._change=new e.x,this._changeListener=G=>{this._change.next(G)},this._document=Se,V.runOutsideAngular(()=>{if(P.isBrowser){const G=this._getWindow();G.addEventListener("resize",this._changeListener),G.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const P=this._getWindow();P.removeEventListener("resize",this._changeListener),P.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const P={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),P}getViewportRect(){const P=this.getViewportScrollPosition(),{width:V,height:Se}=this.getViewportSize();return{top:P.top,left:P.left,bottom:P.top+Se,right:P.left+V,height:Se,width:V}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const P=this._document,V=this._getWindow(),Se=P.documentElement,G=Se.getBoundingClientRect();return{top:-G.top||P.body.scrollTop||V.scrollY||Se.scrollTop||0,left:-G.left||P.body.scrollLeft||V.scrollX||Se.scrollLeft||0}}change(P=20){return P>0?this._change.pipe((0,L.e)(P)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const P=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:P.innerWidth,height:P.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(V){return new(V||W)(u.LFG(M.t4),u.LFG(u.R0b),u.LFG(E.K0,8))};static#t=this.\u0275prov=u.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Xe=(()=>{class W{static#e=this.\u0275fac=function(V){return new(V||W)};static#t=this.\u0275mod=u.oAB({type:W});static#n=this.\u0275inj=u.cJS({})}return W})(),Ie=(()=>{class W{static#e=this.\u0275fac=function(V){return new(V||W)};static#t=this.\u0275mod=u.oAB({type:W});static#n=this.\u0275inj=u.cJS({imports:[A.vT,Xe,A.vT,Xe]})}return W})()},6263:(jt,$e,s)=>{"use strict";s.d($e,{IC:()=>E,Ky:()=>A,Lq:()=>O});var t=s(2831),u=s(9212),e=s(2495),m=s(6232),p=s(8645),U=s(2438),n=s(9028),I=s(9773),L=s(6814);const y=(0,t.i$)({passive:!0});let O=(()=>{class S{constructor(oe,le){this._platform=oe,this._ngZone=le,this._monitoredElements=new Map}monitor(oe){if(!this._platform.isBrowser)return m.E;const le=(0,e.fI)(oe),ee=this._monitoredElements.get(le);if(ee)return ee.subject;const K=new p.x,Q="cdk-text-field-autofilled",q=H=>{"cdk-text-field-autofill-start"!==H.animationName||le.classList.contains(Q)?"cdk-text-field-autofill-end"===H.animationName&&le.classList.contains(Q)&&(le.classList.remove(Q),this._ngZone.run(()=>K.next({target:H.target,isAutofilled:!1}))):(le.classList.add(Q),this._ngZone.run(()=>K.next({target:H.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{le.addEventListener("animationstart",q,y),le.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(le,{subject:K,unlisten:()=>{le.removeEventListener("animationstart",q,y)}}),K}stopMonitoring(oe){const le=(0,e.fI)(oe),ee=this._monitoredElements.get(le);ee&&(ee.unlisten(),ee.subject.complete(),le.classList.remove("cdk-text-field-autofill-monitored"),le.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(le))}ngOnDestroy(){this._monitoredElements.forEach((oe,le)=>this.stopMonitoring(le))}static#e=this.\u0275fac=function(le){return new(le||S)(u.LFG(t.t4),u.LFG(u.R0b))};static#t=this.\u0275prov=u.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),E=(()=>{class S{get minRows(){return this._minRows}set minRows(oe){this._minRows=(0,e.su)(oe),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(oe){this._maxRows=(0,e.su)(oe),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(oe){oe=(0,e.Ig)(oe),this._enabled!==oe&&((this._enabled=oe)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(oe){this._cachedPlaceholderHeight=void 0,oe?this._textareaElement.setAttribute("placeholder",oe):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(oe,le,ee,K){this._elementRef=oe,this._platform=le,this._ngZone=ee,this._destroyed=new p.x,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=Q=>{this._hasFocus="focus"===Q.type},this._document=K,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const oe=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;oe&&(this._textareaElement.style.minHeight=oe)}_setMaxHeight(){const oe=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;oe&&(this._textareaElement.style.maxHeight=oe)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const oe=this._getWindow();(0,U.R)(oe,"resize").pipe((0,n.e)(16),(0,I.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let oe=this._textareaElement.cloneNode(!1);oe.rows=1,oe.style.position="absolute",oe.style.visibility="hidden",oe.style.border="none",oe.style.padding="0",oe.style.height="",oe.style.minHeight="",oe.style.maxHeight="",oe.style.overflow="hidden",this._textareaElement.parentNode.appendChild(oe),this._cachedLineHeight=oe.clientHeight,oe.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const oe=this._textareaElement,le=oe.style.marginBottom||"",ee=this._platform.FIREFOX,K=ee&&this._hasFocus,Q=ee?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";K&&(oe.style.marginBottom=`${oe.clientHeight}px`),oe.classList.add(Q);const q=oe.scrollHeight-4;return oe.classList.remove(Q),K&&(oe.style.marginBottom=le),q}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const oe=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=oe}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(oe=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const le=this._elementRef.nativeElement,ee=le.value;if(!oe&&this._minRows===this._previousMinRows&&ee===this._previousValue)return;const K=this._measureScrollHeight(),Q=Math.max(K,this._cachedPlaceholderHeight||0);le.style.height=`${Q}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(le)):setTimeout(()=>this._scrollToCaretPosition(le))}),this._previousValue=ee,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(oe){const{selectionStart:le,selectionEnd:ee}=oe;!this._destroyed.isStopped&&this._hasFocus&&oe.setSelectionRange(le,ee)}static#e=this.\u0275fac=function(le){return new(le||S)(u.Y36(u.SBq),u.Y36(t.t4),u.Y36(u.R0b),u.Y36(L.K0,8))};static#t=this.\u0275dir=u.lG2({type:S,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(le,ee){1&le&&u.NdJ("input",function(){return ee._noopInputHandler()})},inputs:{minRows:[u.lbL.None,"cdkAutosizeMinRows","minRows"],maxRows:[u.lbL.None,"cdkAutosizeMaxRows","maxRows"],enabled:[u.lbL.None,"cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return S})(),A=(()=>{class S{static#e=this.\u0275fac=function(le){return new(le||S)};static#t=this.\u0275mod=u.oAB({type:S});static#n=this.\u0275inj=u.cJS({})}return S})()},1894:(jt,$e,s)=>{"use strict";s.d($e,{HI:()=>S,Hs:()=>ie,Ud:()=>Ae,VY:()=>A,XJ:()=>pe,Xx:()=>Ve,_0:()=>T,cu:()=>Z,nZ:()=>dt,rO:()=>le});var t=s(8337),u=s(2664),e=s(8645),m=s(5619),p=s(2096),U=s(8180),n=s(2181),I=s(9773),L=s(9212),y=s(2495),O=s(9388);class M{constructor(){this.expansionModel=new t.Ov(!0)}toggle(Xe){this.expansionModel.toggle(this._trackByValue(Xe))}expand(Xe){this.expansionModel.select(this._trackByValue(Xe))}collapse(Xe){this.expansionModel.deselect(this._trackByValue(Xe))}isExpanded(Xe){return this.expansionModel.isSelected(this._trackByValue(Xe))}toggleDescendants(Xe){this.expansionModel.isSelected(this._trackByValue(Xe))?this.collapseDescendants(Xe):this.expandDescendants(Xe)}collapseAll(){this.expansionModel.clear()}expandDescendants(Xe){let Ie=[Xe];Ie.push(...this.getDescendants(Xe)),this.expansionModel.select(...Ie.map(W=>this._trackByValue(W)))}collapseDescendants(Xe){let Ie=[Xe];Ie.push(...this.getDescendants(Xe)),this.expansionModel.deselect(...Ie.map(W=>this._trackByValue(W)))}_trackByValue(Xe){return this.trackBy?this.trackBy(Xe):Xe}}class A extends M{constructor(Xe,Ie){super(),this.getChildren=Xe,this.options=Ie,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const Xe=this.dataNodes.reduce((Ie,W)=>[...Ie,...this.getDescendants(W),W],[]);this.expansionModel.select(...Xe.map(Ie=>this._trackByValue(Ie)))}getDescendants(Xe){const Ie=[];return this._getDescendants(Ie,Xe),Ie.splice(1)}_getDescendants(Xe,Ie){Xe.push(Ie);const W=this.getChildren(Ie);Array.isArray(W)?W.forEach(we=>this._getDescendants(Xe,we)):(0,u.b)(W)&&W.pipe((0,U.q)(1),(0,n.h)(Boolean)).subscribe(we=>{for(const P of we)this._getDescendants(Xe,P)})}}const S=new L.OlP("CDK_TREE_NODE_OUTLET_NODE");let Z=(()=>{class Fe{constructor(Ie,W){this.viewContainer=Ie,this._node=W}static#e=this.\u0275fac=function(W){return new(W||Fe)(L.Y36(L.s_b),L.Y36(S,8))};static#t=this.\u0275dir=L.lG2({type:Fe,selectors:[["","cdkTreeNodeOutlet",""]]})}return Fe})();class oe{constructor(Xe){this.$implicit=Xe}}let le=(()=>{class Fe{constructor(Ie){this.template=Ie}static#e=this.\u0275fac=function(W){return new(W||Fe)(L.Y36(L.Rgc))};static#t=this.\u0275dir=L.lG2({type:Fe,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[L.lbL.None,"cdkTreeNodeDefWhen","when"]}})}return Fe})(),T=(()=>{class Fe{get dataSource(){return this._dataSource}set dataSource(Ie){this._dataSource!==Ie&&this._switchDataSource(Ie)}constructor(Ie,W){this._differs=Ie,this._changeDetectorRef=W,this._onDestroy=new e.x,this._levels=new Map,this.viewChange=new m.X({start:0,end:Number.MAX_VALUE})}ngOnInit(){this._dataDiffer=this._differs.find([]).create(this.trackBy)}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}ngAfterContentChecked(){const Ie=this._nodeDefs.filter(W=>!W.when);this._defaultNodeDef=Ie[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(Ie){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),Ie||this._nodeOutlet.viewContainer.clear(),this._dataSource=Ie,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let Ie;(0,t.Z9)(this._dataSource)?Ie=this._dataSource.connect(this):(0,u.b)(this._dataSource)?Ie=this._dataSource:Array.isArray(this._dataSource)&&(Ie=(0,p.of)(this._dataSource)),Ie&&(this._dataSubscription=Ie.pipe((0,I.R)(this._onDestroy)).subscribe(W=>this.renderNodeChanges(W)))}renderNodeChanges(Ie,W=this._dataDiffer,we=this._nodeOutlet.viewContainer,P){const V=W.diff(Ie);V&&(V.forEachOperation((Se,G,be)=>{if(null==Se.previousIndex)this.insertNode(Ie[be],be,we,P);else if(null==be)we.remove(G),this._levels.delete(Se.item);else{const de=we.get(G);we.move(de,be)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(Ie,W){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(P=>P.when&&P.when(W,Ie))||this._defaultNodeDef}insertNode(Ie,W,we,P){const V=this._getNodeDef(Ie,W),Se=new oe(Ie);Se.level=this.treeControl.getLevel?this.treeControl.getLevel(Ie):typeof P<"u"&&this._levels.has(P)?this._levels.get(P)+1:0,this._levels.set(Ie,Se.level),(we||this._nodeOutlet.viewContainer).createEmbeddedView(V.template,Se,W),ie.mostRecentTreeNode&&(ie.mostRecentTreeNode.data=Ie)}static#e=this.\u0275fac=function(W){return new(W||Fe)(L.Y36(L.ZZ4),L.Y36(L.sBO))};static#t=this.\u0275cmp=L.Xpm({type:Fe,selectors:[["cdk-tree"]],contentQueries:function(W,we,P){if(1&W&&L.Suo(P,le,5),2&W){let V;L.iGM(V=L.CRH())&&(we._nodeDefs=V)}},viewQuery:function(W,we){if(1&W&&L.Gf(Z,7),2&W){let P;L.iGM(P=L.CRH())&&(we._nodeOutlet=P.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(W,we){1&W&&L.GkF(0,0)},dependencies:[Z],encapsulation:2})}return Fe})(),ie=(()=>{class Fe{get role(){return"treeitem"}set role(Ie){this._elementRef.nativeElement.setAttribute("role",Ie)}static#e=this.mostRecentTreeNode=null;get data(){return this._data}set data(Ie){Ie!==this._data&&(this._data=Ie,this._setRoleFromData(),this._dataChanges.next())}get isExpanded(){return this._tree.treeControl.isExpanded(this._data)}get level(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):this._parentNodeAriaLevel}constructor(Ie,W){this._elementRef=Ie,this._tree=W,this._destroyed=new e.x,this._dataChanges=new e.x,Fe.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function _e(Fe){let Xe=Fe.parentElement;for(;Xe&&!Ce(Xe);)Xe=Xe.parentElement;return Xe?Xe.classList.contains("cdk-nested-tree-node")?(0,y.su)(Xe.getAttribute("aria-level")):0:-1}(this._elementRef.nativeElement),this._elementRef.nativeElement.setAttribute("aria-level",`${this.level+1}`)}ngOnDestroy(){Fe.mostRecentTreeNode===this&&(Fe.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}static#t=this.\u0275fac=function(W){return new(W||Fe)(L.Y36(L.SBq),L.Y36(T))};static#n=this.\u0275dir=L.lG2({type:Fe,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(W,we){2&W&&L.uIk("aria-expanded",we.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]})}return Fe})();function Ce(Fe){const Xe=Fe.classList;return!(!Xe?.contains("cdk-nested-tree-node")&&!Xe?.contains("cdk-tree"))}let Ve=(()=>{class Fe extends ie{constructor(Ie,W,we){super(Ie,W),this._differs=we}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const Ie=this._tree.treeControl.getChildren(this.data);Array.isArray(Ie)?this.updateChildrenNodes(Ie):(0,u.b)(Ie)&&Ie.pipe((0,I.R)(this._destroyed)).subscribe(W=>this.updateChildrenNodes(W)),this.nodeOutlet.changes.pipe((0,I.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(Ie){const W=this._getNodeOutlet();Ie&&(this._children=Ie),W&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,W.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const Ie=this._getNodeOutlet();Ie&&(Ie.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const Ie=this.nodeOutlet;return Ie&&Ie.find(W=>!W._node||W._node===this)}static#e=this.\u0275fac=function(W){return new(W||Fe)(L.Y36(L.SBq),L.Y36(T),L.Y36(L.ZZ4))};static#t=this.\u0275dir=L.lG2({type:Fe,selectors:[["cdk-nested-tree-node"]],contentQueries:function(W,we,P){if(1&W&&L.Suo(P,Z,5),2&W){let V;L.iGM(V=L.CRH())&&(we.nodeOutlet=V)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[L._Bn([{provide:ie,useExisting:Fe},{provide:S,useExisting:Fe}]),L.qOj]})}return Fe})();const ae=/([A-Za-z%]+)$/;let pe=(()=>{class Fe{get level(){return this._level}set level(Ie){this._setLevelInput(Ie)}get indent(){return this._indent}set indent(Ie){this._setIndentInput(Ie)}constructor(Ie,W,we,P){this._treeNode=Ie,this._tree=W,this._element=we,this._dir=P,this._destroyed=new e.x,this.indentUnits="px",this._indent=40,this._setPadding(),P&&P.change.pipe((0,I.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),Ie._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const Ie=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,W=null==this._level?Ie:this._level;return"number"==typeof W?`${W*this._indent}${this.indentUnits}`:null}_setPadding(Ie=!1){const W=this._paddingIndent();if(W!==this._currentPadding||Ie){const we=this._element.nativeElement,P=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",V="paddingLeft"===P?"paddingRight":"paddingLeft";we.style[P]=W||"",we.style[V]="",this._currentPadding=W}}_setLevelInput(Ie){this._level=(0,y.su)(Ie,null),this._setPadding()}_setIndentInput(Ie){let W=Ie,we="px";if("string"==typeof Ie){const P=Ie.split(ae);W=P[0],we=P[1]||we}this.indentUnits=we,this._indent=(0,y.su)(W),this._setPadding()}static#e=this.\u0275fac=function(W){return new(W||Fe)(L.Y36(ie),L.Y36(T),L.Y36(L.SBq),L.Y36(O.Is,8))};static#t=this.\u0275dir=L.lG2({type:Fe,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[L.lbL.None,"cdkTreeNodePadding","level"],indent:[L.lbL.None,"cdkTreeNodePaddingIndent","indent"]}})}return Fe})(),Ae=(()=>{class Fe{get recursive(){return this._recursive}set recursive(Ie){this._recursive=(0,y.Ig)(Ie)}constructor(Ie,W){this._tree=Ie,this._treeNode=W,this._recursive=!1}_toggle(Ie){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),Ie.stopPropagation()}static#e=this.\u0275fac=function(W){return new(W||Fe)(L.Y36(T),L.Y36(ie))};static#t=this.\u0275dir=L.lG2({type:Fe,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(W,we){1&W&&L.NdJ("click",function(V){return we._toggle(V)})},inputs:{recursive:[L.lbL.None,"cdkTreeNodeToggleRecursive","recursive"]}})}return Fe})(),dt=(()=>{class Fe{static#e=this.\u0275fac=function(W){return new(W||Fe)};static#t=this.\u0275mod=L.oAB({type:Fe});static#n=this.\u0275inj=L.cJS({})}return Fe})()},6814:(jt,$e,s)=>{"use strict";s.d($e,{Do:()=>Z,ED:()=>on,EM:()=>Hi,Gx:()=>me,HT:()=>m,JF:()=>je,K0:()=>U,Mn:()=>Ze,Mx:()=>nn,NF:()=>oi,O5:()=>xi,OU:()=>Ut,Ov:()=>$o,PC:()=>an,PM:()=>Pi,RF:()=>mi,S$:()=>E,Tn:()=>_e,Ts:()=>it,UT:()=>dt,V_:()=>I,Ye:()=>oe,b0:()=>S,bD:()=>vn,ez:()=>Qt,mk:()=>Un,n9:()=>Rt,p6:()=>Et,q:()=>e,sg:()=>hi,tP:()=>Xn,uU:()=>ln,w_:()=>p,x:()=>ie});var t=s(9212);let u=null;function e(){return u}function m(Te){u||(u=Te)}class p{}const U=new t.OlP("DocumentToken");let n=(()=>{class Te{historyGo(We){throw new Error("Not implemented")}static#e=this.\u0275fac=function(yt){return new(yt||Te)};static#t=this.\u0275prov=t.Yz7({token:Te,factory:()=>(0,t.f3M)(L),providedIn:"platform"})}return Te})();const I=new t.OlP("Location Initialized");let L=(()=>{class Te extends n{constructor(){super(),this._doc=(0,t.f3M)(U),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return e().getBaseHref(this._doc)}onPopState(We){const yt=e().getGlobalEventTarget(this._doc,"window");return yt.addEventListener("popstate",We,!1),()=>yt.removeEventListener("popstate",We)}onHashChange(We){const yt=e().getGlobalEventTarget(this._doc,"window");return yt.addEventListener("hashchange",We,!1),()=>yt.removeEventListener("hashchange",We)}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(We){this._location.pathname=We}pushState(We,yt,_n){this._history.pushState(We,yt,_n)}replaceState(We,yt,_n){this._history.replaceState(We,yt,_n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(We=0){this._history.go(We)}getState(){return this._history.state}static#e=this.\u0275fac=function(yt){return new(yt||Te)};static#t=this.\u0275prov=t.Yz7({token:Te,factory:()=>new Te,providedIn:"platform"})}return Te})();function y(Te,kt){if(0==Te.length)return kt;if(0==kt.length)return Te;let We=0;return Te.endsWith("/")&&We++,kt.startsWith("/")&&We++,2==We?Te+kt.substring(1):1==We?Te+kt:Te+"/"+kt}function O(Te){const kt=Te.match(/#|\?|$/),We=kt&&kt.index||Te.length;return Te.slice(0,We-("/"===Te[We-1]?1:0))+Te.slice(We)}function M(Te){return Te&&"?"!==Te[0]?"?"+Te:Te}let E=(()=>{class Te{historyGo(We){throw new Error("Not implemented")}static#e=this.\u0275fac=function(yt){return new(yt||Te)};static#t=this.\u0275prov=t.Yz7({token:Te,factory:()=>(0,t.f3M)(S),providedIn:"root"})}return Te})();const A=new t.OlP("appBaseHref");let S=(()=>{class Te extends E{constructor(We,yt){super(),this._platformLocation=We,this._removeListenerFns=[],this._baseHref=yt??this._platformLocation.getBaseHrefFromDOM()??(0,t.f3M)(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(We){this._removeListenerFns.push(this._platformLocation.onPopState(We),this._platformLocation.onHashChange(We))}getBaseHref(){return this._baseHref}prepareExternalUrl(We){return y(this._baseHref,We)}path(We=!1){const yt=this._platformLocation.pathname+M(this._platformLocation.search),_n=this._platformLocation.hash;return _n&&We?`${yt}${_n}`:yt}pushState(We,yt,_n,Kn){const ci=this.prepareExternalUrl(_n+M(Kn));this._platformLocation.pushState(We,yt,ci)}replaceState(We,yt,_n,Kn){const ci=this.prepareExternalUrl(_n+M(Kn));this._platformLocation.replaceState(We,yt,ci)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(We=0){this._platformLocation.historyGo?.(We)}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.LFG(n),t.LFG(A,8))};static#t=this.\u0275prov=t.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"})}return Te})(),Z=(()=>{class Te extends E{constructor(We,yt){super(),this._platformLocation=We,this._baseHref="",this._removeListenerFns=[],null!=yt&&(this._baseHref=yt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(We){this._removeListenerFns.push(this._platformLocation.onPopState(We),this._platformLocation.onHashChange(We))}getBaseHref(){return this._baseHref}path(We=!1){let yt=this._platformLocation.hash;return null==yt&&(yt="#"),yt.length>0?yt.substring(1):yt}prepareExternalUrl(We){const yt=y(this._baseHref,We);return yt.length>0?"#"+yt:yt}pushState(We,yt,_n,Kn){let ci=this.prepareExternalUrl(_n+M(Kn));0==ci.length&&(ci=this._platformLocation.pathname),this._platformLocation.pushState(We,yt,ci)}replaceState(We,yt,_n,Kn){let ci=this.prepareExternalUrl(_n+M(Kn));0==ci.length&&(ci=this._platformLocation.pathname),this._platformLocation.replaceState(We,yt,ci)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(We=0){this._platformLocation.historyGo?.(We)}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.LFG(n),t.LFG(A,8))};static#t=this.\u0275prov=t.Yz7({token:Te,factory:Te.\u0275fac})}return Te})(),oe=(()=>{class Te{constructor(We){this._subject=new t.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=We;const yt=this._locationStrategy.getBaseHref();this._basePath=function Q(Te){if(new RegExp("^(https?:)?//").test(Te)){const[,We]=Te.split(/\/\/[^\/]+/);return We}return Te}(O(K(yt))),this._locationStrategy.onPopState(_n=>{this._subject.emit({url:this.path(!0),pop:!0,state:_n.state,type:_n.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(We=!1){return this.normalize(this._locationStrategy.path(We))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(We,yt=""){return this.path()==this.normalize(We+M(yt))}normalize(We){return Te.stripTrailingSlash(function ee(Te,kt){if(!Te||!kt.startsWith(Te))return kt;const We=kt.substring(Te.length);return""===We||["/",";","?","#"].includes(We[0])?We:kt}(this._basePath,K(We)))}prepareExternalUrl(We){return We&&"/"!==We[0]&&(We="/"+We),this._locationStrategy.prepareExternalUrl(We)}go(We,yt="",_n=null){this._locationStrategy.pushState(_n,"",We,yt),this._notifyUrlChangeListeners(this.prepareExternalUrl(We+M(yt)),_n)}replaceState(We,yt="",_n=null){this._locationStrategy.replaceState(_n,"",We,yt),this._notifyUrlChangeListeners(this.prepareExternalUrl(We+M(yt)),_n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(We=0){this._locationStrategy.historyGo?.(We)}onUrlChange(We){return this._urlChangeListeners.push(We),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(yt=>{this._notifyUrlChangeListeners(yt.url,yt.state)})),()=>{const yt=this._urlChangeListeners.indexOf(We);this._urlChangeListeners.splice(yt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(We="",yt){this._urlChangeListeners.forEach(_n=>_n(We,yt))}subscribe(We,yt,_n){return this._subject.subscribe({next:We,error:yt,complete:_n})}static#e=this.normalizeQueryParams=M;static#t=this.joinWithSlash=y;static#n=this.stripTrailingSlash=O;static#i=this.\u0275fac=function(yt){return new(yt||Te)(t.LFG(E))};static#o=this.\u0275prov=t.Yz7({token:Te,factory:()=>function le(){return new oe((0,t.LFG)(E))}(),providedIn:"root"})}return Te})();function K(Te){return Te.replace(/\/index.html$/,"")}var T=function(Te){return Te[Te.Zero=0]="Zero",Te[Te.One=1]="One",Te[Te.Two=2]="Two",Te[Te.Few=3]="Few",Te[Te.Many=4]="Many",Te[Te.Other=5]="Other",Te}(T||{}),ie=function(Te){return Te[Te.Format=0]="Format",Te[Te.Standalone=1]="Standalone",Te}(ie||{}),_e=function(Te){return Te[Te.Narrow=0]="Narrow",Te[Te.Abbreviated=1]="Abbreviated",Te[Te.Wide=2]="Wide",Te[Te.Short=3]="Short",Te}(_e||{}),Ce=function(Te){return Te[Te.Short=0]="Short",Te[Te.Medium=1]="Medium",Te[Te.Long=2]="Long",Te[Te.Full=3]="Full",Te}(Ce||{}),Ve=function(Te){return Te[Te.Decimal=0]="Decimal",Te[Te.Group=1]="Group",Te[Te.List=2]="List",Te[Te.PercentSign=3]="PercentSign",Te[Te.PlusSign=4]="PlusSign",Te[Te.MinusSign=5]="MinusSign",Te[Te.Exponential=6]="Exponential",Te[Te.SuperscriptingExponent=7]="SuperscriptingExponent",Te[Te.PerMille=8]="PerMille",Te[Te.Infinity=9]="Infinity",Te[Te.NaN=10]="NaN",Te[Te.TimeSeparator=11]="TimeSeparator",Te[Te.CurrencyDecimal=12]="CurrencyDecimal",Te[Te.CurrencyGroup=13]="CurrencyGroup",Te}(Ve||{});function Ze(Te,kt,We){const yt=(0,t.cg1)(Te),Kn=hn([yt[t.wAp.DaysFormat],yt[t.wAp.DaysStandalone]],kt);return hn(Kn,We)}function dt(Te,kt,We){const yt=(0,t.cg1)(Te),Kn=hn([yt[t.wAp.MonthsFormat],yt[t.wAp.MonthsStandalone]],kt);return hn(Kn,We)}function W(Te,kt){return hn((0,t.cg1)(Te)[t.wAp.DateFormat],kt)}function we(Te,kt){return hn((0,t.cg1)(Te)[t.wAp.TimeFormat],kt)}function P(Te,kt){return hn((0,t.cg1)(Te)[t.wAp.DateTimeFormat],kt)}function V(Te,kt){const We=(0,t.cg1)(Te),yt=We[t.wAp.NumberSymbols][kt];if(typeof yt>"u"){if(kt===Ve.CurrencyDecimal)return We[t.wAp.NumberSymbols][Ve.Decimal];if(kt===Ve.CurrencyGroup)return We[t.wAp.NumberSymbols][Ve.Group]}return yt}const tt=t.kL8;function Re(Te){if(!Te[t.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Te[t.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function hn(Te,kt){for(let We=kt;We>-1;We--)if(typeof Te[We]<"u")return Te[We];throw new Error("Locale data API: locale data undefined")}function Nn(Te){const[kt,We]=Te.split(":");return{hours:+kt,minutes:+We}}const fe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ne={},$=/((?:[^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 Ee=function(Te){return Te[Te.Short=0]="Short",Te[Te.ShortGMT=1]="ShortGMT",Te[Te.Long=2]="Long",Te[Te.Extended=3]="Extended",Te}(Ee||{}),Ge=function(Te){return Te[Te.FullYear=0]="FullYear",Te[Te.Month=1]="Month",Te[Te.Date=2]="Date",Te[Te.Hours=3]="Hours",Te[Te.Minutes=4]="Minutes",Te[Te.Seconds=5]="Seconds",Te[Te.FractionalSeconds=6]="FractionalSeconds",Te[Te.Day=7]="Day",Te}(Ge||{}),Ke=function(Te){return Te[Te.DayPeriods=0]="DayPeriods",Te[Te.Days=1]="Days",Te[Te.Months=2]="Months",Te[Te.Eras=3]="Eras",Te}(Ke||{});function Et(Te,kt,We,yt){let _n=function j(Te){if(N(Te))return Te;if("number"==typeof Te&&!isNaN(Te))return new Date(Te);if("string"==typeof Te){if(Te=Te.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Te)){const[_n,Kn=1,ci=1]=Te.split("-").map(bi=>+bi);return Tt(_n,Kn-1,ci)}const We=parseFloat(Te);if(!isNaN(Te-We))return new Date(We);let yt;if(yt=Te.match(fe))return function F(Te){const kt=new Date(0);let We=0,yt=0;const _n=Te[8]?kt.setUTCFullYear:kt.setFullYear,Kn=Te[8]?kt.setUTCHours:kt.setHours;Te[9]&&(We=Number(Te[9]+Te[10]),yt=Number(Te[9]+Te[11])),_n.call(kt,Number(Te[1]),Number(Te[2])-1,Number(Te[3]));const ci=Number(Te[4]||0)-We,bi=Number(Te[5]||0)-yt,Go=Number(Te[6]||0),po=Math.floor(1e3*parseFloat("0."+(Te[7]||0)));return Kn.call(kt,ci,bi,Go,po),kt}(yt)}const kt=new Date(Te);if(!N(kt))throw new Error(`Unable to convert "${Te}" into a date`);return kt}(Te);kt=tn(We,kt)||kt;let bi,ci=[];for(;kt;){if(bi=$.exec(kt),!bi){ci.push(kt);break}{ci=ci.concat(bi.slice(1));const Jo=ci.pop();if(!Jo)break;kt=Jo}}let Go=_n.getTimezoneOffset();yt&&(Go=X(yt,Go),_n=function et(Te,kt,We){const yt=We?-1:1,_n=Te.getTimezoneOffset();return function xe(Te,kt){return(Te=new Date(Te.getTime())).setMinutes(Te.getMinutes()+kt),Te}(Te,yt*(X(kt,_n)-_n))}(_n,yt,!0));let po="";return ci.forEach(Jo=>{const xo=function ue(Te){if(Le[Te])return Le[Te];let kt;switch(Te){case"G":case"GG":case"GGG":kt=nt(Ke.Eras,_e.Abbreviated);break;case"GGGG":kt=nt(Ke.Eras,_e.Wide);break;case"GGGGG":kt=nt(Ke.Eras,_e.Narrow);break;case"y":kt=Bt(Ge.FullYear,1,0,!1,!0);break;case"yy":kt=Bt(Ge.FullYear,2,0,!0,!0);break;case"yyy":kt=Bt(Ge.FullYear,3,0,!1,!0);break;case"yyyy":kt=Bt(Ge.FullYear,4,0,!1,!0);break;case"Y":kt=Xt(1);break;case"YY":kt=Xt(2,!0);break;case"YYY":kt=Xt(3);break;case"YYYY":kt=Xt(4);break;case"M":case"L":kt=Bt(Ge.Month,1,1);break;case"MM":case"LL":kt=Bt(Ge.Month,2,1);break;case"MMM":kt=nt(Ke.Months,_e.Abbreviated);break;case"MMMM":kt=nt(Ke.Months,_e.Wide);break;case"MMMMM":kt=nt(Ke.Months,_e.Narrow);break;case"LLL":kt=nt(Ke.Months,_e.Abbreviated,ie.Standalone);break;case"LLLL":kt=nt(Ke.Months,_e.Wide,ie.Standalone);break;case"LLLLL":kt=nt(Ke.Months,_e.Narrow,ie.Standalone);break;case"w":kt=Pt(1);break;case"ww":kt=Pt(2);break;case"W":kt=Pt(1,!0);break;case"d":kt=Bt(Ge.Date,1);break;case"dd":kt=Bt(Ge.Date,2);break;case"c":case"cc":kt=Bt(Ge.Day,1);break;case"ccc":kt=nt(Ke.Days,_e.Abbreviated,ie.Standalone);break;case"cccc":kt=nt(Ke.Days,_e.Wide,ie.Standalone);break;case"ccccc":kt=nt(Ke.Days,_e.Narrow,ie.Standalone);break;case"cccccc":kt=nt(Ke.Days,_e.Short,ie.Standalone);break;case"E":case"EE":case"EEE":kt=nt(Ke.Days,_e.Abbreviated);break;case"EEEE":kt=nt(Ke.Days,_e.Wide);break;case"EEEEE":kt=nt(Ke.Days,_e.Narrow);break;case"EEEEEE":kt=nt(Ke.Days,_e.Short);break;case"a":case"aa":case"aaa":kt=nt(Ke.DayPeriods,_e.Abbreviated);break;case"aaaa":kt=nt(Ke.DayPeriods,_e.Wide);break;case"aaaaa":kt=nt(Ke.DayPeriods,_e.Narrow);break;case"b":case"bb":case"bbb":kt=nt(Ke.DayPeriods,_e.Abbreviated,ie.Standalone,!0);break;case"bbbb":kt=nt(Ke.DayPeriods,_e.Wide,ie.Standalone,!0);break;case"bbbbb":kt=nt(Ke.DayPeriods,_e.Narrow,ie.Standalone,!0);break;case"B":case"BB":case"BBB":kt=nt(Ke.DayPeriods,_e.Abbreviated,ie.Format,!0);break;case"BBBB":kt=nt(Ke.DayPeriods,_e.Wide,ie.Format,!0);break;case"BBBBB":kt=nt(Ke.DayPeriods,_e.Narrow,ie.Format,!0);break;case"h":kt=Bt(Ge.Hours,1,-12);break;case"hh":kt=Bt(Ge.Hours,2,-12);break;case"H":kt=Bt(Ge.Hours,1);break;case"HH":kt=Bt(Ge.Hours,2);break;case"m":kt=Bt(Ge.Minutes,1);break;case"mm":kt=Bt(Ge.Minutes,2);break;case"s":kt=Bt(Ge.Seconds,1);break;case"ss":kt=Bt(Ge.Seconds,2);break;case"S":kt=Bt(Ge.FractionalSeconds,1);break;case"SS":kt=Bt(Ge.FractionalSeconds,2);break;case"SSS":kt=Bt(Ge.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":kt=zt(Ee.Short);break;case"ZZZZZ":kt=zt(Ee.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":kt=zt(Ee.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":kt=zt(Ee.Long);break;default:return null}return Le[Te]=kt,kt}(Jo);po+=xo?xo(_n,We,Go):"''"===Jo?"'":Jo.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),po}function Tt(Te,kt,We){const yt=new Date(0);return yt.setFullYear(Te,kt,We),yt.setHours(0,0,0),yt}function tn(Te,kt){const We=function pe(Te){return(0,t.cg1)(Te)[t.wAp.LocaleId]}(Te);if(Ne[We]=Ne[We]||{},Ne[We][kt])return Ne[We][kt];let yt="";switch(kt){case"shortDate":yt=W(Te,Ce.Short);break;case"mediumDate":yt=W(Te,Ce.Medium);break;case"longDate":yt=W(Te,Ce.Long);break;case"fullDate":yt=W(Te,Ce.Full);break;case"shortTime":yt=we(Te,Ce.Short);break;case"mediumTime":yt=we(Te,Ce.Medium);break;case"longTime":yt=we(Te,Ce.Long);break;case"fullTime":yt=we(Te,Ce.Full);break;case"short":const _n=tn(Te,"shortTime"),Kn=tn(Te,"shortDate");yt=rn(P(Te,Ce.Short),[_n,Kn]);break;case"medium":const ci=tn(Te,"mediumTime"),bi=tn(Te,"mediumDate");yt=rn(P(Te,Ce.Medium),[ci,bi]);break;case"long":const Go=tn(Te,"longTime"),po=tn(Te,"longDate");yt=rn(P(Te,Ce.Long),[Go,po]);break;case"full":const Jo=tn(Te,"fullTime"),xo=tn(Te,"fullDate");yt=rn(P(Te,Ce.Full),[Jo,xo])}return yt&&(Ne[We][kt]=yt),yt}function rn(Te,kt){return kt&&(Te=Te.replace(/\{([^}]+)}/g,function(We,yt){return null!=kt&&yt in kt?kt[yt]:We})),Te}function Nt(Te,kt,We="-",yt,_n){let Kn="";(Te<0||_n&&Te<=0)&&(_n?Te=1-Te:(Te=-Te,Kn=We));let ci=String(Te);for(;ci.length<kt;)ci="0"+ci;return yt&&(ci=ci.slice(ci.length-kt)),Kn+ci}function Bt(Te,kt,We=0,yt=!1,_n=!1){return function(Kn,ci){let bi=function Ue(Te,kt){switch(Te){case Ge.FullYear:return kt.getFullYear();case Ge.Month:return kt.getMonth();case Ge.Date:return kt.getDate();case Ge.Hours:return kt.getHours();case Ge.Minutes:return kt.getMinutes();case Ge.Seconds:return kt.getSeconds();case Ge.FractionalSeconds:return kt.getMilliseconds();case Ge.Day:return kt.getDay();default:throw new Error(`Unknown DateType value "${Te}".`)}}(Te,Kn);if((We>0||bi>-We)&&(bi+=We),Te===Ge.Hours)0===bi&&-12===We&&(bi=12);else if(Te===Ge.FractionalSeconds)return function ft(Te,kt){return Nt(Te,3).substring(0,kt)}(bi,kt);const Go=V(ci,Ve.MinusSign);return Nt(bi,kt,Go,yt,_n)}}function nt(Te,kt,We=ie.Format,yt=!1){return function(_n,Kn){return function Ye(Te,kt,We,yt,_n,Kn){switch(We){case Ke.Months:return dt(kt,_n,yt)[Te.getMonth()];case Ke.Days:return Ze(kt,_n,yt)[Te.getDay()];case Ke.DayPeriods:const ci=Te.getHours(),bi=Te.getMinutes();if(Kn){const po=function Ft(Te){const kt=(0,t.cg1)(Te);return Re(kt),(kt[t.wAp.ExtraData][2]||[]).map(yt=>"string"==typeof yt?Nn(yt):[Nn(yt[0]),Nn(yt[1])])}(kt),Jo=function mt(Te,kt,We){const yt=(0,t.cg1)(Te);Re(yt);const Kn=hn([yt[t.wAp.ExtraData][0],yt[t.wAp.ExtraData][1]],kt)||[];return hn(Kn,We)||[]}(kt,_n,yt),xo=po.findIndex(sr=>{if(Array.isArray(sr)){const[zo,ir]=sr,Va=ci>=zo.hours&&bi>=zo.minutes,Qr=ci<ir.hours||ci===ir.hours&&bi<ir.minutes;if(zo.hours<ir.hours){if(Va&&Qr)return!0}else if(Va||Qr)return!0}else if(sr.hours===ci&&sr.minutes===bi)return!0;return!1});if(-1!==xo)return Jo[xo]}return function Ae(Te,kt,We){const yt=(0,t.cg1)(Te),Kn=hn([yt[t.wAp.DayPeriodsFormat],yt[t.wAp.DayPeriodsStandalone]],kt);return hn(Kn,We)}(kt,_n,yt)[ci<12?0:1];case Ke.Eras:return function Fe(Te,kt){return hn((0,t.cg1)(Te)[t.wAp.Eras],kt)}(kt,yt)[Te.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${We}`)}}(_n,Kn,Te,kt,We,yt)}}function zt(Te){return function(kt,We,yt){const _n=-1*yt,Kn=V(We,Ve.MinusSign),ci=_n>0?Math.floor(_n/60):Math.ceil(_n/60);switch(Te){case Ee.Short:return(_n>=0?"+":"")+Nt(ci,2,Kn)+Nt(Math.abs(_n%60),2,Kn);case Ee.ShortGMT:return"GMT"+(_n>=0?"+":"")+Nt(ci,1,Kn);case Ee.Long:return"GMT"+(_n>=0?"+":"")+Nt(ci,2,Kn)+":"+Nt(Math.abs(_n%60),2,Kn);case Ee.Extended:return 0===yt?"Z":(_n>=0?"+":"")+Nt(ci,2,Kn)+":"+Nt(Math.abs(_n%60),2,Kn);default:throw new Error(`Unknown zone width "${Te}"`)}}}const $t=0,Mn=4;function di(Te){return Tt(Te.getFullYear(),Te.getMonth(),Te.getDate()+(Mn-Te.getDay()))}function Pt(Te,kt=!1){return function(We,yt){let _n;if(kt){const Kn=new Date(We.getFullYear(),We.getMonth(),1).getDay()-1,ci=We.getDate();_n=1+Math.floor((ci+Kn)/7)}else{const Kn=di(We),ci=function Wn(Te){const kt=Tt(Te,$t,1).getDay();return Tt(Te,0,1+(kt<=Mn?Mn:Mn+7)-kt)}(Kn.getFullYear()),bi=Kn.getTime()-ci.getTime();_n=1+Math.round(bi/6048e5)}return Nt(_n,Te,V(yt,Ve.MinusSign))}}function Xt(Te,kt=!1){return function(We,yt){return Nt(di(We).getFullYear(),Te,V(yt,Ve.MinusSign),kt)}}const Le={};function X(Te,kt){Te=Te.replace(/:/g,"");const We=Date.parse("Jan 01, 1970 00:00:00 "+Te)/6e4;return isNaN(We)?kt:We}function N(Te){return Te instanceof Date&&!isNaN(Te.valueOf())}let $n=(()=>{class Te{static#e=this.\u0275fac=function(yt){return new(yt||Te)};static#t=this.\u0275prov=t.Yz7({token:Te,factory:function(yt){let _n=null;return yt?_n=new yt:(Kn=t.LFG(t.soG),_n=new Vn(Kn)),_n;var Kn},providedIn:"root"})}return Te})();let Vn=(()=>{class Te extends $n{constructor(We){super(),this.locale=We}getPluralCategory(We,yt){switch(tt(yt||this.locale)(We)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.LFG(t.soG))};static#t=this.\u0275prov=t.Yz7({token:Te,factory:Te.\u0275fac})}return Te})();function nn(Te,kt){kt=encodeURIComponent(kt);for(const We of Te.split(";")){const yt=We.indexOf("="),[_n,Kn]=-1==yt?[We,""]:[We.slice(0,yt),We.slice(yt+1)];if(_n.trim()===kt)return decodeURIComponent(Kn)}return null}const Wt=/\s+/,Pn=[];let Un=(()=>{class Te{constructor(We,yt){this._ngEl=We,this._renderer=yt,this.initialClasses=Pn,this.stateMap=new Map}set klass(We){this.initialClasses=null!=We?We.trim().split(Wt):Pn}set ngClass(We){this.rawClass="string"==typeof We?We.trim().split(Wt):We}ngDoCheck(){for(const yt of this.initialClasses)this._updateState(yt,!0);const We=this.rawClass;if(Array.isArray(We)||We instanceof Set)for(const yt of We)this._updateState(yt,!0);else if(null!=We)for(const yt of Object.keys(We))this._updateState(yt,!!We[yt]);this._applyStateDiff()}_updateState(We,yt){const _n=this.stateMap.get(We);void 0!==_n?(_n.enabled!==yt&&(_n.changed=!0,_n.enabled=yt),_n.touched=!0):this.stateMap.set(We,{enabled:yt,changed:!0,touched:!0})}_applyStateDiff(){for(const We of this.stateMap){const yt=We[0],_n=We[1];_n.changed?(this._toggleClass(yt,_n.enabled),_n.changed=!1):_n.touched||(_n.enabled&&this._toggleClass(yt,!1),this.stateMap.delete(yt)),_n.touched=!1}}_toggleClass(We,yt){(We=We.trim()).length>0&&We.split(Wt).forEach(_n=>{yt?this._renderer.addClass(this._ngEl.nativeElement,_n):this._renderer.removeClass(this._ngEl.nativeElement,_n)})}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36(t.SBq),t.Y36(t.Qsj))};static#t=this.\u0275dir=t.lG2({type:Te,selectors:[["","ngClass",""]],inputs:{klass:[t.lbL.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return Te})();class Ai{constructor(kt,We,yt,_n){this.$implicit=kt,this.ngForOf=We,this.index=yt,this.count=_n}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 hi=(()=>{class Te{set ngForOf(We){this._ngForOf=We,this._ngForOfDirty=!0}set ngForTrackBy(We){this._trackByFn=We}get ngForTrackBy(){return this._trackByFn}constructor(We,yt,_n){this._viewContainer=We,this._template=yt,this._differs=_n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(We){We&&(this._template=We)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const We=this._ngForOf;!this._differ&&We&&(this._differ=this._differs.find(We).create(this.ngForTrackBy))}if(this._differ){const We=this._differ.diff(this._ngForOf);We&&this._applyChanges(We)}}_applyChanges(We){const yt=this._viewContainer;We.forEachOperation((_n,Kn,ci)=>{if(null==_n.previousIndex)yt.createEmbeddedView(this._template,new Ai(_n.item,this._ngForOf,-1,-1),null===ci?void 0:ci);else if(null==ci)yt.remove(null===Kn?void 0:Kn);else if(null!==Kn){const bi=yt.get(Kn);yt.move(bi,ci),Xi(bi,_n)}});for(let _n=0,Kn=yt.length;_n<Kn;_n++){const bi=yt.get(_n).context;bi.index=_n,bi.count=Kn,bi.ngForOf=this._ngForOf}We.forEachIdentityChange(_n=>{Xi(yt.get(_n.currentIndex),_n)})}static ngTemplateContextGuard(We,yt){return!0}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4))};static#t=this.\u0275dir=t.lG2({type:Te,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Te})();function Xi(Te,kt){Te.context.$implicit=kt.item}let xi=(()=>{class Te{constructor(We,yt){this._viewContainer=We,this._context=new Bi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=yt}set ngIf(We){this._context.$implicit=this._context.ngIf=We,this._updateView()}set ngIfThen(We){bo("ngIfThen",We),this._thenTemplateRef=We,this._thenViewRef=null,this._updateView()}set ngIfElse(We){bo("ngIfElse",We),this._elseTemplateRef=We,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(We,yt){return!0}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36(t.s_b),t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:Te,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Te})();class Bi{constructor(){this.$implicit=null,this.ngIf=null}}function bo(Te,kt){if(kt&&!kt.createEmbeddedView)throw new Error(`${Te} must be a TemplateRef, but received '${(0,t.AaK)(kt)}'.`)}class On{constructor(kt,We){this._viewContainerRef=kt,this._templateRef=We,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(kt){kt&&!this._created?this.create():!kt&&this._created&&this.destroy()}}let mi=(()=>{class Te{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(We){this._ngSwitch=We,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(We){this._defaultViews.push(We)}_matchCase(We){const yt=We===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||yt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),yt}_updateDefaultCases(We){if(this._defaultViews.length>0&&We!==this._defaultUsed){this._defaultUsed=We;for(const yt of this._defaultViews)yt.enforceState(We)}}static#e=this.\u0275fac=function(yt){return new(yt||Te)};static#t=this.\u0275dir=t.lG2({type:Te,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Te})(),Rt=(()=>{class Te{constructor(We,yt,_n){this.ngSwitch=_n,_n._addCase(),this._view=new On(We,yt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(mi,9))};static#t=this.\u0275dir=t.lG2({type:Te,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Te})(),on=(()=>{class Te{constructor(We,yt,_n){_n._addDefault(new On(We,yt))}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(mi,9))};static#t=this.\u0275dir=t.lG2({type:Te,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Te})(),an=(()=>{class Te{constructor(We,yt,_n){this._ngEl=We,this._differs=yt,this._renderer=_n,this._ngStyle=null,this._differ=null}set ngStyle(We){this._ngStyle=We,!this._differ&&We&&(this._differ=this._differs.find(We).create())}ngDoCheck(){if(this._differ){const We=this._differ.diff(this._ngStyle);We&&this._applyChanges(We)}}_setStyle(We,yt){const[_n,Kn]=We.split("."),ci=-1===_n.indexOf("-")?void 0:t.JOm.DashCase;null!=yt?this._renderer.setStyle(this._ngEl.nativeElement,_n,Kn?`${yt}${Kn}`:yt,ci):this._renderer.removeStyle(this._ngEl.nativeElement,_n,ci)}_applyChanges(We){We.forEachRemovedItem(yt=>this._setStyle(yt.key,null)),We.forEachAddedItem(yt=>this._setStyle(yt.key,yt.currentValue)),We.forEachChangedItem(yt=>this._setStyle(yt.key,yt.currentValue))}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36(t.SBq),t.Y36(t.aQg),t.Y36(t.Qsj))};static#t=this.\u0275dir=t.lG2({type:Te,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Te})(),Xn=(()=>{class Te{constructor(We){this._viewContainerRef=We,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(We){if(this._shouldRecreateView(We)){const yt=this._viewContainerRef;if(this._viewRef&&yt.remove(yt.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const _n=this._createContextForwardProxy();this._viewRef=yt.createEmbeddedView(this.ngTemplateOutlet,_n,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(We){return!!We.ngTemplateOutlet||!!We.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(We,yt,_n)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,yt,_n),get:(We,yt,_n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,yt,_n)}})}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36(t.s_b))};static#t=this.\u0275dir=t.lG2({type:Te,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.TTD]})}return Te})();function Ui(Te,kt){return new t.vHH(2100,!1)}class So{createSubscription(kt,We){return(0,t.rg0)(()=>kt.subscribe({next:We,error:yt=>{throw yt}}))}dispose(kt){(0,t.rg0)(()=>kt.unsubscribe())}}class Lo{createSubscription(kt,We){return kt.then(We,yt=>{throw yt})}dispose(kt){}}const Co=new Lo,Yo=new So;let $o=(()=>{class Te{constructor(We){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=We}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(We){return this._obj?We!==this._obj?(this._dispose(),this.transform(We)):this._latestValue:(We&&this._subscribe(We),this._latestValue)}_subscribe(We){this._obj=We,this._strategy=this._selectStrategy(We),this._subscription=this._strategy.createSubscription(We,yt=>this._updateLatestValue(We,yt))}_selectStrategy(We){if((0,t.QGY)(We))return Co;if((0,t.F4k)(We))return Yo;throw Ui()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(We,yt){We===this._obj&&(this._latestValue=yt,this._ref.markForCheck())}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36(t.sBO,16))};static#t=this.\u0275pipe=t.Yjl({name:"async",type:Te,pure:!1,standalone:!0})}return Te})();const Nr=new t.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Er=new t.OlP("DATE_PIPE_DEFAULT_OPTIONS");let ln=(()=>{class Te{constructor(We,yt,_n){this.locale=We,this.defaultTimezone=yt,this.defaultOptions=_n}transform(We,yt,_n,Kn){if(null==We||""===We||We!=We)return null;try{return Et(We,yt??this.defaultOptions?.dateFormat??"mediumDate",Kn||this.locale,_n??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ci){throw Ui()}}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36(t.soG,16),t.Y36(Nr,24),t.Y36(Er,24))};static#t=this.\u0275pipe=t.Yjl({name:"date",type:Te,pure:!0,standalone:!0})}return Te})();const Ci=/#/g;let me=(()=>{class Te{constructor(We){this._localization=We}transform(We,yt,_n){if(null==We)return"";if("object"!=typeof yt||null===yt)throw Ui();return yt[function pn(Te,kt,We,yt){let _n=`=${Te}`;if(kt.indexOf(_n)>-1||(_n=We.getPluralCategory(Te,yt),kt.indexOf(_n)>-1))return _n;if(kt.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Te}"`)}(We,Object.keys(yt),this._localization,_n)].replace(Ci,We.toString())}static#e=this.\u0275fac=function(yt){return new(yt||Te)(t.Y36($n,16))};static#t=this.\u0275pipe=t.Yjl({name:"i18nPlural",type:Te,pure:!0,standalone:!0})}return Te})(),it=(()=>{class Te{transform(We){return JSON.stringify(We,null,2)}static#e=this.\u0275fac=function(yt){return new(yt||Te)};static#t=this.\u0275pipe=t.Yjl({name:"json",type:Te,pure:!1,standalone:!0})}return Te})(),Ut=(()=>{class Te{transform(We,yt,_n){if(null==We)return null;if(!this.supports(We))throw Ui();return We.slice(yt,_n)}supports(We){return"string"==typeof We||Array.isArray(We)}static#e=this.\u0275fac=function(yt){return new(yt||Te)};static#t=this.\u0275pipe=t.Yjl({name:"slice",type:Te,pure:!1,standalone:!0})}return Te})(),Qt=(()=>{class Te{static#e=this.\u0275fac=function(yt){return new(yt||Te)};static#t=this.\u0275mod=t.oAB({type:Te});static#n=this.\u0275inj=t.cJS({})}return Te})();const vn="browser",kn="server";function oi(Te){return Te===vn}function Pi(Te){return Te===kn}let Hi=(()=>{class Te{static#e=this.\u0275prov=(0,t.Yz7)({token:Te,providedIn:"root",factory:()=>oi((0,t.f3M)(t.Lbi))?new D((0,t.f3M)(U),window):new Pe})}return Te})();class D{constructor(kt,We){this.document=kt,this.window=We,this.offset=()=>[0,0]}setOffset(kt){this.offset=Array.isArray(kt)?()=>kt:kt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(kt){this.window.scrollTo(kt[0],kt[1])}scrollToAnchor(kt){const We=function te(Te,kt){const We=Te.getElementById(kt)||Te.getElementsByName(kt)[0];if(We)return We;if("function"==typeof Te.createTreeWalker&&Te.body&&"function"==typeof Te.body.attachShadow){const yt=Te.createTreeWalker(Te.body,NodeFilter.SHOW_ELEMENT);let _n=yt.currentNode;for(;_n;){const Kn=_n.shadowRoot;if(Kn){const ci=Kn.getElementById(kt)||Kn.querySelector(`[name="${kt}"]`);if(ci)return ci}_n=yt.nextNode()}}return null}(this.document,kt);We&&(this.scrollToElement(We),We.focus())}setHistoryScrollRestoration(kt){this.window.history.scrollRestoration=kt}scrollToElement(kt){const We=kt.getBoundingClientRect(),yt=We.left+this.window.pageXOffset,_n=We.top+this.window.pageYOffset,Kn=this.offset();this.window.scrollTo(yt-Kn[0],_n-Kn[1])}}class Pe{setOffset(kt){}getScrollPosition(){return[0,0]}scrollToPosition(kt){}scrollToAnchor(kt){}setHistoryScrollRestoration(kt){}}class je{}},9862:(jt,$e,s)=>{"use strict";s.d($e,{JF:()=>Y,LE:()=>q,TP:()=>mt,UA:()=>Xe,WM:()=>A,eN:()=>we}),s(5861);var u=s(9212),e=s(2096),m=s(5592),p=s(7715),U=s(6328),n=s(2181),I=s(7398),L=s(4716),y=s(4664),O=s(6814);class M{}class E{}class A{constructor(nn){this.normalizedNames=new Map,this.lazyUpdate=null,nn?"string"==typeof nn?this.lazyInit=()=>{this.headers=new Map,nn.split("\n").forEach(Wt=>{const Pn=Wt.indexOf(":");if(Pn>0){const Un=Wt.slice(0,Pn),jn=Un.toLowerCase(),ui=Wt.slice(Pn+1).trim();this.maybeSetNormalizedName(Un,jn),this.headers.has(jn)?this.headers.get(jn).push(ui):this.headers.set(jn,[ui])}})}:typeof Headers<"u"&&nn instanceof Headers?(this.headers=new Map,nn.forEach((Wt,Pn)=>{this.setHeaderEntries(Pn,Wt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(nn).forEach(([Wt,Pn])=>{this.setHeaderEntries(Wt,Pn)})}:this.headers=new Map}has(nn){return this.init(),this.headers.has(nn.toLowerCase())}get(nn){this.init();const Wt=this.headers.get(nn.toLowerCase());return Wt&&Wt.length>0?Wt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(nn){return this.init(),this.headers.get(nn.toLowerCase())||null}append(nn,Wt){return this.clone({name:nn,value:Wt,op:"a"})}set(nn,Wt){return this.clone({name:nn,value:Wt,op:"s"})}delete(nn,Wt){return this.clone({name:nn,value:Wt,op:"d"})}maybeSetNormalizedName(nn,Wt){this.normalizedNames.has(Wt)||this.normalizedNames.set(Wt,nn)}init(){this.lazyInit&&(this.lazyInit instanceof A?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(nn=>this.applyUpdate(nn)),this.lazyUpdate=null))}copyFrom(nn){nn.init(),Array.from(nn.headers.keys()).forEach(Wt=>{this.headers.set(Wt,nn.headers.get(Wt)),this.normalizedNames.set(Wt,nn.normalizedNames.get(Wt))})}clone(nn){const Wt=new A;return Wt.lazyInit=this.lazyInit&&this.lazyInit instanceof A?this.lazyInit:this,Wt.lazyUpdate=(this.lazyUpdate||[]).concat([nn]),Wt}applyUpdate(nn){const Wt=nn.name.toLowerCase();switch(nn.op){case"a":case"s":let Pn=nn.value;if("string"==typeof Pn&&(Pn=[Pn]),0===Pn.length)return;this.maybeSetNormalizedName(nn.name,Wt);const Un=("a"===nn.op?this.headers.get(Wt):void 0)||[];Un.push(...Pn),this.headers.set(Wt,Un);break;case"d":const jn=nn.value;if(jn){let ui=this.headers.get(Wt);if(!ui)return;ui=ui.filter(Ai=>-1===jn.indexOf(Ai)),0===ui.length?(this.headers.delete(Wt),this.normalizedNames.delete(Wt)):this.headers.set(Wt,ui)}else this.headers.delete(Wt),this.normalizedNames.delete(Wt)}}setHeaderEntries(nn,Wt){const Pn=(Array.isArray(Wt)?Wt:[Wt]).map(jn=>jn.toString()),Un=nn.toLowerCase();this.headers.set(Un,Pn),this.maybeSetNormalizedName(nn,Un)}forEach(nn){this.init(),Array.from(this.normalizedNames.keys()).forEach(Wt=>nn(this.normalizedNames.get(Wt),this.headers.get(Wt)))}}class Z{encodeKey(nn){return K(nn)}encodeValue(nn){return K(nn)}decodeKey(nn){return decodeURIComponent(nn)}decodeValue(nn){return decodeURIComponent(nn)}}const le=/%(\d[a-f0-9])/gi,ee={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function K(Ct){return encodeURIComponent(Ct).replace(le,(nn,Wt)=>ee[Wt]??nn)}function Q(Ct){return`${Ct}`}class q{constructor(nn={}){if(this.updates=null,this.cloneFrom=null,this.encoder=nn.encoder||new Z,nn.fromString){if(nn.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oe(Ct,nn){const Wt=new Map;return Ct.length>0&&Ct.replace(/^\?/,"").split("&").forEach(Un=>{const jn=Un.indexOf("="),[ui,Ai]=-1==jn?[nn.decodeKey(Un),""]:[nn.decodeKey(Un.slice(0,jn)),nn.decodeValue(Un.slice(jn+1))],hi=Wt.get(ui)||[];hi.push(Ai),Wt.set(ui,hi)}),Wt}(nn.fromString,this.encoder)}else nn.fromObject?(this.map=new Map,Object.keys(nn.fromObject).forEach(Wt=>{const Pn=nn.fromObject[Wt],Un=Array.isArray(Pn)?Pn.map(Q):[Q(Pn)];this.map.set(Wt,Un)})):this.map=null}has(nn){return this.init(),this.map.has(nn)}get(nn){this.init();const Wt=this.map.get(nn);return Wt?Wt[0]:null}getAll(nn){return this.init(),this.map.get(nn)||null}keys(){return this.init(),Array.from(this.map.keys())}append(nn,Wt){return this.clone({param:nn,value:Wt,op:"a"})}appendAll(nn){const Wt=[];return Object.keys(nn).forEach(Pn=>{const Un=nn[Pn];Array.isArray(Un)?Un.forEach(jn=>{Wt.push({param:Pn,value:jn,op:"a"})}):Wt.push({param:Pn,value:Un,op:"a"})}),this.clone(Wt)}set(nn,Wt){return this.clone({param:nn,value:Wt,op:"s"})}delete(nn,Wt){return this.clone({param:nn,value:Wt,op:"d"})}toString(){return this.init(),this.keys().map(nn=>{const Wt=this.encoder.encodeKey(nn);return this.map.get(nn).map(Pn=>Wt+"="+this.encoder.encodeValue(Pn)).join("&")}).filter(nn=>""!==nn).join("&")}clone(nn){const Wt=new q({encoder:this.encoder});return Wt.cloneFrom=this.cloneFrom||this,Wt.updates=(this.updates||[]).concat(nn),Wt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(nn=>this.map.set(nn,this.cloneFrom.map.get(nn))),this.updates.forEach(nn=>{switch(nn.op){case"a":case"s":const Wt=("a"===nn.op?this.map.get(nn.param):void 0)||[];Wt.push(Q(nn.value)),this.map.set(nn.param,Wt);break;case"d":if(void 0===nn.value){this.map.delete(nn.param);break}{let Pn=this.map.get(nn.param)||[];const Un=Pn.indexOf(Q(nn.value));-1!==Un&&Pn.splice(Un,1),Pn.length>0?this.map.set(nn.param,Pn):this.map.delete(nn.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(){this.map=new Map}set(nn,Wt){return this.map.set(nn,Wt),this}get(nn){return this.map.has(nn)||this.map.set(nn,nn.defaultValue()),this.map.get(nn)}delete(nn){return this.map.delete(nn),this}has(nn){return this.map.has(nn)}keys(){return this.map.keys()}}function _e(Ct){return typeof ArrayBuffer<"u"&&Ct instanceof ArrayBuffer}function Ce(Ct){return typeof Blob<"u"&&Ct instanceof Blob}function Ve(Ct){return typeof FormData<"u"&&Ct instanceof FormData}class pe{constructor(nn,Wt,Pn,Un){let jn;if(this.url=Wt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=nn.toUpperCase(),function ie(Ct){switch(Ct){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Un?(this.body=void 0!==Pn?Pn:null,jn=Un):jn=Pn,jn&&(this.reportProgress=!!jn.reportProgress,this.withCredentials=!!jn.withCredentials,jn.responseType&&(this.responseType=jn.responseType),jn.headers&&(this.headers=jn.headers),jn.context&&(this.context=jn.context),jn.params&&(this.params=jn.params),this.transferCache=jn.transferCache),this.headers||(this.headers=new A),this.context||(this.context=new T),this.params){const ui=this.params.toString();if(0===ui.length)this.urlWithParams=Wt;else{const Ai=Wt.indexOf("?");this.urlWithParams=Wt+(-1===Ai?"?":Ai<Wt.length-1?"&":"")+ui}}else this.params=new q,this.urlWithParams=Wt}serializeBody(){return null===this.body?null:_e(this.body)||Ce(this.body)||Ve(this.body)||function ae(Ct){return typeof URLSearchParams<"u"&&Ct instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof q?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ve(this.body)?null:Ce(this.body)?this.body.type||null:_e(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof q?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(nn={}){const Wt=nn.method||this.method,Pn=nn.url||this.url,Un=nn.responseType||this.responseType,jn=void 0!==nn.body?nn.body:this.body,ui=void 0!==nn.withCredentials?nn.withCredentials:this.withCredentials,Ai=void 0!==nn.reportProgress?nn.reportProgress:this.reportProgress;let hi=nn.headers||this.headers,Xi=nn.params||this.params;const ao=nn.context??this.context;return void 0!==nn.setHeaders&&(hi=Object.keys(nn.setHeaders).reduce((xi,Bi)=>xi.set(Bi,nn.setHeaders[Bi]),hi)),nn.setParams&&(Xi=Object.keys(nn.setParams).reduce((xi,Bi)=>xi.set(Bi,nn.setParams[Bi]),Xi)),new pe(Wt,Pn,jn,{params:Xi,headers:hi,context:ao,reportProgress:Ai,responseType:Un,withCredentials:ui})}}var Ae=function(Ct){return Ct[Ct.Sent=0]="Sent",Ct[Ct.UploadProgress=1]="UploadProgress",Ct[Ct.ResponseHeader=2]="ResponseHeader",Ct[Ct.DownloadProgress=3]="DownloadProgress",Ct[Ct.Response=4]="Response",Ct[Ct.User=5]="User",Ct}(Ae||{});class Ze{constructor(nn,Wt=Ie.Ok,Pn="OK"){this.headers=nn.headers||new A,this.status=void 0!==nn.status?nn.status:Wt,this.statusText=nn.statusText||Pn,this.url=nn.url||null,this.ok=this.status>=200&&this.status<300}}class dt extends Ze{constructor(nn={}){super(nn),this.type=Ae.ResponseHeader}clone(nn={}){return new dt({headers:nn.headers||this.headers,status:void 0!==nn.status?nn.status:this.status,statusText:nn.statusText||this.statusText,url:nn.url||this.url||void 0})}}class Fe extends Ze{constructor(nn={}){super(nn),this.type=Ae.Response,this.body=void 0!==nn.body?nn.body:null}clone(nn={}){return new Fe({body:void 0!==nn.body?nn.body:this.body,headers:nn.headers||this.headers,status:void 0!==nn.status?nn.status:this.status,statusText:nn.statusText||this.statusText,url:nn.url||this.url||void 0})}}class Xe extends Ze{constructor(nn){super(nn,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${nn.url||"(unknown url)"}`:`Http failure response for ${nn.url||"(unknown url)"}: ${nn.status} ${nn.statusText}`,this.error=nn.error||null}}var Ie=function(Ct){return Ct[Ct.Continue=100]="Continue",Ct[Ct.SwitchingProtocols=101]="SwitchingProtocols",Ct[Ct.Processing=102]="Processing",Ct[Ct.EarlyHints=103]="EarlyHints",Ct[Ct.Ok=200]="Ok",Ct[Ct.Created=201]="Created",Ct[Ct.Accepted=202]="Accepted",Ct[Ct.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",Ct[Ct.NoContent=204]="NoContent",Ct[Ct.ResetContent=205]="ResetContent",Ct[Ct.PartialContent=206]="PartialContent",Ct[Ct.MultiStatus=207]="MultiStatus",Ct[Ct.AlreadyReported=208]="AlreadyReported",Ct[Ct.ImUsed=226]="ImUsed",Ct[Ct.MultipleChoices=300]="MultipleChoices",Ct[Ct.MovedPermanently=301]="MovedPermanently",Ct[Ct.Found=302]="Found",Ct[Ct.SeeOther=303]="SeeOther",Ct[Ct.NotModified=304]="NotModified",Ct[Ct.UseProxy=305]="UseProxy",Ct[Ct.Unused=306]="Unused",Ct[Ct.TemporaryRedirect=307]="TemporaryRedirect",Ct[Ct.PermanentRedirect=308]="PermanentRedirect",Ct[Ct.BadRequest=400]="BadRequest",Ct[Ct.Unauthorized=401]="Unauthorized",Ct[Ct.PaymentRequired=402]="PaymentRequired",Ct[Ct.Forbidden=403]="Forbidden",Ct[Ct.NotFound=404]="NotFound",Ct[Ct.MethodNotAllowed=405]="MethodNotAllowed",Ct[Ct.NotAcceptable=406]="NotAcceptable",Ct[Ct.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",Ct[Ct.RequestTimeout=408]="RequestTimeout",Ct[Ct.Conflict=409]="Conflict",Ct[Ct.Gone=410]="Gone",Ct[Ct.LengthRequired=411]="LengthRequired",Ct[Ct.PreconditionFailed=412]="PreconditionFailed",Ct[Ct.PayloadTooLarge=413]="PayloadTooLarge",Ct[Ct.UriTooLong=414]="UriTooLong",Ct[Ct.UnsupportedMediaType=415]="UnsupportedMediaType",Ct[Ct.RangeNotSatisfiable=416]="RangeNotSatisfiable",Ct[Ct.ExpectationFailed=417]="ExpectationFailed",Ct[Ct.ImATeapot=418]="ImATeapot",Ct[Ct.MisdirectedRequest=421]="MisdirectedRequest",Ct[Ct.UnprocessableEntity=422]="UnprocessableEntity",Ct[Ct.Locked=423]="Locked",Ct[Ct.FailedDependency=424]="FailedDependency",Ct[Ct.TooEarly=425]="TooEarly",Ct[Ct.UpgradeRequired=426]="UpgradeRequired",Ct[Ct.PreconditionRequired=428]="PreconditionRequired",Ct[Ct.TooManyRequests=429]="TooManyRequests",Ct[Ct.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",Ct[Ct.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",Ct[Ct.InternalServerError=500]="InternalServerError",Ct[Ct.NotImplemented=501]="NotImplemented",Ct[Ct.BadGateway=502]="BadGateway",Ct[Ct.ServiceUnavailable=503]="ServiceUnavailable",Ct[Ct.GatewayTimeout=504]="GatewayTimeout",Ct[Ct.HttpVersionNotSupported=505]="HttpVersionNotSupported",Ct[Ct.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",Ct[Ct.InsufficientStorage=507]="InsufficientStorage",Ct[Ct.LoopDetected=508]="LoopDetected",Ct[Ct.NotExtended=510]="NotExtended",Ct[Ct.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",Ct}(Ie||{});function W(Ct,nn){return{body:nn,headers:Ct.headers,context:Ct.context,observe:Ct.observe,params:Ct.params,reportProgress:Ct.reportProgress,responseType:Ct.responseType,withCredentials:Ct.withCredentials,transferCache:Ct.transferCache}}let we=(()=>{class Ct{constructor(Wt){this.handler=Wt}request(Wt,Pn,Un={}){let jn;if(Wt instanceof pe)jn=Wt;else{let hi,Xi;hi=Un.headers instanceof A?Un.headers:new A(Un.headers),Un.params&&(Xi=Un.params instanceof q?Un.params:new q({fromObject:Un.params})),jn=new pe(Wt,Pn,void 0!==Un.body?Un.body:null,{headers:hi,context:Un.context,params:Xi,reportProgress:Un.reportProgress,responseType:Un.responseType||"json",withCredentials:Un.withCredentials,transferCache:Un.transferCache})}const ui=(0,e.of)(jn).pipe((0,U.b)(hi=>this.handler.handle(hi)));if(Wt instanceof pe||"events"===Un.observe)return ui;const Ai=ui.pipe((0,n.h)(hi=>hi instanceof Fe));switch(Un.observe||"body"){case"body":switch(jn.responseType){case"arraybuffer":return Ai.pipe((0,I.U)(hi=>{if(null!==hi.body&&!(hi.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return hi.body}));case"blob":return Ai.pipe((0,I.U)(hi=>{if(null!==hi.body&&!(hi.body instanceof Blob))throw new Error("Response is not a Blob.");return hi.body}));case"text":return Ai.pipe((0,I.U)(hi=>{if(null!==hi.body&&"string"!=typeof hi.body)throw new Error("Response is not a string.");return hi.body}));default:return Ai.pipe((0,I.U)(hi=>hi.body))}case"response":return Ai;default:throw new Error(`Unreachable: unhandled observe type ${Un.observe}}`)}}delete(Wt,Pn={}){return this.request("DELETE",Wt,Pn)}get(Wt,Pn={}){return this.request("GET",Wt,Pn)}head(Wt,Pn={}){return this.request("HEAD",Wt,Pn)}jsonp(Wt,Pn){return this.request("JSONP",Wt,{params:(new q).append(Pn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Wt,Pn={}){return this.request("OPTIONS",Wt,Pn)}patch(Wt,Pn,Un={}){return this.request("PATCH",Wt,W(Un,Pn))}post(Wt,Pn,Un={}){return this.request("POST",Wt,W(Un,Pn))}put(Wt,Pn,Un={}){return this.request("PUT",Wt,W(Un,Pn))}static#e=this.\u0275fac=function(Pn){return new(Pn||Ct)(u.LFG(M))};static#t=this.\u0275prov=u.Yz7({token:Ct,factory:Ct.\u0275fac})}return Ct})();function tt(Ct,nn){return nn(Ct)}function Re(Ct,nn){return(Wt,Pn)=>nn.intercept(Wt,{handle:Un=>Ct(Un,Pn)})}const mt=new u.OlP(""),sn=new u.OlP(""),hn=new u.OlP(""),Nn=new u.OlP("");function Jt(){let Ct=null;return(nn,Wt)=>{null===Ct&&(Ct=((0,u.f3M)(mt,{optional:!0})??[]).reduceRight(Re,tt));const Pn=(0,u.f3M)(u.I6F),Un=Pn.add();return Ct(nn,Wt).pipe((0,L.x)(()=>Pn.remove(Un)))}}let fe=(()=>{class Ct extends M{constructor(Wt,Pn){super(),this.backend=Wt,this.injector=Pn,this.chain=null,this.pendingTasks=(0,u.f3M)(u.I6F);const Un=(0,u.f3M)(Nn,{optional:!0});this.backend=Un??Wt}handle(Wt){if(null===this.chain){const Un=Array.from(new Set([...this.injector.get(sn),...this.injector.get(hn,[])]));this.chain=Un.reduceRight((jn,ui)=>function Ft(Ct,nn,Wt){return(Pn,Un)=>(0,u.r_H)(Wt,()=>nn(Pn,jn=>Ct(jn,Un)))}(jn,ui,this.injector),tt)}const Pn=this.pendingTasks.add();return this.chain(Wt,Un=>this.backend.handle(Un)).pipe((0,L.x)(()=>this.pendingTasks.remove(Pn)))}static#e=this.\u0275fac=function(Pn){return new(Pn||Ct)(u.LFG(E),u.LFG(u.lqb))};static#t=this.\u0275prov=u.Yz7({token:Ct,factory:Ct.\u0275fac})}return Ct})();const Bt=/^\)\]\}',?\n/;let nt=(()=>{class Ct{constructor(Wt){this.xhrFactory=Wt}handle(Wt){if("JSONP"===Wt.method)throw new u.vHH(-2800,!1);const Pn=this.xhrFactory;return(Pn.\u0275loadImpl?(0,p.D)(Pn.\u0275loadImpl()):(0,e.of)(null)).pipe((0,y.w)(()=>new m.y(jn=>{const ui=Pn.build();if(ui.open(Wt.method,Wt.urlWithParams),Wt.withCredentials&&(ui.withCredentials=!0),Wt.headers.forEach((On,mi)=>ui.setRequestHeader(On,mi.join(","))),Wt.headers.has("Accept")||ui.setRequestHeader("Accept","application/json, text/plain, */*"),!Wt.headers.has("Content-Type")){const On=Wt.detectContentTypeHeader();null!==On&&ui.setRequestHeader("Content-Type",On)}if(Wt.responseType){const On=Wt.responseType.toLowerCase();ui.responseType="json"!==On?On:"text"}const Ai=Wt.serializeBody();let hi=null;const Xi=()=>{if(null!==hi)return hi;const On=ui.statusText||"OK",mi=new A(ui.getAllResponseHeaders()),Rt=function Ue(Ct){return"responseURL"in Ct&&Ct.responseURL?Ct.responseURL:/^X-Request-URL:/m.test(Ct.getAllResponseHeaders())?Ct.getResponseHeader("X-Request-URL"):null}(ui)||Wt.url;return hi=new dt({headers:mi,status:ui.status,statusText:On,url:Rt}),hi},ao=()=>{let{headers:On,status:mi,statusText:Rt,url:on}=Xi(),ze=null;mi!==Ie.NoContent&&(ze=typeof ui.response>"u"?ui.responseText:ui.response),0===mi&&(mi=ze?Ie.Ok:0);let en=mi>=200&&mi<300;if("json"===Wt.responseType&&"string"==typeof ze){const st=ze;ze=ze.replace(Bt,"");try{ze=""!==ze?JSON.parse(ze):null}catch(Zt){ze=st,en&&(en=!1,ze={error:Zt,text:ze})}}en?(jn.next(new Fe({body:ze,headers:On,status:mi,statusText:Rt,url:on||void 0})),jn.complete()):jn.error(new Xe({error:ze,headers:On,status:mi,statusText:Rt,url:on||void 0}))},xi=On=>{const{url:mi}=Xi(),Rt=new Xe({error:On,status:ui.status||0,statusText:ui.statusText||"Unknown Error",url:mi||void 0});jn.error(Rt)};let Bi=!1;const bo=On=>{Bi||(jn.next(Xi()),Bi=!0);let mi={type:Ae.DownloadProgress,loaded:On.loaded};On.lengthComputable&&(mi.total=On.total),"text"===Wt.responseType&&ui.responseText&&(mi.partialText=ui.responseText),jn.next(mi)},Qi=On=>{let mi={type:Ae.UploadProgress,loaded:On.loaded};On.lengthComputable&&(mi.total=On.total),jn.next(mi)};return ui.addEventListener("load",ao),ui.addEventListener("error",xi),ui.addEventListener("timeout",xi),ui.addEventListener("abort",xi),Wt.reportProgress&&(ui.addEventListener("progress",bo),null!==Ai&&ui.upload&&ui.upload.addEventListener("progress",Qi)),ui.send(Ai),jn.next({type:Ae.Sent}),()=>{ui.removeEventListener("error",xi),ui.removeEventListener("abort",xi),ui.removeEventListener("load",ao),ui.removeEventListener("timeout",xi),Wt.reportProgress&&(ui.removeEventListener("progress",bo),null!==Ai&&ui.upload&&ui.upload.removeEventListener("progress",Qi)),ui.readyState!==ui.DONE&&ui.abort()}})))}static#e=this.\u0275fac=function(Pn){return new(Pn||Ct)(u.LFG(O.JF))};static#t=this.\u0275prov=u.Yz7({token:Ct,factory:Ct.\u0275fac})}return Ct})();const Ye=new u.OlP("XSRF_ENABLED"),$t=new u.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Wn=new u.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class di{}let Pt=(()=>{class Ct{constructor(Wt,Pn,Un){this.doc=Wt,this.platform=Pn,this.cookieName=Un,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Wt=this.doc.cookie||"";return Wt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,O.Mx)(Wt,this.cookieName),this.lastCookieString=Wt),this.lastToken}static#e=this.\u0275fac=function(Pn){return new(Pn||Ct)(u.LFG(O.K0),u.LFG(u.Lbi),u.LFG($t))};static#t=this.\u0275prov=u.Yz7({token:Ct,factory:Ct.\u0275fac})}return Ct})();function Xt(Ct,nn){const Wt=Ct.url.toLowerCase();if(!(0,u.f3M)(Ye)||"GET"===Ct.method||"HEAD"===Ct.method||Wt.startsWith("http://")||Wt.startsWith("https://"))return nn(Ct);const Pn=(0,u.f3M)(di).getToken(),Un=(0,u.f3M)(Wn);return null!=Pn&&!Ct.headers.has(Un)&&(Ct=Ct.clone({headers:Ct.headers.set(Un,Pn)})),nn(Ct)}var ue=function(Ct){return Ct[Ct.Interceptors=0]="Interceptors",Ct[Ct.LegacyInterceptors=1]="LegacyInterceptors",Ct[Ct.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ct[Ct.NoXsrfProtection=3]="NoXsrfProtection",Ct[Ct.JsonpSupport=4]="JsonpSupport",Ct[Ct.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ct[Ct.Fetch=6]="Fetch",Ct}(ue||{});function xe(...Ct){const nn=[we,nt,fe,{provide:M,useExisting:fe},{provide:E,useExisting:nt},{provide:sn,useValue:Xt,multi:!0},{provide:Ye,useValue:!0},{provide:di,useClass:Pt}];for(const Wt of Ct)nn.push(...Wt.\u0275providers);return(0,u.MR2)(nn)}const j=new u.OlP("LEGACY_INTERCEPTOR_FN");function F(){return function X(Ct,nn){return{\u0275kind:Ct,\u0275providers:nn}}(ue.LegacyInterceptors,[{provide:j,useFactory:Jt},{provide:sn,useExisting:j,multi:!0}])}let Y=(()=>{class Ct{static#e=this.\u0275fac=function(Pn){return new(Pn||Ct)};static#t=this.\u0275mod=u.oAB({type:Ct});static#n=this.\u0275inj=u.cJS({providers:[xe(F())]})}return Ct})()},9212:(jt,$e,s)=>{"use strict";s.d($e,{QbO:()=>lh,tb:()=>_x,AFp:()=>od,ip1:()=>H2,hGG:()=>XS,z2F:()=>Gh,Ojb:()=>Wd,sBO:()=>ug,Sil:()=>oS,_Vd:()=>yh,EJc:()=>HS,ktI:()=>Sh,Xts:()=>Os,SBq:()=>xh,lqb:()=>ja,qLn:()=>Dc,vpe:()=>Is,tBr:()=>Kc,XFs:()=>xi,GSi:()=>Kd,OlP:()=>en,zs3:()=>Ya,ZZ4:()=>ef,aQg:()=>Ch,soG:()=>Vb,YKP:()=>Hw,h0i:()=>Hh,R0b:()=>ma,FiY:()=>Rl,Lbi:()=>ad,g9A:()=>$d,n_E:()=>Rb,Qsj:()=>Vv,FYo:()=>E_,JOm:()=>va,q3G:()=>ud,tp0:()=>Ll,Rgc:()=>Qf,dDg:()=>AS,eoX:()=>Z2,GfV:()=>P2,s_b:()=>am,ifc:()=>Qt,T8G:()=>vg,gHi:()=>nd,VuI:()=>kE,LMc:()=>EE,MMx:()=>Jw,Lck:()=>gk,eFA:()=>K2,G48:()=>jS,Gpc:()=>Ue,f3M:()=>yn,X6Q:()=>QS,$WT:()=>Fr,MR2:()=>Ul,_c5:()=>WS,qFp:()=>OE,r_H:()=>Yd,rg0:()=>qv,Q0Y:()=>Jm,c2e:()=>I2,zSh:()=>Vd,wAp:()=>gm,I6F:()=>Zb,vHH:()=>Jt,lri:()=>B2,rWj:()=>U2,JZr:()=>Nn,EiD:()=>g_,mCW:()=>Rp,qzn:()=>su,JVY:()=>_v,pB0:()=>yv,eBb:()=>bv,L6k:()=>gv,LAX:()=>vv,cg1:()=>B1,kuF:()=>cn,kL8:()=>kC,dqk:()=>Rt,Z0I:()=>Pn,eJc:()=>zs,QGY:()=>H1,F4k:()=>ew,RDi:()=>sh,AaK:()=>rn,z3N:()=>$l,zW0:()=>Og,qOj:()=>em,lbL:()=>zn,Xq5:()=>Ig,TTD:()=>sa,_Bn:()=>Zw,jDz:()=>Vw,xp6:()=>j_,uIk:()=>Ff,Q2q:()=>Bf,Tol:()=>Ks,Gre:()=>mC,ekj:()=>Mo,um2:()=>bC,Suo:()=>bw,Xpm:()=>Ao,lG2:()=>Ir,Yz7:()=>Vn,cJS:()=>nn,oAB:()=>br,Yjl:()=>vo,Y36:()=>uu,_UZ:()=>R1,GkF:()=>L1,BQk:()=>Eb,ynx:()=>Sb,qZA:()=>kb,TgZ:()=>Mb,EpF:()=>MC,n5z:()=>Ad,Ikx:()=>N1,SDv:()=>WC,LFG:()=>it,$8M:()=>Id,$Z:()=>q_,NdJ:()=>G1,CRH:()=>xw,kcU:()=>na,O4$:()=>Td,oxw:()=>ow,ALo:()=>u2,lcZ:()=>h2,xi3:()=>p2,Dn7:()=>m2,gM2:()=>f2,Hsn:()=>aw,F$t:()=>rw,Q6J:()=>mm,s9C:()=>V1,MGl:()=>Ib,hYB:()=>z1,cQ8:()=>Q1,DdM:()=>e2,VKq:()=>t2,WLB:()=>n2,kEZ:()=>o2,qbA:()=>r2,iGM:()=>yw,MAs:()=>Cw,wJu:()=>CC,SjG:()=>xC,x6l:()=>yC,ikw:()=>vC,KtG:()=>is,evT:()=>Xd,Jf7:()=>ch,CHM:()=>Ts,oJD:()=>b_,uOi:()=>Gm,LSH:()=>Hm,P3R:()=>v_,B6R:()=>zw,Akn:()=>Ho,Udp:()=>fo,WFA:()=>J1,d8E:()=>F1,YNc:()=>_u,W1O:()=>_2,_uU:()=>Pw,Oqu:()=>W1,hij:()=>Nb,AsE:()=>X1,HOy:()=>ex,xDo:()=>tx,Gf:()=>vw});let u=null,m=1;const p=Symbol("SIGNAL");function U(o){const r=u;return u=o,r}function E(o){if((!H(o)||o.dirty)&&(o.dirty||o.lastCleanEpoch!==m)){if(!o.producerMustRecompute(o)&&!ee(o))return o.dirty=!1,void(o.lastCleanEpoch=m);o.producerRecomputeValue(o),o.dirty=!1,o.lastCleanEpoch=m}}function ee(o){T(o);for(let r=0;r<o.producerNode.length;r++){const a=o.producerNode[r],h=o.producerLastReadVersion[r];if(h!==a.version||(E(a),h!==a.version))return!0}return!1}function q(o,r){if(function ie(o){o.liveConsumerNode??=[],o.liveConsumerIndexOfThis??=[]}(o),T(o),1===o.liveConsumerNode.length)for(let h=0;h<o.producerNode.length;h++)q(o.producerNode[h],o.producerIndexOfThis[h]);const a=o.liveConsumerNode.length-1;if(o.liveConsumerNode[r]=o.liveConsumerNode[a],o.liveConsumerIndexOfThis[r]=o.liveConsumerIndexOfThis[a],o.liveConsumerNode.length--,o.liveConsumerIndexOfThis.length--,r<o.liveConsumerNode.length){const h=o.liveConsumerIndexOfThis[r],_=o.liveConsumerNode[r];T(_),_.producerIndexOfThis[h]=r}}function H(o){return o.consumerIsAlwaysLive||(o?.liveConsumerNode?.length??0)>0}function T(o){o.producerNode??=[],o.producerIndexOfThis??=[],o.producerLastReadVersion??=[]}let Ze=null;var Re=s(8645),Ft=s(7394),mt=s(5619),sn=s(7398);const Nn="https://g.co/ng/security#xss";class Jt extends Error{constructor(r,a){super(cn(r,a)),this.code=r}}function cn(o,r){return`NG0${Math.abs(o)}${r?": "+r:""}`}function Tt(o){for(let r in o)if(o[r]===Tt)return r;throw Error("Could not find renamed property on target object.")}function tn(o,r){for(const a in r)r.hasOwnProperty(a)&&!o.hasOwnProperty(a)&&(o[a]=r[a])}function rn(o){if("string"==typeof o)return o;if(Array.isArray(o))return"["+o.map(rn).join(", ")+"]";if(null==o)return""+o;if(o.overriddenName)return`${o.overriddenName}`;if(o.name)return`${o.name}`;const r=o.toString();if(null==r)return""+r;const a=r.indexOf("\n");return-1===a?r:r.substring(0,a)}function Nt(o,r){return null==o||""===o?null===r?"":r:null==r||""===r?o:o+" "+r}const Bt=Tt({__forward_ref__:Tt});function Ue(o){return o.__forward_ref__=Ue,o.toString=function(){return rn(this())},o}function nt(o){return Ye(o)?o():o}function Ye(o){return"function"==typeof o&&o.hasOwnProperty(Bt)&&o.__forward_ref__===Ue}function zt(o){return o&&!!o.\u0275providers}const $t=Tt({\u0275cmp:Tt}),Mn=Tt({\u0275dir:Tt}),Wn=Tt({\u0275pipe:Tt}),di=Tt({\u0275mod:Tt}),Pt=Tt({\u0275fac:Tt}),Xt=Tt({__NG_ELEMENT_ID__:Tt}),Le=Tt({__NG_ENV_ID__:Tt});function ue(o){return"string"==typeof o?o:null==o?"":String(o)}function k(o,r){throw new Jt(-201,!1)}function It(o,r,a,h){throw new Error(`ASSERTION ERROR: ${o}`+(null==h?"":` [Expected=> ${a} ${h} ${r} <=Actual]`))}function Vn(o){return{token:o.token,providedIn:o.providedIn||null,factory:o.factory,value:void 0}}function nn(o){return{providers:o.providers||[],imports:o.imports||[]}}function Wt(o){return Un(o,Ai)||Un(o,Xi)}function Pn(o){return null!==Wt(o)}function Un(o,r){return o.hasOwnProperty(r)?o[r]:null}function ui(o){return o&&(o.hasOwnProperty(hi)||o.hasOwnProperty(ao))?o[hi]:null}const Ai=Tt({\u0275prov:Tt}),hi=Tt({\u0275inj:Tt}),Xi=Tt({ngInjectableDef:Tt}),ao=Tt({ngInjectorDef:Tt});var xi=function(o){return o[o.Default=0]="Default",o[o.Host=1]="Host",o[o.Self=2]="Self",o[o.SkipSelf=4]="SkipSelf",o[o.Optional=8]="Optional",o}(xi||{});let Bi;function bo(){return Bi}function Qi(o){const r=Bi;return Bi=o,r}function On(o,r,a){const h=Wt(o);return h&&"root"==h.providedIn?void 0===h.value?h.value=h.factory():h.value:a&xi.Optional?null:void 0!==r?r:void k()}const Rt=globalThis;class en{constructor(r,a){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof a?this.__NG_ELEMENT_ID__=a:void 0!==a&&(this.\u0275prov=Vn({token:this,providedIn:a.providedIn||"root",factory:a.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const tr={},Mr="__NG_DI_FLAG__",cr="ngTempTokenPath",qr=/\n/gm,Er="__source";let ln;function me(o){const r=ln;return ln=o,r}function ct(o,r=xi.Default){if(void 0===ln)throw new Jt(-203,!1);return null===ln?On(o,void 0,r):ln.get(o,r&xi.Optional?null:void 0,r)}function it(o,r=xi.Default){return(bo()||ct)(nt(o),r)}function yn(o,r=xi.Default){return it(o,Fi(r))}function Fi(o){return typeof o>"u"||"number"==typeof o?o:0|(o.optional&&8)|(o.host&&1)|(o.self&&2)|(o.skipSelf&&4)}function ur(o){const r=[];for(let a=0;a<o.length;a++){const h=nt(o[a]);if(Array.isArray(h)){if(0===h.length)throw new Jt(900,!1);let _,C=xi.Default;for(let J=0;J<h.length;J++){const se=h[J],Me=Pr(se);"number"==typeof Me?-1===Me?_=se.token:C|=Me:_=se}r.push(it(_,C))}else r.push(it(h))}return r}function hr(o,r){return o[Mr]=r,o.prototype[Mr]=r,o}function Pr(o){return o[Mr]}function Ut(o){return{toString:o}.toString()}var Kt=function(o){return o[o.OnPush=0]="OnPush",o[o.Default=1]="Default",o}(Kt||{}),Qt=function(o){return o[o.Emulated=0]="Emulated",o[o.None=2]="None",o[o.ShadowDom=3]="ShadowDom",o}(Qt||{});const vn={},kn=[];var zn=function(o){return o[o.None=0]="None",o[o.SignalBased=1]="SignalBased",o[o.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",o}(zn||{});function gi(o,r,a){let h=o.length;for(;;){const _=o.indexOf(r,a);if(-1===_)return _;if(0===_||o.charCodeAt(_-1)<=32){const C=r.length;if(_+C===h||o.charCodeAt(_+C)<=32)return _}a=_+1}}function oi(o,r,a){let h=0;for(;h<a.length;){const _=a[h];if("number"==typeof _){if(0!==_)break;h++;const C=a[h++],J=a[h++],se=a[h++];o.setAttribute(r,J,se,C)}else{const C=_,J=a[++h];wi(C)?o.setProperty(r,C,J):o.setAttribute(r,C,J),h++}}return h}function Pi(o){return 3===o||4===o||6===o}function wi(o){return 64===o.charCodeAt(0)}function $i(o,r){if(null!==r&&0!==r.length)if(null===o||0===o.length)o=r.slice();else{let a=-1;for(let h=0;h<r.length;h++){const _=r[h];"number"==typeof _?a=_:0===a||ki(o,a,_,null,-1===a||2===a?r[++h]:null)}}return o}function ki(o,r,a,h,_){let C=0,J=o.length;if(-1===r)J=-1;else for(;C<o.length;){const se=o[C++];if("number"==typeof se){if(se===r){J=-1;break}if(se>r){J=C-1;break}}}for(;C<o.length;){const se=o[C];if("number"==typeof se)break;if(se===a){if(null===h)return void(null!==_&&(o[C+1]=_));if(h===o[C+1])return void(o[C+2]=_)}C++,null!==h&&C++,null!==_&&C++}-1!==J&&(o.splice(J,0,r),C=J+1),o.splice(C++,0,a),null!==h&&o.splice(C++,0,h),null!==_&&o.splice(C++,0,_)}const Hi="ng-template";function D(o,r,a){let h=0,_=!0;for(;h<o.length;){let C=o[h++];if("string"==typeof C&&_){const J=o[h++];if(a&&"class"===C&&-1!==gi(J.toLowerCase(),r,0))return!0}else{if(1===C){for(;h<o.length&&"string"==typeof(C=o[h++]);)if(C.toLowerCase()===r)return!0;return!1}"number"==typeof C&&(_=!1)}}return!1}function te(o){return 4===o.type&&o.value!==Hi}function Pe(o,r,a){return r===(4!==o.type||a?o.value:Hi)}function je(o,r,a){let h=4;const _=o.attrs||[],C=function mn(o){for(let r=0;r<o.length;r++)if(Pi(o[r]))return r;return o.length}(_);let J=!1;for(let se=0;se<r.length;se++){const Me=r[se];if("number"!=typeof Me){if(!J)if(4&h){if(h=2|1&h,""!==Me&&!Pe(o,Me,a)||""===Me&&1===r.length){if(bt(h))return!1;J=!0}}else{const at=8&h?Me:r[++se];if(8&h&&null!==o.attrs){if(!D(o.attrs,at,a)){if(bt(h))return!1;J=!0}continue}const qt=vt(8&h?"class":Me,_,te(o),a);if(-1===qt){if(bt(h))return!1;J=!0;continue}if(""!==at){let wn;wn=qt>C?"":_[qt+1].toLowerCase();const Rn=8&h?wn:null;if(Rn&&-1!==gi(Rn,at,0)||2&h&&at!==wn){if(bt(h))return!1;J=!0}}}}else{if(!J&&!bt(h)&&!bt(Me))return!1;if(J&&bt(Me))continue;J=!1,h=Me|1&h}}return bt(h)||J}function bt(o){return 0==(1&o)}function vt(o,r,a,h){if(null===r)return-1;let _=0;if(h||!a){let C=!1;for(;_<r.length;){const J=r[_];if(J===o)return _;if(3===J||6===J)C=!0;else{if(1===J||2===J){let se=r[++_];for(;"string"==typeof se;)se=r[++_];continue}if(4===J)break;if(0===J){_+=4;continue}}_+=C?1:2}return-1}return function In(o,r){let a=o.indexOf(4);if(a>-1)for(a++;a<o.length;){const h=o[a];if("number"==typeof h)return-1;if(h===r)return a;a++}return-1}(r,o)}function Lt(o,r,a=!1){for(let h=0;h<r.length;h++)if(je(o,r[h],a))return!0;return!1}function An(o,r){e:for(let a=0;a<r.length;a++){const h=r[a];if(o.length===h.length){for(let _=0;_<o.length;_++)if(o[_]!==h[_])continue e;return!0}}return!1}function ai(o,r){return o?":not("+r.trim()+")":r}function Gn(o){let r=o[0],a=1,h=2,_="",C=!1;for(;a<o.length;){let J=o[a];if("string"==typeof J)if(2&h){const se=o[++a];_+="["+J+(se.length>0?'="'+se+'"':"")+"]"}else 8&h?_+="."+J:4&h&&(_+=" "+J);else""!==_&&!bt(J)&&(r+=ai(C,_),_=""),h=J,C=C||!bt(h);a++}return""!==_&&(r+=ai(C,_)),r}function Ao(o){return Ut(()=>{const r=ut(o),a={...r,decls:o.decls,vars:o.vars,template:o.template,consts:o.consts||null,ngContentSelectors:o.ngContentSelectors,onPush:o.changeDetection===Kt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&o.dependencies||null,getStandaloneInjector:null,signals:o.signals??!1,data:o.data||{},encapsulation:o.encapsulation||Qt.Emulated,styles:o.styles||kn,_:null,schemas:o.schemas||null,tView:null,id:""};xt(a);const h=o.dependencies;return a.directiveDefs=qe(h,!1),a.pipeDefs=qe(h,!0),a.id=function Cn(o){let r=0;const a=[o.selectors,o.ngContentSelectors,o.hostVars,o.hostAttrs,o.consts,o.vars,o.decls,o.encapsulation,o.standalone,o.signals,o.exportAs,JSON.stringify(o.inputs),JSON.stringify(o.outputs),Object.getOwnPropertyNames(o.type.prototype),!!o.contentQueries,!!o.viewQuery].join("|");for(const _ of a)r=Math.imul(31,r)+_.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(a),a})}function _o(o){return ei(o)||eo(o)}function ar(o){return null!==o}function br(o){return Ut(()=>({type:o.type,bootstrap:o.bootstrap||kn,declarations:o.declarations||kn,imports:o.imports||kn,exports:o.exports||kn,transitiveCompileScopes:null,schemas:o.schemas||null,id:o.id||null}))}function Xr(o,r){if(null==o)return vn;const a={};for(const h in o)if(o.hasOwnProperty(h)){const _=o[h];let C,J,se=zn.None;Array.isArray(_)?(se=_[0],C=_[1],J=_[2]??C):(C=_,J=_),r?(a[C]=se!==zn.None?[h,se]:h,r[C]=J):a[C]=h}return a}function Ir(o){return Ut(()=>{const r=ut(o);return xt(r),r})}function vo(o){return{type:o.type,name:o.name,factory:null,pure:!1!==o.pure,standalone:!0===o.standalone,onDestroy:o.type.prototype.ngOnDestroy||null}}function ei(o){return o[$t]||null}function eo(o){return o[Mn]||null}function yo(o){return o[Wn]||null}function Fr(o){const r=ei(o)||eo(o)||yo(o);return null!==r&&r.standalone}function Cr(o,r){const a=o[di]||null;if(!a&&!0===r)throw new Error(`Type ${rn(o)} does not have '\u0275mod' property.`);return a}function ut(o){const r={};return{type:o.type,providersResolver:null,factory:null,hostBindings:o.hostBindings||null,hostVars:o.hostVars||0,hostAttrs:o.hostAttrs||null,contentQueries:o.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:o.inputs||vn,exportAs:o.exportAs||null,standalone:!0===o.standalone,signals:!0===o.signals,selectors:o.selectors||kn,viewQuery:o.viewQuery||null,features:o.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xr(o.inputs,r),outputs:Xr(o.outputs),debugInfo:null}}function xt(o){o.features?.forEach(r=>r(o))}function qe(o,r){if(!o)return null;const a=r?yo:_o;return()=>("function"==typeof o?o():o).map(h=>a(h)).filter(ar)}const li=0,At=1,Si=2,Gi=3,Or=4,Vr=5,qo=6,To=7,Ii=8,no=9,ea=10,uo=11,qi=12,zr=13,oa=14,nr=15,Br=16,Sa=17,Ur=18,Ia=19,Ga=20,Ea=21,xs=22,ra=23,ho=25,Ja=1,aa=7,dn=9,Tn=10;var Zn=function(o){return o[o.None=0]="None",o[o.HasTransplantedViews=2]="HasTransplantedViews",o}(Zn||{});function Jn(o){return Array.isArray(o)&&"object"==typeof o[Ja]}function ti(o){return Array.isArray(o)&&!0===o[Ja]}function Mi(o){return 0!=(4&o.flags)}function Ri(o){return o.componentOffset>-1}function zi(o){return 1==(1&o.flags)}function Ei(o){return!!o.template}function Po(o){return 0!=(512&o[Si])}function Qr(o,r){return o.hasOwnProperty(Pt)?o[Pt]:null}class Xa{constructor(r,a,h){this.previousValue=r,this.currentValue=a,this.firstChange=h}isFirstChange(){return this.firstChange}}function Ra(o,r,a,h){null!==r?r.applyValueToInputSignal(r,h):o[a]=h}function sa(){return La}function La(o){return o.type.prototype.ngOnChanges&&(o.setInput=Cs),es}function es(){const o=_l(this),r=o?.current;if(r){const a=o.previous;if(a===vn)o.previous=r;else for(let h in r)a[h]=r[h];o.current=null,this.ngOnChanges(r)}}function Cs(o,r,a,h,_){const C=this.declaredInputs[h],J=_l(o)||function Pc(o,r){return o[fl]=r}(o,{previous:vn,current:null}),se=J.current||(J.current={}),Me=J.previous,at=Me[C];se[C]=new Xa(at&&at.currentValue,a,Me===vn),Ra(o,r,_,a)}sa.ngInherit=!0;const fl="__ngSimpleChanges__";function _l(o){return o[fl]||null}const za=function(o,r,a){},gl="svg";let wa=!1;function pr(o){for(;Array.isArray(o);)o=o[li];return o}function ts(o,r){return pr(r[o])}function Hr(o,r){return pr(r[o.index])}function bl(o,r){return o.data[r]}function Bs(o,r){return o[r]}function _a(o,r){const a=r[o];return Jn(a)?a:a[li]}function Lc(o){return 128==(128&o[Si])}function jr(o,r){return null==r?null:o[r]}function vl(o){o[Sa]=0}function Fc(o){1024&o[Si]||(o[Si]|=1024,Lc(o)&&ws(o))}function nc(o){return 9216&o[Si]||o[ra]?.dirty}function hs(o){nc(o)?ws(o):64&o[Si]&&(function tc(){return wa}()?(o[Si]|=1024,ws(o)):o[ea].changeDetectionScheduler?.notify())}function ws(o){o[ea].changeDetectionScheduler?.notify();let r=Kr(o);for(;null!==r&&!(8192&r[Si])&&(r[Si]|=8192,Lc(r));)r=Kr(r)}function Qa(o,r){if(256==(256&o[Si]))throw new Jt(911,!1);null===o[Ea]&&(o[Ea]=[]),o[Ea].push(r)}function Kr(o){const r=o[Gi];return ti(r)?r[Gi]:r}const ji={lFrame:yd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function oc(){return ji.bindingsEnabled}function ns(){return null!==ji.skipHydrationRootTNode}function si(){return ji.lFrame.lView}function Oo(){return ji.lFrame.tView}function Ts(o){return ji.lFrame.contextLView=o,o[Ii]}function is(o){return ji.lFrame.contextLView=null,o}function or(){let o=ms();for(;null!==o&&64===o.type;)o=o.parent;return o}function ms(){return ji.lFrame.currentTNode}function os(){const o=ji.lFrame,r=o.currentTNode;return o.isParent?r:r.parent}function Do(o,r){const a=ji.lFrame;a.currentTNode=o,a.isParent=r}function sc(){return ji.lFrame.isParent}function Xs(){ji.lFrame.isParent=!1}function Be(){const o=ji.lFrame;let r=o.bindingRootIndex;return-1===r&&(r=o.bindingRootIndex=o.tView.bindingStartIndex),r}function ve(){return ji.lFrame.bindingIndex}function gt(){return ji.lFrame.bindingIndex++}function Gt(o){const r=ji.lFrame,a=r.bindingIndex;return r.bindingIndex=r.bindingIndex+o,a}function Qn(o){ji.lFrame.inI18n=o}function Hn(o,r){const a=ji.lFrame;a.bindingIndex=a.bindingRootIndex=o,io(r)}function io(o){ji.lFrame.currentDirectiveIndex=o}function wo(o){const r=ji.lFrame.currentDirectiveIndex;return-1===r?null:o[r]}function yr(){return ji.lFrame.currentQueryIndex}function la(o){ji.lFrame.currentQueryIndex=o}function fs(o){const r=o[At];return 2===r.type?r.declTNode:1===r.type?o[Vr]:null}function pa(o,r,a){if(a&xi.SkipSelf){let _=r,C=o;for(;!(_=_.parent,null!==_||a&xi.Host||(_=fs(C),null===_||(C=C[oa],10&_.type))););if(null===_)return!1;r=_,o=C}const h=ji.lFrame=rs();return h.currentTNode=r,h.lView=o,!0}function Us(o){const r=rs(),a=o[At];ji.lFrame=r,r.currentTNode=a.firstChild,r.lView=o,r.tView=a,r.contextLView=o,r.bindingIndex=a.bindingStartIndex,r.inI18n=!1}function rs(){const o=ji.lFrame,r=null===o?null:o.child;return null===r?yd(o):r}function yd(o){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:o,child:null,inI18n:!1};return null!==o&&(o.child=r),r}function xd(){const o=ji.lFrame;return ji.lFrame=o.parent,o.currentTNode=null,o.lView=null,o}const Cd=xd;function lc(){const o=xd();o.isParent=!0,o.tView=null,o.selectedIndex=-1,o.contextLView=null,o.elementDepthCount=0,o.currentDirectiveIndex=-1,o.currentNamespace=null,o.bindingRootIndex=-1,o.bindingIndex=-1,o.currentQueryIndex=0}function ca(){return ji.lFrame.selectedIndex}function Zs(o){ji.lFrame.selectedIndex=o}function Sr(){const o=ji.lFrame;return bl(o.tView,o.selectedIndex)}function Td(){ji.lFrame.currentNamespace=gl}function na(){!function as(){ji.lFrame.currentNamespace=null}()}let Ru=!0;function Zc(){return Ru}function Hs(o){Ru=o}function Hc(o,r){for(let a=r.directiveStart,h=r.directiveEnd;a<h;a++){const C=o.data[a].type.prototype,{ngAfterContentInit:J,ngAfterContentChecked:se,ngAfterViewInit:Me,ngAfterViewChecked:at,ngOnDestroy:St}=C;J&&(o.contentHooks??=[]).push(-a,J),se&&((o.contentHooks??=[]).push(a,se),(o.contentCheckHooks??=[]).push(a,se)),Me&&(o.viewHooks??=[]).push(-a,Me),at&&((o.viewHooks??=[]).push(a,at),(o.viewCheckHooks??=[]).push(a,at)),null!=St&&(o.destroyHooks??=[]).push(a,St)}}function Gc(o,r,a){Lu(o,r,3,a)}function Jc(o,r,a,h){(3&o[Si])===a&&Lu(o,r,a,h)}function Md(o,r){let a=o[Si];(3&a)===r&&(a&=16383,a+=1,o[Si]=a)}function Lu(o,r,a,h){const C=h??-1,J=r.length-1;let se=0;for(let Me=void 0!==h?65535&o[Sa]:0;Me<J;Me++)if("number"==typeof r[Me+1]){if(se=r[Me],null!=h&&se>=h)break}else r[Me]<0&&(o[Sa]+=65536),(se<C||-1==C)&&(zh(o,a,r,Me),o[Sa]=(4294901760&o[Sa])+Me+2),Me++}function kd(o,r){za(4,o,r);const a=U(null);try{r.call(o)}finally{U(a),za(5,o,r)}}function zh(o,r,a,h){const _=a[h]<0,C=a[h+1],se=o[_?-a[h]:a[h]];_?o[Si]>>14<o[Sa]>>16&&(3&o[Si])===r&&(o[Si]+=16384,kd(se,C)):kd(se,C)}const wl=-1;class Tl{constructor(r,a,h){this.factory=r,this.resolving=!1,this.canSeeViewProviders=a,this.injectImpl=h}}function Ed(o){return o!==wl}function Ta(o){return 32767&o}function Gs(o,r){let a=function Rr(o){return o>>16}(o),h=r;for(;a>0;)h=h[oa],a--;return h}let cc=!0;function tl(o){const r=cc;return cc=o,r}const Od=255,dc=5;let $h=0;const Oa={};function Ml(o,r){const a=Dd(o,r);if(-1!==a)return a;const h=r[At];h.firstCreatePass&&(o.injectorIndex=r.length,Vc(h.data,o),Vc(r,null),Vc(h.blueprint,null));const _=hc(o,r),C=o.injectorIndex;if(Ed(_)){const J=Ta(_),se=Gs(_,r),Me=se[At].data;for(let at=0;at<8;at++)r[C+at]=se[J+at]|Me[J+at]}return r[C+8]=_,C}function Vc(o,r){o.push(0,0,0,0,0,0,0,0,r)}function Dd(o,r){return-1===o.injectorIndex||o.parent&&o.parent.injectorIndex===o.injectorIndex||null===r[o.injectorIndex+8]?-1:o.injectorIndex}function hc(o,r){if(o.parent&&-1!==o.parent.injectorIndex)return o.parent.injectorIndex;let a=0,h=null,_=r;for(;null!==_;){if(h=Uu(_),null===h)return wl;if(a++,_=_[oa],-1!==h.injectorIndex)return h.injectorIndex|a<<16}return wl}function zc(o,r,a){!function uc(o,r,a){let h;"string"==typeof a?h=a.charCodeAt(0)||0:a.hasOwnProperty(Xt)&&(h=a[Xt]),null==h&&(h=a[Xt]=$h++);const _=h&Od;r.data[o+(_>>dc)]|=1<<_}(o,r,a)}function ks(o,r,a){if(a&xi.Optional||void 0!==o)return o;k()}function il(o,r,a,h){if(a&xi.Optional&&void 0===h&&(h=null),!(a&(xi.Self|xi.Host))){const _=o[no],C=Qi(void 0);try{return _?_.get(r,h,a&xi.Optional):On(r,h,a&xi.Optional)}finally{Qi(C)}}return ks(h,0,a)}function kl(o,r,a,h=xi.Default,_){if(null!==o){if(2048&r[Si]&&!(h&xi.Self)){const J=function ep(o,r,a,h,_){let C=o,J=r;for(;null!==C&&null!==J&&2048&J[Si]&&!(512&J[Si]);){const se=Qc(C,J,a,h|xi.Self,Oa);if(se!==Oa)return se;let Me=C.parent;if(!Me){const at=J[Ga];if(at){const St=at.get(a,Oa,h);if(St!==Oa)return St}Me=Uu(J),J=J[oa]}C=Me}return _}(o,r,a,h,Oa);if(J!==Oa)return J}const C=Qc(o,r,a,h,Oa);if(C!==Oa)return C}return il(r,a,h,_)}function Qc(o,r,a,h,_){const C=function Wh(o){if("string"==typeof o)return o.charCodeAt(0)||0;const r=o.hasOwnProperty(Xt)?o[Xt]:void 0;return"number"==typeof r?r>=0?r&Od:Xh:r}(a);if("function"==typeof C){if(!pa(r,o,h))return h&xi.Host?ks(_,0,h):il(r,a,h,_);try{let J;if(J=C(h),null!=J||h&xi.Optional)return J;k()}finally{Cd()}}else if("number"==typeof C){let J=null,se=Dd(o,r),Me=wl,at=h&xi.Host?r[nr][Vr]:null;for((-1===se||h&xi.SkipSelf)&&(Me=-1===se?hc(o,r):r[se+8],Me!==wl&&Bu(h,!1)?(J=r[At],se=Ta(Me),r=Gs(Me,r)):se=-1);-1!==se;){const St=r[At];if(Fu(C,se,St.data)){const qt=pc(se,r,a,J,h,at);if(qt!==Oa)return qt}Me=r[se+8],Me!==wl&&Bu(h,r[At].data[se+8]===at)&&Fu(C,se,r)?(J=St,se=Ta(Me),r=Gs(Me,r)):se=-1}}return _}function pc(o,r,a,h,_,C){const J=r[At],se=J.data[o+8],St=ss(se,J,a,null==h?Ri(se)&&cc:h!=J&&0!=(3&se.type),_&xi.Host&&C===se);return null!==St?Ss(r,J,St,se):Oa}function ss(o,r,a,h,_){const C=o.providerIndexes,J=r.data,se=1048575&C,Me=o.directiveStart,St=C>>20,wn=_?se+St:o.directiveEnd;for(let Rn=h?se:se+St;Rn<wn;Rn++){const ni=J[Rn];if(Rn<Me&&a===ni||Rn>=Me&&ni.type===a)return Rn}if(_){const Rn=J[Me];if(Rn&&Ei(Rn)&&Rn.type===a)return Me}return null}function Ss(o,r,a,h){let _=o[a];const C=r.data;if(function Qh(o){return o instanceof Tl}(_)){const J=_;J.resolving&&function j(o,r){const a=r?`. Dependency path: ${r.join(" > ")} > ${o}`:"";throw new Jt(-200,`Circular dependency in DI detected for ${o}${a}`)}(function X(o){return"function"==typeof o?o.name||o.toString():"object"==typeof o&&null!=o&&"function"==typeof o.type?o.type.name||o.type.toString():ue(o)}(C[a]));const se=tl(J.canSeeViewProviders);J.resolving=!0;const at=J.injectImpl?Qi(J.injectImpl):null;pa(o,h,xi.Default);try{_=o[a]=J.factory(void 0,C,o,h),r.firstCreatePass&&a>=h.directiveStart&&function Vh(o,r,a){const{ngOnChanges:h,ngOnInit:_,ngDoCheck:C}=r.type.prototype;if(h){const J=La(r);(a.preOrderHooks??=[]).push(o,J),(a.preOrderCheckHooks??=[]).push(o,J)}_&&(a.preOrderHooks??=[]).push(0-o,_),C&&((a.preOrderHooks??=[]).push(o,C),(a.preOrderCheckHooks??=[]).push(o,C))}(a,C[a],r)}finally{null!==at&&Qi(at),tl(se),J.resolving=!1,Cd()}}return _}function Fu(o,r,a){return!!(a[r+(o>>dc)]&1<<o)}function Bu(o,r){return!(o&xi.Self||o&xi.Host&&r)}class da{constructor(r,a){this._tNode=r,this._lView=a}get(r,a,h){return kl(this._tNode,this._lView,r,Fi(h),a)}}function Xh(){return new da(or(),si())}function Ad(o){return Ut(()=>{const r=o.prototype.constructor,a=r[Pt]||Pd(r),h=Object.prototype;let _=Object.getPrototypeOf(o.prototype).constructor;for(;_&&_!==h;){const C=_[Pt]||Pd(_);if(C&&C!==a)return C;_=Object.getPrototypeOf(_)}return C=>new C})}function Pd(o){return Ye(o)?()=>{const r=Pd(nt(o));return r&&r()}:Qr(o)}function Uu(o){const r=o[At],a=r.type;return 2===a?r.declTNode:1===a?o[Vr]:null}function Id(o){return function nl(o,r){if("class"===r)return o.classes;if("style"===r)return o.styles;const a=o.attrs;if(a){const h=a.length;let _=0;for(;_<h;){const C=a[_];if(Pi(C))break;if(0===C)_+=2;else if("number"==typeof C)for(_++;_<h&&"string"==typeof a[_];)_++;else{if(C===r)return a[_+1];_+=2}}}return null}(or(),o)}const Ol="__annotations__",Js="__parameters__",ol="__prop__metadata__";function Rd(o,r,a,h,_){return Ut(()=>{const C=Ld(r);function J(...se){if(this instanceof J)return C.call(this,...se),this;const Me=new J(...se);return function(St){return _&&_(St,...se),(St.hasOwnProperty(Ol)?St[Ol]:Object.defineProperty(St,Ol,{value:[]})[Ol]).push(Me),h&&h(St),St}}return a&&(J.prototype=Object.create(a.prototype)),J.prototype.ngMetadataName=o,J.annotationCls=J,J})}function Ld(o){return function(...a){if(o){const h=o(...a);for(const _ in h)this[_]=h[_]}}}function Vs(o,r,a){return Ut(()=>{const h=Ld(r);function _(...C){if(this instanceof _)return h.apply(this,C),this;const J=new _(...C);return se.annotation=J,se;function se(Me,at,St){const qt=Me.hasOwnProperty(Js)?Me[Js]:Object.defineProperty(Me,Js,{value:[]})[Js];for(;qt.length<=St;)qt.push(null);return(qt[St]=qt[St]||[]).push(J),Me}}return a&&(_.prototype=Object.create(a.prototype)),_.prototype.ngMetadataName=o,_.annotationCls=_,_})}const jc=Vs("Attribute",o=>({attributeName:o,__NG_ELEMENT_ID__:()=>Id(o)}));function ua(o){const r=Rt.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const ap=Function;function mc(o){return"function"==typeof o}function rl(o,r){o.forEach(a=>Array.isArray(a)?rl(a,r):r(a))}function fc(o,r,a){r>=o.length?o.push(a):o.splice(r,0,a)}function _c(o,r){return r>=o.length-1?o.pop():o.splice(r,1)[0]}function al(o,r){const a=[];for(let h=0;h<o;h++)a.push(r);return a}function Da(o,r,a){let h=Ba(o,r);return h>=0?o[1|h]=a:(h=~h,function Al(o,r,a,h){let _=o.length;if(_==r)o.push(a,h);else if(1===_)o.push(h,o[0]),o[0]=a;else{for(_--,o.push(o[_-1],o[_]);_>r;)o[_]=o[_-2],_--;o[r]=a,o[r+1]=h}}(o,h,r,a)),h}function Yc(o,r){const a=Ba(o,r);if(a>=0)return o[1|a]}function Ba(o,r){return function Nd(o,r,a){let h=0,_=o.length>>a;for(;_!==h;){const C=h+(_-h>>1),J=o[C<<a];if(r===J)return C<<a;J>r?_=C:h=C+1}return~(_<<a)}(o,r,1)}const Pl=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Fd=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Gu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Ju=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Il{constructor(r){this._reflect=r||Rt.Reflect}factory(r){return(...a)=>new r(...a)}_zipTypesAndAnnotations(r,a){let h;h=al(typeof r>"u"?a.length:r.length);for(let _=0;_<h.length;_++)h[_]=typeof r>"u"?[]:r[_]&&r[_]!=Object?[r[_]]:[],a&&null!=a[_]&&(h[_]=h[_].concat(a[_]));return h}_ownParameters(r,a){if(function Vu(o){return Pl.test(o)||Ju.test(o)||Fd.test(o)&&!Gu.test(o)}(r.toString()))return null;if(r.parameters&&r.parameters!==a.parameters)return r.parameters;const _=r.ctorParameters;if(_&&_!==a.ctorParameters){const se="function"==typeof _?_():_,Me=se.map(St=>St&&St.type),at=se.map(St=>St&&qc(St.decorators));return this._zipTypesAndAnnotations(Me,at)}const C=r.hasOwnProperty(Js)&&r[Js],J=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return J||C?this._zipTypesAndAnnotations(J,C):al(r.length)}parameters(r){if(!mc(r))return[];const a=gc(r);let h=this._ownParameters(r,a);return!h&&a!==Object&&(h=this.parameters(a)),h||[]}_ownAnnotations(r,a){if(r.annotations&&r.annotations!==a.annotations){let h=r.annotations;return"function"==typeof h&&h.annotations&&(h=h.annotations),h}return r.decorators&&r.decorators!==a.decorators?qc(r.decorators):r.hasOwnProperty(Ol)?r[Ol]:null}annotations(r){if(!mc(r))return[];const a=gc(r),h=this._ownAnnotations(r,a)||[];return(a!==Object?this.annotations(a):[]).concat(h)}_ownPropMetadata(r,a){if(r.propMetadata&&r.propMetadata!==a.propMetadata){let h=r.propMetadata;return"function"==typeof h&&h.propMetadata&&(h=h.propMetadata),h}if(r.propDecorators&&r.propDecorators!==a.propDecorators){const h=r.propDecorators,_={};return Object.keys(h).forEach(C=>{_[C]=qc(h[C])}),_}return r.hasOwnProperty(ol)?r[ol]:null}propMetadata(r){if(!mc(r))return{};const a=gc(r),h={};if(a!==Object){const C=this.propMetadata(a);Object.keys(C).forEach(J=>{h[J]=C[J]})}const _=this._ownPropMetadata(r,a);return _&&Object.keys(_).forEach(C=>{const J=[];h.hasOwnProperty(C)&&J.push(...h[C]),J.push(..._[C]),h[C]=J}),h}ownPropMetadata(r){return mc(r)&&this._ownPropMetadata(r,gc(r))||{}}hasLifecycleHook(r,a){return r instanceof ap&&a in r.prototype}}function qc(o){return o?o.map(r=>new(0,r.type.annotationCls)(...r.args?r.args:[])):[]}function gc(o){const r=o.prototype?Object.getPrototypeOf(o.prototype):null;return(r?r.constructor:null)||Object}const Kc=hr(Vs("Inject",o=>({token:o})),-1),Rl=hr(Vs("Optional"),8),zu=hr(Vs("Self"),2),Ll=hr(Vs("SkipSelf"),4),Qu=hr(Vs("Host"),1);let bc=null;function ll(o){return Nl(function vc(){return bc=bc||new Il}().parameters(o))}function Nl(o){return o.map(r=>function yc(o){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(o)&&o.length>0)for(let a=0;a<o.length;a++){const h=o[a];if(void 0===h)continue;const _=Object.getPrototypeOf(h);if(h instanceof Rl||"Optional"===_.ngMetadataName)r.optional=!0;else if(h instanceof Ll||"SkipSelf"===_.ngMetadataName)r.skipSelf=!0;else if(h instanceof zu||"Self"===_.ngMetadataName)r.self=!0;else if(h instanceof Qu||"Host"===_.ngMetadataName)r.host=!0;else if(h instanceof Kc)r.token=h.token;else if(h instanceof jc){if(void 0===h.attributeName)throw new Jt(204,!1);r.attribute=h.attributeName}else r.token=h}else r.token=void 0===o||Array.isArray(o)&&0===o.length?null:o;return r}(r))}const Os=new en("ENVIRONMENT_INITIALIZER"),$c=new en("INJECTOR",-1),xc=new en("INJECTOR_DEF_TYPES");class Bl{get(r,a=tr){if(a===tr){const h=new Error(`NullInjectorError: No provider for ${rn(r)}!`);throw h.name="NullInjectorError",h}return a}}function Ul(o){return{\u0275providers:o}}function Hd(...o){return{\u0275providers:$u(0,o),\u0275fromNgModule:!0}}function $u(o,...r){const a=[],h=new Set;let _;const C=J=>{a.push(J)};return rl(r,J=>{const se=J;Cc(se,C,[],h)&&(_||=[],_.push(se))}),void 0!==_&&Wc(_,C),a}function Wc(o,r){for(let a=0;a<o.length;a++){const{ngModule:h,providers:_}=o[a];Gd(_,C=>{r(C,h)})}}function Cc(o,r,a,h){if(!(o=nt(o)))return!1;let _=null,C=ui(o);const J=!C&&ei(o);if(C||J){if(J&&!J.standalone)return!1;_=o}else{const Me=o.ngModule;if(C=ui(Me),!C)return!1;_=Me}const se=h.has(_);if(J){if(se)return!1;if(h.add(_),J.dependencies){const Me="function"==typeof J.dependencies?J.dependencies():J.dependencies;for(const at of Me)Cc(at,r,a,h)}}else{if(!C)return!1;{if(null!=C.imports&&!se){let at;h.add(_);try{rl(C.imports,St=>{Cc(St,r,a,h)&&(at||=[],at.push(St))})}finally{}void 0!==at&&Wc(at,r)}if(!se){const at=Qr(_)||(()=>new _);r({provide:_,useFactory:at,deps:kn},_),r({provide:xc,useValue:_,multi:!0},_),r({provide:Os,useValue:()=>it(_),multi:!0},_)}const Me=C.providers;if(null!=Me&&!se){const at=o;Gd(Me,St=>{r(St,at)})}}}return _!==o&&void 0!==o.providers}function Gd(o,r){for(let a of o)zt(a)&&(a=a.\u0275providers),Array.isArray(a)?Gd(a,r):r(a)}const up=Tt({provide:String,useValue:Tt});function Jd(o){return null!==o&&"object"==typeof o&&up in o}function Ds(o){return"function"==typeof o}const Vd=new en("Set Injector scope."),Xc={},zd={};let Qd;function ed(){return void 0===Qd&&(Qd=new Bl),Qd}class ja{}class dl extends ja{get destroyed(){return this._destroyed}constructor(r,a,h,_){super(),this.parent=a,this.source=h,this.scopes=_,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,jd(r,J=>this.processProvider(J)),this.records.set($c,Zl(void 0,this)),_.has("environment")&&this.records.set(ja,Zl(void 0,this));const C=this.records.get(Vd);null!=C&&"string"==typeof C.value&&this.scopes.add(C.value),this.injectorDefTypes=new Set(this.get(xc,kn,xi.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const a of this._ngOnDestroyHooks)a.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const a of r)a()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const a=me(this),h=Qi(void 0);try{return r()}finally{me(a),Qi(h)}}get(r,a=tr,h=xi.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Le))return r[Le](this);h=Fi(h);const C=me(this),J=Qi(void 0);try{if(!(h&xi.SkipSelf)){let Me=this.records.get(r);if(void 0===Me){const at=function th(o){return"function"==typeof o||"object"==typeof o&&o instanceof en}(r)&&Wt(r);Me=at&&this.injectableDefInScope(at)?Zl(td(r),Xc):null,this.records.set(r,Me)}if(null!=Me)return this.hydrate(r,Me)}return(h&xi.Self?ed():this.parent).get(r,a=h&xi.Optional&&a===tr?null:a)}catch(se){if("NullInjectorError"===se.name){if((se[cr]=se[cr]||[]).unshift(rn(r)),C)throw se;return function so(o,r,a,h){const _=o[cr];throw r[Er]&&_.unshift(r[Er]),o.message=function lt(o,r,a,h=null){o=o&&"\n"===o.charAt(0)&&"\u0275"==o.charAt(1)?o.slice(2):o;let _=rn(r);if(Array.isArray(r))_=r.map(rn).join(" -> ");else if("object"==typeof r){let C=[];for(let J in r)if(r.hasOwnProperty(J)){let se=r[J];C.push(J+":"+("string"==typeof se?JSON.stringify(se):rn(se)))}_=`{${C.join(", ")}}`}return`${a}${h?"("+h+")":""}[${_}]: ${o.replace(qr,"\n  ")}`}("\n"+o.message,_,a,h),o.ngTokenPath=_,o[cr]=null,o}(se,r,"R3InjectorError",this.source)}throw se}finally{Qi(J),me(C)}}resolveInjectorInitializers(){const r=me(this),a=Qi(void 0);try{const _=this.get(Os,kn,xi.Self);for(const C of _)C()}finally{me(r),Qi(a)}}toString(){const r=[],a=this.records;for(const h of a.keys())r.push(rn(h));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Jt(205,!1)}processProvider(r){let a=Ds(r=nt(r))?r:nt(r&&r.provide);const h=function mp(o){return Jd(o)?Zl(void 0,o.useValue):Zl(eh(o),Xc)}(r);if(!Ds(r)&&!0===r.multi){let _=this.records.get(a);_||(_=Zl(void 0,Xc,!0),_.factory=()=>ur(_.multi),this.records.set(a,_)),a=r,_.multi.push(r)}this.records.set(a,h)}hydrate(r,a){return a.value===Xc&&(a.value=zd,a.value=a.factory()),"object"==typeof a.value&&a.value&&function _p(o){return null!==o&&"object"==typeof o&&"function"==typeof o.ngOnDestroy}(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}injectableDefInScope(r){if(!r.providedIn)return!1;const a=nt(r.providedIn);return"string"==typeof a?"any"===a||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(r){const a=this._onDestroyHooks.indexOf(r);-1!==a&&this._onDestroyHooks.splice(a,1)}}function td(o){const r=Wt(o),a=null!==r?r.factory:Qr(o);if(null!==a)return a;if(o instanceof en)throw new Jt(204,!1);if(o instanceof Function)return function pp(o){if(o.length>0)throw new Jt(204,!1);const a=function jn(o){return o&&(o[Ai]||o[Xi])||null}(o);return null!==a?()=>a.factory(o):()=>new o}(o);throw new Jt(204,!1)}function eh(o,r,a){let h;if(Ds(o)){const _=nt(o);return Qr(_)||td(_)}if(Jd(o))h=()=>nt(o.useValue);else if(function Xu(o){return!(!o||!o.useFactory)}(o))h=()=>o.useFactory(...ur(o.deps||[]));else if(function Wu(o){return!(!o||!o.useExisting)}(o))h=()=>it(nt(o.useExisting));else{const _=nt(o&&(o.useClass||o.provide));if(!function fp(o){return!!o.deps}(o))return Qr(_)||td(_);h=()=>new _(...ur(o.deps))}return h}function Zl(o,r,a=!1){return{factory:o,value:r,multi:a?[]:void 0}}function jd(o,r){for(const a of o)Array.isArray(a)?jd(a,r):a&&zt(a)?jd(a.\u0275providers,r):r(a)}function Yd(o,r){o instanceof dl&&o.assertNotDestroyed();const h=me(o),_=Qi(void 0);try{return r()}finally{me(h),Qi(_)}}function nd(o){if(!bo()&&!function Ci(){return ln}())throw new Jt(-203,!1)}const nh={\u0275\u0275defineInjectable:Vn,\u0275\u0275defineInjector:nn,\u0275\u0275inject:it,\u0275\u0275invalidFactoryDep:function Yt(o){throw new Jt(202,!1)},resolveForwardRef:nt};const bp=Tt({provide:String,useValue:Tt});function qd(o){return void 0!==o.useClass}function ih(o){return void 0!==o.useFactory}const Kd=Rd("Injectable",void 0,void 0,void 0,(o,r)=>function gp(o,r){let a=null,h=null;o.hasOwnProperty(Ai)||Object.defineProperty(o,Ai,{get:()=>(null===a&&(a=ua().compileInjectable(nh,`ng:///${o.name}/\u0275prov.js`,function xp(o,r){const a=r||{providedIn:null},h={name:o.name,type:o,typeArgumentCount:0,providedIn:a.providedIn};return(qd(a)||ih(a))&&void 0!==a.deps&&(h.deps=Nl(a.deps)),qd(a)?h.useClass=a.useClass:function vp(o){return bp in o}(a)?h.useValue=a.useValue:ih(a)?h.useFactory=a.useFactory:function yp(o){return void 0!==o.useExisting}(a)&&(h.useExisting=a.useExisting),h}(o,r))),a)}),o.hasOwnProperty(Pt)||Object.defineProperty(o,Pt,{get:()=>{if(null===h){const _=ua();h=_.compileFactory(nh,`ng:///${o.name}/\u0275fac.js`,{name:o.name,type:o,typeArgumentCount:0,deps:ll(o),target:_.FactoryTarget.Injectable})}return h},configurable:!0})}(o,r));function oh(o,r=null,a=null,h){const _=rh(o,r,a,h);return _.resolveInjectorInitializers(),_}function rh(o,r=null,a=null,h,_=new Set){const C=[a||kn,Hd(o)];return h=h||("object"==typeof o?void 0:rn(o)),new dl(C,r||ed(),h||null,_)}let Tc,Ya=(()=>{class o{static#e=this.THROW_IF_NOT_FOUND=tr;static#t=this.NULL=new Bl;static create(a,h){if(Array.isArray(a))return oh({name:""},h,a,"");{const _=a.name??"";return oh({name:_},a.parent,a.providers,_)}}static#n=this.\u0275prov=Vn({token:o,providedIn:"any",factory:()=>it($c)});static#i=this.__NG_ELEMENT_ID__=-1}return o})();function zs(o){return!!Cr(o)}function sh(o){Tc=o}function As(){if(void 0!==Tc)return Tc;if(typeof document<"u")return document;throw new Jt(210,!1)}const od=new en("AppId",{providedIn:"root",factory:()=>rd}),rd="ng",$d=new en("Platform Initializer"),ad=new en("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),lh=new en("AnimationModuleType"),Wd=new en("CSP nonce",{providedIn:"root",factory:()=>As().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function ch(o){return o.ownerDocument.defaultView}function Xd(o){return o.ownerDocument}function Ua(o){return o instanceof Function?o():o}function ls(o){return 128==(128&o.flags)}var va=function(o){return o[o.Important=1]="Important",o[o.DashCase=2]="DashCase",o}(va||{});const Ka=/^>|^->|<!--|-->|--!>|<!-$/g,kc=/(<|>)/g,js="\u200b$1\u200b";const Vl=new Map;let zl=0;const Yl="__ngContext__";function Yr(o,r){Jn(r)?(o[Yl]=r[Ia],function ul(o){Vl.set(o[Ia],o)}(r)):o[Yl]=r}let mr;function Ar(o,r){return mr(o,r)}function Wr(o,r,a,h,_){if(null!=h){let C,J=!1;ti(h)?C=h:Jn(h)&&(J=!0,h=h[li]);const se=pr(h);0===o&&null!==a?null==_?e_(r,a,se):cd(r,a,se,_||null,!0):1===o&&null!==a?cd(r,a,se,_||null,!0):2===o?function Dp(o,r,a){const h=Ep(o,r);h&&function tv(o,r,a,h){o.removeChild(r,a,h)}(o,h,r,a)}(r,se,J):3===o&&r.destroyNode(se),null!=C&&function ov(o,r,a,h,_){const C=a[aa];C!==pr(a)&&Wr(r,o,h,C,_);for(let se=Tn;se<a.length;se++){const Me=a[se];Ap(Me[At],Me,o,r,h,C)}}(r,o,C,a,_)}}function cs(o,r){return o.createText(r)}function Kl(o,r){return o.createComment(function Jl(o){return o.replace(Ka,r=>r.replace(kc,js))}(r))}function gs(o,r,a){return o.createElement(r,a)}function ru(o,r){Ap(o,r,r[uo],2,null,null)}function Sp(o,r){const a=o[dn],h=a.indexOf(r);a.splice(h,1)}function ld(o,r){if(o.length<=Tn)return;const a=Tn+r,h=o[a];if(h){const _=h[Br];null!==_&&_!==o&&Sp(_,h),r>0&&(o[a-1][Or]=h[Or]);const C=_c(o,Tn+r);!function sd(o,r){ru(o,r),r[li]=null,r[Vr]=null}(h[At],h);const J=C[Ur];null!==J&&J.detachView(C[At]),h[Gi]=null,h[Or]=null,h[Si]&=-129}return h}function uh(o,r){if(!(256&r[Si])){const a=r[uo];a.destroyNode&&Ap(o,r,a,3,null,null),function Sm(o){let r=o[qi];if(!r)return Dm(o[At],o);for(;r;){let a=null;if(Jn(r))a=r[qi];else{const h=r[Tn];h&&(a=h)}if(!a){for(;r&&!r[Or]&&r!==o;)Jn(r)&&Dm(r[At],r),r=r[Gi];null===r&&(r=o),Jn(r)&&Dm(r[At],r),a=r&&r[Or]}r=a}}(r)}}function Dm(o,r){if(!(256&r[Si])){r[Si]&=-129,r[Si]|=256,r[ra]&&function K(o){if(T(o),H(o))for(let r=0;r<o.producerNode.length;r++)q(o.producerNode[r],o.producerIndexOfThis[r]);o.producerNode.length=o.producerLastReadVersion.length=o.producerIndexOfThis.length=0,o.liveConsumerNode&&(o.liveConsumerNode.length=o.liveConsumerIndexOfThis.length=0)}(r[ra]),function ev(o,r){let a;if(null!=o&&null!=(a=o.destroyHooks))for(let h=0;h<a.length;h+=2){const _=r[a[h]];if(!(_ instanceof Tl)){const C=a[h+1];if(Array.isArray(C))for(let J=0;J<C.length;J+=2){const se=_[C[J]],Me=C[J+1];za(4,se,Me);try{Me.call(se)}finally{za(5,se,Me)}}else{za(4,_,C);try{C.call(_)}finally{za(5,_,C)}}}}}(o,r),function Xb(o,r){const a=o.cleanup,h=r[To];if(null!==a)for(let C=0;C<a.length-1;C+=2)if("string"==typeof a[C]){const J=a[C+3];J>=0?h[J]():h[-J].unsubscribe(),C+=2}else a[C].call(h[a[C+1]]);null!==h&&(r[To]=null);const _=r[Ea];if(null!==_){r[Ea]=null;for(let C=0;C<_.length;C++)(0,_[C])()}}(o,r),1===r[At].type&&r[uo].destroy();const a=r[Br];if(null!==a&&ti(r[Gi])){a!==r[Gi]&&Sp(a,r);const h=r[Ur];null!==h&&h.detachView(o)}!function Ql(o){Vl.delete(o[Ia])}(r)}}function Am(o,r,a){return Xf(o,r.parent,a)}function Xf(o,r,a){let h=r;for(;null!==h&&40&h.type;)h=(r=h).parent;if(null===h)return a[li];{const{componentOffset:_}=h;if(_>-1){const{encapsulation:C}=o.data[h.directiveStart+_];if(C===Qt.None||C===Qt.Emulated)return null}return Hr(h,a)}}function cd(o,r,a,h,_){o.insertBefore(r,a,h,_)}function e_(o,r,a){o.appendChild(r,a)}function t_(o,r,a,h,_){null!==h?cd(o,r,a,h,_):e_(o,r,a)}function Ep(o,r){return o.parentNode(r)}function n_(o,r,a){return o_(o,r,a)}function i_(o,r,a){return 40&o.type?Hr(o,a):null}let Pm,Pp,Ip,o_=i_;function r_(o,r){o_=o,Pm=r}function Op(o,r,a,h){const _=Am(o,h,r),C=r[uo],se=n_(h.parent||r[Vr],h,r);if(null!=_)if(Array.isArray(a))for(let Me=0;Me<a.length;Me++)t_(C,_,a[Me],se,!1);else t_(C,_,a,se,!1);void 0!==Pm&&Pm(C,h,r,a,_)}function hh(o,r){if(null!==r){const a=r.type;if(3&a)return Hr(r,o);if(4&a)return Im(-1,o[r.index]);if(8&a){const h=r.child;if(null!==h)return hh(o,h);{const _=o[r.index];return ti(_)?Im(-1,_):pr(_)}}if(32&a)return Ar(r,o)()||pr(o[r.index]);{const h=a_(o,r);return null!==h?Array.isArray(h)?h[0]:hh(Kr(o[nr]),h):hh(o,r.next)}}return null}function a_(o,r){return null!==r?o[nr][Vr].projection[r.projection]:null}function Im(o,r){const a=Tn+o+1;if(a<r.length){const h=r[a],_=h[At].firstChild;if(null!==_)return hh(h,_)}return r[aa]}function Rm(o,r,a,h,_,C,J){for(;null!=a;){const se=h[a.index],Me=a.type;if(J&&0===r&&(se&&Yr(pr(se),h),a.flags|=2),32!=(32&a.flags))if(8&Me)Rm(o,r,a.child,h,_,C,!1),Wr(r,o,_,se,C);else if(32&Me){const at=Ar(a,h);let St;for(;St=at();)Wr(r,o,_,St,C);Wr(r,o,_,se,C)}else 16&Me?l_(o,r,h,a,_,C):Wr(r,o,_,se,C);a=J?a.projectionNext:a.next}}function Ap(o,r,a,h,_,C){Rm(a,h,o.firstChild,r,_,C,!1)}function l_(o,r,a,h,_,C){const J=a[nr],Me=J[Vr].projection[h.projection];if(Array.isArray(Me))for(let at=0;at<Me.length;at++)Wr(r,o,_,Me[at],C);else{let at=Me;const St=J[Gi];ls(h)&&(at.flags|=128),Rm(o,r,at,St,_,C,!0)}}function c_(o,r,a){""===a?o.removeAttribute(r,"class"):o.setAttribute(r,"class",a)}function d_(o,r,a){const{mergedAttrs:h,classes:_,styles:C}=a;null!==h&&oi(o,r,h),null!==_&&c_(o,r,_),null!==C&&function av(o,r,a){o.setAttribute(r,"style",a)}(o,r,C)}function au(o){return function Lm(){if(void 0===Pp&&(Pp=null,Rt.trustedTypes))try{Pp=Rt.trustedTypes.createPolicy("angular",{createHTML:o=>o,createScript:o=>o,createScriptURL:o=>o})}catch{}return Pp}()?.createHTML(o)||o}function Nm(){if(void 0===Ip&&(Ip=null,Rt.trustedTypes))try{Ip=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:o=>o,createScript:o=>o,createScriptURL:o=>o})}catch{}return Ip}function u_(o){return Nm()?.createHTML(o)||o}function Fm(o){return Nm()?.createScriptURL(o)||o}class dd{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Nn})`}}class dv extends dd{getTypeName(){return"HTML"}}class uv extends dd{getTypeName(){return"Style"}}class hv extends dd{getTypeName(){return"Script"}}class pv extends dd{getTypeName(){return"URL"}}class mv extends dd{getTypeName(){return"ResourceURL"}}function $l(o){return o instanceof dd?o.changingThisBreaksApplicationSecurity:o}function su(o,r){const a=function fv(o){return o instanceof dd&&o.getTypeName()||null}(o);if(null!=a&&a!==r){if("ResourceURL"===a&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${a} (see ${Nn})`)}return a===r}function _v(o){return new dv(o)}function gv(o){return new uv(o)}function bv(o){return new hv(o)}function vv(o){return new pv(o)}function yv(o){return new mv(o)}function p_(o){const r=new Cv(o);return function wv(){try{return!!(new window.DOMParser).parseFromString(au(""),"text/html")}catch{return!1}}()?new xv(r):r}class xv{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r="<body><remove></remove>"+r;try{const a=(new window.DOMParser).parseFromString(au(r),"text/html").body;return null===a?this.inertDocumentHelper.getInertBodyElement(r):(a.removeChild(a.firstChild),a)}catch{return null}}}class Cv{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const a=this.inertDocument.createElement("template");return a.innerHTML=au(r),a}}const Tv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Rp(o){return(o=String(o)).match(Tv)?o:"unsafe:"+o}function Wl(o){const r={};for(const a of o.split(","))r[a]=!0;return r}function ph(...o){const r={};for(const a of o)for(const h in a)a.hasOwnProperty(h)&&(r[h]=!0);return r}const Lp=Wl("area,br,col,hr,img,wbr"),mh=Wl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),m_=Wl("rp,rt"),Bm=ph(Lp,ph(mh,Wl("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ph(m_,Wl("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ph(m_,mh)),Um=Wl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),f_=ph(Um,Wl("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Wl("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Mv=Wl("script,style,template");class kv{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let a=r.firstChild,h=!0;for(;a;)if(a.nodeType===Node.ELEMENT_NODE?h=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,h&&a.firstChild)a=a.firstChild;else for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let _=this.checkClobberedElement(a,a.nextSibling);if(_){a=_;break}a=this.checkClobberedElement(a,a.parentNode)}return this.buf.join("")}startElement(r){const a=r.nodeName.toLowerCase();if(!Bm.hasOwnProperty(a))return this.sanitizedSomething=!0,!Mv.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);const h=r.attributes;for(let _=0;_<h.length;_++){const C=h.item(_),J=C.name,se=J.toLowerCase();if(!f_.hasOwnProperty(se)){this.sanitizedSomething=!0;continue}let Me=C.value;Um[se]&&(Me=Rp(Me)),this.buf.push(" ",J,'="',__(Me),'"')}return this.buf.push(">"),!0}endElement(r){const a=r.nodeName.toLowerCase();Bm.hasOwnProperty(a)&&!Lp.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))}chars(r){this.buf.push(__(r))}checkClobberedElement(r,a){if(a&&(r.compareDocumentPosition(a)&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 a}}const Sv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ev=/([^\#-~ |!])/g;function __(o){return o.replace(/&/g,"&amp;").replace(Sv,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(Ev,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Np;function g_(o,r){let a=null;try{Np=Np||p_(o);let h=r?String(r):"";a=Np.getInertBodyElement(h);let _=5,C=h;do{if(0===_)throw new Error("Failed to sanitize html because the input is unstable");_--,h=C,C=a.innerHTML,a=Np.getInertBodyElement(h)}while(h!==C);return au((new kv).sanitizeChildren(Zm(a)||a))}finally{if(a){const h=Zm(a)||a;for(;h.firstChild;)h.removeChild(h.firstChild)}}}function Zm(o){return"content"in o&&function Ov(o){return o.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===o.nodeName}(o)?o.content:null}var ud=function(o){return o[o.NONE=0]="NONE",o[o.HTML=1]="HTML",o[o.STYLE=2]="STYLE",o[o.SCRIPT=3]="SCRIPT",o[o.URL=4]="URL",o[o.RESOURCE_URL=5]="RESOURCE_URL",o}(ud||{});function b_(o){const r=fh();return r?u_(r.sanitize(ud.HTML,o)||""):su(o,"HTML")?u_($l(o)):g_(As(),ue(o))}function Hm(o){const r=fh();return r?r.sanitize(ud.URL,o)||"":su(o,"URL")?$l(o):Rp(ue(o))}function Gm(o){const r=fh();if(r)return Fm(r.sanitize(ud.RESOURCE_URL,o)||"");if(su(o,"ResourceURL"))return Fm($l(o));throw new Jt(904,!1)}function v_(o,r,a){return function Rv(o,r){return"src"===r&&("embed"===o||"frame"===o||"iframe"===o||"media"===o||"script"===o)||"href"===r&&("base"===o||"link"===o)?Gm:Hm}(r,a)(o)}function fh(){const o=si();return o&&o[ea].sanitizer}class Jm{}let Up=()=>null;function qm(o,r,a=!1){return Up(o,r,a)}class T_{}class M_{}class Hv{resolveComponentFactory(r){throw function k_(o){const r=Error(`No component factory found for ${rn(o)}.`);return r.ngComponent=o,r}(r)}}let yh=(()=>{class o{static#e=this.NULL=new Hv}return o})();function Gv(){return du(or(),si())}function du(o,r){return new xh(Hr(o,r))}let xh=(()=>{class o{constructor(a){this.nativeElement=a}static#e=this.__NG_ELEMENT_ID__=Gv}return o})();function Jv(o){return o instanceof xh?o.nativeElement:o}class E_{}let Vv=(()=>{class o{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function zv(){const o=si(),a=_a(or().index,o);return(Jn(a)?a:o)[uo]}()}return o})(),Qv=(()=>{class o{static#e=this.\u0275prov=Vn({token:o,providedIn:"root",factory:()=>null})}return o})();const Wm={};function qv(o){const r=U(null);try{return o()}finally{U(r)}}function Gp(o){return!!Xm(o)&&(Array.isArray(o)||!(o instanceof Map)&&Symbol.iterator in o)}function Xm(o){return null!==o&&("function"==typeof o||"object"==typeof o)}class O_{constructor(){}supports(r){return Gp(r)}create(r){return new Xv(r)}}const Wv=(o,r)=>r;class Xv{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||Wv}forEachItem(r){let a;for(a=this._itHead;null!==a;a=a._next)r(a)}forEachOperation(r){let a=this._itHead,h=this._removalsHead,_=0,C=null;for(;a||h;){const J=!h||a&&a.currentIndex<A_(h,_,C)?a:h,se=A_(J,_,C),Me=J.currentIndex;if(J===h)_--,h=h._nextRemoved;else if(a=a._next,null==J.previousIndex)_++;else{C||(C=[]);const at=se-_,St=Me-_;if(at!=St){for(let wn=0;wn<at;wn++){const Rn=wn<C.length?C[wn]:C[wn]=0,ni=Rn+wn;St<=ni&&ni<at&&(C[wn]=Rn+1)}C[J.previousIndex]=St-at}}se!==Me&&r(J,se,Me)}}forEachPreviousItem(r){let a;for(a=this._previousItHead;null!==a;a=a._nextPrevious)r(a)}forEachAddedItem(r){let a;for(a=this._additionsHead;null!==a;a=a._nextAdded)r(a)}forEachMovedItem(r){let a;for(a=this._movesHead;null!==a;a=a._nextMoved)r(a)}forEachRemovedItem(r){let a;for(a=this._removalsHead;null!==a;a=a._nextRemoved)r(a)}forEachIdentityChange(r){let a;for(a=this._identityChangesHead;null!==a;a=a._nextIdentityChange)r(a)}diff(r){if(null==r&&(r=[]),!Gp(r))throw new Jt(900,!1);return this.check(r)?this:null}onDestroy(){}check(r){this._reset();let _,C,J,a=this._itHead,h=!1;if(Array.isArray(r)){this.length=r.length;for(let se=0;se<this.length;se++)C=r[se],J=this._trackByFn(se,C),null!==a&&Object.is(a.trackById,J)?(h&&(a=this._verifyReinsertion(a,C,J,se)),Object.is(a.item,C)||this._addIdentityChange(a,C)):(a=this._mismatch(a,C,J,se),h=!0),a=a._next}else _=0,function $v(o,r){if(Array.isArray(o))for(let a=0;a<o.length;a++)r(o[a]);else{const a=o[Symbol.iterator]();let h;for(;!(h=a.next()).done;)r(h.value)}}(r,se=>{J=this._trackByFn(_,se),null!==a&&Object.is(a.trackById,J)?(h&&(a=this._verifyReinsertion(a,se,J,_)),Object.is(a.item,se)||this._addIdentityChange(a,se)):(a=this._mismatch(a,se,J,_),h=!0),a=a._next,_++}),this.length=_;return this._truncate(a),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,a,h,_){let C;return null===r?C=this._itTail:(C=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(h,null))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._reinsertAfter(r,C,_)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(h,_))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._moveAfter(r,C,_)):r=this._addAfter(new e0(a,h),C,_),r}_verifyReinsertion(r,a,h,_){let C=null===this._unlinkedRecords?null:this._unlinkedRecords.get(h,null);return null!==C?r=this._reinsertAfter(C,r._prev,_):r.currentIndex!=_&&(r.currentIndex=_,this._addToMoves(r,_)),r}_truncate(r){for(;null!==r;){const a=r._next;this._addToRemovals(this._unlink(r)),r=a}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,a,h){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const _=r._prevRemoved,C=r._nextRemoved;return null===_?this._removalsHead=C:_._nextRemoved=C,null===C?this._removalsTail=_:C._prevRemoved=_,this._insertAfter(r,a,h),this._addToMoves(r,h),r}_moveAfter(r,a,h){return this._unlink(r),this._insertAfter(r,a,h),this._addToMoves(r,h),r}_addAfter(r,a,h){return this._insertAfter(r,a,h),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,a,h){const _=null===a?this._itHead:a._next;return r._next=_,r._prev=a,null===_?this._itTail=r:_._prev=r,null===a?this._itHead=r:a._next=r,null===this._linkedRecords&&(this._linkedRecords=new D_),this._linkedRecords.put(r),r.currentIndex=h,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const a=r._prev,h=r._next;return null===a?this._itHead=h:a._next=h,null===h?this._itTail=a:h._prev=a,r}_addToMoves(r,a){return r.previousIndex===a||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new D_),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,a){return r.item=a,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class e0{constructor(r,a){this.item=r,this.trackById=a,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 t0{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,a){let h;for(h=this._head;null!==h;h=h._nextDup)if((null===a||a<=h.currentIndex)&&Object.is(h.trackById,r))return h;return null}remove(r){const a=r._prevDup,h=r._nextDup;return null===a?this._head=h:a._nextDup=h,null===h?this._tail=a:h._prevDup=a,null===this._head}}class D_{constructor(){this.map=new Map}put(r){const a=r.trackById;let h=this.map.get(a);h||(h=new t0,this.map.set(a,h)),h.add(r)}get(r,a){const _=this.map.get(r);return _?_.get(r,a):null}remove(r){const a=r.trackById;return this.map.get(a).remove(r)&&this.map.delete(a),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function A_(o,r,a){const h=o.previousIndex;if(null===h)return h;let _=0;return a&&h<a.length&&(_=a[h]),h+r+_}class P_{constructor(){}supports(r){return r instanceof Map||Xm(r)}create(){return new n0}}class n0{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(r){let a;for(a=this._mapHead;null!==a;a=a._next)r(a)}forEachPreviousItem(r){let a;for(a=this._previousMapHead;null!==a;a=a._nextPrevious)r(a)}forEachChangedItem(r){let a;for(a=this._changesHead;null!==a;a=a._nextChanged)r(a)}forEachAddedItem(r){let a;for(a=this._additionsHead;null!==a;a=a._nextAdded)r(a)}forEachRemovedItem(r){let a;for(a=this._removalsHead;null!==a;a=a._nextRemoved)r(a)}diff(r){if(r){if(!(r instanceof Map||Xm(r)))throw new Jt(900,!1)}else r=new Map;return this.check(r)?this:null}onDestroy(){}check(r){this._reset();let a=this._mapHead;if(this._appendAfter=null,this._forEach(r,(h,_)=>{if(a&&a.key===_)this._maybeAddToChanges(a,h),this._appendAfter=a,a=a._next;else{const C=this._getOrCreateRecordForKey(_,h);a=this._insertBeforeOrAppend(a,C)}}),a){a._prev&&(a._prev._next=null),this._removalsHead=a;for(let h=a;null!==h;h=h._nextRemoved)h===this._mapHead&&(this._mapHead=null),this._records.delete(h.key),h._nextRemoved=h._next,h.previousValue=h.currentValue,h.currentValue=null,h._prev=null,h._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,a){if(r){const h=r._prev;return a._next=r,a._prev=h,r._prev=a,h&&(h._next=a),r===this._mapHead&&(this._mapHead=a),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=a,a._prev=this._appendAfter):this._mapHead=a,this._appendAfter=a,null}_getOrCreateRecordForKey(r,a){if(this._records.has(r)){const _=this._records.get(r);this._maybeAddToChanges(_,a);const C=_._prev,J=_._next;return C&&(C._next=J),J&&(J._prev=C),_._next=null,_._prev=null,_}const h=new Jp(r);return this._records.set(r,h),h.currentValue=a,this._addToAdditions(h),h}_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,a){Object.is(a,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=a,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,a){r instanceof Map?r.forEach(a):Object.keys(r).forEach(h=>a(r[h],h))}}class Jp{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 I_(){return new ef([new O_])}let ef=(()=>{class o{static#e=this.\u0275prov=Vn({token:o,providedIn:"root",factory:I_});constructor(a){this.factories=a}static create(a,h){if(null!=h){const _=h.factories.slice();a=a.concat(_)}return new o(a)}static extend(a){return{provide:o,useFactory:h=>o.create(a,h||I_()),deps:[[o,new Ll,new Rl]]}}find(a){const h=this.factories.find(_=>_.supports(a));if(null!=h)return h;throw new Jt(901,!1)}}return o})();function R_(){return new Ch([new P_])}let Ch=(()=>{class o{static#e=this.\u0275prov=Vn({token:o,providedIn:"root",factory:R_});constructor(a){this.factories=a}static create(a,h){if(h){const _=h.factories.slice();a=a.concat(_)}return new o(a)}static extend(a){return{provide:o,useFactory:h=>o.create(a,h||R_()),deps:[[o,new Ll,new Rl]]}}find(a){const h=this.factories.find(_=>_.supports(a));if(h)return h;throw new Jt(901,!1)}}return o})();function wh(o,r,a,h,_=!1){for(;null!==a;){const C=r[a.index];null!==C&&h.push(pr(C)),ti(C)&&a0(C,h);const J=a.type;if(8&J)wh(o,r,a.child,h);else if(32&J){const se=Ar(a,r);let Me;for(;Me=se();)h.push(Me)}else if(16&J){const se=a_(r,a);if(Array.isArray(se))h.push(...se);else{const Me=Kr(r[nr]);wh(Me[At],Me,se,h,!0)}}a=_?a.projectionNext:a.next}return h}function a0(o,r){for(let a=Tn;a<o.length;a++){const h=o[a],_=h[At].firstChild;null!==_&&wh(h[At],h,_,r)}o[aa]!==o[li]&&r.push(o[aa])}let s0=[];const L_={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:o=>{ws(o.lView)},consumerOnSignalRead(){this.lView[ra]=this}};function N_(o){return B_(o[qi])}function F_(o){return B_(o[Or])}function B_(o){for(;null!==o&&!ti(o);)o=o[Or];return o}function tf(o){return o.ngOriginalError}class Dc{constructor(){this._console=console}handleError(r){const a=this._findOriginalError(r);this._console.error("ERROR",r),a&&this._console.error("ORIGINAL ERROR",a)}_findOriginalError(r){let a=r&&tf(r);for(;a&&tf(a);)a=tf(a);return a||null}}const Z_=new en("",{providedIn:"root",factory:()=>yn(Dc).handleError.bind(void 0)}),G_=new en("",{providedIn:"root",factory:()=>!1}),No={};function j_(o=1){Y_(Oo(),si(),ca()+o,!1)}function Y_(o,r,a,h){if(!h)if(3==(3&r[Si])){const C=o.preOrderCheckHooks;null!==C&&Gc(r,C,a)}else{const C=o.preOrderHooks;null!==C&&Jc(r,C,0,a)}Zs(a)}function uu(o,r=xi.Default){const a=si();return null===a?it(o,r):kl(or(),a,nt(o),r)}function q_(){throw new Error("invalid")}function K_(o,r,a,h,_,C){const J=U(null);try{let se=null;_&zn.SignalBased&&(se=r[h][p]),null!==se&&void 0!==se.transformFn&&(C=se.transformFn(C)),_&zn.HasDecoratorInputTransform&&(C=o.inputTransforms[h].call(r,C)),null!==o.setInput?o.setInput(r,se,C,a,h):Ra(r,se,h,C)}finally{U(J)}}function zp(o,r,a,h,_,C,J,se,Me,at,St){const qt=r.blueprint.slice();return qt[li]=_,qt[Si]=204|h,(null!==at||o&&2048&o[Si])&&(qt[Si]|=2048),vl(qt),qt[Gi]=qt[oa]=o,qt[Ii]=a,qt[ea]=J||o&&o[ea],qt[uo]=se||o&&o[uo],qt[no]=Me||o&&o[no]||null,qt[Vr]=C,qt[Ia]=function Sc(){return zl++}(),qt[qo]=St,qt[Ga]=at,qt[nr]=2==r.type?o[nr]:qt,qt}function hu(o,r,a,h,_){let C=o.data[r];if(null===C)C=nf(o,r,a,h,_),function fn(){return ji.lFrame.inI18n}()&&(C.flags|=32);else if(64&C.type){C.type=a,C.value=h,C.attrs=_;const J=os();C.injectorIndex=null===J?-1:J.injectorIndex}return Do(C,!0),C}function nf(o,r,a,h,_){const C=ms(),J=sc(),Me=o.data[r]=function w0(o,r,a,h,_,C){let J=r?r.injectorIndex:-1,se=0;return ns()&&(se|=128),{type:a,index:h,insertBeforeIndex:null,injectorIndex:J,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:se,providerIndexes:0,value:_,attrs:C,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:r,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,J?C:C&&C.parent,a,r,h,_);return null===o.firstChild&&(o.firstChild=Me),null!==C&&(J?null==C.child&&null!==Me.parent&&(C.child=Me):null===C.next&&(C.next=Me,Me.prev=C)),Me}function Th(o,r,a,h){if(0===a)return-1;const _=r.length;for(let C=0;C<a;C++)r.push(h),o.blueprint.push(h),o.data.push(null);return _}function $_(o,r,a,h,_){const C=ca(),J=2&h;try{Zs(-1),J&&r.length>ho&&Y_(o,r,ho,!1),za(J?2:0,_),a(h,_)}finally{Zs(C),za(J?3:1,_)}}function rf(o,r,a){if(Mi(r)){const h=U(null);try{const C=r.directiveEnd;for(let J=r.directiveStart;J<C;J++){const se=o.data[J];se.contentQueries&&se.contentQueries(1,a[J],J)}}finally{U(h)}}}function af(o,r,a){oc()&&(function D0(o,r,a,h){const _=a.directiveStart,C=a.directiveEnd;Ri(a)&&function F0(o,r,a){const h=Hr(r,o),_=W_(a);let J=16;a.signals?J=4096:a.onPush&&(J=64);const se=Qp(o,zp(o,_,null,J,h,r,null,o[ea].rendererFactory.createRenderer(h,a),null,null,null));o[r.index]=se}(r,a,o.data[_+a.componentOffset]),o.firstCreatePass||Ml(a,r),Yr(h,r);const J=a.initialInputs;for(let se=_;se<C;se++){const Me=o.data[se],at=Ss(r,o,se,a);Yr(at,r),null!==J&&B0(0,se-_,at,Me,0,J),Ei(Me)&&(_a(a.index,r)[Ii]=Ss(r,o,se,a))}}(o,r,a,Hr(a,r)),64==(64&a.flags)&&ig(o,r,a))}function sf(o,r,a=Hr){const h=r.localNames;if(null!==h){let _=r.index+1;for(let C=0;C<h.length;C+=2){const J=h[C+1],se=-1===J?a(r,o):o[J];o[_++]=se}}}function W_(o){const r=o.tView;return null===r||r.incompleteFirstPass?o.tView=lf(1,null,o.template,o.decls,o.vars,o.directiveDefs,o.pipeDefs,o.viewQuery,o.schemas,o.consts,o.id):r}function lf(o,r,a,h,_,C,J,se,Me,at,St){const qt=ho+h,wn=qt+_,Rn=function g0(o,r){const a=[];for(let h=0;h<r;h++)a.push(h<o?null:No);return a}(qt,wn),ni="function"==typeof at?at():at;return Rn[At]={type:o,blueprint:Rn,template:a,queries:null,viewQuery:se,declTNode:r,data:Rn.slice().fill(null,qt),bindingStartIndex:qt,expandoStartIndex:wn,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof C?C():C,pipeRegistry:"function"==typeof J?J():J,firstChild:null,schemas:Me,consts:ni,incompleteFirstPass:!1,ssrId:St}}let X_=()=>null;function eg(o,r,a,h,_){for(let C in r){if(!r.hasOwnProperty(C))continue;const J=r[C];if(void 0===J)continue;h??={};let se,Me=zn.None;Array.isArray(J)?(se=J[0],Me=J[1]):se=J;let at=C;if(null!==_){if(!_.hasOwnProperty(C))continue;at=_[C]}0===o?tg(h,a,at,se,Me):tg(h,a,at,se)}return h}function tg(o,r,a,h,_){let C;o.hasOwnProperty(a)?(C=o[a]).push(r,h):C=o[a]=[r,h],void 0!==_&&C.push(_)}function bs(o,r,a,h,_,C,J,se){const Me=Hr(r,a);let St,at=r.inputs;!se&&null!=at&&(St=at[h])?(mf(o,a,St,h,_),Ri(r)&&function k0(o,r){const a=_a(r,o);16&a[Si]||(a[Si]|=64)}(a,r.index)):3&r.type&&(h=function M0(o){return"class"===o?"className":"for"===o?"htmlFor":"formaction"===o?"formAction":"innerHtml"===o?"innerHTML":"readonly"===o?"readOnly":"tabindex"===o?"tabIndex":o}(h),_=null!=J?J(_,r.value||"",h):_,C.setProperty(Me,h,_))}function cf(o,r,a,h){if(oc()){const _=null===h?null:{"":-1},C=function P0(o,r){const a=o.directiveRegistry;let h=null,_=null;if(a)for(let C=0;C<a.length;C++){const J=a[C];if(Lt(r,J.selectors,!1))if(h||(h=[]),Ei(J))if(null!==J.findHostDirectiveDefs){const se=[];_=_||new Map,J.findHostDirectiveDefs(J,se,_),h.unshift(...se,J),df(o,r,se.length)}else h.unshift(J),df(o,r,0);else _=_||new Map,J.findHostDirectiveDefs?.(J,h,_),h.push(J)}return null===h?null:[h,_]}(o,a);let J,se;null===C?J=se=null:[J,se]=C,null!==J&&ng(o,r,a,J,_,se),_&&function I0(o,r,a){if(r){const h=o.localNames=[];for(let _=0;_<r.length;_+=2){const C=a[r[_+1]];if(null==C)throw new Jt(-301,!1);h.push(r[_],C)}}}(a,h,_)}a.mergedAttrs=$i(a.mergedAttrs,a.attrs)}function ng(o,r,a,h,_,C){for(let at=0;at<h.length;at++)zc(Ml(a,r),o,h[at].type);!function L0(o,r,a){o.flags|=1,o.directiveStart=r,o.directiveEnd=r+a,o.providerIndexes=r}(a,o.data.length,h.length);for(let at=0;at<h.length;at++){const St=h[at];St.providersResolver&&St.providersResolver(St)}let J=!1,se=!1,Me=Th(o,r,h.length,null);for(let at=0;at<h.length;at++){const St=h[at];a.mergedAttrs=$i(a.mergedAttrs,St.hostAttrs),N0(o,a,r,Me,St),R0(Me,St,_),null!==St.contentQueries&&(a.flags|=4),(null!==St.hostBindings||null!==St.hostAttrs||0!==St.hostVars)&&(a.flags|=64);const qt=St.type.prototype;!J&&(qt.ngOnChanges||qt.ngOnInit||qt.ngDoCheck)&&((o.preOrderHooks??=[]).push(a.index),J=!0),!se&&(qt.ngOnChanges||qt.ngDoCheck)&&((o.preOrderCheckHooks??=[]).push(a.index),se=!0),Me++}!function T0(o,r,a){const _=r.directiveEnd,C=o.data,J=r.attrs,se=[];let Me=null,at=null;for(let St=r.directiveStart;St<_;St++){const qt=C[St],wn=a?a.get(qt):null,ni=wn?wn.outputs:null;Me=eg(0,qt.inputs,St,Me,wn?wn.inputs:null),at=eg(1,qt.outputs,St,at,ni);const vi=null===Me||null===J||te(r)?null:U0(Me,St,J);se.push(vi)}null!==Me&&(Me.hasOwnProperty("class")&&(r.flags|=8),Me.hasOwnProperty("style")&&(r.flags|=16)),r.initialInputs=se,r.inputs=Me,r.outputs=at}(o,a,C)}function ig(o,r,a){const h=a.directiveStart,_=a.directiveEnd,C=a.index,J=function Ti(){return ji.lFrame.currentDirectiveIndex}();try{Zs(C);for(let se=h;se<_;se++){const Me=o.data[se],at=r[se];io(se),(null!==Me.hostBindings||0!==Me.hostVars||null!==Me.hostAttrs)&&A0(Me,at)}}finally{Zs(-1),io(J)}}function A0(o,r){null!==o.hostBindings&&o.hostBindings(1,r)}function df(o,r,a){r.componentOffset=a,(o.components??=[]).push(r.index)}function R0(o,r,a){if(a){if(r.exportAs)for(let h=0;h<r.exportAs.length;h++)a[r.exportAs[h]]=o;Ei(r)&&(a[""]=o)}}function N0(o,r,a,h,_){o.data[h]=_;const C=_.factory||(_.factory=Qr(_.type)),J=new Tl(C,Ei(_),uu);o.blueprint[h]=J,a[h]=J,function E0(o,r,a,h,_){const C=_.hostBindings;if(C){let J=o.hostBindingOpCodes;null===J&&(J=o.hostBindingOpCodes=[]);const se=~r.index;(function O0(o){let r=o.length;for(;r>0;){const a=o[--r];if("number"==typeof a&&a<0)return a}return 0})(J)!=se&&J.push(se),J.push(a,h,C)}}(o,r,h,Th(o,a,_.hostVars,No),_)}function hl(o,r,a,h,_,C){const J=Hr(o,r);!function uf(o,r,a,h,_,C,J){if(null==C)o.removeAttribute(r,_,a);else{const se=null==J?ue(C):J(C,h||"",_);o.setAttribute(r,_,se,a)}}(r[uo],J,C,o.value,a,h,_)}function B0(o,r,a,h,_,C){const J=C[r];if(null!==J)for(let se=0;se<J.length;)K_(h,a,J[se++],J[se++],J[se++],J[se++])}function U0(o,r,a){let h=null,_=0;for(;_<a.length;){const C=a[_];if(0!==C)if(5!==C){if("number"==typeof C)break;if(o.hasOwnProperty(C)){null===h&&(h=[]);const J=o[C];for(let se=0;se<J.length;se+=3)if(J[se]===r){h.push(C,J[se+1],J[se+2],a[_+1]);break}}_+=2}else _+=2;else _+=4}return h}function og(o,r,a,h){return[o,!0,0,r,null,h,null,a,null,null]}function rg(o,r){const a=o.contentQueries;if(null!==a){const h=U(null);try{for(let _=0;_<a.length;_+=2){const J=a[_+1];if(-1!==J){const se=o.data[J];la(a[_]),se.contentQueries(2,r[J],J)}}}finally{U(h)}}}function Qp(o,r){return o[qi]?o[zr][Or]=r:o[qi]=r,o[zr]=r,r}function hf(o,r,a){la(0);const h=U(null);try{r(o,a)}finally{U(h)}}function ag(o){return o[To]||(o[To]=[])}function pf(o){return o.cleanup||(o.cleanup=[])}function sg(o,r,a){return(null===o||Ei(o))&&(a=function Ws(o){for(;Array.isArray(o);){if("object"==typeof o[Ja])return o;o=o[li]}return null}(a[r.index])),a[uo]}function jp(o,r){const a=o[no],h=a?a.get(Dc,null):null;h&&h.handleError(r)}function mf(o,r,a,h,_){for(let C=0;C<a.length;){const J=a[C++],se=a[C++],Me=a[C++];K_(o.data[J],r[J],h,se,Me,_)}}function Xl(o,r,a){const h=ts(r,o);!function ql(o,r,a){o.setValue(r,a)}(o[uo],h,a)}function G0(o,r,a,h){const _=r[Si];if(256==(256&_))return;r[ea].inlineEffectRunner?.flush(),Us(r);let J=null,se=null;(function J0(o){return 2!==o.type})(o)&&(se=function Gx(o){return o[ra]??function Jx(o){const r=s0.pop()??Object.create(L_);return r.lView=o,r}(o)}(r),J=function oe(o){return o&&(o.nextProducerIndex=0),U(o)}(se));try{vl(r),function Je(o){return ji.lFrame.bindingIndex=o}(o.bindingStartIndex),null!==a&&$_(o,r,a,2,h);const Me=3==(3&_);if(Me){const qt=o.preOrderCheckHooks;null!==qt&&Gc(r,qt,null)}else{const qt=o.preOrderHooks;null!==qt&&Jc(r,qt,0,null),Md(r,0)}if(function V0(o){for(let r=N_(o);null!==r;r=F_(r)){if(!(r[Si]&Zn.HasTransplantedViews))continue;const a=r[dn];for(let h=0;h<a.length;h++){Fc(a[h])}}}(r),lg(r,0),null!==o.contentQueries&&rg(o,r),Me){const qt=o.contentCheckHooks;null!==qt&&Gc(r,qt)}else{const qt=o.contentHooks;null!==qt&&Jc(r,qt,1),Md(r,1)}!function _0(o,r){const a=o.hostBindingOpCodes;if(null!==a)try{for(let h=0;h<a.length;h++){const _=a[h];if(_<0)Zs(~_);else{const C=_,J=a[++h],se=a[++h];Hn(J,C),se(2,r[C])}}}finally{Zs(-1)}}(o,r);const at=o.components;null!==at&&dg(r,at,0);const St=o.viewQuery;if(null!==St&&hf(2,St,h),Me){const qt=o.viewCheckHooks;null!==qt&&Gc(r,qt)}else{const qt=o.viewHooks;null!==qt&&Jc(r,qt,2),Md(r,2)}if(!0===o.firstUpdatePass&&(o.firstUpdatePass=!1),r[xs]){for(const qt of r[xs])qt();r[xs]=null}r[Si]&=-73}catch(Me){throw ws(r),Me}finally{null!==se&&(function le(o,r){if(U(r),o&&void 0!==o.producerNode&&void 0!==o.producerIndexOfThis&&void 0!==o.producerLastReadVersion){if(H(o))for(let a=o.nextProducerIndex;a<o.producerNode.length;a++)q(o.producerNode[a],o.producerIndexOfThis[a]);for(;o.producerNode.length>o.nextProducerIndex;)o.producerNode.pop(),o.producerLastReadVersion.pop(),o.producerIndexOfThis.pop()}}(se,J),function Vx(o){o.lView[ra]!==o&&(o.lView=null,s0.push(o))}(se)),lc()}}function lg(o,r){for(let a=N_(o);null!==a;a=F_(a))for(let h=Tn;h<a.length;h++)cg(a[h],r)}function z0(o,r,a){cg(_a(r,o),a)}function cg(o,r){Lc(o)&&_f(o,r)}function _f(o,r){const h=o[At],_=o[Si],C=o[ra];let J=!!(0===r&&16&_);if(J||=!!(64&_&&0===r),J||=!!(1024&_),J||=!(!C?.dirty||!ee(C)),C&&(C.dirty=!1),o[Si]&=-9217,J)G0(h,o,h.template,o[Ii]);else if(8192&_){lg(o,1);const se=h.components;null!==se&&dg(o,se,1)}}function dg(o,r,a){for(let h=0;h<r.length;h++)z0(o,r[h],a)}function Mh(o){for(o[ea].changeDetectionScheduler?.notify();o;){o[Si]|=64;const r=Kr(o);if(Po(o)&&!r)return o;o=r}return null}class kh{get rootNodes(){const r=this._lView,a=r[At];return wh(a,r,a.firstChild,[])}constructor(r,a,h=!0){this._lView=r,this._cdRefInjectingView=a,this.notifyErrorHandler=h,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Ii]}set context(r){this._lView[Ii]=r}get destroyed(){return 256==(256&this._lView[Si])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const r=this._lView[Gi];if(ti(r)){const a=r[8],h=a?a.indexOf(this):-1;h>-1&&(ld(r,h),_c(a,h))}this._attachedToViewContainer=!1}uh(this._lView[At],this._lView)}onDestroy(r){Qa(this._lView,r)}markForCheck(){Mh(this._cdRefInjectingView||this._lView)}detach(){this._lView[Si]&=-129}reattach(){hs(this._lView),this._lView[Si]|=128}detectChanges(){this._lView[Si]|=1024,function Yp(o,r=!0){const a=o[ea],h=a.rendererFactory;h.begin?.();try{!function H0(o){_f(o,0);let r=0;for(;nc(o);){if(100===r)throw new Jt(103,!1);r++,_f(o,1)}}(o)}catch(C){throw r&&jp(o,C),C}finally{h.end?.(),a.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Jt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,ru(this._lView[At],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new Jt(902,!1);this._appRef=r,hs(this._lView)}}let ug=(()=>{class o{static#e=this.__NG_ELEMENT_ID__=Q0}return o})();function Q0(o){return function j0(o,r,a){if(Ri(o)&&!a){const h=_a(o.index,r);return new kh(h,h)}return 47&o.type?new kh(r[nr],r):null}(or(),si(),16==(16&o))}let Sh=(()=>{class o{static#e=this.__NG_ELEMENT_ID__=hg;static#t=this.__NG_ENV_ID__=a=>a}return o})();class K0 extends Sh{constructor(r){super(),this._lView=r}onDestroy(r){return Qa(this._lView,r),()=>function yl(o,r){if(null===o[Ea])return;const a=o[Ea].indexOf(r);-1!==a&&o[Ea].splice(a,1)}(this._lView,r)}}function hg(){return new K0(si())}const ey=new Set;function hd(o){ey.has(o)||(ey.add(o),performance?.mark?.("mark_feature_usage",{detail:{feature:o}}))}function Kp(o){return r=>{setTimeout(o,void 0,r)}}const Is=class ty extends Re.x{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,a,h){let _=r,C=a||(()=>null),J=h;if(r&&"object"==typeof r){const Me=r;_=Me.next?.bind(Me),C=Me.error?.bind(Me),J=Me.complete?.bind(Me)}this.__isAsync&&(C=Kp(C),_&&(_=Kp(_)),J&&(J=Kp(J)));const se=super.subscribe({next:_,error:C,complete:J});return r instanceof Ft.w0&&r.add(se),se}};function pg(...o){}class ma{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:h=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Is(!1),this.onMicrotaskEmpty=new Is(!1),this.onStable=new Is(!1),this.onError=new Is(!1),typeof Zone>"u")throw new Jt(908,!1);Zone.assertZonePatched();const _=this;_._nesting=0,_._outer=_._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(_._inner=_._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(_._inner=_._inner.fork(Zone.longStackTraceZoneSpec)),_.shouldCoalesceEventChangeDetection=!h&&a,_.shouldCoalesceRunChangeDetection=h,_.lastRequestAnimationFrameId=-1,_.nativeRequestAnimationFrame=function ny(){const o="function"==typeof Rt.requestAnimationFrame;let r=Rt[o?"requestAnimationFrame":"setTimeout"],a=Rt[o?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&a){const h=r[Zone.__symbol__("OriginalDelegate")];h&&(r=h);const _=a[Zone.__symbol__("OriginalDelegate")];_&&(a=_)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:a}}().nativeRequestAnimationFrame,function ry(o){const r=()=>{!function oy(o){o.isCheckStableRunning||-1!==o.lastRequestAnimationFrameId||(o.lastRequestAnimationFrameId=o.nativeRequestAnimationFrame.call(Rt,()=>{o.fakeTopEventTask||(o.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{o.lastRequestAnimationFrameId=-1,bf(o),o.isCheckStableRunning=!0,gf(o),o.isCheckStableRunning=!1},void 0,()=>{},()=>{})),o.fakeTopEventTask.invoke()}),bf(o))}(o)};o._inner=o._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(a,h,_,C,J,se)=>{if(function ay(o){return!(!Array.isArray(o)||1!==o.length)&&!0===o[0].data?.__ignore_ng_zone__}(se))return a.invokeTask(_,C,J,se);try{return mg(o),a.invokeTask(_,C,J,se)}finally{(o.shouldCoalesceEventChangeDetection&&"eventTask"===C.type||o.shouldCoalesceRunChangeDetection)&&r(),fg(o)}},onInvoke:(a,h,_,C,J,se,Me)=>{try{return mg(o),a.invoke(_,C,J,se,Me)}finally{o.shouldCoalesceRunChangeDetection&&r(),fg(o)}},onHasTask:(a,h,_,C)=>{a.hasTask(_,C),h===_&&("microTask"==C.change?(o._hasPendingMicrotasks=C.microTask,bf(o),gf(o)):"macroTask"==C.change&&(o.hasPendingMacrotasks=C.macroTask))},onHandleError:(a,h,_,C)=>(a.handleError(_,C),o.runOutsideAngular(()=>o.onError.emit(C)),!1)})}(_)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ma.isInAngularZone())throw new Jt(909,!1)}static assertNotInAngularZone(){if(ma.isInAngularZone())throw new Jt(909,!1)}run(r,a,h){return this._inner.run(r,a,h)}runTask(r,a,h,_){const C=this._inner,J=C.scheduleEventTask("NgZoneEvent: "+_,r,iy,pg,pg);try{return C.runTask(J,a,h)}finally{C.cancelTask(J)}}runGuarded(r,a,h){return this._inner.runGuarded(r,a,h)}runOutsideAngular(r){return this._outer.run(r)}}const iy={};function gf(o){if(0==o._nesting&&!o.hasPendingMicrotasks&&!o.isStable)try{o._nesting++,o.onMicrotaskEmpty.emit(null)}finally{if(o._nesting--,!o.hasPendingMicrotasks)try{o.runOutsideAngular(()=>o.onStable.emit(null))}finally{o.isStable=!0}}}function bf(o){o.hasPendingMicrotasks=!!(o._hasPendingMicrotasks||(o.shouldCoalesceEventChangeDetection||o.shouldCoalesceRunChangeDetection)&&-1!==o.lastRequestAnimationFrameId)}function mg(o){o._nesting++,o.isStable&&(o.isStable=!1,o.onUnstable.emit(null))}function fg(o){o._nesting--,gf(o)}class _g{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Is,this.onMicrotaskEmpty=new Is,this.onStable=new Is,this.onError=new Is}run(r,a,h){return r.apply(a,h)}runGuarded(r,a,h){return r.apply(a,h)}runOutsideAngular(r){return r()}runTask(r,a,h,_){return r.apply(a,h)}}var pd=function(o){return o[o.EarlyRead=0]="EarlyRead",o[o.Write=1]="Write",o[o.MixedReadWrite=2]="MixedReadWrite",o[o.Read=3]="Read",o}(pd||{});const gg={destroy(){}};function vg(o,r){!r&&nd();const a=r?.injector??yn(Ya);if(!function Qs(o){return"browser"===(o??yn(Ya)).get(ad)}(a))return gg;hd("NgAfterNextRender");const h=a.get(Eh),_=h.handler??=new xg,C=r?.phase??pd.MixedReadWrite,J=()=>{_.unregister(Me),se()},se=a.get(Sh).onDestroy(J),Me=new yg(a,C,()=>{J(),o()});return _.register(Me),{destroy:J}}class yg{constructor(r,a,h){this.phase=a,this.callbackFn=h,this.zone=r.get(ma),this.errorHandler=r.get(Dc,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class xg{constructor(){this.executingCallbacks=!1,this.buckets={[pd.EarlyRead]:new Set,[pd.Write]:new Set,[pd.MixedReadWrite]:new Set,[pd.Read]:new Set},this.deferredCallbacks=new Set}register(r){(this.executingCallbacks?this.deferredCallbacks:this.buckets[r.phase]).add(r)}unregister(r){this.buckets[r.phase].delete(r),this.deferredCallbacks.delete(r)}execute(){let r=!1;this.executingCallbacks=!0;for(const a of Object.values(this.buckets))for(const h of a)r=!0,h.invoke();this.executingCallbacks=!1;for(const a of this.deferredCallbacks)this.buckets[a.phase].add(a);return this.deferredCallbacks.clear(),r}destroy(){for(const r of Object.values(this.buckets))r.clear();this.deferredCallbacks.clear()}}let Eh=(()=>{class o{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const a=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const _ of a)_();return!!this.handler?.execute()||a.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Vn({token:o,providedIn:"root",factory:()=>new o})}return o})();function cy(o,r){const a=_a(r,o),h=a[At];!function dy(o,r){for(let a=r.length;a<o.blueprint.length;a++)r.push(o.blueprint[a])}(h,a);const _=a[li];null!==_&&null===a[qo]&&(a[qo]=qm(_,a[no])),vf(h,a,a[Ii])}function vf(o,r,a){Us(r);try{const h=o.viewQuery;null!==h&&hf(1,h,a);const _=o.template;null!==_&&$_(o,r,_,1,a),o.firstCreatePass&&(o.firstCreatePass=!1),o.staticContentQueries&&rg(o,r),o.staticViewQueries&&hf(2,o.viewQuery,a);const C=o.components;null!==C&&function uy(o,r){for(let a=0;a<r.length;a++)cy(o,r[a])}(r,C)}catch(h){throw o.firstCreatePass&&(o.incompleteFirstPass=!0,o.firstCreatePass=!1),h}finally{r[Si]&=-5,lc()}}function $p(o,r,a){let h=a?o.styles:null,_=a?o.classes:null,C=0;if(null!==r)for(let J=0;J<r.length;J++){const se=r[J];"number"==typeof se?C=se:1==C?_=Nt(_,se):2==C&&(h=Nt(h,se+": "+r[++J]+";"))}a?o.styles=h:o.stylesWithoutHost=h,a?o.classes=_:o.classesWithoutHost=_}class Cg extends yh{constructor(r){super(),this.ngModule=r}resolveComponentFactory(r){const a=ei(r);return new md(a,this.ngModule)}}function wg(o){const r=[];for(const a in o){if(!o.hasOwnProperty(a))continue;const h=o[a];void 0!==h&&r.push({propName:Array.isArray(h)?h[0]:h,templateName:a})}return r}class pu{constructor(r,a){this.injector=r,this.parentInjector=a}get(r,a,h){h=Fi(h);const _=this.injector.get(r,Wm,h);return _!==Wm||a===Wm?_:this.parentInjector.get(r,a,h)}}class md extends M_{get inputs(){const r=this.componentDef,a=r.inputTransforms,h=wg(r.inputs);if(null!==a)for(const _ of h)a.hasOwnProperty(_.propName)&&(_.transform=a[_.propName]);return h}get outputs(){return wg(this.componentDef.outputs)}constructor(r,a){super(),this.componentDef=r,this.ngModule=a,this.componentType=r.type,this.selector=function yi(o){return o.map(Gn).join(",")}(r.selectors),this.ngContentSelectors=r.ngContentSelectors?r.ngContentSelectors:[],this.isBoundToModule=!!a}create(r,a,h,_){let C=(_=_||this.ngModule)instanceof ja?_:_?.injector;C&&null!==this.componentDef.getStandaloneInjector&&(C=this.componentDef.getStandaloneInjector(C)||C);const J=C?new pu(r,C):r,se=J.get(E_,null);if(null===se)throw new Jt(407,!1);const qt={rendererFactory:se,sanitizer:J.get(Qv,null),inlineEffectRunner:null,afterRenderEventManager:J.get(Eh,null),changeDetectionScheduler:J.get(Jm,null)},wn=se.createRenderer(null,this.componentDef),Rn=this.componentDef.selectors[0][0]||"div",ni=h?function b0(o,r,a,h){const C=h.get(G_,!1)||a===Qt.ShadowDom,J=o.selectRootElement(r,C);return function v0(o){X_(o)}(J),J}(wn,h,this.componentDef.encapsulation,J):gs(wn,Rn,function Wp(o){const r=o.toLowerCase();return"svg"===r?gl:"math"===r?"math":null}(Rn));let vi=512;this.componentDef.signals?vi|=4096:this.componentDef.onPush||(vi|=16);let Li=null;null!==ni&&(Li=qm(ni,J,!0));const Ki=lf(0,null,null,1,0,null,null,null,null,null,null),_i=zp(null,Ki,null,vi,null,null,qt,wn,J,null,Li);let Fo,lr;Us(_i);try{const gr=this.componentDef;let ds,Wb=null;gr.findHostDirectiveDefs?(ds=[],Wb=new Map,gr.findHostDirectiveDefs(gr,ds,Wb),ds.push(gr)):ds=[gr];const DE=function py(o,r){const a=o[At],h=ho;return o[h]=r,hu(a,h,2,"#host",null)}(_i,ni),AE=function my(o,r,a,h,_,C,J){const se=_[At];!function tC(o,r,a,h){for(const _ of o)r.mergedAttrs=$i(r.mergedAttrs,_.hostAttrs);null!==r.mergedAttrs&&($p(r,r.mergedAttrs,!0),null!==a&&d_(h,a,r))}(h,o,r,J);let Me=null;null!==r&&(Me=qm(r,_[no]));const at=C.rendererFactory.createRenderer(r,a);let St=16;a.signals?St=4096:a.onPush&&(St=64);const qt=zp(_,W_(a),null,St,_[o.index],o,C,at,null,null,Me);return se.firstCreatePass&&df(se,o,h.length-1),Qp(_,qt),_[o.index]=qt}(DE,ni,gr,ds,_i,qt,wn);lr=bl(Ki,ho),ni&&function nC(o,r,a,h){if(h)oi(o,a,["ng-version","17.1.1"]);else{const{attrs:_,classes:C}=function co(o){const r=[],a=[];let h=1,_=2;for(;h<o.length;){let C=o[h];if("string"==typeof C)2===_?""!==C&&r.push(C,o[++h]):8===_&&a.push(C);else{if(!bt(_))break;_=C}h++}return{attrs:r,classes:a}}(r.selectors[0]);_&&oi(o,a,_),C&&C.length>0&&c_(o,a,C.join(" "))}}(wn,gr,ni,h),void 0!==a&&function fy(o,r,a){const h=o.projection=[];for(let _=0;_<r.length;_++){const C=a[_];h.push(null!=C?Array.from(C):null)}}(lr,this.ngContentSelectors,a),Fo=function Xp(o,r,a,h,_,C){const J=or(),se=_[At],Me=Hr(J,_);ng(se,_,J,a,null,h);for(let St=0;St<a.length;St++)Yr(Ss(_,se,J.directiveStart+St,J),_);ig(se,_,J),Me&&Yr(Me,_);const at=Ss(_,se,J.directiveStart+J.componentOffset,J);if(o[Ii]=_[Ii]=at,null!==C)for(const St of C)St(at,r);return rf(se,J,o),at}(AE,gr,ds,Wb,_i,[Tg]),vf(Ki,_i,null)}finally{lc()}return new hy(this.componentType,Fo,du(lr,_i),_i,lr)}}class hy extends T_{constructor(r,a,h,_,C){super(),this.location=h,this._rootLView=_,this._tNode=C,this.previousInputValues=null,this.instance=a,this.hostView=this.changeDetectorRef=new kh(_,void 0,!1),this.componentType=r}setInput(r,a){const h=this._tNode.inputs;let _;if(null!==h&&(_=h[r])){if(this.previousInputValues??=new Map,this.previousInputValues.has(r)&&Object.is(this.previousInputValues.get(r),a))return;const C=this._rootLView;mf(C[At],C,_,r,a),this.previousInputValues.set(r,a),Mh(_a(this._tNode.index,C))}}get injector(){return new da(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(r){this.hostView.onDestroy(r)}}function Tg(){const o=or();Hc(si()[At],o)}function em(o){let r=function yf(o){return Object.getPrototypeOf(o.prototype).constructor}(o.type),a=!0;const h=[o];for(;r;){let _;if(Ei(o))_=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new Jt(903,!1);_=r.\u0275dir}if(_){if(a){h.push(_);const J=o;J.inputs=tm(o.inputs),J.inputTransforms=tm(o.inputTransforms),J.declaredInputs=tm(o.declaredInputs),J.outputs=tm(o.outputs);const se=_.hostBindings;se&&Sg(o,se);const Me=_.viewQuery,at=_.contentQueries;if(Me&&Mg(o,Me),at&&kg(o,at),_y(o,_),tn(o.outputs,_.outputs),Ei(_)&&_.data.animation){const St=o.data;St.animation=(St.animation||[]).concat(_.data.animation)}}const C=_.features;if(C)for(let J=0;J<C.length;J++){const se=C[J];se&&se.ngInherit&&se(o),se===em&&(a=!1)}}r=Object.getPrototypeOf(r)}!function gy(o){let r=0,a=null;for(let h=o.length-1;h>=0;h--){const _=o[h];_.hostVars=r+=_.hostVars,_.hostAttrs=$i(_.hostAttrs,a=$i(a,_.hostAttrs))}}(h)}function _y(o,r){for(const a in r.inputs){if(!r.inputs.hasOwnProperty(a)||o.inputs.hasOwnProperty(a))continue;const h=r.inputs[a];if(void 0!==h&&(o.inputs[a]=h,o.declaredInputs[a]=r.declaredInputs[a],null!==r.inputTransforms)){const _=Array.isArray(h)?h[0]:h;if(!r.inputTransforms.hasOwnProperty(_))continue;o.inputTransforms??={},o.inputTransforms[_]=r.inputTransforms[_]}}}function tm(o){return o===vn?{}:o===kn?[]:o}function Mg(o,r){const a=o.viewQuery;o.viewQuery=a?(h,_)=>{r(h,_),a(h,_)}:r}function kg(o,r){const a=o.contentQueries;o.contentQueries=a?(h,_,C)=>{r(h,_,C),a(h,_,C)}:r}function Sg(o,r){const a=o.hostBindings;o.hostBindings=a?(h,_)=>{r(h,_),a(h,_)}:r}function Og(o){const r=a=>{const h=(Array.isArray(o)?o:o()).map(_=>"function"==typeof _?{directive:nt(_),inputs:vn,outputs:vn}:{directive:nt(_.directive),inputs:Ag(_.inputs),outputs:Ag(_.outputs)});null===a.hostDirectives?(a.findHostDirectiveDefs=Dg,a.hostDirectives=h):a.hostDirectives.unshift(...h)};return r.ngInherit=!0,r}function Dg(o,r,a){if(null!==o.hostDirectives)for(const h of o.hostDirectives){const _=eo(h.directive);yy(_.declaredInputs,h.inputs),Dg(_,r,a),a.set(_,h),r.push(_)}}function Ag(o){if(void 0===o||0===o.length)return vn;const r={};for(let a=0;a<o.length;a+=2)r[o[a]]=o[a+1];return r}function yy(o,r){for(const a in r)r.hasOwnProperty(a)&&(o[r[a]]=o[a])}function Ig(o){const r=o.inputConfig,a={};for(const h in r)if(r.hasOwnProperty(h)){const _=r[h];Array.isArray(_)&&_[3]&&(a[h]=_[3])}o.inputTransforms=a}let Ug=()=>null;function mu(o,r){return Ug(o,r)}function Ih(o,r,a,h){const _=r.tView,se=zp(o,_,a,4096&o[Si]?4096:16,null,r,null,null,null,h?.injector??null,h?.dehydratedView??null);se[Br]=o[r.index];const at=o[Ur];return null!==at&&(se[Ur]=at.createEmbeddedView(_)),vf(_,se,a),se}function Zg(o,r){const a=Tn+r;if(a<o.length)return o[a]}function fu(o,r){return!r||null===r.firstChild||ls(o)}function Rh(o,r,a,h=!0){const _=r[At];if(function Em(o,r,a,h){const _=Tn+h,C=a.length;h>0&&(a[_-1][Or]=r),h<C-Tn?(r[Or]=a[_],fc(a,Tn+h,r)):(a.push(r),r[Or]=null),r[Gi]=a;const J=r[Br];null!==J&&a!==J&&function Om(o,r){const a=o[dn];r[nr]!==r[Gi][Gi][nr]&&(o[Si]|=Zn.HasTransplantedViews),null===a?o[dn]=[r]:a.push(r)}(J,r);const se=r[Ur];null!==se&&se.insertView(o),hs(r),r[Si]|=128}(_,r,o,a),h){const J=Im(a,o),se=r[uo],Me=Ep(se,o[aa]);null!==Me&&function ou(o,r,a,h,_,C){h[li]=_,h[Vr]=r,Ap(o,h,a,1,_,C)}(_,o[Vr],se,r,Me,J)}const C=r[qo];null!==C&&null!==C.firstChild&&(C.firstChild=null)}function kf(o,r){const a=ld(o,r);return void 0!==a&&uh(a[At],a),a}let am=(()=>{class o{static#e=this.__NG_ELEMENT_ID__=Gy}return o})();function Gy(){return Jg(or(),si())}const Jy=am,Hg=class extends Jy{constructor(r,a,h){super(),this._lContainer=r,this._hostTNode=a,this._hostLView=h}get element(){return du(this._hostTNode,this._hostLView)}get injector(){return new da(this._hostTNode,this._hostLView)}get parentInjector(){const r=hc(this._hostTNode,this._hostLView);if(Ed(r)){const a=Gs(r,this._hostLView),h=Ta(r);return new da(a[At].data[h+8],a)}return new da(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const a=Gg(this._lContainer);return null!==a&&a[r]||null}get length(){return this._lContainer.length-Tn}createEmbeddedView(r,a,h){let _,C;"number"==typeof h?_=h:null!=h&&(_=h.index,C=h.injector);const J=mu(this._lContainer,r.ssrId),se=r.createEmbeddedViewImpl(a||{},C,J);return this.insertImpl(se,_,fu(this._hostTNode,J)),se}createComponent(r,a,h,_,C){const J=r&&!mc(r);let se;if(J)se=a;else{const ni=a||{};se=ni.index,h=ni.injector,_=ni.projectableNodes,C=ni.environmentInjector||ni.ngModuleRef}const Me=J?r:new md(ei(r)),at=h||this.parentInjector;if(!C&&null==Me.ngModule){const vi=(J?at:this.parentInjector).get(ja,null);vi&&(C=vi)}const St=ei(Me.componentType??{}),qt=mu(this._lContainer,St?.id??null),Rn=Me.create(at,_,qt?.firstChild??null,C);return this.insertImpl(Rn.hostView,se,fu(this._hostTNode,qt)),Rn}insert(r,a){return this.insertImpl(r,a,!0)}insertImpl(r,a,h){const _=r._lView;if(function Nc(o){return ti(o[Gi])}(_)){const se=this.indexOf(r);if(-1!==se)this.detach(se);else{const Me=_[Gi],at=new Hg(Me,Me[Vr],Me[Gi]);at.detach(at.indexOf(r))}}const C=this._adjustIndex(a),J=this._lContainer;return Rh(J,_,C,h),r.attachToViewContainerRef(),fc(Sf(J),C,r),r}move(r,a){return this.insert(r,a)}indexOf(r){const a=Gg(this._lContainer);return null!==a?a.indexOf(r):-1}remove(r){const a=this._adjustIndex(r,-1),h=ld(this._lContainer,a);h&&(_c(Sf(this._lContainer),a),uh(h[At],h))}detach(r){const a=this._adjustIndex(r,-1),h=ld(this._lContainer,a);return h&&null!=_c(Sf(this._lContainer),a)?new kh(h):null}_adjustIndex(r,a=0){return r??this.length+a}};function Gg(o){return o[8]}function Sf(o){return o[8]||(o[8]=[])}function Jg(o,r){let a;const h=r[o.index];return ti(h)?a=h:(a=og(h,r,null,o),r[o.index]=a,Qp(r,a)),Vg(a,r,o,h),new Hg(a,o,r)}let Vg=function Qg(o,r,a,h){if(o[aa])return;let _;_=8&a.type?pr(h):function Vy(o,r){const a=o[uo],h=a.createComment(""),_=Hr(r,o);return cd(a,Ep(a,_),h,function nv(o,r){return o.nextSibling(r)}(a,_),!1),h}(r,a),o[aa]=_},Ef=()=>!1;function pl(o,r,a){return o[r]=a}function Lh(o,r){return o[r]}function ya(o,r,a){return!Object.is(o[r],a)&&(o[r]=a,!0)}function fd(o,r,a,h){const _=ya(o,r,a);return ya(o,r+1,h)||_}function sm(o,r,a,h,_){const C=fd(o,r,a,h);return ya(o,r+2,_)||C}function Rs(o,r,a,h,_,C){const J=fd(o,r,a,h);return fd(o,r+2,_,C)||J}function _u(o,r,a,h,_,C,J,se){const Me=si(),at=Oo(),St=o+ho,qt=at.firstCreatePass?function Yy(o,r,a,h,_,C,J,se,Me){const at=r.consts,St=hu(r,o,4,J||null,jr(at,se));cf(r,a,St,jr(at,Me)),Hc(r,St);const qt=St.tView=lf(2,St,h,_,C,r.directiveRegistry,r.pipeRegistry,null,r.schemas,at,null);return null!==r.queries&&(r.queries.template(r,St),qt.queries=r.queries.embeddedTView(St)),St}(St,at,Me,r,a,h,_,C,J):at.data[St];Do(qt,!1);const wn=jg(at,Me,qt,o);Zc()&&Op(at,Me,wn,qt),Yr(wn,Me);const Rn=og(wn,Me,wn,qt);return Me[St]=Rn,Qp(Me,Rn),function zg(o,r,a){return Ef(o,r,a)}(Rn,qt,Me),zi(qt)&&af(at,Me,qt),null!=J&&sf(Me,qt,se),_u}let jg=function qy(o,r,a,h){return Hs(!0),r[uo].createComment("")};function Ff(o,r,a,h){const _=si();return ya(_,gt(),r)&&(Oo(),hl(Sr(),_,o,r,a,h)),Ff}function Tu(o,r,a,h){return ya(o,gt(),a)?r+ue(a)+h:No}function Mu(o,r,a,h,_,C){const se=fd(o,ve(),a,_);return Gt(2),se?r+ue(a)+h+ue(_)+C:No}function Bf(o,r,a,h,_,C){const J=si(),se=Tu(J,r,a,h);return se!==No&&hl(Sr(),J,o,se,_,C),Bf}function g(o,r){return o<<17|r<<2}function i(o){return o>>17&32767}function x(o){return 2|o}function ke(o){return(131068&o)>>2}function Mt(o,r){return-131069&o|r<<2}function Dn(o){return 1|o}function Vi(o,r,a,h){const _=o[a+1],C=null===r;let J=h?i(_):ke(_),se=!1;for(;0!==J&&(!1===se||C);){const at=o[J+1];ii(o[J],r)&&(se=!0,o[J+1]=h?Dn(at):x(at)),J=h?i(at):ke(at)}se&&(o[a+1]=h?x(_):Dn(_))}function ii(o,r){return null===o||null==r||(Array.isArray(o)?o[1]:o)===r||!(!Array.isArray(o)||"string"!=typeof r)&&Ba(o,r)>=0}const Ji={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ko(o){return o.substring(Ji.key,Ji.keyEnd)}function Vo(o){return o.substring(Ji.value,Ji.valueEnd)}function Zo(o,r){const a=Ji.textEnd;return a===r?-1:(r=Ji.keyEnd=function mo(o,r,a){for(;r<a&&o.charCodeAt(r)>32;)r++;return r}(o,Ji.key=r,a),xr(o,r,a))}function Jr(o,r){const a=Ji.textEnd;let h=Ji.key=xr(o,r,a);return a===h?-1:(h=Ji.keyEnd=function $a(o,r,a){let h;for(;r<a&&(45===(h=o.charCodeAt(r))||95===h||(-33&h)>=65&&(-33&h)<=90||h>=48&&h<=57);)r++;return r}(o,h,a),h=Pu(o,h,a),h=Ji.value=xr(o,h,a),h=Ji.valueEnd=function ml(o,r,a){let h=-1,_=-1,C=-1,J=r,se=J;for(;J<a;){const Me=o.charCodeAt(J++);if(59===Me)return se;34===Me||39===Me?se=J=pm(o,Me,J,a):r===J-4&&85===C&&82===_&&76===h&&40===Me?se=J=pm(o,41,J,a):Me>32&&(se=J),C=_,_=h,h=-33&Me}return se}(o,h,a),Pu(o,h,a))}function fr(o){Ji.key=0,Ji.keyEnd=0,Ji.value=0,Ji.valueEnd=0,Ji.textEnd=o.length}function xr(o,r,a){for(;r<a&&o.charCodeAt(r)<=32;)r++;return r}function Pu(o,r,a,h){return(r=xr(o,r,a))<a&&r++,r}function pm(o,r,a,h){let _=-1,C=a;for(;C<h;){const J=o.charCodeAt(C++);if(J==r&&92!==_)return C;_=92==J&&92===_?0:J}throw new Error}function mm(o,r,a){const h=si();return ya(h,gt(),r)&&bs(Oo(),Sr(),h,o,r,h[uo],a,!1),mm}function Wi(o,r,a,h,_){const J=_?"class":"style";mf(o,a,r.inputs[J],J,h)}function fo(o,r,a){return Pa(o,r,a,!1),fo}function Mo(o,r){return Pa(o,r,null,!0),Mo}function Ho(o){_r(dC,Aa,o,!1)}function Aa(o,r){for(let a=function ka(o){return fr(o),Jr(o,xr(o,0,Ji.textEnd))}(r);a>=0;a=Jr(r,a))dC(o,ko(r),Vo(r))}function Ks(o){_r(wT,ha,o,!0)}function ha(o,r){for(let a=function Ko(o){return fr(o),Zo(o,xr(o,0,Ji.textEnd))}(r);a>=0;a=Zo(r,a))Da(o,ko(r),!0)}function Pa(o,r,a,h){const _=si(),C=Oo(),J=Gt(2);C.firstUpdatePass&&wb(C,o,J,h),r!==No&&ya(_,J,r)&&uC(C,C.data[ca()],_,_[uo],o,_[J+1]=function MT(o,r){return null==o||""===o||("string"==typeof r?o+=r:"object"==typeof o&&(o=rn($l(o)))),o}(r,a),h,J)}function _r(o,r,a,h){const _=Oo(),C=Gt(2);_.firstUpdatePass&&wb(_,null,C,h);const J=si();if(a!==No&&ya(J,C,a)){const se=_.data[ca()];if(pC(se,h)&&!Uf(_,C)){let Me=h?se.classesWithoutHost:se.stylesWithoutHost;null!==Me&&(a=Nt(Me,a||"")),Wi(_,se,J,a,h)}else!function TT(o,r,a,h,_,C,J,se){_===No&&(_=kn);let Me=0,at=0,St=0<_.length?_[0]:null,qt=0<C.length?C[0]:null;for(;null!==St||null!==qt;){const wn=Me<_.length?_[Me+1]:void 0,Rn=at<C.length?C[at+1]:void 0;let vi,ni=null;St===qt?(Me+=2,at+=2,wn!==Rn&&(ni=qt,vi=Rn)):null===qt||null!==St&&St<qt?(Me+=2,ni=St):(at+=2,ni=qt,vi=Rn),null!==ni&&uC(o,r,a,h,ni,vi,J,se),St=Me<_.length?_[Me]:null,qt=at<C.length?C[at]:null}}(_,se,J,J[uo],J[C+1],J[C+1]=function CT(o,r,a){if(null==a||""===a)return kn;const h=[],_=$l(a);if(Array.isArray(_))for(let C=0;C<_.length;C++)o(h,_[C],!0);else if("object"==typeof _)for(const C in _)_.hasOwnProperty(C)&&o(h,C,_[C]);else"string"==typeof _&&r(h,_);return h}(o,r,a),h,C)}}function Uf(o,r){return r>=o.expandoStartIndex}function wb(o,r,a,h){const _=o.data;if(null===_[a+1]){const C=_[ca()],J=Uf(o,a);pC(C,h)&&null===r&&!J&&(r=!1),r=function Ha(o,r,a,h){const _=wo(o);let C=h?r.residualClasses:r.residualStyles;if(null===_)0===(h?r.classBindings:r.styleBindings)&&(a=Zf(a=Uh(null,o,r,a,h),r.attrs,h),C=null);else{const J=r.directiveStylingLast;if(-1===J||o[J]!==_)if(a=Uh(_,o,r,a,h),null===C){let Me=function gd(o,r,a){const h=a?r.classBindings:r.styleBindings;if(0!==ke(h))return o[i(h)]}(o,r,h);void 0!==Me&&Array.isArray(Me)&&(Me=Uh(null,o,r,Me[1],h),Me=Zf(Me,r.attrs,h),function Ns(o,r,a,h){o[i(a?r.classBindings:r.styleBindings)]=h}(o,r,h,Me))}else C=function fm(o,r,a){let h;const _=r.directiveEnd;for(let C=1+r.directiveStylingLast;C<_;C++)h=Zf(h,o[C].hostAttrs,a);return Zf(h,r.attrs,a)}(o,r,h)}return void 0!==C&&(h?r.residualClasses=C:r.residualStyles=C),a}(_,C,r,h),function Zi(o,r,a,h,_,C){let J=C?r.classBindings:r.styleBindings,se=i(J),Me=ke(J);o[h]=a;let St,at=!1;if(Array.isArray(a)?(St=a[1],(null===St||Ba(a,St)>0)&&(at=!0)):St=a,_)if(0!==Me){const wn=i(o[se+1]);o[h+1]=g(wn,se),0!==wn&&(o[wn+1]=Mt(o[wn+1],h)),o[se+1]=function l(o,r){return 131071&o|r<<17}(o[se+1],h)}else o[h+1]=g(se,0),0!==se&&(o[se+1]=Mt(o[se+1],h)),se=h;else o[h+1]=g(Me,0),0===se?se=h:o[Me+1]=Mt(o[Me+1],h),Me=h;at&&(o[h+1]=x(o[h+1])),Vi(o,St,h,!0),Vi(o,St,h,!1),function Yi(o,r,a,h,_){const C=_?o.residualClasses:o.residualStyles;null!=C&&"string"==typeof r&&Ba(C,r)>=0&&(a[h+1]=Dn(a[h+1]))}(r,St,o,h,C),J=g(se,Me),C?r.classBindings=J:r.styleBindings=J}(_,C,r,a,J,h)}}function Uh(o,r,a,h,_){let C=null;const J=a.directiveEnd;let se=a.directiveStylingLast;for(-1===se?se=a.directiveStart:se++;se<J&&(C=r[se],h=Zf(h,C.hostAttrs,_),C!==o);)se++;return null!==o&&(a.directiveStylingLast=se),h}function Zf(o,r,a){const h=a?1:2;let _=-1;if(null!==r)for(let C=0;C<r.length;C++){const J=r[C];"number"==typeof J?_=J:_===h&&(Array.isArray(o)||(o=void 0===o?[]:["",o]),Da(o,J,!!a||r[++C]))}return void 0===o?null:o}function dC(o,r,a){Da(o,r,$l(a))}function wT(o,r,a){const h=String(r);""!==h&&!h.includes(" ")&&Da(o,h,a)}function uC(o,r,a,h,_,C,J,se){if(!(3&r.type))return;const Me=o.data,at=Me[se+1],St=function un(o){return 1==(1&o)}(at)?hC(Me,r,a,_,ke(at),J):void 0;Tb(St)||(Tb(C)||function c(o){return 2==(2&o)}(at)&&(C=hC(Me,null,a,_,se,J)),function rv(o,r,a,h,_){if(r)_?o.addClass(a,h):o.removeClass(a,h);else{let C=-1===h.indexOf("-")?void 0:va.DashCase;null==_?o.removeStyle(a,h,C):("string"==typeof _&&_.endsWith("!important")&&(_=_.slice(0,-10),C|=va.Important),o.setStyle(a,h,_,C))}}(h,J,ts(ca(),a),_,C))}function hC(o,r,a,h,_,C){const J=null===r;let se;for(;_>0;){const Me=o[_],at=Array.isArray(Me),St=at?Me[1]:Me,qt=null===St;let wn=a[_+1];wn===No&&(wn=qt?kn:void 0);let Rn=qt?Yc(wn,h):St===h?wn:void 0;if(at&&!Tb(Rn)&&(Rn=Yc(Me,h)),Tb(Rn)&&(se=Rn,J))return se;const ni=o[_+1];_=J?i(ni):ke(ni)}if(null!==r){let Me=C?r.residualClasses:r.residualStyles;null!=Me&&(se=Yc(Me,h))}return se}function Tb(o){return void 0!==o}function pC(o,r){return 0!=(o.flags&(r?8:16))}function mC(o,r,a){_r(Da,ha,Tu(si(),o,r,a),!0)}class LT{destroy(r){}updateValue(r,a){}swap(r,a){const h=Math.min(r,a),_=Math.max(r,a),C=this.detach(_);if(_-h>1){const J=this.detach(h);this.attach(h,C),this.attach(_,J)}else this.attach(h,C)}move(r,a){this.attach(a,this.detach(r))}}function D1(o,r,a,h,_){return o===a&&Object.is(r,h)?1:Object.is(_(o,r),_(a,h))?-1:0}function A1(o,r,a,h){return!(void 0===r||!r.has(h)||(o.attach(a,r.get(h)),r.delete(h),0))}function fC(o,r,a,h,_){if(A1(o,r,h,a(h,_)))o.updateValue(h,_);else{const C=o.create(h,_);o.attach(h,C)}}function _C(o,r,a,h){const _=new Set;for(let C=r;C<=a;C++)_.add(h(C,o.at(C)));return _}class gC{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const a=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(a)?(this.kvMap.set(r,this._vMap.get(a)),this._vMap.delete(a)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,a){if(this.kvMap.has(r)){let h=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const _=this._vMap;for(;_.has(h);)h=_.get(h);_.set(h,a)}else this.kvMap.set(r,a)}forEach(r){for(let[a,h]of this.kvMap)if(r(h,a),void 0!==this._vMap){const _=this._vMap;for(;_.has(h);)h=_.get(h),r(h,a)}}}function bC(o,r,a){hd("NgControlFlow");const h=si(),_=gt(),C=P1(h,ho+o);if(ya(h,_,r)){const se=U(null);try{if(kf(C,0),-1!==r){const Me=I1(h[At],ho+r),at=mu(C,Me.tView.ssrId);Rh(C,Ih(h,Me,a,{dehydratedView:at}),0,fu(Me,at))}}finally{U(se)}}else{const se=Zg(C,0);void 0!==se&&(se[Ii]=a)}}class FT{constructor(r,a,h){this.lContainer=r,this.$implicit=a,this.$index=h}get $count(){return this.lContainer.length-Tn}}function vC(o){return o}function yC(o,r){return r}class BT{constructor(r,a,h){this.hasEmptyBlock=r,this.trackByFn=a,this.liveCollection=h}}function xC(o,r,a,h,_,C,J,se,Me,at,St,qt,wn){hd("NgControlFlow");const Rn=void 0!==Me,ni=si(),vi=se?J.bind(ni[nr][Ii]):J,Li=new BT(Rn,vi);ni[ho+o]=Li,_u(o+1,r,a,h,_,C),Rn&&_u(o+2,Me,at,St,qt,wn)}class UT extends LT{constructor(r,a,h){super(),this.lContainer=r,this.hostLView=a,this.templateTNode=h,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Tn}at(r){return this.getLView(r)[Ii].$implicit}attach(r,a){const h=a[qo];this.needsIndexUpdate||=r!==this.length,Rh(this.lContainer,a,r,fu(this.templateTNode,h))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function ZT(o,r){return ld(o,r)}(this.lContainer,r)}create(r,a){const h=mu(this.lContainer,this.templateTNode.tView.ssrId);return Ih(this.hostLView,this.templateTNode,new FT(this.lContainer,a,r),{dehydratedView:h})}destroy(r){uh(r[At],r)}updateValue(r,a){this.getLView(r)[Ii].$implicit=a}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r<this.length;r++)this.getLView(r)[Ii].$index=r}getLView(r){return function HT(o,r){return Zg(o,r)}(this.lContainer,r)}}function CC(o){const r=U(null),a=ca();try{const h=si(),_=h[At],C=h[a];if(void 0===C.liveCollection){const se=a+1,Me=P1(h,se),at=I1(_,se);C.liveCollection=new UT(Me,h,at)}else C.liveCollection.reset();const J=C.liveCollection;if(function NT(o,r,a){let h,_,C=0,J=o.length-1;if(Array.isArray(r)){let se=r.length-1;for(;C<=J&&C<=se;){const Me=o.at(C),at=r[C],St=D1(C,Me,C,at,a);if(0!==St){St<0&&o.updateValue(C,at),C++;continue}const qt=o.at(J),wn=r[se],Rn=D1(J,qt,se,wn,a);if(0!==Rn){Rn<0&&o.updateValue(J,wn),J--,se--;continue}const ni=a(C,Me),vi=a(J,qt),Li=a(C,at);if(Object.is(Li,vi)){const Ki=a(se,wn);Object.is(Ki,ni)?(o.swap(C,J),o.updateValue(J,wn),se--,J--):o.move(J,C),o.updateValue(C,at),C++}else if(h??=new gC,_??=_C(o,C,J,a),A1(o,h,C,Li))o.updateValue(C,at),C++,J++;else if(_.has(Li))h.set(ni,o.detach(C)),J--;else{const Ki=o.create(C,r[C]);o.attach(C,Ki),C++,J++}}for(;C<=se;)fC(o,h,a,C,r[C]),C++}else if(null!=r){const se=r[Symbol.iterator]();let Me=se.next();for(;!Me.done&&C<=J;){const at=o.at(C),St=Me.value,qt=D1(C,at,C,St,a);if(0!==qt)qt<0&&o.updateValue(C,St),C++,Me=se.next();else{h??=new gC,_??=_C(o,C,J,a);const wn=a(C,St);if(A1(o,h,C,wn))o.updateValue(C,St),C++,J++,Me=se.next();else if(_.has(wn)){const Rn=a(C,at);h.set(Rn,o.detach(C)),J--}else o.attach(C,o.create(C,St)),C++,J++,Me=se.next()}}for(;!Me.done;)fC(o,h,a,o.length,Me.value),Me=se.next()}for(;C<=J;)o.destroy(o.detach(J--));h?.forEach(se=>{o.destroy(se)})}(J,o,C.trackByFn),J.updateIndexes(),C.hasEmptyBlock){const se=gt(),Me=0===J.length;if(ya(h,se,Me)){const at=a+2,St=P1(h,at);if(Me){const qt=I1(_,at),wn=mu(St,qt.tView.ssrId);Rh(St,Ih(h,qt,void 0,{dehydratedView:wn}),0,fu(qt,wn))}else kf(St,0)}}}finally{U(r)}}function P1(o,r){return o[r]}function I1(o,r){return bl(o,r)}function Mb(o,r,a,h){const _=si(),C=Oo(),J=ho+o,se=_[uo],Me=C.firstCreatePass?function GT(o,r,a,h,_,C){const J=r.consts,Me=hu(r,o,2,h,jr(J,_));return cf(r,a,Me,jr(J,C)),null!==Me.attrs&&$p(Me,Me.attrs,!1),null!==Me.mergedAttrs&&$p(Me,Me.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,Me),Me}(J,C,_,r,a,h):C.data[J],at=wC(C,_,Me,se,r,o);_[J]=at;const St=zi(Me);return Do(Me,!0),d_(se,at,Me),32!=(32&Me.flags)&&Zc()&&Op(C,_,at,Me),0===function xl(){return ji.lFrame.elementDepthCount}()&&Yr(at,_),function ic(){ji.lFrame.elementDepthCount++}(),St&&(af(C,_,Me),rf(C,Me,_)),null!==h&&sf(_,Me),Mb}function kb(){let o=or();sc()?Xs():(o=o.parent,Do(o,!1));const r=o;(function Dr(o){return ji.skipHydrationRootTNode===o})(r)&&function ps(){ji.skipHydrationRootTNode=null}(),function vd(){ji.lFrame.elementDepthCount--}();const a=Oo();return a.firstCreatePass&&(Hc(a,o),Mi(o)&&a.queries.elementEnd(o)),null!=r.classesWithoutHost&&function Yh(o){return 0!=(8&o.flags)}(r)&&Wi(a,r,si(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function qh(o){return 0!=(16&o.flags)}(r)&&Wi(a,r,si(),r.stylesWithoutHost,!1),kb}function R1(o,r,a,h){return Mb(o,r,a,h),kb(),R1}let wC=(o,r,a,h,_,C)=>(Hs(!0),gs(h,_,function Ms(){return ji.lFrame.currentNamespace}()));function Sb(o,r,a){const h=si(),_=Oo(),C=o+ho,J=_.firstCreatePass?function zT(o,r,a,h,_){const C=r.consts,J=jr(C,h),se=hu(r,o,8,"ng-container",J);return null!==J&&$p(se,J,!0),cf(r,a,se,jr(C,_)),null!==r.queries&&r.queries.elementStart(r,se),se}(C,_,h,r,a):_.data[C];Do(J,!0);const se=TC(_,h,J,o);return h[C]=se,Zc()&&Op(_,h,se,J),Yr(se,h),zi(J)&&(af(_,h,J),rf(_,J,h)),null!=a&&sf(h,J),Sb}function Eb(){let o=or();const r=Oo();return sc()?Xs():(o=o.parent,Do(o,!1)),r.firstCreatePass&&(Hc(r,o),Mi(o)&&r.queries.elementEnd(o)),Eb}function L1(o,r,a){return Sb(o,r,a),Eb(),L1}let TC=(o,r,a,h)=>(Hs(!0),Kl(r[uo],""));function MC(){return si()}function N1(o,r,a){const h=si();return ya(h,gt(),r)&&bs(Oo(),Sr(),h,o,r,h[uo],a,!0),N1}function F1(o,r,a){const h=si();if(ya(h,gt(),r)){const C=Oo(),J=Sr();bs(C,J,h,o,r,sg(wo(C.data),J,h),a,!0)}return F1}const Zh=void 0;var qT=["en",[["a","p"],["AM","PM"],Zh],[["AM","PM"],Zh,Zh],[["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"]],Zh,[["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"]],Zh,[["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}",Zh,"{1} 'at' {0}",Zh],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function YT(o){const a=Math.floor(Math.abs(o)),h=o.toString().replace(/^[^.]*\.?/,"").length;return 1===a&&0===h?1:5}];let _m={};function B1(o){const r=function KT(o){return o.toLowerCase().replace(/_/g,"-")}(o);let a=SC(r);if(a)return a;const h=r.split("-")[0];if(a=SC(h),a)return a;if("en"===h)return qT;throw new Jt(701,!1)}function kC(o){return B1(o)[gm.PluralCase]}function SC(o){return o in _m||(_m[o]=Rt.ng&&Rt.ng.common&&Rt.ng.common.locales&&Rt.ng.common.locales[o]),_m[o]}var gm=function(o){return o[o.LocaleId=0]="LocaleId",o[o.DayPeriodsFormat=1]="DayPeriodsFormat",o[o.DayPeriodsStandalone=2]="DayPeriodsStandalone",o[o.DaysFormat=3]="DaysFormat",o[o.DaysStandalone=4]="DaysStandalone",o[o.MonthsFormat=5]="MonthsFormat",o[o.MonthsStandalone=6]="MonthsStandalone",o[o.Eras=7]="Eras",o[o.FirstDayOfWeek=8]="FirstDayOfWeek",o[o.WeekendRange=9]="WeekendRange",o[o.DateFormat=10]="DateFormat",o[o.TimeFormat=11]="TimeFormat",o[o.DateTimeFormat=12]="DateTimeFormat",o[o.NumberSymbols=13]="NumberSymbols",o[o.NumberFormats=14]="NumberFormats",o[o.CurrencyCode=15]="CurrencyCode",o[o.CurrencySymbol=16]="CurrencySymbol",o[o.CurrencyName=17]="CurrencyName",o[o.Currencies=18]="Currencies",o[o.Directionality=19]="Directionality",o[o.PluralCase=20]="PluralCase",o[o.ExtraData=21]="ExtraData",o}(gm||{});const bm="en-US",Ob={marker:"element"},Db={marker:"ICU"};var Fs=function(o){return o[o.SHIFT=2]="SHIFT",o[o.APPEND_EAGERLY=1]="APPEND_EAGERLY",o[o.COMMENT=2]="COMMENT",o}(Fs||{});let EC=bm;function OC(o){(function ye(o,r){null==o&&It(r,o,null,"!=")})(o,"Expected localeId to be defined"),"string"==typeof o&&(EC=o.toLowerCase().replace(/_/g,"-"))}function DC(o,r,a){const h=r.insertBeforeIndex,_=Array.isArray(h)?h[0]:h;return null===_?i_(o,0,a):pr(a[_])}function AC(o,r,a,h,_){const C=r.insertBeforeIndex;if(Array.isArray(C)){let J=h,se=null;if(3&r.type||(se=J,J=_),null!==J&&-1===r.componentOffset)for(let Me=1;Me<C.length;Me++)cd(o,J,a[C[Me]],se,!1)}}function PC(o,r){if(o.push(r),o.length>1)for(let a=o.length-2;a>=0;a--){const h=o[a];IC(h)||tM(h,r)&&null===nM(h)&&iM(h,r.index)}}function IC(o){return!(64&o.type)}function tM(o,r){return IC(r)||o.index>r.index}function nM(o){const r=o.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function iM(o,r){const a=o.insertBeforeIndex;Array.isArray(a)?a[0]=r:(r_(DC,AC),o.insertBeforeIndex=r)}function aM(o,r,a){const h=nf(o,a,64,null,null);return PC(r,h),h}function pM(){const o=[];let a,h,r=-1;function C(se,Me){r=0;const at=function Ab(o,r){const a=r[o.currentCaseLViewIndex];return null===a?a:a<0?~a:a}(se,Me);h=null!==at?se.remove[at]:kn}function J(){if(r<h.length){const se=h[r++];return se>0?a[se]:(o.push(r,h),C(a[At].data[~se],a),J())}return 0===o.length?null:(h=o.pop(),r=o.pop(),J())}return function _(se,Me){for(a=Me;o.length;)o.pop();return C(se.value,Me),J}}const Pb=/\ufffd(\d+):?\d*\ufffd/gi,fM=/\ufffd(\d+)\ufffd/,GC=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Vf="\ufffd",_M=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,gM=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,bM=/\uE500/g;function JC(o,r,a,h,_,C,J){const se=Th(o,h,1,null);let Me=se<<Fs.SHIFT,at=os();r===at&&(at=null),null===at&&(Me|=Fs.APPEND_EAGERLY),J&&(Me|=Fs.COMMENT,function rr(o){void 0===mr&&(mr=o())}(pM)),_.push(Me,null===C?"":C);const St=nf(o,se,J?32:1,null===C?"":C,null);PC(a,St);const qt=St.index;return Do(St,!1),null!==at&&r!==at&&function rM(o,r){let a=o.insertBeforeIndex;null===a?(r_(DC,AC),a=o.insertBeforeIndex=[null,r]):(function Y(o,r,a){o!=r&&It(a,o,r,"==")}(Array.isArray(a),!0,"Expecting array here"),a.push(r))}(at,qt),St}function xM(o,r,a,h,_,C,J){const se=J.match(Pb),Me=JC(o,r,a,C,h,se?null:J,!1);se&&zf(_,J,Me.index,null,0,null)}function zf(o,r,a,h,_,C){const J=o.length,se=J+1;o.push(null,null);const Me=J+2,at=r.split(Pb);let St=0;for(let qt=0;qt<at.length;qt++){const wn=at[qt];if(1&qt){const Rn=_+parseInt(wn,10);o.push(-1-Rn),St|=VC(Rn)}else""!==wn&&o.push(wn)}return o.push(a<<2|(h?1:0)),h&&o.push(h,C),o[J]=St,o[se]=o.length-Me,St}function VC(o){return 1<<Math.min(o,31)}function zC(o){let r,C,a="",h=0,_=!1;for(;null!==(r=_M.exec(o));)_?r[0]===`${Vf}/*${C}${Vf}`&&(h=r.index,_=!1):(a+=o.substring(h,r.index+r[0].length),C=r[1],_=!0);return a+=o.slice(h),a}function QC(o,r,a,h,_,C){let J=0;const se={type:_.type,currentCaseLViewIndex:Th(o,r,1,null),anchorIdx:C,cases:[],create:[],remove:[],update:[]};(function OM(o,r,a){o.push(VC(r.mainBinding),2,-1-r.mainBinding,a<<2|2)})(a,_,C),function oM(o,r,a){const h=o.data[r];null===h?o.data[r]=a:h.value=a}(o,C,se);const Me=_.values;for(let at=0;at<Me.length;at++){const St=Me[at],qt=[];for(let wn=0;wn<St.length;wn++){const Rn=St[wn];if("string"!=typeof Rn){const ni=qt.push(Rn)-1;St[wn]=`\x3c!--\ufffd${ni}\ufffd--\x3e`}}J=SM(o,se,r,a,h,_.cases[at],St.join(""),qt)|J}J&&function DM(o,r,a){o.push(r,1,a<<2|3)}(a,J,C)}function kM(o){const r=[],a=[];let h=1,_=0;const C=U1(o=o.replace(GC,function(J,se,Me){return h="select"===Me?0:1,_=parseInt(se.slice(1),10),""}));for(let J=0;J<C.length;){let se=C[J++].trim();1===h&&(se=se.replace(/\s*(?:=)?(\w+)\s*/,"$1")),se.length&&r.push(se);const Me=U1(C[J++]);r.length>a.length&&a.push(Me)}return{type:h,mainBinding:_,cases:r,values:a}}function U1(o){if(!o)return[];let r=0;const a=[],h=[],_=/[{}]/g;let C;for(_.lastIndex=0;C=_.exec(o);){const se=C.index;if("}"==C[0]){if(a.pop(),0==a.length){const Me=o.substring(r,se);GC.test(Me)?h.push(kM(Me)):h.push(Me),r=se+1}}else{if(0==a.length){const Me=o.substring(r,se);h.push(Me),r=se+1}a.push("{")}}const J=o.substring(r);return h.push(J),h}function SM(o,r,a,h,_,C,J,se){const Me=[],at=[],St=[];r.cases.push(C),r.create.push(Me),r.remove.push(at),r.update.push(St);const wn=p_(As()).getInertBodyElement(J),Rn=Zm(wn)||wn;return Rn?jC(o,r,a,h,Me,at,St,Rn,_,se,0):0}function jC(o,r,a,h,_,C,J,se,Me,at,St){let qt=0,wn=se.firstChild;for(;wn;){const Rn=Th(o,a,1,null);switch(wn.nodeType){case Node.ELEMENT_NODE:const ni=wn,vi=ni.tagName.toLowerCase();if(Bm.hasOwnProperty(vi)){Z1(_,Ob,vi,Me,Rn),o.data[Rn]=vi;const Fo=ni.attributes;for(let lr=0;lr<Fo.length;lr++){const gr=Fo.item(lr),ds=gr.name.toLowerCase();gr.value.match(Pb)?f_.hasOwnProperty(ds)&&zf(J,gr.value,Rn,gr.name,0,Um[ds]?Rp:null):AM(_,Rn,gr)}qt=jC(o,r,a,h,_,C,J,wn,Rn,at,St+1)|qt,YC(C,Rn,St)}break;case Node.TEXT_NODE:const Li=wn.textContent||"",Ki=Li.match(Pb);Z1(_,null,Ki?"":Li,Me,Rn),YC(C,Rn,St),Ki&&(qt=zf(J,Li,Rn,null,0,null)|qt);break;case Node.COMMENT_NODE:const _i=fM.exec(wn.textContent||"");if(_i){const lr=at[parseInt(_i[1],10)];Z1(_,Db,"",Me,Rn),QC(o,a,h,Me,lr,Rn),EM(C,Rn,St)}}wn=wn.nextSibling}return qt}function YC(o,r,a){0===a&&o.push(r)}function EM(o,r,a){0===a&&(o.push(~r),o.push(r))}function Z1(o,r,a,h,_){null!==r&&o.push(r),o.push(a,_,function sM(o,r,a){return o|r<<17|a<<1}(0,h,_))}function AM(o,r,a){o.push(r<<1|1,a.name,a.value)}function KC(o,r,a=-1){const h=Oo(),_=si(),C=ho+o,J=jr(h.consts,r),se=os();h.firstCreatePass&&function yM(o,r,a,h,_,C){const J=os(),se=[],Me=[],at=[[]];_=function MM(o,r){if(function TM(o){return-1===o}(r))return zC(o);{const a=o.indexOf(`:${r}${Vf}`)+2+r.toString().length,h=o.search(new RegExp(`${Vf}\\/\\*\\d+:${r}${Vf}`));return zC(o.substring(a,h))}}(_,C);const St=function vM(o){return o.replace(bM," ")}(_).split(gM);for(let qt=0;qt<St.length;qt++){let wn=St[qt];if(1&qt){const Rn=47===wn.charCodeAt(0),vi=(wn.charCodeAt(Rn?1:0),ho+Number.parseInt(wn.substring(Rn?2:1)));if(Rn)at.shift(),Do(os(),!1);else{const Li=aM(o,at[0],vi);at.unshift([]),Do(Li,!0)}}else{const Rn=U1(wn);for(let ni=0;ni<Rn.length;ni++){let vi=Rn[ni];if(1&ni){const Li=vi;if("object"!=typeof Li)throw new Error(`Unable to parse ICU expression in "${_}" message.`);QC(o,a,Me,r,Li,JC(o,J,at[0],a,se,"",!0).index)}else""!==vi&&xM(o,J,at[0],se,Me,a,vi)}}}o.data[h]={create:se,update:Me}}(h,null===se?0:se.index,_,C,J,a),2===h.type?_[nr][Si]|=32:_[Si]|=32;const Me=h.data[C],St=Xf(h,se===_[Vr]?null:se,_);(function dM(o,r,a,h){const _=o[uo];for(let C=0;C<r.length;C++){const J=r[C++],se=r[C],at=(J&Fs.APPEND_EAGERLY)===Fs.APPEND_EAGERLY,St=J>>>Fs.SHIFT;let qt=o[St];null===qt&&(qt=o[St]=(J&Fs.COMMENT)===Fs.COMMENT?_.createComment(se):cs(_,se)),at&&null!==a&&cd(_,a,qt,h,!1)}})(_,Me.create,St,se&&8&se.type?_[se.index]:null),Qn(!0)}function WC(o,r,a){KC(o,r,a),function $C(){Qn(!1)}()}function H1(o){return!!o&&"function"==typeof o.then}function ew(o){return!!o&&"function"==typeof o.subscribe}function G1(o,r,a,h){const _=si(),C=Oo(),J=or();return tw(C,_,_[uo],J,o,r,h),G1}function J1(o,r){const a=or(),h=si(),_=Oo();return tw(_,h,sg(wo(_.data),a,h),a,o,r),J1}function tw(o,r,a,h,_,C,J){const se=zi(h),at=o.firstCreatePass&&pf(o),St=r[Ii],qt=ag(r);let wn=!0;if(3&h.type||J){const vi=Hr(h,r),Li=J?J(vi):vi,Ki=qt.length,_i=J?lr=>J(pr(lr[h.index])):h.index;let Fo=null;if(!J&&se&&(Fo=function JM(o,r,a,h){const _=o.cleanup;if(null!=_)for(let C=0;C<_.length-1;C+=2){const J=_[C];if(J===a&&_[C+1]===h){const se=r[To],Me=_[C+2];return se.length>Me?se[Me]:null}"string"==typeof J&&(C+=2)}return null}(o,r,_,h.index)),null!==Fo)(Fo.__ngLastListenerFn__||Fo).__ngNextListenerFn__=C,Fo.__ngLastListenerFn__=C,wn=!1;else{C=iw(h,r,St,C,!1);const lr=a.listen(Li,_,C);qt.push(C,lr),at&&at.push(_,_i,Ki,Ki+1)}}else C=iw(h,r,St,C,!1);const Rn=h.outputs;let ni;if(wn&&null!==Rn&&(ni=Rn[_])){const vi=ni.length;if(vi)for(let Li=0;Li<vi;Li+=2){const gr=r[ni[Li]][ni[Li+1]].subscribe(C),ds=qt.length;qt.push(C,gr),at&&at.push(_,h.index,ds,-(ds+1))}}}function nw(o,r,a,h){try{return za(6,r,a),!1!==a(h)}catch(_){return jp(o,_),!1}finally{za(7,r,a)}}function iw(o,r,a,h,_){return function C(J){if(J===Function)return h;Mh(o.componentOffset>-1?_a(o.index,r):r);let Me=nw(r,a,h,J),at=C.__ngNextListenerFn__;for(;at;)Me=nw(r,a,at,J)&&Me,at=at.__ngNextListenerFn__;return _&&!1===Me&&J.preventDefault(),Me}}function ow(o=1){return function wd(o){return(ji.lFrame.contextLView=function Gr(o,r){for(;o>0;)r=r[oa],o--;return r}(o,ji.lFrame.contextLView))[Ii]}(o)}function VM(o,r){let a=null;const h=function gn(o){const r=o.attrs;if(null!=r){const a=r.indexOf(5);if(!(1&a))return r[a+1]}return null}(o);for(let _=0;_<r.length;_++){const C=r[_];if("*"!==C){if(null===h?Lt(o,C,!0):An(h,C))return _}else a=_}return a}function rw(o){const r=si()[nr][Vr];if(!r.projection){const h=r.projection=al(o?o.length:1,null),_=h.slice();let C=r.child;for(;null!==C;){const J=o?VM(C,o):0;null!==J&&(_[J]?_[J].projectionNext=C:h[J]=C,_[J]=C),C=C.next}}}function aw(o,r=0,a){const h=si(),_=Oo(),C=hu(_,ho+o,16,null,a||null);null===C.projection&&(C.projection=r),Xs(),(!h[qo]||ns())&&32!=(32&C.flags)&&function iv(o,r,a){l_(r[uo],0,r,a,Am(o,a,r),n_(a.parent||r[Vr],a,r))}(_,h,C)}function V1(o,r,a){return Ib(o,"",r,"",a),V1}function Ib(o,r,a,h,_){const C=si(),J=Tu(C,r,a,h);return J!==No&&bs(Oo(),Sr(),C,o,J,C[uo],_,!1),Ib}function z1(o,r,a,h,_,C,J){const se=si(),Me=Mu(se,r,a,h,_,C);return Me!==No&&bs(Oo(),Sr(),se,o,Me,se[uo],J,!1),z1}function Q1(o,r,a,h,_,C,J,se,Me){const at=si(),St=function ku(o,r,a,h,_,C,J,se){const at=sm(o,ve(),a,_,J);return Gt(3),at?r+ue(a)+h+ue(_)+C+ue(J)+se:No}(at,r,a,h,_,C,J,se);return St!==No&&bs(Oo(),Sr(),at,o,St,at[uo],Me,!1),Q1}function zM(){return this._results[Symbol.iterator]()}class Rb{static#e=Symbol.iterator;get changes(){return this._changes??=new Is}constructor(r=!1){this._emitDistinctChangesOnly=r,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const a=Rb.prototype;a[Symbol.iterator]||(a[Symbol.iterator]=zM)}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,a){return this._results.reduce(r,a)}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,a){this.dirty=!1;const h=function Ma(o){return o.flat(Number.POSITIVE_INFINITY)}(r);(this._changesDetected=!function sp(o,r,a){if(o.length!==r.length)return!1;for(let h=0;h<o.length;h++){let _=o[h],C=r[h];if(a&&(_=a(_),C=a(C)),C!==_)return!1}return!0}(this._results,h,a))&&(this._results=h,this.length=h.length,this.last=h[this.length-1],this.first=h[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}let Qf=(()=>{class o{static#e=this.__NG_ELEMENT_ID__=YM}return o})();const QM=Qf,jM=class extends QM{constructor(r,a,h){super(),this._declarationLView=r,this._declarationTContainer=a,this.elementRef=h}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,a){return this.createEmbeddedViewImpl(r,a)}createEmbeddedViewImpl(r,a,h){const _=Ih(this._declarationLView,this._declarationTContainer,r,{injector:a,dehydratedView:h});return new kh(_)}};function YM(){return Lb(or(),si())}function Lb(o,r){return 4&o.type?new jM(r,o,du(o,r)):null}class j1{constructor(r){this.queryList=r,this.matches=null}clone(){return new j1(this.queryList)}setDirty(){this.queryList.setDirty()}}class Y1{constructor(r=[]){this.queries=r}createEmbeddedView(r){const a=r.queries;if(null!==a){const h=null!==r.contentQueries?r.contentQueries[0]:a.length,_=[];for(let C=0;C<h;C++){const J=a.getByIndex(C);_.push(this.queries[J.indexInDeclarationView].clone())}return new Y1(_)}return null}insertView(r){this.dirtyQueriesWithMatches(r)}detachView(r){this.dirtyQueriesWithMatches(r)}dirtyQueriesWithMatches(r){for(let a=0;a<this.queries.length;a++)null!==gw(r,a).matches&&this.queries[a].setDirty()}}class pw{constructor(r,a,h=null){this.predicate=r,this.flags=a,this.read=h}}class q1{constructor(r=[]){this.queries=r}elementStart(r,a){for(let h=0;h<this.queries.length;h++)this.queries[h].elementStart(r,a)}elementEnd(r){for(let a=0;a<this.queries.length;a++)this.queries[a].elementEnd(r)}embeddedTView(r){let a=null;for(let h=0;h<this.length;h++){const _=null!==a?a.length:0,C=this.getByIndex(h).embeddedTView(r,_);C&&(C.indexInDeclarationView=h,null!==a?a.push(C):a=[C])}return null!==a?new q1(a):null}template(r,a){for(let h=0;h<this.queries.length;h++)this.queries[h].template(r,a)}getByIndex(r){return this.queries[r]}get length(){return this.queries.length}track(r){this.queries.push(r)}}class K1{constructor(r,a=-1){this.metadata=r,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=a}elementStart(r,a){this.isApplyingToNode(a)&&this.matchTNode(r,a)}elementEnd(r){this._declarationNodeIndex===r.index&&(this._appliesToNextNode=!1)}template(r,a){this.elementStart(r,a)}embeddedTView(r,a){return this.isApplyingToNode(r)?(this.crossesNgTemplate=!0,this.addMatch(-r.index,a),new K1(this.metadata)):null}isApplyingToNode(r){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const a=this._declarationNodeIndex;let h=r.parent;for(;null!==h&&8&h.type&&h.index!==a;)h=h.parent;return a===(null!==h?h.index:-1)}return this._appliesToNextNode}matchTNode(r,a){const h=this.metadata.predicate;if(Array.isArray(h))for(let _=0;_<h.length;_++){const C=h[_];this.matchTNodeWithReadOption(r,a,qM(a,C)),this.matchTNodeWithReadOption(r,a,ss(a,r,C,!1,!1))}else h===Qf?4&a.type&&this.matchTNodeWithReadOption(r,a,-1):this.matchTNodeWithReadOption(r,a,ss(a,r,h,!1,!1))}matchTNodeWithReadOption(r,a,h){if(null!==h){const _=this.metadata.read;if(null!==_)if(_===xh||_===am||_===Qf&&4&a.type)this.addMatch(a.index,-2);else{const C=ss(a,r,_,!1,!1);null!==C&&this.addMatch(a.index,C)}else this.addMatch(a.index,h)}}addMatch(r,a){null===this.matches?this.matches=[r,a]:this.matches.push(r,a)}}function qM(o,r){const a=o.localNames;if(null!==a)for(let h=0;h<a.length;h+=2)if(a[h]===r)return a[h+1];return null}function $M(o,r,a,h){return-1===a?function KM(o,r){return 11&o.type?du(o,r):4&o.type?Lb(o,r):null}(r,o):-2===a?function WM(o,r,a){return a===xh?du(r,o):a===Qf?Lb(r,o):a===am?Jg(r,o):void 0}(o,r,h):Ss(o,o[At],a,r)}function mw(o,r,a,h){const _=r[Ur].queries[h];if(null===_.matches){const C=o.data,J=a.matches,se=[];for(let Me=0;Me<J.length;Me+=2){const at=J[Me];se.push(at<0?null:$M(r,C[at],J[Me+1],a.metadata.read))}_.matches=se}return _.matches}function $1(o,r,a,h){const _=o.queries.getByIndex(a),C=_.matches;if(null!==C){const J=mw(o,r,_,a);for(let se=0;se<C.length;se+=2){const Me=C[se];if(Me>0)h.push(J[se/2]);else{const at=C[se+1],St=r[-Me];for(let qt=Tn;qt<St.length;qt++){const wn=St[qt];wn[Br]===wn[Gi]&&$1(wn[At],wn,at,h)}if(null!==St[dn]){const qt=St[dn];for(let wn=0;wn<qt.length;wn++){const Rn=qt[wn];$1(Rn[At],Rn,at,h)}}}}}return h}function fw(o,r,a){const h=new Rb(4==(4&a));(function C0(o,r,a,h){const _=ag(r);_.push(a),o.firstCreatePass&&pf(o).push(h,_.length-1)})(o,r,h,h.destroy),null===r[Ur]&&(r[Ur]=new Y1),r[Ur].queries.push(new j1(h))}function _w(o,r,a){null===o.queries&&(o.queries=new q1),o.queries.track(new K1(r,a))}function gw(o,r){return o.queries.getByIndex(r)}function bw(o,r,a,h){const _=Oo();if(_.firstCreatePass){const C=or();_w(_,new pw(r,a,h),C.index),function ek(o,r){const a=o.contentQueries||(o.contentQueries=[]);r!==(a.length?a[a.length-1]:-1)&&a.push(o.queries.length-1,r)}(_,o),2==(2&a)&&(_.staticContentQueries=!0)}fw(_,si(),a)}function vw(o,r,a){const h=Oo();h.firstCreatePass&&(_w(h,new pw(o,r,a),-1),2==(2&r)&&(h.staticViewQueries=!0)),fw(h,si(),r)}function yw(o){const r=si(),a=Oo(),h=yr();la(h+1);const _=gw(a,h);if(o.dirty&&function Rc(o){return 4==(4&o[Si])}(r)===(2==(2&_.metadata.flags))){if(null===_.matches)o.reset([]);else{const C=_.crossesNgTemplate?$1(a,r,h,[]):mw(a,r,_,h);o.reset(C,Jv),o.notifyOnChanges()}return!0}return!1}function xw(){return function XM(o,r){return o[Ur].queries[r].queryList}(si(),yr())}function Cw(o){return Bs(function Cl(){return ji.lFrame.contextLView}(),ho+o)}function Pw(o,r=""){const a=si(),h=Oo(),_=o+ho,C=h.firstCreatePass?hu(h,_,1,r,null):h.data[_],J=Iw(h,a,C,r,o);a[_]=J,Zc()&&Op(h,a,J,C),Do(C,!1)}let Iw=(o,r,a,h,_)=>(Hs(!0),cs(r[uo],h));function W1(o){return Nb("",o,""),W1}function Nb(o,r,a){const h=si(),_=Tu(h,o,r,a);return _!==No&&Xl(h,ca(),_),Nb}function X1(o,r,a,h,_){const C=si(),J=Mu(C,o,r,a,h,_);return J!==No&&Xl(C,ca(),J),X1}function ex(o,r,a,h,_,C,J,se,Me){const at=si(),St=function Su(o,r,a,h,_,C,J,se,Me,at){const qt=Rs(o,ve(),a,_,J,Me);return Gt(4),qt?r+ue(a)+h+ue(_)+C+ue(J)+se+ue(Me)+at:No}(at,o,r,a,h,_,C,J,se,Me);return St!==No&&Xl(at,ca(),St),ex}function tx(o,r,a,h,_,C,J,se,Me,at,St){const qt=si(),wn=function Eu(o,r,a,h,_,C,J,se,Me,at,St,qt){const wn=ve();let Rn=Rs(o,wn,a,_,J,Me);return Rn=ya(o,wn+4,St)||Rn,Gt(5),Rn?r+ue(a)+h+ue(_)+C+ue(J)+se+ue(Me)+at+ue(St)+qt:No}(qt,o,r,a,h,_,C,J,se,Me,at,St);return wn!==No&&Xl(qt,ca(),wn),tx}function nx(o,r,a,h,_){if(o=nt(o),Array.isArray(o))for(let C=0;C<o.length;C++)nx(o[C],r,a,h,_);else{const C=Oo(),J=si(),se=or();let Me=Ds(o)?o:nt(o.provide);const at=eh(o),St=1048575&se.providerIndexes,qt=se.directiveStart,wn=se.providerIndexes>>20;if(Ds(o)||!o.multi){const Rn=new Tl(at,_,uu),ni=ox(Me,r,_?St:St+wn,qt);-1===ni?(zc(Ml(se,J),C,Me),ix(C,o,r.length),r.push(Me),se.directiveStart++,se.directiveEnd++,_&&(se.providerIndexes+=1048576),a.push(Rn),J.push(Rn)):(a[ni]=Rn,J[ni]=Rn)}else{const Rn=ox(Me,r,St+wn,qt),ni=ox(Me,r,St,St+wn),Li=ni>=0&&a[ni];if(_&&!Li||!_&&!(Rn>=0&&a[Rn])){zc(Ml(se,J),C,Me);const Ki=function _k(o,r,a,h,_){const C=new Tl(o,a,uu);return C.multi=[],C.index=r,C.componentProviders=0,Uw(C,_,h&&!a),C}(_?fk:mk,a.length,_,h,at);!_&&Li&&(a[ni].providerFactory=Ki),ix(C,o,r.length,0),r.push(Me),se.directiveStart++,se.directiveEnd++,_&&(se.providerIndexes+=1048576),a.push(Ki),J.push(Ki)}else ix(C,o,Rn>-1?Rn:ni,Uw(a[_?ni:Rn],at,!_&&h));!_&&h&&Li&&a[ni].componentProviders++}}}function ix(o,r,a,h){const _=Ds(r),C=function hp(o){return!!o.useClass}(r);if(_||C){const Me=(C?nt(r.useClass):r).prototype.ngOnDestroy;if(Me){const at=o.destroyHooks||(o.destroyHooks=[]);if(!_&&r.multi){const St=at.indexOf(a);-1===St?at.push(a,[h,Me]):at[St+1].push(h,Me)}else at.push(a,Me)}}}function Uw(o,r,a){return a&&o.componentProviders++,o.multi.push(r)-1}function ox(o,r,a,h){for(let _=a;_<h;_++)if(r[_]===o)return _;return-1}function mk(o,r,a,h){return rx(this.multi,[])}function fk(o,r,a,h){const _=this.multi;let C;if(this.providerFactory){const J=this.providerFactory.componentProviders,se=Ss(a,a[At],this.providerFactory.index,h);C=se.slice(0,J),rx(_,C);for(let Me=J;Me<se.length;Me++)C.push(se[Me])}else C=[],rx(_,C);return C}function rx(o,r){for(let a=0;a<o.length;a++)r.push((0,o[a])());return r}function Zw(o,r=[]){return a=>{a.providersResolver=(h,_)=>function pk(o,r,a){const h=Oo();if(h.firstCreatePass){const _=Ei(o);nx(a,h.data,h.blueprint,_,!0),nx(r,h.data,h.blueprint,_,!1)}}(h,_?_(o):o,r)}}class Hh{}class Hw{}function gk(o,r){return new ax(o,r??null,[])}class ax extends Hh{constructor(r,a,h){super(),this._parent=a,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Cg(this);const _=Cr(r);this._bootstrapComponents=Ua(_.bootstrap),this._r3Injector=rh(r,a,[{provide:Hh,useValue:this},{provide:yh,useValue:this.componentFactoryResolver},...h],rn(r),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(r)}get injector(){return this._r3Injector}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(a=>a()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class sx extends Hw{constructor(r){super(),this.moduleType=r}create(r){return new ax(this.moduleType,r,[])}}class Gw extends Hh{constructor(r){super(),this.componentFactoryResolver=new Cg(this),this.instance=null;const a=new dl([...r.providers,{provide:Hh,useValue:this},{provide:yh,useValue:this.componentFactoryResolver}],r.parent||ed(),r.debugName,new Set(["environment"]));this.injector=a,r.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function Jw(o,r,a=null){return new Gw({providers:o,parent:r,debugName:a,runEnvironmentInitializers:!0}).injector}let vk=(()=>{class o{constructor(a){this._injector=a,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){const h=$u(0,a.type),_=h.length>0?Jw([h],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,_)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Vn({token:o,providedIn:"environment",factory:()=>new o(it(ja))})}return o})();function Vw(o){hd("NgStandalone"),o.getStandaloneInjector=r=>r.get(vk).getOrCreateStandaloneInjector(o)}function zw(o,r,a){const h=o.\u0275cmp;h.directiveDefs=qe(r,!1),h.pipeDefs=qe(a,!0)}function e2(o,r,a){const h=Be()+o,_=si();return _[h]===No?pl(_,h,a?r.call(a):r()):Lh(_,h)}function t2(o,r,a,h){return a2(si(),Be(),o,r,a,h)}function n2(o,r,a,h,_){return s2(si(),Be(),o,r,a,h,_)}function o2(o,r,a,h,_,C){return l2(si(),Be(),o,r,a,h,_,C)}function r2(o,r,a,h,_,C,J,se){const Me=Be()+o,at=si(),St=Rs(at,Me,a,h,_,C);return ya(at,Me+4,J)||St?pl(at,Me+5,se?r.call(se,a,h,_,C,J):r(a,h,_,C,J)):Lh(at,Me+5)}function jf(o,r){const a=o[r];return a===No?void 0:a}function a2(o,r,a,h,_,C){const J=r+a;return ya(o,J,_)?pl(o,J+1,C?h.call(C,_):h(_)):jf(o,J+1)}function s2(o,r,a,h,_,C,J){const se=r+a;return fd(o,se,_,C)?pl(o,se+2,J?h.call(J,_,C):h(_,C)):jf(o,se+2)}function l2(o,r,a,h,_,C,J,se){const Me=r+a;return sm(o,Me,_,C,J)?pl(o,Me+3,se?h.call(se,_,C,J):h(_,C,J)):jf(o,Me+3)}function u2(o,r){const a=Oo();let h;const _=o+ho;a.firstCreatePass?(h=function Rk(o,r){if(r)for(let a=r.length-1;a>=0;a--){const h=r[a];if(o===h.name)return h}}(r,a.pipeRegistry),a.data[_]=h,h.onDestroy&&(a.destroyHooks??=[]).push(_,h.onDestroy)):h=a.data[_];const C=h.factory||(h.factory=Qr(h.type)),se=Qi(uu);try{const Me=tl(!1),at=C();return tl(Me),function tk(o,r,a,h){a>=o.data.length&&(o.data[a]=null,o.blueprint[a]=null),r[a]=h}(a,si(),_,at),at}finally{Qi(se)}}function h2(o,r,a){const h=o+ho,_=si(),C=Bs(_,h);return Yf(_,h)?a2(_,Be(),r,C.transform,a,C):C.transform(a)}function p2(o,r,a,h){const _=o+ho,C=si(),J=Bs(C,_);return Yf(C,_)?s2(C,Be(),r,J.transform,a,h,J):J.transform(a,h)}function m2(o,r,a,h,_){const C=o+ho,J=si(),se=Bs(J,C);return Yf(J,C)?l2(J,Be(),r,se.transform,a,h,_,se):se.transform(a,h,_)}function f2(o,r,a,h,_,C){const J=o+ho,se=si(),Me=Bs(se,J);return Yf(se,J)?function c2(o,r,a,h,_,C,J,se,Me){const at=r+a;return Rs(o,at,_,C,J,se)?pl(o,at+4,Me?h.call(Me,_,C,J,se):h(_,C,J,se)):jf(o,at+4)}(se,Be(),r,Me.transform,a,h,_,C,Me):Me.transform(a,h,_,C)}function Yf(o,r){return o[At].data[r].pure}function _2(o,r){return Lb(o,r)}class P2{constructor(r){this.full=r;const a=r.split(".");this.major=a[0],this.minor=a[1],this.patch=a.slice(2).join(".")}}let I2=(()=>{class o{log(a){console.log(a)}warn(a){console.warn(a)}static#e=this.\u0275fac=function(h){return new(h||o)};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac,providedIn:"platform"})}return o})();class iS{constructor(r,a){this.ngModuleFactory=r,this.componentFactories=a}}let oS=(()=>{class o{compileModuleSync(a){return new sx(a)}compileModuleAsync(a){return Promise.resolve(this.compileModuleSync(a))}compileModuleAndAllComponentsSync(a){const h=this.compileModuleSync(a),C=Ua(Cr(a).declarations).reduce((J,se)=>{const Me=ei(se);return Me&&J.push(new md(Me)),J},[]);return new iS(h,C)}compileModuleAndAllComponentsAsync(a){return Promise.resolve(this.compileModuleAndAllComponentsSync(a))}clearCache(){}clearCacheFor(a){}getModuleId(a){}static#e=this.\u0275fac=function(h){return new(h||o)};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Zb=(()=>{class o{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new mt.X(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const a=this.taskId++;return this.pendingTasks.add(a),a}remove(a){this.pendingTasks.delete(a),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(h){return new(h||o)};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const B2=new en(""),U2=new en("");let mx,AS=(()=>{class o{constructor(a,h,_){this._ngZone=a,this.registry=h,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,mx||(function PS(o){mx=o}(_),_.addToWindow(h)),this._watchAngularEvents(),a.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ma.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let a=this._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb()}});else{let a=this.getPendingTasks();this._callbacks=this._callbacks.filter(h=>!h.updateCb||!h.updateCb(a)||(clearTimeout(h.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(a=>({source:a.source,creationLocation:a.creationLocation,data:a.data})):[]}addCallback(a,h,_){let C=-1;h&&h>0&&(C=setTimeout(()=>{this._callbacks=this._callbacks.filter(J=>J.timeoutId!==C),a()},h)),this._callbacks.push({doneCb:a,timeoutId:C,updateCb:_})}whenStable(a,h,_){if(_&&!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(a,h,_),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(a){this.registry.registerApplication(a,this)}unregisterApplication(a){this.registry.unregisterApplication(a)}findProviders(a,h,_){return[]}static#e=this.\u0275fac=function(h){return new(h||o)(it(ma),it(Z2),it(U2))};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac})}return o})(),Z2=(()=>{class o{constructor(){this._applications=new Map}registerApplication(a,h){this._applications.set(a,h)}unregisterApplication(a){this._applications.delete(a)}unregisterAllApplications(){this._applications.clear()}getTestability(a){return this._applications.get(a)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(a,h=!0){return mx?.findTestabilityInTree(this,a,h)??null}static#e=this.\u0275fac=function(h){return new(h||o)};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac,providedIn:"platform"})}return o})();const H2=new en("Application Initializer");let fx=(()=>{class o{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,h)=>{this.resolve=a,this.reject=h}),this.appInits=yn(H2,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const a=[];for(const _ of this.appInits){const C=_();if(H1(C))a.push(C);else if(ew(C)){const J=new Promise((se,Me)=>{C.subscribe({complete:se,error:Me})});a.push(J)}}const h=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{h()}).catch(_=>{this.reject(_)}),0===a.length&&h(),this.initialized=!0}static#e=this.\u0275fac=function(h){return new(h||o)};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const _x=new en("appBootstrapListener");function V2(o,r){return Array.isArray(r)?r.reduce(V2,o):{...o,...r}}let Gh=(()=>{class o{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=yn(Z_),this.afterRenderEffectManager=yn(Eh),this.componentTypes=[],this.components=[],this.isStable=yn(Zb).hasPendingTasks.pipe((0,sn.U)(a=>!a)),this._injector=yn(ja)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(a,h){const _=a instanceof M_;if(!this._injector.get(fx).done)throw!_&&Fr(a),new Jt(405,!1);let J;J=_?a:this._injector.get(yh).resolveComponentFactory(a),this.componentTypes.push(J.componentType);const se=function RS(o){return o.isBoundToModule}(J)?void 0:this._injector.get(Hh),at=J.create(Ya.NULL,[],h||J.selector,se),St=at.location.nativeElement,qt=at.injector.get(B2,null);return qt?.registerApplication(St),at.onDestroy(()=>{this.detachView(at.hostView),Gb(this.components,at),qt?.unregisterApplication(St)}),this._loadComponent(at),at}tick(){if(this._runningTick)throw new Jt(101,!1);try{this._runningTick=!0;for(let a of this._views)a.detectChanges()}catch(a){this.internalErrorHandler(a)}finally{try{this.afterRenderEffectManager.execute()}catch(a){this.internalErrorHandler(a)}this._runningTick=!1}}attachView(a){const h=a;this._views.push(h),h.attachToAppRef(this)}detachView(a){const h=a;Gb(this._views,h),h.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a);const h=this._injector.get(_x,[]);[...this._bootstrapListeners,...h].forEach(_=>_(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>Gb(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new Jt(406,!1);const a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(h){return new(h||o)};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function Gb(o,r){const a=o.indexOf(r);a>-1&&o.splice(a,1)}let NS=(()=>{class o{constructor(){this.zone=yn(ma),this.applicationRef=yn(Gh)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(h){return new(h||o)};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function FS(){const o=yn(ma),r=yn(Dc);return a=>o.runOutsideAngular(()=>r.handleError(a))}let US=(()=>{class o{constructor(){this.subscription=new Ft.w0,this.initialized=!1,this.zone=yn(ma),this.pendingTasks=yn(Zb)}initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ma.assertNotInAngularZone(),queueMicrotask(()=>{null!==a&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ma.assertInAngularZone(),a??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(h){return new(h||o)};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();const Vb=new en("LocaleId",{providedIn:"root",factory:()=>yn(Vb,xi.Optional|xi.SkipSelf)||function ZS(){return typeof $localize<"u"&&$localize.locale||bm}()}),HS=new en("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),gx=new en("PlatformDestroyListeners");let Y2=(()=>{class o{constructor(a){this._injector=a,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(a,h){const _=function sy(o="zone.js",r){return"noop"===o?new _g:"zone.js"===o?new ma(r):o}(h?.ngZone,function j2(o){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:o?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:o?.runCoalescing??!1}}({eventCoalescing:h?.ngZoneEventCoalescing,runCoalescing:h?.ngZoneRunCoalescing}));return _.run(()=>{const C=function bk(o,r,a){return new ax(o,r,a)}(a.moduleType,this.injector,function Q2(o){return[{provide:ma,useFactory:o},{provide:Os,multi:!0,useFactory:()=>{const r=yn(NS,{optional:!0});return()=>r.initialize()}},{provide:Os,multi:!0,useFactory:()=>{const r=yn(US);return()=>{r.initialize()}}},{provide:Z_,useFactory:FS}]}(()=>_)),J=C.injector.get(Dc,null);return _.runOutsideAngular(()=>{const se=_.onError.subscribe({next:Me=>{J.handleError(Me)}});C.onDestroy(()=>{Gb(this._modules,C),se.unsubscribe()})}),function J2(o,r,a){try{const h=a();return H1(h)?h.catch(_=>{throw r.runOutsideAngular(()=>o.handleError(_)),_}):h}catch(h){throw r.runOutsideAngular(()=>o.handleError(h)),h}}(J,_,()=>{const se=C.injector.get(fx);return se.runInitializers(),se.donePromise.then(()=>(OC(C.injector.get(Vb,bm)||bm),this._moduleDoBootstrap(C),C))})})}bootstrapModule(a,h=[]){const _=V2({},h);return function IS(o,r,a){const h=new sx(a);return Promise.resolve(h)}(0,0,a).then(C=>this.bootstrapModuleFactory(C,_))}_moduleDoBootstrap(a){const h=a.injector.get(Gh);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(_=>h.bootstrap(_));else{if(!a.instance.ngDoBootstrap)throw new Jt(-403,!1);a.instance.ngDoBootstrap(h)}this._modules.push(a)}onDestroy(a){this._destroyListeners.push(a)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Jt(404,!1);this._modules.slice().forEach(h=>h.destroy()),this._destroyListeners.forEach(h=>h());const a=this._injector.get(gx,null);a&&(a.forEach(h=>h()),a.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(h){return new(h||o)(it(Ya))};static#t=this.\u0275prov=Vn({token:o,factory:o.\u0275fac,providedIn:"platform"})}return o})(),Iu=null;const q2=new en("AllowMultipleToken");function K2(o,r,a=[]){const h=`Platform: ${r}`,_=new en(h);return(C=[])=>{let J=bx();if(!J||J.injector.get(q2,!1)){const se=[...a,...C,{provide:_,useValue:!0}];o?o(se):function JS(o){if(Iu&&!Iu.get(q2,!1))throw new Jt(400,!1);(function G2(){!function Fe(o){Ze=o}(()=>{throw new Jt(600,!1)})})(),Iu=o;const r=o.get(Y2);(function W2(o){o.get($d,null)?.forEach(a=>a())})(o)}(function $2(o=[],r){return Ya.create({name:r,providers:[{provide:Vd,useValue:"platform"},{provide:gx,useValue:new Set([()=>Iu=null])},...o]})}(se,h))}return function VS(o){const r=bx();if(!r)throw new Jt(401,!1);return r}()}}function bx(){return Iu?.get(Y2)??null}function QS(){return!1}function jS(){}const WS=K2(null,"core",[]);let XS=(()=>{class o{constructor(a){}static#e=this.\u0275fac=function(h){return new(h||o)(it(Gh))};static#t=this.\u0275mod=br({type:o});static#n=this.\u0275inj=nn({})}return o})();function kE(o){return"boolean"==typeof o?o:null!=o&&"false"!==o}function EE(o,r){const a=ei(o),h=r.elementInjector||ed();return new md(a).create(h,r.projectableNodes,r.hostElement,r.environmentInjector)}function OE(o){const r=ei(o);if(!r)return null;const a=new md(r);return{get selector(){return a.selector},get type(){return a.componentType},get inputs(){return a.inputs},get outputs(){return a.outputs},get ngContentSelectors(){return a.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}},6223:(jt,$e,s)=>{"use strict";s.d($e,{CE:()=>Yt,Cf:()=>oe,EJ:()=>lt,F:()=>ao,Fd:()=>ki,Fj:()=>A,JJ:()=>Jt,JL:()=>cn,JU:()=>I,Kr:()=>gi,NI:()=>bo,Oe:()=>ar,On:()=>fi,Q7:()=>je,QS:()=>eo,UX:()=>Cr,Wl:()=>y,YN:()=>Ut,Zs:()=>bt,_:()=>Mr,_Y:()=>Ui,a5:()=>mt,cw:()=>j,gN:()=>Ft,kI:()=>K,nD:()=>An,oH:()=>Er,p4:()=>Qi,qQ:()=>D,qu:()=>vo,sg:()=>Ci,u:()=>ur,u5:()=>Fr,wV:()=>Lo,x0:()=>ct});var t=s(9212),u=s(6814),e=s(7715),m=s(9315),p=s(7398);let U=(()=>{class ut{constructor(qe,Ht){this._renderer=qe,this._elementRef=Ht,this.onChange=Cn=>{},this.onTouched=()=>{}}setProperty(qe,Ht){this._renderer.setProperty(this._elementRef.nativeElement,qe,Ht)}registerOnTouched(qe){this.onTouched=qe}registerOnChange(qe){this.onChange=qe}setDisabledState(qe){this.setProperty("disabled",qe)}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(t.Qsj),t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:ut})}return ut})(),n=(()=>{class ut extends U{static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,features:[t.qOj]})}return ut})();const I=new t.OlP("NgValueAccessor"),L={provide:I,useExisting:(0,t.Gpc)(()=>y),multi:!0};let y=(()=>{class ut extends n{writeValue(qe){this.setProperty("checked",qe)}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Ht,Cn){1&Ht&&t.NdJ("change",function(At){return Cn.onChange(At.target.checked)})("blur",function(){return Cn.onTouched()})},features:[t._Bn([L]),t.qOj]})}return ut})();const O={provide:I,useExisting:(0,t.Gpc)(()=>A),multi:!0},E=new t.OlP("CompositionEventMode");let A=(()=>{class ut extends U{constructor(qe,Ht,Cn){super(qe,Ht),this._compositionMode=Cn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function M(){const ut=(0,u.q)()?(0,u.q)().getUserAgent():"";return/android (\d+)/.test(ut.toLowerCase())}())}writeValue(qe){this.setProperty("value",qe??"")}_handleInput(qe){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(qe)}_compositionStart(){this._composing=!0}_compositionEnd(qe){this._composing=!1,this._compositionMode&&this.onChange(qe)}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(E,8))};static#t=this.\u0275dir=t.lG2({type:ut,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(Ht,Cn){1&Ht&&t.NdJ("input",function(At){return Cn._handleInput(At.target.value)})("blur",function(){return Cn.onTouched()})("compositionstart",function(){return Cn._compositionStart()})("compositionend",function(At){return Cn._compositionEnd(At.target.value)})},features:[t._Bn([O]),t.qOj]})}return ut})();function S(ut){return null==ut||("string"==typeof ut||Array.isArray(ut))&&0===ut.length}function Z(ut){return null!=ut&&"number"==typeof ut.length}const oe=new t.OlP("NgValidators"),le=new t.OlP("NgAsyncValidators"),ee=/^(?=.{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 K{static min(xt){return Q(xt)}static max(xt){return q(xt)}static required(xt){return H(xt)}static requiredTrue(xt){return T(xt)}static email(xt){return function ie(ut){return S(ut.value)||ee.test(ut.value)?null:{email:!0}}(xt)}static minLength(xt){return function _e(ut){return xt=>S(xt.value)||!Z(xt.value)?null:xt.value.length<ut?{minlength:{requiredLength:ut,actualLength:xt.value.length}}:null}(xt)}static maxLength(xt){return Ce(xt)}static pattern(xt){return function Ve(ut){if(!ut)return ae;let xt,qe;return"string"==typeof ut?(qe="","^"!==ut.charAt(0)&&(qe+="^"),qe+=ut,"$"!==ut.charAt(ut.length-1)&&(qe+="$"),xt=new RegExp(qe)):(qe=ut.toString(),xt=ut),Ht=>{if(S(Ht.value))return null;const Cn=Ht.value;return xt.test(Cn)?null:{pattern:{requiredPattern:qe,actualValue:Cn}}}}(xt)}static nullValidator(xt){return null}static compose(xt){return Ie(xt)}static composeAsync(xt){return we(xt)}}function Q(ut){return xt=>{if(S(xt.value)||S(ut))return null;const qe=parseFloat(xt.value);return!isNaN(qe)&&qe<ut?{min:{min:ut,actual:xt.value}}:null}}function q(ut){return xt=>{if(S(xt.value)||S(ut))return null;const qe=parseFloat(xt.value);return!isNaN(qe)&&qe>ut?{max:{max:ut,actual:xt.value}}:null}}function H(ut){return S(ut.value)?{required:!0}:null}function T(ut){return!0===ut.value?null:{required:!0}}function Ce(ut){return xt=>Z(xt.value)&&xt.value.length>ut?{maxlength:{requiredLength:ut,actualLength:xt.value.length}}:null}function ae(ut){return null}function pe(ut){return null!=ut}function Ae(ut){return(0,t.QGY)(ut)?(0,e.D)(ut):ut}function Ze(ut){let xt={};return ut.forEach(qe=>{xt=null!=qe?{...xt,...qe}:xt}),0===Object.keys(xt).length?null:xt}function dt(ut,xt){return xt.map(qe=>qe(ut))}function Xe(ut){return ut.map(xt=>function Fe(ut){return!ut.validate}(xt)?xt:qe=>xt.validate(qe))}function Ie(ut){if(!ut)return null;const xt=ut.filter(pe);return 0==xt.length?null:function(qe){return Ze(dt(qe,xt))}}function W(ut){return null!=ut?Ie(Xe(ut)):null}function we(ut){if(!ut)return null;const xt=ut.filter(pe);return 0==xt.length?null:function(qe){const Ht=dt(qe,xt).map(Ae);return(0,m.D)(Ht).pipe((0,p.U)(Ze))}}function P(ut){return null!=ut?we(Xe(ut)):null}function V(ut,xt){return null===ut?[xt]:Array.isArray(ut)?[...ut,xt]:[ut,xt]}function Se(ut){return ut._rawValidators}function G(ut){return ut._rawAsyncValidators}function be(ut){return ut?Array.isArray(ut)?ut:[ut]:[]}function de(ut,xt){return Array.isArray(ut)?ut.includes(xt):ut===xt}function De(ut,xt){const qe=be(xt);return be(ut).forEach(Cn=>{de(qe,Cn)||qe.push(Cn)}),qe}function tt(ut,xt){return be(xt).filter(qe=>!de(ut,qe))}class Re{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(xt){this._rawValidators=xt||[],this._composedValidatorFn=W(this._rawValidators)}_setAsyncValidators(xt){this._rawAsyncValidators=xt||[],this._composedAsyncValidatorFn=P(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(xt){this._onDestroyCallbacks.push(xt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(xt=>xt()),this._onDestroyCallbacks=[]}reset(xt=void 0){this.control&&this.control.reset(xt)}hasError(xt,qe){return!!this.control&&this.control.hasError(xt,qe)}getError(xt,qe){return this.control?this.control.getError(xt,qe):null}}class Ft extends Re{get formDirective(){return null}get path(){return null}}class mt extends Re{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class sn{constructor(xt){this._cd=xt}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Jt=(()=>{class ut extends sn{constructor(qe){super(qe)}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(mt,2))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ht,Cn){2&Ht&&t.ekj("ng-untouched",Cn.isUntouched)("ng-touched",Cn.isTouched)("ng-pristine",Cn.isPristine)("ng-dirty",Cn.isDirty)("ng-valid",Cn.isValid)("ng-invalid",Cn.isInvalid)("ng-pending",Cn.isPending)},features:[t.qOj]})}return ut})(),cn=(()=>{class ut extends sn{constructor(qe){super(qe)}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(Ft,10))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ht,Cn){2&Ht&&t.ekj("ng-untouched",Cn.isUntouched)("ng-touched",Cn.isTouched)("ng-pristine",Cn.isPristine)("ng-dirty",Cn.isDirty)("ng-valid",Cn.isValid)("ng-invalid",Cn.isInvalid)("ng-pending",Cn.isPending)("ng-submitted",Cn.isSubmitted)},features:[t.qOj]})}return ut})();const zt="VALID",$t="INVALID",Mn="PENDING",Wn="DISABLED";function di(ut){return(ue(ut)?ut.validators:ut)||null}function Xt(ut,xt){return(ue(xt)?xt.asyncValidators:ut)||null}function ue(ut){return null!=ut&&!Array.isArray(ut)&&"object"==typeof ut}function X(ut,xt,qe){const Ht=ut.controls;if(!(xt?Object.keys(Ht):Ht).length)throw new t.vHH(1e3,"");if(!Ht[qe])throw new t.vHH(1001,"")}function xe(ut,xt,qe){ut._forEachChild((Ht,Cn)=>{if(void 0===qe[Cn])throw new t.vHH(1002,"")})}class et{constructor(xt,qe){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(xt),this._assignAsyncValidators(qe)}get validator(){return this._composedValidatorFn}set validator(xt){this._rawValidators=this._composedValidatorFn=xt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(xt){this._rawAsyncValidators=this._composedAsyncValidatorFn=xt}get parent(){return this._parent}get valid(){return this.status===zt}get invalid(){return this.status===$t}get pending(){return this.status==Mn}get disabled(){return this.status===Wn}get enabled(){return this.status!==Wn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(xt){this._assignValidators(xt)}setAsyncValidators(xt){this._assignAsyncValidators(xt)}addValidators(xt){this.setValidators(De(xt,this._rawValidators))}addAsyncValidators(xt){this.setAsyncValidators(De(xt,this._rawAsyncValidators))}removeValidators(xt){this.setValidators(tt(xt,this._rawValidators))}removeAsyncValidators(xt){this.setAsyncValidators(tt(xt,this._rawAsyncValidators))}hasValidator(xt){return de(this._rawValidators,xt)}hasAsyncValidator(xt){return de(this._rawAsyncValidators,xt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(xt={}){this.touched=!0,this._parent&&!xt.onlySelf&&this._parent.markAsTouched(xt)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(xt=>xt.markAllAsTouched())}markAsUntouched(xt={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(qe=>{qe.markAsUntouched({onlySelf:!0})}),this._parent&&!xt.onlySelf&&this._parent._updateTouched(xt)}markAsDirty(xt={}){this.pristine=!1,this._parent&&!xt.onlySelf&&this._parent.markAsDirty(xt)}markAsPristine(xt={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(qe=>{qe.markAsPristine({onlySelf:!0})}),this._parent&&!xt.onlySelf&&this._parent._updatePristine(xt)}markAsPending(xt={}){this.status=Mn,!1!==xt.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!xt.onlySelf&&this._parent.markAsPending(xt)}disable(xt={}){const qe=this._parentMarkedDirty(xt.onlySelf);this.status=Wn,this.errors=null,this._forEachChild(Ht=>{Ht.disable({...xt,onlySelf:!0})}),this._updateValue(),!1!==xt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...xt,skipPristineCheck:qe}),this._onDisabledChange.forEach(Ht=>Ht(!0))}enable(xt={}){const qe=this._parentMarkedDirty(xt.onlySelf);this.status=zt,this._forEachChild(Ht=>{Ht.enable({...xt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:xt.emitEvent}),this._updateAncestors({...xt,skipPristineCheck:qe}),this._onDisabledChange.forEach(Ht=>Ht(!1))}_updateAncestors(xt){this._parent&&!xt.onlySelf&&(this._parent.updateValueAndValidity(xt),xt.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(xt){this._parent=xt}getRawValue(){return this.value}updateValueAndValidity(xt={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zt||this.status===Mn)&&this._runAsyncValidator(xt.emitEvent)),!1!==xt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!xt.onlySelf&&this._parent.updateValueAndValidity(xt)}_updateTreeValidity(xt={emitEvent:!0}){this._forEachChild(qe=>qe._updateTreeValidity(xt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:xt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Wn:zt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(xt){if(this.asyncValidator){this.status=Mn,this._hasOwnPendingAsyncValidator=!0;const qe=Ae(this.asyncValidator(this));this._asyncValidationSubscription=qe.subscribe(Ht=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ht,{emitEvent:xt})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(xt,qe={}){this.errors=xt,this._updateControlsErrors(!1!==qe.emitEvent)}get(xt){let qe=xt;return null==qe||(Array.isArray(qe)||(qe=qe.split(".")),0===qe.length)?null:qe.reduce((Ht,Cn)=>Ht&&Ht._find(Cn),this)}getError(xt,qe){const Ht=qe?this.get(qe):this;return Ht&&Ht.errors?Ht.errors[xt]:null}hasError(xt,qe){return!!this.getError(xt,qe)}get root(){let xt=this;for(;xt._parent;)xt=xt._parent;return xt}_updateControlsErrors(xt){this.status=this._calculateStatus(),xt&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(xt)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?Wn:this.errors?$t:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Mn)?Mn:this._anyControlsHaveStatus($t)?$t:zt}_anyControlsHaveStatus(xt){return this._anyControls(qe=>qe.status===xt)}_anyControlsDirty(){return this._anyControls(xt=>xt.dirty)}_anyControlsTouched(){return this._anyControls(xt=>xt.touched)}_updatePristine(xt={}){this.pristine=!this._anyControlsDirty(),this._parent&&!xt.onlySelf&&this._parent._updatePristine(xt)}_updateTouched(xt={}){this.touched=this._anyControlsTouched(),this._parent&&!xt.onlySelf&&this._parent._updateTouched(xt)}_registerOnCollectionChange(xt){this._onCollectionChange=xt}_setUpdateStrategy(xt){ue(xt)&&null!=xt.updateOn&&(this._updateOn=xt.updateOn)}_parentMarkedDirty(xt){return!xt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(xt){return null}_assignValidators(xt){this._rawValidators=Array.isArray(xt)?xt.slice():xt,this._composedValidatorFn=function Pt(ut){return Array.isArray(ut)?W(ut):ut||null}(this._rawValidators)}_assignAsyncValidators(xt){this._rawAsyncValidators=Array.isArray(xt)?xt.slice():xt,this._composedAsyncValidatorFn=function Le(ut){return Array.isArray(ut)?P(ut):ut||null}(this._rawAsyncValidators)}}class j extends et{constructor(xt,qe,Ht){super(di(qe),Xt(Ht,qe)),this.controls=xt,this._initObservables(),this._setUpdateStrategy(qe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(xt,qe){return this.controls[xt]?this.controls[xt]:(this.controls[xt]=qe,qe.setParent(this),qe._registerOnCollectionChange(this._onCollectionChange),qe)}addControl(xt,qe,Ht={}){this.registerControl(xt,qe),this.updateValueAndValidity({emitEvent:Ht.emitEvent}),this._onCollectionChange()}removeControl(xt,qe={}){this.controls[xt]&&this.controls[xt]._registerOnCollectionChange(()=>{}),delete this.controls[xt],this.updateValueAndValidity({emitEvent:qe.emitEvent}),this._onCollectionChange()}setControl(xt,qe,Ht={}){this.controls[xt]&&this.controls[xt]._registerOnCollectionChange(()=>{}),delete this.controls[xt],qe&&this.registerControl(xt,qe),this.updateValueAndValidity({emitEvent:Ht.emitEvent}),this._onCollectionChange()}contains(xt){return this.controls.hasOwnProperty(xt)&&this.controls[xt].enabled}setValue(xt,qe={}){xe(this,0,xt),Object.keys(xt).forEach(Ht=>{X(this,!0,Ht),this.controls[Ht].setValue(xt[Ht],{onlySelf:!0,emitEvent:qe.emitEvent})}),this.updateValueAndValidity(qe)}patchValue(xt,qe={}){null!=xt&&(Object.keys(xt).forEach(Ht=>{const Cn=this.controls[Ht];Cn&&Cn.patchValue(xt[Ht],{onlySelf:!0,emitEvent:qe.emitEvent})}),this.updateValueAndValidity(qe))}reset(xt={},qe={}){this._forEachChild((Ht,Cn)=>{Ht.reset(xt?xt[Cn]:null,{onlySelf:!0,emitEvent:qe.emitEvent})}),this._updatePristine(qe),this._updateTouched(qe),this.updateValueAndValidity(qe)}getRawValue(){return this._reduceChildren({},(xt,qe,Ht)=>(xt[Ht]=qe.getRawValue(),xt))}_syncPendingControls(){let xt=this._reduceChildren(!1,(qe,Ht)=>!!Ht._syncPendingControls()||qe);return xt&&this.updateValueAndValidity({onlySelf:!0}),xt}_forEachChild(xt){Object.keys(this.controls).forEach(qe=>{const Ht=this.controls[qe];Ht&&xt(Ht,qe)})}_setUpControls(){this._forEachChild(xt=>{xt.setParent(this),xt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(xt){for(const[qe,Ht]of Object.entries(this.controls))if(this.contains(qe)&&xt(Ht))return!0;return!1}_reduceValue(){return this._reduceChildren({},(qe,Ht,Cn)=>((Ht.enabled||this.disabled)&&(qe[Cn]=Ht.value),qe))}_reduceChildren(xt,qe){let Ht=xt;return this._forEachChild((Cn,li)=>{Ht=qe(Ht,Cn,li)}),Ht}_allControlsDisabled(){for(const xt of Object.keys(this.controls))if(this.controls[xt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(xt){return this.controls.hasOwnProperty(xt)?this.controls[xt]:null}}class ne extends j{}const re=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>B}),B="always";function Y(ut,xt){return[...xt.path,ut]}function Qe(ut,xt,qe=B){xn(ut,xt),xt.valueAccessor.writeValue(ut.value),(ut.disabled||"always"===qe)&&xt.valueAccessor.setDisabledState?.(ut.disabled),function Ot(ut,xt){xt.valueAccessor.registerOnChange(qe=>{ut._pendingValue=qe,ut._pendingChange=!0,ut._pendingDirty=!0,"change"===ut.updateOn&&ye(ut,xt)})}(ut,xt),function It(ut,xt){const qe=(Ht,Cn)=>{xt.valueAccessor.writeValue(Ht),Cn&&xt.viewToModelUpdate(Ht)};ut.registerOnChange(qe),xt._registerOnDestroy(()=>{ut._unregisterOnChange(qe)})}(ut,xt),function En(ut,xt){xt.valueAccessor.registerOnTouched(()=>{ut._pendingTouched=!0,"blur"===ut.updateOn&&ut._pendingChange&&ye(ut,xt),"submit"!==ut.updateOn&&ut.markAsTouched()})}(ut,xt),function bn(ut,xt){if(xt.valueAccessor.setDisabledState){const qe=Ht=>{xt.valueAccessor.setDisabledState(Ht)};ut.registerOnDisabledChange(qe),xt._registerOnDestroy(()=>{ut._unregisterOnDisabledChange(qe)})}}(ut,xt)}function _t(ut,xt,qe=!0){const Ht=()=>{};xt.valueAccessor&&(xt.valueAccessor.registerOnChange(Ht),xt.valueAccessor.registerOnTouched(Ht)),Fn(ut,xt),ut&&(xt._invokeOnDestroyCallbacks(),ut._registerOnCollectionChange(()=>{}))}function Vt(ut,xt){ut.forEach(qe=>{qe.registerOnValidatorChange&&qe.registerOnValidatorChange(xt)})}function xn(ut,xt){const qe=Se(ut);null!==xt.validator?ut.setValidators(V(qe,xt.validator)):"function"==typeof qe&&ut.setValidators([qe]);const Ht=G(ut);null!==xt.asyncValidator?ut.setAsyncValidators(V(Ht,xt.asyncValidator)):"function"==typeof Ht&&ut.setAsyncValidators([Ht]);const Cn=()=>ut.updateValueAndValidity();Vt(xt._rawValidators,Cn),Vt(xt._rawAsyncValidators,Cn)}function Fn(ut,xt){let qe=!1;if(null!==ut){if(null!==xt.validator){const Cn=Se(ut);if(Array.isArray(Cn)&&Cn.length>0){const li=Cn.filter(At=>At!==xt.validator);li.length!==Cn.length&&(qe=!0,ut.setValidators(li))}}if(null!==xt.asyncValidator){const Cn=G(ut);if(Array.isArray(Cn)&&Cn.length>0){const li=Cn.filter(At=>At!==xt.asyncValidator);li.length!==Cn.length&&(qe=!0,ut.setAsyncValidators(li))}}}const Ht=()=>{};return Vt(xt._rawValidators,Ht),Vt(xt._rawAsyncValidators,Ht),qe}function ye(ut,xt){ut._pendingDirty&&ut.markAsDirty(),ut.setValue(ut._pendingValue,{emitModelToViewChange:!1}),xt.viewToModelUpdate(ut._pendingValue),ut._pendingChange=!1}function pt(ut,xt){xn(ut,xt)}function Wt(ut,xt){if(!ut.hasOwnProperty("model"))return!1;const qe=ut.model;return!!qe.isFirstChange()||!Object.is(xt,qe.currentValue)}function Un(ut,xt){ut._syncPendingControls(),xt.forEach(qe=>{const Ht=qe.control;"submit"===Ht.updateOn&&Ht._pendingChange&&(qe.viewToModelUpdate(Ht._pendingValue),Ht._pendingChange=!1)})}function jn(ut,xt){if(!xt)return null;let qe,Ht,Cn;return Array.isArray(xt),xt.forEach(li=>{li.constructor===A?qe=li:function Pn(ut){return Object.getPrototypeOf(ut.constructor)===n}(li)?Ht=li:Cn=li}),Cn||Ht||qe||null}const hi={provide:Ft,useExisting:(0,t.Gpc)(()=>ao)},Xi=Promise.resolve();let ao=(()=>{class ut extends Ft{constructor(qe,Ht,Cn){super(),this.callSetDisabledState=Cn,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new j({},W(qe),P(Ht))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(qe){Xi.then(()=>{const Ht=this._findContainer(qe.path);qe.control=Ht.registerControl(qe.name,qe.control),Qe(qe.control,qe,this.callSetDisabledState),qe.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(qe)})}getControl(qe){return this.form.get(qe.path)}removeControl(qe){Xi.then(()=>{const Ht=this._findContainer(qe.path);Ht&&Ht.removeControl(qe.name),this._directives.delete(qe)})}addFormGroup(qe){Xi.then(()=>{const Ht=this._findContainer(qe.path),Cn=new j({});pt(Cn,qe),Ht.registerControl(qe.name,Cn),Cn.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(qe){Xi.then(()=>{const Ht=this._findContainer(qe.path);Ht&&Ht.removeControl(qe.name)})}getFormGroup(qe){return this.form.get(qe.path)}updateModel(qe,Ht){Xi.then(()=>{this.form.get(qe.path).setValue(Ht)})}setValue(qe){this.control.setValue(qe)}onSubmit(qe){return this.submitted=!0,Un(this.form,this._directives),this.ngSubmit.emit(qe),"dialog"===qe?.target?.method}onReset(){this.resetForm()}resetForm(qe=void 0){this.form.reset(qe),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(qe){return qe.pop(),qe.length?this.form.get(qe):this.form}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(oe,10),t.Y36(le,10),t.Y36(re,8))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ht,Cn){1&Ht&&t.NdJ("submit",function(At){return Cn.onSubmit(At)})("reset",function(){return Cn.onReset()})},inputs:{options:[t.lbL.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([hi]),t.qOj]})}return ut})();function xi(ut,xt){const qe=ut.indexOf(xt);qe>-1&&ut.splice(qe,1)}function Bi(ut){return"object"==typeof ut&&null!==ut&&2===Object.keys(ut).length&&"value"in ut&&"disabled"in ut}const bo=class extends et{constructor(xt=null,qe,Ht){super(di(qe),Xt(Ht,qe)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(xt),this._setUpdateStrategy(qe),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ue(qe)&&(qe.nonNullable||qe.initialValueIsDefault)&&(this.defaultValue=Bi(xt)?xt.value:xt)}setValue(xt,qe={}){this.value=this._pendingValue=xt,this._onChange.length&&!1!==qe.emitModelToViewChange&&this._onChange.forEach(Ht=>Ht(this.value,!1!==qe.emitViewToModelChange)),this.updateValueAndValidity(qe)}patchValue(xt,qe={}){this.setValue(xt,qe)}reset(xt=this.defaultValue,qe={}){this._applyFormState(xt),this.markAsPristine(qe),this.markAsUntouched(qe),this.setValue(this.value,qe),this._pendingChange=!1}_updateValue(){}_anyControls(xt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(xt){this._onChange.push(xt)}_unregisterOnChange(xt){xi(this._onChange,xt)}registerOnDisabledChange(xt){this._onDisabledChange.push(xt)}_unregisterOnDisabledChange(xt){xi(this._onDisabledChange,xt)}_forEachChild(xt){}_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(xt){Bi(xt)?(this.value=this._pendingValue=xt.value,xt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=xt}},Qi=bo;let mi=(()=>{class ut extends Ft{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Y(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,features:[t.qOj]})}return ut})();const an={provide:mt,useExisting:(0,t.Gpc)(()=>fi)},Xn=Promise.resolve();let fi=(()=>{class ut extends mt{constructor(qe,Ht,Cn,li,At,Si){super(),this._changeDetectorRef=At,this.callSetDisabledState=Si,this.control=new bo,this._registered=!1,this.name="",this.update=new t.vpe,this._parent=qe,this._setValidators(Ht),this._setAsyncValidators(Cn),this.valueAccessor=jn(0,li)}ngOnChanges(qe){if(this._checkForErrors(),!this._registered||"name"in qe){if(this._registered&&(this._checkName(),this.formDirective)){const Ht=qe.name.previousValue;this.formDirective.removeControl({name:Ht,path:this._getPath(Ht)})}this._setUpControl()}"isDisabled"in qe&&this._updateDisabled(qe),Wt(qe,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(qe){this.viewModel=qe,this.update.emit(qe)}_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(){Qe(this.control,this,this.callSetDisabledState),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(qe){Xn.then(()=>{this.control.setValue(qe,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(qe){const Ht=qe.isDisabled.currentValue,Cn=0!==Ht&&(0,t.VuI)(Ht);Xn.then(()=>{Cn&&!this.control.disabled?this.control.disable():!Cn&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(qe){return this._parent?Y(qe,this._parent):[qe]}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(Ft,9),t.Y36(oe,10),t.Y36(le,10),t.Y36(I,10),t.Y36(t.sBO,8),t.Y36(re,8))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[t.lbL.None,"disabled","isDisabled"],model:[t.lbL.None,"ngModel","model"],options:[t.lbL.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t._Bn([an]),t.qOj,t.TTD]})}return ut})(),Ui=(()=>{class ut{static#e=this.\u0275fac=function(Ht){return new(Ht||ut)};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return ut})();const So={provide:I,useExisting:(0,t.Gpc)(()=>Lo),multi:!0};let Lo=(()=>{class ut extends n{writeValue(qe){this.setProperty("value",qe??"")}registerOnChange(qe){this.onChange=Ht=>{qe(""==Ht?null:parseFloat(Ht))}}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ht,Cn){1&Ht&&t.NdJ("input",function(At){return Cn.onChange(At.target.value)})("blur",function(){return Cn.onTouched()})},features:[t._Bn([So]),t.qOj]})}return ut})();const Co={provide:I,useExisting:(0,t.Gpc)(()=>Mr),multi:!0};let $o=(()=>{class ut{static#e=this.\u0275fac=function(Ht){return new(Ht||ut)};static#t=this.\u0275mod=t.oAB({type:ut});static#n=this.\u0275inj=t.cJS({})}return ut})(),tr=(()=>{class ut{constructor(){this._accessors=[]}add(qe,Ht){this._accessors.push([qe,Ht])}remove(qe){for(let Ht=this._accessors.length-1;Ht>=0;--Ht)if(this._accessors[Ht][1]===qe)return void this._accessors.splice(Ht,1)}select(qe){this._accessors.forEach(Ht=>{this._isSameGroup(Ht,qe)&&Ht[1]!==qe&&Ht[1].fireUncheck(qe.value)})}_isSameGroup(qe,Ht){return!!qe[0].control&&qe[0]._parent===Ht._control._parent&&qe[1].name===Ht.name}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)};static#t=this.\u0275prov=t.Yz7({token:ut,factory:ut.\u0275fac,providedIn:$o})}return ut})(),Mr=(()=>{class ut extends n{constructor(qe,Ht,Cn,li){super(qe,Ht),this._registry=Cn,this._injector=li,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,t.f3M)(re,{optional:!0})??B}ngOnInit(){this._control=this._injector.get(mt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(qe){this._state=qe===this.value,this.setProperty("checked",this._state)}registerOnChange(qe){this._fn=qe,this.onChange=()=>{qe(this.value),this._registry.select(this)}}setDisabledState(qe){(this.setDisabledStateFired||qe||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",qe),this.setDisabledStateFired=!0}fireUncheck(qe){this.writeValue(qe)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(tr),t.Y36(t.zs3))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Ht,Cn){1&Ht&&t.NdJ("change",function(){return Cn.onChange()})("blur",function(){return Cn.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[t._Bn([Co]),t.qOj]})}return ut})();const qr=new t.OlP("NgModelWithFormControlWarning"),Nr={provide:mt,useExisting:(0,t.Gpc)(()=>Er)};let Er=(()=>{class ut extends mt{set isDisabled(qe){}static#e=this._ngModelWarningSentOnce=!1;constructor(qe,Ht,Cn,li,At){super(),this._ngModelWarningConfig=li,this.callSetDisabledState=At,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(qe),this._setAsyncValidators(Ht),this.valueAccessor=jn(0,Cn)}ngOnChanges(qe){if(this._isControlChanged(qe)){const Ht=qe.form.previousValue;Ht&&_t(Ht,this,!1),Qe(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Wt(qe,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&_t(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(qe){this.viewModel=qe,this.update.emit(qe)}_isControlChanged(qe){return qe.hasOwnProperty("form")}static#t=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(oe,10),t.Y36(le,10),t.Y36(I,10),t.Y36(qr,8),t.Y36(re,8))};static#n=this.\u0275dir=t.lG2({type:ut,selectors:[["","formControl",""]],inputs:{form:[t.lbL.None,"formControl","form"],isDisabled:[t.lbL.None,"disabled","isDisabled"],model:[t.lbL.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t._Bn([Nr]),t.qOj,t.TTD]})}return ut})();const ln={provide:Ft,useExisting:(0,t.Gpc)(()=>Ci)};let Ci=(()=>{class ut extends Ft{constructor(qe,Ht,Cn){super(),this.callSetDisabledState=Cn,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(qe),this._setAsyncValidators(Ht)}ngOnChanges(qe){this._checkFormPresent(),qe.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Fn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(qe){const Ht=this.form.get(qe.path);return Qe(Ht,qe,this.callSetDisabledState),Ht.updateValueAndValidity({emitEvent:!1}),this.directives.push(qe),Ht}getControl(qe){return this.form.get(qe.path)}removeControl(qe){_t(qe.control||null,qe,!1),function ui(ut,xt){const qe=ut.indexOf(xt);qe>-1&&ut.splice(qe,1)}(this.directives,qe)}addFormGroup(qe){this._setUpFormContainer(qe)}removeFormGroup(qe){this._cleanUpFormContainer(qe)}getFormGroup(qe){return this.form.get(qe.path)}addFormArray(qe){this._setUpFormContainer(qe)}removeFormArray(qe){this._cleanUpFormContainer(qe)}getFormArray(qe){return this.form.get(qe.path)}updateModel(qe,Ht){this.form.get(qe.path).setValue(Ht)}onSubmit(qe){return this.submitted=!0,Un(this.form,this.directives),this.ngSubmit.emit(qe),"dialog"===qe?.target?.method}onReset(){this.resetForm()}resetForm(qe=void 0){this.form.reset(qe),this.submitted=!1}_updateDomValue(){this.directives.forEach(qe=>{const Ht=qe.control,Cn=this.form.get(qe.path);Ht!==Cn&&(_t(Ht||null,qe),(ut=>ut instanceof bo)(Cn)&&(Qe(Cn,qe,this.callSetDisabledState),qe.control=Cn))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(qe){const Ht=this.form.get(qe.path);pt(Ht,qe),Ht.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(qe){if(this.form){const Ht=this.form.get(qe.path);Ht&&function wt(ut,xt){return Fn(ut,xt)}(Ht,qe)&&Ht.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){xn(this.form,this),this._oldForm&&Fn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(oe,10),t.Y36(le,10),t.Y36(re,8))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["","formGroup",""]],hostBindings:function(Ht,Cn){1&Ht&&t.NdJ("submit",function(At){return Cn.onSubmit(At)})("reset",function(){return Cn.onReset()})},inputs:{form:[t.lbL.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([ln]),t.qOj,t.TTD]})}return ut})();const me={provide:Ft,useExisting:(0,t.Gpc)(()=>ct)};let ct=(()=>{class ut extends mi{constructor(qe,Ht,Cn){super(),this.name=null,this._parent=qe,this._setValidators(Ht),this._setAsyncValidators(Cn)}_checkParentType(){yn(this._parent)}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(Ft,13),t.Y36(oe,10),t.Y36(le,10))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["","formGroupName",""]],inputs:{name:[t.lbL.None,"formGroupName","name"]},features:[t._Bn([me]),t.qOj]})}return ut})();const it={provide:Ft,useExisting:(0,t.Gpc)(()=>Yt)};let Yt=(()=>{class ut extends Ft{constructor(qe,Ht,Cn){super(),this.name=null,this._parent=qe,this._setValidators(Ht),this._setAsyncValidators(Cn)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Y(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){yn(this._parent)}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(Ft,13),t.Y36(oe,10),t.Y36(le,10))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["","formArrayName",""]],inputs:{name:[t.lbL.None,"formArrayName","name"]},features:[t._Bn([it]),t.qOj]})}return ut})();function yn(ut){return!(ut instanceof ct||ut instanceof Ci||ut instanceof Yt)}const Fi={provide:mt,useExisting:(0,t.Gpc)(()=>ur)};let ur=(()=>{class ut extends mt{set isDisabled(qe){}static#e=this._ngModelWarningSentOnce=!1;constructor(qe,Ht,Cn,li,At){super(),this._ngModelWarningConfig=At,this._added=!1,this.name=null,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=qe,this._setValidators(Ht),this._setAsyncValidators(Cn),this.valueAccessor=jn(0,li)}ngOnChanges(qe){this._added||this._setUpControl(),Wt(qe,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(qe){this.viewModel=qe,this.update.emit(qe)}get path(){return Y(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(Ft,13),t.Y36(oe,10),t.Y36(le,10),t.Y36(I,10),t.Y36(qr,8))};static#n=this.\u0275dir=t.lG2({type:ut,selectors:[["","formControlName",""]],inputs:{name:[t.lbL.None,"formControlName","name"],isDisabled:[t.lbL.None,"disabled","isDisabled"],model:[t.lbL.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([Fi]),t.qOj,t.TTD]})}return ut})();const hr={provide:I,useExisting:(0,t.Gpc)(()=>lt),multi:!0};function Pr(ut,xt){return null==ut?`${xt}`:(xt&&"object"==typeof xt&&(xt="Object"),`${ut}: ${xt}`.slice(0,50))}let lt=(()=>{class ut extends n{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(qe){this._compareWith=qe}writeValue(qe){this.value=qe;const Cn=Pr(this._getOptionId(qe),qe);this.setProperty("value",Cn)}registerOnChange(qe){this.onChange=Ht=>{this.value=this._getOptionValue(Ht),qe(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(qe){for(const Ht of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ht),qe))return Ht;return null}_getOptionValue(qe){const Ht=function so(ut){return ut.split(":")[0]}(qe);return this._optionMap.has(Ht)?this._optionMap.get(Ht):qe}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Ht,Cn){1&Ht&&t.NdJ("change",function(At){return Cn.onChange(At.target.value)})("blur",function(){return Cn.onTouched()})},inputs:{compareWith:"compareWith"},features:[t._Bn([hr]),t.qOj]})}return ut})(),Ut=(()=>{class ut{constructor(qe,Ht,Cn){this._element=qe,this._renderer=Ht,this._select=Cn,this._select&&(this.id=this._select._registerOption())}set ngValue(qe){null!=this._select&&(this._select._optionMap.set(this.id,qe),this._setElementValue(Pr(this.id,qe)),this._select.writeValue(this._select.value))}set value(qe){this._setElementValue(qe),this._select&&this._select.writeValue(this._select.value)}_setElementValue(qe){this._renderer.setProperty(this._element.nativeElement,"value",qe)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(lt,9))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ut})();const Kt={provide:I,useExisting:(0,t.Gpc)(()=>zn),multi:!0};function Qt(ut,xt){return null==ut?`${xt}`:("string"==typeof xt&&(xt=`'${xt}'`),xt&&"object"==typeof xt&&(xt="Object"),`${ut}: ${xt}`.slice(0,50))}let zn=(()=>{class ut extends n{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(qe){this._compareWith=qe}writeValue(qe){let Ht;if(this.value=qe,Array.isArray(qe)){const Cn=qe.map(li=>this._getOptionId(li));Ht=(li,At)=>{li._setSelected(Cn.indexOf(At.toString())>-1)}}else Ht=(Cn,li)=>{Cn._setSelected(!1)};this._optionMap.forEach(Ht)}registerOnChange(qe){this.onChange=Ht=>{const Cn=[],li=Ht.selectedOptions;if(void 0!==li){const At=li;for(let Si=0;Si<At.length;Si++){const Or=this._getOptionValue(At[Si].value);Cn.push(Or)}}else{const At=Ht.options;for(let Si=0;Si<At.length;Si++){const Gi=At[Si];if(Gi.selected){const Or=this._getOptionValue(Gi.value);Cn.push(Or)}}}this.value=Cn,qe(Cn)}}_registerOption(qe){const Ht=(this._idCounter++).toString();return this._optionMap.set(Ht,qe),Ht}_getOptionId(qe){for(const Ht of this._optionMap.keys())if(this._compareWith(this._optionMap.get(Ht)._value,qe))return Ht;return null}_getOptionValue(qe){const Ht=function vn(ut){return ut.split(":")[0]}(qe);return this._optionMap.has(Ht)?this._optionMap.get(Ht)._value:qe}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Ht,Cn){1&Ht&&t.NdJ("change",function(At){return Cn.onChange(At.target)})("blur",function(){return Cn.onTouched()})},inputs:{compareWith:"compareWith"},features:[t._Bn([Kt]),t.qOj]})}return ut})(),gi=(()=>{class ut{constructor(qe,Ht,Cn){this._element=qe,this._renderer=Ht,this._select=Cn,this._select&&(this.id=this._select._registerOption(this))}set ngValue(qe){null!=this._select&&(this._value=qe,this._setElementValue(Qt(this.id,qe)),this._select.writeValue(this._select.value))}set value(qe){this._select?(this._value=qe,this._setElementValue(Qt(this.id,qe)),this._select.writeValue(this._select.value)):this._setElementValue(qe)}_setElementValue(qe){this._renderer.setProperty(this._element.nativeElement,"value",qe)}_setSelected(qe){this._renderer.setProperty(this._element.nativeElement,"selected",qe)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(zn,9))};static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ut})();function Pi(ut){return"number"==typeof ut?ut:parseFloat(ut)}let wi=(()=>{class ut{constructor(){this._validator=ae}ngOnChanges(qe){if(this.inputName in qe){const Ht=this.normalizeInput(qe[this.inputName].currentValue);this._enabled=this.enabled(Ht),this._validator=this._enabled?this.createValidator(Ht):ae,this._onChange&&this._onChange()}}validate(qe){return this._validator(qe)}registerOnValidatorChange(qe){this._onChange=qe}enabled(qe){return null!=qe}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)};static#t=this.\u0275dir=t.lG2({type:ut,features:[t.TTD]})}return ut})();const $i={provide:oe,useExisting:(0,t.Gpc)(()=>ki),multi:!0};let ki=(()=>{class ut extends wi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=qe=>Pi(qe),this.createValidator=qe=>q(qe)}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Ht,Cn){2&Ht&&t.uIk("max",Cn._enabled?Cn.max:null)},inputs:{max:"max"},features:[t._Bn([$i]),t.qOj]})}return ut})();const Hi={provide:oe,useExisting:(0,t.Gpc)(()=>D),multi:!0};let D=(()=>{class ut extends wi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=qe=>Pi(qe),this.createValidator=qe=>Q(qe)}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Ht,Cn){2&Ht&&t.uIk("min",Cn._enabled?Cn.min:null)},inputs:{min:"min"},features:[t._Bn([Hi]),t.qOj]})}return ut})();const te={provide:oe,useExisting:(0,t.Gpc)(()=>je),multi:!0},Pe={provide:oe,useExisting:(0,t.Gpc)(()=>bt),multi:!0};let je=(()=>{class ut extends wi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.VuI,this.createValidator=qe=>H}enabled(qe){return qe}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Ht,Cn){2&Ht&&t.uIk("required",Cn._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([te]),t.qOj]})}return ut})(),bt=(()=>{class ut extends je{constructor(){super(...arguments),this.createValidator=qe=>T}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(Ht,Cn){2&Ht&&t.uIk("required",Cn._enabled?"":null)},features:[t._Bn([Pe]),t.qOj]})}return ut})();const In={provide:oe,useExisting:(0,t.Gpc)(()=>An),multi:!0};let An=(()=>{class ut extends wi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=qe=>function oi(ut){return"number"==typeof ut?ut:parseInt(ut,10)}(qe),this.createValidator=qe=>Ce(qe)}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275dir=t.lG2({type:ut,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Ht,Cn){2&Ht&&t.uIk("maxlength",Cn._enabled?Cn.maxlength:null)},inputs:{maxlength:"maxlength"},features:[t._Bn([In]),t.qOj]})}return ut})(),_o=(()=>{class ut{static#e=this.\u0275fac=function(Ht){return new(Ht||ut)};static#t=this.\u0275mod=t.oAB({type:ut});static#n=this.\u0275inj=t.cJS({imports:[$o]})}return ut})();class ar extends et{constructor(xt,qe,Ht){super(di(qe),Xt(Ht,qe)),this.controls=xt,this._initObservables(),this._setUpdateStrategy(qe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(xt){return this.controls[this._adjustIndex(xt)]}push(xt,qe={}){this.controls.push(xt),this._registerControl(xt),this.updateValueAndValidity({emitEvent:qe.emitEvent}),this._onCollectionChange()}insert(xt,qe,Ht={}){this.controls.splice(xt,0,qe),this._registerControl(qe),this.updateValueAndValidity({emitEvent:Ht.emitEvent})}removeAt(xt,qe={}){let Ht=this._adjustIndex(xt);Ht<0&&(Ht=0),this.controls[Ht]&&this.controls[Ht]._registerOnCollectionChange(()=>{}),this.controls.splice(Ht,1),this.updateValueAndValidity({emitEvent:qe.emitEvent})}setControl(xt,qe,Ht={}){let Cn=this._adjustIndex(xt);Cn<0&&(Cn=0),this.controls[Cn]&&this.controls[Cn]._registerOnCollectionChange(()=>{}),this.controls.splice(Cn,1),qe&&(this.controls.splice(Cn,0,qe),this._registerControl(qe)),this.updateValueAndValidity({emitEvent:Ht.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(xt,qe={}){xe(this,0,xt),xt.forEach((Ht,Cn)=>{X(this,!1,Cn),this.at(Cn).setValue(Ht,{onlySelf:!0,emitEvent:qe.emitEvent})}),this.updateValueAndValidity(qe)}patchValue(xt,qe={}){null!=xt&&(xt.forEach((Ht,Cn)=>{this.at(Cn)&&this.at(Cn).patchValue(Ht,{onlySelf:!0,emitEvent:qe.emitEvent})}),this.updateValueAndValidity(qe))}reset(xt=[],qe={}){this._forEachChild((Ht,Cn)=>{Ht.reset(xt[Cn],{onlySelf:!0,emitEvent:qe.emitEvent})}),this._updatePristine(qe),this._updateTouched(qe),this.updateValueAndValidity(qe)}getRawValue(){return this.controls.map(xt=>xt.getRawValue())}clear(xt={}){this.controls.length<1||(this._forEachChild(qe=>qe._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:xt.emitEvent}))}_adjustIndex(xt){return xt<0?xt+this.length:xt}_syncPendingControls(){let xt=this.controls.reduce((qe,Ht)=>!!Ht._syncPendingControls()||qe,!1);return xt&&this.updateValueAndValidity({onlySelf:!0}),xt}_forEachChild(xt){this.controls.forEach((qe,Ht)=>{xt(qe,Ht)})}_updateValue(){this.value=this.controls.filter(xt=>xt.enabled||this.disabled).map(xt=>xt.value)}_anyControls(xt){return this.controls.some(qe=>qe.enabled&&xt(qe))}_setUpControls(){this._forEachChild(xt=>this._registerControl(xt))}_allControlsDisabled(){for(const xt of this.controls)if(xt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(xt){xt.setParent(this),xt._registerOnCollectionChange(this._onCollectionChange)}_find(xt){return this.at(xt)??null}}function Ir(ut){return!!ut&&(void 0!==ut.asyncValidators||void 0!==ut.validators||void 0!==ut.updateOn)}let vo=(()=>{class ut{constructor(){this.useNonNullable=!1}get nonNullable(){const qe=new ut;return qe.useNonNullable=!0,qe}group(qe,Ht=null){const Cn=this._reduceControls(qe);let li={};return Ir(Ht)?li=Ht:null!==Ht&&(li.validators=Ht.validator,li.asyncValidators=Ht.asyncValidator),new j(Cn,li)}record(qe,Ht=null){const Cn=this._reduceControls(qe);return new ne(Cn,Ht)}control(qe,Ht,Cn){let li={};return this.useNonNullable?(Ir(Ht)?li=Ht:(li.validators=Ht,li.asyncValidators=Cn),new bo(qe,{...li,nonNullable:!0})):new bo(qe,Ht,Cn)}array(qe,Ht,Cn){const li=qe.map(At=>this._createControl(At));return new ar(li,Ht,Cn)}_reduceControls(qe){const Ht={};return Object.keys(qe).forEach(Cn=>{Ht[Cn]=this._createControl(qe[Cn])}),Ht}_createControl(qe){return qe instanceof bo||qe instanceof et?qe:Array.isArray(qe)?this.control(qe[0],qe.length>1?qe[1]:null,qe.length>2?qe[2]:null):this.control(qe)}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)};static#t=this.\u0275prov=t.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})(),eo=(()=>{class ut extends vo{group(qe,Ht=null){return super.group(qe,Ht)}control(qe,Ht,Cn){return super.control(qe,Ht,Cn)}array(qe,Ht,Cn){return super.array(qe,Ht,Cn)}static#e=this.\u0275fac=(()=>{let qe;return function(Cn){return(qe||(qe=t.n5z(ut)))(Cn||ut)}})();static#t=this.\u0275prov=t.Yz7({token:ut,factory:ut.\u0275fac,providedIn:"root"})}return ut})(),Fr=(()=>{class ut{static withConfig(qe){return{ngModule:ut,providers:[{provide:re,useValue:qe.callSetDisabledState??B}]}}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)};static#t=this.\u0275mod=t.oAB({type:ut});static#n=this.\u0275inj=t.cJS({imports:[_o]})}return ut})(),Cr=(()=>{class ut{static withConfig(qe){return{ngModule:ut,providers:[{provide:qr,useValue:qe.warnOnNgModelWithFormControl??"always"},{provide:re,useValue:qe.callSetDisabledState??B}]}}static#e=this.\u0275fac=function(Ht){return new(Ht||ut)};static#t=this.\u0275mod=t.oAB({type:ut});static#n=this.\u0275inj=t.cJS({imports:[_o]})}return ut})()},9014:(jt,$e,s)=>{"use strict";s.d($e,{g:()=>y,k:()=>L});var t=s(9212),u=s(3680),e=s(4300),m=s(2495),p=s(6814);let U=0;const n=(0,u.Id)(class{}),I="mat-badge-content";let L=(()=>{class O extends n{get color(){return this._color}set color(E){this._setColor(E),this._color=E}get overlap(){return this._overlap}set overlap(E){this._overlap=(0,m.Ig)(E)}get content(){return this._content}set content(E){this._updateRenderedContent(E)}get description(){return this._description}set description(E){this._updateDescription(E)}get hidden(){return this._hidden}set hidden(E){this._hidden=(0,m.Ig)(E)}constructor(E,A,S,Z,oe){super(),this._ngZone=E,this._elementRef=A,this._ariaDescriber=S,this._renderer=Z,this._animationMode=oe,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=U++,this._isInitialized=!1,this._interactivityChecker=(0,t.f3M)(e.ic),this._document=(0,t.f3M)(p.K0)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const E=this._renderer.createElement("span"),A="mat-badge-active";return E.setAttribute("id",`mat-badge-content-${this._id}`),E.setAttribute("aria-hidden","true"),E.classList.add(I),"NoopAnimations"===this._animationMode&&E.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(E),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{E.classList.add(A)})}):E.classList.add(A),E}_updateRenderedContent(E){const A=`${E??""}`.trim();this._isInitialized&&A&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=A),this._content=A}_updateDescription(E){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!E||this._isHostInteractive())&&this._removeInlineDescription(),this._description=E,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,E):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(E){const A=this._elementRef.nativeElement.classList;A.remove(`mat-badge-${this._color}`),E&&A.add(`mat-badge-${E}`)}_clearExistingBadges(){const E=this._elementRef.nativeElement.querySelectorAll(`:scope > .${I}`);for(const A of Array.from(E))A!==this._badgeElement&&A.remove()}static#e=this.\u0275fac=function(A){return new(A||O)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(e.$s),t.Y36(t.Qsj),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:O,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(A,S){2&A&&t.ekj("mat-badge-overlap",S.overlap)("mat-badge-above",S.isAbove())("mat-badge-below",!S.isAbove())("mat-badge-before",!S.isAfter())("mat-badge-after",S.isAfter())("mat-badge-small","small"===S.size)("mat-badge-medium","medium"===S.size)("mat-badge-large","large"===S.size)("mat-badge-hidden",S.hidden||!S.content)("mat-badge-disabled",S.disabled)},inputs:{disabled:[t.lbL.None,"matBadgeDisabled","disabled"],color:[t.lbL.None,"matBadgeColor","color"],overlap:[t.lbL.None,"matBadgeOverlap","overlap"],position:[t.lbL.None,"matBadgePosition","position"],content:[t.lbL.None,"matBadge","content"],description:[t.lbL.None,"matBadgeDescription","description"],size:[t.lbL.None,"matBadgeSize","size"],hidden:[t.lbL.None,"matBadgeHidden","hidden"]},features:[t.qOj]})}return O})(),y=(()=>{class O{static#e=this.\u0275fac=function(A){return new(A||O)};static#t=this.\u0275mod=t.oAB({type:O});static#n=this.\u0275inj=t.cJS({imports:[e.rt,u.BQ,u.BQ]})}return O})()},8005:(jt,$e,s)=>{"use strict";s.d($e,{_r:()=>le,ch:()=>H});var t=s(7954),u=s(8484),e=s(9212),m=s(3680),p=s(4300),U=s(1088),n=s(9594),I=s(6814),L=s(6825),y=s(6028),O=s(8645),M=s(3019),E=s(2181),A=s(8180);function S(T,ie){}const Z={bottomSheetState:(0,L.X$)("state",[(0,L.SB)("void, hidden",(0,L.oB)({transform:"translateY(100%)"})),(0,L.SB)("visible",(0,L.oB)({transform:"translateY(0%)"})),(0,L.eR)("visible => void, visible => hidden",(0,L.ru)([(0,L.jt)(`${m.mZ.COMPLEX} ${m.yN.ACCELERATION_CURVE}`),(0,L.IO)("@*",(0,L.pV)(),{optional:!0})])),(0,L.eR)("void => visible",(0,L.ru)([(0,L.jt)(`${m.mZ.EXITING} ${m.yN.DECELERATION_CURVE}`),(0,L.IO)("@*",(0,L.pV)(),{optional:!0})]))])};let oe=(()=>{class T extends t.LL{constructor(_e,Ce,Ve,ae,pe,Ae,Ze,dt,Fe,Xe){super(_e,Ce,Ve,ae,pe,Ae,Ze,Xe),this._changeDetectorRef=Fe,this._animationState="void",this._animationStateChanged=new e.vpe,this._breakpointSubscription=dt.observe([U.u3.Medium,U.u3.Large,U.u3.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",dt.isMatched(U.u3.Medium)),this._toggleClass("mat-bottom-sheet-container-large",dt.isMatched(U.u3.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",dt.isMatched(U.u3.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(_e){"visible"===_e.toState&&this._trapFocus(),this._animationStateChanged.emit(_e)}_onAnimationStart(_e){this._animationStateChanged.emit(_e)}_captureInitialFocus(){}_toggleClass(_e,Ce){this._elementRef.nativeElement.classList.toggle(_e,Ce)}static#e=this.\u0275fac=function(Ce){return new(Ce||T)(e.Y36(e.SBq),e.Y36(p.qV),e.Y36(I.K0,8),e.Y36(t.ib),e.Y36(p.ic),e.Y36(e.R0b),e.Y36(n.Iu),e.Y36(U.Yg),e.Y36(e.sBO),e.Y36(p.tE))};static#t=this.\u0275cmp=e.Xpm({type:T,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(Ce,Ve){1&Ce&&e.WFA("@state.start",function(pe){return Ve._onAnimationStart(pe)})("@state.done",function(pe){return Ve._onAnimationDone(pe)}),2&Ce&&(e.uIk("role",Ve._config.role)("aria-modal",Ve._config.ariaModal)("aria-label",Ve._config.ariaLabel),e.d8E("@state",Ve._animationState))},features:[e.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Ce,Ve){1&Ce&&e.YNc(0,S,0,0,"ng-template",0)},dependencies:[u.Pl],styles:[".mat-bottom-sheet-container{--mat-bottom-sheet-container-shape:4px;box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto;background:var(--mat-bottom-sheet-container-background-color);color:var(--mat-bottom-sheet-container-text-color);font-family:var(--mat-bottom-sheet-container-text-font);font-size:var(--mat-bottom-sheet-container-text-size);line-height:var(--mat-bottom-sheet-container-text-line-height);font-weight:var(--mat-bottom-sheet-container-text-weight);letter-spacing:var(--mat-bottom-sheet-container-text-tracking)}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:var(--mat-bottom-sheet-container-shape);border-top-right-radius:var(--mat-bottom-sheet-container-shape)}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[Z.bottomSheetState]}})}return T})(),le=(()=>{class T{static#e=this.\u0275fac=function(Ce){return new(Ce||T)};static#t=this.\u0275mod=e.oAB({type:T});static#n=this.\u0275inj=e.cJS({imports:[t.Su,m.BQ,u.eL,m.BQ]})}return T})();const ee=new e.OlP("MatBottomSheetData");class K{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}}class Q{get instance(){return this._ref.componentInstance}get componentRef(){return this._ref.componentRef}constructor(ie,_e,Ce){this._ref=ie,this._afterOpened=new O.x,this.containerInstance=Ce,this.disableClose=_e.disableClose,Ce._animationStateChanged.pipe((0,E.h)(Ve=>"done"===Ve.phaseName&&"visible"===Ve.toState),(0,A.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Ce._animationStateChanged.pipe((0,E.h)(Ve=>"done"===Ve.phaseName&&"hidden"===Ve.toState),(0,A.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),ie.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),(0,M.T)(this.backdropClick(),this.keydownEvents().pipe((0,E.h)(Ve=>Ve.keyCode===y.hY))).subscribe(Ve=>{!this.disableClose&&("keydown"!==Ve.type||!(0,y.Vb)(Ve))&&(Ve.preventDefault(),this.dismiss())})}dismiss(ie){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe((0,E.h)(_e=>"start"===_e.phaseName),(0,A.q)(1)).subscribe(_e=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},_e.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=ie,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}}const q=new e.OlP("mat-bottom-sheet-default-options");let H=(()=>{class T{get _openedBottomSheetRef(){const _e=this._parentBottomSheet;return _e?_e._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(_e){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=_e:this._bottomSheetRefAtThisLevel=_e}constructor(_e,Ce,Ve,ae){this._overlay=_e,this._parentBottomSheet=Ve,this._defaultOptions=ae,this._bottomSheetRefAtThisLevel=null,this._dialog=Ce.get(t.Vq)}open(_e,Ce){const Ve={...this._defaultOptions||new K,...Ce};let ae;return this._dialog.open(_e,{...Ve,disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:oe,scrollStrategy:Ve.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:ae}),providers:(pe,Ae,Ze)=>(ae=new Q(pe,Ve,Ze),[{provide:Q,useValue:ae},{provide:ee,useValue:Ve.data}])}),ae.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===ae&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>ae.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):ae.containerInstance.enter(),this._openedBottomSheetRef=ae,ae}dismiss(_e){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(_e)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}static#e=this.\u0275fac=function(Ce){return new(Ce||T)(e.LFG(n.aV),e.LFG(e.zs3),e.LFG(T,12),e.LFG(q,8))};static#t=this.\u0275prov=e.Yz7({token:T,factory:T.\u0275fac,providedIn:le})}return T})()},9488:(jt,$e,s)=>{"use strict";s.d($e,{vV:()=>oe}),s(4300),s(2495),s(8337);var m=s(9212),U=(s(6223),s(3680));let oe=(()=>{class le{static#e=this.\u0275fac=function(Q){return new(Q||le)};static#t=this.\u0275mod=m.oAB({type:le});static#n=this.\u0275inj=m.cJS({imports:[U.BQ,U.si,U.BQ]})}return le})()},3680:(jt,$e,s)=>{"use strict";s.d($e,{yN:()=>Q,mZ:()=>q,_A:()=>W,rD:()=>tt,sG:()=>we,K7:()=>nt,HF:()=>Nt,Y2:()=>Ke,BQ:()=>ie,X2:()=>Re,uc:()=>sn,XK:()=>de,rN:()=>$t,nP:()=>tn,us:()=>rn,wG:()=>Et,Fq:()=>F,si:()=>Tt,IR:()=>Ee,DH:()=>Ue,MP:()=>Mn,CB:()=>di,jH:()=>Pt,pj:()=>pe,Kr:()=>Ae,Id:()=>ae,FD:()=>dt,dB:()=>Fe,sb:()=>Ze,E0:()=>Ft});var t=s(9212),u=s(4300),e=s(9388),p=s(6814),U=s(2831),n=s(2495),I=s(5592),L=s(8645),y=s(7921),O=s(6028);const A=["text"];let Q=(()=>{class N{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#n=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#i=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return N})(),q=(()=>{class N{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#n=this.EXITING="195ms"}return N})();const T=new t.OlP("mat-sanity-checks",{providedIn:"root",factory:function H(){return!0}});let ie=(()=>{class N{constructor(ne,z,re){this._sanityChecks=z,this._document=re,this._hasDoneGlobalChecks=!1,ne._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ne){return!(0,U.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ne])}static#e=this.\u0275fac=function(z){return new(z||N)(t.LFG(u.qm),t.LFG(T,8),t.LFG(p.K0))};static#t=this.\u0275mod=t.oAB({type:N});static#n=this.\u0275inj=t.cJS({imports:[e.vT,e.vT]})}return N})();function ae(N){return class extends N{get disabled(){return this._disabled}set disabled(k){this._disabled=(0,n.Ig)(k)}constructor(...k){super(...k),this._disabled=!1}}}function pe(N,k){return class extends N{get color(){return this._color}set color(ne){const z=ne||this.defaultColor;z!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),z&&this._elementRef.nativeElement.classList.add(`mat-${z}`),this._color=z)}constructor(...ne){super(...ne),this.defaultColor=k,this.color=k}}}function Ae(N){return class extends N{get disableRipple(){return this._disableRipple}set disableRipple(k){this._disableRipple=(0,n.Ig)(k)}constructor(...k){super(...k),this._disableRipple=!1}}}function Ze(N,k=0){return class extends N{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ne){this._tabIndex=null!=ne?(0,n.su)(ne):this.defaultTabIndex}constructor(...ne){super(...ne),this._tabIndex=k,this.defaultTabIndex=k}}}function dt(N){return class extends N{updateErrorState(){const k=this.errorState,B=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);B!==k&&(this.errorState=B,this.stateChanges.next())}constructor(...k){super(...k),this.errorState=!1}}}function Fe(N){return class extends N{constructor(...k){super(...k),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new I.y(ne=>{this._isInitialized?this._notifySubscriber(ne):this._pendingSubscribers.push(ne)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(k){k.next(),k.complete()}}}const Xe=new t.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Ie(){return(0,t.f3M)(t.soG)}});class W{constructor(){this._localeChanges=new L.x,this.localeChanges=this._localeChanges}getValidDateOrNull(k){return this.isDateInstance(k)&&this.isValid(k)?k:null}deserialize(k){return null==k||this.isDateInstance(k)&&this.isValid(k)?k:this.invalid()}setLocale(k){this.locale=k,this._localeChanges.next()}compareDate(k,ne){return this.getYear(k)-this.getYear(ne)||this.getMonth(k)-this.getMonth(ne)||this.getDate(k)-this.getDate(ne)}sameDate(k,ne){if(k&&ne){let z=this.isValid(k),re=this.isValid(ne);return z&&re?!this.compareDate(k,ne):z==re}return k==ne}clampDate(k,ne,z){return ne&&this.compareDate(k,ne)<0?ne:z&&this.compareDate(k,z)>0?z:k}}const we=new t.OlP("mat-date-formats"),P=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function V(N,k){const ne=Array(N);for(let z=0;z<N;z++)ne[z]=k(z);return ne}let Se=(()=>{class N extends W{constructor(ne,z){super(),this.useUtcForDisplay=!1,super.setLocale(ne)}getYear(ne){return ne.getFullYear()}getMonth(ne){return ne.getMonth()}getDate(ne){return ne.getDate()}getDayOfWeek(ne){return ne.getDay()}getMonthNames(ne){const z=new Intl.DateTimeFormat(this.locale,{month:ne,timeZone:"utc"});return V(12,re=>this._format(z,new Date(2017,re,1)))}getDateNames(){const ne=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return V(31,z=>this._format(ne,new Date(2017,0,z+1)))}getDayOfWeekNames(ne){const z=new Intl.DateTimeFormat(this.locale,{weekday:ne,timeZone:"utc"});return V(7,re=>this._format(z,new Date(2017,0,re+1)))}getYearName(ne){const z=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(z,ne)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ne){return this.getDate(this._createDateWithOverflow(this.getYear(ne),this.getMonth(ne)+1,0))}clone(ne){return new Date(ne.getTime())}createDate(ne,z,re){let B=this._createDateWithOverflow(ne,z,re);return B.getMonth(),B}today(){return new Date}parse(ne,z){return"number"==typeof ne?new Date(ne):ne?new Date(Date.parse(ne)):null}format(ne,z){if(!this.isValid(ne))throw Error("NativeDateAdapter: Cannot format invalid date.");const re=new Intl.DateTimeFormat(this.locale,{...z,timeZone:"utc"});return this._format(re,ne)}addCalendarYears(ne,z){return this.addCalendarMonths(ne,12*z)}addCalendarMonths(ne,z){let re=this._createDateWithOverflow(this.getYear(ne),this.getMonth(ne)+z,this.getDate(ne));return this.getMonth(re)!=((this.getMonth(ne)+z)%12+12)%12&&(re=this._createDateWithOverflow(this.getYear(re),this.getMonth(re),0)),re}addCalendarDays(ne,z){return this._createDateWithOverflow(this.getYear(ne),this.getMonth(ne),this.getDate(ne)+z)}toIso8601(ne){return[ne.getUTCFullYear(),this._2digit(ne.getUTCMonth()+1),this._2digit(ne.getUTCDate())].join("-")}deserialize(ne){if("string"==typeof ne){if(!ne)return null;if(P.test(ne)){let z=new Date(ne);if(this.isValid(z))return z}}return super.deserialize(ne)}isDateInstance(ne){return ne instanceof Date}isValid(ne){return!isNaN(ne.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ne,z,re){const B=new Date;return B.setFullYear(ne,z,re),B.setHours(0,0,0,0),B}_2digit(ne){return("00"+ne).slice(-2)}_format(ne,z){const re=new Date;return re.setUTCFullYear(z.getFullYear(),z.getMonth(),z.getDate()),re.setUTCHours(z.getHours(),z.getMinutes(),z.getSeconds(),z.getMilliseconds()),ne.format(re)}static#e=this.\u0275fac=function(z){return new(z||N)(t.LFG(Xe,8),t.LFG(U.t4))};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac})}return N})();const G={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 be=(()=>{class N{static#e=this.\u0275fac=function(z){return new(z||N)};static#t=this.\u0275mod=t.oAB({type:N});static#n=this.\u0275inj=t.cJS({providers:[{provide:W,useClass:Se}]})}return N})(),de=(()=>{class N{static#e=this.\u0275fac=function(z){return new(z||N)};static#t=this.\u0275mod=t.oAB({type:N});static#n=this.\u0275inj=t.cJS({providers:[{provide:we,useValue:G}],imports:[be]})}return N})(),tt=(()=>{class N{isErrorState(ne,z){return!!(ne&&ne.invalid&&(ne.touched||z&&z.submitted))}static#e=this.\u0275fac=function(z){return new(z||N)};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})(),Re=(()=>{class N{static#e=this.\u0275fac=function(z){return new(z||N)};static#t=this.\u0275dir=t.lG2({type:N,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})}return N})();function Ft(N,k,ne="mat"){N.changes.pipe((0,y.O)(N)).subscribe(({length:z})=>{mt(k,`${ne}-2-line`,!1),mt(k,`${ne}-3-line`,!1),mt(k,`${ne}-multi-line`,!1),2===z||3===z?mt(k,`${ne}-${z}-line`,!0):z>3&&mt(k,`${ne}-multi-line`,!0)})}function mt(N,k,ne){N.nativeElement.classList.toggle(k,ne)}let sn=(()=>{class N{static#e=this.\u0275fac=function(z){return new(z||N)};static#t=this.\u0275mod=t.oAB({type:N});static#n=this.\u0275inj=t.cJS({imports:[ie,ie]})}return N})();class hn{constructor(k,ne,z,re=!1){this._renderer=k,this.element=ne,this.config=z,this._animationForciblyDisabledThroughCss=re,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Nn=(0,U.i$)({passive:!0,capture:!0});class Jt{constructor(){this._events=new Map,this._delegateEventHandler=k=>{const ne=(0,U.sA)(k);ne&&this._events.get(k.type)?.forEach((z,re)=>{(re===ne||re.contains(ne))&&z.forEach(B=>B.handleEvent(k))})}}addHandler(k,ne,z,re){const B=this._events.get(ne);if(B){const Y=B.get(z);Y?Y.add(re):B.set(z,new Set([re]))}else this._events.set(ne,new Map([[z,new Set([re])]])),k.runOutsideAngular(()=>{document.addEventListener(ne,this._delegateEventHandler,Nn)})}removeHandler(k,ne,z){const re=this._events.get(k);if(!re)return;const B=re.get(ne);B&&(B.delete(z),0===B.size&&re.delete(ne),0===re.size&&(this._events.delete(k),document.removeEventListener(k,this._delegateEventHandler,Nn)))}}const cn={enterDuration:225,exitDuration:150},fe=(0,U.i$)({passive:!0,capture:!0}),Ne=["mousedown","touchstart"],$=["mouseup","mouseleave","touchend","touchcancel"];class Ee{static#e=this._eventManager=new Jt;constructor(k,ne,z,re){this._target=k,this._ngZone=ne,this._platform=re,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,re.isBrowser&&(this._containerElement=(0,n.fI)(z))}fadeInRipple(k,ne,z={}){const re=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),B={...cn,...z.animation};z.centered&&(k=re.left+re.width/2,ne=re.top+re.height/2);const Y=z.radius||function Ge(N,k,ne){const z=Math.max(Math.abs(N-ne.left),Math.abs(N-ne.right)),re=Math.max(Math.abs(k-ne.top),Math.abs(k-ne.bottom));return Math.sqrt(z*z+re*re)}(k,ne,re),Qe=k-re.left,_t=ne-re.top,Vt=B.enterDuration,bn=document.createElement("div");bn.classList.add("mat-ripple-element"),bn.style.left=Qe-Y+"px",bn.style.top=_t-Y+"px",bn.style.height=2*Y+"px",bn.style.width=2*Y+"px",null!=z.color&&(bn.style.backgroundColor=z.color),bn.style.transitionDuration=`${Vt}ms`,this._containerElement.appendChild(bn);const xn=window.getComputedStyle(bn),Ot=xn.transitionDuration,En="none"===xn.transitionProperty||"0s"===Ot||"0s, 0s"===Ot||0===re.width&&0===re.height,ye=new hn(this,bn,z,En);bn.style.transform="scale3d(1, 1, 1)",ye.state=0,z.persistent||(this._mostRecentTransientRipple=ye);let It=null;return!En&&(Vt||B.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const pt=()=>this._finishRippleTransition(ye),wt=()=>this._destroyRipple(ye);bn.addEventListener("transitionend",pt),bn.addEventListener("transitioncancel",wt),It={onTransitionEnd:pt,onTransitionCancel:wt}}),this._activeRipples.set(ye,It),(En||!Vt)&&this._finishRippleTransition(ye),ye}fadeOutRipple(k){if(2===k.state||3===k.state)return;const ne=k.element,z={...cn,...k.config.animation};ne.style.transitionDuration=`${z.exitDuration}ms`,ne.style.opacity="0",k.state=2,(k._animationForciblyDisabledThroughCss||!z.exitDuration)&&this._finishRippleTransition(k)}fadeOutAll(){this._getActiveRipples().forEach(k=>k.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(k=>{k.config.persistent||k.fadeOut()})}setupTriggerEvents(k){const ne=(0,n.fI)(k);!this._platform.isBrowser||!ne||ne===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ne,Ne.forEach(z=>{Ee._eventManager.addHandler(this._ngZone,z,ne,this)}))}handleEvent(k){"mousedown"===k.type?this._onMousedown(k):"touchstart"===k.type?this._onTouchStart(k):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{$.forEach(ne=>{this._triggerElement.addEventListener(ne,this,fe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(k){0===k.state?this._startFadeOutTransition(k):2===k.state&&this._destroyRipple(k)}_startFadeOutTransition(k){const ne=k===this._mostRecentTransientRipple,{persistent:z}=k.config;k.state=1,!z&&(!ne||!this._isPointerDown)&&k.fadeOut()}_destroyRipple(k){const ne=this._activeRipples.get(k)??null;this._activeRipples.delete(k),this._activeRipples.size||(this._containerRect=null),k===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),k.state=3,null!==ne&&(k.element.removeEventListener("transitionend",ne.onTransitionEnd),k.element.removeEventListener("transitioncancel",ne.onTransitionCancel)),k.element.remove()}_onMousedown(k){const ne=(0,u.X6)(k),z=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ne&&!z&&(this._isPointerDown=!0,this.fadeInRipple(k.clientX,k.clientY,this._target.rippleConfig))}_onTouchStart(k){if(!this._target.rippleDisabled&&!(0,u.yG)(k)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ne=k.changedTouches;if(ne)for(let z=0;z<ne.length;z++)this.fadeInRipple(ne[z].clientX,ne[z].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(k=>{!k.config.persistent&&(1===k.state||k.config.terminateOnPointerUp&&0===k.state)&&k.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const k=this._triggerElement;k&&(Ne.forEach(ne=>Ee._eventManager.removeHandler(ne,k,this)),this._pointerUpEventsRegistered&&$.forEach(ne=>k.removeEventListener(ne,this,fe)))}}const Ke=new t.OlP("mat-ripple-global-options");let Et=(()=>{class N{get disabled(){return this._disabled}set disabled(ne){ne&&this.fadeOutAllNonPersistent(),this._disabled=ne,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ne){this._trigger=ne,this._setupTriggerEventsIfEnabled()}constructor(ne,z,re,B,Y){this._elementRef=ne,this._animationMode=Y,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=B||{},this._rippleRenderer=new Ee(this,z,ne,re)}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:{...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(ne,z=0,re){return"number"==typeof ne?this._rippleRenderer.fadeInRipple(ne,z,{...this.rippleConfig,...re}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ne})}static#e=this.\u0275fac=function(z){return new(z||N)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(U.t4),t.Y36(Ke,8),t.Y36(t.QbO,8))};static#t=this.\u0275dir=t.lG2({type:N,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(z,re){2&z&&t.ekj("mat-ripple-unbounded",re.unbounded)},inputs:{color:[t.lbL.None,"matRippleColor","color"],unbounded:[t.lbL.None,"matRippleUnbounded","unbounded"],centered:[t.lbL.None,"matRippleCentered","centered"],radius:[t.lbL.None,"matRippleRadius","radius"],animation:[t.lbL.None,"matRippleAnimation","animation"],disabled:[t.lbL.None,"matRippleDisabled","disabled"],trigger:[t.lbL.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return N})(),Tt=(()=>{class N{static#e=this.\u0275fac=function(z){return new(z||N)};static#t=this.\u0275mod=t.oAB({type:N});static#n=this.\u0275inj=t.cJS({imports:[ie,ie]})}return N})(),tn=(()=>{class N{constructor(ne){this._animationMode=ne,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(z){return new(z||N)(t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:N,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(z,re){2&z&&t.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===re.state)("mat-pseudo-checkbox-checked","checked"===re.state)("mat-pseudo-checkbox-disabled",re.disabled)("mat-pseudo-checkbox-minimal","minimal"===re.appearance)("mat-pseudo-checkbox-full","full"===re.appearance)("_mat-animation-noopable","NoopAnimations"===re._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(z,re){},styles:['.mat-pseudo-checkbox{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-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return N})(),rn=(()=>{class N{static#e=this.\u0275fac=function(z){return new(z||N)};static#t=this.\u0275mod=t.oAB({type:N});static#n=this.\u0275inj=t.cJS({imports:[ie]})}return N})();const Nt=new t.OlP("MAT_OPTION_PARENT_COMPONENT"),ft=ae(class{});let Bt=0,Ue=(()=>{class N extends ft{constructor(ne){super(),this._labelId="mat-optgroup-label-"+Bt++,this._inert=ne?.inertGroups??!1}static#e=this.\u0275fac=function(z){return new(z||N)(t.Y36(Nt,8))};static#t=this.\u0275dir=t.lG2({type:N,inputs:{label:"label"},features:[t.qOj]})}return N})();const nt=new t.OlP("MatOptgroup");let zt=0;class $t{constructor(k,ne=!1){this.source=k,this.isUserInput=ne}}let Mn=(()=>{class N{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(ne){this._disabled=(0,n.Ig)(ne)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(ne,z,re,B){this._element=ne,this._changeDetectorRef=z,this._parent=re,this.group=B,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+zt++,this.onSelectionChange=new t.vpe,this._stateChanges=new L.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(ne=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),ne&&this._emitSelectionChangeEvent())}deselect(ne=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),ne&&this._emitSelectionChangeEvent())}focus(ne,z){const re=this._getHostElement();"function"==typeof re.focus&&re.focus(z)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ne){(ne.keyCode===O.K5||ne.keyCode===O.L_)&&!(0,O.Vb)(ne)&&(this._selectViaInteraction(),ne.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ne=this.viewValue;ne!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=ne)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ne=!1){this.onSelectionChange.emit(new $t(this,ne))}static#e=this.\u0275fac=function(z){t.$Z()};static#t=this.\u0275dir=t.lG2({type:N,viewQuery:function(z,re){if(1&z&&t.Gf(A,7),2&z){let B;t.iGM(B=t.CRH())&&(re._text=B.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return N})();function di(N,k,ne){if(ne.length){let z=k.toArray(),re=ne.toArray(),B=0;for(let Y=0;Y<N+1;Y++)z[Y].group&&z[Y].group===re[B]&&B++;return B}return 0}function Pt(N,k,ne,z){return N<ne?N:N+k>ne+z?Math.max(0,N-z+k):ne}const Le={capture:!0},ue=["focus","click","mouseenter","touchstart"],X="mat-ripple-loader-uninitialized",xe="mat-ripple-loader-class-name",et="mat-ripple-loader-centered",j="mat-ripple-loader-disabled";let F=(()=>{class N{constructor(){this._document=(0,t.f3M)(p.K0,{optional:!0}),this._animationMode=(0,t.f3M)(t.QbO,{optional:!0}),this._globalRippleOptions=(0,t.f3M)(Ke,{optional:!0}),this._platform=(0,t.f3M)(U.t4),this._ngZone=(0,t.f3M)(t.R0b),this._hosts=new Map,this._onInteraction=ne=>{if(!(ne.target instanceof HTMLElement))return;const re=ne.target.closest(`[${X}]`);re&&this._createRipple(re)},this._ngZone.runOutsideAngular(()=>{for(const ne of ue)this._document?.addEventListener(ne,this._onInteraction,Le)})}ngOnDestroy(){const ne=this._hosts.keys();for(const z of ne)this.destroyRipple(z);for(const z of ue)this._document?.removeEventListener(z,this._onInteraction,Le)}configureRipple(ne,z){ne.setAttribute(X,""),(z.className||!ne.hasAttribute(xe))&&ne.setAttribute(xe,z.className||""),z.centered&&ne.setAttribute(et,""),z.disabled&&ne.setAttribute(j,"")}getRipple(ne){return this._hosts.get(ne)||this._createRipple(ne)}setDisabled(ne,z){const re=this._hosts.get(ne);re?re.disabled=z:z?ne.setAttribute(j,""):ne.removeAttribute(j)}_createRipple(ne){if(!this._document)return;const z=this._hosts.get(ne);if(z)return z;ne.querySelector(".mat-ripple")?.remove();const re=this._document.createElement("span");re.classList.add("mat-ripple",ne.getAttribute(xe)),ne.append(re);const B=new Et(new t.SBq(re),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return B._isInitialized=!0,B.trigger=ne,B.centered=ne.hasAttribute(et),B.disabled=ne.hasAttribute(j),this.attachRipple(ne,B),B}attachRipple(ne,z){ne.removeAttribute(X),this._hosts.set(ne,z)}destroyRipple(ne){const z=this._hosts.get(ne);z&&(z.ngOnDestroy(),this._hosts.delete(ne))}static#e=this.\u0275fac=function(z){return new(z||N)};static#t=this.\u0275prov=t.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},5616:(jt,$e,s)=>{"use strict";s.d($e,{wx:()=>Mr,_g:()=>cr,Mq:()=>bo,hl:()=>ze,FA:()=>Er,nW:()=>st,Q0:()=>en,By:()=>$o,zY:()=>Yo});var t=s(4300),u=s(9594),e=s(8484),m=s(6814),p=s(9212),U=s(2831),n=s(2495),I=s(3680);const L=["mat-button",""],y=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],O=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],oe=["mat-icon-button",""],le=["*"],q=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],H=(0,I.pj)((0,I.Id)((0,I.Kr)(class{constructor(ln){this._elementRef=ln}})));let T=(()=>{class ln extends H{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(me){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,me)}get disableRipple(){return this._disableRipple}set disableRipple(me){this._disableRipple=(0,n.Ig)(me),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(me){this._disabled=(0,n.Ig)(me),this._updateRippleDisabled()}constructor(me,ct,it,Yt){super(me),this._platform=ct,this._ngZone=it,this._animationMode=Yt,this._focusMonitor=(0,p.f3M)(t.tE),this._rippleLoader=(0,p.f3M)(I.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const yn=me.nativeElement.classList;for(const Fi of q)this._hasHostAttributes(Fi.selector)&&Fi.mdcClasses.forEach(ur=>{yn.add(ur)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(me="program",ct){me?this._focusMonitor.focusVia(this._elementRef.nativeElement,me,ct):this._elementRef.nativeElement.focus(ct)}_hasHostAttributes(...me){return me.some(ct=>this._elementRef.nativeElement.hasAttribute(ct))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(ct){p.$Z()};static#t=this.\u0275dir=p.lG2({type:ln,features:[p.qOj]})}return ln})(),Ve=(()=>{class ln extends T{constructor(me,ct,it,Yt){super(me,ct,it,Yt)}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.SBq),p.Y36(U.t4),p.Y36(p.R0b),p.Y36(p.QbO,8))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(ct,it){2&ct&&(p.uIk("disabled",it.disabled||null),p.ekj("_mat-animation-noopable","NoopAnimations"===it._animationMode)("mat-unthemed",!it.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[p.qOj],attrs:L,ngContentSelectors:O,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ct,it){1&ct&&(p.F$t(y),p._UZ(0,"span",0),p.Hsn(1),p.TgZ(2,"span",1),p.Hsn(3,1),p.qZA(),p.Hsn(4,2),p._UZ(5,"span",2)(6,"span",3)),2&ct&&p.ekj("mdc-button__ripple",!it._isFab)("mdc-fab__ripple",it._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return ln})(),we=(()=>{class ln extends T{constructor(me,ct,it,Yt){super(me,ct,it,Yt),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.SBq),p.Y36(U.t4),p.Y36(p.R0b),p.Y36(p.QbO,8))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(ct,it){2&ct&&(p.uIk("disabled",it.disabled||null),p.ekj("_mat-animation-noopable","NoopAnimations"===it._animationMode)("mat-unthemed",!it.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[p.qOj],attrs:oe,ngContentSelectors:le,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(ct,it){1&ct&&(p.F$t(),p._UZ(0,"span",0),p.Hsn(1),p._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return ln})(),V=(()=>{class ln{static#e=this.\u0275fac=function(ct){return new(ct||ln)};static#t=this.\u0275mod=p.oAB({type:ln});static#n=this.\u0275inj=p.cJS({imports:[I.BQ,I.si,I.BQ]})}return ln})();var Se=s(6672),G=s(8645),be=s(7394),de=s(3019),De=s(2096),tt=s(6028),Re=s(9388),Ft=s(8180),mt=s(7921),sn=s(2181),hn=s(6825),Nn=s(6223),Jt=s(1043),cn=s(4516);const He=["mat-calendar-body",""];function fe(ln,Ci){if(1&ln&&(p.TgZ(0,"tr",3)(1,"td",4),p._uU(2),p.qZA()()),2&ln){const me=p.oxw();p.xp6(),p.Udp("padding-top",me._cellPadding)("padding-bottom",me._cellPadding),p.uIk("colspan",me.numCols),p.xp6(),p.hij(" ",me.label," ")}}function Ne(ln,Ci){if(1&ln&&(p.TgZ(0,"td",4),p._uU(1),p.qZA()),2&ln){const me=p.oxw(2);p.Udp("padding-top",me._cellPadding)("padding-bottom",me._cellPadding),p.uIk("colspan",me._firstRowOffset),p.xp6(),p.hij(" ",me._firstRowOffset>=me.labelMinRequiredCells?me.label:""," ")}}function $(ln,Ci){if(1&ln){const me=p.EpF();p.TgZ(0,"td",8)(1,"button",9),p.NdJ("click",function(it){const yn=p.CHM(me).$implicit,Fi=p.oxw(2);return p.KtG(Fi._cellClicked(yn,it))})("focus",function(it){const yn=p.CHM(me).$implicit,Fi=p.oxw(2);return p.KtG(Fi._emitActiveDateChange(yn,it))}),p.TgZ(2,"span",10),p._uU(3),p.qZA(),p._UZ(4,"span",11),p.qZA()()}if(2&ln){const me=Ci.$implicit,ct=Ci.index,it=p.oxw().index,Yt=p.oxw();p.Udp("width",Yt._cellWidth)("padding-top",Yt._cellPadding)("padding-bottom",Yt._cellPadding),p.uIk("data-mat-row",it)("data-mat-col",ct),p.xp6(),p.ekj("mat-calendar-body-disabled",!me.enabled)("mat-calendar-body-active",Yt._isActiveCell(it,ct))("mat-calendar-body-range-start",Yt._isRangeStart(me.compareValue))("mat-calendar-body-range-end",Yt._isRangeEnd(me.compareValue))("mat-calendar-body-in-range",Yt._isInRange(me.compareValue))("mat-calendar-body-comparison-bridge-start",Yt._isComparisonBridgeStart(me.compareValue,it,ct))("mat-calendar-body-comparison-bridge-end",Yt._isComparisonBridgeEnd(me.compareValue,it,ct))("mat-calendar-body-comparison-start",Yt._isComparisonStart(me.compareValue))("mat-calendar-body-comparison-end",Yt._isComparisonEnd(me.compareValue))("mat-calendar-body-in-comparison-range",Yt._isInComparisonRange(me.compareValue))("mat-calendar-body-preview-start",Yt._isPreviewStart(me.compareValue))("mat-calendar-body-preview-end",Yt._isPreviewEnd(me.compareValue))("mat-calendar-body-in-preview",Yt._isInPreview(me.compareValue)),p.Q6J("ngClass",me.cssClasses)("tabindex",Yt._isActiveCell(it,ct)?0:-1),p.uIk("aria-label",me.ariaLabel)("aria-disabled",!me.enabled||null)("aria-pressed",Yt._isSelected(me.compareValue))("aria-current",Yt.todayValue===me.compareValue?"date":null)("aria-describedby",Yt._getDescribedby(me.compareValue)),p.xp6(),p.ekj("mat-calendar-body-selected",Yt._isSelected(me.compareValue))("mat-calendar-body-comparison-identical",Yt._isComparisonIdentical(me.compareValue))("mat-calendar-body-today",Yt.todayValue===me.compareValue),p.xp6(),p.hij(" ",me.displayValue," ")}}function Ee(ln,Ci){if(1&ln&&(p.TgZ(0,"tr",5),p.YNc(1,Ne,2,6,"td",6)(2,$,5,48,"td",7),p.qZA()),2&ln){const me=Ci.$implicit,ct=Ci.index,it=p.oxw();p.xp6(),p.Q6J("ngIf",0===ct&&it._firstRowOffset),p.xp6(),p.Q6J("ngForOf",me)}}function Ge(ln,Ci){if(1&ln&&(p.TgZ(0,"th",5)(1,"span",6),p._uU(2),p.qZA(),p.TgZ(3,"span",7),p._uU(4),p.qZA()()),2&ln){const me=Ci.$implicit;p.xp6(2),p.Oqu(me.long),p.xp6(2),p.Oqu(me.narrow)}}const Ke=["*"];function Et(ln,Ci){}function Tt(ln,Ci){if(1&ln){const me=p.EpF();p.TgZ(0,"mat-month-view",5),p.NdJ("activeDateChange",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt.activeDate=it)})("_userSelection",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt._dateSelected(it))})("dragStarted",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt._dragStarted(it))})("dragEnded",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt._dragEnded(it))}),p.qZA()}if(2&ln){const me=p.oxw();p.Q6J("activeDate",me.activeDate)("selected",me.selected)("dateFilter",me.dateFilter)("maxDate",me.maxDate)("minDate",me.minDate)("dateClass",me.dateClass)("comparisonStart",me.comparisonStart)("comparisonEnd",me.comparisonEnd)("startDateAccessibleName",me.startDateAccessibleName)("endDateAccessibleName",me.endDateAccessibleName)("activeDrag",me._activeDrag)}}function tn(ln,Ci){if(1&ln){const me=p.EpF();p.TgZ(0,"mat-year-view",6),p.NdJ("activeDateChange",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt.activeDate=it)})("monthSelected",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt._monthSelectedInYearView(it))})("selectedChange",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt._goToDateInView(it,"month"))}),p.qZA()}if(2&ln){const me=p.oxw();p.Q6J("activeDate",me.activeDate)("selected",me.selected)("dateFilter",me.dateFilter)("maxDate",me.maxDate)("minDate",me.minDate)("dateClass",me.dateClass)}}function rn(ln,Ci){if(1&ln){const me=p.EpF();p.TgZ(0,"mat-multi-year-view",7),p.NdJ("activeDateChange",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt.activeDate=it)})("yearSelected",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt._yearSelectedInMultiYearView(it))})("selectedChange",function(it){p.CHM(me);const Yt=p.oxw();return p.KtG(Yt._goToDateInView(it,"year"))}),p.qZA()}if(2&ln){const me=p.oxw();p.Q6J("activeDate",me.activeDate)("selected",me.selected)("dateFilter",me.dateFilter)("maxDate",me.maxDate)("minDate",me.minDate)("dateClass",me.dateClass)}}function Nt(ln,Ci){}const ft=["button"];function Bt(ln,Ci){1&ln&&(p.O4$(),p.TgZ(0,"svg",3),p._UZ(1,"path",4),p.qZA())}const Ue=[[["","matDatepickerToggleIcon",""]]],nt=["[matDatepickerToggleIcon]"],Ye=[[["input","matStartDate",""]],[["input","matEndDate",""]]],zt=["input[matStartDate]","input[matEndDate]"];let Wn=(()=>{class ln{constructor(){this.changes=new G.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",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(me,ct){return`${me} \u2013 ${ct}`}formatYearRangeLabel(me,ct){return`${me} to ${ct}`}static#e=this.\u0275fac=function(ct){return new(ct||ln)};static#t=this.\u0275prov=p.Yz7({token:ln,factory:ln.\u0275fac,providedIn:"root"})}return ln})();class di{constructor(Ci,me,ct,it,Yt={},yn=Ci,Fi){this.value=Ci,this.displayValue=me,this.ariaLabel=ct,this.enabled=it,this.cssClasses=Yt,this.compareValue=yn,this.rawValue=Fi}}let Pt=1;const Xt=(0,U.i$)({passive:!1,capture:!0}),Le=(0,U.i$)({passive:!0,capture:!0}),ue=(0,U.i$)({passive:!0});let X=(()=>{class ln{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(me,ct){this._elementRef=me,this._ngZone=ct,this._platform=(0,p.f3M)(U.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new p.vpe,this.previewChange=new p.vpe,this.activeDateChange=new p.vpe,this.dragStarted=new p.vpe,this.dragEnded=new p.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=it=>{if(this._skipNextFocus&&"focus"===it.type)this._skipNextFocus=!1;else if(it.target&&this.isRange){const Yt=this._getCellFromElement(it.target);Yt&&this._ngZone.run(()=>this.previewChange.emit({value:Yt.enabled?Yt:null,event:it}))}},this._touchmoveHandler=it=>{if(!this.isRange)return;const Yt=k(it),yn=Yt?this._getCellFromElement(Yt):null;Yt!==it.target&&(this._didDragSinceMouseDown=!0),et(it.target)&&it.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:yn?.enabled?yn:null,event:it}))},this._leaveHandler=it=>{null!==this.previewEnd&&this.isRange&&("blur"!==it.type&&(this._didDragSinceMouseDown=!0),it.target&&this._getCellFromElement(it.target)&&(!it.relatedTarget||!this._getCellFromElement(it.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:it})))},this._mousedownHandler=it=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Yt=it.target&&this._getCellFromElement(it.target);!Yt||!this._isInRange(Yt.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Yt.rawValue,event:it})})},this._mouseupHandler=it=>{if(!this.isRange)return;const Yt=et(it.target);Yt?Yt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const yn=this._getCellFromElement(Yt);this.dragEnded.emit({value:yn?.rawValue??null,event:it})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:it})})},this._touchendHandler=it=>{const Yt=k(it);Yt&&this._mouseupHandler({target:Yt})},this._id="mat-calendar-body-"+Pt++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,ct.runOutsideAngular(()=>{const it=me.nativeElement;it.addEventListener("touchmove",this._touchmoveHandler,Xt),it.addEventListener("mouseenter",this._enterHandler,Le),it.addEventListener("focus",this._enterHandler,Le),it.addEventListener("mouseleave",this._leaveHandler,Le),it.addEventListener("blur",this._leaveHandler,Le),it.addEventListener("mousedown",this._mousedownHandler,ue),it.addEventListener("touchstart",this._mousedownHandler,ue),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(me,ct){this._didDragSinceMouseDown||me.enabled&&this.selectedValueChange.emit({value:me.value,event:ct})}_emitActiveDateChange(me,ct){me.enabled&&this.activeDateChange.emit({value:me.value,event:ct})}_isSelected(me){return this.startValue===me||this.endValue===me}ngOnChanges(me){const ct=me.numCols,{rows:it,numCols:Yt}=this;(me.rows||ct)&&(this._firstRowOffset=it&&it.length&&it[0].length?Yt-it[0].length:0),(me.cellAspectRatio||ct||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Yt+"%"),(ct||!this._cellWidth)&&(this._cellWidth=100/Yt+"%")}ngOnDestroy(){const me=this._elementRef.nativeElement;me.removeEventListener("touchmove",this._touchmoveHandler,Xt),me.removeEventListener("mouseenter",this._enterHandler,Le),me.removeEventListener("focus",this._enterHandler,Le),me.removeEventListener("mouseleave",this._leaveHandler,Le),me.removeEventListener("blur",this._leaveHandler,Le),me.removeEventListener("mousedown",this._mousedownHandler,ue),me.removeEventListener("touchstart",this._mousedownHandler,ue),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(me,ct){let it=me*this.numCols+ct;return me&&(it-=this._firstRowOffset),it==this.activeCell}_focusActiveCell(me=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Ft.q)(1)).subscribe(()=>{setTimeout(()=>{const ct=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");ct&&(me||(this._skipNextFocus=!0),ct.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(me){return j(me,this.startValue,this.endValue)}_isRangeEnd(me){return F(me,this.startValue,this.endValue)}_isInRange(me){return N(me,this.startValue,this.endValue,this.isRange)}_isComparisonStart(me){return j(me,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(me,ct,it){if(!this._isComparisonStart(me)||this._isRangeStart(me)||!this._isInRange(me))return!1;let Yt=this.rows[ct][it-1];if(!Yt){const yn=this.rows[ct-1];Yt=yn&&yn[yn.length-1]}return Yt&&!this._isRangeEnd(Yt.compareValue)}_isComparisonBridgeEnd(me,ct,it){if(!this._isComparisonEnd(me)||this._isRangeEnd(me)||!this._isInRange(me))return!1;let Yt=this.rows[ct][it+1];if(!Yt){const yn=this.rows[ct+1];Yt=yn&&yn[0]}return Yt&&!this._isRangeStart(Yt.compareValue)}_isComparisonEnd(me){return F(me,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(me){return N(me,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(me){return this.comparisonStart===this.comparisonEnd&&me===this.comparisonStart}_isPreviewStart(me){return j(me,this.previewStart,this.previewEnd)}_isPreviewEnd(me){return F(me,this.previewStart,this.previewEnd)}_isInPreview(me){return N(me,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(me){return this.isRange?this.startValue===me&&this.endValue===me?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===me?this._startDateLabelId:this.endValue===me?this._endDateLabelId:null:null}_getCellFromElement(me){const ct=et(me);if(ct){const it=ct.getAttribute("data-mat-row"),Yt=ct.getAttribute("data-mat-col");if(it&&Yt)return this.rows[parseInt(it)][parseInt(Yt)]}return null}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.SBq),p.Y36(p.R0b))};static#t=this.\u0275cmp=p.Xpm({type:ln,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",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[p.TTD],attrs:He,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["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","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(ct,it){1&ct&&(p.YNc(0,fe,3,6,"tr",0)(1,Ee,3,2,"tr",1),p.TgZ(2,"label",2),p._uU(3),p.qZA(),p.TgZ(4,"label",2),p._uU(5),p.qZA()),2&ct&&(p.Q6J("ngIf",it._firstRowOffset<it.labelMinRequiredCells),p.xp6(),p.Q6J("ngForOf",it.rows),p.xp6(),p.Q6J("id",it._startDateLabelId),p.xp6(),p.hij(" ",it.startDateAccessibleName,"\n"),p.xp6(),p.Q6J("id",it._endDateLabelId),p.xp6(),p.hij(" ",it.endDateAccessibleName,"\n"))},dependencies:[m.mk,m.sg,m.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color)}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color)}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.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}'],encapsulation:2,changeDetection:0})}return ln})();function xe(ln){return"TD"===ln?.nodeName}function et(ln){let Ci;return xe(ln)?Ci=ln:xe(ln.parentNode)?Ci=ln.parentNode:xe(ln.parentNode?.parentNode)&&(Ci=ln.parentNode.parentNode),null!=Ci?.getAttribute("data-mat-row")?Ci:null}function j(ln,Ci,me){return null!==me&&Ci!==me&&ln<me&&ln===Ci}function F(ln,Ci,me){return null!==Ci&&Ci!==me&&ln>=Ci&&ln===me}function N(ln,Ci,me,ct){return ct&&null!==Ci&&null!==me&&Ci!==me&&ln>=Ci&&ln<=me}function k(ln){const Ci=ln.changedTouches[0];return document.elementFromPoint(Ci.clientX,Ci.clientY)}class ne{constructor(Ci,me){this.start=Ci,this.end=me}}let z=(()=>{class ln{constructor(me,ct){this.selection=me,this._adapter=ct,this._selectionChanged=new G.x,this.selectionChanged=this._selectionChanged,this.selection=me}updateSelection(me,ct){const it=this.selection;this.selection=me,this._selectionChanged.next({selection:me,source:ct,oldValue:it})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(me){return this._adapter.isDateInstance(me)&&this._adapter.isValid(me)}static#e=this.\u0275fac=function(ct){p.$Z()};static#t=this.\u0275prov=p.Yz7({token:ln,factory:ln.\u0275fac})}return ln})(),re=(()=>{class ln extends z{constructor(me){super(null,me)}add(me){super.updateSelection(me,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const me=new ln(this._adapter);return me.updateSelection(this.selection,this),me}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.LFG(I._A))};static#t=this.\u0275prov=p.Yz7({token:ln,factory:ln.\u0275fac})}return ln})(),B=(()=>{class ln extends z{constructor(me){super(new ne(null,null),me)}add(me){let{start:ct,end:it}=this.selection;null==ct?ct=me:null==it?it=me:(ct=me,it=null),super.updateSelection(new ne(ct,it),this)}isValid(){const{start:me,end:ct}=this.selection;return null==me&&null==ct||(null!=me&&null!=ct?this._isValidDateInstance(me)&&this._isValidDateInstance(ct)&&this._adapter.compareDate(me,ct)<=0:(null==me||this._isValidDateInstance(me))&&(null==ct||this._isValidDateInstance(ct)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const me=new ln(this._adapter);return me.updateSelection(this.selection,this),me}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.LFG(I._A))};static#t=this.\u0275prov=p.Yz7({token:ln,factory:ln.\u0275fac})}return ln})();const Qe={provide:z,deps:[[new p.FiY,new p.tp0,z],I._A],useFactory:function Y(ln,Ci){return ln||new re(Ci)}},Vt={provide:z,deps:[[new p.FiY,new p.tp0,z],I._A],useFactory:function _t(ln,Ci){return ln||new B(Ci)}},bn=new p.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let xn=(()=>{class ln{constructor(me){this._dateAdapter=me}selectionFinished(me,ct){let{start:it,end:Yt}=ct;return null==it?it=me:null==Yt&&me&&this._dateAdapter.compareDate(me,it)>=0?Yt=me:(it=me,Yt=null),new ne(it,Yt)}createPreview(me,ct){let it=null,Yt=null;return ct.start&&!ct.end&&me&&(it=ct.start,Yt=me),new ne(it,Yt)}createDrag(me,ct,it){let Yt=ct.start,yn=ct.end;if(!Yt||!yn)return null;const Fi=this._dateAdapter,ur=0!==Fi.compareDate(Yt,yn),hr=Fi.getYear(it)-Fi.getYear(me),Pr=Fi.getMonth(it)-Fi.getMonth(me),so=Fi.getDate(it)-Fi.getDate(me);return ur&&Fi.sameDate(me,ct.start)?(Yt=it,Fi.compareDate(it,yn)>0&&(yn=Fi.addCalendarYears(yn,hr),yn=Fi.addCalendarMonths(yn,Pr),yn=Fi.addCalendarDays(yn,so))):ur&&Fi.sameDate(me,ct.end)?(yn=it,Fi.compareDate(it,Yt)<0&&(Yt=Fi.addCalendarYears(Yt,hr),Yt=Fi.addCalendarMonths(Yt,Pr),Yt=Fi.addCalendarDays(Yt,so))):(Yt=Fi.addCalendarYears(Yt,hr),Yt=Fi.addCalendarMonths(Yt,Pr),Yt=Fi.addCalendarDays(Yt,so),yn=Fi.addCalendarYears(yn,hr),yn=Fi.addCalendarMonths(yn,Pr),yn=Fi.addCalendarDays(yn,so)),new ne(Yt,yn)}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.LFG(I._A))};static#t=this.\u0275prov=p.Yz7({token:ln,factory:ln.\u0275fac})}return ln})();const Ot={provide:bn,deps:[[new p.FiY,new p.tp0,bn],I._A],useFactory:function Fn(ln,Ci){return ln||new xn(Ci)}};let ye=(()=>{class ln{get activeDate(){return this._activeDate}set activeDate(me){const ct=this._activeDate,it=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(it,this.minDate,this.maxDate),this._hasSameMonthAndYear(ct,this._activeDate)||this._init()}get selected(){return this._selected}set selected(me){this._selected=me instanceof ne?me:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(me){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}get maxDate(){return this._maxDate}set maxDate(me){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}constructor(me,ct,it,Yt,yn){this._changeDetectorRef=me,this._dateFormats=ct,this._dateAdapter=it,this._dir=Yt,this._rangeStrategy=yn,this._rerenderSubscription=be.w0.EMPTY,this.activeDrag=null,this.selectedChange=new p.vpe,this._userSelection=new p.vpe,this.dragStarted=new p.vpe,this.dragEnded=new p.vpe,this.activeDateChange=new p.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,mt.O)(null)).subscribe(()=>this._init())}ngOnChanges(me){const ct=me.comparisonStart||me.comparisonEnd;ct&&!ct.firstChange&&this._setRanges(this.selected),me.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(me){const ct=me.value,it=this._getDateFromDayOfMonth(ct);let Yt,yn;this._selected instanceof ne?(Yt=this._getDateInCurrentMonth(this._selected.start),yn=this._getDateInCurrentMonth(this._selected.end)):Yt=yn=this._getDateInCurrentMonth(this._selected),(Yt!==ct||yn!==ct)&&this.selectedChange.emit(it),this._userSelection.emit({value:it,event:me.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(me){const it=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(me.value),this._dateAdapter.compareDate(it,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(me){const ct=this._activeDate,it=this._isRtl();switch(me.keyCode){case tt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,it?1:-1);break;case tt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,it?-1:1);break;case tt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case tt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case tt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case tt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case tt.Ku:this.activeDate=me.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case tt.VM:this.activeDate=me.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case tt.K5:case tt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&me.preventDefault());case tt.hY:return void(null!=this._previewEnd&&!(0,tt.Vb)(me)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:me}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:me})),me.preventDefault(),me.stopPropagation()));default:return}this._dateAdapter.compareDate(ct,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),me.preventDefault()}_handleCalendarBodyKeyup(me){(me.keyCode===tt.L_||me.keyCode===tt.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:me}),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 me=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(me)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(me){this._matCalendarBody._focusActiveCell(me)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:me,value:ct}){if(this._rangeStrategy){const it=ct?ct.rawValue:null,Yt=this._rangeStrategy.createPreview(it,this.selected,me);if(this._previewStart=this._getCellCompareValue(Yt.start),this._previewEnd=this._getCellCompareValue(Yt.end),this.activeDrag&&it){const yn=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,it,me);yn&&(this._previewStart=this._getCellCompareValue(yn.start),this._previewEnd=this._getCellCompareValue(yn.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(me){if(this.activeDrag)if(me.value){const ct=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,me.value,me.event);this.dragEnded.emit({value:ct??null,event:me.event})}else this.dragEnded.emit({value:null,event:me.event})}_getDateFromDayOfMonth(me){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),me)}_initWeekdays(){const me=this._dateAdapter.getFirstDayOfWeek(),ct=this._dateAdapter.getDayOfWeekNames("narrow");let Yt=this._dateAdapter.getDayOfWeekNames("long").map((yn,Fi)=>({long:yn,narrow:ct[Fi]}));this._weekdays=Yt.slice(me).concat(Yt.slice(0,me))}_createWeekCells(){const me=this._dateAdapter.getNumDaysInMonth(this.activeDate),ct=this._dateAdapter.getDateNames();this._weeks=[[]];for(let it=0,Yt=this._firstWeekOffset;it<me;it++,Yt++){7==Yt&&(this._weeks.push([]),Yt=0);const yn=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),it+1),Fi=this._shouldEnableDate(yn),ur=this._dateAdapter.format(yn,this._dateFormats.display.dateA11yLabel),hr=this.dateClass?this.dateClass(yn,"month"):void 0;this._weeks[this._weeks.length-1].push(new di(it+1,ct[it],ur,Fi,hr,this._getCellCompareValue(yn),yn))}}_shouldEnableDate(me){return!!me&&(!this.minDate||this._dateAdapter.compareDate(me,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(me,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(me))}_getDateInCurrentMonth(me){return me&&this._hasSameMonthAndYear(me,this.activeDate)?this._dateAdapter.getDate(me):null}_hasSameMonthAndYear(me,ct){return!(!me||!ct||this._dateAdapter.getMonth(me)!=this._dateAdapter.getMonth(ct)||this._dateAdapter.getYear(me)!=this._dateAdapter.getYear(ct))}_getCellCompareValue(me){if(me){const ct=this._dateAdapter.getYear(me),it=this._dateAdapter.getMonth(me),Yt=this._dateAdapter.getDate(me);return new Date(ct,it,Yt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(me){me instanceof ne?(this._rangeStart=this._getCellCompareValue(me.start),this._rangeEnd=this._getCellCompareValue(me.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(me),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(me){return!this.dateFilter||this.dateFilter(me)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.sBO),p.Y36(I.sG,8),p.Y36(I._A,8),p.Y36(Re.Is,8),p.Y36(bn,8))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-month-view"]],viewQuery:function(ct,it){if(1&ct&&p.Gf(X,5),2&ct){let Yt;p.iGM(Yt=p.CRH())&&(it._matCalendarBody=Yt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[p.TTD],decls:7,vars:15,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","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(ct,it){1&ct&&(p.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),p.YNc(3,Ge,5,2,"th",2),p.qZA(),p.TgZ(4,"tr"),p._UZ(5,"th",3),p.qZA()(),p.TgZ(6,"tbody",4),p.NdJ("selectedValueChange",function(yn){return it._dateSelected(yn)})("activeDateChange",function(yn){return it._updateActiveDate(yn)})("previewChange",function(yn){return it._previewChanged(yn)})("dragStarted",function(yn){return it.dragStarted.emit(yn)})("dragEnded",function(yn){return it._dragEnded(yn)})("keyup",function(yn){return it._handleCalendarBodyKeyup(yn)})("keydown",function(yn){return it._handleCalendarBodyKeydown(yn)}),p.qZA()()),2&ct&&(p.xp6(3),p.Q6J("ngForOf",it._weekdays),p.xp6(3),p.Q6J("label",it._monthLabel)("rows",it._weeks)("todayValue",it._todayDate)("startValue",it._rangeStart)("endValue",it._rangeEnd)("comparisonStart",it._comparisonRangeStart)("comparisonEnd",it._comparisonRangeEnd)("previewStart",it._previewStart)("previewEnd",it._previewEnd)("isRange",it._isRange)("labelMinRequiredCells",3)("activeCell",it._dateAdapter.getDate(it.activeDate)-1)("startDateAccessibleName",it.startDateAccessibleName)("endDateAccessibleName",it.endDateAccessibleName))},dependencies:[m.sg,X],encapsulation:2,changeDetection:0})}return ln})();const It=24;let wt=(()=>{class ln{get activeDate(){return this._activeDate}set activeDate(me){let ct=this._activeDate;const it=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(it,this.minDate,this.maxDate),$n(this._dateAdapter,ct,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(me){this._selected=me instanceof ne?me:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me)),this._setSelectedYear(me)}get minDate(){return this._minDate}set minDate(me){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}get maxDate(){return this._maxDate}set maxDate(me){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}constructor(me,ct,it){this._changeDetectorRef=me,this._dateAdapter=ct,this._dir=it,this._rerenderSubscription=be.w0.EMPTY,this.selectedChange=new p.vpe,this.yearSelected=new p.vpe,this.activeDateChange=new p.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,mt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const ct=this._dateAdapter.getYear(this._activeDate)-pn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let it=0,Yt=[];it<It;it++)Yt.push(ct+it),4==Yt.length&&(this._years.push(Yt.map(yn=>this._createCellForYear(yn))),Yt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(me){const ct=me.value,it=this._dateAdapter.createDate(ct,0,1),Yt=this._getDateFromYear(ct);this.yearSelected.emit(it),this.selectedChange.emit(Yt)}_updateActiveDate(me){const it=this._activeDate;this.activeDate=this._getDateFromYear(me.value),this._dateAdapter.compareDate(it,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(me){const ct=this._activeDate,it=this._isRtl();switch(me.keyCode){case tt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,it?1:-1);break;case tt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,it?-1:1);break;case tt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case tt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case tt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-pn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case tt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,It-pn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case tt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,me.altKey?10*-It:-It);break;case tt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,me.altKey?10*It:It);break;case tt.K5:case tt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ct,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),me.preventDefault()}_handleCalendarBodyKeyup(me){(me.keyCode===tt.L_||me.keyCode===tt.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:me}),this._selectionKeyPressed=!1)}_getActiveCell(){return pn(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(me){const ct=this._dateAdapter.getMonth(this.activeDate),it=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(me,ct,1));return this._dateAdapter.createDate(me,ct,Math.min(this._dateAdapter.getDate(this.activeDate),it))}_createCellForYear(me){const ct=this._dateAdapter.createDate(me,0,1),it=this._dateAdapter.getYearName(ct),Yt=this.dateClass?this.dateClass(ct,"multi-year"):void 0;return new di(me,it,it,this._shouldEnableYear(me),Yt)}_shouldEnableYear(me){if(null==me||this.maxDate&&me>this._dateAdapter.getYear(this.maxDate)||this.minDate&&me<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let it=this._dateAdapter.createDate(me,0,1);this._dateAdapter.getYear(it)==me;it=this._dateAdapter.addCalendarDays(it,1))if(this.dateFilter(it))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(me){if(this._selectedYear=null,me instanceof ne){const ct=me.start||me.end;ct&&(this._selectedYear=this._dateAdapter.getYear(ct))}else me&&(this._selectedYear=this._dateAdapter.getYear(me))}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.sBO),p.Y36(I._A,8),p.Y36(Re.Is,8))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-multi-year-view"]],viewQuery:function(ct,it){if(1&ct&&p.Gf(X,5),2&ct){let Yt;p.iGM(Yt=p.CRH())&&(it._matCalendarBody=Yt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(ct,it){1&ct&&(p.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),p._UZ(3,"th",2),p.qZA()(),p.TgZ(4,"tbody",3),p.NdJ("selectedValueChange",function(yn){return it._yearSelected(yn)})("activeDateChange",function(yn){return it._updateActiveDate(yn)})("keyup",function(yn){return it._handleCalendarBodyKeyup(yn)})("keydown",function(yn){return it._handleCalendarBodyKeydown(yn)}),p.qZA()()),2&ct&&(p.xp6(4),p.Q6J("rows",it._years)("todayValue",it._todayYear)("startValue",it._selectedYear)("endValue",it._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",it._getActiveCell()))},dependencies:[X],encapsulation:2,changeDetection:0})}return ln})();function $n(ln,Ci,me,ct,it){const Yt=ln.getYear(Ci),yn=ln.getYear(me),Fi=Vn(ln,ct,it);return Math.floor((Yt-Fi)/It)===Math.floor((yn-Fi)/It)}function pn(ln,Ci,me,ct){return function Ct(ln,Ci){return(ln%Ci+Ci)%Ci}(ln.getYear(Ci)-Vn(ln,me,ct),It)}function Vn(ln,Ci,me){let ct=0;return me?ct=ln.getYear(me)-It+1:Ci&&(ct=ln.getYear(Ci)),ct}let nn=(()=>{class ln{get activeDate(){return this._activeDate}set activeDate(me){let ct=this._activeDate;const it=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(it,this.minDate,this.maxDate),this._dateAdapter.getYear(ct)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(me){this._selected=me instanceof ne?me:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me)),this._setSelectedMonth(me)}get minDate(){return this._minDate}set minDate(me){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}get maxDate(){return this._maxDate}set maxDate(me){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}constructor(me,ct,it,Yt){this._changeDetectorRef=me,this._dateFormats=ct,this._dateAdapter=it,this._dir=Yt,this._rerenderSubscription=be.w0.EMPTY,this.selectedChange=new p.vpe,this.monthSelected=new p.vpe,this.activeDateChange=new p.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,mt.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(me){const ct=me.value,it=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ct,1);this.monthSelected.emit(it);const Yt=this._getDateFromMonth(ct);this.selectedChange.emit(Yt)}_updateActiveDate(me){const it=this._activeDate;this.activeDate=this._getDateFromMonth(me.value),this._dateAdapter.compareDate(it,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(me){const ct=this._activeDate,it=this._isRtl();switch(me.keyCode){case tt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,it?1:-1);break;case tt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,it?-1:1);break;case tt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case tt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case tt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case tt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case tt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,me.altKey?-10:-1);break;case tt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,me.altKey?10:1);break;case tt.K5:case tt.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ct,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),me.preventDefault()}_handleCalendarBodyKeyup(me){(me.keyCode===tt.L_||me.keyCode===tt.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:me}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let me=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(ct=>ct.map(it=>this._createCellForMonth(it,me[it]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(me){return me&&this._dateAdapter.getYear(me)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(me):null}_getDateFromMonth(me){const ct=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),me,1),it=this._dateAdapter.getNumDaysInMonth(ct);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),me,Math.min(this._dateAdapter.getDate(this.activeDate),it))}_createCellForMonth(me,ct){const it=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),me,1),Yt=this._dateAdapter.format(it,this._dateFormats.display.monthYearA11yLabel),yn=this.dateClass?this.dateClass(it,"year"):void 0;return new di(me,ct.toLocaleUpperCase(),Yt,this._shouldEnableMonth(me),yn)}_shouldEnableMonth(me){const ct=this._dateAdapter.getYear(this.activeDate);if(null==me||this._isYearAndMonthAfterMaxDate(ct,me)||this._isYearAndMonthBeforeMinDate(ct,me))return!1;if(!this.dateFilter)return!0;for(let Yt=this._dateAdapter.createDate(ct,me,1);this._dateAdapter.getMonth(Yt)==me;Yt=this._dateAdapter.addCalendarDays(Yt,1))if(this.dateFilter(Yt))return!0;return!1}_isYearAndMonthAfterMaxDate(me,ct){if(this.maxDate){const it=this._dateAdapter.getYear(this.maxDate),Yt=this._dateAdapter.getMonth(this.maxDate);return me>it||me===it&&ct>Yt}return!1}_isYearAndMonthBeforeMinDate(me,ct){if(this.minDate){const it=this._dateAdapter.getYear(this.minDate),Yt=this._dateAdapter.getMonth(this.minDate);return me<it||me===it&&ct<Yt}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(me){this._selectedMonth=me instanceof ne?this._getMonthInCurrentYear(me.start)||this._getMonthInCurrentYear(me.end):this._getMonthInCurrentYear(me)}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.sBO),p.Y36(I.sG,8),p.Y36(I._A,8),p.Y36(Re.Is,8))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-year-view"]],viewQuery:function(ct,it){if(1&ct&&p.Gf(X,5),2&ct){let Yt;p.iGM(Yt=p.CRH())&&(it._matCalendarBody=Yt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(ct,it){1&ct&&(p.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),p._UZ(3,"th",2),p.qZA()(),p.TgZ(4,"tbody",3),p.NdJ("selectedValueChange",function(yn){return it._monthSelected(yn)})("activeDateChange",function(yn){return it._updateActiveDate(yn)})("keyup",function(yn){return it._handleCalendarBodyKeyup(yn)})("keydown",function(yn){return it._handleCalendarBodyKeydown(yn)}),p.qZA()()),2&ct&&(p.xp6(4),p.Q6J("label",it._yearLabel)("rows",it._months)("todayValue",it._todayMonth)("startValue",it._selectedMonth)("endValue",it._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",it._dateAdapter.getMonth(it.activeDate)))},dependencies:[X],encapsulation:2,changeDetection:0})}return ln})(),Wt=1,Pn=(()=>{class ln{constructor(me,ct,it,Yt,yn){this._intl=me,this.calendar=ct,this._dateAdapter=it,this._dateFormats=Yt,this._id="mat-calendar-header-"+Wt++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>yn.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}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:-It)}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:It)}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(me,ct){return"month"==this.calendar.currentView?this._dateAdapter.getYear(me)==this._dateAdapter.getYear(ct)&&this._dateAdapter.getMonth(me)==this._dateAdapter.getMonth(ct):"year"==this.calendar.currentView?this._dateAdapter.getYear(me)==this._dateAdapter.getYear(ct):$n(this._dateAdapter,me,ct,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const ct=this._dateAdapter.getYear(this.calendar.activeDate)-pn(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),it=ct+It-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(ct,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(it,0,1))]}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(Wn),p.Y36((0,p.Gpc)(()=>Un)),p.Y36(I._A,8),p.Y36(I.sG,8),p.Y36(p.sBO))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Ke,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",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"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(ct,it){1&ct&&(p.F$t(),p.TgZ(0,"div",0)(1,"div",1)(2,"button",2),p.NdJ("click",function(){return it.currentPeriodClicked()}),p.TgZ(3,"span",3),p._uU(4),p.qZA(),p.O4$(),p.TgZ(5,"svg",4),p._UZ(6,"polygon",5),p.qZA()(),p.kcU(),p._UZ(7,"div",6),p.Hsn(8),p.TgZ(9,"button",7),p.NdJ("click",function(){return it.previousClicked()}),p.qZA(),p.TgZ(10,"button",8),p.NdJ("click",function(){return it.nextClicked()}),p.qZA()()(),p.TgZ(11,"label",9),p._uU(12),p.qZA()),2&ct&&(p.xp6(2),p.uIk("aria-label",it.periodButtonLabel)("aria-describedby",it._periodButtonLabelId),p.xp6(2),p.Oqu(it.periodButtonText),p.xp6(),p.ekj("mat-calendar-invert","month"!==it.calendar.currentView),p.xp6(4),p.Q6J("disabled",!it.previousEnabled()),p.uIk("aria-label",it.prevButtonLabel),p.xp6(),p.Q6J("disabled",!it.nextEnabled()),p.uIk("aria-label",it.nextButtonLabel),p.xp6(),p.Q6J("id",it._periodButtonLabelId),p.xp6(),p.Oqu(it.periodButtonDescription))},dependencies:[Ve,we],encapsulation:2,changeDetection:0})}return ln})(),Un=(()=>{class ln{get startAt(){return this._startAt}set startAt(me){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}get selected(){return this._selected}set selected(me){this._selected=me instanceof ne?me:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}get minDate(){return this._minDate}set minDate(me){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}get maxDate(){return this._maxDate}set maxDate(me){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}get activeDate(){return this._clampedActiveDate}set activeDate(me){this._clampedActiveDate=this._dateAdapter.clampDate(me,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(me){const ct=this._currentView!==me?me:null;this._currentView=me,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),ct&&this.viewChanged.emit(ct)}constructor(me,ct,it,Yt){this._dateAdapter=ct,this._dateFormats=it,this._changeDetectorRef=Yt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new p.vpe,this.yearSelected=new p.vpe,this.monthSelected=new p.vpe,this.viewChanged=new p.vpe(!0),this._userSelection=new p.vpe,this._userDragDrop=new p.vpe,this._activeDrag=null,this.stateChanges=new G.x,this._intlChanges=me.changes.subscribe(()=>{Yt.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new e.C5(this.headerComponent||Pn),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(me){const ct=me.minDate&&!this._dateAdapter.sameDate(me.minDate.previousValue,me.minDate.currentValue)?me.minDate:void 0,it=me.maxDate&&!this._dateAdapter.sameDate(me.maxDate.previousValue,me.maxDate.currentValue)?me.maxDate:void 0,Yt=ct||it||me.dateFilter;if(Yt&&!Yt.firstChange){const yn=this._getCurrentViewComponent();yn&&(this._changeDetectorRef.detectChanges(),yn._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(me){const ct=me.value;(this.selected instanceof ne||ct&&!this._dateAdapter.sameDate(ct,this.selected))&&this.selectedChange.emit(ct),this._userSelection.emit(me)}_yearSelectedInMultiYearView(me){this.yearSelected.emit(me)}_monthSelectedInYearView(me){this.monthSelected.emit(me)}_goToDateInView(me,ct){this.activeDate=me,this.currentView=ct}_dragStarted(me){this._activeDrag=me}_dragEnded(me){this._activeDrag&&(me.value&&this._userDragDrop.emit(me),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(Wn),p.Y36(I._A,8),p.Y36(I.sG,8),p.Y36(p.sBO))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-calendar"]],viewQuery:function(ct,it){if(1&ct&&(p.Gf(ye,5),p.Gf(nn,5),p.Gf(wt,5)),2&ct){let Yt;p.iGM(Yt=p.CRH())&&(it.monthView=Yt.first),p.iGM(Yt=p.CRH())&&(it.yearView=Yt.first),p.iGM(Yt=p.CRH())&&(it.multiYearView=Yt.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",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[p._Bn([Qe]),p.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","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",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","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(ct,it){1&ct&&(p.YNc(0,Et,0,0,"ng-template",0),p.TgZ(1,"div",1),p.YNc(2,Tt,1,11,"mat-month-view",2)(3,tn,1,6,"mat-year-view",3)(4,rn,1,6,"mat-multi-year-view",4),p.qZA()),2&ct&&(p.Q6J("cdkPortalOutlet",it._calendarHeaderPortal),p.xp6(),p.Q6J("ngSwitch",it.currentView),p.xp6(),p.Q6J("ngSwitchCase","month"),p.xp6(),p.Q6J("ngSwitchCase","year"),p.xp6(),p.Q6J("ngSwitchCase","multi-year"))},dependencies:[m.RF,m.n9,t.kH,e.Pl,ye,nn,wt],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.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-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.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;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.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;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return ln})();const jn={transformPanel:(0,hn.X$)("transformPanel",[(0,hn.eR)("void => enter-dropdown",(0,hn.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,hn.F4)([(0,hn.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,hn.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,hn.eR)("void => enter-dialog",(0,hn.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,hn.F4)([(0,hn.oB)({opacity:0,transform:"scale(0.7)"}),(0,hn.oB)({transform:"none",opacity:1})]))),(0,hn.eR)("* => void",(0,hn.jt)("100ms linear",(0,hn.oB)({opacity:0})))]),fadeInCalendar:(0,hn.X$)("fadeInCalendar",[(0,hn.SB)("void",(0,hn.oB)({opacity:0})),(0,hn.SB)("enter",(0,hn.oB)({opacity:1})),(0,hn.eR)("void => *",(0,hn.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let ui=0;const Ai=new p.OlP("mat-datepicker-scroll-strategy"),Xi={provide:Ai,deps:[u.aV],useFactory:function hi(ln){return()=>ln.scrollStrategies.reposition()}},ao=(0,I.pj)(class{constructor(ln){this._elementRef=ln}});let xi=(()=>{class ln extends ao{constructor(me,ct,it,Yt,yn,Fi){super(me),this._changeDetectorRef=ct,this._globalModel=it,this._dateAdapter=Yt,this._rangeSelectionStrategy=yn,this._subscriptions=new be.w0,this._animationDone=new G.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Fi.closeCalendarLabel}ngOnInit(){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(me){const ct=this._model.selection,it=me.value,Yt=ct instanceof ne;if(Yt&&this._rangeSelectionStrategy){const yn=this._rangeSelectionStrategy.selectionFinished(it,ct,me.event);this._model.updateSelection(yn,this)}else it&&(Yt||!this._dateAdapter.sameDate(it,ct))&&this._model.add(it);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(me){this._model.updateSelection(me.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(me){this._isAnimating="start"===me.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(me,ct){this._model=me?this._globalModel.clone():this._globalModel,this._actionsPortal=me,ct&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.SBq),p.Y36(p.sBO),p.Y36(z),p.Y36(I._A),p.Y36(bn,8),p.Y36(Wn))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-datepicker-content"]],viewQuery:function(ct,it){if(1&ct&&p.Gf(Un,5),2&ct){let Yt;p.iGM(Yt=p.CRH())&&(it._calendar=Yt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(ct,it){1&ct&&p.WFA("@transformPanel.start",function(yn){return it._handleAnimationEvent(yn)})("@transformPanel.done",function(yn){return it._handleAnimationEvent(yn)}),2&ct&&(p.d8E("@transformPanel",it._animationState),p.ekj("mat-datepicker-content-touch",it.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[p.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(ct,it){if(1&ct&&(p.TgZ(0,"div",0)(1,"mat-calendar",1),p.NdJ("yearSelected",function(yn){return it.datepicker._selectYear(yn)})("monthSelected",function(yn){return it.datepicker._selectMonth(yn)})("viewChanged",function(yn){return it.datepicker._viewChanged(yn)})("_userSelection",function(yn){return it._handleUserSelection(yn)})("_userDragDrop",function(yn){return it._handleUserDragDrop(yn)}),p.qZA(),p.YNc(2,Nt,0,0,"ng-template",2),p.TgZ(3,"button",3),p.NdJ("focus",function(){return it._closeButtonFocused=!0})("blur",function(){return it._closeButtonFocused=!1})("click",function(){return it.datepicker.close()}),p._uU(4),p.qZA()()),2&ct){let Yt;p.ekj("mat-datepicker-content-container-with-custom-header",it.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",it._actionsPortal),p.uIk("aria-modal",!0)("aria-labelledby",null!==(Yt=it._dialogLabelId)&&void 0!==Yt?Yt:void 0),p.xp6(),p.Q6J("id",it.datepicker.id)("ngClass",it.datepicker.panelClass)("startAt",it.datepicker.startAt)("startView",it.datepicker.startView)("minDate",it.datepicker._getMinDate())("maxDate",it.datepicker._getMaxDate())("dateFilter",it.datepicker._getDateFilter())("headerComponent",it.datepicker.calendarHeaderComponent)("selected",it._getSelected())("dateClass",it.datepicker.dateClass)("comparisonStart",it.comparisonStart)("comparisonEnd",it.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",it.startDateAccessibleName)("endDateAccessibleName",it.endDateAccessibleName),p.xp6(),p.Q6J("cdkPortalOutlet",it._actionsPortal),p.xp6(),p.ekj("cdk-visually-hidden",!it._closeButtonFocused),p.Q6J("color",it.color||"primary"),p.xp6(),p.Oqu(it._closeButtonText)}},dependencies:[m.mk,Ve,t.mK,e.Pl,Un],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.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{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);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}}"],encapsulation:2,data:{animation:[jn.transformPanel,jn.fadeInCalendar]},changeDetection:0})}return ln})(),Bi=(()=>{class ln{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(me){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(me){this._color=me}get touchUi(){return this._touchUi}set touchUi(me){this._touchUi=(0,n.Ig)(me)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(me){const ct=(0,n.Ig)(me);ct!==this._disabled&&(this._disabled=ct,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(me){this._restoreFocus=(0,n.Ig)(me)}get panelClass(){return this._panelClass}set panelClass(me){this._panelClass=(0,n.du)(me)}get opened(){return this._opened}set opened(me){(0,n.Ig)(me)?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}constructor(me,ct,it,Yt,yn,Fi,ur){this._overlay=me,this._ngZone=ct,this._viewContainerRef=it,this._dateAdapter=yn,this._dir=Fi,this._model=ur,this._inputStateChanges=be.w0.EMPTY,this._document=(0,p.f3M)(m.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new p.vpe,this.monthSelected=new p.vpe,this.viewChanged=new p.vpe(!0),this.openedStream=new p.vpe,this.closedStream=new p.vpe,this._opened=!1,this.id="mat-datepicker-"+ui++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new G.x,this._scrollStrategy=Yt}ngOnChanges(me){const ct=me.xPosition||me.yPosition;if(ct&&!ct.firstChange&&this._overlayRef){const it=this._overlayRef.getConfig().positionStrategy;it instanceof u._G&&(this._setConnectedPositions(it),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(me){this._model.add(me)}_selectYear(me){this.yearSelected.emit(me)}_selectMonth(me){this.monthSelected.emit(me)}_viewChanged(me){this.viewChanged.emit(me)}registerInput(me){return this._inputStateChanges.unsubscribe(),this.datepickerInput=me,this._inputStateChanges=me.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(me){this._actionsPortal=me,this._componentRef?.instance._assignActions(me,!0)}removeActions(me){me===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,U.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const me=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,ct=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:it,location:Yt}=this._componentRef;it._startExitAnimation(),it._animationDone.pipe((0,Ft.q)(1)).subscribe(()=>{const yn=this._document.activeElement;me&&(!yn||yn===this._document.activeElement||Yt.nativeElement.contains(yn))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}me?setTimeout(ct):ct()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(me){me.datepicker=this,me.color=this.color,me._dialogLabelId=this.datepickerInput.getOverlayLabelId(),me._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const me=this.touchUi,ct=new e.C5(xi,this._viewContainerRef),it=this._overlayRef=this._overlay.create(new u.X_({positionStrategy:me?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[me?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:me?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(me?"dialog":"popup")}));this._getCloseStream(it).subscribe(Yt=>{Yt&&Yt.preventDefault(),this.close()}),it.keydownEvents().subscribe(Yt=>{const yn=Yt.keyCode;(yn===tt.LH||yn===tt.JH||yn===tt.oh||yn===tt.SV||yn===tt.Ku||yn===tt.VM)&&Yt.preventDefault()}),this._componentRef=it.attach(ct),this._forwardContentValues(this._componentRef.instance),me||this._ngZone.onStable.pipe((0,Ft.q)(1)).subscribe(()=>it.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const me=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(me)}_setConnectedPositions(me){const ct="end"===this.xPosition?"end":"start",it="start"===ct?"end":"start",Yt="above"===this.yPosition?"bottom":"top",yn="top"===Yt?"bottom":"top";return me.withPositions([{originX:ct,originY:yn,overlayX:ct,overlayY:Yt},{originX:ct,originY:Yt,overlayX:ct,overlayY:yn},{originX:it,originY:yn,overlayX:it,overlayY:Yt},{originX:it,originY:Yt,overlayX:it,overlayY:yn}])}_getCloseStream(me){const ct=["ctrlKey","shiftKey","metaKey"];return(0,de.T)(me.backdropClick(),me.detachments(),me.keydownEvents().pipe((0,sn.h)(it=>it.keyCode===tt.hY&&!(0,tt.Vb)(it)||this.datepickerInput&&(0,tt.Vb)(it,"altKey")&&it.keyCode===tt.LH&&ct.every(Yt=>!(0,tt.Vb)(it,Yt)))))}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(u.aV),p.Y36(p.R0b),p.Y36(p.s_b),p.Y36(Ai),p.Y36(I._A,8),p.Y36(Re.Is,8),p.Y36(z))};static#t=this.\u0275dir=p.lG2({type:ln,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:[p.TTD]})}return ln})(),bo=(()=>{class ln extends Bi{static#e=this.\u0275fac=(()=>{let me;return function(it){return(me||(me=p.n5z(ln)))(it||ln)}})();static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[p._Bn([Qe,{provide:Bi,useExisting:ln}]),p.qOj],decls:0,vars:0,template:function(ct,it){},encapsulation:2,changeDetection:0})}return ln})();class Qi{constructor(Ci,me){this.target=Ci,this.targetElement=me,this.value=this.target.value}}let On=(()=>{class ln{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(me){this._assignValueProgrammatically(me)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(me){const ct=(0,n.Ig)(me),it=this._elementRef.nativeElement;this._disabled!==ct&&(this._disabled=ct,this.stateChanges.next(void 0)),ct&&this._isInitialized&&it.blur&&it.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(me){this._model=me,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(ct=>{if(this._shouldHandleChangeEvent(ct)){const it=this._getValueFromModel(ct.selection);this._lastValueValid=this._isValidValue(it),this._cvaOnChange(it),this._onTouched(),this._formatValue(it),this.dateInput.emit(new Qi(this,this._elementRef.nativeElement)),this.dateChange.emit(new Qi(this,this._elementRef.nativeElement))}})}constructor(me,ct,it){this._elementRef=me,this._dateAdapter=ct,this._dateFormats=it,this.dateChange=new p.vpe,this.dateInput=new p.vpe,this.stateChanges=new G.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=be.w0.EMPTY,this._localeSubscription=be.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Yt=>{const yn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Yt.value));return!yn||this._matchesFilter(yn)?null:{matDatepickerFilter:!0}},this._minValidator=Yt=>{const yn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Yt.value)),Fi=this._getMinDate();return!Fi||!yn||this._dateAdapter.compareDate(Fi,yn)<=0?null:{matDatepickerMin:{min:Fi,actual:yn}}},this._maxValidator=Yt=>{const yn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Yt.value)),Fi=this._getMaxDate();return!Fi||!yn||this._dateAdapter.compareDate(Fi,yn)>=0?null:{matDatepickerMax:{max:Fi,actual:yn}}},this._lastValueValid=!1,this._localeSubscription=ct.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(me){mi(me,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(me){this._validatorOnChange=me}validate(me){return this._validator?this._validator(me):null}writeValue(me){this._assignValueProgrammatically(me)}registerOnChange(me){this._cvaOnChange=me}registerOnTouched(me){this._onTouched=me}setDisabledState(me){this.disabled=me}_onKeydown(me){(0,tt.Vb)(me,"altKey")&&me.keyCode===tt.JH&&["ctrlKey","shiftKey","metaKey"].every(Yt=>!(0,tt.Vb)(me,Yt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),me.preventDefault())}_onInput(me){const ct=this._lastValueValid;let it=this._dateAdapter.parse(me,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(it),it=this._dateAdapter.getValidDateOrNull(it);const Yt=!this._dateAdapter.sameDate(it,this.value);!it||Yt?this._cvaOnChange(it):(me&&!this.value&&this._cvaOnChange(it),ct!==this._lastValueValid&&this._validatorOnChange()),Yt&&(this._assignValue(it),this.dateInput.emit(new Qi(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Qi(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(me){this._elementRef.nativeElement.value=null!=me?this._dateAdapter.format(me,this._dateFormats.display.dateInput):""}_assignValue(me){this._model?(this._assignValueToModel(me),this._pendingValue=null):this._pendingValue=me}_isValidValue(me){return!me||this._dateAdapter.isValid(me)}_parentDisabled(){return!1}_assignValueProgrammatically(me){me=this._dateAdapter.deserialize(me),this._lastValueValid=this._isValidValue(me),me=this._dateAdapter.getValidDateOrNull(me),this._assignValue(me),this._formatValue(me)}_matchesFilter(me){const ct=this._getDateFilter();return!ct||ct(me)}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.SBq),p.Y36(I._A,8),p.Y36(I.sG,8))};static#t=this.\u0275dir=p.lG2({type:ln,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[p.TTD]})}return ln})();function mi(ln,Ci){const me=Object.keys(ln);for(let ct of me){const{previousValue:it,currentValue:Yt}=ln[ct];if(!Ci.isDateInstance(it)||!Ci.isDateInstance(Yt))return!0;if(!Ci.sameDate(it,Yt))return!0}return!1}const Rt={provide:Nn.JU,useExisting:(0,p.Gpc)(()=>ze),multi:!0},on={provide:Nn.Cf,useExisting:(0,p.Gpc)(()=>ze),multi:!0};let ze=(()=>{class ln extends On{set matDatepicker(me){me&&(this._datepicker=me,this._closedSubscription=me.closedStream.subscribe(()=>this._onTouched()),this._registerModel(me.registerInput(this)))}get min(){return this._min}set min(me){const ct=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me));this._dateAdapter.sameDate(ct,this._min)||(this._min=ct,this._validatorOnChange())}get max(){return this._max}set max(me){const ct=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me));this._dateAdapter.sameDate(ct,this._max)||(this._max=ct,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(me){const ct=this._matchesFilter(this.value);this._dateFilter=me,this._matchesFilter(this.value)!==ct&&this._validatorOnChange()}constructor(me,ct,it,Yt){super(me,ct,it),this._formField=Yt,this._closedSubscription=be.w0.EMPTY,this._validator=Nn.kI.compose(super._getValidators())}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(me){return me}_assignValueToModel(me){this._model&&this._model.updateSelection(me,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(me){return me.source!==this}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.SBq),p.Y36(I._A,8),p.Y36(I.sG,8),p.Y36(Jt.G_,8))};static#t=this.\u0275dir=p.lG2({type:ln,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(ct,it){1&ct&&p.NdJ("input",function(yn){return it._onInput(yn.target.value)})("change",function(){return it._onChange()})("blur",function(){return it._onBlur()})("keydown",function(yn){return it._onKeydown(yn)}),2&ct&&(p.Ikx("disabled",it.disabled),p.uIk("aria-haspopup",it._datepicker?"dialog":null)("aria-owns",(null==it._datepicker?null:it._datepicker.opened)&&it._datepicker.id||null)("min",it.min?it._dateAdapter.toIso8601(it.min):null)("max",it.max?it._dateAdapter.toIso8601(it.max):null)("data-mat-calendar",it._datepicker?it._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[p.lbL.None,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[p._Bn([Rt,on,{provide:cn.Jk,useExisting:ln}]),p.qOj]})}return ln})(),en=(()=>{class ln{static#e=this.\u0275fac=function(ct){return new(ct||ln)};static#t=this.\u0275dir=p.lG2({type:ln,selectors:[["","matDatepickerToggleIcon",""]]})}return ln})(),st=(()=>{class ln{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(me){this._disabled=(0,n.Ig)(me)}constructor(me,ct,it){this._intl=me,this._changeDetectorRef=ct,this._stateChanges=be.w0.EMPTY;const Yt=Number(it);this.tabIndex=Yt||0===Yt?Yt:null}ngOnChanges(me){me.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(me){this.datepicker&&!this.disabled&&(this.datepicker.open(),me.stopPropagation())}_watchStateChanges(){const me=this.datepicker?this.datepicker.stateChanges:(0,De.of)(),ct=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,De.of)(),it=this.datepicker?(0,de.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,De.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,de.T)(this._intl.changes,me,ct,it).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(Wn),p.Y36(p.sBO),p.$8M("tabindex"))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-datepicker-toggle"]],contentQueries:function(ct,it,Yt){if(1&ct&&p.Suo(Yt,en,5),2&ct){let yn;p.iGM(yn=p.CRH())&&(it._customIcon=yn.first)}},viewQuery:function(ct,it){if(1&ct&&p.Gf(ft,5),2&ct){let Yt;p.iGM(Yt=p.CRH())&&(it._button=Yt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(ct,it){1&ct&&p.NdJ("click",function(yn){return it._open(yn)}),2&ct&&(p.uIk("tabindex",null)("data-mat-calendar",it.datepicker?it.datepicker.id:null),p.ekj("mat-datepicker-toggle-active",it.datepicker&&it.datepicker.opened)("mat-accent",it.datepicker&&"accent"===it.datepicker.color)("mat-warn",it.datepicker&&"warn"===it.datepicker.color))},inputs:{datepicker:[p.lbL.None,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[p.lbL.None,"aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[p.TTD],ngContentSelectors:nt,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","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",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(ct,it){1&ct&&(p.F$t(Ue),p.TgZ(0,"button",0,1),p.YNc(2,Bt,2,0,"svg",2),p.Hsn(3),p.qZA()),2&ct&&(p.Q6J("disabled",it.disabled)("disableRipple",it.disableRipple),p.uIk("aria-haspopup",it.datepicker?"dialog":null)("aria-label",it.ariaLabel||it._intl.openCalendarLabel)("tabindex",it.disabled?-1:it.tabIndex),p.xp6(2),p.Q6J("ngIf",!it._customIcon))},dependencies:[m.O5,we],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return ln})();function Zt(ln){return Ui(ln,!0)}function an(ln){return ln.nodeType===Node.ELEMENT_NODE}function Ui(ln,Ci){if(an(ln)&&Ci){const ct=(ln.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((it,Yt)=>{const yn=document.getElementById(Yt);return yn&&it.push(yn),it},[]);if(ct.length)return ct.map(it=>Ui(it,!1)).join(" ")}if(an(ln)){const me=ln.getAttribute("aria-label")?.trim();if(me)return me}if(function Xn(ln){return"INPUT"===ln.nodeName}(ln)||function fi(ln){return"TEXTAREA"===ln.nodeName}(ln)){if(ln.labels?.length)return Array.from(ln.labels).map(it=>Ui(it,!1)).join(" ");const me=ln.getAttribute("placeholder")?.trim();if(me)return me;const ct=ln.getAttribute("title")?.trim();if(ct)return ct}return(ln.textContent||"").replace(/\s+/g," ").trim()}const So=new p.OlP("MAT_DATE_RANGE_INPUT_PARENT"),Co=(0,I.FD)((()=>{class ln extends On{constructor(me,ct,it,Yt,yn,Fi,ur,hr){super(ct,ur,hr),this._rangeInput=me,this._elementRef=ct,this._defaultErrorStateMatcher=it,this._injector=Yt,this._parentForm=yn,this._parentFormGroup=Fi,this._dir=(0,p.f3M)(Re.Is,{optional:!0})}ngOnInit(){const me=this._injector.get(Nn.a5,null,{optional:!0,self:!0});me&&(this.ngControl=me)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const me=this._elementRef.nativeElement,ct=me.value;return ct.length>0?ct:me.placeholder}_onInput(me){super._onInput(me),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:me}){return me!==this._rangeInput._startInput&&me!==this._rangeInput._endInput}_assignValueProgrammatically(me){super._assignValueProgrammatically(me),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return Zt(this._elementRef.nativeElement)}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(So),p.Y36(p.SBq),p.Y36(I.rD),p.Y36(p.zs3),p.Y36(Nn.F,8),p.Y36(Nn.sg,8),p.Y36(I._A,8),p.Y36(I.sG,8))};static#t=this.\u0275dir=p.lG2({type:ln,features:[p.qOj]})}return ln})());let Yo=(()=>{class ln extends Co{constructor(me,ct,it,Yt,yn,Fi,ur,hr){super(me,ct,it,Yt,yn,Fi,ur,hr),this._startValidator=Pr=>{const so=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Pr.value)),lt=this._model?this._model.selection.end:null;return!so||!lt||this._dateAdapter.compareDate(so,lt)<=0?null:{matStartDateInvalid:{end:lt,actual:so}}},this._validator=Nn.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(me){return me.start}_shouldHandleChangeEvent(me){return!(!super._shouldHandleChangeEvent(me)||(me.oldValue?.start?me.selection.start&&!this._dateAdapter.compareDate(me.oldValue.start,me.selection.start):!me.selection.start))}_assignValueToModel(me){if(this._model){const ct=new ne(me,this._model.selection.end);this._model.updateSelection(ct,this)}}_formatValue(me){super._formatValue(me),this._rangeInput._handleChildValueChange()}_onKeydown(me){const ct=this._rangeInput._endInput,it=this._elementRef.nativeElement,Yt="rtl"!==this._dir?.value;(me.keyCode===tt.SV&&Yt||me.keyCode===tt.oh&&!Yt)&&it.selectionStart===it.value.length&&it.selectionEnd===it.value.length?(me.preventDefault(),ct._elementRef.nativeElement.setSelectionRange(0,0),ct.focus()):super._onKeydown(me)}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(So),p.Y36(p.SBq),p.Y36(I.rD),p.Y36(p.zs3),p.Y36(Nn.F,8),p.Y36(Nn.sg,8),p.Y36(I._A,8),p.Y36(I.sG,8))};static#t=this.\u0275dir=p.lG2({type:ln,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(ct,it){1&ct&&p.NdJ("input",function(yn){return it._onInput(yn.target.value)})("change",function(){return it._onChange()})("keydown",function(yn){return it._onKeydown(yn)})("blur",function(){return it._onBlur()}),2&ct&&(p.Ikx("disabled",it.disabled),p.uIk("aria-haspopup",it._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==it._rangeInput.rangePicker?null:it._rangeInput.rangePicker.opened)&&it._rangeInput.rangePicker.id||null)("min",it._getMinDate()?it._dateAdapter.toIso8601(it._getMinDate()):null)("max",it._getMaxDate()?it._dateAdapter.toIso8601(it._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[p._Bn([{provide:Nn.JU,useExisting:ln,multi:!0},{provide:Nn.Cf,useExisting:ln,multi:!0}]),p.qOj]})}return ln})(),$o=(()=>{class ln extends Co{constructor(me,ct,it,Yt,yn,Fi,ur,hr){super(me,ct,it,Yt,yn,Fi,ur,hr),this._endValidator=Pr=>{const so=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Pr.value)),lt=this._model?this._model.selection.start:null;return!so||!lt||this._dateAdapter.compareDate(so,lt)>=0?null:{matEndDateInvalid:{start:lt,actual:so}}},this._validator=Nn.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(me){return me.end}_shouldHandleChangeEvent(me){return!(!super._shouldHandleChangeEvent(me)||(me.oldValue?.end?me.selection.end&&!this._dateAdapter.compareDate(me.oldValue.end,me.selection.end):!me.selection.end))}_assignValueToModel(me){if(this._model){const ct=new ne(this._model.selection.start,me);this._model.updateSelection(ct,this)}}_onKeydown(me){const ct=this._rangeInput._startInput,it=this._elementRef.nativeElement,Yt="rtl"!==this._dir?.value;if(me.keyCode!==tt.ZH||it.value)if((me.keyCode===tt.oh&&Yt||me.keyCode===tt.SV&&!Yt)&&0===it.selectionStart&&0===it.selectionEnd){me.preventDefault();const yn=ct._elementRef.nativeElement.value.length;ct._elementRef.nativeElement.setSelectionRange(yn,yn),ct.focus()}else super._onKeydown(me);else ct.focus()}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(So),p.Y36(p.SBq),p.Y36(I.rD),p.Y36(p.zs3),p.Y36(Nn.F,8),p.Y36(Nn.sg,8),p.Y36(I._A,8),p.Y36(I.sG,8))};static#t=this.\u0275dir=p.lG2({type:ln,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(ct,it){1&ct&&p.NdJ("input",function(yn){return it._onInput(yn.target.value)})("change",function(){return it._onChange()})("keydown",function(yn){return it._onKeydown(yn)})("blur",function(){return it._onBlur()}),2&ct&&(p.Ikx("disabled",it.disabled),p.uIk("aria-haspopup",it._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==it._rangeInput.rangePicker?null:it._rangeInput.rangePicker.opened)&&it._rangeInput.rangePicker.id||null)("min",it._getMinDate()?it._dateAdapter.toIso8601(it._getMinDate()):null)("max",it._getMaxDate()?it._dateAdapter.toIso8601(it._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[p._Bn([{provide:Nn.JU,useExisting:ln,multi:!0},{provide:Nn.Cf,useExisting:ln,multi:!0}]),p.qOj]})}return ln})(),tr=0,Mr=(()=>{class ln{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const me=this._startInput?._getPlaceholder()||"",ct=this._endInput?._getPlaceholder()||"";return me||ct?`${me} ${this.separator} ${ct}`:""}get rangePicker(){return this._rangePicker}set rangePicker(me){me&&(this._model=me.registerInput(this),this._rangePicker=me,this._closedSubscription.unsubscribe(),this._closedSubscription=me.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(me){this._required=(0,n.Ig)(me)}get dateFilter(){return this._dateFilter}set dateFilter(me){const ct=this._startInput,it=this._endInput,Yt=ct&&ct._matchesFilter(ct.value),yn=it&&it._matchesFilter(ct.value);this._dateFilter=me,ct&&ct._matchesFilter(ct.value)!==Yt&&ct._validatorOnChange(),it&&it._matchesFilter(it.value)!==yn&&it._validatorOnChange()}get min(){return this._min}set min(me){const ct=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me));this._dateAdapter.sameDate(ct,this._min)||(this._min=ct,this._revalidate())}get max(){return this._max}set max(me){const ct=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(me));this._dateAdapter.sameDate(ct,this._max)||(this._max=ct,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(me){const ct=(0,n.Ig)(me);ct!==this._groupDisabled&&(this._groupDisabled=ct,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const me=!!this._startInput&&this._startInput.isEmpty(),ct=!!this._endInput&&this._endInput.isEmpty();return me&&ct}constructor(me,ct,it,Yt,yn){this._changeDetectorRef=me,this._elementRef=ct,this._dateAdapter=Yt,this._formField=yn,this._closedSubscription=be.w0.EMPTY,this.id="mat-date-range-input-"+tr++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new G.x,yn?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&ct.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=it}setDescribedByIds(me){this._ariaDescribedBy=me.length?me.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,de.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(me){mi(me,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(me){const ct="start"===me?this._startInput:this._endInput;return ct?ct.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const me=this._formField;return me&&me._hasFloatingLabel()?me._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(me){this.focused=null!==me,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(me){this._startInput&&this._startInput._registerModel(me),this._endInput&&this._endInput._registerModel(me)}_isTargetRequired(me){return me?.ngControl?.control?.hasValidator(Nn.kI.required)}static#e=this.\u0275fac=function(ct){return new(ct||ln)(p.Y36(p.sBO),p.Y36(p.SBq),p.Y36(Nn.gN,10),p.Y36(I._A,8),p.Y36(Jt.G_,8))};static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-date-range-input"]],contentQueries:function(ct,it,Yt){if(1&ct&&(p.Suo(Yt,Yo,5),p.Suo(Yt,$o,5)),2&ct){let yn;p.iGM(yn=p.CRH())&&(it._startInput=yn.first),p.iGM(yn=p.CRH())&&(it._endInput=yn.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(ct,it){2&ct&&(p.uIk("id",it.id)("aria-labelledby",it._getAriaLabelledby())("aria-describedby",it._ariaDescribedBy)("data-mat-calendar",it.rangePicker?it.rangePicker.id:null),p.ekj("mat-date-range-input-hide-placeholders",it._shouldHidePlaceholders())("mat-date-range-input-required",it.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[p._Bn([{provide:Jt.Eo,useExisting:ln},{provide:So,useExisting:ln}]),p.TTD],ngContentSelectors:zt,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(ct,it){1&ct&&(p.F$t(Ye),p.TgZ(0,"div",0),p.NdJ("cdkFocusChange",function(yn){return it._updateFocus(yn)}),p.TgZ(1,"div",1),p.Hsn(2),p.TgZ(3,"span",2),p._uU(4),p.qZA()(),p.TgZ(5,"span",3),p._uU(6),p.qZA(),p.TgZ(7,"div",4),p.Hsn(8,1),p.TgZ(9,"span",2),p._uU(10),p.qZA()()()),2&ct&&(p.xp6(4),p.Oqu(it._getInputMirrorValue("start")),p.xp6(),p.ekj("mat-date-range-input-separator-hidden",it._shouldHideSeparator()),p.xp6(),p.Oqu(it.separator),p.xp6(4),p.Oqu(it._getInputMirrorValue("end")))},dependencies:[t.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px;color:var(--mat-datepicker-range-input-separator-color)}.mat-form-field-disabled .mat-date-range-input-separator{color:var(--mat-datepicker-range-input-disabled-state-separator-color)}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner[disabled]{color:var(--mat-datepicker-range-input-disabled-state-text-color)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0})}return ln})(),cr=(()=>{class ln extends Bi{_forwardContentValues(me){super._forwardContentValues(me);const ct=this.datepickerInput;ct&&(me.comparisonStart=ct.comparisonStart,me.comparisonEnd=ct.comparisonEnd,me.startDateAccessibleName=ct._getStartDateAccessibleName(),me.endDateAccessibleName=ct._getEndDateAccessibleName())}static#e=this.\u0275fac=(()=>{let me;return function(it){return(me||(me=p.n5z(ln)))(it||ln)}})();static#t=this.\u0275cmp=p.Xpm({type:ln,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[p._Bn([Vt,Ot,{provide:Bi,useExisting:ln}]),p.qOj],decls:0,vars:0,template:function(ct,it){},encapsulation:2,changeDetection:0})}return ln})(),Er=(()=>{class ln{static#e=this.\u0275fac=function(ct){return new(ct||ln)};static#t=this.\u0275mod=p.oAB({type:ln});static#n=this.\u0275inj=p.cJS({providers:[Wn,Xi],imports:[m.ez,V,u.U8,t.rt,e.eL,I.BQ,Se.ZD]})}return ln})()},6385:(jt,$e,s)=>{"use strict";s.d($e,{d:()=>m,t:()=>p});var t=s(9212),u=s(2495),e=s(3680);let m=(()=>{class U{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(I){this._vertical=(0,u.Ig)(I)}get inset(){return this._inset}set inset(I){this._inset=(0,u.Ig)(I)}static#e=this.\u0275fac=function(L){return new(L||U)};static#t=this.\u0275cmp=t.Xpm({type:U,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(L,y){2&L&&(t.uIk("aria-orientation",y.vertical?"vertical":"horizontal"),t.ekj("mat-divider-vertical",y.vertical)("mat-divider-horizontal",!y.vertical)("mat-divider-inset",y.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(L,y){},styles:[".mat-divider{--mat-divider-width:1px;display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}return U})(),p=(()=>{class U{static#e=this.\u0275fac=function(L){return new(L||U)};static#t=this.\u0275mod=t.oAB({type:U});static#n=this.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]})}return U})()},3305:(jt,$e,s)=>{"use strict";s.d($e,{pp:()=>De,To:()=>tt,ib:()=>we,VG:()=>P,u4:()=>be,yz:()=>G,yK:()=>de});var t=s(9212),u=s(8337),e=s(2495),m=s(8645),p=s(7394);let U=0;const n=new t.OlP("CdkAccordion");let I=(()=>{class Re{constructor(){this._stateChanges=new m.x,this._openCloseAllActions=new m.x,this.id="cdk-accordion-"+U++,this._multi=!1}get multi(){return this._multi}set multi(mt){this._multi=(0,e.Ig)(mt)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(mt){this._stateChanges.next(mt)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275dir=t.lG2({type:Re,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[t._Bn([{provide:n,useExisting:Re}]),t.TTD]})}return Re})(),L=0,y=(()=>{class Re{get expanded(){return this._expanded}set expanded(mt){mt=(0,e.Ig)(mt),this._expanded!==mt&&(this._expanded=mt,this.expandedChange.emit(mt),mt?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(mt){this._disabled=(0,e.Ig)(mt)}constructor(mt,sn,hn){this.accordion=mt,this._changeDetectorRef=sn,this._expansionDispatcher=hn,this._openCloseAllSubscription=p.w0.EMPTY,this.closed=new t.vpe,this.opened=new t.vpe,this.destroyed=new t.vpe,this.expandedChange=new t.vpe,this.id="cdk-accordion-child-"+L++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=hn.listen((Nn,Jt)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Jt&&this.id!==Nn&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(mt=>{this.disabled||(this.expanded=mt)})}static#e=this.\u0275fac=function(sn){return new(sn||Re)(t.Y36(n,12),t.Y36(t.sBO),t.Y36(u.A8))};static#t=this.\u0275dir=t.lG2({type:Re,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[t._Bn([{provide:n,useValue:void 0}])]})}return Re})(),O=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275mod=t.oAB({type:Re});static#n=this.\u0275inj=t.cJS({})}return Re})();var M=s(8484),E=s(6814),A=s(3680),S=s(4300),Z=s(3997),oe=s(7921),le=s(2181),ee=s(8180),K=s(6028),Q=s(6232),q=s(3019),H=s(6825);const T=["body"];function ie(Re,Ft){}const _e=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ce=["mat-expansion-panel-header","*","mat-action-row"];function Ve(Re,Ft){if(1&Re&&t._UZ(0,"span",2),2&Re){const mt=t.oxw();t.Q6J("@indicatorRotate",mt._getExpandedState())}}const ae=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],pe=["mat-panel-title","mat-panel-description","*"],Ae=new t.OlP("MAT_ACCORDION"),Ze="225ms cubic-bezier(0.4,0.0,0.2,1)",dt={indicatorRotate:(0,H.X$)("indicatorRotate",[(0,H.SB)("collapsed, void",(0,H.oB)({transform:"rotate(0deg)"})),(0,H.SB)("expanded",(0,H.oB)({transform:"rotate(180deg)"})),(0,H.eR)("expanded <=> collapsed, void => collapsed",(0,H.jt)(Ze))]),bodyExpansion:(0,H.X$)("bodyExpansion",[(0,H.SB)("collapsed, void",(0,H.oB)({height:"0px",visibility:"hidden"})),(0,H.SB)("expanded",(0,H.oB)({height:"*",visibility:""})),(0,H.eR)("expanded <=> collapsed, void => collapsed",(0,H.jt)(Ze))])},Fe=new t.OlP("MAT_EXPANSION_PANEL");let Xe=(()=>{class Re{constructor(mt,sn){this._template=mt,this._expansionPanel=sn}static#e=this.\u0275fac=function(sn){return new(sn||Re)(t.Y36(t.Rgc),t.Y36(Fe,8))};static#t=this.\u0275dir=t.lG2({type:Re,selectors:[["ng-template","matExpansionPanelContent",""]]})}return Re})(),Ie=0;const W=new t.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let we=(()=>{class Re extends y{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(mt){this._hideToggle=(0,e.Ig)(mt)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(mt){this._togglePosition=mt}constructor(mt,sn,hn,Nn,Jt,cn,He){super(mt,sn,hn),this._viewContainerRef=Nn,this._animationMode=cn,this._hideToggle=!1,this.afterExpand=new t.vpe,this.afterCollapse=new t.vpe,this._inputChanges=new m.x,this._headerId="mat-expansion-panel-header-"+Ie++,this._bodyAnimationDone=new m.x,this.accordion=mt,this._document=Jt,this._bodyAnimationDone.pipe((0,Z.x)((fe,Ne)=>fe.fromState===Ne.fromState&&fe.toState===Ne.toState)).subscribe(fe=>{"void"!==fe.fromState&&("expanded"===fe.toState?this.afterExpand.emit():"collapsed"===fe.toState&&this.afterCollapse.emit())}),He&&(this.hideToggle=He.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,oe.O)(null),(0,le.h)(()=>this.expanded&&!this._portal),(0,ee.q)(1)).subscribe(()=>{this._portal=new M.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(mt){this._inputChanges.next(mt)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const mt=this._document.activeElement,sn=this._body.nativeElement;return mt===sn||sn.contains(mt)}return!1}static#e=this.\u0275fac=function(sn){return new(sn||Re)(t.Y36(Ae,12),t.Y36(t.sBO),t.Y36(u.A8),t.Y36(t.s_b),t.Y36(E.K0),t.Y36(t.QbO,8),t.Y36(W,8))};static#t=this.\u0275cmp=t.Xpm({type:Re,selectors:[["mat-expansion-panel"]],contentQueries:function(sn,hn,Nn){if(1&sn&&t.Suo(Nn,Xe,5),2&sn){let Jt;t.iGM(Jt=t.CRH())&&(hn._lazyContent=Jt.first)}},viewQuery:function(sn,hn){if(1&sn&&t.Gf(T,5),2&sn){let Nn;t.iGM(Nn=t.CRH())&&(hn._body=Nn.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(sn,hn){2&sn&&t.ekj("mat-expanded",hn.expanded)("_mat-animation-noopable","NoopAnimations"===hn._animationMode)("mat-expansion-panel-spacing",hn._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[t._Bn([{provide:Ae,useValue:void 0},{provide:Fe,useExisting:Re}]),t.qOj,t.TTD],ngContentSelectors:Ce,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(sn,hn){1&sn&&(t.F$t(_e),t.Hsn(0),t.TgZ(1,"div",0,1),t.NdJ("@bodyExpansion.done",function(Jt){return hn._bodyAnimationDone.next(Jt)}),t.TgZ(3,"div",2),t.Hsn(4,1),t.YNc(5,ie,0,0,"ng-template",3),t.qZA(),t.Hsn(6,2),t.qZA()),2&sn&&(t.xp6(),t.Q6J("@bodyExpansion",hn._getExpandedState())("id",hn.id),t.uIk("aria-labelledby",hn._headerId),t.xp6(4),t.Q6J("cdkPortalOutlet",hn._portal))},dependencies:[M.Pl],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[dt.bodyExpansion]},changeDetection:0})}return Re})(),P=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275dir=t.lG2({type:Re,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]})}return Re})();class V{}const Se=(0,A.sb)(V);let G=(()=>{class Re extends Se{constructor(mt,sn,hn,Nn,Jt,cn,He){super(),this.panel=mt,this._element=sn,this._focusMonitor=hn,this._changeDetectorRef=Nn,this._animationMode=cn,this._parentChangeSubscription=p.w0.EMPTY;const fe=mt.accordion?mt.accordion._stateChanges.pipe((0,le.h)(Ne=>!(!Ne.hideToggle&&!Ne.togglePosition))):Q.E;this.tabIndex=parseInt(He||"")||0,this._parentChangeSubscription=(0,q.T)(mt.opened,mt.closed,fe,mt._inputChanges.pipe((0,le.h)(Ne=>!!(Ne.hideToggle||Ne.disabled||Ne.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),mt.closed.pipe((0,le.h)(()=>mt._containsFocus())).subscribe(()=>hn.focusVia(sn,"program")),Jt&&(this.expandedHeight=Jt.expandedHeight,this.collapsedHeight=Jt.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const mt=this._isExpanded();return mt&&this.expandedHeight?this.expandedHeight:!mt&&this.collapsedHeight?this.collapsedHeight:null}_keydown(mt){switch(mt.keyCode){case K.L_:case K.K5:(0,K.Vb)(mt)||(mt.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(mt))}}focus(mt,sn){mt?this._focusMonitor.focusVia(this._element,mt,sn):this._element.nativeElement.focus(sn)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(mt=>{mt&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static#e=this.\u0275fac=function(sn){return new(sn||Re)(t.Y36(we,1),t.Y36(t.SBq),t.Y36(S.tE),t.Y36(t.sBO),t.Y36(W,8),t.Y36(t.QbO,8),t.$8M("tabindex"))};static#t=this.\u0275cmp=t.Xpm({type:Re,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(sn,hn){1&sn&&t.NdJ("click",function(){return hn._toggle()})("keydown",function(Jt){return hn._keydown(Jt)}),2&sn&&(t.uIk("id",hn.panel._headerId)("tabindex",hn.tabIndex)("aria-controls",hn._getPanelId())("aria-expanded",hn._isExpanded())("aria-disabled",hn.panel.disabled),t.Udp("height",hn._getHeaderHeight()),t.ekj("mat-expanded",hn._isExpanded())("mat-expansion-toggle-indicator-after","after"===hn._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===hn._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===hn._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[t.qOj],ngContentSelectors:pe,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(sn,hn){1&sn&&(t.F$t(ae),t.TgZ(0,"span",0),t.Hsn(1),t.Hsn(2,1),t.Hsn(3,2),t.qZA(),t.YNc(4,Ve,1,1,"span",1)),2&sn&&(t.ekj("mat-content-hide-toggle",!hn._showToggle()),t.xp6(4),t.Q6J("ngIf",hn._showToggle()))},dependencies:[E.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[dt.indicatorRotate]},changeDetection:0})}return Re})(),be=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275dir=t.lG2({type:Re,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return Re})(),de=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275dir=t.lG2({type:Re,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return Re})(),De=(()=>{class Re extends I{constructor(){super(...arguments),this._ownHeaders=new t.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(mt){this._hideToggle=(0,e.Ig)(mt)}ngAfterContentInit(){this._headers.changes.pipe((0,oe.O)(this._headers)).subscribe(mt=>{this._ownHeaders.reset(mt.filter(sn=>sn.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new S.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(mt){this._keyManager.onKeydown(mt)}_handleHeaderFocus(mt){this._keyManager.updateActiveItem(mt)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static#e=this.\u0275fac=(()=>{let mt;return function(hn){return(mt||(mt=t.n5z(Re)))(hn||Re)}})();static#t=this.\u0275dir=t.lG2({type:Re,selectors:[["mat-accordion"]],contentQueries:function(sn,hn,Nn){if(1&sn&&t.Suo(Nn,G,5),2&sn){let Jt;t.iGM(Jt=t.CRH())&&(hn._headers=Jt)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(sn,hn){2&sn&&t.ekj("mat-accordion-multi",hn.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[t._Bn([{provide:Ae,useExisting:Re}]),t.qOj]})}return Re})(),tt=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275mod=t.oAB({type:Re});static#n=this.\u0275inj=t.cJS({imports:[E.ez,A.BQ,O,M.eL]})}return Re})()},1043:(jt,$e,s)=>{"use strict";s.d($e,{Bi:()=>Ft,Eo:()=>tt,G_:()=>sn,Lv:()=>mt,Px:()=>Fe,TN:()=>De,UO:()=>Re,Ve:()=>Ie,ab:()=>pe});var t=s(9212),u=s(6825);const pe=new t.OlP("MatError"),Fe=new t.OlP("MatPrefix"),Ie=new t.OlP("MatSuffix"),De={transitionMessages:(0,u.X$)("transitionMessages",[(0,u.SB)("enter",(0,u.oB)({opacity:1,transform:"translateY(0%)"})),(0,u.eR)("void => enter",[(0,u.oB)({opacity:0,transform:"translateY(-5px)"}),(0,u.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let tt=(()=>{class Ee{static#e=this.\u0275fac=function(Et){return new(Et||Ee)};static#t=this.\u0275dir=t.lG2({type:Ee})}return Ee})();function Re(){return Error("Placeholder attribute and child element were both specified.")}function Ft(Ee){return Error(`A hint was already declared for 'align="${Ee}"'.`)}function mt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const sn=new t.OlP("MatFormField")},3176:(jt,$e,s)=>{"use strict";s.d($e,{N6:()=>T});var t=s(9212),u=s(3680);let T=(()=>{class _e{static#e=this.\u0275fac=function(ae){return new(ae||_e)};static#t=this.\u0275mod=t.oAB({type:_e});static#n=this.\u0275inj=t.cJS({imports:[u.uc,u.BQ,u.uc,u.BQ]})}return _e})()},617:(jt,$e,s)=>{"use strict";s.d($e,{Hw:()=>P,Ps:()=>V,jv:()=>_e});var t=s(9212),u=s(3680),e=s(2495),m=s(6814),p=s(2096),U=s(8504),n=s(9315),I=s(7394),L=s(9397),y=s(7398),O=s(6306),M=s(4716),E=s(3020),A=s(8180),S=s(9862),Z=s(6593);const oe=["*"];let le;function K(Se){return function ee(){if(void 0===le&&(le=null,typeof window<"u")){const Se=window;void 0!==Se.trustedTypes&&(le=Se.trustedTypes.createPolicy("angular#components",{createHTML:G=>G}))}return le}()?.createHTML(Se)||Se}function Q(Se){return Error(`Unable to find icon with the name "${Se}"`)}function H(Se){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Se}".`)}function T(Se){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Se}".`)}class ie{constructor(G,be,de){this.url=G,this.svgText=be,this.options=de}}let _e=(()=>{class Se{constructor(be,de,De,tt){this._httpClient=be,this._sanitizer=de,this._errorHandler=tt,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","mat-ligature-font"],this._document=De}addSvgIcon(be,de,De){return this.addSvgIconInNamespace("",be,de,De)}addSvgIconLiteral(be,de,De){return this.addSvgIconLiteralInNamespace("",be,de,De)}addSvgIconInNamespace(be,de,De,tt){return this._addSvgIconConfig(be,de,new ie(De,null,tt))}addSvgIconResolver(be){return this._resolvers.push(be),this}addSvgIconLiteralInNamespace(be,de,De,tt){const Re=this._sanitizer.sanitize(t.q3G.HTML,De);if(!Re)throw T(De);const Ft=K(Re);return this._addSvgIconConfig(be,de,new ie("",Ft,tt))}addSvgIconSet(be,de){return this.addSvgIconSetInNamespace("",be,de)}addSvgIconSetLiteral(be,de){return this.addSvgIconSetLiteralInNamespace("",be,de)}addSvgIconSetInNamespace(be,de,De){return this._addSvgIconSetConfig(be,new ie(de,null,De))}addSvgIconSetLiteralInNamespace(be,de,De){const tt=this._sanitizer.sanitize(t.q3G.HTML,de);if(!tt)throw T(de);const Re=K(tt);return this._addSvgIconSetConfig(be,new ie("",Re,De))}registerFontClassAlias(be,de=be){return this._fontCssClassesByAlias.set(be,de),this}classNameForFontAlias(be){return this._fontCssClassesByAlias.get(be)||be}setDefaultFontSetClass(...be){return this._defaultFontSetClass=be,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(be){const de=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,be);if(!de)throw H(be);const De=this._cachedIconsByUrl.get(de);return De?(0,p.of)(ae(De)):this._loadSvgIconFromConfig(new ie(be,null)).pipe((0,L.b)(tt=>this._cachedIconsByUrl.set(de,tt)),(0,y.U)(tt=>ae(tt)))}getNamedSvgIcon(be,de=""){const De=pe(de,be);let tt=this._svgIconConfigs.get(De);if(tt)return this._getSvgFromConfig(tt);if(tt=this._getIconConfigFromResolvers(de,be),tt)return this._svgIconConfigs.set(De,tt),this._getSvgFromConfig(tt);const Re=this._iconSetConfigs.get(de);return Re?this._getSvgFromIconSetConfigs(be,Re):(0,U._)(Q(De))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(be){return be.svgText?(0,p.of)(ae(this._svgElementFromConfig(be))):this._loadSvgIconFromConfig(be).pipe((0,y.U)(de=>ae(de)))}_getSvgFromIconSetConfigs(be,de){const De=this._extractIconWithNameFromAnySet(be,de);if(De)return(0,p.of)(De);const tt=de.filter(Re=>!Re.svgText).map(Re=>this._loadSvgIconSetFromConfig(Re).pipe((0,O.K)(Ft=>{const sn=`Loading icon set URL: ${this._sanitizer.sanitize(t.q3G.RESOURCE_URL,Re.url)} failed: ${Ft.message}`;return this._errorHandler.handleError(new Error(sn)),(0,p.of)(null)})));return(0,n.D)(tt).pipe((0,y.U)(()=>{const Re=this._extractIconWithNameFromAnySet(be,de);if(!Re)throw Q(be);return Re}))}_extractIconWithNameFromAnySet(be,de){for(let De=de.length-1;De>=0;De--){const tt=de[De];if(tt.svgText&&tt.svgText.toString().indexOf(be)>-1){const Re=this._svgElementFromConfig(tt),Ft=this._extractSvgIconFromSet(Re,be,tt.options);if(Ft)return Ft}}return null}_loadSvgIconFromConfig(be){return this._fetchIcon(be).pipe((0,L.b)(de=>be.svgText=de),(0,y.U)(()=>this._svgElementFromConfig(be)))}_loadSvgIconSetFromConfig(be){return be.svgText?(0,p.of)(null):this._fetchIcon(be).pipe((0,L.b)(de=>be.svgText=de))}_extractSvgIconFromSet(be,de,De){const tt=be.querySelector(`[id="${de}"]`);if(!tt)return null;const Re=tt.cloneNode(!0);if(Re.removeAttribute("id"),"svg"===Re.nodeName.toLowerCase())return this._setSvgAttributes(Re,De);if("symbol"===Re.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Re),De);const Ft=this._svgElementFromString(K("<svg></svg>"));return Ft.appendChild(Re),this._setSvgAttributes(Ft,De)}_svgElementFromString(be){const de=this._document.createElement("DIV");de.innerHTML=be;const De=de.querySelector("svg");if(!De)throw Error("<svg> tag not found");return De}_toSvgElement(be){const de=this._svgElementFromString(K("<svg></svg>")),De=be.attributes;for(let tt=0;tt<De.length;tt++){const{name:Re,value:Ft}=De[tt];"id"!==Re&&de.setAttribute(Re,Ft)}for(let tt=0;tt<be.childNodes.length;tt++)be.childNodes[tt].nodeType===this._document.ELEMENT_NODE&&de.appendChild(be.childNodes[tt].cloneNode(!0));return de}_setSvgAttributes(be,de){return be.setAttribute("fit",""),be.setAttribute("height","100%"),be.setAttribute("width","100%"),be.setAttribute("preserveAspectRatio","xMidYMid meet"),be.setAttribute("focusable","false"),de&&de.viewBox&&be.setAttribute("viewBox",de.viewBox),be}_fetchIcon(be){const{url:de,options:De}=be,tt=De?.withCredentials??!1;if(!this._httpClient)throw function q(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==de)throw Error(`Cannot fetch icon from URL "${de}".`);const Re=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,de);if(!Re)throw H(de);const Ft=this._inProgressUrlFetches.get(Re);if(Ft)return Ft;const mt=this._httpClient.get(Re,{responseType:"text",withCredentials:tt}).pipe((0,y.U)(sn=>K(sn)),(0,M.x)(()=>this._inProgressUrlFetches.delete(Re)),(0,E.B)());return this._inProgressUrlFetches.set(Re,mt),mt}_addSvgIconConfig(be,de,De){return this._svgIconConfigs.set(pe(be,de),De),this}_addSvgIconSetConfig(be,de){const De=this._iconSetConfigs.get(be);return De?De.push(de):this._iconSetConfigs.set(be,[de]),this}_svgElementFromConfig(be){if(!be.svgElement){const de=this._svgElementFromString(be.svgText);this._setSvgAttributes(de,be.options),be.svgElement=de}return be.svgElement}_getIconConfigFromResolvers(be,de){for(let De=0;De<this._resolvers.length;De++){const tt=this._resolvers[De](de,be);if(tt)return Ae(tt)?new ie(tt.url,null,tt.options):new ie(tt,null)}}static#e=this.\u0275fac=function(de){return new(de||Se)(t.LFG(S.eN,8),t.LFG(Z.H7),t.LFG(m.K0,8),t.LFG(t.qLn))};static#t=this.\u0275prov=t.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})}return Se})();function ae(Se){return Se.cloneNode(!0)}function pe(Se,G){return Se+":"+G}function Ae(Se){return!(!Se.url||!Se.options)}const Ze=(0,u.pj)(class{constructor(Se){this._elementRef=Se}}),dt=new t.OlP("MAT_ICON_DEFAULT_OPTIONS"),Fe=new t.OlP("mat-icon-location",{providedIn:"root",factory:function Xe(){const Se=(0,t.f3M)(m.K0),G=Se?Se.location:null;return{getPathname:()=>G?G.pathname+G.search:""}}}),Ie=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],W=Ie.map(Se=>`[${Se}]`).join(", "),we=/^url\(['"]?#(.*?)['"]?\)$/;let P=(()=>{class Se extends Ze{get inline(){return this._inline}set inline(be){this._inline=(0,e.Ig)(be)}get svgIcon(){return this._svgIcon}set svgIcon(be){be!==this._svgIcon&&(be?this._updateSvgIcon(be):this._svgIcon&&this._clearSvgElement(),this._svgIcon=be)}get fontSet(){return this._fontSet}set fontSet(be){const de=this._cleanupFontValue(be);de!==this._fontSet&&(this._fontSet=de,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(be){const de=this._cleanupFontValue(be);de!==this._fontIcon&&(this._fontIcon=de,this._updateFontIconClasses())}constructor(be,de,De,tt,Re,Ft){super(be),this._iconRegistry=de,this._location=tt,this._errorHandler=Re,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=I.w0.EMPTY,Ft&&(Ft.color&&(this.color=this.defaultColor=Ft.color),Ft.fontSet&&(this.fontSet=Ft.fontSet)),De||be.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(be){if(!be)return["",""];const de=be.split(":");switch(de.length){case 1:return["",de[0]];case 2:return de;default:throw Error(`Invalid icon name: "${be}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const be=this._elementsWithExternalReferences;if(be&&be.size){const de=this._location.getPathname();de!==this._previousPath&&(this._previousPath=de,this._prependPathToReferences(de))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(be){this._clearSvgElement();const de=this._location.getPathname();this._previousPath=de,this._cacheChildrenWithExternalReferences(be),this._prependPathToReferences(de),this._elementRef.nativeElement.appendChild(be)}_clearSvgElement(){const be=this._elementRef.nativeElement;let de=be.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();de--;){const De=be.childNodes[de];(1!==De.nodeType||"svg"===De.nodeName.toLowerCase())&&De.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const be=this._elementRef.nativeElement,de=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(De=>De.length>0);this._previousFontSetClass.forEach(De=>be.classList.remove(De)),de.forEach(De=>be.classList.add(De)),this._previousFontSetClass=de,this.fontIcon!==this._previousFontIconClass&&!de.includes("mat-ligature-font")&&(this._previousFontIconClass&&be.classList.remove(this._previousFontIconClass),this.fontIcon&&be.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(be){return"string"==typeof be?be.trim().split(" ")[0]:be}_prependPathToReferences(be){const de=this._elementsWithExternalReferences;de&&de.forEach((De,tt)=>{De.forEach(Re=>{tt.setAttribute(Re.name,`url('${be}#${Re.value}')`)})})}_cacheChildrenWithExternalReferences(be){const de=be.querySelectorAll(W),De=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let tt=0;tt<de.length;tt++)Ie.forEach(Re=>{const Ft=de[tt],mt=Ft.getAttribute(Re),sn=mt?mt.match(we):null;if(sn){let hn=De.get(Ft);hn||(hn=[],De.set(Ft,hn)),hn.push({name:Re,value:sn[1]})}})}_updateSvgIcon(be){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),be){const[de,De]=this._splitIconName(be);de&&(this._svgNamespace=de),De&&(this._svgName=De),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(De,de).pipe((0,A.q)(1)).subscribe(tt=>this._setSvgElement(tt),tt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${de}:${De}! ${tt.message}`))})}}static#e=this.\u0275fac=function(de){return new(de||Se)(t.Y36(t.SBq),t.Y36(_e),t.$8M("aria-hidden"),t.Y36(Fe),t.Y36(t.qLn),t.Y36(dt,8))};static#t=this.\u0275cmp=t.Xpm({type:Se,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(de,De){2&de&&(t.uIk("data-mat-icon-type",De._usingFontIcon()?"font":"svg")("data-mat-icon-name",De._svgName||De.fontIcon)("data-mat-icon-namespace",De._svgNamespace||De.fontSet)("fontIcon",De._usingFontIcon()?De.fontIcon:null),t.ekj("mat-icon-inline",De.inline)("mat-icon-no-color","primary"!==De.color&&"accent"!==De.color&&"warn"!==De.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.qOj],ngContentSelectors:oe,decls:1,vars:0,template:function(de,De){1&de&&(t.F$t(),t.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0})}return Se})(),V=(()=>{class Se{static#e=this.\u0275fac=function(de){return new(de||Se)};static#t=this.\u0275mod=t.oAB({type:Se});static#n=this.\u0275inj=t.cJS({imports:[u.BQ,u.BQ]})}return Se})()},4516:(jt,$e,s)=>{"use strict";s.d($e,{Jk:()=>y,Nt:()=>A});var t=s(2495),u=s(2831),e=s(6263),m=s(9212),p=s(6223),U=s(3680),n=s(1043),I=s(8645);const y=new m.OlP("MAT_INPUT_VALUE_ACCESSOR"),O=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let M=0;const E=(0,U.FD)(class{constructor(Z,oe,le,ee){this._defaultErrorStateMatcher=Z,this._parentForm=oe,this._parentFormGroup=le,this.ngControl=ee,this.stateChanges=new I.x}});let A=(()=>{class Z extends E{get disabled(){return this._disabled}set disabled(le){this._disabled=(0,t.Ig)(le),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(le){this._id=le||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(p.kI.required)??!1}set required(le){this._required=(0,t.Ig)(le)}get type(){return this._type}set type(le){this._type=le||"text",this._validateType(),!this._isTextarea&&(0,u.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(le){le!==this.value&&(this._inputValueAccessor.value=le,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(le){this._readonly=(0,t.Ig)(le)}constructor(le,ee,K,Q,q,H,T,ie,_e,Ce){super(H,Q,q,K),this._elementRef=le,this._platform=ee,this._autofillMonitor=ie,this._formField=Ce,this._uid="mat-input-"+M++,this.focused=!1,this.stateChanges=new I.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(pe=>(0,u.qK)().has(pe)),this._iOSKeyupListener=pe=>{const Ae=pe.target;!Ae.value&&0===Ae.selectionStart&&0===Ae.selectionEnd&&(Ae.setSelectionRange(1,1),Ae.setSelectionRange(0,0))};const Ve=this._elementRef.nativeElement,ae=Ve.nodeName.toLowerCase();this._inputValueAccessor=T||Ve,this._previousNativeValue=this.value,this.id=this.id,ee.IOS&&_e.runOutsideAngular(()=>{le.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ae,this._isTextarea="textarea"===ae,this._isInFormField=!!Ce,this._isNativeSelect&&(this.controlType=Ve.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(le=>{this.autofilled=le.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(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(le){this._elementRef.nativeElement.focus(le)}_focusChanged(le){le!==this.focused&&(this.focused=le,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const le=this._elementRef.nativeElement.value;this._previousNativeValue!==le&&(this._previousNativeValue=le,this.stateChanges.next())}_dirtyCheckPlaceholder(){const le=this._getPlaceholder();if(le!==this._previousPlaceholder){const ee=this._elementRef.nativeElement;this._previousPlaceholder=le,le?ee.setAttribute("placeholder",le):ee.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){O.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let le=this._elementRef.nativeElement.validity;return le&&le.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const le=this._elementRef.nativeElement,ee=le.options[0];return this.focused||le.multiple||!this.empty||!!(le.selectedIndex>-1&&ee&&ee.label)}return this.focused||!this.empty}setDescribedByIds(le){le.length?this._elementRef.nativeElement.setAttribute("aria-describedby",le.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const le=this._elementRef.nativeElement;return this._isNativeSelect&&(le.multiple||le.size>1)}static#e=this.\u0275fac=function(ee){return new(ee||Z)(m.Y36(m.SBq),m.Y36(u.t4),m.Y36(p.a5,10),m.Y36(p.F,8),m.Y36(p.sg,8),m.Y36(U.rD),m.Y36(y,10),m.Y36(e.Lq),m.Y36(m.R0b),m.Y36(n.G_,8))};static#t=this.\u0275dir=m.lG2({type:Z,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ee,K){1&ee&&m.NdJ("focus",function(){return K._focusChanged(!0)})("blur",function(){return K._focusChanged(!1)})("input",function(){return K._onInput()}),2&ee&&(m.Ikx("id",K.id)("disabled",K.disabled)("required",K.required),m.uIk("name",K.name||null)("readonly",K.readonly&&!K._isNativeSelect||null)("aria-invalid",K.empty&&K.required?null:K.errorState)("aria-required",K.required)("id",K.id),m.ekj("mat-input-server",K._isServer)("mat-mdc-form-field-textarea-control",K._isInFormField&&K._isTextarea)("mat-mdc-form-field-input-control",K._isInFormField)("mdc-text-field__input",K._isInFormField)("mat-mdc-native-select-inline",K._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[m.lbL.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[m._Bn([{provide:n.Eo,useExisting:Z}]),m.qOj,m.TTD]})}return Z})()},9241:(jt,$e,s)=>{"use strict";s.d($e,{VN:()=>Nn,D8:()=>fe,$C:()=>He,QJ:()=>cn});var t=s(9212),u=s(3680),e=s(4678),m=s(6814),p=s(6672),U=s(9594),n=s(4300),I=s(2495),L=s(2831),O=(s(6825),s(7394)),M=s(8645),E=s(4911),A=s(3019),S=s(2096),Z=s(2438),oe=s(6028),le=s(8484),ee=s(6223),K=s(1043),Q=s(7921),q=s(4664),H=s(8180),T=s(2181),ie=s(7398),_e=s(9397),Ce=s(5177),Ve=s(9388);const ae=["panel"];let dt=0;class Fe{constructor($,Ee){this.source=$,this.option=Ee}}const Xe=(0,u.Kr)(class{}),Ie=new t.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function W(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let we=(()=>{class Ne extends Xe{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Ee){this._color=Ee,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Ee){this._autoActiveFirstOption=(0,I.Ig)(Ee)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Ee){this._autoSelectActiveOption=(0,I.Ig)(Ee)}get requireSelection(){return this._requireSelection}set requireSelection(Ee){this._requireSelection=(0,I.Ig)(Ee)}set classList(Ee){this._classList=Ee&&Ee.length?(0,I.du)(Ee).reduce((Ge,Ke)=>(Ge[Ke]=!0,Ge),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(Ee,Ge,Ke,Et){super(),this._changeDetectorRef=Ee,this._elementRef=Ge,this._defaults=Ke,this._activeOptionChanges=O.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.vpe,this.opened=new t.vpe,this.closed=new t.vpe,this.optionActivated=new t.vpe,this._classList={},this.id="mat-autocomplete-"+dt++,this.inertGroups=Et?.SAFARI||!1,this._autoActiveFirstOption=!!Ke.autoActiveFirstOption,this._autoSelectActiveOption=!!Ke.autoSelectActiveOption,this._requireSelection=!!Ke.requireSelection}ngAfterContentInit(){this._keyManager=new n.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(Ee=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Ee]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(Ee){this.panel&&(this.panel.nativeElement.scrollTop=Ee)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Ee){const Ge=new Fe(this,Ee);this.optionSelected.emit(Ge)}_getPanelAriaLabelledby(Ee){return this.ariaLabel?null:this.ariaLabelledby?(Ee?Ee+" ":"")+this.ariaLabelledby:Ee}_setVisibilityClasses(Ee){Ee[this._visibleClass]=this.showPanel,Ee[this._hiddenClass]=!this.showPanel}_setThemeClasses(Ee){Ee["mat-primary"]="primary"===this._color,Ee["mat-warn"]="warn"===this._color,Ee["mat-accent"]="accent"===this._color}_skipPredicate(Ee){return Ee.disabled}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(Ie),t.Y36(L.t4))};static#t=this.\u0275dir=t.lG2({type:Ne,viewQuery:function(Ge,Ke){if(1&Ge&&(t.Gf(t.Rgc,7),t.Gf(ae,5)),2&Ge){let Et;t.iGM(Et=t.CRH())&&(Ke.template=Et.first),t.iGM(Et=t.CRH())&&(Ke.panel=Et.first)}},inputs:{ariaLabel:[t.lbL.None,"aria-label","ariaLabel"],ariaLabelledby:[t.lbL.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:[t.lbL.None,"class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[t.qOj]})}return Ne})(),V=(()=>{class Ne{constructor(Ee){this.elementRef=Ee}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:Ne})}return Ne})();const de=new t.OlP("mat-autocomplete-scroll-strategy"),tt={provide:de,deps:[U.aV],useFactory:function De(Ne){return()=>Ne.scrollStrategies.reposition()}};let Re=(()=>{class Ne{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Ee){this._autocompleteDisabled=(0,I.Ig)(Ee)}constructor(Ee,Ge,Ke,Et,Tt,tn,rn,Nt,ft,Bt,Ue){this._element=Ee,this._overlay=Ge,this._viewContainerRef=Ke,this._zone=Et,this._changeDetectorRef=Tt,this._dir=rn,this._formField=Nt,this._document=ft,this._viewportRuler=Bt,this._defaults=Ue,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=O.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new M.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,E.P)(()=>{const nt=this.autocomplete?this.autocomplete.options:null;return nt?nt.changes.pipe((0,Q.O)(nt),(0,q.w)(()=>(0,A.T)(...nt.map(Ye=>Ye.onSelectionChange)))):this._zone.onStable.pipe((0,H.q)(1),(0,q.w)(()=>this.optionSelections))}),this._handlePanelKeydown=nt=>{(nt.keyCode===oe.hY&&!(0,oe.Vb)(nt)||nt.keyCode===oe.LH&&(0,oe.Vb)(nt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),nt.stopPropagation(),nt.preventDefault())},this._trackedModal=null,this._scrollStrategy=tn}ngAfterViewInit(){const Ee=this._getWindow();typeof Ee<"u"&&this._zone.runOutsideAngular(()=>Ee.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Ee){Ee.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Ee=this._getWindow();typeof Ee<"u"&&Ee.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&(0,n.Zf)(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&(0,n.iD)(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,A.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,T.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,T.h)(()=>this._overlayAttached)):(0,S.of)()).pipe((0,ie.U)(Ee=>Ee instanceof u.rN?Ee:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,A.T)((0,Z.R)(this._document,"click"),(0,Z.R)(this._document,"auxclick"),(0,Z.R)(this._document,"touchend")).pipe((0,T.h)(Ee=>{const Ge=(0,L.sA)(Ee),Ke=this._formField?this._formField._elementRef.nativeElement:null,Et=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ge!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Ke||!Ke.contains(Ge))&&(!Et||!Et.contains(Ge))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ge)}))}writeValue(Ee){Promise.resolve(null).then(()=>this._assignOptionValue(Ee))}registerOnChange(Ee){this._onChange=Ee}registerOnTouched(Ee){this._onTouched=Ee}setDisabledState(Ee){this._element.nativeElement.disabled=Ee}_handleKeydown(Ee){const Ge=Ee.keyCode,Ke=(0,oe.Vb)(Ee);if(Ge===oe.hY&&!Ke&&Ee.preventDefault(),this.activeOption&&Ge===oe.K5&&this.panelOpen&&!Ke)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Ee.preventDefault();else if(this.autocomplete){const Et=this.autocomplete._keyManager.activeItem,Tt=Ge===oe.LH||Ge===oe.JH;Ge===oe.Mf||Tt&&!Ke&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Ee):Tt&&this._canOpen()&&this.openPanel(),(Tt||this.autocomplete._keyManager.activeItem!==Et)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Ee){let Ge=Ee.target,Ke=Ge.value;"number"===Ge.type&&(Ke=""==Ke?null:parseFloat(Ke)),this._previousValue!==Ke&&(this._previousValue=Ke,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(Ke),Ke||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===Ee.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Ee=!1){this._formField&&"auto"===this._formField.floatLabel&&(Ee?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Ee=this._zone.onStable.pipe((0,H.q)(1)),Ge=this.autocomplete.options.changes.pipe((0,_e.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Ce.g)(0));return(0,A.T)(Ee,Ge).pipe((0,q.w)(()=>(this._zone.run(()=>{const Ke=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Ke!==this.panelOpen&&(this.panelOpen?(this._captureValueOnAttach(),this._emitOpened()):this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,H.q)(1)).subscribe(Ke=>this._setValueAndClose(Ke))}_emitOpened(){this.autocomplete.opened.emit()}_captureValueOnAttach(){this._valueOnAttach=this._element.nativeElement.value}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Ee){const Ge=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Ee):Ee;this._updateNativeInputValue(Ge??"")}_updateNativeInputValue(Ee){this._formField?this._formField._control.value=Ee:this._element.nativeElement.value=Ee,this._previousValue=Ee}_setValueAndClose(Ee){const Ge=this.autocomplete,Ke=Ee?Ee.source:this._pendingAutoselectedOption;Ke?(this._clearPreviousSelectedOption(Ke),this._assignOptionValue(Ke.value),this._onChange(Ke.value),Ge._emitSelectEvent(Ke),this._element.nativeElement.focus()):Ge.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),Ge._animationDone?Ge._animationDone.pipe((0,H.q)(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(Ee,Ge){this.autocomplete?.options?.forEach(Ke=>{Ke!==Ee&&Ke.selected&&Ke.deselect(Ge)})}_attachOverlay(){let Ee=this._overlayRef;Ee?(this._positionStrategy.setOrigin(this._getConnectedElement()),Ee.updateSize({width:this._getPanelWidth()})):(this._portal=new le.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Ee=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Ee,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Ee&&Ee.updateSize({width:this._getPanelWidth()})})),Ee&&!Ee.hasAttached()&&(Ee.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const Ge=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this._captureValueOnAttach(),this.panelOpen&&Ge!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const Ee=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=Ee.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=Ee.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new U.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Ee=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Ee),this._positionStrategy=Ee,Ee}_setStrategyPositions(Ee){const Ge=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ke=this._aboveClass,Et=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Ke},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Ke}];let Tt;Tt="above"===this.position?Et:"below"===this.position?Ge:[...Ge,...Et],Ee.withPositions(Tt)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Ee=this.autocomplete;if(Ee.autoActiveFirstOption){let Ge=-1;for(let Ke=0;Ke<Ee.options.length;Ke++)if(!Ee.options.get(Ke).disabled){Ge=Ke;break}Ee._keyManager.setActiveItem(Ge)}else Ee._keyManager.setActiveItem(-1)}_canOpen(){const Ee=this._element.nativeElement;return!Ee.readOnly&&!Ee.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(Ee){const Ge=this.autocomplete,Ke=(0,u.CB)(Ee,Ge.options,Ge.optionGroups);if(0===Ee&&1===Ke)Ge._setScrollTop(0);else if(Ge.panel){const Et=Ge.options.toArray()[Ee];if(Et){const Tt=Et._getHostElement(),tn=(0,u.jH)(Tt.offsetTop,Tt.offsetHeight,Ge._getScrollTop(),Ge.panel.nativeElement.offsetHeight);Ge._setScrollTop(tn)}}}_applyModalPanelOwnership(){const Ee=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ee)return;const Ge=this.autocomplete.id;this._trackedModal&&(0,n.iD)(this._trackedModal,"aria-owns",Ge),(0,n.Zf)(Ee,"aria-owns",Ge),this._trackedModal=Ee}_clearFromModal(){this._trackedModal&&((0,n.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)(t.Y36(t.SBq),t.Y36(U.aV),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(de),t.Y36(Ve.Is,8),t.Y36(K.G_,9),t.Y36(m.K0,8),t.Y36(p.rL),t.Y36(Ie,8))};static#t=this.\u0275dir=t.lG2({type:Ne,inputs:{autocomplete:[t.lbL.None,"matAutocomplete","autocomplete"],position:[t.lbL.None,"matAutocompletePosition","position"],connectedTo:[t.lbL.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[t.lbL.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[t.lbL.None,"matAutocompleteDisabled","autocompleteDisabled"]},features:[t.TTD]})}return Ne})();function sn(Ne,$){if(1&Ne&&(t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA()),2&Ne){const Ee=$.id,Ge=t.oxw();t.Q6J("id",Ge.id)("ngClass",Ge._classList),t.uIk("aria-label",Ge.ariaLabel||null)("aria-labelledby",Ge._getPanelAriaLabelledby(Ee))}}const hn=["*"];let Nn=(()=>{class Ne extends we{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden",this._animationDone=null}static#e=this.\u0275fac=(()=>{let Ee;return function(Ke){return(Ee||(Ee=t.n5z(Ne)))(Ke||Ne)}})();static#t=this.\u0275cmp=t.Xpm({type:Ne,selectors:[["mat-autocomplete"]],contentQueries:function(Ge,Ke,Et){if(1&Ge&&(t.Suo(Et,u.K7,5),t.Suo(Et,e.CK,5)),2&Ge){let Tt;t.iGM(Tt=t.CRH())&&(Ke.optionGroups=Tt),t.iGM(Tt=t.CRH())&&(Ke.options=Tt)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[t._Bn([{provide:u.HF,useExisting:Ne}]),t.qOj],ngContentSelectors:hn,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(Ge,Ke){1&Ge&&(t.F$t(),t.YNc(0,sn,3,4,"ng-template"))},dependencies:[m.mk],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0})}return Ne})();const Jt={provide:ee.JU,useExisting:(0,t.Gpc)(()=>cn),multi:!0};let cn=(()=>{class Ne extends Re{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}static#e=this.\u0275fac=(()=>{let Ee;return function(Ke){return(Ee||(Ee=t.n5z(Ne)))(Ke||Ne)}})();static#t=this.\u0275dir=t.lG2({type:Ne,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(Ge,Ke){1&Ge&&t.NdJ("focusin",function(){return Ke._handleFocus()})("blur",function(){return Ke._onTouched()})("input",function(Tt){return Ke._handleInput(Tt)})("keydown",function(Tt){return Ke._handleKeydown(Tt)})("click",function(){return Ke._handleClick()}),2&Ge&&t.uIk("autocomplete",Ke.autocompleteAttribute)("role",Ke.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ke.autocompleteDisabled?null:"list")("aria-activedescendant",Ke.panelOpen&&Ke.activeOption?Ke.activeOption.id:null)("aria-expanded",Ke.autocompleteDisabled?null:Ke.panelOpen.toString())("aria-owns",Ke.autocompleteDisabled||!Ke.panelOpen||null==Ke.autocomplete?null:Ke.autocomplete.id)("aria-haspopup",Ke.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[t._Bn([Jt]),t.qOj]})}return Ne})(),He=(()=>{class Ne extends V{static#e=this.\u0275fac=(()=>{let Ee;return function(Ke){return(Ee||(Ee=t.n5z(Ne)))(Ke||Ne)}})();static#t=this.\u0275dir=t.lG2({type:Ne,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[t.qOj]})}return Ne})(),fe=(()=>{class Ne{static#e=this.\u0275fac=function(Ge){return new(Ge||Ne)};static#t=this.\u0275mod=t.oAB({type:Ne});static#n=this.\u0275inj=t.cJS({providers:[tt],imports:[U.U8,e.Uc,u.BQ,m.ez,p.ZD,e.Uc,u.BQ]})}return Ne})()},4505:(jt,$e,s)=>{"use strict";s.d($e,{Nr:()=>O,eB:()=>y,yu:()=>M});var t=s(9212),u=s(3680),e=s(4300);const m=["mat-button",""],p=["*"],I=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],L=(0,u.pj)((0,u.Id)((0,u.Kr)(class{constructor(E){this._elementRef=E}})));let y=(()=>{class E extends L{constructor(S,Z,oe){super(S),this._focusMonitor=Z,this._animationMode=oe,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const le of I)this._hasHostAttributes(le)&&this._getHostElement().classList.add(le);S.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(S,Z){S?this._focusMonitor.focusVia(this._getHostElement(),S,Z):this._getHostElement().focus(Z)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...S){return S.some(Z=>this._getHostElement().hasAttribute(Z))}static#e=this.\u0275fac=function(Z){return new(Z||E)(t.Y36(t.SBq),t.Y36(e.tE),t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:E,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(Z,oe){if(1&Z&&t.Gf(u.wG,5),2&Z){let le;t.iGM(le=t.CRH())&&(oe.ripple=le.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(Z,oe){2&Z&&(t.uIk("disabled",oe.disabled||null),t.ekj("_mat-animation-noopable","NoopAnimations"===oe._animationMode)("mat-button-disabled",oe.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[t.qOj],attrs:m,ngContentSelectors:p,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(Z,oe){1&Z&&(t.F$t(),t.TgZ(0,"span",0),t.Hsn(1),t.qZA(),t._UZ(2,"span",1)(3,"span",2)),2&Z&&(t.xp6(2),t.ekj("mat-button-ripple-round",oe.isRoundButton||oe.isIconButton),t.Q6J("matRippleDisabled",oe._isRippleDisabled())("matRippleCentered",oe.isIconButton)("matRippleTrigger",oe._getHostElement()))},dependencies:[u.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:rgba(0,0,0,0);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:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return E})(),O=(()=>{class E extends y{constructor(S,Z,oe,le){super(Z,S,oe),this._ngZone=le,this._haltDisabledEvents=ee=>{this.disabled&&(ee.preventDefault(),ee.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function(Z){return new(Z||E)(t.Y36(e.tE),t.Y36(t.SBq),t.Y36(t.QbO,8),t.Y36(t.R0b,8))};static#t=this.\u0275cmp=t.Xpm({type:E,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(Z,oe){2&Z&&(t.uIk("tabindex",oe.disabled?-1:oe.tabIndex)("disabled",oe.disabled||null)("aria-disabled",oe.disabled.toString()),t.ekj("_mat-animation-noopable","NoopAnimations"===oe._animationMode)("mat-button-disabled",oe.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[t.qOj],attrs:m,ngContentSelectors:p,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(Z,oe){1&Z&&(t.F$t(),t.TgZ(0,"span",0),t.Hsn(1),t.qZA(),t._UZ(2,"span",1)(3,"span",2)),2&Z&&(t.xp6(2),t.ekj("mat-button-ripple-round",oe.isRoundButton||oe.isIconButton),t.Q6J("matRippleDisabled",oe._isRippleDisabled())("matRippleCentered",oe.isIconButton)("matRippleTrigger",oe._getHostElement()))},dependencies:[u.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:rgba(0,0,0,0);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:rgba(0,0,0,0);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-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.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:rgba(0,0,0,0);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-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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:rgba(0,0,0,0);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-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.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}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return E})(),M=(()=>{class E{static#e=this.\u0275fac=function(Z){return new(Z||E)};static#t=this.\u0275mod=t.oAB({type:E});static#n=this.\u0275inj=t.cJS({imports:[u.si,u.BQ,u.BQ]})}return E})()},9025:(jt,$e,s)=>{"use strict";s.d($e,{Fx:()=>M,H7:()=>q,IF:()=>H,Qi:()=>L,S$:()=>K,_K:()=>O,mi:()=>y,u7:()=>Q});var t=s(9212),u=s(3680);const e=["*",[["mat-card-footer"]]],m=["*","mat-card-footer"],p=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],U=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"],n=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],I=["mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","img","*"];let L=(()=>{class T{static#e=this.\u0275fac=function(Ce){return new(Ce||T)};static#t=this.\u0275dir=t.lG2({type:T,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]})}return T})(),y=(()=>{class T{static#e=this.\u0275fac=function(Ce){return new(Ce||T)};static#t=this.\u0275dir=t.lG2({type:T,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]})}return T})(),O=(()=>{class T{static#e=this.\u0275fac=function(Ce){return new(Ce||T)};static#t=this.\u0275dir=t.lG2({type:T,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]})}return T})(),M=(()=>{class T{constructor(){this.align="start"}static#e=this.\u0275fac=function(Ce){return new(Ce||T)};static#t=this.\u0275dir=t.lG2({type:T,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Ce,Ve){2&Ce&&t.ekj("mat-card-actions-align-end","end"===Ve.align)},inputs:{align:"align"},exportAs:["matCardActions"]})}return T})(),K=(()=>{class T{constructor(_e){this._animationMode=_e}static#e=this.\u0275fac=function(Ce){return new(Ce||T)(t.Y36(t.QbO,8))};static#t=this.\u0275cmp=t.Xpm({type:T,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(Ce,Ve){2&Ce&&t.ekj("_mat-animation-noopable","NoopAnimations"===Ve._animationMode)},exportAs:["matCard"],ngContentSelectors:m,decls:2,vars:0,template:function(Ce,Ve){1&Ce&&(t.F$t(e),t.Hsn(0),t.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-card._mat-animation-noopable{transition:none !important;animation:none !important}.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}"],encapsulation:2,changeDetection:0})}return T})(),Q=(()=>{class T{static#e=this.\u0275fac=function(Ce){return new(Ce||T)};static#t=this.\u0275cmp=t.Xpm({type:T,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:U,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Ce,Ve){1&Ce&&(t.F$t(p),t.Hsn(0),t.TgZ(1,"div",0),t.Hsn(2,1),t.qZA(),t.Hsn(3,2))},encapsulation:2,changeDetection:0})}return T})(),q=(()=>{class T{static#e=this.\u0275fac=function(Ce){return new(Ce||T)};static#t=this.\u0275cmp=t.Xpm({type:T,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:I,decls:4,vars:0,template:function(Ce,Ve){1&Ce&&(t.F$t(n),t.TgZ(0,"div"),t.Hsn(1),t.qZA(),t.Hsn(2,1),t.Hsn(3,2))},encapsulation:2,changeDetection:0})}return T})(),H=(()=>{class T{static#e=this.\u0275fac=function(Ce){return new(Ce||T)};static#t=this.\u0275mod=t.oAB({type:T});static#n=this.\u0275inj=t.cJS({imports:[u.BQ,u.BQ]})}return T})()},4021:(jt,$e,s)=>{"use strict";s.d($e,{FC:()=>Ce,Zh:()=>Ve});var t=s(4300),u=s(9212),e=s(6223),m=s(3680),p=s(2495);const U=["input"],n=["label"],L=new u.OlP("mat-checkbox-default-options",{providedIn:"root",factory:y});function y(){return{color:"accent",clickAction:"check-indeterminate"}}let E=0;const A=y(),S=(0,m.sb)((0,m.pj)((0,m.Kr)((0,m.Id)(class{constructor(ae){this._elementRef=ae}}))));let Z=(()=>{class ae extends S{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(Ae){this._required=(0,p.Ig)(Ae)}constructor(Ae,Ze,dt,Fe,Xe,Ie,W){super(Ze),this._changeDetectorRef=dt,this._ngZone=Fe,this._animationMode=Ie,this._options=W,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new u.vpe,this.indeterminateChange=new u.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||A,this.color=this.defaultColor=this._options.color||A.color,this.tabIndex=parseInt(Xe)||0,this.id=this._uniqueId=`${Ae}${++E}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(Ae){const Ze=(0,p.Ig)(Ae);Ze!=this.checked&&(this._checked=Ze,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Ae){const Ze=(0,p.Ig)(Ae);Ze!==this.disabled&&(this._disabled=Ze,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(Ae){const Ze=Ae!=this._indeterminate;this._indeterminate=(0,p.Ig)(Ae),Ze&&(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(Ae){this.checked=!!Ae}registerOnChange(Ae){this._controlValueAccessorChangeFn=Ae}registerOnTouched(Ae){this._onTouched=Ae}setDisabledState(Ae){this.disabled=Ae}_transitionCheckState(Ae){let Ze=this._currentCheckState,dt=this._getAnimationTargetElement();if(Ze!==Ae&&dt&&(this._currentAnimationClass&&dt.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(Ze,Ae),this._currentCheckState=Ae,this._currentAnimationClass.length>0)){dt.classList.add(this._currentAnimationClass);const Fe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{dt.classList.remove(Fe)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const Ae=this._options?.clickAction;this.disabled||"noop"===Ae?!this.disabled&&"noop"===Ae&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==Ae&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(Ae){Ae.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(Ae,Ze){if("NoopAnimations"===this._animationMode)return"";switch(Ae){case 0:if(1===Ze)return this._animationClasses.uncheckedToChecked;if(3==Ze)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===Ze?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===Ze?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===Ze?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(Ae){const Ze=this._inputElement;Ze&&(Ze.nativeElement.indeterminate=Ae)}static#e=this.\u0275fac=function(Ze){u.$Z()};static#t=this.\u0275dir=u.lG2({type:ae,viewQuery:function(Ze,dt){if(1&Ze&&(u.Gf(U,5),u.Gf(n,5),u.Gf(m.wG,5)),2&Ze){let Fe;u.iGM(Fe=u.CRH())&&(dt._inputElement=Fe.first),u.iGM(Fe=u.CRH())&&(dt._labelElement=Fe.first),u.iGM(Fe=u.CRH())&&(dt.ripple=Fe.first)}},inputs:{ariaLabel:[u.lbL.None,"aria-label","ariaLabel"],ariaLabelledby:[u.lbL.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[u.lbL.None,"aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[u.qOj]})}return ae})(),K=(()=>{class ae{static#e=this.\u0275fac=function(Ze){return new(Ze||ae)};static#t=this.\u0275mod=u.oAB({type:ae});static#n=this.\u0275inj=u.cJS({})}return ae})();var q=s(7131);const H=ae=>({enterDuration:ae}),T=["*"];class ie{}const _e={provide:e.JU,useExisting:(0,u.Gpc)(()=>Ce),multi:!0};let Ce=(()=>{class ae extends Z{constructor(Ae,Ze,dt,Fe,Xe,Ie,W){super("mat-checkbox-",Ae,Ze,Fe,Xe,Ie,W),this._focusMonitor=dt,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(Ae){const Ze=new ie;return Ze.source=this,Ze.checked=Ae,Ze}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(Ae=>{Ae||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(Ae){Ae.stopPropagation(),super._handleInputClick()}focus(Ae,Ze){Ae?this._focusMonitor.focusVia(this._inputElement,Ae,Ze):this._inputElement.nativeElement.focus(Ze)}static#e=this.\u0275fac=function(Ze){return new(Ze||ae)(u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(t.tE),u.Y36(u.R0b),u.$8M("tabindex"),u.Y36(u.QbO,8),u.Y36(L,8))};static#t=this.\u0275cmp=u.Xpm({type:ae,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(Ze,dt){2&Ze&&(u.Ikx("id",dt.id),u.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),u.ekj("mat-checkbox-indeterminate",dt.indeterminate)("mat-checkbox-checked",dt.checked)("mat-checkbox-disabled",dt.disabled)("mat-checkbox-label-before","before"==dt.labelPosition)("_mat-animation-noopable","NoopAnimations"===dt._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[u._Bn([_e]),u.qOj],ngContentSelectors:T,decls:17,vars:20,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(Ze,dt){if(1&Ze&&(u.F$t(),u.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),u.NdJ("change",function(Xe){return dt._onInteractionEvent(Xe)})("click",function(Xe){return dt._onInputClick(Xe)}),u.qZA(),u.TgZ(5,"span",5),u._UZ(6,"span",6),u.qZA(),u._UZ(7,"span",7),u.TgZ(8,"span",8),u.O4$(),u.TgZ(9,"svg",9),u._UZ(10,"path",10),u.qZA(),u.kcU(),u._UZ(11,"span",11),u.qZA()(),u.TgZ(12,"span",12,13),u.NdJ("cdkObserveContent",function(){return dt._onLabelTextChange()}),u.TgZ(14,"span",14),u._uU(15,"\xa0"),u.qZA(),u.Hsn(16),u.qZA()()),2&Ze){const Fe=u.MAs(1),Xe=u.MAs(13);u.uIk("for",dt.inputId),u.xp6(2),u.ekj("mat-checkbox-inner-container-no-side-margin",!Xe.textContent||!Xe.textContent.trim()),u.xp6(),u.Q6J("id",dt.inputId)("required",dt.required)("checked",dt.checked)("disabled",dt.disabled)("tabIndex",dt.tabIndex),u.uIk("value",dt.value)("name",dt.name)("aria-label",dt.ariaLabel||null)("aria-labelledby",dt.ariaLabelledby)("aria-describedby",dt.ariaDescribedby),u.xp6(2),u.Q6J("matRippleTrigger",Fe)("matRippleDisabled",dt._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",u.VKq(18,H,"NoopAnimations"===dt._animationMode?0:150))}},dependencies:[m.wG,q.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:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.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}.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:rgba(0,0,0,0);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:rgba(0,0,0,0)}.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%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return ae})(),Ve=(()=>{class ae{static#e=this.\u0275fac=function(Ze){return new(Ze||ae)};static#t=this.\u0275mod=u.oAB({type:ae});static#n=this.\u0275inj=u.cJS({imports:[m.si,m.BQ,q.Q8,K,m.BQ,K]})}return ae})()},6177:(jt,$e,s)=>{"use strict";s.d($e,{IP:()=>Fe,Y6:()=>Ce,ir:()=>Ze,lw:()=>_e,yD:()=>Ie});var t=s(6028),u=s(9212),e=s(3680),m=s(2495),p=s(2831),U=s(6814),n=s(8645),I=s(3019),L=s(8180),y=s(9773),O=s(7921),M=s(4300),E=s(9388),A=s(8337),S=s(6223),Z=s(1043);const oe=["*"],ee=new u.OlP("MatChipRemove"),K=new u.OlP("MatChipAvatar"),Q=new u.OlP("MatChipTrailingIcon");class q{constructor(we){this._elementRef=we}}const H=(0,e.sb)((0,e.pj)((0,e.Kr)(q),"primary"),-1);let _e=(()=>{class W extends H{get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(P){const V=(0,m.Ig)(P);V!==this._selected&&(this._selected=V,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(P){this._value=P}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(P){this._selectable=(0,m.Ig)(P)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(P){this._disabled=(0,m.Ig)(P)}get removable(){return this._removable}set removable(P){this._removable=(0,m.Ig)(P)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}constructor(P,V,Se,G,be,de,De,tt){super(P),this._ngZone=V,this._changeDetectorRef=be,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new n.x,this._onBlur=new n.x,this.selectionChange=new u.vpe,this.destroyed=new u.vpe,this.removed=new u.vpe,this._addHostClassName(),this._chipRippleTarget=de.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new e.IR(this,V,this._chipRippleTarget,Se),this._chipRipple.setupTriggerEvents(P),this.rippleConfig=G||{},this._animationsDisabled="NoopAnimations"===De,this.tabIndex=null!=tt&&parseInt(tt)||-1}_addHostClassName(){const P="mat-basic-chip",V=this._elementRef.nativeElement;V.hasAttribute(P)||V.tagName.toLowerCase()===P?V.classList.add(P):V.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(P=!1){return this._selected=!this.selected,this._dispatchSelectionChange(P),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(P){this.disabled&&P.preventDefault()}_handleKeydown(P){if(!this.disabled)switch(P.keyCode){case t.yY:case t.ZH:this.remove(),P.preventDefault();break;case t.L_:this.selectable&&this.toggleSelected(!0),P.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,L.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(P=!1){this.selectionChange.emit({source:this,isUserInput:P,selected:this._selected})}static#e=this.\u0275fac=function(V){return new(V||W)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(p.t4),u.Y36(e.Y2,8),u.Y36(u.sBO),u.Y36(U.K0),u.Y36(u.QbO,8),u.$8M("tabindex"))};static#t=this.\u0275dir=u.lG2({type:W,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(V,Se,G){if(1&V&&(u.Suo(G,K,5),u.Suo(G,Q,5),u.Suo(G,ee,5)),2&V){let be;u.iGM(be=u.CRH())&&(Se.avatar=be.first),u.iGM(be=u.CRH())&&(Se.trailingIcon=be.first),u.iGM(be=u.CRH())&&(Se.removeIcon=be.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(V,Se){1&V&&u.NdJ("click",function(be){return Se._handleClick(be)})("keydown",function(be){return Se._handleKeydown(be)})("focus",function(){return Se.focus()})("blur",function(){return Se._blur()}),2&V&&(u.uIk("tabindex",Se.disabled?null:Se.tabIndex)("role",Se.role)("disabled",Se.disabled||null)("aria-disabled",Se.disabled.toString())("aria-selected",Se.ariaSelected),u.ekj("mat-chip-selected",Se.selected)("mat-chip-with-avatar",Se.avatar)("mat-chip-with-trailing-icon",Se.trailingIcon||Se.removeIcon)("mat-chip-disabled",Se.disabled)("_mat-animation-noopable",Se._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[u.qOj]})}return W})(),Ce=(()=>{class W{constructor(P,V){this._parentChip=P,"BUTTON"===V.nativeElement.nodeName&&V.nativeElement.setAttribute("type","button")}_handleClick(P){const V=this._parentChip;V.removable&&!V.disabled&&V.remove(),P.stopPropagation(),P.preventDefault()}static#e=this.\u0275fac=function(V){return new(V||W)(u.Y36(_e),u.Y36(u.SBq))};static#t=this.\u0275dir=u.lG2({type:W,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(V,Se){1&V&&u.NdJ("click",function(be){return Se._handleClick(be)})},features:[u._Bn([{provide:ee,useExisting:W}])]})}return W})();const Ve=new u.OlP("mat-chips-default-options"),ae=(0,e.FD)(class{constructor(W,we,P,V){this._defaultErrorStateMatcher=W,this._parentForm=we,this._parentFormGroup=P,this.ngControl=V,this.stateChanges=new n.x}});let pe=0;class Ae{constructor(we,P){this.source=we,this.value=P}}let Ze=(()=>{class W extends ae{get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(P){this._explicitRole=P}get multiple(){return this._multiple}set multiple(P){this._multiple=(0,m.Ig)(P),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(P){this._compareWith=P,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(P){this.writeValue(P),this._value=P}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(S.kI.required)??!1}set required(P){this._required=(0,m.Ig)(P),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(P){this._placeholder=P,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(P){this._disabled=(0,m.Ig)(P),this._syncChipsState()}get selectable(){return this._selectable}set selectable(P){this._selectable=(0,m.Ig)(P),this._syncChipsState()}set tabIndex(P){this._userTabIndex=P,this._tabIndex=P}get chipSelectionChanges(){return(0,I.T)(...this.chips.map(P=>P.selectionChange))}get chipFocusChanges(){return(0,I.T)(...this.chips.map(P=>P._onFocus))}get chipBlurChanges(){return(0,I.T)(...this.chips.map(P=>P._onBlur))}get chipRemoveChanges(){return(0,I.T)(...this.chips.map(P=>P.destroyed))}constructor(P,V,Se,G,be,de,De){super(de,G,be,De),this._elementRef=P,this._changeDetectorRef=V,this._dir=Se,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new n.x,this._uid="mat-chip-list-"+pe++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(tt,Re)=>tt===Re,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new u.vpe,this.valueChange=new u.vpe,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this._keyManager=new M.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,y.R)(this._destroyed)).subscribe(P=>this._keyManager.withHorizontalOrientation(P)),this._keyManager.tabOut.subscribe(()=>this._allowFocusEscape()),this.chips.changes.pipe((0,O.O)(null),(0,y.R)(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new A.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(P){this._chipInput=P,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",P.id)}setDescribedByIds(P){P.length?this._elementRef.nativeElement.setAttribute("aria-describedby",P.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(P){this.chips&&this._setSelectionByValue(P,!1)}registerOnChange(P){this._onChange=P}registerOnTouched(P){this._onTouched=P}setDisabledState(P){this.disabled=P,this.stateChanges.next()}onContainerClick(P){this._originatesFromChip(P)||this.focus()}focus(P){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(P),this.stateChanges.next()))}_focusInput(P){this._chipInput&&this._chipInput.focus(P)}_keydown(P){const V=P.target;V&&V.classList.contains("mat-chip")&&(this._keyManager.onKeydown(P),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const P=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(P)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(P){return P>=0&&P<this.chips.length}_setSelectionByValue(P,V=!0){if(this._clearSelection(),this.chips.forEach(Se=>Se.deselect()),Array.isArray(P))P.forEach(Se=>this._selectValue(Se,V)),this._sortValues();else{const Se=this._selectValue(P,V);Se&&V&&this._keyManager.setActiveItem(Se)}}_selectValue(P,V=!0){const Se=this.chips.find(G=>null!=G.value&&this._compareWith(G.value,P));return Se&&(V?Se.selectViaInteraction():Se.select(),this._selectionModel.select(Se)),Se}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(P){this._selectionModel.clear(),this.chips.forEach(V=>{V!==P&&V.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(P=>{P.selected&&this._selectionModel.select(P)}),this.stateChanges.next())}_propagateChanges(P){let V=null;V=Array.isArray(this.selected)?this.selected.map(Se=>Se.value):this.selected?this.selected.value:P,this._value=V,this.change.emit(new Ae(this,V)),this.valueChange.emit(V),this._onChange(V),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(P=>{P.source.selected?this._selectionModel.select(P.source):this._selectionModel.deselect(P.source),this.multiple||this.chips.forEach(V=>{!this._selectionModel.isSelected(V)&&V.selected&&V.deselect()}),P.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(P=>{let V=this.chips.toArray().indexOf(P.chip);this._isValidIndex(V)&&this._keyManager.updateActiveItem(V),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(P=>{const V=P.chip,Se=this.chips.toArray().indexOf(P.chip);this._isValidIndex(Se)&&V._hasFocus&&(this._lastDestroyedChipIndex=Se)})}_originatesFromChip(P){let V=P.target;for(;V&&V!==this._elementRef.nativeElement;){if(V.classList.contains("mat-chip"))return!0;V=V.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(P=>P._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(P=>{P._chipListDisabled=this._disabled,P._chipListMultiple=this.multiple,P.chipListSelectable=this._selectable})}static#e=this.\u0275fac=function(V){return new(V||W)(u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(E.Is,8),u.Y36(S.F,8),u.Y36(S.sg,8),u.Y36(e.rD),u.Y36(S.a5,10))};static#t=this.\u0275cmp=u.Xpm({type:W,selectors:[["mat-chip-list"]],contentQueries:function(V,Se,G){if(1&V&&u.Suo(G,_e,5),2&V){let be;u.iGM(be=u.CRH())&&(Se.chips=be)}},hostAttrs:["ngSkipHydration","",1,"mat-chip-list"],hostVars:14,hostBindings:function(V,Se){1&V&&u.NdJ("focus",function(){return Se.focus()})("blur",function(){return Se._blur()})("keydown",function(be){return Se._keydown(be)}),2&V&&(u.Ikx("id",Se._uid),u.uIk("tabindex",Se.disabled?null:Se._tabIndex)("aria-required",Se.role?Se.required:null)("aria-disabled",Se.disabled.toString())("aria-invalid",Se.errorState)("aria-multiselectable",Se.multiple)("role",Se.role)("aria-orientation",Se.ariaOrientation),u.ekj("mat-chip-list-disabled",Se.disabled)("mat-chip-list-invalid",Se.errorState)("mat-chip-list-required",Se.required))},inputs:{role:"role",userAriaDescribedBy:[u.lbL.None,"aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:[u.lbL.None,"aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[u._Bn([{provide:Z.Eo,useExisting:W}]),u.qOj],ngContentSelectors:oe,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(V,Se){1&V&&(u.F$t(),u.TgZ(0,"div",0),u.Hsn(1),u.qZA())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0})}return W})(),dt=0,Fe=(()=>{class W{set chipList(P){P&&(this._chipList=P,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(P){this._addOnBlur=(0,m.Ig)(P)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(P){this._disabled=(0,m.Ig)(P)}get empty(){return!this.inputElement.value}constructor(P,V){this._elementRef=P,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new u.vpe,this.placeholder="",this.id="mat-chip-list-input-"+dt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=V.separatorKeyCodes}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(P){if(P){if(P.keyCode===t.Mf&&!(0,t.Vb)(P,"shiftKey")&&this._chipList._allowFocusEscape(),P.keyCode===t.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void P.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(P)}_keyup(P){!this._focusLastChipOnBackspace&&P.keyCode===t.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,P.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(P){!this.inputElement.value&&P&&this._chipList._keydown(P),(!P||this._isSeparatorKey(P))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),P?.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(P){this.inputElement.focus(P)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(P){return!(0,t.Vb)(P)&&new Set(this.separatorKeyCodes).has(P.keyCode)}static#e=this.\u0275fac=function(V){return new(V||W)(u.Y36(u.SBq),u.Y36(Ve))};static#t=this.\u0275dir=u.lG2({type:W,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(V,Se){1&V&&u.NdJ("keydown",function(be){return Se._keydown(be)})("keyup",function(be){return Se._keyup(be)})("blur",function(){return Se._blur()})("focus",function(){return Se._focus()})("input",function(){return Se._onInput()}),2&V&&(u.Ikx("id",Se.id),u.uIk("disabled",Se.disabled||null)("placeholder",Se.placeholder||null)("aria-invalid",Se._chipList&&Se._chipList.ngControl?Se._chipList.ngControl.invalid:null)("aria-required",Se._chipList&&Se._chipList.required||null))},inputs:{chipList:[u.lbL.None,"matChipInputFor","chipList"],addOnBlur:[u.lbL.None,"matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:[u.lbL.None,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[u.TTD]})}return W})(),Ie=(()=>{class W{static#e=this.\u0275fac=function(V){return new(V||W)};static#t=this.\u0275mod=u.oAB({type:W});static#n=this.\u0275inj=u.cJS({providers:[e.rD,{provide:Ve,useValue:{separatorKeyCodes:[t.K5]}}],imports:[e.BQ]})}return W})()},4678:(jt,$e,s)=>{"use strict";s.d($e,{CK:()=>y,NA:()=>L,Uc:()=>O});var t=s(9212),u=s(6814),e=s(3680);const m=["*",[["mat-option"],["ng-container"]]],p=["*","mat-option, ng-container"];function U(M,E){if(1&M&&t._UZ(0,"mat-pseudo-checkbox",5),2&M){const A=t.oxw();t.Q6J("state",A.selected?"checked":"unchecked")("disabled",A.disabled)}}function n(M,E){if(1&M&&(t.TgZ(0,"span",6),t._uU(1),t.qZA()),2&M){const A=t.oxw();t.xp6(),t.hij("(",A.group.label,")")}}const I=["*"];let L=(()=>{class M extends e.DH{static#e=this.\u0275fac=(()=>{let A;return function(Z){return(A||(A=t.n5z(M)))(Z||M)}})();static#t=this.\u0275cmp=t.Xpm({type:M,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(S,Z){2&S&&(t.uIk("role",Z._inert?null:"group")("aria-disabled",Z._inert?null:Z.disabled.toString())("aria-labelledby",Z._inert?null:Z._labelId),t.ekj("mat-optgroup-disabled",Z.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[t._Bn([{provide:e.K7,useExisting:M}]),t.qOj],ngContentSelectors:p,decls:4,vars:2,consts:[["role","presentation",1,"mat-optgroup-label",3,"id"]],template:function(S,Z){1&S&&(t.F$t(m),t.TgZ(0,"span",0),t._uU(1),t.Hsn(2),t.qZA(),t.Hsn(3,1)),2&S&&(t.Q6J("id",Z._labelId),t.xp6(),t.hij("",Z.label," "))},styles:[".mat-optgroup-label{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%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0})}return M})(),y=(()=>{class M extends e.MP{constructor(A,S,Z,oe){super(A,S,Z,oe)}static#e=this.\u0275fac=function(S){return new(S||M)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(e.HF,8),t.Y36(e.K7,8))};static#t=this.\u0275cmp=t.Xpm({type:M,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(S,Z){1&S&&t.NdJ("click",function(){return Z._selectViaInteraction()})("keydown",function(le){return Z._handleKeydown(le)}),2&S&&(t.Ikx("id",Z.id),t.uIk("tabindex",Z._getTabIndex())("aria-selected",Z.selected)("aria-disabled",Z.disabled.toString()),t.ekj("mat-selected",Z.selected)("mat-option-multiple",Z.multiple)("mat-active",Z.active)("mat-option-disabled",Z.disabled))},exportAs:["matOption"],features:[t.qOj],ngContentSelectors:I,decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["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(S,Z){1&S&&(t.F$t(),t.YNc(0,U,1,2,"mat-pseudo-checkbox",0),t.TgZ(1,"span",1,2),t.Hsn(3),t.qZA(),t.YNc(4,n,2,1,"span",3),t._UZ(5,"div",4)),2&S&&(t.Q6J("ngIf",Z.multiple),t.xp6(4),t.Q6J("ngIf",Z.group&&Z.group._inert),t.xp6(),t.Q6J("matRippleTrigger",Z._getHostElement())("matRippleDisabled",Z.disabled||Z.disableRipple))},dependencies:[e.wG,u.O5,e.nP],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:rgba(0,0,0,0)}.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}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.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}'],encapsulation:2,changeDetection:0})}return M})(),O=(()=>{class M{static#e=this.\u0275fac=function(S){return new(S||M)};static#t=this.\u0275mod=t.oAB({type:M});static#n=this.\u0275inj=t.cJS({imports:[e.si,u.ez,e.BQ,e.us]})}return M})()},7592:(jt,$e,s)=>{"use strict";s.d($e,{eJ:()=>Nn,o8:()=>cn,on:()=>Ne,ev:()=>Et,aO:()=>Ee,Rb:()=>Ke,yj:()=>tn,hV:()=>hn,YS:()=>Ge});var t=s(7954),u=s(9594),e=s(8484),m=s(9212),p=s(3680),U=s(6814),n=s(4300),I=s(8645),L=s(3019),y=s(4911),O=s(2181),M=s(8180),E=s(7921),A=s(6028),S=s(6825);class oe{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.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}let H=(()=>{class rn extends t.LL{constructor(ft,Bt,Ue,nt,Ye,zt,$t,Mn){super(ft,Bt,Ue,nt,Ye,zt,$t,Mn),this._animationStateChanged=new m.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ft){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ft})}static#e=this.\u0275fac=function(Bt){return new(Bt||rn)(m.Y36(m.SBq),m.Y36(n.qV),m.Y36(U.K0,8),m.Y36(oe),m.Y36(n.ic),m.Y36(m.R0b),m.Y36(u.Iu),m.Y36(n.tE))};static#t=this.\u0275cmp=m.Xpm({type:rn,selectors:[["ng-component"]],features:[m.qOj],decls:0,vars:0,template:function(Bt,Ue){},encapsulation:2})}return rn})();class Ce{constructor(Nt,ft,Bt){this._ref=Nt,this._containerInstance=Bt,this._afterOpened=new I.x,this._beforeClosed=new I.x,this._state=0,this.disableClose=ft.disableClose,this.id=Nt.id,Bt._animationStateChanged.pipe((0,O.h)(Ue=>"opened"===Ue.state),(0,M.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Bt._animationStateChanged.pipe((0,O.h)(Ue=>"closed"===Ue.state),(0,M.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Nt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,L.T)(this.backdropClick(),this.keydownEvents().pipe((0,O.h)(Ue=>Ue.keyCode===A.hY&&!this.disableClose&&!(0,A.Vb)(Ue)))).subscribe(Ue=>{this.disableClose||(Ue.preventDefault(),Ve(this,"keydown"===Ue.type?"keyboard":"mouse"))})}close(Nt){this._result=Nt,this._containerInstance._animationStateChanged.pipe((0,O.h)(ft=>"closing"===ft.state),(0,M.q)(1)).subscribe(ft=>{this._beforeClosed.next(Nt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ft.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Nt){let ft=this._ref.config.positionStrategy;return Nt&&(Nt.left||Nt.right)?Nt.left?ft.left(Nt.left):ft.right(Nt.right):ft.centerHorizontally(),Nt&&(Nt.top||Nt.bottom)?Nt.top?ft.top(Nt.top):ft.bottom(Nt.bottom):ft.centerVertically(),this._ref.updatePosition(),this}updateSize(Nt="",ft=""){return this._ref.updateSize(Nt,ft),this}addPanelClass(Nt){return this._ref.addPanelClass(Nt),this}removePanelClass(Nt){return this._ref.removePanelClass(Nt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Ve(rn,Nt,ft){return rn._closeInteractionType=Nt,rn.close(ft)}let Xe=0,Ie=(()=>{class rn{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ft=this._parentDialog;return ft?ft._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(ft,Bt,Ue,nt,Ye,zt,$t,Mn,Wn,di){this._overlay=ft,this._defaultOptions=Ue,this._parentDialog=nt,this._dialogRefConstructor=$t,this._dialogContainerType=Mn,this._dialogDataToken=Wn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new I.x,this._afterOpenedAtThisLevel=new I.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=oe,this.afterAllClosed=(0,y.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,E.O)(void 0))),this._scrollStrategy=zt,this._dialog=Bt.get(t.Vq)}open(ft,Bt){let Ue;(Bt={...this._defaultOptions||new oe,...Bt}).id=Bt.id||`${this._idPrefix}${Xe++}`,Bt.scrollStrategy=Bt.scrollStrategy||this._scrollStrategy();const nt=this._dialog.open(ft,{...Bt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Bt},{provide:t.ib,useValue:Bt}]},templateContext:()=>({dialogRef:Ue}),providers:(Ye,zt,$t)=>(Ue=new this._dialogRefConstructor(Ye,Bt,$t),Ue.updatePosition(Bt?.position),[{provide:this._dialogContainerType,useValue:$t},{provide:this._dialogDataToken,useValue:zt.data},{provide:this._dialogRefConstructor,useValue:Ue}])});return Ue.componentRef=nt.componentRef,Ue.componentInstance=nt.componentInstance,this.openDialogs.push(Ue),this.afterOpened.next(Ue),Ue.afterClosed().subscribe(()=>{const Ye=this.openDialogs.indexOf(Ue);Ye>-1&&(this.openDialogs.splice(Ye,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ue}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ft){return this.openDialogs.find(Bt=>Bt.id===ft)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ft){let Bt=ft.length;for(;Bt--;)ft[Bt].close()}static#e=this.\u0275fac=function(Bt){m.$Z()};static#t=this.\u0275prov=m.Yz7({token:rn,factory:rn.\u0275fac})}return rn})();const De={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},tt={dialogContainer:(0,S.X$)("dialogContainer",[(0,S.SB)("void, exit",(0,S.oB)({opacity:0,transform:"scale(0.7)"})),(0,S.SB)("enter",(0,S.oB)({transform:"none"})),(0,S.eR)("* => enter",(0,S.ru)([(0,S.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,S.oB)({transform:"none",opacity:1})),(0,S.IO)("@*",(0,S.pV)(),{optional:!0})]),De),(0,S.eR)("* => void, * => exit",(0,S.ru)([(0,S.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,S.oB)({opacity:0})),(0,S.IO)("@*",(0,S.pV)(),{optional:!0})]),De)])};function Re(rn,Nt){}const Ft_params_enterAnimationDuration="150ms",Ft_params_exitAnimationDuration="75ms";class mt extends oe{constructor(){super(...arguments),this.enterAnimationDuration=De.params.enterAnimationDuration,this.exitAnimationDuration=De.params.exitAnimationDuration}}let sn=(()=>{class rn extends H{_onAnimationDone({toState:ft,totalTime:Bt}){"enter"===ft?this._openAnimationDone(Bt):"exit"===ft&&this._animationStateChanged.next({state:"closed",totalTime:Bt})}_onAnimationStart({toState:ft,totalTime:Bt}){"enter"===ft?this._animationStateChanged.next({state:"opening",totalTime:Bt}):("exit"===ft||"void"===ft)&&this._animationStateChanged.next({state:"closing",totalTime:Bt})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(ft,Bt,Ue,nt,Ye,zt,$t,Mn,Wn){super(ft,Bt,Ue,nt,Ye,zt,$t,Wn),this._changeDetectorRef=Mn,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Ft_params_enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Ft_params_exitAnimationDuration}}}static#e=this.\u0275fac=function(Bt){return new(Bt||rn)(m.Y36(m.SBq),m.Y36(n.qV),m.Y36(U.K0,8),m.Y36(mt),m.Y36(n.ic),m.Y36(m.R0b),m.Y36(u.Iu),m.Y36(m.sBO),m.Y36(n.tE))};static#t=this.\u0275cmp=m.Xpm({type:rn,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(Bt,Ue){1&Bt&&m.WFA("@dialogContainer.start",function(Ye){return Ue._onAnimationStart(Ye)})("@dialogContainer.done",function(Ye){return Ue._onAnimationDone(Ye)}),2&Bt&&(m.Ikx("id",Ue._config.id),m.uIk("aria-modal",Ue._config.ariaModal)("role",Ue._config.role)("aria-labelledby",Ue._config.ariaLabel?null:Ue._ariaLabelledByQueue[0])("aria-label",Ue._config.ariaLabel)("aria-describedby",Ue._config.ariaDescribedBy||null),m.d8E("@dialogContainer",Ue._getAnimationState()))},features:[m.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(Bt,Ue){1&Bt&&m.YNc(0,Re,0,0,"ng-template",0)},dependencies:[e.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.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.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}"],encapsulation:2,data:{animation:[tt.dialogContainer]}})}return rn})();class hn extends Ce{}const Nn=new m.OlP("MatDialogData"),Jt=new m.OlP("mat-dialog-default-options"),cn=new m.OlP("mat-dialog-scroll-strategy"),fe={provide:cn,deps:[u.aV],useFactory:function He(rn){return()=>rn.scrollStrategies.block()}};let Ne=(()=>{class rn extends Ie{constructor(ft,Bt,Ue,nt,Ye,zt,$t,Mn){super(ft,Bt,nt,zt,$t,Ye,hn,sn,Nn,Mn),this.dialogConfigClass=mt}static#e=this.\u0275fac=function(Bt){return new(Bt||rn)(m.LFG(u.aV),m.LFG(m.zs3),m.LFG(U.Ye,8),m.LFG(Jt,8),m.LFG(cn),m.LFG(rn,12),m.LFG(u.Xj),m.LFG(m.QbO,8))};static#t=this.\u0275prov=m.Yz7({token:rn,factory:rn.\u0275fac})}return rn})(),$=0,Ee=(()=>{class rn{constructor(ft,Bt,Ue){this.dialogRef=ft,this._elementRef=Bt,this._dialog=Ue,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Tt(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ft){const Bt=ft._matDialogClose||ft._matDialogCloseResult;Bt&&(this.dialogResult=Bt.currentValue)}_onButtonClick(ft){Ve(this.dialogRef,0===ft.screenX&&0===ft.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(Bt){return new(Bt||rn)(m.Y36(hn,8),m.Y36(m.SBq),m.Y36(Ne))};static#t=this.\u0275dir=m.lG2({type:rn,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(Bt,Ue){1&Bt&&m.NdJ("click",function(Ye){return Ue._onButtonClick(Ye)}),2&Bt&&m.uIk("aria-label",Ue.ariaLabel||null)("type",Ue.type)},inputs:{ariaLabel:[m.lbL.None,"aria-label","ariaLabel"],type:"type",dialogResult:[m.lbL.None,"mat-dialog-close","dialogResult"],_matDialogClose:[m.lbL.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[m.TTD]})}return rn})(),Ge=(()=>{class rn{constructor(ft,Bt,Ue){this._dialogRef=ft,this._elementRef=Bt,this._dialog=Ue,this.id="mat-dialog-title-"+$++}ngOnInit(){this._dialogRef||(this._dialogRef=Tt(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const ft=this._dialogRef?._containerInstance?._ariaLabelledByQueue;ft&&Promise.resolve().then(()=>{const Bt=ft.indexOf(this.id);Bt>-1&&ft.splice(Bt,1)})}static#e=this.\u0275fac=function(Bt){return new(Bt||rn)(m.Y36(hn,8),m.Y36(m.SBq),m.Y36(Ne))};static#t=this.\u0275dir=m.lG2({type:rn,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(Bt,Ue){2&Bt&&m.Ikx("id",Ue.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return rn})(),Ke=(()=>{class rn{static#e=this.\u0275fac=function(Bt){return new(Bt||rn)};static#t=this.\u0275dir=m.lG2({type:rn,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]})}return rn})(),Et=(()=>{class rn{constructor(){this.align="start"}static#e=this.\u0275fac=function(Bt){return new(Bt||rn)};static#t=this.\u0275dir=m.lG2({type:rn,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(Bt,Ue){2&Bt&&m.ekj("mat-dialog-actions-align-center","center"===Ue.align)("mat-dialog-actions-align-end","end"===Ue.align)},inputs:{align:"align"}})}return rn})();function Tt(rn,Nt){let ft=rn.nativeElement.parentElement;for(;ft&&!ft.classList.contains("mat-dialog-container");)ft=ft.parentElement;return ft?Nt.find(Bt=>Bt.id===ft.id):null}let tn=(()=>{class rn{static#e=this.\u0275fac=function(Bt){return new(Bt||rn)};static#t=this.\u0275mod=m.oAB({type:rn});static#n=this.\u0275inj=m.cJS({providers:[Ne,fe],imports:[t.Su,u.U8,e.eL,p.BQ,p.BQ]})}return rn})()},4187:(jt,$e,s)=>{"use strict";s.d($e,{$V:()=>Ie,Qi:()=>G,g4:()=>de,nI:()=>Ze,nX:()=>De,pH:()=>Xe,v_:()=>be,wp:()=>tt});var t=s(7131),u=s(6814),e=s(9212),m=s(3680),p=s(1043),U=s(9388),n=s(2495),I=s(8645),L=s(3019),y=s(2438),O=s(7921),M=s(9773),E=s(8180),A=s(2831);const S=["connectionContainer"],Z=["inputContainer"],oe=["label"];function le(Re,Ft){1&Re&&(e.ynx(0),e.TgZ(1,"div",14),e._UZ(2,"div",15)(3,"div",16)(4,"div",17),e.qZA(),e.TgZ(5,"div",18),e._UZ(6,"div",15)(7,"div",16)(8,"div",17),e.qZA(),e.BQk())}function ee(Re,Ft){if(1&Re){const mt=e.EpF();e.TgZ(0,"div",19),e.NdJ("cdkObserveContent",function(){e.CHM(mt);const hn=e.oxw();return e.KtG(hn.updateOutlineGap())}),e.Hsn(1,1),e.qZA()}if(2&Re){const mt=e.oxw();e.Q6J("cdkObserveContentDisabled","outline"!=mt.appearance)}}function K(Re,Ft){if(1&Re&&(e.ynx(0),e.Hsn(1,2),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.BQk()),2&Re){const mt=e.oxw(2);e.xp6(3),e.Oqu(mt._control.placeholder)}}function Q(Re,Ft){1&Re&&e.Hsn(0,3,["*ngSwitchCase","true"])}function q(Re,Ft){1&Re&&(e.TgZ(0,"span",23),e._uU(1," *"),e.qZA())}function H(Re,Ft){if(1&Re){const mt=e.EpF();e.TgZ(0,"label",20,21),e.NdJ("cdkObserveContent",function(){e.CHM(mt);const hn=e.oxw();return e.KtG(hn.updateOutlineGap())}),e.YNc(2,K,4,1,"ng-container",12)(3,Q,1,0,"ng-content",12)(4,q,2,0,"span",22),e.qZA()}if(2&Re){const mt=e.oxw();e.ekj("mat-empty",mt._control.empty&&!mt._shouldAlwaysFloat())("mat-form-field-empty",mt._control.empty&&!mt._shouldAlwaysFloat())("mat-accent","accent"==mt.color)("mat-warn","warn"==mt.color),e.Q6J("cdkObserveContentDisabled","outline"!=mt.appearance)("id",mt._labelId)("ngSwitch",mt._hasLabel()),e.uIk("for",mt._control.id)("aria-owns",mt._control.id),e.xp6(2),e.Q6J("ngSwitchCase",!1),e.xp6(),e.Q6J("ngSwitchCase",!0),e.xp6(),e.Q6J("ngIf",!mt.hideRequiredMarker&&mt._control.required&&!mt._control.disabled)}}function T(Re,Ft){1&Re&&(e.TgZ(0,"div",24),e.Hsn(1,4),e.qZA())}function ie(Re,Ft){if(1&Re&&(e.TgZ(0,"div",25),e._UZ(1,"span",26),e.qZA()),2&Re){const mt=e.oxw();e.xp6(),e.ekj("mat-accent","accent"==mt.color)("mat-warn","warn"==mt.color)}}function _e(Re,Ft){if(1&Re&&(e.TgZ(0,"div"),e.Hsn(1,5),e.qZA()),2&Re){const mt=e.oxw();e.Q6J("@transitionMessages",mt._subscriptAnimationState)}}function Ce(Re,Ft){if(1&Re&&(e.TgZ(0,"div",30),e._uU(1),e.qZA()),2&Re){const mt=e.oxw(2);e.Q6J("id",mt._hintLabelId),e.xp6(),e.Oqu(mt.hintLabel)}}function Ve(Re,Ft){if(1&Re&&(e.TgZ(0,"div",27),e.YNc(1,Ce,2,2,"div",28),e.Hsn(2,6),e._UZ(3,"div",29),e.Hsn(4,7),e.qZA()),2&Re){const mt=e.oxw();e.Q6J("@transitionMessages",mt._subscriptAnimationState),e.xp6(),e.Q6J("ngIf",mt.hintLabel)}}const ae=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],pe=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ae=0,Ze=(()=>{class Re{constructor(mt,sn){this.id="mat-error-"+Ae++,mt||sn.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(sn){return new(sn||Re)(e.$8M("aria-live"),e.Y36(e.SBq))};static#t=this.\u0275dir=e.lG2({type:Re,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(sn,hn){2&sn&&e.uIk("id",hn.id)},inputs:{id:"id"},features:[e._Bn([{provide:p.ab,useExisting:Re}])]})}return Re})(),dt=0;const Fe=new e.OlP("MatHint");let Xe=(()=>{class Re{constructor(){this.align="start",this.id="mat-hint-"+dt++}static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275dir=e.lG2({type:Re,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(sn,hn){2&sn&&(e.uIk("id",hn.id)("align",null),e.ekj("mat-form-field-hint-end","end"===hn.align))},inputs:{align:"align",id:"id"},features:[e._Bn([{provide:Fe,useExisting:Re}])]})}return Re})(),Ie=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275dir=e.lG2({type:Re,selectors:[["mat-label"]]})}return Re})(),W=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275dir=e.lG2({type:Re,selectors:[["mat-placeholder"]]})}return Re})(),we=0;const Se=(0,m.pj)(class{constructor(Re){this._elementRef=Re}},"primary"),G=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let be=(()=>{class Re extends Se{get appearance(){return this._appearance}set appearance(mt){const sn=this._appearance;this._appearance=mt||this._defaults?.appearance||"legacy","outline"===this._appearance&&sn!==mt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(mt){this._hideRequiredMarker=(0,n.Ig)(mt)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(mt){this._hintLabel=mt,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(mt){mt!==this._floatLabel&&(this._floatLabel=mt||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(mt){this._explicitFormFieldControl=mt}constructor(mt,sn,hn,Nn,Jt,cn,He){super(mt),this._changeDetectorRef=sn,this._dir=hn,this._defaults=Nn,this._platform=Jt,this._ngZone=cn,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new I.x,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+we++,this._labelId="mat-form-field-label-"+we++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==He,this.appearance=Nn?.appearance||"legacy",Nn&&(this._hideRequiredMarker=!!Nn.hideRequiredMarker,Nn.color&&(this.color=this.defaultColor=Nn.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const mt=this._control;mt.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${mt.controlType}`),mt.stateChanges.pipe((0,O.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),mt.ngControl&&mt.ngControl.valueChanges&&mt.ngControl.valueChanges.pipe((0,M.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,M.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,L.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,O.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,M.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(mt){const sn=this._control?this._control.ngControl:null;return sn&&sn[mt]}_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,y.R)(this._label.nativeElement,"transitionend").pipe((0,E.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 mt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&mt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const sn=this._hintChildren?this._hintChildren.find(Nn=>"start"===Nn.align):null,hn=this._hintChildren?this._hintChildren.find(Nn=>"end"===Nn.align):null;sn?mt.push(sn.id):this._hintLabel&&mt.push(this._hintLabelId),hn&&mt.push(hn.id)}else this._errorChildren&&mt.push(...this._errorChildren.map(sn=>sn.id));this._control.setDescribedByIds(mt)}}_validateControlChild(){}updateOutlineGap(){const mt=this._label?this._label.nativeElement:null,sn=this._connectionContainerRef.nativeElement,hn=".mat-form-field-outline-start",Nn=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!mt||!mt.children.length||!mt.textContent.trim()){const Ne=sn.querySelectorAll(`${hn}, ${Nn}`);for(let $=0;$<Ne.length;$++)Ne[$].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let Jt=0,cn=0;const He=sn.querySelectorAll(hn),fe=sn.querySelectorAll(Nn);if(this._label&&this._label.nativeElement.children.length){const Ne=sn.getBoundingClientRect();if(0===Ne.width&&0===Ne.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const $=this._getStartEnd(Ne),Ee=mt.children,Ge=this._getStartEnd(Ee[0].getBoundingClientRect());let Ke=0;for(let Et=0;Et<Ee.length;Et++)Ke+=Ee[Et].offsetWidth;Jt=Math.abs(Ge-$)-5,cn=Ke>0?.75*Ke+10:0}for(let Ne=0;Ne<He.length;Ne++)He[Ne].style.width=`${Jt}px`;for(let Ne=0;Ne<fe.length;Ne++)fe[Ne].style.width=`${cn}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(mt){return this._dir&&"rtl"===this._dir.value?mt.right:mt.left}_isAttachedToDOM(){const mt=this._elementRef.nativeElement;if(mt.getRootNode){const sn=mt.getRootNode();return sn&&sn!==mt}return document.documentElement.contains(mt)}static#e=this.\u0275fac=function(sn){return new(sn||Re)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(U.Is,8),e.Y36(G,8),e.Y36(A.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:Re,selectors:[["mat-form-field"]],contentQueries:function(sn,hn,Nn){if(1&sn&&(e.Suo(Nn,p.Eo,5),e.Suo(Nn,p.Eo,7),e.Suo(Nn,Ie,5),e.Suo(Nn,Ie,7),e.Suo(Nn,W,5),e.Suo(Nn,p.ab,5),e.Suo(Nn,Fe,5),e.Suo(Nn,p.Px,5),e.Suo(Nn,p.Ve,5)),2&sn){let Jt;e.iGM(Jt=e.CRH())&&(hn._controlNonStatic=Jt.first),e.iGM(Jt=e.CRH())&&(hn._controlStatic=Jt.first),e.iGM(Jt=e.CRH())&&(hn._labelChildNonStatic=Jt.first),e.iGM(Jt=e.CRH())&&(hn._labelChildStatic=Jt.first),e.iGM(Jt=e.CRH())&&(hn._placeholderChild=Jt.first),e.iGM(Jt=e.CRH())&&(hn._errorChildren=Jt),e.iGM(Jt=e.CRH())&&(hn._hintChildren=Jt),e.iGM(Jt=e.CRH())&&(hn._prefixChildren=Jt),e.iGM(Jt=e.CRH())&&(hn._suffixChildren=Jt)}},viewQuery:function(sn,hn){if(1&sn&&(e.Gf(S,7),e.Gf(Z,5),e.Gf(oe,5)),2&sn){let Nn;e.iGM(Nn=e.CRH())&&(hn._connectionContainerRef=Nn.first),e.iGM(Nn=e.CRH())&&(hn._inputContainerRef=Nn.first),e.iGM(Nn=e.CRH())&&(hn._label=Nn.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(sn,hn){2&sn&&e.ekj("mat-form-field-appearance-standard","standard"==hn.appearance)("mat-form-field-appearance-fill","fill"==hn.appearance)("mat-form-field-appearance-outline","outline"==hn.appearance)("mat-form-field-appearance-legacy","legacy"==hn.appearance)("mat-form-field-invalid",hn._control.errorState)("mat-form-field-can-float",hn._canLabelFloat())("mat-form-field-should-float",hn._shouldLabelFloat())("mat-form-field-has-label",hn._hasFloatingLabel())("mat-form-field-hide-placeholder",hn._hideControlPlaceholder())("mat-form-field-disabled",hn._control.disabled)("mat-form-field-autofilled",hn._control.autofilled)("mat-focused",hn._control.focused)("ng-untouched",hn._shouldForward("untouched"))("ng-touched",hn._shouldForward("touched"))("ng-pristine",hn._shouldForward("pristine"))("ng-dirty",hn._shouldForward("dirty"))("ng-valid",hn._shouldForward("valid"))("ng-invalid",hn._shouldForward("invalid"))("ng-pending",hn._shouldForward("pending"))("_mat-animation-noopable",!hn._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:p.G_,useExisting:Re}]),e.qOj],ngContentSelectors:pe,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(sn,hn){1&sn&&(e.F$t(ae),e.TgZ(0,"div",0)(1,"div",1,2),e.NdJ("click",function(Jt){return hn._control.onContainerClick(Jt)}),e.YNc(3,le,9,0,"ng-container",3)(4,ee,2,1,"div",4),e.TgZ(5,"div",5,6),e.Hsn(7),e.TgZ(8,"span",7),e.YNc(9,H,5,16,"label",8),e.qZA()(),e.YNc(10,T,2,0,"div",9),e.qZA(),e.YNc(11,ie,2,4,"div",10),e.TgZ(12,"div",11),e.YNc(13,_e,2,1,"div",12)(14,Ve,5,2,"div",13),e.qZA()()),2&sn&&(e.xp6(3),e.Q6J("ngIf","outline"==hn.appearance),e.xp6(),e.Q6J("ngIf",hn._prefixChildren.length),e.xp6(5),e.Q6J("ngIf",hn._hasFloatingLabel()),e.xp6(),e.Q6J("ngIf",hn._suffixChildren.length),e.xp6(),e.Q6J("ngIf","outline"!=hn.appearance),e.xp6(),e.Q6J("ngSwitch",hn._getDisplayedMessages()),e.xp6(),e.Q6J("ngSwitchCase","error"),e.xp6(),e.Q6J("ngSwitchCase","hint"))},dependencies:[u.O5,u.RF,u.n9,t.wD],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.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-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[p.TN.transitionMessages]},changeDetection:0})}return Re})(),de=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275dir=e.lG2({type:Re,selectors:[["","matPrefix",""]],features:[e._Bn([{provide:p.Px,useExisting:Re}])]})}return Re})(),De=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275dir=e.lG2({type:Re,selectors:[["","matSuffix",""]],features:[e._Bn([{provide:p.Ve,useExisting:Re}])]})}return Re})(),tt=(()=>{class Re{static#e=this.\u0275fac=function(sn){return new(sn||Re)};static#t=this.\u0275mod=e.oAB({type:Re});static#n=this.\u0275inj=e.cJS({imports:[u.ez,m.BQ,t.Q8,m.BQ]})}return Re})()},2400:(jt,$e,s)=>{"use strict";s.d($e,{k0:()=>n,x4:()=>I});var t=s(9212),u=s(4516),e=s(1043),m=s(4187),p=s(6263),U=s(3680);let n=(()=>{class L extends u.Nt{constructor(){super(...arguments),this._legacyFormField=(0,t.f3M)(e.G_,{optional:!0})}_getPlaceholder(){const O=this._legacyFormField;return O&&"legacy"===O.appearance&&!O._hasLabel?.()?null:this.placeholder}static#e=this.\u0275fac=(()=>{let O;return function(E){return(O||(O=t.n5z(L)))(E||L)}})();static#t=this.\u0275dir=t.lG2({type:L,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:15,hostBindings:function(M,E){2&M&&(t.uIk("data-placeholder",E.placeholder),t.ekj("mat-input-server",E._isServer)("mat-mdc-input-element",!1)("mat-mdc-form-field-textarea-control",!1)("mat-mdc-form-field-input-control",!1)("mdc-text-field__input",!1)("mat-mdc-native-select-inline",!1)("mat-native-select-inline",E._isInlineSelect()))},exportAs:["matInput"],features:[t._Bn([{provide:e.Eo,useExisting:L}]),t.qOj]})}return L})(),I=(()=>{class L{static#e=this.\u0275fac=function(M){return new(M||L)};static#t=this.\u0275mod=t.oAB({type:L});static#n=this.\u0275inj=t.cJS({providers:[U.rD],imports:[p.Ky,m.wp,U.BQ,p.Ky,m.wp]})}return L})()},110:(jt,$e,s)=>{"use strict";s.d($e,{Zj:()=>Wn,Wx:()=>di,ap:()=>Pt,oh:()=>Le,gR:()=>N,O$:()=>j,Sc:()=>Xt,kh:()=>F});var t=s(6814),u=s(9212),e=s(3680),m=s(2495),I=(s(2831),s(7394),s(3019),s(8645)),y=(s(7131),s(4300)),O=s(8337),M=s(6028),E=s(6223),A=s(9773);const sn=new u.OlP("MatList"),fe=new u.OlP("MatNavList");var Et=s(7921),Tt=s(6385);const tn=["*"],rn='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}',Nt=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],ft=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],Bt=["text"];function Ue(k,ne){if(1&k&&u._UZ(0,"mat-pseudo-checkbox",5),2&k){const z=u.oxw();u.Q6J("state",z.selected?"checked":"unchecked")("disabled",z.disabled)}}const nt=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],Ye=["*","[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"],zt=(0,e.Id)((0,e.Kr)(class{})),$t=(0,e.Kr)(class{});let Wn=(()=>{class k extends zt{constructor(z){super(),this._elementRef=z,this._stateChanges=new I.x,"action-list"===this._getListType()&&(z.nativeElement.classList.add("mat-action-list"),z.nativeElement.setAttribute("role","group"))}_getListType(){const z=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===z?"list":"mat-action-list"===z?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(re){return new(re||k)(u.Y36(u.SBq))};static#t=this.\u0275cmp=u.Xpm({type:k,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[u._Bn([{provide:sn,useExisting:k}]),u.qOj,u.TTD],ngContentSelectors:tn,decls:1,vars:0,template:function(re,B){1&re&&(u.F$t(),u.Hsn(0))},styles:[rn],encapsulation:2,changeDetection:0})}return k})(),di=(()=>{class k{static#e=this.\u0275fac=function(re){return new(re||k)};static#t=this.\u0275dir=u.lG2({type:k,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]})}return k})(),Pt=(()=>{class k{static#e=this.\u0275fac=function(re){return new(re||k)};static#t=this.\u0275dir=u.lG2({type:k,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]})}return k})(),Xt=(()=>{class k{static#e=this.\u0275fac=function(re){return new(re||k)};static#t=this.\u0275dir=u.lG2({type:k,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-subheader"]})}return k})(),Le=(()=>{class k extends $t{constructor(z,re,B,Y){super(),this._element=z,this._isInteractiveList=!1,this._destroyed=new I.x,this._disabled=!1,this._isInteractiveList=!!(B||Y&&"action-list"===Y._getListType()),this._list=B||Y;const Qe=this._getHostElement();"button"===Qe.nodeName.toLowerCase()&&!Qe.hasAttribute("type")&&Qe.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe((0,A.R)(this._destroyed)).subscribe(()=>{re.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(z){this._disabled=(0,m.Ig)(z)}ngAfterContentInit(){(0,e.E0)(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}static#e=this.\u0275fac=function(re){return new(re||k)(u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(fe,8),u.Y36(sn,8))};static#t=this.\u0275cmp=u.Xpm({type:k,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(re,B,Y){if(1&re&&(u.Suo(Y,di,5),u.Suo(Y,Pt,5),u.Suo(Y,e.X2,5)),2&re){let Qe;u.iGM(Qe=u.CRH())&&(B._avatar=Qe.first),u.iGM(Qe=u.CRH())&&(B._icon=Qe.first),u.iGM(Qe=u.CRH())&&(B._lines=Qe)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(re,B){2&re&&u.ekj("mat-list-item-disabled",B.disabled)("mat-list-item-with-avatar",B._avatar||B._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[u.qOj],ngContentSelectors:ft,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(re,B){1&re&&(u.F$t(Nt),u.TgZ(0,"span",0),u._UZ(1,"span",1),u.Hsn(2),u.TgZ(3,"span",2),u.Hsn(4,1),u.qZA(),u.Hsn(5,2),u.qZA()),2&re&&(u.xp6(),u.Q6J("matRippleTrigger",B._getHostElement())("matRippleDisabled",B._isRippleDisabled()))},dependencies:[e.wG],encapsulation:2,changeDetection:0})}return k})();const ue=(0,e.Kr)(class{}),X=(0,e.Kr)(class{}),xe={provide:E.JU,useExisting:(0,u.Gpc)(()=>F),multi:!0};class et{constructor(ne,z){this.source=ne,this.options=z}}let j=(()=>{class k extends X{get color(){return this._color||this.selectionList.color}set color(z){this._color=z}get value(){return this._value}set value(z){this.selected&&!this.selectionList.compareWith(z,this.value)&&this._inputsInitialized&&(this.selected=!1),this._value=z}get disabled(){return this._disabled||this.selectionList&&this.selectionList.disabled}set disabled(z){const re=(0,m.Ig)(z);re!==this._disabled&&(this._disabled=re,this._changeDetector.markForCheck())}get selected(){return this.selectionList.selectedOptions.isSelected(this)}set selected(z){const re=(0,m.Ig)(z);re!==this._selected&&(this._setSelected(re),(re||this.selectionList.multiple)&&this.selectionList._reportValueChange())}constructor(z,re,B){super(),this._element=z,this._changeDetector=re,this.selectionList=B,this._selected=!1,this._disabled=!1,this._hasFocus=!1,this.selectedChange=new u.vpe,this.checkboxPosition="after",this._inputsInitialized=!1}ngOnInit(){const z=this.selectionList;z._value&&z._value.some(B=>z.compareWith(this._value,B))&&this._setSelected(!0);const re=this._selected;Promise.resolve().then(()=>{(this._selected||re)&&(this.selected=!0,this._changeDetector.markForCheck())}),this._inputsInitialized=!0}ngAfterContentInit(){(0,e.E0)(this._lines,this._element)}ngOnDestroy(){this.selected&&Promise.resolve().then(()=>{this.selected=!1});const z=this._hasFocus,re=this.selectionList._removeOptionFromList(this);z&&re&&re.focus()}toggle(){this.selected=!this.selected}focus(){this._element.nativeElement.focus()}getLabel(){return this._text&&this._text.nativeElement.textContent||""}_isRippleDisabled(){return this.disabled||this.disableRipple||this.selectionList.disableRipple}_handleClick(){!this.disabled&&(this.selectionList.multiple||!this.selected)&&(this.toggle(),this.selectionList._emitChangeEvent([this]))}_handleFocus(){this.selectionList._setFocusedOption(this),this._hasFocus=!0}_handleBlur(){this.selectionList._onTouched(),this._hasFocus=!1}_getHostElement(){return this._element.nativeElement}_setSelected(z){return z!==this._selected&&(this._selected=z,z?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this.selectedChange.emit(z),this._changeDetector.markForCheck(),!0)}_markForCheck(){this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(re){return new(re||k)(u.Y36(u.SBq),u.Y36(u.sBO),u.Y36((0,u.Gpc)(()=>F)))};static#t=this.\u0275cmp=u.Xpm({type:k,selectors:[["mat-list-option"]],contentQueries:function(re,B,Y){if(1&re&&(u.Suo(Y,di,5),u.Suo(Y,Pt,5),u.Suo(Y,e.X2,5)),2&re){let Qe;u.iGM(Qe=u.CRH())&&(B._avatar=Qe.first),u.iGM(Qe=u.CRH())&&(B._icon=Qe.first),u.iGM(Qe=u.CRH())&&(B._lines=Qe)}},viewQuery:function(re,B){if(1&re&&u.Gf(Bt,5),2&re){let Y;u.iGM(Y=u.CRH())&&(B._text=Y.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(re,B){1&re&&u.NdJ("focus",function(){return B._handleFocus()})("blur",function(){return B._handleBlur()})("click",function(){return B._handleClick()}),2&re&&(u.uIk("aria-selected",B.selected)("aria-disabled",B.disabled)("tabindex",-1),u.ekj("mat-list-item-disabled",B.disabled)("mat-list-item-with-avatar",B._avatar||B._icon)("mat-primary","primary"===B.color)("mat-accent","primary"!==B.color&&"warn"!==B.color)("mat-warn","warn"===B.color)("mat-list-single-selected-option",B.selected&&!B.selectionList.multiple))},inputs:{disableRipple:"disableRipple",checkboxPosition:"checkboxPosition",color:"color",value:"value",disabled:"disabled",selected:"selected"},outputs:{selectedChange:"selectedChange"},exportAs:["matListOption"],features:[u.qOj],ngContentSelectors:Ye,decls:7,vars:5,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[3,"state","disabled",4,"ngIf"],[1,"mat-list-text"],["text",""],[3,"state","disabled"]],template:function(re,B){1&re&&(u.F$t(nt),u.TgZ(0,"div",0),u._UZ(1,"div",1),u.YNc(2,Ue,1,2,"mat-pseudo-checkbox",2),u.TgZ(3,"div",3,4),u.Hsn(5),u.qZA(),u.Hsn(6,1),u.qZA()),2&re&&(u.ekj("mat-list-item-content-reverse","after"==B.checkboxPosition),u.xp6(),u.Q6J("matRippleTrigger",B._getHostElement())("matRippleDisabled",B._isRippleDisabled()),u.xp6(),u.Q6J("ngIf",B.selectionList.multiple))},dependencies:[e.wG,e.nP,t.O5],encapsulation:2,changeDetection:0})}return k})(),F=(()=>{class k extends ue{get disabled(){return this._disabled}set disabled(z){this._disabled=(0,m.Ig)(z),this._markOptionsForCheck()}get multiple(){return this._multiple}set multiple(z){const re=(0,m.Ig)(z);re!==this._multiple&&(this._multiple=re,this.selectedOptions=new O.Ov(this._multiple,this.selectedOptions.selected))}constructor(z,re,B){super(),this._element=z,this._changeDetector=re,this._focusMonitor=B,this._multiple=!0,this._contentInitialized=!1,this.selectionChange=new u.vpe,this.color="accent",this.compareWith=(Y,Qe)=>Y===Qe,this._disabled=!1,this.selectedOptions=new O.Ov(this._multiple),this._tabIndex=-1,this._onChange=Y=>{},this._destroyed=new I.x,this._onTouched=()=>{}}ngAfterContentInit(){this._contentInitialized=!0,this._keyManager=new y.Em(this.options).withWrap().withTypeAhead().withHomeAndEnd().skipPredicate(()=>!1).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this._keyManager.tabOut.subscribe(()=>this._allowFocusEscape()),this.options.changes.pipe((0,Et.O)(null),(0,A.R)(this._destroyed)).subscribe(()=>{this._updateTabIndex()}),this.selectedOptions.changed.pipe((0,A.R)(this._destroyed)).subscribe(z=>{if(z.added)for(let re of z.added)re.selected=!0;if(z.removed)for(let re of z.removed)re.selected=!1}),this._focusMonitor.monitor(this._element).pipe((0,A.R)(this._destroyed)).subscribe(z=>{if("keyboard"===z||"program"===z){let re=0;for(let B=0;B<this.options.length;B++)if(this.options.get(B)?.selected){re=B;break}this._keyManager.setActiveItem(re)}})}ngOnChanges(z){const re=z.disableRipple,B=z.color;(re&&!re.firstChange||B&&!B.firstChange)&&this._markOptionsForCheck()}ngOnDestroy(){this._keyManager?.destroy(),this._focusMonitor.stopMonitoring(this._element),this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0}focus(z){this._element.nativeElement.focus(z)}selectAll(){return this._setAllOptionsSelected(!0)}deselectAll(){return this._setAllOptionsSelected(!1)}_setFocusedOption(z){this._keyManager.updateActiveItem(z)}_removeOptionFromList(z){const re=this._getOptionIndex(z);return re>-1&&this._keyManager.activeItemIndex===re&&(re>0?this._keyManager.updateActiveItem(re-1):0===re&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(re+1,this.options.length-1))),this._keyManager.activeItem}_keydown(z){const re=z.keyCode,B=this._keyManager,Y=B.activeItemIndex,Qe=(0,M.Vb)(z);switch(re){case M.L_:case M.K5:!Qe&&!B.isTyping()&&(this._toggleFocusedOption(),z.preventDefault());break;default:if(re===M.A&&this.multiple&&(0,M.Vb)(z,"ctrlKey")&&!B.isTyping()){const _t=this.options.some(Vt=>!Vt.disabled&&!Vt.selected);this._setAllOptionsSelected(_t,!0,!0),z.preventDefault()}else B.onKeydown(z)}this.multiple&&(re===M.LH||re===M.JH)&&z.shiftKey&&B.activeItemIndex!==Y&&this._toggleFocusedOption()}_reportValueChange(){if(this.options&&!this._isDestroyed){const z=this._getSelectedOptionValues();this._onChange(z),this._value=z}}_emitChangeEvent(z){this.selectionChange.emit(new et(this,z))}writeValue(z){this._value=z,this.options&&this._setOptionsFromValues(z||[])}setDisabledState(z){this.disabled=z}registerOnChange(z){this._onChange=z}registerOnTouched(z){this._onTouched=z}_setOptionsFromValues(z){this.options.forEach(re=>re._setSelected(!1)),z.forEach(re=>{const B=this.options.find(Y=>!Y.selected&&this.compareWith(Y.value,re));B&&B._setSelected(!0)})}_getSelectedOptionValues(){return this.options.filter(z=>z.selected).map(z=>z.value)}_toggleFocusedOption(){let z=this._keyManager.activeItemIndex;if(null!=z&&this._isValidIndex(z)){let re=this.options.toArray()[z];re&&!re.disabled&&(this._multiple||!re.selected)&&(re.toggle(),this._emitChangeEvent([re]))}}_setAllOptionsSelected(z,re,B){const Y=[];return this.options.forEach(Qe=>{(!re||!Qe.disabled)&&Qe._setSelected(z)&&Y.push(Qe)}),Y.length&&(this._reportValueChange(),B&&this._emitChangeEvent(Y)),Y}_isValidIndex(z){return z>=0&&z<this.options.length}_getOptionIndex(z){return this.options.toArray().indexOf(z)}_markOptionsForCheck(){this.options&&this.options.forEach(z=>z._markForCheck())}_allowFocusEscape(){this._tabIndex=-1,setTimeout(()=>{this._tabIndex=0,this._changeDetector.markForCheck()})}_updateTabIndex(){this._tabIndex=0===this.options.length?-1:0}static#e=this.\u0275fac=function(re){return new(re||k)(u.Y36(u.SBq),u.Y36(u.sBO),u.Y36(y.tE))};static#t=this.\u0275cmp=u.Xpm({type:k,selectors:[["mat-selection-list"]],contentQueries:function(re,B,Y){if(1&re&&u.Suo(Y,j,5),2&re){let Qe;u.iGM(Qe=u.CRH())&&(B.options=Qe)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(re,B){1&re&&u.NdJ("keydown",function(Qe){return B._keydown(Qe)}),2&re&&u.uIk("aria-multiselectable",B.multiple)("aria-disabled",B.disabled.toString())("tabindex",B._tabIndex)},inputs:{disableRipple:"disableRipple",color:"color",compareWith:"compareWith",disabled:"disabled",multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[u._Bn([xe]),u.qOj,u.TTD],ngContentSelectors:tn,decls:1,vars:0,template:function(re,B){1&re&&(u.F$t(),u.Hsn(0))},styles:[rn],encapsulation:2,changeDetection:0})}return k})(),N=(()=>{class k{static#e=this.\u0275fac=function(re){return new(re||k)};static#t=this.\u0275mod=u.oAB({type:k});static#n=this.\u0275inj=u.cJS({imports:[e.uc,e.si,e.BQ,e.us,t.ez,e.uc,e.BQ,e.us,Tt.t]})}return k})()},6718:(jt,$e,s)=>{"use strict";s.d($e,{W0:()=>Ee,tN:()=>Ge,jT:()=>Tt,D8:()=>Ke});var t=s(9212),u=s(4300),e=s(2495),m=s(6028),p=s(8645),U=s(3019),n=s(7394),I=s(2096),L=s(6410),y=s(7921),O=s(4664),M=s(8180),E=s(9773),A=s(2181),S=s(5177),Z=s(3680),oe=s(6814),le=s(8484),ee=s(6825),K=s(9388),Q=s(9594),q=s(2831);const H=["mat-menu-item",""];function T(tn,rn){1&tn&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"polygon",4),t.qZA())}const ie=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],_e=["mat-icon, [matMenuItemIcon]","*"],ae=new t.OlP("MAT_MENU_PANEL"),pe=(0,Z.Kr)((0,Z.Id)(class{}));let Ae=(()=>{class tn extends pe{constructor(Nt,ft,Bt,Ue,nt){super(),this._elementRef=Nt,this._document=ft,this._focusMonitor=Bt,this._parentMenu=Ue,this._changeDetectorRef=nt,this.role="menuitem",this._hovered=new p.x,this._focused=new p.x,this._highlighted=!1,this._triggersSubmenu=!1,Ue?.addItem?.(this)}focus(Nt,ft){this._focusMonitor&&Nt?this._focusMonitor.focusVia(this._getHostElement(),Nt,ft):this._getHostElement().focus(ft),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(Nt){this.disabled&&(Nt.preventDefault(),Nt.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Nt=this._elementRef.nativeElement.cloneNode(!0),ft=Nt.querySelectorAll("mat-icon, .material-icons");for(let Bt=0;Bt<ft.length;Bt++)ft[Bt].remove();return Nt.textContent?.trim()||""}_setHighlighted(Nt){this._highlighted=Nt,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(Nt){this._triggersSubmenu=Nt,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(ft){return new(ft||tn)(t.Y36(t.SBq),t.Y36(oe.K0),t.Y36(u.tE),t.Y36(ae,8),t.Y36(t.sBO))};static#t=this.\u0275cmp=t.Xpm({type:tn,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(ft,Bt){1&ft&&t.NdJ("click",function(nt){return Bt._checkDisabled(nt)})("mouseenter",function(){return Bt._handleMouseEnter()}),2&ft&&(t.uIk("role",Bt.role)("tabindex",Bt._getTabIndex())("aria-disabled",Bt.disabled)("disabled",Bt.disabled||null),t.ekj("mat-mdc-menu-item-highlighted",Bt._highlighted)("mat-mdc-menu-item-submenu-trigger",Bt._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[t.qOj],attrs:H,ngContentSelectors:_e,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ft,Bt){1&ft&&(t.F$t(ie),t.Hsn(0),t.TgZ(1,"span",0),t.Hsn(2,1),t.qZA(),t._UZ(3,"div",1),t.YNc(4,T,2,0,"svg",2)),2&ft&&(t.xp6(3),t.Q6J("matRippleDisabled",Bt.disableRipple||Bt.disabled)("matRippleTrigger",Bt._getHostElement()),t.xp6(),t.Q6J("ngIf",Bt._triggersSubmenu))},dependencies:[oe.O5,Z.wG],encapsulation:2,changeDetection:0})}return tn})();const Xe=new t.OlP("MatMenuContent"),we={transformMenu:(0,ee.X$)("transformMenu",[(0,ee.SB)("void",(0,ee.oB)({opacity:0,transform:"scale(0.8)"})),(0,ee.eR)("void => enter",(0,ee.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.oB)({opacity:1,transform:"scale(1)"}))),(0,ee.eR)("* => void",(0,ee.jt)("100ms 25ms linear",(0,ee.oB)({opacity:0})))]),fadeInItems:(0,ee.X$)("fadeInItems",[(0,ee.SB)("showing",(0,ee.oB)({opacity:1})),(0,ee.eR)("void => *",[(0,ee.oB)({opacity:0}),(0,ee.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Se=0;const G=new t.OlP("mat-menu-default-options",{providedIn:"root",factory:function be(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let de=(()=>{class tn{get xPosition(){return this._xPosition}set xPosition(Nt){this._xPosition=Nt,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Nt){this._yPosition=Nt,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Nt){this._overlapTrigger=(0,e.Ig)(Nt)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Nt){this._hasBackdrop=(0,e.Ig)(Nt)}set panelClass(Nt){const ft=this._previousPanelClass;ft&&ft.length&&ft.split(" ").forEach(Bt=>{this._classList[Bt]=!1}),this._previousPanelClass=Nt,Nt&&Nt.length&&(Nt.split(" ").forEach(Bt=>{this._classList[Bt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Nt){this.panelClass=Nt}constructor(Nt,ft,Bt,Ue){this._elementRef=Nt,this._ngZone=ft,this._changeDetectorRef=Ue,this._directDescendantItems=new t.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new p.x,this.closed=new t.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Se++,this.overlayPanelClass=Bt.overlayPanelClass||"",this._xPosition=Bt.xPosition,this._yPosition=Bt.yPosition,this.backdropClass=Bt.backdropClass,this._overlapTrigger=Bt.overlapTrigger,this._hasBackdrop=Bt.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new u.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,y.O)(this._directDescendantItems),(0,O.w)(Nt=>(0,U.T)(...Nt.map(ft=>ft._focused)))).subscribe(Nt=>this._keyManager.updateActiveItem(Nt)),this._directDescendantItems.changes.subscribe(Nt=>{const ft=this._keyManager;if("enter"===this._panelAnimationState&&ft.activeItem?._hasFocus()){const Bt=Nt.toArray(),Ue=Math.max(0,Math.min(Bt.length-1,ft.activeItemIndex||0));Bt[Ue]&&!Bt[Ue].disabled?ft.setActiveItem(Ue):ft.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,y.O)(this._directDescendantItems),(0,O.w)(ft=>(0,U.T)(...ft.map(Bt=>Bt._hovered))))}addItem(Nt){}removeItem(Nt){}_handleKeydown(Nt){const ft=Nt.keyCode,Bt=this._keyManager;switch(ft){case m.hY:(0,m.Vb)(Nt)||(Nt.preventDefault(),this.closed.emit("keydown"));break;case m.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case m.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ft===m.LH||ft===m.JH)&&Bt.setFocusOrigin("keyboard"),void Bt.onKeydown(Nt)}Nt.stopPropagation()}focusFirstItem(Nt="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,M.q)(1)).subscribe(()=>{let ft=null;if(this._directDescendantItems.length&&(ft=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ft||!ft.contains(document.activeElement)){const Bt=this._keyManager;Bt.setFocusOrigin(Nt).setFirstItemActive(),!Bt.activeItem&&ft&&ft.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Nt){const ft=Math.min(this._baseElevation+Nt,24),Bt=`${this._elevationPrefix}${ft}`,Ue=Object.keys(this._classList).find(nt=>nt.startsWith(this._elevationPrefix));(!Ue||Ue===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Bt]=!0,this._previousElevation=Bt)}setPositionClasses(Nt=this.xPosition,ft=this.yPosition){const Bt=this._classList;Bt["mat-menu-before"]="before"===Nt,Bt["mat-menu-after"]="after"===Nt,Bt["mat-menu-above"]="above"===ft,Bt["mat-menu-below"]="below"===ft,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Nt){this._animationDone.next(Nt),this._isAnimating=!1}_onAnimationStart(Nt){this._isAnimating=!0,"enter"===Nt.toState&&0===this._keyManager.activeItemIndex&&(Nt.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,y.O)(this._allItems)).subscribe(Nt=>{this._directDescendantItems.reset(Nt.filter(ft=>ft._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(ft){return new(ft||tn)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(G),t.Y36(t.sBO))};static#t=this.\u0275dir=t.lG2({type:tn,contentQueries:function(ft,Bt,Ue){if(1&ft&&(t.Suo(Ue,Xe,5),t.Suo(Ue,Ae,5),t.Suo(Ue,Ae,4)),2&ft){let nt;t.iGM(nt=t.CRH())&&(Bt.lazyContent=nt.first),t.iGM(nt=t.CRH())&&(Bt._allItems=nt),t.iGM(nt=t.CRH())&&(Bt.items=nt)}},viewQuery:function(ft,Bt){if(1&ft&&t.Gf(t.Rgc,5),2&ft){let Ue;t.iGM(Ue=t.CRH())&&(Bt.templateRef=Ue.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:[t.lbL.None,"aria-label","ariaLabel"],ariaLabelledby:[t.lbL.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.lbL.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:[t.lbL.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}return tn})();const tt=new t.OlP("mat-menu-scroll-strategy"),Ft={provide:tt,deps:[Q.aV],useFactory:function Re(tn){return()=>tn.scrollStrategies.reposition()}},mt=(0,q.i$)({passive:!0});let hn=(()=>{class tn{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Nt){this.menu=Nt}get menu(){return this._menu}set menu(Nt){Nt!==this._menu&&(this._menu=Nt,this._menuCloseSubscription.unsubscribe(),Nt&&(this._menuCloseSubscription=Nt.close.subscribe(ft=>{this._destroyMenu(ft),("click"===ft||"tab"===ft)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ft)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Nt,ft,Bt,Ue,nt,Ye,zt,$t,Mn){this._overlay=Nt,this._element=ft,this._viewContainerRef=Bt,this._menuItemInstance=Ye,this._dir=zt,this._focusMonitor=$t,this._ngZone=Mn,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=n.w0.EMPTY,this._hoverSubscription=n.w0.EMPTY,this._menuCloseSubscription=n.w0.EMPTY,this._changeDetectorRef=(0,t.f3M)(t.sBO),this._handleTouchStart=Wn=>{(0,u.yG)(Wn)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=Ue,this._parentMaterialMenu=nt instanceof de?nt:void 0,ft.nativeElement.addEventListener("touchstart",this._handleTouchStart,mt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,mt),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&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Nt=this.menu;if(this._menuOpen||!Nt)return;const ft=this._createOverlay(Nt),Bt=ft.getConfig(),Ue=Bt.positionStrategy;this._setPosition(Nt,Ue),Bt.hasBackdrop=null==Nt.hasBackdrop?!this.triggersSubmenu():Nt.hasBackdrop,ft.attach(this._getPortal(Nt)),Nt.lazyContent&&Nt.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Nt),Nt instanceof de&&(Nt._startAnimation(),Nt._directDescendantItems.changes.pipe((0,E.R)(Nt.close)).subscribe(()=>{Ue.withLockedPosition(!1).reapplyLastPosition(),Ue.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Nt,ft){this._focusMonitor&&Nt?this._focusMonitor.focusVia(this._element,Nt,ft):this._element.nativeElement.focus(ft)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Nt){if(!this._overlayRef||!this.menuOpen)return;const ft=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Nt||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ft instanceof de?(ft._resetAnimation(),ft.lazyContent?ft._animationDone.pipe((0,A.h)(Bt=>"void"===Bt.toState),(0,M.q)(1),(0,E.R)(ft.lazyContent._attached)).subscribe({next:()=>ft.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ft?.lazyContent?.detach())}_initMenu(Nt){Nt.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Nt.direction=this.dir,this._setMenuElevation(Nt),Nt.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Nt){if(Nt.setElevation){let ft=0,Bt=Nt.parentMenu;for(;Bt;)ft++,Bt=Bt.parentMenu;Nt.setElevation(ft)}}_setIsMenuOpen(Nt){Nt!==this._menuOpen&&(this._menuOpen=Nt,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Nt),this._changeDetectorRef.markForCheck())}_createOverlay(Nt){if(!this._overlayRef){const ft=this._getOverlayConfig(Nt);this._subscribeToPositions(Nt,ft.positionStrategy),this._overlayRef=this._overlay.create(ft),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Nt){return new Q.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Nt.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Nt.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Nt,ft){Nt.setPositionClasses&&ft.positionChanges.subscribe(Bt=>{const Ue="start"===Bt.connectionPair.overlayX?"after":"before",nt="top"===Bt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Nt.setPositionClasses(Ue,nt)):Nt.setPositionClasses(Ue,nt)})}_setPosition(Nt,ft){let[Bt,Ue]="before"===Nt.xPosition?["end","start"]:["start","end"],[nt,Ye]="above"===Nt.yPosition?["bottom","top"]:["top","bottom"],[zt,$t]=[nt,Ye],[Mn,Wn]=[Bt,Ue],di=0;if(this.triggersSubmenu()){if(Wn=Bt="before"===Nt.xPosition?"start":"end",Ue=Mn="end"===Bt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Pt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Pt?Pt._getHostElement().offsetTop:0}di="bottom"===nt?this._parentInnerPadding:-this._parentInnerPadding}}else Nt.overlapTrigger||(zt="top"===nt?"bottom":"top",$t="top"===Ye?"bottom":"top");ft.withPositions([{originX:Bt,originY:zt,overlayX:Mn,overlayY:nt,offsetY:di},{originX:Ue,originY:zt,overlayX:Wn,overlayY:nt,offsetY:di},{originX:Bt,originY:$t,overlayX:Mn,overlayY:Ye,offsetY:-di},{originX:Ue,originY:$t,overlayX:Wn,overlayY:Ye,offsetY:-di}])}_menuClosingActions(){const Nt=this._overlayRef.backdropClick(),ft=this._overlayRef.detachments(),Bt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,I.of)(),Ue=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,A.h)(nt=>nt!==this._menuItemInstance),(0,A.h)(()=>this._menuOpen)):(0,I.of)();return(0,U.T)(Nt,Bt,Ue,ft)}_handleMousedown(Nt){(0,u.X6)(Nt)||(this._openedBy=0===Nt.button?"mouse":void 0,this.triggersSubmenu()&&Nt.preventDefault())}_handleKeydown(Nt){const ft=Nt.keyCode;(ft===m.K5||ft===m.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ft===m.SV&&"ltr"===this.dir||ft===m.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Nt){this.triggersSubmenu()?(Nt.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,A.h)(Nt=>Nt===this._menuItemInstance&&!Nt.disabled),(0,S.g)(0,L.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof de&&this.menu._isAnimating?this.menu._animationDone.pipe((0,M.q)(1),(0,S.g)(0,L.E),(0,E.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Nt){return(!this._portal||this._portal.templateRef!==Nt.templateRef)&&(this._portal=new le.UE(Nt.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(ft){return new(ft||tn)(t.Y36(Q.aV),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(tt),t.Y36(ae,8),t.Y36(Ae,10),t.Y36(K.Is,8),t.Y36(u.tE),t.Y36(t.R0b))};static#t=this.\u0275dir=t.lG2({type:tn,hostVars:3,hostBindings:function(ft,Bt){1&ft&&t.NdJ("click",function(nt){return Bt._handleClick(nt)})("mousedown",function(nt){return Bt._handleMousedown(nt)})("keydown",function(nt){return Bt._handleKeydown(nt)}),2&ft&&t.uIk("aria-haspopup",Bt.menu?"menu":null)("aria-expanded",Bt.menuOpen)("aria-controls",Bt.menuOpen?Bt.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[t.lbL.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[t.lbL.None,"matMenuTriggerFor","menu"],menuData:[t.lbL.None,"matMenuTriggerData","menuData"],restoreFocus:[t.lbL.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}return tn})();var cn=s(6672);function He(tn,rn){if(1&tn){const Nt=t.EpF();t.TgZ(0,"div",0),t.NdJ("keydown",function(Bt){t.CHM(Nt);const Ue=t.oxw();return t.KtG(Ue._handleKeydown(Bt))})("click",function(){t.CHM(Nt);const Bt=t.oxw();return t.KtG(Bt.closed.emit("click"))})("@transformMenu.start",function(Bt){t.CHM(Nt);const Ue=t.oxw();return t.KtG(Ue._onAnimationStart(Bt))})("@transformMenu.done",function(Bt){t.CHM(Nt);const Ue=t.oxw();return t.KtG(Ue._onAnimationDone(Bt))}),t.TgZ(1,"div",1),t.Hsn(2),t.qZA()()}if(2&tn){const Nt=t.oxw();t.Q6J("id",Nt.panelId)("ngClass",Nt._classList)("@transformMenu",Nt._panelAnimationState),t.uIk("aria-label",Nt.ariaLabel||null)("aria-labelledby",Nt.ariaLabelledby||null)("aria-describedby",Nt.ariaDescribedby||null)}}const fe=["*"],Ne=["mat-menu-item",""];function $(tn,rn){1&tn&&(t.O4$(),t.TgZ(0,"svg",2),t._UZ(1,"polygon",3),t.qZA())}let Ee=(()=>{class tn extends de{constructor(Nt,ft,Bt,Ue){super(Nt,ft,Bt,Ue),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}static#e=this.\u0275fac=function(ft){return new(ft||tn)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(G),t.Y36(t.sBO))};static#t=this.\u0275cmp=t.Xpm({type:tn,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(ft,Bt){2&ft&&t.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[t._Bn([{provide:ae,useExisting:tn}]),t.qOj],ngContentSelectors:fe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(ft,Bt){1&ft&&(t.F$t(),t.YNc(0,He,3,6,"ng-template"))},dependencies:[oe.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;position:relative}.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:rgba(0,0,0,0);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]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top: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}'],encapsulation:2,data:{animation:[we.transformMenu,we.fadeInItems]},changeDetection:0})}return tn})(),Ge=(()=>{class tn extends Ae{static#e=this.\u0275fac=(()=>{let Nt;return function(Bt){return(Nt||(Nt=t.n5z(tn)))(Bt||tn)}})();static#t=this.\u0275cmp=t.Xpm({type:tn,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(ft,Bt){2&ft&&(t.uIk("role",Bt.role)("tabindex",Bt._getTabIndex())("aria-disabled",Bt.disabled.toString())("disabled",Bt.disabled||null),t.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",Bt._highlighted)("mat-menu-item-submenu-trigger",Bt._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[t._Bn([{provide:Ae,useExisting:tn}]),t.qOj],attrs:Ne,ngContentSelectors:fe,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","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ft,Bt){1&ft&&(t.F$t(),t.Hsn(0),t._UZ(1,"div",0),t.YNc(2,$,2,0,"svg",1)),2&ft&&(t.xp6(),t.Q6J("matRippleDisabled",Bt.disableRipple||Bt.disabled)("matRippleTrigger",Bt._getHostElement()),t.xp6(),t.Q6J("ngIf",Bt._triggersSubmenu))},dependencies:[oe.O5,Z.wG],encapsulation:2,changeDetection:0})}return tn})(),Ke=(()=>{class tn extends hn{static#e=this.\u0275fac=(()=>{let Nt;return function(Bt){return(Nt||(Nt=t.n5z(tn)))(Bt||tn)}})();static#t=this.\u0275dir=t.lG2({type:tn,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[t.qOj]})}return tn})(),Tt=(()=>{class tn{static#e=this.\u0275fac=function(ft){return new(ft||tn)};static#t=this.\u0275mod=t.oAB({type:tn});static#n=this.\u0275inj=t.cJS({providers:[Ft],imports:[oe.ez,Z.BQ,Z.si,Q.U8,cn.ZD,Z.BQ]})}return tn})()},1335:(jt,$e,s)=>{"use strict";s.d($e,{cl:()=>Xe,gf:()=>Ie});var t=s(6814),u=s(9212),e=s(3680),m=s(4505),p=s(1798),U=s(481),n=s(8645),I=s(2495);let S=(()=>{class W{constructor(){this.changes=new n.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(P,V,Se)=>{if(0==Se||0==V)return`0 of ${Se}`;const G=P*V;return`${G+1} \u2013 ${G<(Se=Math.max(Se,0))?Math.min(G+V,Se):G+V} of ${Se}`}}static#e=this.\u0275fac=function(V){return new(V||W)};static#t=this.\u0275prov=u.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const oe={provide:S,deps:[[new u.FiY,new u.tp0,S]],useFactory:function Z(W){return W||new S}},Q=(0,e.Id)((0,e.dB)(class{}));let q=(()=>{class W extends Q{get pageIndex(){return this._pageIndex}set pageIndex(P){this._pageIndex=Math.max((0,I.su)(P),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(P){this._length=(0,I.su)(P),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(P){this._pageSize=Math.max((0,I.su)(P),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(P){this._pageSizeOptions=(P||[]).map(V=>(0,I.su)(V)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(P){this._hidePageSize=(0,I.Ig)(P)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(P){this._showFirstLastButtons=(0,I.Ig)(P)}constructor(P,V,Se){if(super(),this._intl=P,this._changeDetectorRef=V,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new u.vpe,this._intlChanges=P.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),Se){const{pageSize:G,pageSizeOptions:be,hidePageSize:de,showFirstLastButtons:De}=Se;null!=G&&(this._pageSize=G),null!=be&&(this._pageSizeOptions=be),null!=de&&(this._hidePageSize=de),null!=De&&(this._showFirstLastButtons=De)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const P=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(P)}previousPage(){if(!this.hasPreviousPage())return;const P=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(P)}firstPage(){if(!this.hasPreviousPage())return;const P=this.pageIndex;this.pageIndex=0,this._emitPageEvent(P)}lastPage(){if(!this.hasNextPage())return;const P=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(P)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const P=this.getNumberOfPages()-1;return this.pageIndex<P&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(P){const Se=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/P)||0,this.pageSize=P,this._emitPageEvent(Se)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((P,V)=>P-V),this._changeDetectorRef.markForCheck())}_emitPageEvent(P){this.page.emit({previousPageIndex:P,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(V){u.$Z()};static#t=this.\u0275dir=u.lG2({type:W,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[u.qOj]})}return W})();var _e=s(4187),Ce=s(4678);function Ve(W,we){if(1&W&&(u.TgZ(0,"mat-option",19),u._uU(1),u.qZA()),2&W){const P=we.$implicit;u.Q6J("value",P),u.xp6(),u.hij(" ",P," ")}}function ae(W,we){if(1&W){const P=u.EpF();u.TgZ(0,"mat-form-field",16)(1,"mat-select",17),u.NdJ("selectionChange",function(Se){u.CHM(P);const G=u.oxw(2);return u.KtG(G._changePageSize(Se.value))}),u.YNc(2,Ve,2,2,"mat-option",18),u.qZA()()}if(2&W){const P=u.oxw(2);u.Q6J("appearance",P._formFieldAppearance)("color",P.color),u.xp6(),u.Q6J("value",P.pageSize)("disabled",P.disabled)("panelClass",P.selectConfig.panelClass||"")("disableOptionCentering",P.selectConfig.disableOptionCentering)("aria-label",P._intl.itemsPerPageLabel),u.xp6(),u.Q6J("ngForOf",P._displayedPageSizeOptions)}}function pe(W,we){if(1&W&&(u.TgZ(0,"div",20),u._uU(1),u.qZA()),2&W){const P=u.oxw(2);u.xp6(),u.Oqu(P.pageSize)}}function Ae(W,we){if(1&W&&(u.TgZ(0,"div",12)(1,"div",13),u._uU(2),u.qZA(),u.YNc(3,ae,3,8,"mat-form-field",14)(4,pe,2,1,"div",15),u.qZA()),2&W){const P=u.oxw();u.xp6(2),u.hij(" ",P._intl.itemsPerPageLabel," "),u.xp6(),u.Q6J("ngIf",P._displayedPageSizeOptions.length>1),u.xp6(),u.Q6J("ngIf",P._displayedPageSizeOptions.length<=1)}}function Ze(W,we){if(1&W){const P=u.EpF();u.TgZ(0,"button",21),u.NdJ("click",function(){u.CHM(P);const Se=u.oxw();return u.KtG(Se.firstPage())}),u.O4$(),u.TgZ(1,"svg",7),u._UZ(2,"path",22),u.qZA()()}if(2&W){const P=u.oxw();u.Q6J("matTooltip",P._intl.firstPageLabel)("matTooltipDisabled",P._previousButtonsDisabled())("matTooltipPosition","above")("disabled",P._previousButtonsDisabled()),u.uIk("aria-label",P._intl.firstPageLabel)}}function dt(W,we){if(1&W){const P=u.EpF();u.O4$(),u.kcU(),u.TgZ(0,"button",23),u.NdJ("click",function(){u.CHM(P);const Se=u.oxw();return u.KtG(Se.lastPage())}),u.O4$(),u.TgZ(1,"svg",7),u._UZ(2,"path",24),u.qZA()()}if(2&W){const P=u.oxw();u.Q6J("matTooltip",P._intl.lastPageLabel)("matTooltipDisabled",P._nextButtonsDisabled())("matTooltipPosition","above")("disabled",P._nextButtonsDisabled()),u.uIk("aria-label",P._intl.lastPageLabel)}}const Fe=new u.OlP("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let Xe=(()=>{class W extends q{constructor(P,V,Se){super(P,V,Se),Se&&null!=Se.formFieldAppearance&&(this._formFieldAppearance=Se.formFieldAppearance)}static#e=this.\u0275fac=function(V){return new(V||W)(u.Y36(S),u.Y36(u.sBO),u.Y36(Fe,8))};static#t=this.\u0275cmp=u.Xpm({type:W,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[u.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(V,Se){1&V&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,Ae,5,3,"div",2),u.TgZ(3,"div",3)(4,"div",4),u._uU(5),u.qZA(),u.YNc(6,Ze,3,5,"button",5),u.TgZ(7,"button",6),u.NdJ("click",function(){return Se.previousPage()}),u.O4$(),u.TgZ(8,"svg",7),u._UZ(9,"path",8),u.qZA()(),u.kcU(),u.TgZ(10,"button",9),u.NdJ("click",function(){return Se.nextPage()}),u.O4$(),u.TgZ(11,"svg",7),u._UZ(12,"path",10),u.qZA()(),u.YNc(13,dt,3,5,"button",11),u.qZA()()()),2&V&&(u.xp6(2),u.Q6J("ngIf",!Se.hidePageSize),u.xp6(3),u.hij(" ",Se._intl.getRangeLabel(Se.pageIndex,Se.pageSize,Se.length)," "),u.xp6(),u.Q6J("ngIf",Se.showFirstLastButtons),u.xp6(),u.Q6J("matTooltip",Se._intl.previousPageLabel)("matTooltipDisabled",Se._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Se._previousButtonsDisabled()),u.uIk("aria-label",Se._intl.previousPageLabel),u.xp6(3),u.Q6J("matTooltip",Se._intl.nextPageLabel)("matTooltipDisabled",Se._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Se._nextButtonsDisabled()),u.uIk("aria-label",Se._intl.nextPageLabel),u.xp6(3),u.Q6J("ngIf",Se.showFirstLastButtons))},dependencies:[t.sg,t.O5,m.eB,_e.v_,p.x8,Ce.CK,U.Kd],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0})}return W})(),Ie=(()=>{class W{static#e=this.\u0275fac=function(V){return new(V||W)};static#t=this.\u0275mod=u.oAB({type:W});static#n=this.\u0275inj=u.cJS({providers:[oe],imports:[t.ez,m.yu,p.uw,U.AA,e.BQ]})}return W})()},965:(jt,$e,s)=>{"use strict";s.d($e,{eI:()=>le,jc:()=>K});var t=s(9212),u=s(6814),e=s(3680),m=s(2495);const p=new t.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),U=new t.OlP("mat-progress-bar-location",{providedIn:"root",factory:function n(){const Q=(0,t.f3M)(u.K0),q=Q?Q.location:null;return{getPathname:()=>q?q.pathname+q.search:""}}});var M=s(7394),E=s(2438),A=s(2181);const S=["primaryValueBar"],Z=(0,e.pj)(class{constructor(Q){this._elementRef=Q}},"primary");let oe=0,le=(()=>{class Q extends Z{constructor(H,T,ie,_e,Ce,Ve){super(H),this._ngZone=T,this._animationMode=ie,this._changeDetectorRef=Ve,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new t.vpe,this._animationEndSubscription=M.w0.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+oe++;const ae=_e?_e.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${ae}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===ie,Ce&&(Ce.color&&(this.color=this.defaultColor=Ce.color),this.mode=Ce.mode||this.mode)}get value(){return this._value}set value(H){this._value=ee((0,m.su)(H)||0),this._changeDetectorRef?.markForCheck()}get bufferValue(){return this._bufferValue}set bufferValue(H){this._bufferValue=ee(H||0),this._changeDetectorRef?.markForCheck()}_primaryTransform(){return{transform:`scale3d(${this.value/100}, 1, 1)`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scale3d(${this.bufferValue/100}, 1, 1)`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const H=this._primaryValueBar.nativeElement;this._animationEndSubscription=(0,E.R)(H,"transitionend").pipe((0,A.h)(T=>T.target===H)).subscribe(()=>{0!==this.animationEnd.observers.length&&("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}static#e=this.\u0275fac=function(T){return new(T||Q)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.QbO,8),t.Y36(U,8),t.Y36(p,8),t.Y36(t.sBO))};static#t=this.\u0275cmp=t.Xpm({type:Q,selectors:[["mat-progress-bar"]],viewQuery:function(T,ie){if(1&T&&t.Gf(S,5),2&T){let _e;t.iGM(_e=t.CRH())&&(ie._primaryValueBar=_e.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(T,ie){2&T&&(t.uIk("aria-valuenow","indeterminate"===ie.mode||"query"===ie.mode?null:ie.value)("mode",ie.mode),t.ekj("_mat-animation-noopable",ie._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[t.qOj],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(T,ie){1&T&&(t.TgZ(0,"div",0),t.O4$(),t.TgZ(1,"svg",1)(2,"defs")(3,"pattern",2),t._UZ(4,"circle",3),t.qZA()(),t._UZ(5,"rect",4),t.qZA(),t.kcU(),t._UZ(6,"div",5)(7,"div",6,7)(9,"div",8),t.qZA()),2&T&&(t.xp6(3),t.Q6J("id",ie.progressbarId),t.xp6(2),t.uIk("fill",ie._rectangleFillValue),t.xp6(),t.Q6J("ngStyle",ie._bufferTransform()),t.xp6(),t.Q6J("ngStyle",ie._primaryTransform()))},dependencies:[u.PC],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}'],encapsulation:2,changeDetection:0})}return Q})();function ee(Q,q=0,H=100){return Math.max(q,Math.min(H,Q))}let K=(()=>{class Q{static#e=this.\u0275fac=function(T){return new(T||Q)};static#t=this.\u0275mod=t.oAB({type:Q});static#n=this.\u0275inj=t.cJS({imports:[u.ez,e.BQ,e.BQ]})}return Q})()},1438:(jt,$e,s)=>{"use strict";s.d($e,{sN:()=>T,UK:()=>ie});var t=s(2495),u=s(2831),e=s(6672),m=s(6814),p=s(9212),U=s(3680);const y=new p.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function O(){return{diameter:M}}}),M=100;var oe=s(7394);function le(Ce,Ve){if(1&Ce&&(p.O4$(),p._UZ(0,"circle",4)),2&Ce){const ae=p.oxw(),pe=p.MAs(1);p.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+ae._spinnerAnimationLabel)("stroke-dashoffset",ae._getStrokeDashOffset(),"px")("stroke-dasharray",ae._getStrokeCircumference(),"px")("stroke-width",ae._getCircleStrokeWidth(),"%")("transform-origin",ae._getCircleTransformOrigin(pe)),p.uIk("r",ae._getCircleRadius())}}function ee(Ce,Ve){if(1&Ce&&(p.O4$(),p._UZ(0,"circle",4)),2&Ce){const ae=p.oxw(),pe=p.MAs(1);p.Udp("stroke-dashoffset",ae._getStrokeDashOffset(),"px")("stroke-dasharray",ae._getStrokeCircumference(),"px")("stroke-width",ae._getCircleStrokeWidth(),"%")("transform-origin",ae._getCircleTransformOrigin(pe)),p.uIk("r",ae._getCircleRadius())}}const q=(0,U.pj)(class{constructor(Ce){this._elementRef=Ce}},"primary");class T extends q{static#e=this._diameters=new WeakMap;get diameter(){return this._diameter}set diameter(Ve){this._diameter=(0,t.su)(Ve),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(Ve){this._strokeWidth=(0,t.su)(Ve)}get value(){return"determinate"===this.mode?this._value:0}set value(Ve){this._value=Math.max(0,Math.min(100,(0,t.su)(Ve)))}constructor(Ve,ae,pe,Ae,Ze,dt,Fe,Xe,Ie){super(Ve),this._document=pe,this._nonce=Ie,this._diameter=100,this._value=0,this._resizeSubscription=oe.w0.EMPTY,this.mode="determinate";const W=T._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),W.has(pe.head)||W.set(pe.head,new Set([100])),this._noopAnimations="NoopAnimations"===Ae&&!!Ze&&!Ze._forceAnimations,"mat-spinner"===Ve.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),Ze&&(Ze.color&&(this.color=this.defaultColor=Ze.color),Ze.diameter&&(this.diameter=Ze.diameter),Ze.strokeWidth&&(this.strokeWidth=Ze.strokeWidth)),ae.isBrowser&&ae.SAFARI&&Fe&&dt&&Xe&&(this._resizeSubscription=Fe.change(150).subscribe(()=>{"indeterminate"===this.mode&&Xe.run(()=>dt.markForCheck())}))}ngOnInit(){const Ve=this._elementRef.nativeElement;this._styleRoot=(0,u.kV)(Ve)||this._document.head,this._attachStyleNode(),Ve.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const Ve=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${Ve} ${Ve}`}_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(Ve){const ae=50*(Ve.currentScale??1);return`${ae}% ${ae}%`}_attachStyleNode(){const Ve=this._styleRoot,ae=this._diameter,pe=T._diameters;let Ae=pe.get(Ve);if(!Ae||!Ae.has(ae)){const Ze=this._document.createElement("style");this._nonce&&(Ze.nonce=this._nonce),Ze.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),Ze.textContent=this._getAnimationText(),Ve.appendChild(Ze),Ae||(Ae=new Set,pe.set(Ve,Ae)),Ae.add(ae)}}_getAnimationText(){const Ve=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*Ve).replace(/END_VALUE/g,""+.2*Ve).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}static#t=this.\u0275fac=function(ae){return new(ae||T)(p.Y36(p.SBq),p.Y36(u.t4),p.Y36(m.K0,8),p.Y36(p.QbO,8),p.Y36(y),p.Y36(p.sBO),p.Y36(e.rL),p.Y36(p.R0b),p.Y36(p.Ojb,8))};static#n=this.\u0275cmp=p.Xpm({type:T,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(ae,pe){2&ae&&(p.uIk("aria-valuemin","determinate"===pe.mode?0:null)("aria-valuemax","determinate"===pe.mode?100:null)("aria-valuenow","determinate"===pe.mode?pe.value:null)("mode",pe.mode),p.Udp("width",pe.diameter,"px")("height",pe.diameter,"px"),p.ekj("_mat-animation-noopable",pe._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[p.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(ae,pe){1&ae&&(p.O4$(),p.TgZ(0,"svg",0,1),p.YNc(2,le,1,11,"circle",2)(3,ee,1,9,"circle",3),p.qZA()),2&ae&&(p.Udp("width",pe.diameter,"px")("height",pe.diameter,"px"),p.Q6J("ngSwitch","indeterminate"===pe.mode),p.uIk("viewBox",pe._getViewBox()),p.xp6(2),p.Q6J("ngSwitchCase",!0),p.xp6(),p.Q6J("ngSwitchCase",!1))},dependencies:[m.RF,m.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:rgba(0,0,0,0);transition:stroke-dashoffset 225ms linear}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}.mat-progress-spinner[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-progress-spinner._mat-animation-noopable svg,.mat-progress-spinner._mat-animation-noopable circle{animation:none;transition: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)}}"],encapsulation:2,changeDetection:0})}let ie=(()=>{class Ce{static#e=this.\u0275fac=function(pe){return new(pe||Ce)};static#t=this.\u0275mod=p.oAB({type:Ce});static#n=this.\u0275inj=p.cJS({imports:[U.BQ,m.ez,U.BQ]})}return Ce})()},1036:(jt,$e,s)=>{"use strict";s.d($e,{vy:()=>_e,OY:()=>ie,Xo:()=>Ce});var t=s(9212),u=s(3680),e=s(4300),m=s(8337),p=s(6223),U=s(2495);const n=["input"];let L=0;class y{constructor(ae,pe){this.source=ae,this.value=pe}}const M=new t.OlP("MatRadioGroup"),E=new t.OlP("mat-radio-default-options",{providedIn:"root",factory:function A(){return{color:"accent"}}});let S=(()=>{class Ve{get name(){return this._name}set name(pe){this._name=pe,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(pe){this._labelPosition="before"===pe?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(pe){this._value!==pe&&(this._value=pe,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(pe){this._selected=pe,this.value=pe?pe.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(pe){this._disabled=(0,U.Ig)(pe),this._markRadiosForCheck()}get required(){return this._required}set required(pe){this._required=(0,U.Ig)(pe),this._markRadiosForCheck()}constructor(pe){this._changeDetector=pe,this._value=null,this._name="mat-radio-group-"+L++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new t.vpe}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(pe=>pe===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(pe=>{pe.name=this.name,pe._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(Ae=>{Ae.checked=this.value===Ae.value,Ae.checked&&(this._selected=Ae)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new y(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(pe=>pe._markForCheck())}writeValue(pe){this.value=pe,this._changeDetector.markForCheck()}registerOnChange(pe){this._controlValueAccessorChangeFn=pe}registerOnTouched(pe){this.onTouched=pe}setDisabledState(pe){this.disabled=pe,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(Ae){return new(Ae||Ve)(t.Y36(t.sBO))};static#t=this.\u0275dir=t.lG2({type:Ve,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}})}return Ve})();class Z{constructor(ae){this._elementRef=ae}}const oe=(0,u.Kr)((0,u.sb)(Z));let le=(()=>{class Ve extends oe{get checked(){return this._checked}set checked(pe){const Ae=(0,U.Ig)(pe);this._checked!==Ae&&(this._checked=Ae,Ae&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!Ae&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),Ae&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(pe){this._value!==pe&&(this._value=pe,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===pe),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(pe){this._labelPosition=pe}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(pe){this._setDisabled((0,U.Ig)(pe))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(pe){this._required=(0,U.Ig)(pe)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(pe){this._color=pe}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(pe,Ae,Ze,dt,Fe,Xe,Ie,W){super(Ae),this._changeDetector=Ze,this._focusMonitor=dt,this._radioDispatcher=Fe,this._providerOverride=Ie,this._uniqueId="mat-radio-"+ ++L,this.id=this._uniqueId,this.change=new t.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=pe,this._noopAnimations="NoopAnimations"===Xe,W&&(this.tabIndex=(0,U.su)(W,0))}focus(pe,Ae){Ae?this._focusMonitor.focusVia(this._inputElement,Ae,pe):this._inputElement.nativeElement.focus(pe)}_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),this._removeUniqueSelectionListener=this._radioDispatcher.listen((pe,Ae)=>{pe!==this.id&&Ae===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(pe=>{!pe&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new y(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(pe){pe.stopPropagation()}_onInputInteraction(pe){if(pe.stopPropagation(),!this.checked&&!this.disabled){const Ae=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Ae&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(pe){this._onInputInteraction(pe),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(pe){this._disabled!==pe&&(this._disabled=pe,this._changeDetector.markForCheck())}_updateTabIndex(){const pe=this.radioGroup;let Ae;if(Ae=pe&&pe.selected&&!this.disabled?pe.selected===this?this.tabIndex:-1:this.tabIndex,Ae!==this._previousTabIndex){const Ze=this._inputElement?.nativeElement;Ze&&(Ze.setAttribute("tabindex",Ae+""),this._previousTabIndex=Ae)}}static#e=this.\u0275fac=function(Ae){t.$Z()};static#t=this.\u0275dir=t.lG2({type:Ve,viewQuery:function(Ae,Ze){if(1&Ae&&t.Gf(n,5),2&Ae){let dt;t.iGM(dt=t.CRH())&&(Ze._inputElement=dt.first)}},inputs:{id:"id",name:"name",ariaLabel:[t.lbL.None,"aria-label","ariaLabel"],ariaLabelledby:[t.lbL.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[t.lbL.None,"aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[t.qOj]})}return Ve})();const q=Ve=>({enterDuration:Ve}),H=["*"],T={provide:p.JU,useExisting:(0,t.Gpc)(()=>ie),multi:!0};let ie=(()=>{class Ve extends S{static#e=this.\u0275fac=(()=>{let pe;return function(Ze){return(pe||(pe=t.n5z(Ve)))(Ze||Ve)}})();static#t=this.\u0275dir=t.lG2({type:Ve,selectors:[["mat-radio-group"]],contentQueries:function(Ae,Ze,dt){if(1&Ae&&t.Suo(dt,_e,5),2&Ae){let Fe;t.iGM(Fe=t.CRH())&&(Ze._radios=Fe)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[t._Bn([T,{provide:M,useExisting:Ve}]),t.qOj]})}return Ve})(),_e=(()=>{class Ve extends le{constructor(pe,Ae,Ze,dt,Fe,Xe,Ie,W){super(pe,Ae,Ze,dt,Fe,Xe,Ie,W)}static#e=this.\u0275fac=function(Ae){return new(Ae||Ve)(t.Y36(M,8),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(e.tE),t.Y36(m.A8),t.Y36(t.QbO,8),t.Y36(E,8),t.$8M("tabindex"))};static#t=this.\u0275cmp=t.Xpm({type:Ve,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(Ae,Ze){1&Ae&&t.NdJ("focus",function(){return Ze._inputElement.nativeElement.focus()}),2&Ae&&(t.uIk("tabindex",null)("id",Ze.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),t.ekj("mat-radio-checked",Ze.checked)("mat-radio-disabled",Ze.disabled)("_mat-animation-noopable",Ze._noopAnimations)("mat-primary","primary"===Ze.color)("mat-accent","accent"===Ze.color)("mat-warn","warn"===Ze.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[t.qOj],ngContentSelectors:H,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(Ae,Ze){if(1&Ae&&(t.F$t(),t.TgZ(0,"label",0,1)(2,"span",2),t._UZ(3,"span",3)(4,"span",4),t.TgZ(5,"input",5,6),t.NdJ("change",function(Fe){return Ze._onInputInteraction(Fe)})("click",function(Fe){return Ze._onInputClick(Fe)}),t.qZA(),t.TgZ(7,"span",7),t._UZ(8,"span",8),t.qZA()(),t.TgZ(9,"span",9)(10,"span",10),t._uU(11,"\xa0"),t.qZA(),t.Hsn(12),t.qZA()()),2&Ae){const dt=t.MAs(1);t.uIk("for",Ze.inputId),t.xp6(5),t.Q6J("id",Ze.inputId)("checked",Ze.checked)("disabled",Ze.disabled)("required",Ze.required),t.uIk("name",Ze.name)("value",Ze.value)("aria-label",Ze.ariaLabel)("aria-labelledby",Ze.ariaLabelledby)("aria-describedby",Ze.ariaDescribedby),t.xp6(2),t.Q6J("matRippleTrigger",dt)("matRippleDisabled",Ze._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",t.VKq(17,q,Ze._noopAnimations?0:150)),t.xp6(2),t.ekj("mat-radio-label-before","before"==Ze.labelPosition)}},dependencies:[u.wG],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);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}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0})}return Ve})(),Ce=(()=>{class Ve{static#e=this.\u0275fac=function(Ae){return new(Ae||Ve)};static#t=this.\u0275mod=t.oAB({type:Ve});static#n=this.\u0275inj=t.cJS({imports:[u.si,u.BQ,u.BQ]})}return Ve})()},1798:(jt,$e,s)=>{"use strict";s.d($e,{x8:()=>ft,uw:()=>Bt,Cb:()=>Nt});var t=s(9594),u=s(6814),e=s(9212),m=s(3680),p=s(4678),U=s(1043),n=s(4187),I=s(6672),L=s(4300),y=s(9388),O=s(2495),M=s(8337),E=s(6028),A=s(6223),S=s(8645),Z=s(4911),oe=s(3019),le=s(7921),ee=s(4664),K=s(8180),Q=s(2181),q=s(7398),H=s(3997),T=s(9773),ie=s(6825);const _e=["trigger"],Ce=["panel"];let P=0;const V=new e.OlP("mat-select-scroll-strategy"),G=new e.OlP("MAT_SELECT_CONFIG"),be={provide:V,deps:[t.aV],useFactory:function Se(Ue){return()=>Ue.scrollStrategies.reposition()}},de=new e.OlP("MatSelectTrigger"),tt=(0,m.Kr)((0,m.sb)((0,m.Id)((0,m.FD)(class{constructor(Ue,nt,Ye,zt,$t){this._elementRef=Ue,this._defaultErrorStateMatcher=nt,this._parentForm=Ye,this._parentFormGroup=zt,this.ngControl=$t,this.stateChanges=new S.x}}))));let Re=(()=>{class Ue extends tt{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Ye){this._placeholder=Ye,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(A.kI.required)??!1}set required(Ye){this._required=(0,O.Ig)(Ye),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ye){this._multiple=(0,O.Ig)(Ye)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ye){this._disableOptionCentering=(0,O.Ig)(Ye)}get compareWith(){return this._compareWith}set compareWith(Ye){this._compareWith=Ye,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ye){this._assignValue(Ye)&&this._onChange(Ye)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ye){this._typeaheadDebounceInterval=(0,O.su)(Ye)}get id(){return this._id}set id(Ye){this._id=Ye||this._uid,this.stateChanges.next()}constructor(Ye,zt,$t,Mn,Wn,di,Pt,Xt,Le,ue,X,xe,et,j){super(Wn,Mn,Pt,Xt,ue),this._viewportRuler=Ye,this._changeDetectorRef=zt,this._ngZone=$t,this._dir=di,this._parentFormField=Le,this._liveAnnouncer=et,this._defaultOptions=j,this._panelOpen=!1,this._compareWith=(F,N)=>F===N,this._uid="mat-select-"+P++,this._triggerAriaLabelledBy=null,this._destroy=new S.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+P++,this._panelDoneAnimatingStream=new S.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,Z.P)(()=>{const F=this.options;return F?F.changes.pipe((0,le.O)(F),(0,ee.w)(()=>(0,oe.T)(...F.map(N=>N.onSelectionChange)))):this._ngZone.onStable.pipe((0,K.q)(1),(0,ee.w)(()=>this.optionSelectionChanges))}),this.openedChange=new e.vpe,this._openedStream=this.openedChange.pipe((0,Q.h)(F=>F),(0,q.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Q.h)(F=>!F),(0,q.U)(()=>{})),this.selectionChange=new e.vpe,this.valueChange=new e.vpe,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=j?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=j.typeaheadDebounceInterval),this._scrollStrategyFactory=xe,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(X)||0,this.id=this.id}ngOnInit(){this._selectionModel=new M.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,H.x)(),(0,T.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,T.R)(this._destroy)).subscribe(Ye=>{Ye.added.forEach(zt=>zt.select()),Ye.removed.forEach(zt=>zt.deselect())}),this.options.changes.pipe((0,le.O)(null),(0,T.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ye=this._getTriggerAriaLabelledby(),zt=this.ngControl;if(Ye!==this._triggerAriaLabelledBy){const $t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ye,Ye?$t.setAttribute("aria-labelledby",Ye):$t.removeAttribute("aria-labelledby")}zt&&(this._previousControl!==zt.control&&(void 0!==this._previousControl&&null!==zt.disabled&&zt.disabled!==this.disabled&&(this.disabled=zt.disabled),this._previousControl=zt.control),this.updateErrorState())}ngOnChanges(Ye){(Ye.disabled||Ye.userAriaDescribedBy)&&this.stateChanges.next(),Ye.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const Ye=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Ye)return;const zt=`${this.id}-panel`;this._trackedModal&&(0,L.iD)(this._trackedModal,"aria-owns",zt),(0,L.Zf)(Ye,"aria-owns",zt),this._trackedModal=Ye}_clearFromModal(){this._trackedModal&&((0,L.iD)(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Ye){this._assignValue(Ye)}registerOnChange(Ye){this._onChange=Ye}registerOnTouched(Ye){this._onTouched=Ye}setDisabledState(Ye){this.disabled=Ye,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ye=this._selectionModel.selected.map(zt=>zt.viewValue);return this._isRtl()&&Ye.reverse(),Ye.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ye){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ye):this._handleClosedKeydown(Ye))}_handleClosedKeydown(Ye){const zt=Ye.keyCode,$t=zt===E.JH||zt===E.LH||zt===E.oh||zt===E.SV,Mn=zt===E.K5||zt===E.L_,Wn=this._keyManager;if(!Wn.isTyping()&&Mn&&!(0,E.Vb)(Ye)||(this.multiple||Ye.altKey)&&$t)Ye.preventDefault(),this.open();else if(!this.multiple){const di=this.selected;Wn.onKeydown(Ye);const Pt=this.selected;Pt&&di!==Pt&&this._liveAnnouncer.announce(Pt.viewValue,1e4)}}_handleOpenKeydown(Ye){const zt=this._keyManager,$t=Ye.keyCode,Mn=$t===E.JH||$t===E.LH,Wn=zt.isTyping();if(Mn&&Ye.altKey)Ye.preventDefault(),this.close();else if(Wn||$t!==E.K5&&$t!==E.L_||!zt.activeItem||(0,E.Vb)(Ye))if(!Wn&&this._multiple&&$t===E.A&&Ye.ctrlKey){Ye.preventDefault();const di=this.options.some(Pt=>!Pt.disabled&&!Pt.selected);this.options.forEach(Pt=>{Pt.disabled||(di?Pt.select():Pt.deselect())})}else{const di=zt.activeItemIndex;zt.onKeydown(Ye),this._multiple&&Mn&&Ye.shiftKey&&zt.activeItem&&zt.activeItemIndex!==di&&zt.activeItem._selectViaInteraction()}else Ye.preventDefault(),zt.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,K.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(Ye){if(this.options.forEach(zt=>zt.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ye)Array.isArray(Ye),Ye.forEach(zt=>this._selectOptionByValue(zt)),this._sortValues();else{const zt=this._selectOptionByValue(Ye);zt?this._keyManager.updateActiveItem(zt):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ye){const zt=this.options.find($t=>{if(this._selectionModel.isSelected($t))return!1;try{return null!=$t.value&&this._compareWith($t.value,Ye)}catch{return!1}});return zt&&this._selectionModel.select(zt),zt}_assignValue(Ye){return!!(Ye!==this._value||this._multiple&&Array.isArray(Ye))&&(this.options&&this._setSelectionByValue(Ye),this._value=Ye,!0)}_skipPredicate(Ye){return Ye.disabled}_initKeyManager(){this._keyManager=new L.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const Ye=(0,oe.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,T.R)(Ye)).subscribe(zt=>{this._onSelect(zt.source,zt.isUserInput),zt.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,oe.T)(...this.options.map(zt=>zt._stateChanges)).pipe((0,T.R)(Ye)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ye,zt){const $t=this._selectionModel.isSelected(Ye);null!=Ye.value||this._multiple?($t!==Ye.selected&&(Ye.selected?this._selectionModel.select(Ye):this._selectionModel.deselect(Ye)),zt&&this._keyManager.setActiveItem(Ye),this.multiple&&(this._sortValues(),zt&&this.focus())):(Ye.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ye.value)),$t!==this._selectionModel.isSelected(Ye)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ye=this.options.toArray();this._selectionModel.sort((zt,$t)=>this.sortComparator?this.sortComparator(zt,$t,Ye):Ye.indexOf(zt)-Ye.indexOf($t)),this.stateChanges.next()}}_propagateChanges(Ye){let zt=null;zt=this.multiple?this.selected.map($t=>$t.value):this.selected?this.selected.value:Ye,this._value=zt,this.valueChange.emit(zt),this._onChange(zt),this.selectionChange.emit(this._getChangeEvent(zt)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Ye=-1;for(let zt=0;zt<this.options.length;zt++)if(!this.options.get(zt).disabled){Ye=zt;break}this._keyManager.setActiveItem(Ye)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(Ye){this._elementRef.nativeElement.focus(Ye)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ye=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ye?Ye+" ":"")+this.ariaLabelledby:Ye}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ye=this._parentFormField?.getLabelId();let zt=(Ye?Ye+" ":"")+this._valueId;return this.ariaLabelledby&&(zt+=" "+this.ariaLabelledby),zt}_panelDoneAnimating(Ye){this.openedChange.emit(Ye)}setDescribedByIds(Ye){Ye.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ye.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(zt){return new(zt||Ue)(e.Y36(I.rL),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(m.rD),e.Y36(e.SBq),e.Y36(y.Is,8),e.Y36(A.F,8),e.Y36(A.sg,8),e.Y36(U.G_,8),e.Y36(A.a5,10),e.$8M("tabindex"),e.Y36(V),e.Y36(L.Kd),e.Y36(G,8))};static#t=this.\u0275dir=e.lG2({type:Ue,viewQuery:function(zt,$t){if(1&zt&&(e.Gf(_e,5),e.Gf(Ce,5),e.Gf(t.pI,5)),2&zt){let Mn;e.iGM(Mn=e.CRH())&&($t.trigger=Mn.first),e.iGM(Mn=e.CRH())&&($t.panel=Mn.first),e.iGM(Mn=e.CRH())&&($t._overlayDir=Mn.first)}},inputs:{userAriaDescribedBy:[e.lbL.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:[e.lbL.None,"aria-label","ariaLabel"],ariaLabelledby:[e.lbL.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[e.qOj,e.TTD]})}return Ue})();function hn(Ue,nt){if(1&Ue&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&Ue){const Ye=e.oxw();e.xp6(),e.Oqu(Ye.placeholder)}}function Nn(Ue,nt){if(1&Ue&&(e.TgZ(0,"span",12),e._uU(1),e.qZA()),2&Ue){const Ye=e.oxw(2);e.xp6(),e.Oqu(Ye.triggerValue)}}function Jt(Ue,nt){1&Ue&&e.Hsn(0,0,["*ngSwitchCase","true"])}function cn(Ue,nt){if(1&Ue&&(e.TgZ(0,"span",9),e.YNc(1,Nn,2,1,"span",10)(2,Jt,1,0,"ng-content",11),e.qZA()),2&Ue){const Ye=e.oxw();e.Q6J("ngSwitch",!!Ye.customTrigger),e.xp6(2),e.Q6J("ngSwitchCase",!0)}}function He(Ue,nt){if(1&Ue){const Ye=e.EpF();e.TgZ(0,"div",13)(1,"div",14,15),e.NdJ("@transformPanel.done",function($t){e.CHM(Ye);const Mn=e.oxw();return e.KtG(Mn._panelDoneAnimatingStream.next($t.toState))})("keydown",function($t){e.CHM(Ye);const Mn=e.oxw();return e.KtG(Mn._handleKeydown($t))}),e.Hsn(3,1),e.qZA()()}if(2&Ue){const Ye=e.oxw();e.Q6J("@transformPanelWrap",void 0),e.xp6(),e.Gre("mat-select-panel ",Ye._getPanelTheme(),""),e.Udp("transform-origin",Ye._transformOrigin)("font-size",Ye._triggerFontSize,"px"),e.Q6J("ngClass",Ye.panelClass)("@transformPanel",Ye.multiple?"showing-multiple":"showing"),e.uIk("id",Ye.id+"-panel")("aria-multiselectable",Ye.multiple)("aria-label",Ye.ariaLabel||null)("aria-labelledby",Ye._getPanelAriaLabelledby())}}const fe=[[["mat-select-trigger"]],"*"],Ne=["mat-select-trigger","*"],$={transformPanelWrap:(0,ie.X$)("transformPanelWrap",[(0,ie.eR)("* => void",(0,ie.IO)("@transformPanel",[(0,ie.pV)()],{optional:!0}))]),transformPanel:(0,ie.X$)("transformPanel",[(0,ie.SB)("void",(0,ie.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,ie.SB)("showing",(0,ie.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,ie.SB)("showing-multiple",(0,ie.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,ie.eR)("void => *",(0,ie.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,ie.eR)("* => void",(0,ie.jt)("100ms 25ms linear",(0,ie.oB)({opacity:0})))])};class rn{constructor(nt,Ye){this.source=nt,this.value=Ye}}let Nt=(()=>{class Ue{static#e=this.\u0275fac=function(zt){return new(zt||Ue)};static#t=this.\u0275dir=e.lG2({type:Ue,selectors:[["mat-select-trigger"]],features:[e._Bn([{provide:de,useExisting:Ue}])]})}return Ue})(),ft=(()=>{class Ue extends Re{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(Ye,zt,$t){const Mn=this._getItemHeight();return Math.min(Math.max(0,Mn*Ye-zt+Mn/2),$t)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,T.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,K.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(Ye){const zt=(0,m.CB)(Ye,this.options,this.optionGroups),$t=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Ye&&1===zt?0:(0,m.jH)((Ye+zt)*$t,$t,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Ye){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Ye)}_getChangeEvent(Ye){return new rn(this,Ye)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Ye=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),zt=this._viewportRuler.getViewportSize(),$t=this._isRtl(),Mn=this.multiple?56:32;let Wn;if(this.multiple)Wn=40;else if(this.disableOptionCentering)Wn=16;else{let Xt=this._selectionModel.selected[0]||this.options.first;Wn=Xt&&Xt.group?32:16}$t||(Wn*=-1);const di=0-(Ye.left+Wn-($t?Mn:0)),Pt=Ye.right+Wn-zt.width+($t?0:Mn);di>0?Wn+=di+8:Pt>0&&(Wn-=Pt+8),this._overlayDir.offsetX=Math.round(Wn),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Ye,zt,$t){const Mn=this._getItemHeight(),Wn=(Mn-this._triggerRect.height)/2,di=Math.floor(256/Mn);let Pt;return this.disableOptionCentering?0:(Pt=0===this._scrollTop?Ye*Mn:this._scrollTop===$t?(Ye-(this._getItemCount()-di))*Mn+(Mn-(this._getItemCount()*Mn-256)%Mn):zt-Mn/2,Math.round(-1*Pt-Wn))}_checkOverlayWithinViewport(Ye){const zt=this._getItemHeight(),$t=this._viewportRuler.getViewportSize(),Mn=this._triggerRect.top-8,Wn=$t.height-this._triggerRect.bottom-8,di=Math.abs(this._offsetY),Xt=Math.min(this._getItemCount()*zt,256)-di-this._triggerRect.height;Xt>Wn?this._adjustPanelUp(Xt,Wn):di>Mn?this._adjustPanelDown(di,Mn,Ye):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Ye,zt){const $t=Math.round(Ye-zt);this._scrollTop-=$t,this._offsetY-=$t,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Ye,zt,$t){const Mn=Math.round(Ye-zt);if(this._scrollTop+=Mn,this._offsetY+=Mn,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=$t)return this._scrollTop=$t,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Ye=this._getItemHeight(),zt=this._getItemCount(),$t=Math.min(zt*Ye,256),Wn=zt*Ye-$t;let di;di=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),di+=(0,m.CB)(di,this.options,this.optionGroups);const Pt=$t/2;this._scrollTop=this._calculateOverlayScroll(di,Pt,Wn),this._offsetY=this._calculateOverlayOffsetY(di,Pt,Wn),this._checkOverlayWithinViewport(Wn)}_getOriginBasedOnOption(){const Ye=this._getItemHeight(),zt=(Ye-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-zt+Ye/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}static#e=this.\u0275fac=(()=>{let Ye;return function($t){return(Ye||(Ye=e.n5z(Ue)))($t||Ue)}})();static#t=this.\u0275cmp=e.Xpm({type:Ue,selectors:[["mat-select"]],contentQueries:function(zt,$t,Mn){if(1&zt&&(e.Suo(Mn,de,5),e.Suo(Mn,p.CK,5),e.Suo(Mn,m.K7,5)),2&zt){let Wn;e.iGM(Wn=e.CRH())&&($t.customTrigger=Wn.first),e.iGM(Wn=e.CRH())&&($t.options=Wn),e.iGM(Wn=e.CRH())&&($t.optionGroups=Wn)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(zt,$t){1&zt&&e.NdJ("keydown",function(Wn){return $t._handleKeydown(Wn)})("focus",function(){return $t._onFocus()})("blur",function(){return $t._onBlur()}),2&zt&&(e.uIk("id",$t.id)("tabindex",$t.tabIndex)("aria-controls",$t.panelOpen?$t.id+"-panel":null)("aria-expanded",$t.panelOpen)("aria-label",$t.ariaLabel||null)("aria-required",$t.required.toString())("aria-disabled",$t.disabled.toString())("aria-invalid",$t.errorState)("aria-activedescendant",$t._getAriaActiveDescendant()),e.ekj("mat-select-disabled",$t.disabled)("mat-select-invalid",$t.errorState)("mat-select-required",$t.required)("mat-select-empty",$t.empty)("mat-select-multiple",$t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[e._Bn([{provide:U.Eo,useExisting:Ue},{provide:m.HF,useExisting:Ue}]),e.qOj],ngContentSelectors:Ne,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(zt,$t){if(1&zt&&(e.F$t(fe),e.TgZ(0,"div",0,1),e.NdJ("click",function(){return $t.toggle()}),e.TgZ(3,"div",2),e.YNc(4,hn,2,1,"span",3)(5,cn,3,2,"span",4),e.qZA(),e.TgZ(6,"div",5),e._UZ(7,"div",6),e.qZA()(),e.YNc(8,He,4,14,"ng-template",7),e.NdJ("backdropClick",function(){return $t.close()})("attach",function(){return $t._onAttached()})("detach",function(){return $t.close()})),2&zt){const Mn=e.MAs(1);e.uIk("aria-owns",$t.panelOpen?$t.id+"-panel":null),e.xp6(3),e.Q6J("ngSwitch",$t.empty),e.uIk("id",$t._valueId),e.xp6(),e.Q6J("ngSwitchCase",!0),e.xp6(),e.Q6J("ngSwitchCase",!1),e.xp6(3),e.Q6J("cdkConnectedOverlayPanelClass",$t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",$t._scrollStrategy)("cdkConnectedOverlayOrigin",Mn)("cdkConnectedOverlayOpen",$t.panelOpen)("cdkConnectedOverlayPositions",$t._positions)("cdkConnectedOverlayMinWidth",$t._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",$t._offsetY)}},dependencies:[u.mk,u.RF,u.n9,u.ED,t.pI,t.xu],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 rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);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:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[$.transformPanelWrap,$.transformPanel]},changeDetection:0})}return Ue})(),Bt=(()=>{class Ue{static#e=this.\u0275fac=function(zt){return new(zt||Ue)};static#t=this.\u0275mod=e.oAB({type:Ue});static#n=this.\u0275inj=e.cJS({providers:[be],imports:[u.ez,t.U8,p.Uc,m.BQ,I.ZD,n.wp,p.Uc,m.BQ]})}return Ue})()},1830:(jt,$e,s)=>{"use strict";s.d($e,{iZ:()=>Ve,Wd:()=>ae});var t=s(7131),u=s(9212),e=s(3680),m=s(4300),p=s(6223),U=s(2495);s(6814);let A=0;const S=(0,e.sb)((0,e.pj)((0,e.Kr)((0,e.Id)(class{constructor(pe){this._elementRef=pe}}))));let Z=(()=>{class pe extends S{get required(){return this._required}set required(Ze){this._required=(0,U.Ig)(Ze)}get checked(){return this._checked}set checked(Ze){this._checked=(0,U.Ig)(Ze),this._changeDetectorRef.markForCheck()}get hideIcon(){return this._hideIcon}set hideIcon(Ze){this._hideIcon=(0,U.Ig)(Ze)}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(Ze,dt,Fe,Xe,Ie,W,we){super(Ze),this._focusMonitor=dt,this._changeDetectorRef=Fe,this.defaults=Ie,this._onChange=P=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this._hideIcon=!1,this.change=new u.vpe,this.toggleChange=new u.vpe,this.tabIndex=parseInt(Xe)||0,this.color=this.defaultColor=Ie.color||"accent",this._noopAnimations="NoopAnimations"===W,this.id=this._uniqueId=`${we}${++A}`,this._hideIcon=Ie.hideIcon??!1}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Ze=>{"keyboard"===Ze||"program"===Ze?(this._focused=!0,this._changeDetectorRef.markForCheck()):Ze||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(Ze){this.checked=!!Ze}registerOnChange(Ze){this._onChange=Ze}registerOnTouched(Ze){this._onTouched=Ze}setDisabledState(Ze){this.disabled=Ze,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}static#e=this.\u0275fac=function(dt){u.$Z()};static#t=this.\u0275dir=u.lG2({type:pe,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[u.lbL.None,"aria-label","ariaLabel"],ariaLabelledby:[u.lbL.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[u.lbL.None,"aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[u.qOj]})}return pe})(),K=(()=>{class pe{static#e=this.\u0275fac=function(dt){return new(dt||pe)};static#t=this.\u0275mod=u.oAB({type:pe});static#n=this.\u0275inj=u.cJS({})}return pe})();const q=["input"],H=pe=>({enterDuration:pe}),T=["*"],ie=new u.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),_e={provide:p.JU,useExisting:(0,u.Gpc)(()=>Ve),multi:!0};class Ce{constructor(Ae,Ze){this.source=Ae,this.checked=Ze}}let Ve=(()=>{class pe extends Z{constructor(Ze,dt,Fe,Xe,Ie,W){super(Ze,dt,Fe,Xe,Ie,W,"mat-slide-toggle-")}_createChangeEvent(Ze){return new Ce(this,Ze)}_onChangeEvent(Ze){Ze.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(Ze){Ze.stopPropagation()}focus(Ze,dt){dt?this._focusMonitor.focusVia(this._inputElement,dt,Ze):this._inputElement.nativeElement.focus(Ze)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(dt){return new(dt||pe)(u.Y36(u.SBq),u.Y36(m.tE),u.Y36(u.sBO),u.$8M("tabindex"),u.Y36(ie),u.Y36(u.QbO,8))};static#t=this.\u0275cmp=u.Xpm({type:pe,selectors:[["mat-slide-toggle"]],viewQuery:function(dt,Fe){if(1&dt&&u.Gf(q,5),2&dt){let Xe;u.iGM(Xe=u.CRH())&&(Fe._inputElement=Xe.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(dt,Fe){2&dt&&(u.Ikx("id",Fe.id),u.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),u.ekj("mat-checked",Fe.checked)("mat-disabled",Fe.disabled)("mat-slide-toggle-label-before","before"==Fe.labelPosition)("_mat-animation-noopable",Fe._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[u._Bn([_e]),u.qOj],ngContentSelectors:T,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(dt,Fe){if(1&dt&&(u.F$t(),u.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),u.NdJ("change",function(Ie){return Fe._onChangeEvent(Ie)})("click",function(Ie){return Fe._onInputClick(Ie)}),u.qZA(),u.TgZ(5,"span",5),u._UZ(6,"span",6),u.TgZ(7,"span",7),u._UZ(8,"span",8),u.qZA()()(),u.TgZ(9,"span",9,10),u.NdJ("cdkObserveContent",function(){return Fe._onLabelTextChange()}),u.TgZ(11,"span",11),u._uU(12,"\xa0"),u.qZA(),u.Hsn(13),u.qZA()()),2&dt){const Xe=u.MAs(1),Ie=u.MAs(10);u.uIk("for",Fe.inputId),u.xp6(2),u.ekj("mat-slide-toggle-bar-no-side-margin",!Ie.textContent||!Ie.textContent.trim()),u.xp6(),u.Q6J("id",Fe.inputId)("required",Fe.required)("tabIndex",Fe.tabIndex)("checked",Fe.checked)("disabled",Fe.disabled),u.uIk("name",Fe.name)("aria-checked",Fe.checked)("aria-label",Fe.ariaLabel)("aria-labelledby",Fe.ariaLabelledby)("aria-describedby",Fe.ariaDescribedby),u.xp6(4),u.Q6J("matRippleTrigger",Xe)("matRippleDisabled",Fe.disableRipple||Fe.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",u.VKq(18,H,Fe._noopAnimations?0:150))}},dependencies:[e.wG,t.wD],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0})}return pe})(),ae=(()=>{class pe{static#e=this.\u0275fac=function(dt){return new(dt||pe)};static#t=this.\u0275mod=u.oAB({type:pe});static#n=this.\u0275inj=u.cJS({imports:[K,e.si,e.BQ,t.Q8,K,e.BQ]})}return pe})()},4433:(jt,$e,s)=>{"use strict";s.d($e,{XF:()=>_e});var t=s(6814),u=s(9212),e=s(3680);s(4300),s(9388),s(2495),s(6028),s(6223),s(2831),s(7394);let _e=(()=>{class Ce{static#e=this.\u0275fac=function(pe){return new(pe||Ce)};static#t=this.\u0275mod=u.oAB({type:Ce});static#n=this.\u0275inj=u.cJS({imports:[t.ez,e.BQ,e.BQ]})}return Ce})()},1865:(jt,$e,s)=>{"use strict";s.d($e,{pl:()=>S,y:()=>A});var t=s(9594),u=s(8484),e=s(6814),m=s(9212),p=s(3680),U=s(4505),n=s(2939),I=s(4300),L=s(1088);function y(Z,oe){if(1&Z){const le=m.EpF();m.TgZ(0,"div",2)(1,"button",3),m.NdJ("click",function(){m.CHM(le);const K=m.oxw();return m.KtG(K.action())}),m._uU(2),m.qZA()()}if(2&Z){const le=m.oxw();m.xp6(2),m.Oqu(le.data.action)}}function O(Z,oe){}let M=(()=>{class Z{constructor(le,ee){this.snackBarRef=le,this.data=ee}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(ee){return new(ee||Z)(m.Y36(n.OX),m.Y36(n.qD))};static#t=this.\u0275cmp=m.Xpm({type:Z,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(ee,K){1&ee&&(m.TgZ(0,"span",0),m._uU(1),m.qZA(),m.YNc(2,y,3,1,"div",1)),2&ee&&(m.xp6(),m.Oqu(K.data.message),m.xp6(),m.Q6J("ngIf",K.hasAction))},dependencies:[e.O5,U.eB],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0})}return Z})(),E=(()=>{class Z extends n.xi{_afterPortalAttached(){super._afterPortalAttached(),"center"===this.snackBarConfig.horizontalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}static#e=this.\u0275fac=(()=>{let le;return function(K){return(le||(le=m.n5z(Z)))(K||Z)}})();static#t=this.\u0275cmp=m.Xpm({type:Z,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(ee,K){1&ee&&m.WFA("@state.done",function(q){return K.onAnimationEnd(q)}),2&ee&&m.d8E("@state",K._animationState)},features:[m.qOj],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(ee,K){1&ee&&(m.TgZ(0,"div",0),m.YNc(1,O,0,0,"ng-template",1),m.qZA(),m._UZ(2,"div")),2&ee&&(m.xp6(2),m.uIk("aria-live",K._live)("role",K._role)("id",K._liveElementId))},dependencies:[u.Pl],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[n.Et.snackBarState]}})}return Z})(),A=(()=>{class Z{static#e=this.\u0275fac=function(ee){return new(ee||Z)};static#t=this.\u0275mod=m.oAB({type:Z});static#n=this.\u0275inj=m.cJS({imports:[t.U8,u.eL,e.ez,U.yu,p.BQ,p.BQ]})}return Z})(),S=(()=>{class Z extends n.rA{constructor(le,ee,K,Q,q,H){super(le,ee,K,Q,q,H),this.simpleSnackBarComponent=M,this.snackBarContainerComponent=E,this.handsetCssClass="mat-snack-bar-handset"}static#e=this.\u0275fac=function(ee){return new(ee||Z)(m.LFG(t.aV),m.LFG(I.Kd),m.LFG(m.zs3),m.LFG(L.Yg),m.LFG(Z,12),m.LFG(n.Ve))};static#t=this.\u0275prov=m.Yz7({token:Z,factory:Z.\u0275fac,providedIn:A})}return Z})()},2214:(jt,$e,s)=>{"use strict";s.d($e,{ML:()=>Ai,R3:()=>nn,t3:()=>Un,L7:()=>jn,wO:()=>Wt,fg:()=>xi,S4:()=>hi,ZB:()=>Qi,Zw:()=>bo,Al:()=>ao,ty:()=>Ct,r4:()=>on,U5:()=>Rt});var t=s(9212),u=s(9388),e=s(2495),m=s(8337),p=s(2831),U=s(6672),n=s(6814),I=s(8645),L=s(7715),y=s(5619),O=s(2664),M=s(2096),E=s(9773),A=s(8180);const S=[[["caption"]],[["colgroup"],["col"]]],Z=["caption","colgroup, col"];function ee(ze){return class extends ze{get sticky(){return this._sticky}set sticky(en){const st=this._sticky;this._sticky=(0,e.Ig)(en),this._hasStickyChanged=st!==this._sticky}hasStickyChanged(){const en=this._hasStickyChanged;return this._hasStickyChanged=!1,en}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...en){super(...en),this._sticky=!1,this._hasStickyChanged=!1}}}const K=new t.OlP("CDK_TABLE");let q=(()=>{class ze{constructor(st){this.template=st}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","cdkCellDef",""]]})}return ze})(),H=(()=>{class ze{constructor(st){this.template=st}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","cdkHeaderCellDef",""]]})}return ze})(),T=(()=>{class ze{constructor(st){this.template=st}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","cdkFooterCellDef",""]]})}return ze})();class ie{}const _e=ee(ie);let Ce=(()=>{class ze extends _e{get name(){return this._name}set name(st){this._setNameInput(st)}get stickyEnd(){return this._stickyEnd}set stickyEnd(st){const Zt=this._stickyEnd;this._stickyEnd=(0,e.Ig)(st),this._hasStickyChanged=Zt!==this._stickyEnd}constructor(st){super(),this._table=st,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(st){st&&(this._name=st,this.cssClassFriendlyName=st.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(K,8))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","cdkColumnDef",""]],contentQueries:function(Zt,an,Xn){if(1&Zt&&(t.Suo(Xn,q,5),t.Suo(Xn,H,5),t.Suo(Xn,T,5)),2&Zt){let fi;t.iGM(fi=t.CRH())&&(an.cell=fi.first),t.iGM(fi=t.CRH())&&(an.headerCell=fi.first),t.iGM(fi=t.CRH())&&(an.footerCell=fi.first)}},inputs:{sticky:"sticky",name:[t.lbL.None,"cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[t._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ze}]),t.qOj]})}return ze})();class Ve{constructor(en,st){st.nativeElement.classList.add(...en._columnCssClassName)}}let ae=(()=>{class ze extends Ve{constructor(st,Zt){super(st,Zt)}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(Ce),t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[t.qOj]})}return ze})(),Ae=(()=>{class ze extends Ve{constructor(st,Zt){if(super(st,Zt),1===st._table?._elementRef.nativeElement.nodeType){const an=st._table._elementRef.nativeElement.getAttribute("role");Zt.nativeElement.setAttribute("role","grid"===an||"treegrid"===an?"gridcell":"cell")}}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(Ce),t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[t.qOj]})}return ze})();class Ze{constructor(){this.tasks=[],this.endTasks=[]}}const dt=new t.OlP("_COALESCED_STYLE_SCHEDULER");let Fe=(()=>{class ze{constructor(st){this._ngZone=st,this._currentSchedule=null,this._destroyed=new I.x}schedule(st){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(st)}scheduleEnd(st){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(st)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Ze,this._getScheduleObservable().pipe((0,E.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const st=this._currentSchedule;this._currentSchedule=new Ze;for(const Zt of st.tasks)Zt();for(const Zt of st.endTasks)Zt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,L.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,A.q)(1))}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.LFG(t.R0b))};static#t=this.\u0275prov=t.Yz7({token:ze,factory:ze.\u0275fac})}return ze})(),Ie=(()=>{class ze{constructor(st,Zt){this.template=st,this._differs=Zt}ngOnChanges(st){if(!this._columnsDiffer){const Zt=st.columns&&st.columns.currentValue||[];this._columnsDiffer=this._differs.find(Zt).create(),this._columnsDiffer.diff(Zt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(st){return this instanceof P?st.headerCell.template:this instanceof G?st.footerCell.template:st.cell.template}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.Rgc),t.Y36(t.ZZ4))};static#t=this.\u0275dir=t.lG2({type:ze,features:[t.TTD]})}return ze})();class W extends Ie{}const we=ee(W);let P=(()=>{class ze extends we{constructor(st,Zt,an){super(st,Zt),this._table=an}ngOnChanges(st){super.ngOnChanges(st)}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(K,8))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[t.lbL.None,"cdkHeaderRowDef","columns"],sticky:[t.lbL.None,"cdkHeaderRowDefSticky","sticky"]},features:[t.qOj,t.TTD]})}return ze})();class V extends Ie{}const Se=ee(V);let G=(()=>{class ze extends Se{constructor(st,Zt,an){super(st,Zt),this._table=an}ngOnChanges(st){super.ngOnChanges(st)}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(K,8))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[t.lbL.None,"cdkFooterRowDef","columns"],sticky:[t.lbL.None,"cdkFooterRowDefSticky","sticky"]},features:[t.qOj,t.TTD]})}return ze})(),be=(()=>{class ze extends Ie{constructor(st,Zt,an){super(st,Zt),this._table=an}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(K,8))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","cdkRowDef",""]],inputs:{columns:[t.lbL.None,"cdkRowDefColumns","columns"],when:[t.lbL.None,"cdkRowDefWhen","when"]},features:[t.qOj]})}return ze})(),de=(()=>{class ze{static#e=this.mostRecentCellOutlet=null;constructor(st){this._viewContainer=st,ze.mostRecentCellOutlet=this}ngOnDestroy(){ze.mostRecentCellOutlet===this&&(ze.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.s_b))};static#n=this.\u0275dir=t.lG2({type:ze,selectors:[["","cdkCellOutlet",""]]})}return ze})(),De=(()=>{class ze{static#e=this.\u0275fac=function(Zt){return new(Zt||ze)};static#t=this.\u0275cmp=t.Xpm({type:ze,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Zt,an){1&Zt&&t.GkF(0,0)},dependencies:[de],encapsulation:2})}return ze})(),Re=(()=>{class ze{static#e=this.\u0275fac=function(Zt){return new(Zt||ze)};static#t=this.\u0275cmp=t.Xpm({type:ze,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Zt,an){1&Zt&&t.GkF(0,0)},dependencies:[de],encapsulation:2})}return ze})(),Ft=(()=>{class ze{constructor(st){this.templateRef=st,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.Rgc))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["ng-template","cdkNoDataRow",""]]})}return ze})();const mt=["top","bottom","left","right"];class sn{constructor(en,st,Zt,an,Xn=!0,fi=!0,Ui){this._isNativeHtmlTable=en,this._stickCellCss=st,this.direction=Zt,this._coalescedStyleScheduler=an,this._isBrowser=Xn,this._needsPositionStickyOnElement=fi,this._positionListener=Ui,this._cachedCellWidths=[],this._borderCellCss={top:`${st}-border-elem-top`,bottom:`${st}-border-elem-bottom`,left:`${st}-border-elem-left`,right:`${st}-border-elem-right`}}clearStickyPositioning(en,st){const Zt=[];for(const an of en)if(an.nodeType===an.ELEMENT_NODE){Zt.push(an);for(let Xn=0;Xn<an.children.length;Xn++)Zt.push(an.children[Xn])}this._coalescedStyleScheduler.schedule(()=>{for(const an of Zt)this._removeStickyStyle(an,st)})}updateStickyColumns(en,st,Zt,an=!0){if(!en.length||!this._isBrowser||!st.some($o=>$o)&&!Zt.some($o=>$o))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Xn=en[0],fi=Xn.children.length,Ui=this._getCellWidths(Xn,an),So=this._getStickyStartColumnPositions(Ui,st),Lo=this._getStickyEndColumnPositions(Ui,Zt),Co=st.lastIndexOf(!0),Yo=Zt.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const $o="rtl"===this.direction,tr=$o?"right":"left",Mr=$o?"left":"right";for(const cr of en)for(let dr=0;dr<fi;dr++){const qr=cr.children[dr];st[dr]&&this._addStickyStyle(qr,tr,So[dr],dr===Co),Zt[dr]&&this._addStickyStyle(qr,Mr,Lo[dr],dr===Yo)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Co?[]:Ui.slice(0,Co+1).map((cr,dr)=>st[dr]?cr:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Yo?[]:Ui.slice(Yo).map((cr,dr)=>Zt[dr+Yo]?cr:null).reverse()}))})}stickRows(en,st,Zt){if(!this._isBrowser)return;const an="bottom"===Zt?en.slice().reverse():en,Xn="bottom"===Zt?st.slice().reverse():st,fi=[],Ui=[],So=[];for(let Co=0,Yo=0;Co<an.length;Co++){if(!Xn[Co])continue;fi[Co]=Yo;const $o=an[Co];So[Co]=this._isNativeHtmlTable?Array.from($o.children):[$o];const tr=$o.getBoundingClientRect().height;Yo+=tr,Ui[Co]=tr}const Lo=Xn.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let Co=0;Co<an.length;Co++){if(!Xn[Co])continue;const Yo=fi[Co],$o=Co===Lo;for(const tr of So[Co])this._addStickyStyle(tr,Zt,Yo,$o)}"top"===Zt?this._positionListener?.stickyHeaderRowsUpdated({sizes:Ui,offsets:fi,elements:So}):this._positionListener?.stickyFooterRowsUpdated({sizes:Ui,offsets:fi,elements:So})})}updateStickyFooterContainer(en,st){if(!this._isNativeHtmlTable)return;const Zt=en.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{st.some(an=>!an)?this._removeStickyStyle(Zt,["bottom"]):this._addStickyStyle(Zt,"bottom",0,!1)})}_removeStickyStyle(en,st){for(const an of st)en.style[an]="",en.classList.remove(this._borderCellCss[an]);mt.some(an=>-1===st.indexOf(an)&&en.style[an])?en.style.zIndex=this._getCalculatedZIndex(en):(en.style.zIndex="",this._needsPositionStickyOnElement&&(en.style.position=""),en.classList.remove(this._stickCellCss))}_addStickyStyle(en,st,Zt,an){en.classList.add(this._stickCellCss),an&&en.classList.add(this._borderCellCss[st]),en.style[st]=`${Zt}px`,en.style.zIndex=this._getCalculatedZIndex(en),this._needsPositionStickyOnElement&&(en.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(en){const st={top:100,bottom:10,left:1,right:1};let Zt=0;for(const an of mt)en.style[an]&&(Zt+=st[an]);return Zt?`${Zt}`:""}_getCellWidths(en,st=!0){if(!st&&this._cachedCellWidths.length)return this._cachedCellWidths;const Zt=[],an=en.children;for(let Xn=0;Xn<an.length;Xn++)Zt.push(an[Xn].getBoundingClientRect().width);return this._cachedCellWidths=Zt,Zt}_getStickyStartColumnPositions(en,st){const Zt=[];let an=0;for(let Xn=0;Xn<en.length;Xn++)st[Xn]&&(Zt[Xn]=an,an+=en[Xn]);return Zt}_getStickyEndColumnPositions(en,st){const Zt=[];let an=0;for(let Xn=en.length;Xn>0;Xn--)st[Xn]&&(Zt[Xn]=an,an+=en[Xn]);return Zt}}const Ee=new t.OlP("CDK_SPL");let Ke=(()=>{class ze{constructor(st,Zt){this.viewContainer=st,this.elementRef=Zt}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.s_b),t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","rowOutlet",""]]})}return ze})(),Et=(()=>{class ze{constructor(st,Zt){this.viewContainer=st,this.elementRef=Zt}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.s_b),t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","headerRowOutlet",""]]})}return ze})(),Tt=(()=>{class ze{constructor(st,Zt){this.viewContainer=st,this.elementRef=Zt}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.s_b),t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","footerRowOutlet",""]]})}return ze})(),tn=(()=>{class ze{constructor(st,Zt){this.viewContainer=st,this.elementRef=Zt}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.s_b),t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","noDataRowOutlet",""]]})}return ze})(),ft=(()=>{class ze{get trackBy(){return this._trackByFn}set trackBy(st){this._trackByFn=st}get dataSource(){return this._dataSource}set dataSource(st){this._dataSource!==st&&this._switchDataSource(st)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(st){this._multiTemplateDataRows=(0,e.Ig)(st),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(st){this._fixedLayout=(0,e.Ig)(st),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(st,Zt,an,Xn,fi,Ui,So,Lo,Co,Yo,$o,tr){this._differs=st,this._changeDetectorRef=Zt,this._elementRef=an,this._dir=fi,this._platform=So,this._viewRepeater=Lo,this._coalescedStyleScheduler=Co,this._viewportRuler=Yo,this._stickyPositioningListener=$o,this._ngZone=tr,this._onDestroy=new I.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new t.vpe,this.viewChange=new y.X({start:0,end:Number.MAX_VALUE}),Xn||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Ui,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((st,Zt)=>this.trackBy?this.trackBy(Zt.dataIndex,Zt.data):Zt),this._viewportRuler.change().pipe((0,E.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Zt=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Zt,this._forceRecalculateCellWidths=Zt,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(st=>{st.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,m.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const st=this._dataDiffer.diff(this._renderRows);if(!st)return this._updateNoDataRow(),void this.contentChanged.next();const Zt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(st,Zt,(an,Xn,fi)=>this._getEmbeddedViewArgs(an.item,fi),an=>an.item.data,an=>{1===an.operation&&an.context&&this._renderCellTemplateForItem(an.record.item.rowDef,an.context)}),this._updateRowIndexContext(),st.forEachIdentityChange(an=>{Zt.get(an.currentIndex).context.$implicit=an.item.data}),this._updateNoDataRow(),this._ngZone&&t.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,A.q)(1),(0,E.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(st){this._customColumnDefs.add(st)}removeColumnDef(st){this._customColumnDefs.delete(st)}addRowDef(st){this._customRowDefs.add(st)}removeRowDef(st){this._customRowDefs.delete(st)}addHeaderRowDef(st){this._customHeaderRowDefs.add(st),this._headerRowDefChanged=!0}removeHeaderRowDef(st){this._customHeaderRowDefs.delete(st),this._headerRowDefChanged=!0}addFooterRowDef(st){this._customFooterRowDefs.add(st),this._footerRowDefChanged=!0}removeFooterRowDef(st){this._customFooterRowDefs.delete(st),this._footerRowDefChanged=!0}setNoDataRow(st){this._customNoDataRow=st}updateStickyHeaderRowStyles(){const st=this._getRenderedRows(this._headerRowOutlet),an=this._elementRef.nativeElement.querySelector("thead");an&&(an.style.display=st.length?"":"none");const Xn=this._headerRowDefs.map(fi=>fi.sticky);this._stickyStyler.clearStickyPositioning(st,["top"]),this._stickyStyler.stickRows(st,Xn,"top"),this._headerRowDefs.forEach(fi=>fi.resetStickyChanged())}updateStickyFooterRowStyles(){const st=this._getRenderedRows(this._footerRowOutlet),an=this._elementRef.nativeElement.querySelector("tfoot");an&&(an.style.display=st.length?"":"none");const Xn=this._footerRowDefs.map(fi=>fi.sticky);this._stickyStyler.clearStickyPositioning(st,["bottom"]),this._stickyStyler.stickRows(st,Xn,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Xn),this._footerRowDefs.forEach(fi=>fi.resetStickyChanged())}updateStickyColumnStyles(){const st=this._getRenderedRows(this._headerRowOutlet),Zt=this._getRenderedRows(this._rowOutlet),an=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...st,...Zt,...an],["left","right"]),this._stickyColumnStylesNeedReset=!1),st.forEach((Xn,fi)=>{this._addStickyColumnStyles([Xn],this._headerRowDefs[fi])}),this._rowDefs.forEach(Xn=>{const fi=[];for(let Ui=0;Ui<Zt.length;Ui++)this._renderRows[Ui].rowDef===Xn&&fi.push(Zt[Ui]);this._addStickyColumnStyles(fi,Xn)}),an.forEach((Xn,fi)=>{this._addStickyColumnStyles([Xn],this._footerRowDefs[fi])}),Array.from(this._columnDefsByName.values()).forEach(Xn=>Xn.resetStickyChanged())}_getAllRenderRows(){const st=[],Zt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let an=0;an<this._data.length;an++){let Xn=this._data[an];const fi=this._getRenderRowsForData(Xn,an,Zt.get(Xn));this._cachedRenderRowsMap.has(Xn)||this._cachedRenderRowsMap.set(Xn,new WeakMap);for(let Ui=0;Ui<fi.length;Ui++){let So=fi[Ui];const Lo=this._cachedRenderRowsMap.get(So.data);Lo.has(So.rowDef)?Lo.get(So.rowDef).push(So):Lo.set(So.rowDef,[So]),st.push(So)}}return st}_getRenderRowsForData(st,Zt,an){return this._getRowDefs(st,Zt).map(fi=>{const Ui=an&&an.has(fi)?an.get(fi):[];if(Ui.length){const So=Ui.shift();return So.dataIndex=Zt,So}return{data:st,rowDef:fi,dataIndex:Zt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Bt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Zt=>{this._columnDefsByName.has(Zt.name),this._columnDefsByName.set(Zt.name,Zt)})}_cacheRowDefs(){this._headerRowDefs=Bt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Bt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Bt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const st=this._rowDefs.filter(Zt=>!Zt.when);this._defaultRowDef=st[0]}_renderUpdatedColumns(){const st=(fi,Ui)=>fi||!!Ui.getColumnsDiff(),Zt=this._rowDefs.reduce(st,!1);Zt&&this._forceRenderDataRows();const an=this._headerRowDefs.reduce(st,!1);an&&this._forceRenderHeaderRows();const Xn=this._footerRowDefs.reduce(st,!1);return Xn&&this._forceRenderFooterRows(),Zt||an||Xn}_switchDataSource(st){this._data=[],(0,m.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),st||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=st}_observeRenderChanges(){if(!this.dataSource)return;let st;(0,m.Z9)(this.dataSource)?st=this.dataSource.connect(this):(0,O.b)(this.dataSource)?st=this.dataSource:Array.isArray(this.dataSource)&&(st=(0,M.of)(this.dataSource)),this._renderChangeSubscription=st.pipe((0,E.R)(this._onDestroy)).subscribe(Zt=>{this._data=Zt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((st,Zt)=>this._renderRow(this._headerRowOutlet,st,Zt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((st,Zt)=>this._renderRow(this._footerRowOutlet,st,Zt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(st,Zt){const an=Array.from(Zt.columns||[]).map(Ui=>this._columnDefsByName.get(Ui)),Xn=an.map(Ui=>Ui.sticky),fi=an.map(Ui=>Ui.stickyEnd);this._stickyStyler.updateStickyColumns(st,Xn,fi,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(st){const Zt=[];for(let an=0;an<st.viewContainer.length;an++){const Xn=st.viewContainer.get(an);Zt.push(Xn.rootNodes[0])}return Zt}_getRowDefs(st,Zt){if(1==this._rowDefs.length)return[this._rowDefs[0]];let an=[];if(this.multiTemplateDataRows)an=this._rowDefs.filter(Xn=>!Xn.when||Xn.when(Zt,st));else{let Xn=this._rowDefs.find(fi=>fi.when&&fi.when(Zt,st))||this._defaultRowDef;Xn&&an.push(Xn)}return an}_getEmbeddedViewArgs(st,Zt){return{templateRef:st.rowDef.template,context:{$implicit:st.data},index:Zt}}_renderRow(st,Zt,an,Xn={}){const fi=st.viewContainer.createEmbeddedView(Zt.template,Xn,an);return this._renderCellTemplateForItem(Zt,Xn),fi}_renderCellTemplateForItem(st,Zt){for(let an of this._getCellTemplates(st))de.mostRecentCellOutlet&&de.mostRecentCellOutlet._viewContainer.createEmbeddedView(an,Zt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const st=this._rowOutlet.viewContainer;for(let Zt=0,an=st.length;Zt<an;Zt++){const fi=st.get(Zt).context;fi.count=an,fi.first=0===Zt,fi.last=Zt===an-1,fi.even=Zt%2==0,fi.odd=!fi.even,this.multiTemplateDataRows?(fi.dataIndex=this._renderRows[Zt].dataIndex,fi.renderIndex=Zt):fi.index=this._renderRows[Zt].dataIndex}}_getCellTemplates(st){return st&&st.columns?Array.from(st.columns,Zt=>{const an=this._columnDefsByName.get(Zt);return st.extractCellTemplate(an)}):[]}_applyNativeTableSections(){const st=this._document.createDocumentFragment(),Zt=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const an of Zt){const Xn=this._document.createElement(an.tag);Xn.setAttribute("role","rowgroup");for(const fi of an.outlets)Xn.appendChild(fi.elementRef.nativeElement);st.appendChild(Xn)}this._elementRef.nativeElement.appendChild(st)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const st=(Zt,an)=>Zt||an.hasStickyChanged();this._headerRowDefs.reduce(st,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(st,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(st,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new sn(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,M.of)()).pipe((0,E.R)(this._onDestroy)).subscribe(Zt=>{this._stickyStyler.direction=Zt,this.updateStickyColumnStyles()})}_getOwnDefs(st){return st.filter(Zt=>!Zt._table||Zt._table===this)}_updateNoDataRow(){const st=this._customNoDataRow||this._noDataRow;if(!st)return;const Zt=0===this._rowOutlet.viewContainer.length;if(Zt===this._isShowingNoDataRow)return;const an=this._noDataRowOutlet.viewContainer;if(Zt){const Xn=an.createEmbeddedView(st.templateRef),fi=Xn.rootNodes[0];1===Xn.rootNodes.length&&fi?.nodeType===this._document.ELEMENT_NODE&&(fi.setAttribute("role","row"),fi.classList.add(st._contentClassName))}else an.clear();this._isShowingNoDataRow=Zt,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(Zt){return new(Zt||ze)(t.Y36(t.ZZ4),t.Y36(t.sBO),t.Y36(t.SBq),t.$8M("role"),t.Y36(u.Is,8),t.Y36(n.K0),t.Y36(p.t4),t.Y36(m.k),t.Y36(dt),t.Y36(U.rL),t.Y36(Ee,12),t.Y36(t.R0b,8))};static#t=this.\u0275cmp=t.Xpm({type:ze,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Zt,an,Xn){if(1&Zt&&(t.Suo(Xn,Ft,5),t.Suo(Xn,Ce,5),t.Suo(Xn,be,5),t.Suo(Xn,P,5),t.Suo(Xn,G,5)),2&Zt){let fi;t.iGM(fi=t.CRH())&&(an._noDataRow=fi.first),t.iGM(fi=t.CRH())&&(an._contentColumnDefs=fi),t.iGM(fi=t.CRH())&&(an._contentRowDefs=fi),t.iGM(fi=t.CRH())&&(an._contentHeaderRowDefs=fi),t.iGM(fi=t.CRH())&&(an._contentFooterRowDefs=fi)}},viewQuery:function(Zt,an){if(1&Zt&&(t.Gf(Ke,7),t.Gf(Et,7),t.Gf(Tt,7),t.Gf(tn,7)),2&Zt){let Xn;t.iGM(Xn=t.CRH())&&(an._rowOutlet=Xn.first),t.iGM(Xn=t.CRH())&&(an._headerRowOutlet=Xn.first),t.iGM(Xn=t.CRH())&&(an._footerRowOutlet=Xn.first),t.iGM(Xn=t.CRH())&&(an._noDataRowOutlet=Xn.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(Zt,an){2&Zt&&t.ekj("cdk-table-fixed-layout",an.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[t._Bn([{provide:K,useExisting:ze},{provide:m.k,useClass:m.yy},{provide:dt,useClass:Fe},{provide:Ee,useValue:null}])],ngContentSelectors:Z,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Zt,an){1&Zt&&(t.F$t(S),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Ke,Et,Tt,tn],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return ze})();function Bt(ze,en){return ze.concat(Array.from(en))}let Ye=(()=>{class ze{static#e=this.\u0275fac=function(Zt){return new(Zt||ze)};static#t=this.\u0275mod=t.oAB({type:ze});static#n=this.\u0275inj=t.cJS({imports:[U.Cl]})}return ze})();var zt=s(3680),$t=s(3019),Mn=s(2572),Wn=s(7398);class ye extends m.o2{get data(){return this._data.value}set data(en){en=Array.isArray(en)?en:[],this._data.next(en),this._renderChangesSubscription||this._filterData(en)}get filter(){return this._filter.value}set filter(en){this._filter.next(en),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(en){this._sort=en,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(en){this._paginator=en,this._updateChangeSubscription()}constructor(en=[]){super(),this._renderData=new y.X([]),this._filter=new y.X(""),this._internalPageChanges=new I.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(st,Zt)=>{const an=st[Zt];if((0,e.t6)(an)){const Xn=Number(an);return Xn<9007199254740991?Xn:an}return an},this.sortData=(st,Zt)=>{const an=Zt.active,Xn=Zt.direction;return an&&""!=Xn?st.sort((fi,Ui)=>{let So=this.sortingDataAccessor(fi,an),Lo=this.sortingDataAccessor(Ui,an);const Co=typeof So,Yo=typeof Lo;Co!==Yo&&("number"===Co&&(So+=""),"number"===Yo&&(Lo+=""));let $o=0;return null!=So&&null!=Lo?So>Lo?$o=1:So<Lo&&($o=-1):null!=So?$o=1:null!=Lo&&($o=-1),$o*("asc"==Xn?1:-1)}):st},this.filterPredicate=(st,Zt)=>{const an=Object.keys(st).reduce((fi,Ui)=>fi+st[Ui]+"\u25ec","").toLowerCase(),Xn=Zt.trim().toLowerCase();return-1!=an.indexOf(Xn)},this._data=new y.X(en),this._updateChangeSubscription()}_updateChangeSubscription(){const en=this._sort?(0,$t.T)(this._sort.sortChange,this._sort.initialized):(0,M.of)(null),st=this._paginator?(0,$t.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,M.of)(null),an=(0,Mn.a)([this._data,this._filter]).pipe((0,Wn.U)(([Ui])=>this._filterData(Ui))),Xn=(0,Mn.a)([an,en]).pipe((0,Wn.U)(([Ui])=>this._orderData(Ui))),fi=(0,Mn.a)([Xn,st]).pipe((0,Wn.U)(([Ui])=>this._pageData(Ui)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=fi.subscribe(Ui=>this._renderData.next(Ui))}_filterData(en){return this.filteredData=null==this.filter||""===this.filter?en:en.filter(st=>this.filterPredicate(st,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(en){return this.sort?this.sortData(en.slice(),this.sort):en}_pageData(en){if(!this.paginator)return en;const st=this.paginator.pageIndex*this.paginator.pageSize;return en.slice(st,st+this.paginator.pageSize)}_updatePaginator(en){Promise.resolve().then(()=>{const st=this.paginator;if(st&&(st.length=en,st.pageIndex>0)){const Zt=Math.ceil(st.length/st.pageSize)-1||0,an=Math.min(st.pageIndex,Zt);an!==st.pageIndex&&(st.pageIndex=an,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}const pt=[[["caption"]],[["colgroup"],["col"]]],wt=["caption","colgroup, col"];let Ct=(()=>{class ze extends ft{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275cmp=t.Xpm({type:ze,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(Zt,an){2&Zt&&t.ekj("mat-table-fixed-layout",an.fixedLayout)},exportAs:["matTable"],features:[t._Bn([{provide:m.k,useClass:m.yy},{provide:ft,useExisting:ze},{provide:K,useExisting:ze},{provide:dt,useClass:Fe},{provide:Ee,useValue:null}]),t.qOj],ngContentSelectors:wt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Zt,an){1&Zt&&(t.F$t(pt),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[Ke,Et,Tt,tn],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return ze})(),nn=(()=>{class ze extends q{static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","matCellDef",""]],features:[t._Bn([{provide:q,useExisting:ze}]),t.qOj]})}return ze})(),Wt=(()=>{class ze extends H{static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","matHeaderCellDef",""]],features:[t._Bn([{provide:H,useExisting:ze}]),t.qOj]})}return ze})(),Un=(()=>{class ze extends Ce{get name(){return this._name}set name(st){this._setNameInput(st)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:[t.lbL.None,"matColumnDef","name"]},features:[t._Bn([{provide:Ce,useExisting:ze},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ze}]),t.qOj]})}return ze})(),jn=(()=>{class ze extends ae{static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[t.qOj]})}return ze})(),Ai=(()=>{class ze extends Ae{static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[t.qOj]})}return ze})(),hi=(()=>{class ze extends P{static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[t.lbL.None,"matHeaderRowDef","columns"],sticky:[t.lbL.None,"matHeaderRowDefSticky","sticky"]},features:[t._Bn([{provide:P,useExisting:ze}]),t.qOj]})}return ze})(),ao=(()=>{class ze extends be{static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["","matRowDef",""]],inputs:{columns:[t.lbL.None,"matRowDefColumns","columns"],when:[t.lbL.None,"matRowDefWhen","when"]},features:[t._Bn([{provide:be,useExisting:ze}]),t.qOj]})}return ze})(),xi=(()=>{class ze extends De{static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275cmp=t.Xpm({type:ze,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[t._Bn([{provide:De,useExisting:ze}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Zt,an){1&Zt&&t.GkF(0,0)},dependencies:[de],encapsulation:2})}return ze})(),bo=(()=>{class ze extends Re{static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275cmp=t.Xpm({type:ze,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[t._Bn([{provide:Re,useExisting:ze}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Zt,an){1&Zt&&t.GkF(0,0)},dependencies:[de],encapsulation:2})}return ze})(),Qi=(()=>{class ze extends Ft{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}static#e=this.\u0275fac=(()=>{let st;return function(an){return(st||(st=t.n5z(ze)))(an||ze)}})();static#t=this.\u0275dir=t.lG2({type:ze,selectors:[["ng-template","matNoDataRow",""]],features:[t._Bn([{provide:Ft,useExisting:ze}]),t.qOj]})}return ze})(),Rt=(()=>{class ze{static#e=this.\u0275fac=function(Zt){return new(Zt||ze)};static#t=this.\u0275mod=t.oAB({type:ze});static#n=this.\u0275inj=t.cJS({imports:[Ye,zt.BQ,zt.BQ]})}return ze})();class on extends ye{}},8615:(jt,$e,s)=>{"use strict";s.d($e,{R7:()=>Wt,SK:()=>Ai,gz:()=>Bi,Nn:()=>Qi});var t=s(4300),u=s(7131),e=s(8484),m=s(6814),p=s(9212),U=s(3680),n=s(8180),I=s(9388),L=s(7394),y=s(8645),O=s(2438),M=s(2096),E=s(3019),A=s(6232),S=s(5592),Z=s(9080),oe=s(7921),le=s(3997),ee=s(9773),K=s(4664),Q=s(836),q=s(2181),H=s(6825),T=s(2495),ie=s(6672),_e=s(2831),Ce=s(6028);function Ve(On,mi){}const ae=On=>({animationDuration:On}),pe=(On,mi)=>({value:On,params:mi}),Re={translateTab:(0,H.X$)("translateTab",[(0,H.SB)("center, void, left-origin-center, right-origin-center",(0,H.oB)({transform:"none"})),(0,H.SB)("left",(0,H.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,H.SB)("right",(0,H.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,H.eR)("* => left, * => right, left => center, right => center",(0,H.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,H.eR)("void => left-origin-center",[(0,H.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,H.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,H.eR)("void => right-origin-center",[(0,H.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,H.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Ft=(()=>{class On extends e.Pl{constructor(Rt,on,ze,en){super(Rt,on,en),this._host=ze,this._centeringSub=L.w0.EMPTY,this._leavingSub=L.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,oe.O)(this._host._isCenterPosition(this._host._position))).subscribe(Rt=>{Rt&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p._Vd),p.Y36(p.s_b),p.Y36((0,p.Gpc)(()=>sn)),p.Y36(m.K0))};static#t=this.\u0275dir=p.lG2({type:On,selectors:[["","matTabBodyHost",""]],features:[p.qOj]})}return On})(),mt=(()=>{class On{set position(Rt){this._positionIndex=Rt,this._computePositionAnimationState()}constructor(Rt,on,ze){this._elementRef=Rt,this._dir=on,this._dirChangeSubscription=L.w0.EMPTY,this._translateTabComplete=new y.x,this._onCentering=new p.vpe,this._beforeCentering=new p.vpe,this._afterLeavingCenter=new p.vpe,this._onCentered=new p.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,on&&(this._dirChangeSubscription=on.change.subscribe(en=>{this._computePositionAnimationState(en),ze.markForCheck()})),this._translateTabComplete.pipe((0,le.x)((en,st)=>en.fromState===st.fromState&&en.toState===st.toState)).subscribe(en=>{this._isCenterPosition(en.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(en.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Rt){const on=this._isCenterPosition(Rt.toState);this._beforeCentering.emit(on),on&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Rt){return"center"==Rt||"left-origin-center"==Rt||"right-origin-center"==Rt}_computePositionAnimationState(Rt=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Rt?"left":"right":this._positionIndex>0?"ltr"==Rt?"right":"left":"center"}_computePositionFromOrigin(Rt){const on=this._getLayoutDirection();return"ltr"==on&&Rt<=0||"rtl"==on&&Rt>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq),p.Y36(I.Is,8),p.Y36(p.sBO))};static#t=this.\u0275dir=p.lG2({type:On,inputs:{_content:[p.lbL.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return On})(),sn=(()=>{class On extends mt{constructor(Rt,on,ze){super(Rt,on,ze)}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq),p.Y36(I.Is,8),p.Y36(p.sBO))};static#t=this.\u0275cmp=p.Xpm({type:On,selectors:[["mat-tab-body"]],viewQuery:function(on,ze){if(1&on&&p.Gf(e.Pl,5),2&on){let en;p.iGM(en=p.CRH())&&(ze._portalHost=en.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[p.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(on,ze){1&on&&(p.TgZ(0,"div",0,1),p.NdJ("@translateTab.start",function(st){return ze._onTranslateTabStarted(st)})("@translateTab.done",function(st){return ze._translateTabComplete.next(st)}),p.YNc(2,Ve,0,0,"ng-template",2),p.qZA()),2&on&&p.Q6J("@translateTab",p.WLB(3,pe,ze._position,p.VKq(1,ae,ze.animationDuration)))},dependencies:[Ft],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Re.translateTab]}})}return On})();const hn=new p.OlP("MatTabContent"),Jt=new p.OlP("MatTabLabel"),cn=new p.OlP("MAT_TAB");let He=(()=>{class On extends e.ig{constructor(Rt,on,ze){super(Rt,on),this._closestTab=ze}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.Rgc),p.Y36(p.s_b),p.Y36(cn,8))};static#t=this.\u0275dir=p.lG2({type:On,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[p._Bn([{provide:Jt,useExisting:On}]),p.qOj]})}return On})();const Ke=new p.OlP("MatInkBarPositioner",{providedIn:"root",factory:function Ge(){return mi=>({left:mi?(mi.offsetLeft||0)+"px":"0",width:mi?(mi.offsetWidth||0)+"px":"0"})}}),Et=(0,U.Id)(class{});let Tt=(()=>{class On extends Et{constructor(Rt){super(),this.elementRef=Rt}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq))};static#t=this.\u0275dir=p.lG2({type:On,features:[p.qOj]})}return On})();const Nt=(0,U.Id)(class{}),ft=new p.OlP("MAT_TAB_GROUP");let Bt=(()=>{class On extends Nt{get content(){return this._contentPortal}constructor(Rt,on){super(),this._viewContainerRef=Rt,this._closestTabGroup=on,this.textLabel="",this._contentPortal=null,this._stateChanges=new y.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Rt){(Rt.hasOwnProperty("textLabel")||Rt.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new e.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Rt){Rt&&Rt._closestTab===this&&(this._templateLabel=Rt)}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.s_b),p.Y36(ft,8))};static#t=this.\u0275dir=p.lG2({type:On,viewQuery:function(on,ze){if(1&on&&p.Gf(p.Rgc,7),2&on){let en;p.iGM(en=p.CRH())&&(ze._implicitContent=en.first)}},inputs:{textLabel:[p.lbL.None,"label","textLabel"],ariaLabel:[p.lbL.None,"aria-label","ariaLabel"],ariaLabelledby:[p.lbL.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[p.qOj,p.TTD]})}return On})();const nt=(0,_e.i$)({passive:!0});let $t=(()=>{class On{get disablePagination(){return this._disablePagination}set disablePagination(Rt){this._disablePagination=(0,T.Ig)(Rt)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Rt){Rt=(0,T.su)(Rt),this._selectedIndex!=Rt&&(this._selectedIndexChanged=!0,this._selectedIndex=Rt,this._keyManager&&this._keyManager.updateActiveItem(Rt))}constructor(Rt,on,ze,en,st,Zt,an){this._elementRef=Rt,this._changeDetectorRef=on,this._viewportRuler=ze,this._dir=en,this._ngZone=st,this._platform=Zt,this._animationMode=an,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new y.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new y.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new p.vpe,this.indexFocused=new p.vpe,st.runOutsideAngular(()=>{(0,O.R)(Rt.nativeElement,"mouseleave").pipe((0,ee.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,O.R)(this._previousPaginator.nativeElement,"touchstart",nt).pipe((0,ee.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,O.R)(this._nextPaginator.nativeElement,"touchstart",nt).pipe((0,ee.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Rt=this._dir?this._dir.change:(0,M.of)("ltr"),on=this._viewportRuler.change(150),ze=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new t.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,n.q)(1)).subscribe(ze),(0,E.T)(Rt,on,this._items.changes,this._itemsResized()).pipe((0,ee.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),ze()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(en=>{this.indexFocused.emit(en),this._setTabFocus(en)})}_itemsResized(){return"function"!=typeof ResizeObserver?A.E:this._items.changes.pipe((0,oe.O)(this._items),(0,K.w)(Rt=>new S.y(on=>this._ngZone.runOutsideAngular(()=>{const ze=new ResizeObserver(en=>on.next(en));return Rt.forEach(en=>ze.observe(en.elementRef.nativeElement)),()=>{ze.disconnect()}}))),(0,Q.T)(1),(0,q.h)(Rt=>Rt.some(on=>on.contentRect.width>0&&on.contentRect.height>0)))}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._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(Rt){if(!(0,Ce.Vb)(Rt))switch(Rt.keyCode){case Ce.K5:case Ce.L_:if(this.focusIndex!==this.selectedIndex){const on=this._items.get(this.focusIndex);on&&!on.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Rt))}break;default:this._keyManager.onKeydown(Rt)}}_onContentChanges(){const Rt=this._elementRef.nativeElement.textContent;Rt!==this._currentTextContent&&(this._currentTextContent=Rt||"",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(Rt){!this._isValidIndex(Rt)||this.focusIndex===Rt||!this._keyManager||this._keyManager.setActiveItem(Rt)}_isValidIndex(Rt){return!this._items||!!this._items.toArray()[Rt]}_setTabFocus(Rt){if(this._showPaginationControls&&this._scrollToLabel(Rt),this._items&&this._items.length){this._items.toArray()[Rt].focus();const on=this._tabListContainer.nativeElement;on.scrollLeft="ltr"==this._getLayoutDirection()?0:on.scrollWidth-on.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Rt=this.scrollDistance,on="ltr"===this._getLayoutDirection()?-Rt:Rt;this._tabList.nativeElement.style.transform=`translateX(${Math.round(on)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Rt){this._scrollTo(Rt)}_scrollHeader(Rt){return this._scrollTo(this._scrollDistance+("before"==Rt?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Rt){this._stopInterval(),this._scrollHeader(Rt)}_scrollToLabel(Rt){if(this.disablePagination)return;const on=this._items?this._items.toArray()[Rt]:null;if(!on)return;const ze=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:en,offsetWidth:st}=on.elementRef.nativeElement;let Zt,an;"ltr"==this._getLayoutDirection()?(Zt=en,an=Zt+st):(an=this._tabListInner.nativeElement.offsetWidth-en,Zt=an-st);const Xn=this.scrollDistance,fi=this.scrollDistance+ze;Zt<Xn?this.scrollDistance-=Xn-Zt:an>fi&&(this.scrollDistance+=Math.min(an-fi,Zt-Xn))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Rt=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Rt||(this.scrollDistance=0),Rt!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Rt}}_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 Rt=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,on=Rt?Rt.elementRef.nativeElement:null;on?this._inkBar.alignToElement(on):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Rt,on){on&&null!=on.button&&0!==on.button||(this._stopInterval(),(0,Z.H)(650,100).pipe((0,ee.R)((0,E.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:ze,distance:en}=this._scrollHeader(Rt);(0===en||en>=ze)&&this._stopInterval()}))}_scrollTo(Rt){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const on=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(on,Rt)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:on,distance:this._scrollDistance}}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq),p.Y36(p.sBO),p.Y36(ie.rL),p.Y36(I.Is,8),p.Y36(p.R0b),p.Y36(_e.t4),p.Y36(p.QbO,8))};static#t=this.\u0275dir=p.lG2({type:On,inputs:{disablePagination:"disablePagination"}})}return On})(),Mn=(()=>{class On extends $t{get disableRipple(){return this._disableRipple}set disableRipple(Rt){this._disableRipple=(0,T.Ig)(Rt)}constructor(Rt,on,ze,en,st,Zt,an){super(Rt,on,ze,en,st,Zt,an),this._disableRipple=!1}_itemSelected(Rt){Rt.preventDefault()}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq),p.Y36(p.sBO),p.Y36(ie.rL),p.Y36(I.Is,8),p.Y36(p.R0b),p.Y36(_e.t4),p.Y36(p.QbO,8))};static#t=this.\u0275dir=p.lG2({type:On,inputs:{disableRipple:"disableRipple"},features:[p.qOj]})}return On})();const di=new p.OlP("MAT_TABS_CONFIG");let Pt=0;const Xt=(0,U.pj)((0,U.Kr)(class{constructor(On){this._elementRef=On}}),"primary");let Le=(()=>{class On extends Xt{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Rt){this._dynamicHeight=(0,T.Ig)(Rt)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Rt){this._indexToSelect=(0,T.su)(Rt,null)}get animationDuration(){return this._animationDuration}set animationDuration(Rt){this._animationDuration=/^\d+$/.test(Rt+"")?Rt+"ms":Rt}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Rt){this._contentTabIndex=(0,T.su)(Rt,null)}get disablePagination(){return this._disablePagination}set disablePagination(Rt){this._disablePagination=(0,T.Ig)(Rt)}get preserveContent(){return this._preserveContent}set preserveContent(Rt){this._preserveContent=(0,T.Ig)(Rt)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Rt){const on=this._elementRef.nativeElement.classList;on.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Rt&&on.add("mat-tabs-with-background",`mat-background-${Rt}`),this._backgroundColor=Rt}constructor(Rt,on,ze,en){super(Rt),this._changeDetectorRef=on,this._animationMode=en,this._tabs=new p.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=L.w0.EMPTY,this._tabLabelSubscription=L.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new p.vpe,this.focusChange=new p.vpe,this.animationDone=new p.vpe,this.selectedTabChange=new p.vpe(!0),this._groupId=Pt++,this.animationDuration=ze&&ze.animationDuration?ze.animationDuration:"500ms",this.disablePagination=!(!ze||null==ze.disablePagination)&&ze.disablePagination,this.dynamicHeight=!(!ze||null==ze.dynamicHeight)&&ze.dynamicHeight,this.contentTabIndex=ze?.contentTabIndex??null,this.preserveContent=!!ze?.preserveContent}ngAfterContentChecked(){const Rt=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Rt){const on=null==this._selectedIndex;if(!on){this.selectedTabChange.emit(this._createChangeEvent(Rt));const ze=this._tabBodyWrapper.nativeElement;ze.style.minHeight=ze.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((ze,en)=>ze.isActive=en===Rt),on||(this.selectedIndexChange.emit(Rt),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((on,ze)=>{on.position=ze-Rt,null!=this._selectedIndex&&0==on.position&&!on.origin&&(on.origin=Rt-this._selectedIndex)}),this._selectedIndex!==Rt&&(this._selectedIndex=Rt,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Rt=this._clampTabIndex(this._indexToSelect);if(Rt===this._selectedIndex){const on=this._tabs.toArray();let ze;for(let en=0;en<on.length;en++)if(on[en].isActive){this._indexToSelect=this._selectedIndex=en,this._lastFocusedTabIndex=null,ze=on[en];break}!ze&&on[Rt]&&Promise.resolve().then(()=>{on[Rt].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Rt))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,oe.O)(this._allTabs)).subscribe(Rt=>{this._tabs.reset(Rt.filter(on=>on._closestTabGroup===this||!on._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(Rt){const on=this._tabHeader;on&&(on.focusIndex=Rt)}_focusChanged(Rt){this._lastFocusedTabIndex=Rt,this.focusChange.emit(this._createChangeEvent(Rt))}_createChangeEvent(Rt){const on=new X;return on.index=Rt,this._tabs&&this._tabs.length&&(on.tab=this._tabs.toArray()[Rt]),on}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,E.T)(...this._tabs.map(Rt=>Rt._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Rt){return Math.min(this._tabs.length-1,Math.max(Rt||0,0))}_getTabLabelId(Rt){return`mat-tab-label-${this._groupId}-${Rt}`}_getTabContentId(Rt){return`mat-tab-content-${this._groupId}-${Rt}`}_setTabBodyWrapperHeight(Rt){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const on=this._tabBodyWrapper.nativeElement;on.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(on.style.height=Rt+"px")}_removeTabBodyWrapperHeight(){const Rt=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Rt.clientHeight,Rt.style.height="",this.animationDone.emit()}_handleClick(Rt,on,ze){on.focusIndex=ze,Rt.disabled||(this.selectedIndex=ze)}_getTabIndex(Rt){return Rt===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Rt,on){Rt&&"mouse"!==Rt&&"touch"!==Rt&&(this._tabHeader.focusIndex=on)}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq),p.Y36(p.sBO),p.Y36(di,8),p.Y36(p.QbO,8))};static#t=this.\u0275dir=p.lG2({type:On,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[p.qOj]})}return On})();class X{}function B(On,mi){1&On&&p.Hsn(0)}const Y=["*"];function Qe(On,mi){}const _t=On=>({animationDuration:On}),Vt=(On,mi)=>({value:On,params:mi}),bn=["tabListContainer"],xn=["tabList"],Fn=["tabListInner"],Ot=["nextPaginator"],En=["previousPaginator"],ye=["tabBodyWrapper"],It=["tabHeader"];function pt(On,mi){}function wt(On,mi){if(1&On&&p.YNc(0,pt,0,0,"ng-template",10),2&On){const Rt=p.oxw().$implicit;p.Q6J("cdkPortalOutlet",Rt.templateLabel)}}function $n(On,mi){if(1&On&&p._uU(0),2&On){const Rt=p.oxw().$implicit;p.Oqu(Rt.textLabel)}}function pn(On,mi){if(1&On){const Rt=p.EpF();p.TgZ(0,"div",6),p.NdJ("click",function(){const ze=p.CHM(Rt),en=ze.$implicit,st=ze.index,Zt=p.oxw(),an=p.MAs(1);return p.KtG(Zt._handleClick(en,an,st))})("cdkFocusChange",function(ze){const st=p.CHM(Rt).index,Zt=p.oxw();return p.KtG(Zt._tabFocusChanged(ze,st))}),p.TgZ(1,"div",7),p.YNc(2,wt,1,1,"ng-template",8)(3,$n,1,1,"ng-template",null,9,p.W1O),p.qZA()()}if(2&On){const Rt=mi.$implicit,on=mi.index,ze=p.MAs(4),en=p.oxw();p.ekj("mat-tab-label-active",en.selectedIndex===on),p.Q6J("id",en._getTabLabelId(on))("ngClass",Rt.labelClass)("disabled",Rt.disabled)("matRippleDisabled",Rt.disabled||en.disableRipple),p.uIk("tabIndex",en._getTabIndex(on))("aria-posinset",on+1)("aria-setsize",en._tabs.length)("aria-controls",en._getTabContentId(on))("aria-selected",en.selectedIndex===on)("aria-label",Rt.ariaLabel||null)("aria-labelledby",!Rt.ariaLabel&&Rt.ariaLabelledby?Rt.ariaLabelledby:null),p.xp6(2),p.Q6J("ngIf",Rt.templateLabel)("ngIfElse",ze)}}function Vn(On,mi){if(1&On){const Rt=p.EpF();p.TgZ(0,"mat-tab-body",11),p.NdJ("_onCentered",function(){p.CHM(Rt);const ze=p.oxw();return p.KtG(ze._removeTabBodyWrapperHeight())})("_onCentering",function(ze){p.CHM(Rt);const en=p.oxw();return p.KtG(en._setTabBodyWrapperHeight(ze))}),p.qZA()}if(2&On){const Rt=mi.$implicit,on=mi.index,ze=p.oxw();p.ekj("mat-tab-body-active",ze.selectedIndex===on),p.Q6J("id",ze._getTabContentId(on))("ngClass",Rt.bodyClass)("content",Rt.content)("position",Rt.position)("origin",Rt.origin)("animationDuration",ze.animationDuration)("preserveContent",ze.preserveContent),p.uIk("tabindex",null!=ze.contentTabIndex&&ze.selectedIndex===on?ze.contentTabIndex:null)("aria-labelledby",ze._getTabLabelId(on))}}let nn=(()=>{class On{constructor(Rt,on,ze,en){this._elementRef=Rt,this._ngZone=on,this._inkBarPositioner=ze,this._animationMode=en}alignToElement(Rt){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,n.q)(1)).subscribe(()=>{const on=this._inkBarPositioner(Rt),ze=this._elementRef.nativeElement;ze.style.left=on.left,ze.style.width=on.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq),p.Y36(p.R0b),p.Y36(Ke),p.Y36(p.QbO,8))};static#t=this.\u0275dir=p.lG2({type:On,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(on,ze){2&on&&p.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode)}})}return On})(),Wt=(()=>{class On extends Bt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(Rt){this._setTemplateLabelInput(Rt)}static#e=this.\u0275fac=(()=>{let Rt;return function(ze){return(Rt||(Rt=p.n5z(On)))(ze||On)}})();static#t=this.\u0275cmp=p.Xpm({type:On,selectors:[["mat-tab"]],contentQueries:function(on,ze,en){if(1&on&&(p.Suo(en,Jt,5),p.Suo(en,hn,7,p.Rgc)),2&on){let st;p.iGM(st=p.CRH())&&(ze.templateLabel=st.first),p.iGM(st=p.CRH())&&(ze._explicitContent=st.first)}},hostVars:1,hostBindings:function(on,ze){2&on&&p.uIk("mat-id-collision",null)},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[p._Bn([{provide:cn,useExisting:On}]),p.qOj],ngContentSelectors:Y,decls:1,vars:0,template:function(on,ze){1&on&&(p.F$t(),p.YNc(0,B,1,0,"ng-template"))},encapsulation:2})}return On})(),Pn=(()=>{class On extends Ft{constructor(Rt,on,ze,en){super(Rt,on,ze,en)}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p._Vd),p.Y36(p.s_b),p.Y36((0,p.Gpc)(()=>Un)),p.Y36(m.K0))};static#t=this.\u0275dir=p.lG2({type:On,selectors:[["","matTabBodyHost",""]],features:[p.qOj]})}return On})(),Un=(()=>{class On extends mt{constructor(Rt,on,ze){super(Rt,on,ze)}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq),p.Y36(I.Is,8),p.Y36(p.sBO))};static#t=this.\u0275cmp=p.Xpm({type:On,selectors:[["mat-tab-body"]],viewQuery:function(on,ze){if(1&on&&p.Gf(e.Pl,5),2&on){let en;p.iGM(en=p.CRH())&&(ze._portalHost=en.first)}},hostAttrs:[1,"mat-tab-body"],features:[p.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(on,ze){1&on&&(p.TgZ(0,"div",0,1),p.NdJ("@translateTab.start",function(st){return ze._onTranslateTabStarted(st)})("@translateTab.done",function(st){return ze._translateTabComplete.next(st)}),p.YNc(2,Qe,0,0,"ng-template",2),p.qZA()),2&on&&p.Q6J("@translateTab",p.WLB(3,Vt,ze._position,p.VKq(1,_t,ze.animationDuration)))},dependencies:[Pn],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}'],encapsulation:2,data:{animation:[Re.translateTab]}})}return On})(),jn=(()=>{class On extends Tt{static#e=this.\u0275fac=(()=>{let Rt;return function(ze){return(Rt||(Rt=p.n5z(On)))(ze||On)}})();static#t=this.\u0275dir=p.lG2({type:On,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(on,ze){2&on&&(p.uIk("aria-disabled",!!ze.disabled),p.ekj("mat-tab-disabled",ze.disabled))},inputs:{disabled:"disabled"},features:[p.qOj]})}return On})(),ui=(()=>{class On extends Mn{constructor(Rt,on,ze,en,st,Zt,an){super(Rt,on,ze,en,st,Zt,an)}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq),p.Y36(p.sBO),p.Y36(ie.rL),p.Y36(I.Is,8),p.Y36(p.R0b),p.Y36(_e.t4),p.Y36(p.QbO,8))};static#t=this.\u0275cmp=p.Xpm({type:On,selectors:[["mat-tab-header"]],contentQueries:function(on,ze,en){if(1&on&&p.Suo(en,jn,4),2&on){let st;p.iGM(st=p.CRH())&&(ze._items=st)}},viewQuery:function(on,ze){if(1&on&&(p.Gf(nn,7),p.Gf(bn,7),p.Gf(xn,7),p.Gf(Fn,7),p.Gf(Ot,5),p.Gf(En,5)),2&on){let en;p.iGM(en=p.CRH())&&(ze._inkBar=en.first),p.iGM(en=p.CRH())&&(ze._tabListContainer=en.first),p.iGM(en=p.CRH())&&(ze._tabList=en.first),p.iGM(en=p.CRH())&&(ze._tabListInner=en.first),p.iGM(en=p.CRH())&&(ze._nextPaginator=en.first),p.iGM(en=p.CRH())&&(ze._previousPaginator=en.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(on,ze){2&on&&p.ekj("mat-tab-header-pagination-controls-enabled",ze._showPaginationControls)("mat-tab-header-rtl","rtl"==ze._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[p.qOj],ngContentSelectors:Y,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(on,ze){1&on&&(p.F$t(),p.TgZ(0,"button",0,1),p.NdJ("click",function(){return ze._handlePaginatorClick("before")})("mousedown",function(st){return ze._handlePaginatorPress("before",st)})("touchend",function(){return ze._stopInterval()}),p._UZ(2,"div",2),p.qZA(),p.TgZ(3,"div",3,4),p.NdJ("keydown",function(st){return ze._handleKeydown(st)}),p.TgZ(5,"div",5,6),p.NdJ("cdkObserveContent",function(){return ze._onContentChanges()}),p.TgZ(7,"div",7,8),p.Hsn(9),p.qZA(),p._UZ(10,"mat-ink-bar"),p.qZA()(),p.TgZ(11,"button",9,10),p.NdJ("mousedown",function(st){return ze._handlePaginatorPress("after",st)})("click",function(){return ze._handlePaginatorClick("after")})("touchend",function(){return ze._stopInterval()}),p._UZ(13,"div",2),p.qZA()),2&on&&(p.ekj("mat-tab-header-pagination-disabled",ze._disableScrollBefore),p.Q6J("matRippleDisabled",ze._disableScrollBefore||ze.disableRipple)("disabled",ze._disableScrollBefore||null),p.xp6(5),p.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode),p.xp6(6),p.ekj("mat-tab-header-pagination-disabled",ze._disableScrollAfter),p.Q6J("matRippleDisabled",ze._disableScrollAfter||ze.disableRipple)("disabled",ze._disableScrollAfter||null))},dependencies:[U.wG,u.wD,nn],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:rgba(0,0,0,0);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-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.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-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.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}.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}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2})}return On})(),Ai=(()=>{class On extends Le{constructor(Rt,on,ze,en){super(Rt,on,ze,en)}static#e=this.\u0275fac=function(on){return new(on||On)(p.Y36(p.SBq),p.Y36(p.sBO),p.Y36(di,8),p.Y36(p.QbO,8))};static#t=this.\u0275cmp=p.Xpm({type:On,selectors:[["mat-tab-group"]],contentQueries:function(on,ze,en){if(1&on&&p.Suo(en,Wt,5),2&on){let st;p.iGM(st=p.CRH())&&(ze._allTabs=st)}},viewQuery:function(on,ze){if(1&on&&(p.Gf(ye,5),p.Gf(It,5)),2&on){let en;p.iGM(en=p.CRH())&&(ze._tabBodyWrapper=en.first),p.iGM(en=p.CRH())&&(ze._tabHeader=en.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(on,ze){2&on&&p.ekj("mat-tab-group-dynamic-height",ze.dynamicHeight)("mat-tab-group-inverted-header","below"===ze.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[p._Bn([{provide:ft,useExisting:On}]),p.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","preserveContent","_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","preserveContent","_onCentered","_onCentering"]],template:function(on,ze){1&on&&(p.TgZ(0,"mat-tab-header",0,1),p.NdJ("indexFocused",function(st){return ze._focusChanged(st)})("selectFocusedIndex",function(st){return ze.selectedIndex=st}),p.YNc(2,pn,5,15,"div",2),p.qZA(),p.TgZ(3,"div",3,4),p.YNc(5,Vn,1,11,"mat-tab-body",5),p.qZA()),2&on&&(p.Q6J("selectedIndex",ze.selectedIndex||0)("disableRipple",ze.disableRipple)("disablePagination",ze.disablePagination),p.xp6(2),p.Q6J("ngForOf",ze._tabs),p.xp6(),p.ekj("_mat-animation-noopable","NoopAnimations"===ze._animationMode),p.xp6(2),p.Q6J("ngForOf",ze._tabs))},dependencies:[m.mk,m.sg,m.O5,e.Pl,U.wG,t.kH,jn,Un,ui],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}.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-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.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}"],encapsulation:2})}return On})(),Bi=(()=>{class On extends He{static#e=this.\u0275fac=(()=>{let Rt;return function(ze){return(Rt||(Rt=p.n5z(On)))(ze||On)}})();static#t=this.\u0275dir=p.lG2({type:On,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[p._Bn([{provide:Jt,useExisting:On}]),p.qOj]})}return On})(),Qi=(()=>{class On{static#e=this.\u0275fac=function(on){return new(on||On)};static#t=this.\u0275mod=p.oAB({type:On});static#n=this.\u0275inj=p.cJS({imports:[m.ez,U.BQ,e.eL,U.si,u.Q8,t.rt,U.BQ]})}return On})()},481:(jt,$e,s)=>{"use strict";s.d($e,{AA:()=>S,Kd:()=>E});var t=s(9594),u=s(4300),e=s(6814),m=s(9212),p=s(3680),U=s(6672),n=s(9388),I=s(1088),L=s(2831),y=s(2596);s(6825);const M=["tooltip"];let E=(()=>{class oe extends y.xT{constructor(ee,K,Q,q,H,T,ie,_e,Ce,Ve,ae,pe){super(ee,K,Q,q,H,T,ie,_e,Ce,Ve,ae,pe),this._tooltipComponent=A}static#e=this.\u0275fac=function(K){return new(K||oe)(m.Y36(t.aV),m.Y36(m.SBq),m.Y36(U.mF),m.Y36(m.s_b),m.Y36(m.R0b),m.Y36(L.t4),m.Y36(u.$s),m.Y36(u.tE),m.Y36(y.cV),m.Y36(n.Is,8),m.Y36(y.Jm,8),m.Y36(e.K0))};static#t=this.\u0275dir=m.lG2({type:oe,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(K,Q){2&K&&m.ekj("mat-tooltip-disabled",Q.disabled)},exportAs:["matTooltip"],features:[m.qOj]})}return oe})(),A=(()=>{class oe extends y.tr{constructor(ee,K,Q){super(ee,Q),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=K.observe(I.u3.Handset)}static#e=this.\u0275fac=function(K){return new(K||oe)(m.Y36(m.sBO),m.Y36(I.Yg),m.Y36(m.QbO,8))};static#t=this.\u0275cmp=m.Xpm({type:oe,selectors:[["mat-tooltip-component"]],viewQuery:function(K,Q){if(1&K&&m.Gf(M,7),2&K){let q;m.iGM(q=m.CRH())&&(Q._tooltip=q.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(K,Q){1&K&&m.NdJ("mouseleave",function(H){return Q._handleMouseLeave(H)}),2&K&&(m.uIk("mat-id-collision",null),m.Udp("zoom",Q.isVisible()?1:null))},features:[m.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(K,Q){if(1&K&&(m.TgZ(0,"div",0,1),m.NdJ("animationend",function(H){return Q._handleAnimationEnd(H)}),m.ALo(2,"async"),m._uU(3),m.qZA()),2&K){let q;m.ekj("mat-tooltip-handset",null==(q=m.lcZ(2,4,Q._isHandset))?null:q.matches),m.Q6J("ngClass",Q.tooltipClass),m.xp6(3),m.Oqu(Q.message)}},dependencies:[e.mk,e.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0})}return oe})(),S=(()=>{class oe{static#e=this.\u0275fac=function(K){return new(K||oe)};static#t=this.\u0275mod=m.oAB({type:oe});static#n=this.\u0275inj=m.cJS({providers:[y.Mp],imports:[u.rt,e.ez,t.U8,p.BQ,p.BQ,U.ZD]})}return oe})()},2651:(jt,$e,s)=>{"use strict";s.d($e,{JX:()=>G,LW:()=>we,Rh:()=>Se,SJ:()=>de,TM:()=>be,jA:()=>P,kh:()=>V});var t=s(6672),u=s(6814),e=s(9212),m=s(3680),p=s(4300),U=s(9388),n=s(2495),I=s(6028),L=s(2831),y=s(8645),O=s(2438),M=s(3019),E=s(2181),A=s(7398),S=s(975),Z=s(9773),oe=s(3997),le=s(8180),ee=s(7921),K=s(3620),Q=s(6825);const q=["*"],H=["content"];function T(De,tt){if(1&De){const Re=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(Re);const mt=e.oxw();return e.KtG(mt._onBackdropClicked())}),e.qZA()}if(2&De){const Re=e.oxw();e.ekj("mat-drawer-shown",Re._isShowingBackdrop())}}function ie(De,tt){1&De&&(e.TgZ(0,"mat-drawer-content"),e.Hsn(1,2),e.qZA())}const _e=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Ce=["mat-drawer","mat-drawer-content","*"];function Ve(De,tt){if(1&De){const Re=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){e.CHM(Re);const mt=e.oxw();return e.KtG(mt._onBackdropClicked())}),e.qZA()}if(2&De){const Re=e.oxw();e.ekj("mat-drawer-shown",Re._isShowingBackdrop())}}function ae(De,tt){1&De&&(e.TgZ(0,"mat-sidenav-content"),e.Hsn(1,2),e.qZA())}const pe=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ae=["mat-sidenav","mat-sidenav-content","*"],dt={transformDrawer:(0,Q.X$)("transform",[(0,Q.SB)("open, open-instant",(0,Q.oB)({transform:"none",visibility:"visible"})),(0,Q.SB)("void",(0,Q.oB)({"box-shadow":"none",visibility:"hidden"})),(0,Q.eR)("void => open-instant",(0,Q.jt)("0ms")),(0,Q.eR)("void <=> open, open-instant => void",(0,Q.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Xe=new e.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function W(){return!1}}),Ie=new e.OlP("MAT_DRAWER_CONTAINER");let we=(()=>{class De extends t.PQ{constructor(Re,Ft,mt,sn,hn){super(mt,sn,hn),this._changeDetectorRef=Re,this._container=Ft}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(Ft){return new(Ft||De)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>V)),e.Y36(e.SBq),e.Y36(t.mF),e.Y36(e.R0b))};static#t=this.\u0275cmp=e.Xpm({type:De,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(Ft,mt){2&Ft&&e.Udp("margin-left",mt._container._contentMargins.left,"px")("margin-right",mt._container._contentMargins.right,"px")},features:[e._Bn([{provide:t.PQ,useExisting:De}]),e.qOj],ngContentSelectors:q,decls:1,vars:0,template:function(Ft,mt){1&Ft&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return De})(),P=(()=>{class De{get position(){return this._position}set position(Re){(Re="end"===Re?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(Re),this._position=Re,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(Re){this._mode=Re,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(Re){this._disableClose=(0,n.Ig)(Re)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(Re){("true"===Re||"false"===Re||null==Re)&&(Re=(0,n.Ig)(Re)),this._autoFocus=Re}get opened(){return this._opened}set opened(Re){this.toggle((0,n.Ig)(Re))}constructor(Re,Ft,mt,sn,hn,Nn,Jt,cn){this._elementRef=Re,this._focusTrapFactory=Ft,this._focusMonitor=mt,this._platform=sn,this._ngZone=hn,this._interactivityChecker=Nn,this._doc=Jt,this._container=cn,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new y.x,this._animationEnd=new y.x,this._animationState="void",this.openedChange=new e.vpe(!0),this._openedStream=this.openedChange.pipe((0,E.h)(He=>He),(0,A.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,E.h)(He=>He.fromState!==He.toState&&0===He.toState.indexOf("open")),(0,S.h)(void 0)),this._closedStream=this.openedChange.pipe((0,E.h)(He=>!He),(0,A.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,E.h)(He=>He.fromState!==He.toState&&"void"===He.toState),(0,S.h)(void 0)),this._destroyed=new y.x,this.onPositionChanged=new e.vpe,this._modeChanged=new y.x,this.openedChange.subscribe(He=>{He?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,O.R)(this._elementRef.nativeElement,"keydown").pipe((0,E.h)(He=>He.keyCode===I.hY&&!this.disableClose&&!(0,I.Vb)(He)),(0,Z.R)(this._destroyed)).subscribe(He=>this._ngZone.run(()=>{this.close(),He.stopPropagation(),He.preventDefault()}))}),this._animationEnd.pipe((0,oe.x)((He,fe)=>He.fromState===fe.fromState&&He.toState===fe.toState)).subscribe(He=>{const{fromState:fe,toState:Ne}=He;(0===Ne.indexOf("open")&&"void"===fe||"void"===Ne&&0===fe.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(Re,Ft){this._interactivityChecker.isFocusable(Re)||(Re.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const mt=()=>{Re.removeEventListener("blur",mt),Re.removeEventListener("mousedown",mt),Re.removeAttribute("tabindex")};Re.addEventListener("blur",mt),Re.addEventListener("mousedown",mt)})),Re.focus(Ft)}_focusByCssSelector(Re,Ft){let mt=this._elementRef.nativeElement.querySelector(Re);mt&&this._forceFocus(mt,Ft)}_takeFocus(){if(!this._focusTrap)return;const Re=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Ft=>{!Ft&&"function"==typeof this._elementRef.nativeElement.focus&&Re.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(Re){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,Re):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const Re=this._doc.activeElement;return!!Re&&this._elementRef.nativeElement.contains(Re)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(Re){return this.toggle(!0,Re)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(Re=!this.opened,Ft){Re&&Ft&&(this._openedVia=Ft);const mt=this._setOpen(Re,!Re&&this._isFocusWithinDrawer(),this._openedVia||"program");return Re||(this._openedVia=null),mt}_setOpen(Re,Ft,mt){return this._opened=Re,Re?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Ft&&this._restoreFocus(mt)),this._updateFocusTrapState(),new Promise(sn=>{this.openedChange.pipe((0,le.q)(1)).subscribe(hn=>sn(hn?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(Re){const Ft=this._elementRef.nativeElement,mt=Ft.parentNode;"end"===Re?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),mt.insertBefore(this._anchor,Ft)),mt.appendChild(Ft)):this._anchor&&this._anchor.parentNode.insertBefore(Ft,this._anchor)}static#e=this.\u0275fac=function(Ft){return new(Ft||De)(e.Y36(e.SBq),e.Y36(p.qV),e.Y36(p.tE),e.Y36(L.t4),e.Y36(e.R0b),e.Y36(p.ic),e.Y36(u.K0,8),e.Y36(Ie,8))};static#t=this.\u0275cmp=e.Xpm({type:De,selectors:[["mat-drawer"]],viewQuery:function(Ft,mt){if(1&Ft&&e.Gf(H,5),2&Ft){let sn;e.iGM(sn=e.CRH())&&(mt._content=sn.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(Ft,mt){1&Ft&&e.WFA("@transform.start",function(hn){return mt._animationStarted.next(hn)})("@transform.done",function(hn){return mt._animationEnd.next(hn)}),2&Ft&&(e.uIk("align",null),e.d8E("@transform",mt._animationState),e.ekj("mat-drawer-end","end"===mt.position)("mat-drawer-over","over"===mt.mode)("mat-drawer-push","push"===mt.mode)("mat-drawer-side","side"===mt.mode)("mat-drawer-opened",mt.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:q,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Ft,mt){1&Ft&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[dt.transformDrawer]},changeDetection:0})}return De})(),V=(()=>{class De{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(Re){this._autosize=(0,n.Ig)(Re)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(Re){this._backdropOverride=null==Re?null:(0,n.Ig)(Re)}get scrollable(){return this._userContent||this._content}constructor(Re,Ft,mt,sn,hn,Nn=!1,Jt){this._dir=Re,this._element=Ft,this._ngZone=mt,this._changeDetectorRef=sn,this._animationMode=Jt,this._drawers=new e.n_E,this.backdropClick=new e.vpe,this._destroyed=new y.x,this._doCheckSubject=new y.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new y.x,Re&&Re.change.pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),hn.change().pipe((0,Z.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=Nn}ngAfterContentInit(){this._allDrawers.changes.pipe((0,ee.O)(this._allDrawers),(0,Z.R)(this._destroyed)).subscribe(Re=>{this._drawers.reset(Re.filter(Ft=>!Ft._container||Ft._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,ee.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(Re=>{this._watchDrawerToggle(Re),this._watchDrawerPosition(Re),this._watchDrawerMode(Re)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,K.b)(10),(0,Z.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(Re=>Re.open())}close(){this._drawers.forEach(Re=>Re.close())}updateContentMargins(){let Re=0,Ft=0;if(this._left&&this._left.opened)if("side"==this._left.mode)Re+=this._left._getWidth();else if("push"==this._left.mode){const mt=this._left._getWidth();Re+=mt,Ft-=mt}if(this._right&&this._right.opened)if("side"==this._right.mode)Ft+=this._right._getWidth();else if("push"==this._right.mode){const mt=this._right._getWidth();Ft+=mt,Re-=mt}Re=Re||null,Ft=Ft||null,(Re!==this._contentMargins.left||Ft!==this._contentMargins.right)&&(this._contentMargins={left:Re,right:Ft},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(Re){Re._animationStarted.pipe((0,E.h)(Ft=>Ft.fromState!==Ft.toState),(0,Z.R)(this._drawers.changes)).subscribe(Ft=>{"open-instant"!==Ft.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==Re.mode&&Re.openedChange.pipe((0,Z.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(Re.opened))}_watchDrawerPosition(Re){Re&&Re.onPositionChanged.pipe((0,Z.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,le.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(Re){Re&&Re._modeChanged.pipe((0,Z.R)((0,M.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(Re){const Ft=this._element.nativeElement.classList,mt="mat-drawer-container-has-open";Re?Ft.add(mt):Ft.remove(mt)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(Re=>{"end"==Re.position?this._end=Re:this._start=Re}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(Re=>Re&&!Re.disableClose&&this._drawerHasBackdrop(Re)).forEach(Re=>Re._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(Re){return null!=Re&&Re.opened}_drawerHasBackdrop(Re){return null==this._backdropOverride?!!Re&&"side"!==Re.mode:this._backdropOverride}static#e=this.\u0275fac=function(Ft){return new(Ft||De)(e.Y36(U.Is,8),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(t.rL),e.Y36(Xe),e.Y36(e.QbO,8))};static#t=this.\u0275cmp=e.Xpm({type:De,selectors:[["mat-drawer-container"]],contentQueries:function(Ft,mt,sn){if(1&Ft&&(e.Suo(sn,we,5),e.Suo(sn,P,5)),2&Ft){let hn;e.iGM(hn=e.CRH())&&(mt._content=hn.first),e.iGM(hn=e.CRH())&&(mt._allDrawers=hn)}},viewQuery:function(Ft,mt){if(1&Ft&&e.Gf(we,5),2&Ft){let sn;e.iGM(sn=e.CRH())&&(mt._userContent=sn.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(Ft,mt){2&Ft&&e.ekj("mat-drawer-container-explicit-backdrop",mt._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[e._Bn([{provide:Ie,useExisting:De}])],ngContentSelectors:Ce,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ft,mt){1&Ft&&(e.F$t(_e),e.YNc(0,T,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,ie,2,0,"mat-drawer-content",1)),2&Ft&&(e.Q6J("ngIf",mt.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!mt._content))},dependencies:[u.O5,we],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return De})(),Se=(()=>{class De extends we{constructor(Re,Ft,mt,sn,hn){super(Re,Ft,mt,sn,hn)}static#e=this.\u0275fac=function(Ft){return new(Ft||De)(e.Y36(e.sBO),e.Y36((0,e.Gpc)(()=>be)),e.Y36(e.SBq),e.Y36(t.mF),e.Y36(e.R0b))};static#t=this.\u0275cmp=e.Xpm({type:De,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(Ft,mt){2&Ft&&e.Udp("margin-left",mt._container._contentMargins.left,"px")("margin-right",mt._container._contentMargins.right,"px")},features:[e._Bn([{provide:t.PQ,useExisting:De}]),e.qOj],ngContentSelectors:q,decls:1,vars:0,template:function(Ft,mt){1&Ft&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0})}return De})(),G=(()=>{class De extends P{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(Re){this._fixedInViewport=(0,n.Ig)(Re)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(Re){this._fixedTopGap=(0,n.su)(Re)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(Re){this._fixedBottomGap=(0,n.su)(Re)}static#e=this.\u0275fac=(()=>{let Re;return function(mt){return(Re||(Re=e.n5z(De)))(mt||De)}})();static#t=this.\u0275cmp=e.Xpm({type:De,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(Ft,mt){2&Ft&&(e.uIk("align",null),e.Udp("top",mt.fixedInViewport?mt.fixedTopGap:null,"px")("bottom",mt.fixedInViewport?mt.fixedBottomGap:null,"px"),e.ekj("mat-drawer-end","end"===mt.position)("mat-drawer-over","over"===mt.mode)("mat-drawer-push","push"===mt.mode)("mat-drawer-side","side"===mt.mode)("mat-drawer-opened",mt.opened)("mat-sidenav-fixed",mt.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[e.qOj],ngContentSelectors:q,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(Ft,mt){1&Ft&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[dt.transformDrawer]},changeDetection:0})}return De})(),be=(()=>{class De extends V{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static#e=this.\u0275fac=(()=>{let Re;return function(mt){return(Re||(Re=e.n5z(De)))(mt||De)}})();static#t=this.\u0275cmp=e.Xpm({type:De,selectors:[["mat-sidenav-container"]],contentQueries:function(Ft,mt,sn){if(1&Ft&&(e.Suo(sn,Se,5),e.Suo(sn,G,5)),2&Ft){let hn;e.iGM(hn=e.CRH())&&(mt._content=hn.first),e.iGM(hn=e.CRH())&&(mt._allDrawers=hn)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(Ft,mt){2&Ft&&e.ekj("mat-drawer-container-explicit-backdrop",mt._backdropOverride)},exportAs:["matSidenavContainer"],features:[e._Bn([{provide:Ie,useExisting:De}]),e.qOj],ngContentSelectors:Ae,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(Ft,mt){1&Ft&&(e.F$t(pe),e.YNc(0,Ve,1,2,"div",0),e.Hsn(1),e.Hsn(2,1),e.YNc(3,ae,2,0,"mat-sidenav-content",1)),2&Ft&&(e.Q6J("ngIf",mt.hasBackdrop),e.xp6(3),e.Q6J("ngIf",!mt._content))},dependencies:[u.O5,Se],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}return De})(),de=(()=>{class De{static#e=this.\u0275fac=function(Ft){return new(Ft||De)};static#t=this.\u0275mod=e.oAB({type:De});static#n=this.\u0275inj=e.cJS({imports:[u.ez,m.BQ,t.ZD,t.ZD,m.BQ]})}return De})()},2939:(jt,$e,s)=>{"use strict";s.d($e,{Et:()=>H,OX:()=>Z,Ve:()=>ae,qD:()=>oe,rA:()=>pe,xi:()=>ie});var t=s(9212),u=s(8645),e=s(6814),m=s(6825),p=s(8484),U=s(2831),n=s(8180),I=s(9773),L=s(4300),y=s(1088),O=s(9594);const S=Math.pow(2,31)-1;class Z{constructor(dt,Fe){this._overlayRef=Fe,this._afterDismissed=new u.x,this._afterOpened=new u.x,this._onAction=new u.x,this._dismissedByAction=!1,this.containerInstance=dt,dt._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(dt){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(dt,S))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const oe=new t.OlP("MatSnackBarData");class le{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const H={snackBarState:(0,m.X$)("state",[(0,m.SB)("void, hidden",(0,m.oB)({transform:"scale(0.8)",opacity:0})),(0,m.SB)("visible",(0,m.oB)({transform:"scale(1)",opacity:1})),(0,m.eR)("* => visible",(0,m.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,m.eR)("* => void, * => hidden",(0,m.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,m.oB)({opacity:0})))])};let T=0,ie=(()=>{class Ze extends p.en{constructor(Fe,Xe,Ie,W,we){super(),this._ngZone=Fe,this._elementRef=Xe,this._changeDetectorRef=Ie,this._platform=W,this.snackBarConfig=we,this._document=(0,t.f3M)(e.K0),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new u.x,this._onExit=new u.x,this._onEnter=new u.x,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+T++,this.attachDomPortal=P=>{this._assertNotAttached();const V=this._portalOutlet.attachDomPortal(P);return this._afterPortalAttached(),V},this._live="assertive"!==we.politeness||we.announcementMessage?"off"===we.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(Fe){this._assertNotAttached();const Xe=this._portalOutlet.attachComponentPortal(Fe);return this._afterPortalAttached(),Xe}attachTemplatePortal(Fe){this._assertNotAttached();const Xe=this._portalOutlet.attachTemplatePortal(Fe);return this._afterPortalAttached(),Xe}onAnimationEnd(Fe){const{fromState:Xe,toState:Ie}=Fe;if(("void"===Ie&&"void"!==Xe||"hidden"===Ie)&&this._completeExit(),"visible"===Ie){const W=this._onEnter;this._ngZone.run(()=>{W.next(),W.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,n.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const Fe=this._elementRef.nativeElement,Xe=this.snackBarConfig.panelClass;Xe&&(Array.isArray(Xe)?Xe.forEach(Ie=>Fe.classList.add(Ie)):Fe.classList.add(Xe)),this._exposeToModals()}_exposeToModals(){const Fe=this._liveElementId,Xe=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Ie=0;Ie<Xe.length;Ie++){const W=Xe[Ie],we=W.getAttribute("aria-owns");this._trackedModals.add(W),we?-1===we.indexOf(Fe)&&W.setAttribute("aria-owns",we+" "+Fe):W.setAttribute("aria-owns",Fe)}}_clearFromModals(){this._trackedModals.forEach(Fe=>{const Xe=Fe.getAttribute("aria-owns");if(Xe){const Ie=Xe.replace(this._liveElementId,"").trim();Ie.length>0?Fe.setAttribute("aria-owns",Ie):Fe.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const Fe=this._elementRef.nativeElement.querySelector("[aria-hidden]"),Xe=this._elementRef.nativeElement.querySelector("[aria-live]");if(Fe&&Xe){let Ie=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&Fe.contains(document.activeElement)&&(Ie=document.activeElement),Fe.removeAttribute("aria-hidden"),Xe.appendChild(Fe),Ie?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(Xe){return new(Xe||Ze)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(U.t4),t.Y36(le))};static#t=this.\u0275dir=t.lG2({type:Ze,viewQuery:function(Xe,Ie){if(1&Xe&&t.Gf(p.Pl,7),2&Xe){let W;t.iGM(W=t.CRH())&&(Ie._portalOutlet=W.first)}},features:[t.qOj]})}return Ze})();const ae=new t.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function Ve(){return new le}});let pe=(()=>{class Ze{get _openedSnackBarRef(){const Fe=this._parentSnackBar;return Fe?Fe._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(Fe){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=Fe:this._snackBarRefAtThisLevel=Fe}constructor(Fe,Xe,Ie,W,we,P){this._overlay=Fe,this._live=Xe,this._injector=Ie,this._breakpointObserver=W,this._parentSnackBar=we,this._defaultConfig=P,this._snackBarRefAtThisLevel=null}openFromComponent(Fe,Xe){return this._attach(Fe,Xe)}openFromTemplate(Fe,Xe){return this._attach(Fe,Xe)}open(Fe,Xe="",Ie){const W={...this._defaultConfig,...Ie};return W.data={message:Fe,action:Xe},W.announcementMessage===Fe&&(W.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,W)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(Fe,Xe){const W=t.zs3.create({parent:Xe&&Xe.viewContainerRef&&Xe.viewContainerRef.injector||this._injector,providers:[{provide:le,useValue:Xe}]}),we=new p.C5(this.snackBarContainerComponent,Xe.viewContainerRef,W),P=Fe.attach(we);return P.instance.snackBarConfig=Xe,P.instance}_attach(Fe,Xe){const Ie={...new le,...this._defaultConfig,...Xe},W=this._createOverlay(Ie),we=this._attachSnackBarContainer(W,Ie),P=new Z(we,W);if(Fe instanceof t.Rgc){const V=new p.UE(Fe,null,{$implicit:Ie.data,snackBarRef:P});P.instance=we.attachTemplatePortal(V)}else{const V=this._createInjector(Ie,P),Se=new p.C5(Fe,void 0,V),G=we.attachComponentPortal(Se);P.instance=G.instance}return this._breakpointObserver.observe(y.u3.HandsetPortrait).pipe((0,I.R)(W.detachments())).subscribe(V=>{W.overlayElement.classList.toggle(this.handsetCssClass,V.matches)}),Ie.announcementMessage&&we._onAnnounce.subscribe(()=>{this._live.announce(Ie.announcementMessage,Ie.politeness)}),this._animateSnackBar(P,Ie),this._openedSnackBarRef=P,this._openedSnackBarRef}_animateSnackBar(Fe,Xe){Fe.afterDismissed().subscribe(()=>{this._openedSnackBarRef==Fe&&(this._openedSnackBarRef=null),Xe.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{Fe.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):Fe.containerInstance.enter(),Xe.duration&&Xe.duration>0&&Fe.afterOpened().subscribe(()=>Fe._dismissAfter(Xe.duration))}_createOverlay(Fe){const Xe=new O.X_;Xe.direction=Fe.direction;let Ie=this._overlay.position().global();const W="rtl"===Fe.direction,we="left"===Fe.horizontalPosition||"start"===Fe.horizontalPosition&&!W||"end"===Fe.horizontalPosition&&W,P=!we&&"center"!==Fe.horizontalPosition;return we?Ie.left("0"):P?Ie.right("0"):Ie.centerHorizontally(),"top"===Fe.verticalPosition?Ie.top("0"):Ie.bottom("0"),Xe.positionStrategy=Ie,this._overlay.create(Xe)}_createInjector(Fe,Xe){return t.zs3.create({parent:Fe&&Fe.viewContainerRef&&Fe.viewContainerRef.injector||this._injector,providers:[{provide:Z,useValue:Xe},{provide:oe,useValue:Fe.data}]})}static#e=this.\u0275fac=function(Xe){return new(Xe||Ze)(t.LFG(O.aV),t.LFG(L.Kd),t.LFG(t.zs3),t.LFG(y.Yg),t.LFG(Ze,12),t.LFG(ae))};static#t=this.\u0275prov=t.Yz7({token:Ze,factory:Ze.\u0275fac})}return Ze})()},3566:(jt,$e,s)=>{"use strict";s.d($e,{JX:()=>Ve,YE:()=>ee,nU:()=>Ce});var t=s(9212),u=s(4300),e=s(2495),m=s(6028),p=s(3680),U=s(8645),n=s(3019),I=s(6825),L=s(6814);const y=["mat-sort-header",""];function O(ae,pe){if(1&ae){const Ae=t.EpF();t.TgZ(0,"div",3),t.NdJ("@arrowPosition.start",function(){t.CHM(Ae);const dt=t.oxw();return t.KtG(dt._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){t.CHM(Ae);const dt=t.oxw();return t.KtG(dt._disableViewStateAnimation=!1)}),t._UZ(1,"div",4),t.TgZ(2,"div",5),t._UZ(3,"div",6)(4,"div",7)(5,"div",8),t.qZA()()}if(2&ae){const Ae=t.oxw();t.Q6J("@arrowOpacity",Ae._getArrowViewState())("@arrowPosition",Ae._getArrowViewState())("@allowChildren",Ae._getArrowDirectionState()),t.xp6(2),t.Q6J("@indicator",Ae._getArrowDirectionState()),t.xp6(),t.Q6J("@leftPointer",Ae._getArrowDirectionState()),t.xp6(),t.Q6J("@rightPointer",Ae._getArrowDirectionState())}}const M=["*"],oe=new t.OlP("MAT_SORT_DEFAULT_OPTIONS"),le=(0,p.dB)((0,p.Id)(class{}));let ee=(()=>{class ae extends le{get direction(){return this._direction}set direction(Ae){this._direction=Ae}get disableClear(){return this._disableClear}set disableClear(Ae){this._disableClear=(0,e.Ig)(Ae)}constructor(Ae){super(),this._defaultOptions=Ae,this.sortables=new Map,this._stateChanges=new U.x,this.start="asc",this._direction="",this.sortChange=new t.vpe}register(Ae){this.sortables.set(Ae.id,Ae)}deregister(Ae){this.sortables.delete(Ae.id)}sort(Ae){this.active!=Ae.id?(this.active=Ae.id,this.direction=Ae.start?Ae.start:this.start):this.direction=this.getNextSortDirection(Ae),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(Ae){if(!Ae)return"";let dt=function K(ae,pe){let Ae=["asc","desc"];return"desc"==ae&&Ae.reverse(),pe||Ae.push(""),Ae}(Ae.start||this.start,Ae?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),Fe=dt.indexOf(this.direction)+1;return Fe>=dt.length&&(Fe=0),dt[Fe]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(Ze){return new(Ze||ae)(t.Y36(oe,8))};static#t=this.\u0275dir=t.lG2({type:ae,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:[t.lbL.None,"matSortDisabled","disabled"],active:[t.lbL.None,"matSortActive","active"],start:[t.lbL.None,"matSortStart","start"],direction:[t.lbL.None,"matSortDirection","direction"],disableClear:[t.lbL.None,"matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[t.qOj,t.TTD]})}return ae})();const Q=p.mZ.ENTERING+" "+p.yN.STANDARD_CURVE,q={indicator:(0,I.X$)("indicator",[(0,I.SB)("active-asc, asc",(0,I.oB)({transform:"translateY(0px)"})),(0,I.SB)("active-desc, desc",(0,I.oB)({transform:"translateY(10px)"})),(0,I.eR)("active-asc <=> active-desc",(0,I.jt)(Q))]),leftPointer:(0,I.X$)("leftPointer",[(0,I.SB)("active-asc, asc",(0,I.oB)({transform:"rotate(-45deg)"})),(0,I.SB)("active-desc, desc",(0,I.oB)({transform:"rotate(45deg)"})),(0,I.eR)("active-asc <=> active-desc",(0,I.jt)(Q))]),rightPointer:(0,I.X$)("rightPointer",[(0,I.SB)("active-asc, asc",(0,I.oB)({transform:"rotate(45deg)"})),(0,I.SB)("active-desc, desc",(0,I.oB)({transform:"rotate(-45deg)"})),(0,I.eR)("active-asc <=> active-desc",(0,I.jt)(Q))]),arrowOpacity:(0,I.X$)("arrowOpacity",[(0,I.SB)("desc-to-active, asc-to-active, active",(0,I.oB)({opacity:1})),(0,I.SB)("desc-to-hint, asc-to-hint, hint",(0,I.oB)({opacity:.54})),(0,I.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,I.oB)({opacity:0})),(0,I.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,I.jt)("0ms")),(0,I.eR)("* <=> *",(0,I.jt)(Q))]),arrowPosition:(0,I.X$)("arrowPosition",[(0,I.eR)("* => desc-to-hint, * => desc-to-active",(0,I.jt)(Q,(0,I.F4)([(0,I.oB)({transform:"translateY(-25%)"}),(0,I.oB)({transform:"translateY(0)"})]))),(0,I.eR)("* => hint-to-desc, * => active-to-desc",(0,I.jt)(Q,(0,I.F4)([(0,I.oB)({transform:"translateY(0)"}),(0,I.oB)({transform:"translateY(25%)"})]))),(0,I.eR)("* => asc-to-hint, * => asc-to-active",(0,I.jt)(Q,(0,I.F4)([(0,I.oB)({transform:"translateY(25%)"}),(0,I.oB)({transform:"translateY(0)"})]))),(0,I.eR)("* => hint-to-asc, * => active-to-asc",(0,I.jt)(Q,(0,I.F4)([(0,I.oB)({transform:"translateY(0)"}),(0,I.oB)({transform:"translateY(-25%)"})]))),(0,I.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,I.oB)({transform:"translateY(0)"})),(0,I.SB)("hint-to-desc, active-to-desc, desc",(0,I.oB)({transform:"translateY(-25%)"})),(0,I.SB)("hint-to-asc, active-to-asc, asc",(0,I.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,I.X$)("allowChildren",[(0,I.eR)("* <=> *",[(0,I.IO)("@*",(0,I.pV)(),{optional:!0})])])};let H=(()=>{class ae{constructor(){this.changes=new U.x}static#e=this.\u0275fac=function(Ze){return new(Ze||ae)};static#t=this.\u0275prov=t.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"})}return ae})();const ie={provide:H,deps:[[new t.FiY,new t.tp0,H]],useFactory:function T(ae){return ae||new H}},_e=(0,p.Id)(class{});let Ce=(()=>{class ae extends _e{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(Ae){this._updateSortActionDescription(Ae)}get disableClear(){return this._disableClear}set disableClear(Ae){this._disableClear=(0,e.Ig)(Ae)}constructor(Ae,Ze,dt,Fe,Xe,Ie,W,we){super(),this._intl=Ae,this._changeDetectorRef=Ze,this._sort=dt,this._columnDef=Fe,this._focusMonitor=Xe,this._elementRef=Ie,this._ariaDescriber=W,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",we?.arrowPosition&&(this.arrowPosition=we?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Ae=>{const Ze=!!Ae;Ze!==this._showIndicatorHint&&(this._setIndicatorHintVisible(Ze),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(Ae){this._isDisabled()&&Ae||(this._showIndicatorHint=Ae,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(Ae){this._viewState=Ae||{},this._disableViewStateAnimation&&(this._viewState={toState:Ae.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(Ae){!this._isDisabled()&&(Ae.keyCode===m.L_||Ae.keyCode===m.K5)&&(Ae.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const Ae=this._viewState.fromState;return(Ae?`${Ae}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(Ae){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,Ae)),this._sortActionDescription=Ae}_handleStateChanges(){this._rerenderSubscription=(0,n.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(Ze){return new(Ze||ae)(t.Y36(H),t.Y36(t.sBO),t.Y36(ee,8),t.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),t.Y36(u.tE),t.Y36(t.SBq),t.Y36(u.$s,8),t.Y36(oe,8))};static#t=this.\u0275cmp=t.Xpm({type:ae,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(Ze,dt){1&Ze&&t.NdJ("click",function(){return dt._handleClick()})("keydown",function(Xe){return dt._handleKeydown(Xe)})("mouseenter",function(){return dt._setIndicatorHintVisible(!0)})("mouseleave",function(){return dt._setIndicatorHintVisible(!1)}),2&Ze&&(t.uIk("aria-sort",dt._getAriaSortAttribute()),t.ekj("mat-sort-header-disabled",dt._isDisabled()))},inputs:{disabled:"disabled",id:[t.lbL.None,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[t.qOj],attrs:y,ngContentSelectors:M,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(Ze,dt){1&Ze&&(t.F$t(),t.TgZ(0,"div",0)(1,"div",1),t.Hsn(2),t.qZA(),t.YNc(3,O,6,6,"div",2),t.qZA()),2&Ze&&(t.ekj("mat-sort-header-sorted",dt._isSorted())("mat-sort-header-position-before","before"===dt.arrowPosition),t.uIk("tabindex",dt._isDisabled()?null:0)("role",dt._isDisabled()?null:"button"),t.xp6(3),t.Q6J("ngIf",dt._renderArrow()))},dependencies:[L.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[q.indicator,q.leftPointer,q.rightPointer,q.arrowOpacity,q.arrowPosition,q.allowChildren]},changeDetection:0})}return ae})(),Ve=(()=>{class ae{static#e=this.\u0275fac=function(Ze){return new(Ze||ae)};static#t=this.\u0275mod=t.oAB({type:ae});static#n=this.\u0275inj=t.cJS({providers:[ie],imports:[L.ez,p.BQ]})}return ae})()},1545:(jt,$e,s)=>{"use strict";s.d($e,{T5:()=>Ge});var t=s(8484),u=s(9388),e=s(9212);let Z=(()=>{class Ke{static#e=this.\u0275fac=function(tn){return new(tn||Ke)};static#t=this.\u0275mod=e.oAB({type:Ke});static#n=this.\u0275inj=e.cJS({imports:[u.vT]})}return Ke})();var oe=s(6814),le=s(3680),ee=s(617),K=s(8645);s(6825);let tt=(()=>{class Ke{constructor(){this.changes=new K.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#e=this.\u0275fac=function(tn){return new(tn||Ke)};static#t=this.\u0275prov=e.Yz7({token:Ke,factory:Ke.\u0275fac,providedIn:"root"})}return Ke})();const Ft={provide:tt,deps:[[new e.FiY,new e.tp0,tt]],useFactory:function Re(Ke){return Ke||new tt}};let Ge=(()=>{class Ke{static#e=this.\u0275fac=function(tn){return new(tn||Ke)};static#t=this.\u0275mod=e.oAB({type:Ke});static#n=this.\u0275inj=e.cJS({providers:[Ft,le.rD],imports:[le.BQ,oe.ez,t.eL,Z,ee.Ps,le.si,le.BQ]})}return Ke})()},1274:(jt,$e,s)=>{"use strict";s.d($e,{Ye:()=>L,g0:()=>O,rD:()=>I});var t=s(9212),u=s(3680),e=s(2831),m=s(6814);const p=["*",[["mat-toolbar-row"]]],U=["*","mat-toolbar-row"],n=(0,u.pj)(class{constructor(M){this._elementRef=M}});let I=(()=>{class M{static#e=this.\u0275fac=function(S){return new(S||M)};static#t=this.\u0275dir=t.lG2({type:M,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return M})(),L=(()=>{class M extends n{constructor(A,S,Z){super(A),this._platform=S,this._document=Z}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static#e=this.\u0275fac=function(S){return new(S||M)(t.Y36(t.SBq),t.Y36(e.t4),t.Y36(m.K0))};static#t=this.\u0275cmp=t.Xpm({type:M,selectors:[["mat-toolbar"]],contentQueries:function(S,Z,oe){if(1&S&&t.Suo(oe,I,5),2&S){let le;t.iGM(le=t.CRH())&&(Z._toolbarRows=le)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(S,Z){2&S&&t.ekj("mat-toolbar-multiple-rows",Z._toolbarRows.length>0)("mat-toolbar-single-row",0===Z._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[t.qOj],ngContentSelectors:U,decls:2,vars:0,template:function(S,Z){1&S&&(t.F$t(p),t.Hsn(0),t.Hsn(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}return M})(),O=(()=>{class M{static#e=this.\u0275fac=function(S){return new(S||M)};static#t=this.\u0275mod=t.oAB({type:M});static#n=this.\u0275inj=t.cJS({imports:[u.BQ,u.BQ]})}return M})()},2596:(jt,$e,s)=>{"use strict";s.d($e,{Jm:()=>le,Mp:()=>Z,cV:()=>A,tr:()=>ae,xT:()=>Ce});var t=s(9773),u=s(8180),e=s(2495),m=s(6028),p=s(9212),U=s(2831),n=s(9594),I=s(8484),L=s(8645);s(6825);const A=new p.OlP("mat-tooltip-scroll-strategy"),Z={provide:A,deps:[n.aV],useFactory:function S(dt){return()=>dt.scrollStrategies.reposition({scrollThrottle:20})}},le=new p.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function oe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),K="tooltip-panel",Q=(0,U.i$)({passive:!0});let Ce=(()=>{class dt{get position(){return this._position}set position(Xe){Xe!==this._position&&(this._position=Xe,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Xe){this._positionAtOrigin=(0,e.Ig)(Xe),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Xe){this._disabled=(0,e.Ig)(Xe),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Xe){this._showDelay=(0,e.su)(Xe)}get hideDelay(){return this._hideDelay}set hideDelay(Xe){this._hideDelay=(0,e.su)(Xe),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Xe){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Xe?String(Xe).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(Xe){this._tooltipClass=Xe,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Xe,Ie,W,we,P,V,Se,G,be,de,De,tt){this._overlay=Xe,this._elementRef=Ie,this._scrollDispatcher=W,this._viewContainerRef=we,this._ngZone=P,this._platform=V,this._ariaDescriber=Se,this._focusMonitor=G,this._dir=de,this._defaultOptions=De,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new L.x,this._scrollStrategy=be,this._document=tt,De&&(this._showDelay=De.showDelay,this._hideDelay=De.hideDelay,De.position&&(this.position=De.position),De.positionAtOrigin&&(this.positionAtOrigin=De.positionAtOrigin),De.touchGestures&&(this.touchGestures=De.touchGestures)),de.change.pipe((0,t.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,t.R)(this._destroyed)).subscribe(Xe=>{Xe?"keyboard"===Xe&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Xe=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ie,W])=>{Xe.removeEventListener(Ie,W,Q)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Xe,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Xe)}show(Xe=this.showDelay,Ie){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const W=this._createOverlay(Ie);this._detach(),this._portal=this._portal||new I.C5(this._tooltipComponent,this._viewContainerRef);const we=this._tooltipInstance=W.attach(this._portal).instance;we._triggerElement=this._elementRef.nativeElement,we._mouseLeaveHideDelay=this._hideDelay,we.afterHidden().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),we.show(Xe)}hide(Xe=this.hideDelay){const Ie=this._tooltipInstance;Ie&&(Ie.isVisible()?Ie.hide(Xe):(Ie._cancelPendingAnimations(),this._detach()))}toggle(Xe){this._isTooltipVisible()?this.hide():this.show(void 0,Xe)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Xe){if(this._overlayRef){const we=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Xe)&&we._origin instanceof p.SBq)return this._overlayRef;this._detach()}const Ie=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),W=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Xe||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Ie);return W.positionChanges.pipe((0,t.R)(this._destroyed)).subscribe(we=>{this._updateCurrentPositionClass(we.connectionPair),this._tooltipInstance&&we.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:W,panelClass:`${this._cssClassPrefix}-${K}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,t.R)(this._destroyed)).subscribe(we=>{this._isTooltipVisible()&&we.keyCode===m.hY&&!(0,m.Vb)(we)&&(we.preventDefault(),we.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(Xe){const Ie=Xe.getConfig().positionStrategy,W=this._getOrigin(),we=this._getOverlayPosition();Ie.withPositions([this._addOffset({...W.main,...we.main}),this._addOffset({...W.fallback,...we.fallback})])}_addOffset(Xe){return Xe}_getOrigin(){const Xe=!this._dir||"ltr"==this._dir.value,Ie=this.position;let W;"above"==Ie||"below"==Ie?W={originX:"center",originY:"above"==Ie?"top":"bottom"}:"before"==Ie||"left"==Ie&&Xe||"right"==Ie&&!Xe?W={originX:"start",originY:"center"}:("after"==Ie||"right"==Ie&&Xe||"left"==Ie&&!Xe)&&(W={originX:"end",originY:"center"});const{x:we,y:P}=this._invertPosition(W.originX,W.originY);return{main:W,fallback:{originX:we,originY:P}}}_getOverlayPosition(){const Xe=!this._dir||"ltr"==this._dir.value,Ie=this.position;let W;"above"==Ie?W={overlayX:"center",overlayY:"bottom"}:"below"==Ie?W={overlayX:"center",overlayY:"top"}:"before"==Ie||"left"==Ie&&Xe||"right"==Ie&&!Xe?W={overlayX:"end",overlayY:"center"}:("after"==Ie||"right"==Ie&&Xe||"left"==Ie&&!Xe)&&(W={overlayX:"start",overlayY:"center"});const{x:we,y:P}=this._invertPosition(W.overlayX,W.overlayY);return{main:W,fallback:{overlayX:we,overlayY:P}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,u.q)(1),(0,t.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(Xe){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Xe,this._tooltipInstance._markForCheck())}_invertPosition(Xe,Ie){return"above"===this.position||"below"===this.position?"top"===Ie?Ie="bottom":"bottom"===Ie&&(Ie="top"):"end"===Xe?Xe="start":"start"===Xe&&(Xe="end"),{x:Xe,y:Ie}}_updateCurrentPositionClass(Xe){const{overlayY:Ie,originX:W,originY:we}=Xe;let P;if(P="center"===Ie?this._dir&&"rtl"===this._dir.value?"end"===W?"left":"right":"start"===W?"left":"right":"bottom"===Ie&&"top"===we?"above":"below",P!==this._currentPosition){const V=this._overlayRef;if(V){const Se=`${this._cssClassPrefix}-${K}-`;V.removePanelClass(Se+this._currentPosition),V.addPanelClass(Se+P)}this._currentPosition=P}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Xe=>{let Ie;this._setupPointerExitEventsIfNeeded(),void 0!==Xe.x&&void 0!==Xe.y&&(Ie=Xe),this.show(void 0,Ie)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Xe=>{const Ie=Xe.targetTouches?.[0],W=Ie?{x:Ie.clientX,y:Ie.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,W),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Xe=[];if(this._platformSupportsMouseEvents())Xe.push(["mouseleave",Ie=>{const W=Ie.relatedTarget;(!W||!this._overlayRef?.overlayElement.contains(W))&&this.hide()}],["wheel",Ie=>this._wheelListener(Ie)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Ie=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};Xe.push(["touchend",Ie],["touchcancel",Ie])}this._addListeners(Xe),this._passiveListeners.push(...Xe)}_addListeners(Xe){Xe.forEach(([Ie,W])=>{this._elementRef.nativeElement.addEventListener(Ie,W,Q)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Xe){if(this._isTooltipVisible()){const Ie=this._document.elementFromPoint(Xe.clientX,Xe.clientY),W=this._elementRef.nativeElement;Ie!==W&&!W.contains(Ie)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Xe=this.touchGestures;if("off"!==Xe){const Ie=this._elementRef.nativeElement,W=Ie.style;("on"===Xe||"INPUT"!==Ie.nodeName&&"TEXTAREA"!==Ie.nodeName)&&(W.userSelect=W.msUserSelect=W.webkitUserSelect=W.MozUserSelect="none"),("on"===Xe||!Ie.draggable)&&(W.webkitUserDrag="none"),W.touchAction="none",W.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(Ie){p.$Z()};static#t=this.\u0275dir=p.lG2({type:dt,inputs:{position:[p.lbL.None,"matTooltipPosition","position"],positionAtOrigin:[p.lbL.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[p.lbL.None,"matTooltipDisabled","disabled"],showDelay:[p.lbL.None,"matTooltipShowDelay","showDelay"],hideDelay:[p.lbL.None,"matTooltipHideDelay","hideDelay"],touchGestures:[p.lbL.None,"matTooltipTouchGestures","touchGestures"],message:[p.lbL.None,"matTooltip","message"],tooltipClass:[p.lbL.None,"matTooltipClass","tooltipClass"]}})}return dt})(),ae=(()=>{class dt{constructor(Xe,Ie){this._changeDetectorRef=Xe,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new L.x,this._animationsDisabled="NoopAnimations"===Ie}show(Xe){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Xe)}hide(Xe){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Xe)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:Xe}){(!Xe||!this._triggerElement.contains(Xe))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Xe}){(Xe===this._showAnimation||Xe===this._hideAnimation)&&this._finalizeAnimation(Xe===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Xe){Xe?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Xe){const Ie=this._tooltip.nativeElement,W=this._showAnimation,we=this._hideAnimation;if(Ie.classList.remove(Xe?we:W),Ie.classList.add(Xe?W:we),this._isVisible=Xe,Xe&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const P=getComputedStyle(Ie);("0s"===P.getPropertyValue("animation-duration")||"none"===P.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Xe&&this._onShow(),this._animationsDisabled&&(Ie.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Xe))}static#e=this.\u0275fac=function(Ie){return new(Ie||dt)(p.Y36(p.sBO),p.Y36(p.QbO,8))};static#t=this.\u0275dir=p.lG2({type:dt})}return dt})()},8445:(jt,$e,s)=>{"use strict";s.d($e,{Ar:()=>A,GZ:()=>M,WX:()=>Q,dp:()=>le,eu:()=>Z,fQ:()=>O,gi:()=>S,uo:()=>y});var t=s(1894),u=s(9212),e=s(3680),m=s(2495),p=s(8337),U=s(5619),n=s(3019),I=s(7398);const L=(0,e.sb)((0,e.Id)(t.Hs));let y=(()=>{class q extends L{constructor(T,ie,_e){super(T,ie),this.tabIndex=Number(_e)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(ie){return new(ie||q)(u.Y36(u.SBq),u.Y36(t._0),u.$8M("tabindex"))};static#t=this.\u0275dir=u.lG2({type:q,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[u._Bn([{provide:t.Hs,useExisting:q}]),u.qOj]})}return q})(),O=(()=>{class q extends t.rO{static#e=this.\u0275fac=(()=>{let T;return function(_e){return(T||(T=u.n5z(q)))(_e||q)}})();static#t=this.\u0275dir=u.lG2({type:q,selectors:[["","matTreeNodeDef",""]],inputs:{when:[u.lbL.None,"matTreeNodeDefWhen","when"],data:[u.lbL.None,"matTreeNode","data"]},features:[u._Bn([{provide:t.rO,useExisting:q}]),u.qOj]})}return q})(),M=(()=>{class q extends t.Xx{get disabled(){return this._disabled}set disabled(T){this._disabled=(0,m.Ig)(T)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(T){this._tabIndex=T??0}constructor(T,ie,_e,Ce){super(T,ie,_e),this._disabled=!1,this.tabIndex=Number(Ce)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static#e=this.\u0275fac=function(ie){return new(ie||q)(u.Y36(u.SBq),u.Y36(t._0),u.Y36(u.ZZ4),u.$8M("tabindex"))};static#t=this.\u0275dir=u.lG2({type:q,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:[u.lbL.None,"matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[u._Bn([{provide:t.Xx,useExisting:q},{provide:t.Hs,useExisting:q},{provide:t.HI,useExisting:q}]),u.qOj]})}return q})(),A=(()=>{class q{constructor(T,ie){this.viewContainer=T,this._node=ie}static#e=this.\u0275fac=function(ie){return new(ie||q)(u.Y36(u.s_b),u.Y36(t.HI,8))};static#t=this.\u0275dir=u.lG2({type:q,selectors:[["","matTreeNodeOutlet",""]],features:[u._Bn([{provide:t.cu,useExisting:q}])]})}return q})(),S=(()=>{class q extends t._0{constructor(){super(...arguments),this._nodeOutlet=void 0}static#e=this.\u0275fac=(()=>{let T;return function(_e){return(T||(T=u.n5z(q)))(_e||q)}})();static#t=this.\u0275cmp=u.Xpm({type:q,selectors:[["mat-tree"]],viewQuery:function(ie,_e){if(1&ie&&u.Gf(A,7),2&ie){let Ce;u.iGM(Ce=u.CRH())&&(_e._nodeOutlet=Ce.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[u._Bn([{provide:t._0,useExisting:q}]),u.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ie,_e){1&ie&&u.GkF(0,0)},dependencies:[A],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2})}return q})(),Z=(()=>{class q extends t.Ud{static#e=this.\u0275fac=(()=>{let T;return function(_e){return(T||(T=u.n5z(q)))(_e||q)}})();static#t=this.\u0275dir=u.lG2({type:q,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[u.lbL.None,"matTreeNodeToggleRecursive","recursive"]},features:[u._Bn([{provide:t.Ud,useExisting:q}]),u.qOj]})}return q})(),le=(()=>{class q{static#e=this.\u0275fac=function(ie){return new(ie||q)};static#t=this.\u0275mod=u.oAB({type:q});static#n=this.\u0275inj=u.cJS({imports:[t.nZ,e.BQ,e.BQ]})}return q})();class Q extends p.o2{constructor(){super(...arguments),this._data=new U.X([])}get data(){return this._data.value}set data(H){this._data.next(H)}connect(H){return(0,n.T)(H.viewChange,this._data).pipe((0,I.U)(()=>this.data))}disconnect(){}}},6593:(jt,$e,s)=>{"use strict";s.d($e,{Dx:()=>He,H7:()=>zt,b2:()=>sn,q6:()=>tt,se:()=>ie});var t=s(9212),u=s(6814);class e extends u.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class m extends e{static makeCurrent(){(0,u.HT)(new m)}onAndCancel(F,N,k){return F.addEventListener(N,k),()=>{F.removeEventListener(N,k)}}dispatchEvent(F,N){F.dispatchEvent(N)}remove(F){F.parentNode&&F.parentNode.removeChild(F)}createElement(F,N){return(N=N||this.getDefaultDocument()).createElement(F)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(F){return F.nodeType===Node.ELEMENT_NODE}isShadowRoot(F){return F instanceof DocumentFragment}getGlobalEventTarget(F,N){return"window"===N?window:"document"===N?F:"body"===N?F.body:null}getBaseHref(F){const N=function U(){return p=p||document.querySelector("base"),p?p.getAttribute("href"):null}();return null==N?null:function n(j){return new URL(j,document.baseURI).pathname}(N)}resetBaseElement(){p=null}getUserAgent(){return window.navigator.userAgent}getCookie(F){return(0,u.Mx)(document.cookie,F)}}let p=null,L=(()=>{class j{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(k){return new(k||j)};static#t=this.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac})}return j})();const y=new t.OlP("EventManagerPlugins");let O=(()=>{class j{constructor(N,k){this._zone=k,this._eventNameToPlugin=new Map,N.forEach(ne=>{ne.manager=this}),this._plugins=N.slice().reverse()}addEventListener(N,k,ne){return this._findPluginFor(k).addEventListener(N,k,ne)}getZone(){return this._zone}_findPluginFor(N){let k=this._eventNameToPlugin.get(N);if(k)return k;if(k=this._plugins.find(z=>z.supports(N)),!k)throw new t.vHH(5101,!1);return this._eventNameToPlugin.set(N,k),k}static#e=this.\u0275fac=function(k){return new(k||j)(t.LFG(y),t.LFG(t.R0b))};static#t=this.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac})}return j})();class M{constructor(F){this._doc=F}}const E="ng-app-id";let A=(()=>{class j{constructor(N,k,ne,z={}){this.doc=N,this.appId=k,this.nonce=ne,this.platformId=z,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,u.PM)(z),this.resetHostNodes()}addStyles(N){for(const k of N)1===this.changeUsageCount(k,1)&&this.onStyleAdded(k)}removeStyles(N){for(const k of N)this.changeUsageCount(k,-1)<=0&&this.onStyleRemoved(k)}ngOnDestroy(){const N=this.styleNodesInDOM;N&&(N.forEach(k=>k.remove()),N.clear());for(const k of this.getAllStyles())this.onStyleRemoved(k);this.resetHostNodes()}addHost(N){this.hostNodes.add(N);for(const k of this.getAllStyles())this.addStyleToHost(N,k)}removeHost(N){this.hostNodes.delete(N)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(N){for(const k of this.hostNodes)this.addStyleToHost(k,N)}onStyleRemoved(N){const k=this.styleRef;k.get(N)?.elements?.forEach(ne=>ne.remove()),k.delete(N)}collectServerRenderedStyles(){const N=this.doc.head?.querySelectorAll(`style[${E}="${this.appId}"]`);if(N?.length){const k=new Map;return N.forEach(ne=>{null!=ne.textContent&&k.set(ne.textContent,ne)}),k}return null}changeUsageCount(N,k){const ne=this.styleRef;if(ne.has(N)){const z=ne.get(N);return z.usage+=k,z.usage}return ne.set(N,{usage:k,elements:[]}),k}getStyleElement(N,k){const ne=this.styleNodesInDOM,z=ne?.get(k);if(z?.parentNode===N)return ne.delete(k),z.removeAttribute(E),z;{const re=this.doc.createElement("style");return this.nonce&&re.setAttribute("nonce",this.nonce),re.textContent=k,this.platformIsServer&&re.setAttribute(E,this.appId),N.appendChild(re),re}}addStyleToHost(N,k){const ne=this.getStyleElement(N,k),z=this.styleRef,re=z.get(k)?.elements;re?re.push(ne):z.set(k,{elements:[ne],usage:1})}resetHostNodes(){const N=this.hostNodes;N.clear(),N.add(this.doc.head)}static#e=this.\u0275fac=function(k){return new(k||j)(t.LFG(u.K0),t.LFG(t.AFp),t.LFG(t.Ojb,8),t.LFG(t.Lbi))};static#t=this.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac})}return j})();const S={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/"},Z=/%COMP%/g,Q=new t.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function T(j,F){return F.map(N=>N.replace(Z,j))}let ie=(()=>{class j{constructor(N,k,ne,z,re,B,Y,Qe=null){this.eventManager=N,this.sharedStylesHost=k,this.appId=ne,this.removeStylesOnCompDestroy=z,this.doc=re,this.platformId=B,this.ngZone=Y,this.nonce=Qe,this.rendererByCompId=new Map,this.platformIsServer=(0,u.PM)(B),this.defaultRenderer=new _e(N,re,Y,this.platformIsServer)}createRenderer(N,k){if(!N||!k)return this.defaultRenderer;this.platformIsServer&&k.encapsulation===t.ifc.ShadowDom&&(k={...k,encapsulation:t.ifc.Emulated});const ne=this.getOrCreateRenderer(N,k);return ne instanceof Ze?ne.applyToHost(N):ne instanceof Ae&&ne.applyStyles(),ne}getOrCreateRenderer(N,k){const ne=this.rendererByCompId;let z=ne.get(k.id);if(!z){const re=this.doc,B=this.ngZone,Y=this.eventManager,Qe=this.sharedStylesHost,_t=this.removeStylesOnCompDestroy,Vt=this.platformIsServer;switch(k.encapsulation){case t.ifc.Emulated:z=new Ze(Y,Qe,k,this.appId,_t,re,B,Vt);break;case t.ifc.ShadowDom:return new pe(Y,Qe,N,k,re,B,this.nonce,Vt);default:z=new Ae(Y,Qe,k,_t,re,B,Vt)}ne.set(k.id,z)}return z}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(k){return new(k||j)(t.LFG(O),t.LFG(A),t.LFG(t.AFp),t.LFG(Q),t.LFG(u.K0),t.LFG(t.Lbi),t.LFG(t.R0b),t.LFG(t.Ojb))};static#t=this.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac})}return j})();class _e{constructor(F,N,k,ne){this.eventManager=F,this.doc=N,this.ngZone=k,this.platformIsServer=ne,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(F,N){return N?this.doc.createElementNS(S[N]||N,F):this.doc.createElement(F)}createComment(F){return this.doc.createComment(F)}createText(F){return this.doc.createTextNode(F)}appendChild(F,N){(ae(F)?F.content:F).appendChild(N)}insertBefore(F,N,k){F&&(ae(F)?F.content:F).insertBefore(N,k)}removeChild(F,N){F&&F.removeChild(N)}selectRootElement(F,N){let k="string"==typeof F?this.doc.querySelector(F):F;if(!k)throw new t.vHH(-5104,!1);return N||(k.textContent=""),k}parentNode(F){return F.parentNode}nextSibling(F){return F.nextSibling}setAttribute(F,N,k,ne){if(ne){N=ne+":"+N;const z=S[ne];z?F.setAttributeNS(z,N,k):F.setAttribute(N,k)}else F.setAttribute(N,k)}removeAttribute(F,N,k){if(k){const ne=S[k];ne?F.removeAttributeNS(ne,N):F.removeAttribute(`${k}:${N}`)}else F.removeAttribute(N)}addClass(F,N){F.classList.add(N)}removeClass(F,N){F.classList.remove(N)}setStyle(F,N,k,ne){ne&(t.JOm.DashCase|t.JOm.Important)?F.style.setProperty(N,k,ne&t.JOm.Important?"important":""):F.style[N]=k}removeStyle(F,N,k){k&t.JOm.DashCase?F.style.removeProperty(N):F.style[N]=""}setProperty(F,N,k){null!=F&&(F[N]=k)}setValue(F,N){F.nodeValue=N}listen(F,N,k){if("string"==typeof F&&!(F=(0,u.q)().getGlobalEventTarget(this.doc,F)))throw new Error(`Unsupported event target ${F} for event ${N}`);return this.eventManager.addEventListener(F,N,this.decoratePreventDefault(k))}decoratePreventDefault(F){return N=>{if("__ngUnwrap__"===N)return F;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>F(N)):F(N))&&N.preventDefault()}}}function ae(j){return"TEMPLATE"===j.tagName&&void 0!==j.content}class pe extends _e{constructor(F,N,k,ne,z,re,B,Y){super(F,z,re,Y),this.sharedStylesHost=N,this.hostEl=k,this.shadowRoot=k.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Qe=T(ne.id,ne.styles);for(const _t of Qe){const Vt=document.createElement("style");B&&Vt.setAttribute("nonce",B),Vt.textContent=_t,this.shadowRoot.appendChild(Vt)}}nodeOrShadowRoot(F){return F===this.hostEl?this.shadowRoot:F}appendChild(F,N){return super.appendChild(this.nodeOrShadowRoot(F),N)}insertBefore(F,N,k){return super.insertBefore(this.nodeOrShadowRoot(F),N,k)}removeChild(F,N){return super.removeChild(this.nodeOrShadowRoot(F),N)}parentNode(F){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(F)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ae extends _e{constructor(F,N,k,ne,z,re,B,Y){super(F,z,re,B),this.sharedStylesHost=N,this.removeStylesOnCompDestroy=ne,this.styles=Y?T(Y,k.styles):k.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ze extends Ae{constructor(F,N,k,ne,z,re,B,Y){const Qe=ne+"-"+k.id;super(F,N,k,z,re,B,Y,Qe),this.contentAttr=function q(j){return"_ngcontent-%COMP%".replace(Z,j)}(Qe),this.hostAttr=function H(j){return"_nghost-%COMP%".replace(Z,j)}(Qe)}applyToHost(F){this.applyStyles(),this.setAttribute(F,this.hostAttr,"")}createElement(F,N){const k=super.createElement(F,N);return super.setAttribute(k,this.contentAttr,""),k}}let dt=(()=>{class j extends M{constructor(N){super(N)}supports(N){return!0}addEventListener(N,k,ne){return N.addEventListener(k,ne,!1),()=>this.removeEventListener(N,k,ne)}removeEventListener(N,k,ne){return N.removeEventListener(k,ne)}static#e=this.\u0275fac=function(k){return new(k||j)(t.LFG(u.K0))};static#t=this.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac})}return j})();const Fe=["alt","control","meta","shift"],Xe={"\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"},Ie={alt:j=>j.altKey,control:j=>j.ctrlKey,meta:j=>j.metaKey,shift:j=>j.shiftKey};let W=(()=>{class j extends M{constructor(N){super(N)}supports(N){return null!=j.parseEventName(N)}addEventListener(N,k,ne){const z=j.parseEventName(k),re=j.eventCallback(z.fullKey,ne,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,u.q)().onAndCancel(N,z.domEventName,re))}static parseEventName(N){const k=N.toLowerCase().split("."),ne=k.shift();if(0===k.length||"keydown"!==ne&&"keyup"!==ne)return null;const z=j._normalizeKey(k.pop());let re="",B=k.indexOf("code");if(B>-1&&(k.splice(B,1),re="code."),Fe.forEach(Qe=>{const _t=k.indexOf(Qe);_t>-1&&(k.splice(_t,1),re+=Qe+".")}),re+=z,0!=k.length||0===z.length)return null;const Y={};return Y.domEventName=ne,Y.fullKey=re,Y}static matchEventFullKeyCode(N,k){let ne=Xe[N.key]||N.key,z="";return k.indexOf("code.")>-1&&(ne=N.code,z="code."),!(null==ne||!ne)&&(ne=ne.toLowerCase()," "===ne?ne="space":"."===ne&&(ne="dot"),Fe.forEach(re=>{re!==ne&&(0,Ie[re])(N)&&(z+=re+".")}),z+=ne,z===k)}static eventCallback(N,k,ne){return z=>{j.matchEventFullKeyCode(z,N)&&ne.runGuarded(()=>k(z))}}static _normalizeKey(N){return"esc"===N?"escape":N}static#e=this.\u0275fac=function(k){return new(k||j)(t.LFG(u.K0))};static#t=this.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac})}return j})();const tt=(0,t.eFA)(t._c5,"browser",[{provide:t.Lbi,useValue:u.bD},{provide:t.g9A,useValue:function G(){m.makeCurrent()},multi:!0},{provide:u.K0,useFactory:function de(){return(0,t.RDi)(document),document},deps:[]}]),Re=new t.OlP(""),Ft=[{provide:t.rWj,useClass:class I{addToWindow(F){t.dqk.getAngularTestability=(k,ne=!0)=>{const z=F.findTestabilityInTree(k,ne);if(null==z)throw new t.vHH(5103,!1);return z},t.dqk.getAllAngularTestabilities=()=>F.getAllTestabilities(),t.dqk.getAllAngularRootElements=()=>F.getAllRootElements(),t.dqk.frameworkStabilizers||(t.dqk.frameworkStabilizers=[]),t.dqk.frameworkStabilizers.push(k=>{const ne=t.dqk.getAllAngularTestabilities();let z=ne.length;const re=function(){z--,0==z&&k()};ne.forEach(B=>{B.whenStable(re)})})}findTestabilityInTree(F,N,k){return null==N?null:F.getTestability(N)??(k?(0,u.q)().isShadowRoot(N)?this.findTestabilityInTree(F,N.host,!0):this.findTestabilityInTree(F,N.parentElement,!0):null)}},deps:[]},{provide:t.lri,useClass:t.dDg,deps:[t.R0b,t.eoX,t.rWj]},{provide:t.dDg,useClass:t.dDg,deps:[t.R0b,t.eoX,t.rWj]}],mt=[{provide:t.zSh,useValue:"root"},{provide:t.qLn,useFactory:function be(){return new t.qLn},deps:[]},{provide:y,useClass:dt,multi:!0,deps:[u.K0,t.R0b,t.Lbi]},{provide:y,useClass:W,multi:!0,deps:[u.K0]},ie,A,O,{provide:t.FYo,useExisting:ie},{provide:u.JF,useClass:L,deps:[]},[]];let sn=(()=>{class j{constructor(N){}static withServerTransition(N){return{ngModule:j,providers:[{provide:t.AFp,useValue:N.appId}]}}static#e=this.\u0275fac=function(k){return new(k||j)(t.LFG(Re,12))};static#t=this.\u0275mod=t.oAB({type:j});static#n=this.\u0275inj=t.cJS({providers:[...mt,...Ft],imports:[u.ez,t.hGG]})}return j})(),He=(()=>{class j{constructor(N){this._doc=N}getTitle(){return this._doc.title}setTitle(N){this._doc.title=N||""}static#e=this.\u0275fac=function(k){return new(k||j)(t.LFG(u.K0))};static#t=this.\u0275prov=t.Yz7({token:j,factory:function(k){let ne=null;return ne=k?new k:function cn(){return new He((0,t.LFG)(u.K0))}(),ne},providedIn:"root"})}return j})();typeof window<"u"&&window;let zt=(()=>{class j{static#e=this.\u0275fac=function(k){return new(k||j)};static#t=this.\u0275prov=t.Yz7({token:j,factory:function(k){let ne=null;return ne=k?new(k||j):t.LFG(Mn),ne},providedIn:"root"})}return j})(),Mn=(()=>{class j extends zt{constructor(N){super(),this._doc=N}sanitize(N,k){if(null==k)return null;switch(N){case t.q3G.NONE:return k;case t.q3G.HTML:return(0,t.qzn)(k,"HTML")?(0,t.z3N)(k):(0,t.EiD)(this._doc,String(k)).toString();case t.q3G.STYLE:return(0,t.qzn)(k,"Style")?(0,t.z3N)(k):k;case t.q3G.SCRIPT:if((0,t.qzn)(k,"Script"))return(0,t.z3N)(k);throw new t.vHH(5200,!1);case t.q3G.URL:return(0,t.qzn)(k,"URL")?(0,t.z3N)(k):(0,t.mCW)(String(k));case t.q3G.RESOURCE_URL:if((0,t.qzn)(k,"ResourceURL"))return(0,t.z3N)(k);throw new t.vHH(5201,!1);default:throw new t.vHH(5202,!1)}}bypassSecurityTrustHtml(N){return(0,t.JVY)(N)}bypassSecurityTrustStyle(N){return(0,t.L6k)(N)}bypassSecurityTrustScript(N){return(0,t.eBb)(N)}bypassSecurityTrustUrl(N){return(0,t.LAX)(N)}bypassSecurityTrustResourceUrl(N){return(0,t.pB0)(N)}static#e=this.\u0275fac=function(k){return new(k||j)(t.LFG(u.K0))};static#t=this.\u0275prov=t.Yz7({token:j,factory:function(k){let ne=null;return ne=k?new k:function $t(j){return new Mn(j.get(u.K0))}(t.LFG(t.zs3)),ne},providedIn:"root"})}return j})()},2787:(jt,$e,s)=>{"use strict";s.d($e,{gz:()=>ct,m2:()=>xi,OD:()=>ao,F0:()=>wa,rH:()=>pr,Bz:()=>ac,lC:()=>lt});var t=s(9212),u=s(2664),e=s(7715),m=s(2096),p=s(5619),U=s(2572),n=s(6973),I=s(5211),L=s(4911),y=s(8407),O=s(8504),M=s(6232),E=s(3168),A=s(8645),S=s(7394),Z=s(6814),oe=s(7398),le=s(4664),ee=s(8180),K=s(7921),Q=s(2181),q=s(1631),H=s(1374),T=s(6328),ie=s(9397),_e=s(6306),Ce=s(9360),Ve=s(8251);var Ae=s(3572);function Ze(ce){return ce<=0?()=>M.E:(0,Ce.e)((Be,ve)=>{let Je=[];Be.subscribe((0,Ve.x)(ve,gt=>{Je.push(gt),ce<Je.length&&Je.shift()},()=>{for(const gt of Je)ve.next(gt);ve.complete()},void 0,()=>{Je=null}))})}var dt=s(3026),Fe=s(2737),Ie=s(975),W=s(4716),we=s(6196),P=s(9773),V=s(7537),Se=s(6593);const G="primary",be=Symbol("RouteTitle");class de{constructor(Be){this.params=Be||{}}has(Be){return Object.prototype.hasOwnProperty.call(this.params,Be)}get(Be){if(this.has(Be)){const ve=this.params[Be];return Array.isArray(ve)?ve[0]:ve}return null}getAll(Be){if(this.has(Be)){const ve=this.params[Be];return Array.isArray(ve)?ve:[ve]}return[]}get keys(){return Object.keys(this.params)}}function De(ce){return new de(ce)}function tt(ce,Be,ve){const Je=ve.path.split("/");if(Je.length>ce.length||"full"===ve.pathMatch&&(Be.hasChildren()||Je.length<ce.length))return null;const gt={};for(let Gt=0;Gt<Je.length;Gt++){const fn=Je[Gt],Qn=ce[Gt];if(fn.startsWith(":"))gt[fn.substring(1)]=Qn;else if(fn!==Qn.path)return null}return{consumed:ce.slice(0,Je.length),posParams:gt}}function Ft(ce,Be){const ve=ce?mt(ce):void 0,Je=Be?mt(Be):void 0;if(!ve||!Je||ve.length!=Je.length)return!1;let gt;for(let Gt=0;Gt<ve.length;Gt++)if(gt=ve[Gt],!sn(ce[gt],Be[gt]))return!1;return!0}function mt(ce){return[...Object.keys(ce),...Object.getOwnPropertySymbols(ce)]}function sn(ce,Be){if(Array.isArray(ce)&&Array.isArray(Be)){if(ce.length!==Be.length)return!1;const ve=[...ce].sort(),Je=[...Be].sort();return ve.every((gt,Gt)=>Je[Gt]===gt)}return ce===Be}function hn(ce){return ce.length>0?ce[ce.length-1]:null}function Nn(ce){return(0,u.b)(ce)?ce:(0,t.QGY)(ce)?(0,e.D)(Promise.resolve(ce)):(0,m.of)(ce)}const Jt={exact:function Ne(ce,Be,ve){if(!Nt(ce.segments,Be.segments)||!Ke(ce.segments,Be.segments,ve)||ce.numberOfChildren!==Be.numberOfChildren)return!1;for(const Je in Be.children)if(!ce.children[Je]||!Ne(ce.children[Je],Be.children[Je],ve))return!1;return!0},subset:Ee},cn={exact:function fe(ce,Be){return Ft(ce,Be)},subset:function $(ce,Be){return Object.keys(Be).length<=Object.keys(ce).length&&Object.keys(Be).every(ve=>sn(ce[ve],Be[ve]))},ignored:()=>!0};function He(ce,Be,ve){return Jt[ve.paths](ce.root,Be.root,ve.matrixParams)&&cn[ve.queryParams](ce.queryParams,Be.queryParams)&&!("exact"===ve.fragment&&ce.fragment!==Be.fragment)}function Ee(ce,Be,ve){return Ge(ce,Be,Be.segments,ve)}function Ge(ce,Be,ve,Je){if(ce.segments.length>ve.length){const gt=ce.segments.slice(0,ve.length);return!(!Nt(gt,ve)||Be.hasChildren()||!Ke(gt,ve,Je))}if(ce.segments.length===ve.length){if(!Nt(ce.segments,ve)||!Ke(ce.segments,ve,Je))return!1;for(const gt in Be.children)if(!ce.children[gt]||!Ee(ce.children[gt],Be.children[gt],Je))return!1;return!0}{const gt=ve.slice(0,ce.segments.length),Gt=ve.slice(ce.segments.length);return!!(Nt(ce.segments,gt)&&Ke(ce.segments,gt,Je)&&ce.children[G])&&Ge(ce.children[G],Be,Gt,Je)}}function Ke(ce,Be,ve){return Be.every((Je,gt)=>cn[ve](ce[gt].parameters,Je.parameters))}class Et{constructor(Be=new Tt([],{}),ve={},Je=null){this.root=Be,this.queryParams=ve,this.fragment=Je}get queryParamMap(){return this._queryParamMap??=De(this.queryParams),this._queryParamMap}toString(){return nt.serialize(this)}}class Tt{constructor(Be,ve){this.segments=Be,this.children=ve,this.parent=null,Object.values(ve).forEach(Je=>Je.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ye(this)}}class tn{constructor(Be,ve){this.path=Be,this.parameters=ve}get parameterMap(){return this._parameterMap??=De(this.parameters),this._parameterMap}toString(){return Le(this)}}function Nt(ce,Be){return ce.length===Be.length&&ce.every((ve,Je)=>ve.path===Be[Je].path)}let Bt=(()=>{class ce{static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:()=>new Ue,providedIn:"root"})}return ce})();class Ue{parse(Be){const ve=new re(Be);return new Et(ve.parseRootSegment(),ve.parseQueryParams(),ve.parseFragment())}serialize(Be){const ve=`/${zt(Be.root,!0)}`,Je=function X(ce){const Be=Object.entries(ce).map(([ve,Je])=>Array.isArray(Je)?Je.map(gt=>`${Mn(ve)}=${Mn(gt)}`).join("&"):`${Mn(ve)}=${Mn(Je)}`).filter(ve=>ve);return Be.length?`?${Be.join("&")}`:""}(Be.queryParams);return`${ve}${Je}${"string"==typeof Be.fragment?`#${function Wn(ce){return encodeURI(ce)}(Be.fragment)}`:""}`}}const nt=new Ue;function Ye(ce){return ce.segments.map(Be=>Le(Be)).join("/")}function zt(ce,Be){if(!ce.hasChildren())return Ye(ce);if(Be){const ve=ce.children[G]?zt(ce.children[G],!1):"",Je=[];return Object.entries(ce.children).forEach(([gt,Gt])=>{gt!==G&&Je.push(`${gt}:${zt(Gt,!1)}`)}),Je.length>0?`${ve}(${Je.join("//")})`:ve}{const ve=function ft(ce,Be){let ve=[];return Object.entries(ce.children).forEach(([Je,gt])=>{Je===G&&(ve=ve.concat(Be(gt,Je)))}),Object.entries(ce.children).forEach(([Je,gt])=>{Je!==G&&(ve=ve.concat(Be(gt,Je)))}),ve}(ce,(Je,gt)=>gt===G?[zt(ce.children[G],!1)]:[`${gt}:${zt(Je,!1)}`]);return 1===Object.keys(ce.children).length&&null!=ce.children[G]?`${Ye(ce)}/${ve[0]}`:`${Ye(ce)}/(${ve.join("//")})`}}function $t(ce){return encodeURIComponent(ce).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Mn(ce){return $t(ce).replace(/%3B/gi,";")}function di(ce){return $t(ce).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Pt(ce){return decodeURIComponent(ce)}function Xt(ce){return Pt(ce.replace(/\+/g,"%20"))}function Le(ce){return`${di(ce.path)}${function ue(ce){return Object.entries(ce).map(([Be,ve])=>`;${di(Be)}=${di(ve)}`).join("")}(ce.parameters)}`}const xe=/^[^\/()?;#]+/;function et(ce){const Be=ce.match(xe);return Be?Be[0]:""}const j=/^[^\/()?;=#]+/,N=/^[^=?&#]+/,ne=/^[^&#]+/;class re{constructor(Be){this.url=Be,this.remaining=Be}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Tt([],{}):new Tt([],this.parseChildren())}parseQueryParams(){const Be={};if(this.consumeOptional("?"))do{this.parseQueryParam(Be)}while(this.consumeOptional("&"));return Be}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Be=[];for(this.peekStartsWith("(")||Be.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Be.push(this.parseSegment());let ve={};this.peekStartsWith("/(")&&(this.capture("/"),ve=this.parseParens(!0));let Je={};return this.peekStartsWith("(")&&(Je=this.parseParens(!1)),(Be.length>0||Object.keys(ve).length>0)&&(Je[G]=new Tt(Be,ve)),Je}parseSegment(){const Be=et(this.remaining);if(""===Be&&this.peekStartsWith(";"))throw new t.vHH(4009,!1);return this.capture(Be),new tn(Pt(Be),this.parseMatrixParams())}parseMatrixParams(){const Be={};for(;this.consumeOptional(";");)this.parseParam(Be);return Be}parseParam(Be){const ve=function F(ce){const Be=ce.match(j);return Be?Be[0]:""}(this.remaining);if(!ve)return;this.capture(ve);let Je="";if(this.consumeOptional("=")){const gt=et(this.remaining);gt&&(Je=gt,this.capture(Je))}Be[Pt(ve)]=Pt(Je)}parseQueryParam(Be){const ve=function k(ce){const Be=ce.match(N);return Be?Be[0]:""}(this.remaining);if(!ve)return;this.capture(ve);let Je="";if(this.consumeOptional("=")){const fn=function z(ce){const Be=ce.match(ne);return Be?Be[0]:""}(this.remaining);fn&&(Je=fn,this.capture(Je))}const gt=Xt(ve),Gt=Xt(Je);if(Be.hasOwnProperty(gt)){let fn=Be[gt];Array.isArray(fn)||(fn=[fn],Be[gt]=fn),fn.push(Gt)}else Be[gt]=Gt}parseParens(Be){const ve={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Je=et(this.remaining),gt=this.remaining[Je.length];if("/"!==gt&&")"!==gt&&";"!==gt)throw new t.vHH(4010,!1);let Gt;Je.indexOf(":")>-1?(Gt=Je.slice(0,Je.indexOf(":")),this.capture(Gt),this.capture(":")):Be&&(Gt=G);const fn=this.parseChildren();ve[Gt]=1===Object.keys(fn).length?fn[G]:new Tt([],fn),this.consumeOptional("//")}return ve}peekStartsWith(Be){return this.remaining.startsWith(Be)}consumeOptional(Be){return!!this.peekStartsWith(Be)&&(this.remaining=this.remaining.substring(Be.length),!0)}capture(Be){if(!this.consumeOptional(Be))throw new t.vHH(4011,!1)}}function B(ce){return ce.segments.length>0?new Tt([],{[G]:ce}):ce}function Y(ce){const Be={};for(const[Je,gt]of Object.entries(ce.children)){const Gt=Y(gt);if(Je===G&&0===Gt.segments.length&&Gt.hasChildren())for(const[fn,Qn]of Object.entries(Gt.children))Be[fn]=Qn;else(Gt.segments.length>0||Gt.hasChildren())&&(Be[Je]=Gt)}return function Qe(ce){if(1===ce.numberOfChildren&&ce.children[G]){const Be=ce.children[G];return new Tt(ce.segments.concat(Be.segments),Be.children)}return ce}(new Tt(ce.segments,Be))}function _t(ce){return ce instanceof Et}function bn(ce){let Be;const gt=B(function ve(Gt){const fn={};for(const Hn of Gt.children){const Ti=ve(Hn);fn[Hn.outlet]=Ti}const Qn=new Tt(Gt.url,fn);return Gt===ce&&(Be=Qn),Qn}(ce.root));return Be??gt}function xn(ce,Be,ve,Je){let gt=ce;for(;gt.parent;)gt=gt.parent;if(0===Be.length)return En(gt,gt,gt,ve,Je);const Gt=function pt(ce){if("string"==typeof ce[0]&&1===ce.length&&"/"===ce[0])return new It(!0,0,ce);let Be=0,ve=!1;const Je=ce.reduce((gt,Gt,fn)=>{if("object"==typeof Gt&&null!=Gt){if(Gt.outlets){const Qn={};return Object.entries(Gt.outlets).forEach(([Hn,Ti])=>{Qn[Hn]="string"==typeof Ti?Ti.split("/"):Ti}),[...gt,{outlets:Qn}]}if(Gt.segmentPath)return[...gt,Gt.segmentPath]}return"string"!=typeof Gt?[...gt,Gt]:0===fn?(Gt.split("/").forEach((Qn,Hn)=>{0==Hn&&"."===Qn||(0==Hn&&""===Qn?ve=!0:".."===Qn?Be++:""!=Qn&&gt.push(Qn))}),gt):[...gt,Gt]},[]);return new It(ve,Be,Je)}(Be);if(Gt.toRoot())return En(gt,gt,new Tt([],{}),ve,Je);const fn=function $n(ce,Be,ve){if(ce.isAbsolute)return new wt(Be,!0,0);if(!ve)return new wt(Be,!1,NaN);if(null===ve.parent)return new wt(ve,!0,0);const Je=Fn(ce.commands[0])?0:1;return function pn(ce,Be,ve){let Je=ce,gt=Be,Gt=ve;for(;Gt>gt;){if(Gt-=gt,Je=Je.parent,!Je)throw new t.vHH(4005,!1);gt=Je.segments.length}return new wt(Je,!1,gt-Gt)}(ve,ve.segments.length-1+Je,ce.numberOfDoubleDots)}(Gt,gt,ce),Qn=fn.processChildren?nn(fn.segmentGroup,fn.index,Gt.commands):Ct(fn.segmentGroup,fn.index,Gt.commands);return En(gt,fn.segmentGroup,Qn,ve,Je)}function Fn(ce){return"object"==typeof ce&&null!=ce&&!ce.outlets&&!ce.segmentPath}function Ot(ce){return"object"==typeof ce&&null!=ce&&ce.outlets}function En(ce,Be,ve,Je,gt){let fn,Gt={};Je&&Object.entries(Je).forEach(([Hn,Ti])=>{Gt[Hn]=Array.isArray(Ti)?Ti.map(io=>`${io}`):`${Ti}`}),fn=ce===Be?ve:ye(ce,Be,ve);const Qn=B(Y(fn));return new Et(Qn,Gt,gt)}function ye(ce,Be,ve){const Je={};return Object.entries(ce.children).forEach(([gt,Gt])=>{Je[gt]=Gt===Be?ve:ye(Gt,Be,ve)}),new Tt(ce.segments,Je)}class It{constructor(Be,ve,Je){if(this.isAbsolute=Be,this.numberOfDoubleDots=ve,this.commands=Je,Be&&Je.length>0&&Fn(Je[0]))throw new t.vHH(4003,!1);const gt=Je.find(Ot);if(gt&&gt!==hn(Je))throw new t.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wt{constructor(Be,ve,Je){this.segmentGroup=Be,this.processChildren=ve,this.index=Je}}function Ct(ce,Be,ve){if(ce??=new Tt([],{}),0===ce.segments.length&&ce.hasChildren())return nn(ce,Be,ve);const Je=function Wt(ce,Be,ve){let Je=0,gt=Be;const Gt={match:!1,pathIndex:0,commandIndex:0};for(;gt<ce.segments.length;){if(Je>=ve.length)return Gt;const fn=ce.segments[gt],Qn=ve[Je];if(Ot(Qn))break;const Hn=`${Qn}`,Ti=Je<ve.length-1?ve[Je+1]:null;if(gt>0&&void 0===Hn)break;if(Hn&&Ti&&"object"==typeof Ti&&void 0===Ti.outlets){if(!ui(Hn,Ti,fn))return Gt;Je+=2}else{if(!ui(Hn,{},fn))return Gt;Je++}gt++}return{match:!0,pathIndex:gt,commandIndex:Je}}(ce,Be,ve),gt=ve.slice(Je.commandIndex);if(Je.match&&Je.pathIndex<ce.segments.length){const Gt=new Tt(ce.segments.slice(0,Je.pathIndex),{});return Gt.children[G]=new Tt(ce.segments.slice(Je.pathIndex),ce.children),nn(Gt,0,gt)}return Je.match&&0===gt.length?new Tt(ce.segments,{}):Je.match&&!ce.hasChildren()?Pn(ce,Be,ve):Je.match?nn(ce,0,gt):Pn(ce,Be,ve)}function nn(ce,Be,ve){if(0===ve.length)return new Tt(ce.segments,{});{const Je=function Vn(ce){return Ot(ce[0])?ce[0].outlets:{[G]:ce}}(ve),gt={};if(Object.keys(Je).some(Gt=>Gt!==G)&&ce.children[G]&&1===ce.numberOfChildren&&0===ce.children[G].segments.length){const Gt=nn(ce.children[G],Be,ve);return new Tt(ce.segments,Gt.children)}return Object.entries(Je).forEach(([Gt,fn])=>{"string"==typeof fn&&(fn=[fn]),null!==fn&&(gt[Gt]=Ct(ce.children[Gt],Be,fn))}),Object.entries(ce.children).forEach(([Gt,fn])=>{void 0===Je[Gt]&&(gt[Gt]=fn)}),new Tt(ce.segments,gt)}}function Pn(ce,Be,ve){const Je=ce.segments.slice(0,Be);let gt=0;for(;gt<ve.length;){const Gt=ve[gt];if(Ot(Gt)){const Hn=Un(Gt.outlets);return new Tt(Je,Hn)}if(0===gt&&Fn(ve[0])){Je.push(new tn(ce.segments[Be].path,jn(ve[0]))),gt++;continue}const fn=Ot(Gt)?Gt.outlets[G]:`${Gt}`,Qn=gt<ve.length-1?ve[gt+1]:null;fn&&Qn&&Fn(Qn)?(Je.push(new tn(fn,jn(Qn))),gt+=2):(Je.push(new tn(fn,{})),gt++)}return new Tt(Je,{})}function Un(ce){const Be={};return Object.entries(ce).forEach(([ve,Je])=>{"string"==typeof Je&&(Je=[Je]),null!==Je&&(Be[ve]=Pn(new Tt([],{}),0,Je))}),Be}function jn(ce){const Be={};return Object.entries(ce).forEach(([ve,Je])=>Be[ve]=`${Je}`),Be}function ui(ce,Be,ve){return ce==ve.path&&Ft(Be,ve.parameters)}const Ai="imperative";var hi=function(ce){return ce[ce.NavigationStart=0]="NavigationStart",ce[ce.NavigationEnd=1]="NavigationEnd",ce[ce.NavigationCancel=2]="NavigationCancel",ce[ce.NavigationError=3]="NavigationError",ce[ce.RoutesRecognized=4]="RoutesRecognized",ce[ce.ResolveStart=5]="ResolveStart",ce[ce.ResolveEnd=6]="ResolveEnd",ce[ce.GuardsCheckStart=7]="GuardsCheckStart",ce[ce.GuardsCheckEnd=8]="GuardsCheckEnd",ce[ce.RouteConfigLoadStart=9]="RouteConfigLoadStart",ce[ce.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",ce[ce.ChildActivationStart=11]="ChildActivationStart",ce[ce.ChildActivationEnd=12]="ChildActivationEnd",ce[ce.ActivationStart=13]="ActivationStart",ce[ce.ActivationEnd=14]="ActivationEnd",ce[ce.Scroll=15]="Scroll",ce[ce.NavigationSkipped=16]="NavigationSkipped",ce}(hi||{});class Xi{constructor(Be,ve){this.id=Be,this.url=ve}}class ao extends Xi{constructor(Be,ve,Je="imperative",gt=null){super(Be,ve),this.type=hi.NavigationStart,this.navigationTrigger=Je,this.restoredState=gt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xi extends Xi{constructor(Be,ve,Je){super(Be,ve),this.urlAfterRedirects=Je,this.type=hi.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Bi=function(ce){return ce[ce.Redirect=0]="Redirect",ce[ce.SupersededByNewNavigation=1]="SupersededByNewNavigation",ce[ce.NoDataFromResolver=2]="NoDataFromResolver",ce[ce.GuardRejected=3]="GuardRejected",ce}(Bi||{}),bo=function(ce){return ce[ce.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",ce[ce.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",ce}(bo||{});class Qi extends Xi{constructor(Be,ve,Je,gt){super(Be,ve),this.reason=Je,this.code=gt,this.type=hi.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class On extends Xi{constructor(Be,ve,Je,gt){super(Be,ve),this.reason=Je,this.code=gt,this.type=hi.NavigationSkipped}}class mi extends Xi{constructor(Be,ve,Je,gt){super(Be,ve),this.error=Je,this.target=gt,this.type=hi.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Rt extends Xi{constructor(Be,ve,Je,gt){super(Be,ve),this.urlAfterRedirects=Je,this.state=gt,this.type=hi.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class on extends Xi{constructor(Be,ve,Je,gt){super(Be,ve),this.urlAfterRedirects=Je,this.state=gt,this.type=hi.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ze extends Xi{constructor(Be,ve,Je,gt,Gt){super(Be,ve),this.urlAfterRedirects=Je,this.state=gt,this.shouldActivate=Gt,this.type=hi.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class en extends Xi{constructor(Be,ve,Je,gt){super(Be,ve),this.urlAfterRedirects=Je,this.state=gt,this.type=hi.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class st extends Xi{constructor(Be,ve,Je,gt){super(Be,ve),this.urlAfterRedirects=Je,this.state=gt,this.type=hi.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zt{constructor(Be){this.route=Be,this.type=hi.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class an{constructor(Be){this.route=Be,this.type=hi.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xn{constructor(Be){this.snapshot=Be,this.type=hi.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(Be){this.snapshot=Be,this.type=hi.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ui{constructor(Be){this.snapshot=Be,this.type=hi.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class So{constructor(Be){this.snapshot=Be,this.type=hi.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lo{constructor(Be,ve,Je){this.routerEvent=Be,this.position=ve,this.anchor=Je,this.type=hi.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Co{}class Yo{constructor(Be){this.url=Be}}class tr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Mr,this.attachRef=null}}let Mr=(()=>{class ce{constructor(){this.contexts=new Map}onChildOutletCreated(ve,Je){const gt=this.getOrCreateContext(ve);gt.outlet=Je,this.contexts.set(ve,gt)}onChildOutletDestroyed(ve){const Je=this.getContext(ve);Je&&(Je.outlet=null,Je.attachRef=null)}onOutletDeactivated(){const ve=this.contexts;return this.contexts=new Map,ve}onOutletReAttached(ve){this.contexts=ve}getOrCreateContext(ve){let Je=this.getContext(ve);return Je||(Je=new tr,this.contexts.set(ve,Je)),Je}getContext(ve){return this.contexts.get(ve)||null}static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();class cr{constructor(Be){this._root=Be}get root(){return this._root.value}parent(Be){const ve=this.pathFromRoot(Be);return ve.length>1?ve[ve.length-2]:null}children(Be){const ve=dr(Be,this._root);return ve?ve.children.map(Je=>Je.value):[]}firstChild(Be){const ve=dr(Be,this._root);return ve&&ve.children.length>0?ve.children[0].value:null}siblings(Be){const ve=qr(Be,this._root);return ve.length<2?[]:ve[ve.length-2].children.map(gt=>gt.value).filter(gt=>gt!==Be)}pathFromRoot(Be){return qr(Be,this._root).map(ve=>ve.value)}}function dr(ce,Be){if(ce===Be.value)return Be;for(const ve of Be.children){const Je=dr(ce,ve);if(Je)return Je}return null}function qr(ce,Be){if(ce===Be.value)return[Be];for(const ve of Be.children){const Je=qr(ce,ve);if(Je.length)return Je.unshift(Be),Je}return[]}class Nr{constructor(Be,ve){this.value=Be,this.children=ve}toString(){return`TreeNode(${this.value})`}}function Er(ce){const Be={};return ce&&ce.children.forEach(ve=>Be[ve.value.outlet]=ve),Be}class ln extends cr{constructor(Be,ve){super(Be),this.snapshot=ve,Fi(this,Be)}toString(){return this.snapshot.toString()}}function Ci(ce){const Be=function me(ce){const Gt=new Yt([],{},{},"",{},G,ce,null,{});return new yn("",new Nr(Gt,[]))}(ce),ve=new p.X([new tn("",{})]),Je=new p.X({}),gt=new p.X({}),Gt=new p.X({}),fn=new p.X(""),Qn=new ct(ve,Je,Gt,fn,gt,G,ce,Be.root);return Qn.snapshot=Be.root,new ln(new Nr(Qn,[]),Be)}class ct{constructor(Be,ve,Je,gt,Gt,fn,Qn,Hn){this.urlSubject=Be,this.paramsSubject=ve,this.queryParamsSubject=Je,this.fragmentSubject=gt,this.dataSubject=Gt,this.outlet=fn,this.component=Qn,this._futureSnapshot=Hn,this.title=this.dataSubject?.pipe((0,oe.U)(Ti=>Ti[be]))??(0,m.of)(void 0),this.url=Be,this.params=ve,this.queryParams=Je,this.fragment=gt,this.data=Gt}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.params.pipe((0,oe.U)(Be=>De(Be))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,oe.U)(Be=>De(Be))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function it(ce,Be,ve="emptyOnly"){let Je;const{routeConfig:gt}=ce;return Je=null===Be||"always"!==ve&&""!==gt?.path&&(Be.component||Be.routeConfig?.loadComponent)?{params:{...ce.params},data:{...ce.data},resolve:{...ce.data,...ce._resolvedData??{}}}:{params:{...Be.params,...ce.params},data:{...Be.data,...ce.data},resolve:{...ce.data,...Be.data,...gt?.data,...ce._resolvedData}},gt&&so(gt)&&(Je.resolve[be]=gt.title),Je}class Yt{get title(){return this.data?.[be]}constructor(Be,ve,Je,gt,Gt,fn,Qn,Hn,Ti){this.url=Be,this.params=ve,this.queryParams=Je,this.fragment=gt,this.data=Gt,this.outlet=fn,this.component=Qn,this.routeConfig=Hn,this._resolve=Ti}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??=De(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=De(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Je=>Je.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class yn extends cr{constructor(Be,ve){super(ve),this.url=Be,Fi(this,ve)}toString(){return ur(this._root)}}function Fi(ce,Be){Be.value._routerState=ce,Be.children.forEach(ve=>Fi(ce,ve))}function ur(ce){const Be=ce.children.length>0?` { ${ce.children.map(ur).join(", ")} } `:"";return`${ce.value}${Be}`}function hr(ce){if(ce.snapshot){const Be=ce.snapshot,ve=ce._futureSnapshot;ce.snapshot=ve,Ft(Be.queryParams,ve.queryParams)||ce.queryParamsSubject.next(ve.queryParams),Be.fragment!==ve.fragment&&ce.fragmentSubject.next(ve.fragment),Ft(Be.params,ve.params)||ce.paramsSubject.next(ve.params),function Re(ce,Be){if(ce.length!==Be.length)return!1;for(let ve=0;ve<ce.length;++ve)if(!Ft(ce[ve],Be[ve]))return!1;return!0}(Be.url,ve.url)||ce.urlSubject.next(ve.url),Ft(Be.data,ve.data)||ce.dataSubject.next(ve.data)}else ce.snapshot=ce._futureSnapshot,ce.dataSubject.next(ce._futureSnapshot.data)}function Pr(ce,Be){const ve=Ft(ce.params,Be.params)&&function rn(ce,Be){return Nt(ce,Be)&&ce.every((ve,Je)=>Ft(ve.parameters,Be[Je].parameters))}(ce.url,Be.url);return ve&&!(!ce.parent!=!Be.parent)&&(!ce.parent||Pr(ce.parent,Be.parent))}function so(ce){return"string"==typeof ce.title||null===ce.title}let lt=(()=>{class ce{constructor(){this.activated=null,this._activatedRoute=null,this.name=G,this.activateEvents=new t.vpe,this.deactivateEvents=new t.vpe,this.attachEvents=new t.vpe,this.detachEvents=new t.vpe,this.parentContexts=(0,t.f3M)(Mr),this.location=(0,t.f3M)(t.s_b),this.changeDetector=(0,t.f3M)(t.sBO),this.environmentInjector=(0,t.f3M)(t.lqb),this.inputBinder=(0,t.f3M)(Kt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(ve){if(ve.name){const{firstChange:Je,previousValue:gt}=ve.name;if(Je)return;this.isTrackedInParentContexts(gt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(gt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(ve){return this.parentContexts.getContext(ve)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ve=this.parentContexts.getContext(this.name);ve?.route&&(ve.attachRef?this.attach(ve.attachRef,ve.route):this.activateWith(ve.route,ve.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.vHH(4012,!1);this.location.detach();const ve=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ve.instance),ve}attach(ve,Je){this.activated=ve,this._activatedRoute=Je,this.location.insert(ve.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ve.instance)}deactivate(){if(this.activated){const ve=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ve)}}activateWith(ve,Je){if(this.isActivated)throw new t.vHH(4013,!1);this._activatedRoute=ve;const gt=this.location,fn=ve.snapshot.component,Qn=this.parentContexts.getOrCreateContext(this.name).children,Hn=new Ut(ve,Qn,gt.injector);this.activated=gt.createComponent(fn,{index:gt.length,injector:Hn,environmentInjector:Je??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275dir=t.lG2({type:ce,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.TTD]})}return ce})();class Ut{constructor(Be,ve,Je){this.route=Be,this.childContexts=ve,this.parent=Je}get(Be,ve){return Be===ct?this.route:Be===Mr?this.childContexts:this.parent.get(Be,ve)}}const Kt=new t.OlP("");let Qt=(()=>{class ce{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(ve){this.unsubscribeFromRouteData(ve),this.subscribeToRouteData(ve)}unsubscribeFromRouteData(ve){this.outletDataSubscriptions.get(ve)?.unsubscribe(),this.outletDataSubscriptions.delete(ve)}subscribeToRouteData(ve){const{activatedRoute:Je}=ve,gt=(0,U.a)([Je.queryParams,Je.params,Je.data]).pipe((0,le.w)(([Gt,fn,Qn],Hn)=>(Qn={...Gt,...fn,...Qn},0===Hn?(0,m.of)(Qn):Promise.resolve(Qn)))).subscribe(Gt=>{if(!ve.isActivated||!ve.activatedComponentRef||ve.activatedRoute!==Je||null===Je.component)return void this.unsubscribeFromRouteData(ve);const fn=(0,t.qFp)(Je.component);if(fn)for(const{templateName:Qn}of fn.inputs)ve.activatedComponentRef.setInput(Qn,Gt[Qn]);else this.unsubscribeFromRouteData(ve)});this.outletDataSubscriptions.set(ve,gt)}static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac})}return ce})();function kn(ce,Be,ve){if(ve&&ce.shouldReuseRoute(Be.value,ve.value.snapshot)){const Je=ve.value;Je._futureSnapshot=Be.value;const gt=function zn(ce,Be,ve){return Be.children.map(Je=>{for(const gt of ve.children)if(ce.shouldReuseRoute(Je.value,gt.value.snapshot))return kn(ce,Je,gt);return kn(ce,Je)})}(ce,Be,ve);return new Nr(Je,gt)}{if(ce.shouldAttach(Be.value)){const Gt=ce.retrieve(Be.value);if(null!==Gt){const fn=Gt.route;return fn.value._futureSnapshot=Be.value,fn.children=Be.children.map(Qn=>kn(ce,Qn)),fn}}const Je=function gi(ce){return new ct(new p.X(ce.url),new p.X(ce.params),new p.X(ce.queryParams),new p.X(ce.fragment),new p.X(ce.data),ce.outlet,ce.component,ce)}(Be.value),gt=Be.children.map(Gt=>kn(ce,Gt));return new Nr(Je,gt)}}const oi="ngNavigationCancelingError";function Pi(ce,Be){const{redirectTo:ve,navigationBehaviorOptions:Je}=_t(Be)?{redirectTo:Be,navigationBehaviorOptions:void 0}:Be,gt=wi(!1,Bi.Redirect,Be);return gt.url=ve,gt.navigationBehaviorOptions=Je,gt}function wi(ce,Be,ve){const Je=new Error("NavigationCancelingError: "+(ce||""));return Je[oi]=!0,Je.cancellationCode=Be,ve&&(Je.url=ve),Je}function ki(ce){return ce&&ce[oi]}let Hi=(()=>{class ce{static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275cmp=t.Xpm({type:ce,selectors:[["ng-component"]],standalone:!0,features:[t.jDz],decls:1,vars:0,template:function(Je,gt){1&Je&&t._UZ(0,"router-outlet")},dependencies:[lt],encapsulation:2})}return ce})();function In(ce){const Be=ce.children&&ce.children.map(In),ve=Be?{...ce,children:Be}:{...ce};return!ve.component&&!ve.loadComponent&&(Be||ve.loadChildren)&&ve.outlet&&ve.outlet!==G&&(ve.component=Hi),ve}function An(ce){return ce.outlet||G}function Gn(ce){if(!ce)return null;if(ce.routeConfig?._injector)return ce.routeConfig._injector;for(let Be=ce.parent;Be;Be=Be.parent){const ve=Be.routeConfig;if(ve?._loadedInjector)return ve._loadedInjector;if(ve?._injector)return ve._injector}return null}class Ao{constructor(Be,ve,Je,gt,Gt){this.routeReuseStrategy=Be,this.futureState=ve,this.currState=Je,this.forwardEvent=gt,this.inputBindingEnabled=Gt}activate(Be){const ve=this.futureState._root,Je=this.currState?this.currState._root:null;this.deactivateChildRoutes(ve,Je,Be),hr(this.futureState.root),this.activateChildRoutes(ve,Je,Be)}deactivateChildRoutes(Be,ve,Je){const gt=Er(ve);Be.children.forEach(Gt=>{const fn=Gt.value.outlet;this.deactivateRoutes(Gt,gt[fn],Je),delete gt[fn]}),Object.values(gt).forEach(Gt=>{this.deactivateRouteAndItsChildren(Gt,Je)})}deactivateRoutes(Be,ve,Je){const gt=Be.value,Gt=ve?ve.value:null;if(gt===Gt)if(gt.component){const fn=Je.getContext(gt.outlet);fn&&this.deactivateChildRoutes(Be,ve,fn.children)}else this.deactivateChildRoutes(Be,ve,Je);else Gt&&this.deactivateRouteAndItsChildren(ve,Je)}deactivateRouteAndItsChildren(Be,ve){Be.value.component&&this.routeReuseStrategy.shouldDetach(Be.value.snapshot)?this.detachAndStoreRouteSubtree(Be,ve):this.deactivateRouteAndOutlet(Be,ve)}detachAndStoreRouteSubtree(Be,ve){const Je=ve.getContext(Be.value.outlet),gt=Je&&Be.value.component?Je.children:ve,Gt=Er(Be);for(const fn of Object.values(Gt))this.deactivateRouteAndItsChildren(fn,gt);if(Je&&Je.outlet){const fn=Je.outlet.detach(),Qn=Je.children.onOutletDeactivated();this.routeReuseStrategy.store(Be.value.snapshot,{componentRef:fn,route:Be,contexts:Qn})}}deactivateRouteAndOutlet(Be,ve){const Je=ve.getContext(Be.value.outlet),gt=Je&&Be.value.component?Je.children:ve,Gt=Er(Be);for(const fn of Object.values(Gt))this.deactivateRouteAndItsChildren(fn,gt);Je&&(Je.outlet&&(Je.outlet.deactivate(),Je.children.onOutletDeactivated()),Je.attachRef=null,Je.route=null)}activateChildRoutes(Be,ve,Je){const gt=Er(ve);Be.children.forEach(Gt=>{this.activateRoutes(Gt,gt[Gt.value.outlet],Je),this.forwardEvent(new So(Gt.value.snapshot))}),Be.children.length&&this.forwardEvent(new fi(Be.value.snapshot))}activateRoutes(Be,ve,Je){const gt=Be.value,Gt=ve?ve.value:null;if(hr(gt),gt===Gt)if(gt.component){const fn=Je.getOrCreateContext(gt.outlet);this.activateChildRoutes(Be,ve,fn.children)}else this.activateChildRoutes(Be,ve,Je);else if(gt.component){const fn=Je.getOrCreateContext(gt.outlet);if(this.routeReuseStrategy.shouldAttach(gt.snapshot)){const Qn=this.routeReuseStrategy.retrieve(gt.snapshot);this.routeReuseStrategy.store(gt.snapshot,null),fn.children.onOutletReAttached(Qn.contexts),fn.attachRef=Qn.componentRef,fn.route=Qn.route.value,fn.outlet&&fn.outlet.attach(Qn.componentRef,Qn.route.value),hr(Qn.route.value),this.activateChildRoutes(Be,null,fn.children)}else{const Qn=Gn(gt.snapshot);fn.attachRef=null,fn.route=gt,fn.injector=Qn,fn.outlet&&fn.outlet.activateWith(gt,fn.injector),this.activateChildRoutes(Be,null,fn.children)}}else this.activateChildRoutes(Be,null,Je)}}class _o{constructor(Be){this.path=Be,this.route=this.path[this.path.length-1]}}class ar{constructor(Be,ve){this.component=Be,this.route=ve}}function br(ce,Be,ve){const Je=ce._root;return vo(Je,Be?Be._root:null,ve,[Je.value])}function Ir(ce,Be){const ve=Symbol(),Je=Be.get(ce,ve);return Je===ve?"function"!=typeof ce||(0,t.Z0I)(ce)?Be.get(ce):ce:Je}function vo(ce,Be,ve,Je,gt={canDeactivateChecks:[],canActivateChecks:[]}){const Gt=Er(Be);return ce.children.forEach(fn=>{(function ei(ce,Be,ve,Je,gt={canDeactivateChecks:[],canActivateChecks:[]}){const Gt=ce.value,fn=Be?Be.value:null,Qn=ve?ve.getContext(ce.value.outlet):null;if(fn&&Gt.routeConfig===fn.routeConfig){const Hn=function eo(ce,Be,ve){if("function"==typeof ve)return ve(ce,Be);switch(ve){case"pathParamsChange":return!Nt(ce.url,Be.url);case"pathParamsOrQueryParamsChange":return!Nt(ce.url,Be.url)||!Ft(ce.queryParams,Be.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pr(ce,Be)||!Ft(ce.queryParams,Be.queryParams);default:return!Pr(ce,Be)}}(fn,Gt,Gt.routeConfig.runGuardsAndResolvers);Hn?gt.canActivateChecks.push(new _o(Je)):(Gt.data=fn.data,Gt._resolvedData=fn._resolvedData),vo(ce,Be,Gt.component?Qn?Qn.children:null:ve,Je,gt),Hn&&Qn&&Qn.outlet&&Qn.outlet.isActivated&&gt.canDeactivateChecks.push(new ar(Qn.outlet.component,fn))}else fn&&yo(Be,Qn,gt),gt.canActivateChecks.push(new _o(Je)),vo(ce,null,Gt.component?Qn?Qn.children:null:ve,Je,gt)})(fn,Gt[fn.value.outlet],ve,Je.concat([fn.value]),gt),delete Gt[fn.value.outlet]}),Object.entries(Gt).forEach(([fn,Qn])=>yo(Qn,ve.getContext(fn),gt)),gt}function yo(ce,Be,ve){const Je=Er(ce),gt=ce.value;Object.entries(Je).forEach(([Gt,fn])=>{yo(fn,gt.component?Be?Be.children.getContext(Gt):null:Be,ve)}),ve.canDeactivateChecks.push(new ar(gt.component&&Be&&Be.outlet&&Be.outlet.isActivated?Be.outlet.component:null,gt))}function Fr(ce){return"function"==typeof ce}function Si(ce){return ce instanceof n.K||"EmptyError"===ce?.name}const Gi=Symbol("INITIAL_VALUE");function Or(){return(0,le.w)(ce=>(0,U.a)(ce.map(Be=>Be.pipe((0,ee.q)(1),(0,K.O)(Gi)))).pipe((0,oe.U)(Be=>{for(const ve of Be)if(!0!==ve){if(ve===Gi)return Gi;if(!1===ve||ve instanceof Et)return ve}return!0}),(0,Q.h)(Be=>Be!==Gi),(0,ee.q)(1)))}function oa(ce){return(0,y.z)((0,ie.b)(Be=>{if(_t(Be))throw Pi(0,Be)}),(0,oe.U)(Be=>!0===Be))}class Br{constructor(Be){this.segmentGroup=Be||null}}class Sa extends Error{constructor(Be){super(),this.urlTree=Be}}function Ur(ce){return(0,O._)(new Br(ce))}class xs{constructor(Be,ve){this.urlSerializer=Be,this.urlTree=ve}lineralizeSegments(Be,ve){let Je=[],gt=ve.root;for(;;){if(Je=Je.concat(gt.segments),0===gt.numberOfChildren)return(0,m.of)(Je);if(gt.numberOfChildren>1||!gt.children[G])return(0,O._)(new t.vHH(4e3,!1));gt=gt.children[G]}}applyRedirectCommands(Be,ve,Je){const gt=this.applyRedirectCreateUrlTree(ve,this.urlSerializer.parse(ve),Be,Je);if(ve.startsWith("/"))throw new Sa(gt);return gt}applyRedirectCreateUrlTree(Be,ve,Je,gt){const Gt=this.createSegmentGroup(Be,ve.root,Je,gt);return new Et(Gt,this.createQueryParams(ve.queryParams,this.urlTree.queryParams),ve.fragment)}createQueryParams(Be,ve){const Je={};return Object.entries(Be).forEach(([gt,Gt])=>{if("string"==typeof Gt&&Gt.startsWith(":")){const Qn=Gt.substring(1);Je[gt]=ve[Qn]}else Je[gt]=Gt}),Je}createSegmentGroup(Be,ve,Je,gt){const Gt=this.createSegments(Be,ve.segments,Je,gt);let fn={};return Object.entries(ve.children).forEach(([Qn,Hn])=>{fn[Qn]=this.createSegmentGroup(Be,Hn,Je,gt)}),new Tt(Gt,fn)}createSegments(Be,ve,Je,gt){return ve.map(Gt=>Gt.path.startsWith(":")?this.findPosParam(Be,Gt,gt):this.findOrReturn(Gt,Je))}findPosParam(Be,ve,Je){const gt=Je[ve.path.substring(1)];if(!gt)throw new t.vHH(4001,!1);return gt}findOrReturn(Be,ve){let Je=0;for(const gt of ve){if(gt.path===Be.path)return ve.splice(Je),gt;Je++}return Be}}const ra={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ho(ce,Be,ve,Je,gt){const Gt=Ja(ce,Be,ve);return Gt.matched?(Je=function D(ce,Be){return ce.providers&&!ce._injector&&(ce._injector=(0,t.MMx)(ce.providers,Be,`Route: ${ce.path}`)),ce._injector??Be}(Be,Je),function nr(ce,Be,ve,Je){const gt=Be.canMatch;if(!gt||0===gt.length)return(0,m.of)(!0);const Gt=gt.map(fn=>{const Qn=Ir(fn,ce);return Nn(function Cn(ce){return ce&&Fr(ce.canMatch)}(Qn)?Qn.canMatch(Be,ve):(0,t.r_H)(ce,()=>Qn(Be,ve)))});return(0,m.of)(Gt).pipe(Or(),oa())}(Je,Be,ve).pipe((0,oe.U)(fn=>!0===fn?Gt:{...ra}))):(0,m.of)(Gt)}function Ja(ce,Be,ve){if("**"===Be.path)return function Wa(ce){return{matched:!0,parameters:ce.length>0?hn(ce).parameters:{},consumedSegments:ce,remainingSegments:[],positionalParamSegments:{}}}(ve);if(""===Be.path)return"full"===Be.pathMatch&&(ce.hasChildren()||ve.length>0)?{...ra}:{matched:!0,consumedSegments:[],remainingSegments:ve,parameters:{},positionalParamSegments:{}};const gt=(Be.matcher||tt)(ve,ce,Be);if(!gt)return{...ra};const Gt={};Object.entries(gt.posParams??{}).forEach(([Qn,Hn])=>{Gt[Qn]=Hn.path});const fn=gt.consumed.length>0?{...Gt,...gt.consumed[gt.consumed.length-1].parameters}:Gt;return{matched:!0,consumedSegments:gt.consumed,remainingSegments:ve.slice(gt.consumed.length),parameters:fn,positionalParamSegments:gt.posParams??{}}}function aa(ce,Be,ve,Je){return ve.length>0&&function Tn(ce,Be,ve){return ve.some(Je=>Jn(ce,Be,Je)&&An(Je)!==G)}(ce,ve,Je)?{segmentGroup:new Tt(Be,dn(Je,new Tt(ve,ce.children))),slicedSegments:[]}:0===ve.length&&function Zn(ce,Be,ve){return ve.some(Je=>Jn(ce,Be,Je))}(ce,ve,Je)?{segmentGroup:new Tt(ce.segments,us(ce,ve,Je,ce.children)),slicedSegments:ve}:{segmentGroup:new Tt(ce.segments,ce.children),slicedSegments:ve}}function us(ce,Be,ve,Je){const gt={};for(const Gt of ve)if(Jn(ce,Be,Gt)&&!Je[An(Gt)]){const fn=new Tt([],{});gt[An(Gt)]=fn}return{...Je,...gt}}function dn(ce,Be){const ve={};ve[G]=Be;for(const Je of ce)if(""===Je.path&&An(Je)!==G){const gt=new Tt([],{});ve[An(Je)]=gt}return ve}function Jn(ce,Be,ve){return(!(ce.hasChildren()||Be.length>0)||"full"!==ve.pathMatch)&&""===ve.path}class Ri{}class Po{constructor(Be,ve,Je,gt,Gt,fn,Qn){this.injector=Be,this.configLoader=ve,this.rootComponentType=Je,this.config=gt,this.urlTree=Gt,this.paramsInheritanceStrategy=fn,this.urlSerializer=Qn,this.applyRedirects=new xs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(Be){return new t.vHH(4002,`'${Be.segmentGroup}'`)}recognize(){const Be=aa(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(Be).pipe((0,oe.U)(ve=>{const Je=new Yt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},G,this.rootComponentType,null,{}),gt=new Nr(Je,ve),Gt=new yn("",gt),fn=function Vt(ce,Be,ve=null,Je=null){return xn(bn(ce),Be,ve,Je)}(Je,[],this.urlTree.queryParams,this.urlTree.fragment);return fn.queryParams=this.urlTree.queryParams,Gt.url=this.urlSerializer.serialize(fn),this.inheritParamsAndData(Gt._root,null),{state:Gt,tree:fn}}))}match(Be){return this.processSegmentGroup(this.injector,this.config,Be,G).pipe((0,_e.K)(Je=>{if(Je instanceof Sa)return this.urlTree=Je.urlTree,this.match(Je.urlTree.root);throw Je instanceof Br?this.noMatchError(Je):Je}))}inheritParamsAndData(Be,ve){const Je=Be.value,gt=it(Je,ve,this.paramsInheritanceStrategy);Je.params=Object.freeze(gt.params),Je.data=Object.freeze(gt.data),Be.children.forEach(Gt=>this.inheritParamsAndData(Gt,Je))}processSegmentGroup(Be,ve,Je,gt){return 0===Je.segments.length&&Je.hasChildren()?this.processChildren(Be,ve,Je):this.processSegment(Be,ve,Je,Je.segments,gt,!0).pipe((0,oe.U)(Gt=>Gt instanceof Nr?[Gt]:[]))}processChildren(Be,ve,Je){const gt=[];for(const Gt of Object.keys(Je.children))"primary"===Gt?gt.unshift(Gt):gt.push(Gt);return(0,e.D)(gt).pipe((0,T.b)(Gt=>{const fn=Je.children[Gt],Qn=function ai(ce,Be){const ve=ce.filter(Je=>An(Je)===Be);return ve.push(...ce.filter(Je=>An(Je)!==Be)),ve}(ve,Gt);return this.processSegmentGroup(Be,Qn,fn,Gt)}),function pe(ce,Be){return(0,Ce.e)(function ae(ce,Be,ve,Je,gt){return(Gt,fn)=>{let Qn=ve,Hn=Be,Ti=0;Gt.subscribe((0,Ve.x)(fn,io=>{const wo=Ti++;Hn=Qn?ce(Hn,io,wo):(Qn=!0,io),Je&&fn.next(Hn)},gt&&(()=>{Qn&&fn.next(Hn),fn.complete()})))}}(ce,Be,arguments.length>=2,!0))}((Gt,fn)=>(Gt.push(...fn),Gt)),(0,Ae.d)(null),function Xe(ce,Be){const ve=arguments.length>=2;return Je=>Je.pipe(ce?(0,Q.h)((gt,Gt)=>ce(gt,Gt,Je)):Fe.y,Ze(1),ve?(0,Ae.d)(Be):(0,dt.T)(()=>new n.K))}(),(0,q.z)(Gt=>{if(null===Gt)return Ur(Je);const fn=Eo(Gt);return function oo(ce){ce.sort((Be,ve)=>Be.value.outlet===G?-1:ve.value.outlet===G?1:Be.value.outlet.localeCompare(ve.value.outlet))}(fn),(0,m.of)(fn)}))}processSegment(Be,ve,Je,gt,Gt,fn){return(0,e.D)(ve).pipe((0,T.b)(Qn=>this.processSegmentAgainstRoute(Qn._injector??Be,ve,Qn,Je,gt,Gt,fn).pipe((0,_e.K)(Hn=>{if(Hn instanceof Br)return(0,m.of)(null);throw Hn}))),(0,H.P)(Qn=>!!Qn),(0,_e.K)(Qn=>{if(Si(Qn))return function Mi(ce,Be,ve){return 0===Be.length&&!ce.children[ve]}(Je,gt,Gt)?(0,m.of)(new Ri):Ur(Je);throw Qn}))}processSegmentAgainstRoute(Be,ve,Je,gt,Gt,fn,Qn){return function ti(ce,Be,ve,Je){return!!(An(ce)===Je||Je!==G&&Jn(Be,ve,ce))&&Ja(Be,ce,ve).matched}(Je,gt,Gt,fn)?void 0===Je.redirectTo?this.matchSegmentAgainstRoute(Be,gt,Je,Gt,fn):this.allowRedirects&&Qn?this.expandSegmentAgainstRouteUsingRedirect(Be,gt,ve,Je,Gt,fn):Ur(gt):Ur(gt)}expandSegmentAgainstRouteUsingRedirect(Be,ve,Je,gt,Gt,fn){const{matched:Qn,consumedSegments:Hn,positionalParamSegments:Ti,remainingSegments:io}=Ja(ve,gt,Gt);if(!Qn)return Ur(ve);gt.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const wo=this.applyRedirects.applyRedirectCommands(Hn,gt.redirectTo,Ti);return this.applyRedirects.lineralizeSegments(gt,wo).pipe((0,q.z)(yr=>this.processSegment(Be,Je,ve,yr.concat(io),fn,!1)))}matchSegmentAgainstRoute(Be,ve,Je,gt,Gt){const fn=ho(ve,Je,gt,Be);return"**"===Je.path&&(ve.children={}),fn.pipe((0,le.w)(Qn=>Qn.matched?this.getChildConfig(Be=Je._injector??Be,Je,gt).pipe((0,le.w)(({routes:Hn})=>{const Ti=Je._loadedInjector??Be,{consumedSegments:io,remainingSegments:wo,parameters:yr}=Qn,la=new Yt(io,yr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function ro(ce){return ce.data||{}}(Je),An(Je),Je.component??Je._loadedComponent??null,Je,function kr(ce){return ce.resolve||{}}(Je)),{segmentGroup:fs,slicedSegments:pa}=aa(ve,io,wo,Hn);if(0===pa.length&&fs.hasChildren())return this.processChildren(Ti,Hn,fs).pipe((0,oe.U)(rs=>null===rs?null:new Nr(la,rs)));if(0===Hn.length&&0===pa.length)return(0,m.of)(new Nr(la,[]));const Us=An(Je)===Gt;return this.processSegment(Ti,Hn,fs,pa,Us?G:Gt,!0).pipe((0,oe.U)(rs=>new Nr(la,rs instanceof Nr?[rs]:[])))})):Ur(ve)))}getChildConfig(Be,ve,Je){return ve.children?(0,m.of)({routes:ve.children,injector:Be}):ve.loadChildren?void 0!==ve._loadedRoutes?(0,m.of)({routes:ve._loadedRoutes,injector:ve._loadedInjector}):function zr(ce,Be,ve,Je){const gt=Be.canLoad;if(void 0===gt||0===gt.length)return(0,m.of)(!0);const Gt=gt.map(fn=>{const Qn=Ir(fn,ce);return Nn(function ut(ce){return ce&&Fr(ce.canLoad)}(Qn)?Qn.canLoad(Be,ve):(0,t.r_H)(ce,()=>Qn(Be,ve)))});return(0,m.of)(Gt).pipe(Or(),oa())}(Be,ve,Je).pipe((0,q.z)(gt=>gt?this.configLoader.loadChildren(Be,ve).pipe((0,ie.b)(Gt=>{ve._loadedRoutes=Gt.routes,ve._loadedInjector=Gt.injector})):function Ea(ce){return(0,O._)(wi(!1,Bi.GuardRejected))}())):(0,m.of)({routes:[],injector:Be})}}function lo(ce){const Be=ce.value.routeConfig;return Be&&""===Be.path}function Eo(ce){const Be=[],ve=new Set;for(const Je of ce){if(!lo(Je)){Be.push(Je);continue}const gt=Be.find(Gt=>Je.value.routeConfig===Gt.value.routeConfig);void 0!==gt?(gt.children.push(...Je.children),ve.add(gt)):Be.push(Je)}for(const Je of ve){const gt=Eo(Je.children);Be.push(new Nr(Je.value,gt))}return Be.filter(Je=>!ve.has(Je))}function Te(ce){const Be=ce.children.map(ve=>Te(ve)).flat();return[ce,...Be]}function _n(ce){return(0,le.w)(Be=>{const ve=ce(Be);return ve?(0,e.D)(ve).pipe((0,oe.U)(()=>Be)):(0,m.of)(Be)})}let Kn=(()=>{class ce{buildTitle(ve){let Je,gt=ve.root;for(;void 0!==gt;)Je=this.getResolvedTitleForRoute(gt)??Je,gt=gt.children.find(Gt=>Gt.outlet===G);return Je}getResolvedTitleForRoute(ve){return ve.data[be]}static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:()=>(0,t.f3M)(ci),providedIn:"root"})}return ce})(),ci=(()=>{class ce extends Kn{constructor(ve){super(),this.title=ve}updateTitle(ve){const Je=this.buildTitle(ve);void 0!==Je&&this.title.setTitle(Je)}static#e=this.\u0275fac=function(Je){return new(Je||ce)(t.LFG(Se.Dx))};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();const bi=new t.OlP("",{providedIn:"root",factory:()=>({})}),Go=new t.OlP("ROUTES");let po=(()=>{class ce{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,t.f3M)(t.Sil)}loadComponent(ve){if(this.componentLoaders.get(ve))return this.componentLoaders.get(ve);if(ve._loadedComponent)return(0,m.of)(ve._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ve);const Je=Nn(ve.loadComponent()).pipe((0,oe.U)(sr),(0,ie.b)(Gt=>{this.onLoadEndListener&&this.onLoadEndListener(ve),ve._loadedComponent=Gt}),(0,W.x)(()=>{this.componentLoaders.delete(ve)})),gt=new E.c(Je,()=>new A.x).pipe((0,we.x)());return this.componentLoaders.set(ve,gt),gt}loadChildren(ve,Je){if(this.childrenLoaders.get(Je))return this.childrenLoaders.get(Je);if(Je._loadedRoutes)return(0,m.of)({routes:Je._loadedRoutes,injector:Je._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Je);const Gt=function Jo(ce,Be,ve,Je){return Nn(ce.loadChildren()).pipe((0,oe.U)(sr),(0,q.z)(gt=>gt instanceof t.YKP||Array.isArray(gt)?(0,m.of)(gt):(0,e.D)(Be.compileModuleAsync(gt))),(0,oe.U)(gt=>{Je&&Je(ce);let Gt,fn,Qn=!1;return Array.isArray(gt)?(fn=gt,!0):(Gt=gt.create(ve).injector,fn=Gt.get(Go,[],{optional:!0,self:!0}).flat()),{routes:fn.map(In),injector:Gt}}))}(Je,this.compiler,ve,this.onLoadEndListener).pipe((0,W.x)(()=>{this.childrenLoaders.delete(Je)})),fn=new E.c(Gt,()=>new A.x).pipe((0,we.x)());return this.childrenLoaders.set(Je,fn),fn}static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();function sr(ce){return function xo(ce){return ce&&"object"==typeof ce&&"default"in ce}(ce)?ce.default:ce}let zo=(()=>{class ce{static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:()=>(0,t.f3M)(ir),providedIn:"root"})}return ce})(),ir=(()=>{class ce{shouldProcessUrl(ve){return!0}extract(ve){return ve}merge(ve,Je){return ve}static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();const Va=new t.OlP(""),Qr=new t.OlP("");function Xa(ce,Be,ve){const Je=ce.get(Qr),gt=ce.get(Z.K0);return ce.get(t.R0b).runOutsideAngular(()=>{if(!gt.startViewTransition||Je.skipNextTransition)return Je.skipNextTransition=!1,Promise.resolve();let Gt;const fn=new Promise(Ti=>{Gt=Ti}),Qn=gt.startViewTransition(()=>(Gt(),function Ra(ce){return new Promise(Be=>{(0,t.T8G)(Be,{injector:ce})})}(ce))),{onViewTransitionCreated:Hn}=Je;return Hn&&(0,t.r_H)(ce,()=>Hn({transition:Qn,from:Be,to:ve})),fn})}let sa=(()=>{class ce{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new A.x,this.transitionAbortSubject=new A.x,this.configLoader=(0,t.f3M)(po),this.environmentInjector=(0,t.f3M)(t.lqb),this.urlSerializer=(0,t.f3M)(Bt),this.rootContexts=(0,t.f3M)(Mr),this.location=(0,t.f3M)(Z.Ye),this.inputBindingEnabled=null!==(0,t.f3M)(Kt,{optional:!0}),this.titleStrategy=(0,t.f3M)(Kn),this.options=(0,t.f3M)(bi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,t.f3M)(zo),this.createViewTransition=(0,t.f3M)(Va,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,m.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=gt=>this.events.next(new an(gt)),this.configLoader.onLoadStartListener=gt=>this.events.next(new Zt(gt))}complete(){this.transitions?.complete()}handleNavigationRequest(ve){const Je=++this.navigationId;this.transitions?.next({...this.transitions.value,...ve,id:Je})}setupNavigations(ve,Je,gt){return this.transitions=new p.X({id:0,currentUrlTree:Je,currentRawUrl:Je,extractedUrl:this.urlHandlingStrategy.extract(Je),urlAfterRedirects:this.urlHandlingStrategy.extract(Je),rawUrl:Je,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ai,restoredState:null,currentSnapshot:gt.snapshot,targetSnapshot:null,currentRouterState:gt,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Q.h)(Gt=>0!==Gt.id),(0,oe.U)(Gt=>({...Gt,extractedUrl:this.urlHandlingStrategy.extract(Gt.rawUrl)})),(0,le.w)(Gt=>{this.currentTransition=Gt;let fn=!1,Qn=!1;return(0,m.of)(Gt).pipe((0,ie.b)(Hn=>{this.currentNavigation={id:Hn.id,initialUrl:Hn.rawUrl,extractedUrl:Hn.extractedUrl,trigger:Hn.source,extras:Hn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,le.w)(Hn=>{const Ti=!ve.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Ti&&"reload"!==(Hn.extras.onSameUrlNavigation??ve.onSameUrlNavigation)){const wo="";return this.events.next(new On(Hn.id,this.urlSerializer.serialize(Hn.rawUrl),wo,bo.IgnoredSameUrlNavigation)),Hn.resolve(null),M.E}if(this.urlHandlingStrategy.shouldProcessUrl(Hn.rawUrl))return(0,m.of)(Hn).pipe((0,le.w)(wo=>{const yr=this.transitions?.getValue();return this.events.next(new ao(wo.id,this.urlSerializer.serialize(wo.extractedUrl),wo.source,wo.restoredState)),yr!==this.transitions?.getValue()?M.E:Promise.resolve(wo)}),function vr(ce,Be,ve,Je,gt,Gt){return(0,q.z)(fn=>function zi(ce,Be,ve,Je,gt,Gt,fn="emptyOnly"){return new Po(ce,Be,ve,Je,gt,fn,Gt).recognize()}(ce,Be,ve,Je,fn.extractedUrl,gt,Gt).pipe((0,oe.U)(({state:Qn,tree:Hn})=>({...fn,targetSnapshot:Qn,urlAfterRedirects:Hn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,ve.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,ie.b)(wo=>{Gt.targetSnapshot=wo.targetSnapshot,Gt.urlAfterRedirects=wo.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:wo.urlAfterRedirects};const yr=new Rt(wo.id,this.urlSerializer.serialize(wo.extractedUrl),this.urlSerializer.serialize(wo.urlAfterRedirects),wo.targetSnapshot);this.events.next(yr)}));if(Ti&&this.urlHandlingStrategy.shouldProcessUrl(Hn.currentRawUrl)){const{id:wo,extractedUrl:yr,source:la,restoredState:fs,extras:pa}=Hn,Us=new ao(wo,this.urlSerializer.serialize(yr),la,fs);this.events.next(Us);const rs=Ci(this.rootComponentType).snapshot;return this.currentTransition=Gt={...Hn,targetSnapshot:rs,urlAfterRedirects:yr,extras:{...pa,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=yr,(0,m.of)(Gt)}{const wo="";return this.events.next(new On(Hn.id,this.urlSerializer.serialize(Hn.extractedUrl),wo,bo.IgnoredByUrlHandlingStrategy)),Hn.resolve(null),M.E}}),(0,ie.b)(Hn=>{const Ti=new on(Hn.id,this.urlSerializer.serialize(Hn.extractedUrl),this.urlSerializer.serialize(Hn.urlAfterRedirects),Hn.targetSnapshot);this.events.next(Ti)}),(0,oe.U)(Hn=>(this.currentTransition=Gt={...Hn,guards:br(Hn.targetSnapshot,Hn.currentSnapshot,this.rootContexts)},Gt)),function Vr(ce,Be){return(0,q.z)(ve=>{const{targetSnapshot:Je,currentSnapshot:gt,guards:{canActivateChecks:Gt,canDeactivateChecks:fn}}=ve;return 0===fn.length&&0===Gt.length?(0,m.of)({...ve,guardsResult:!0}):function qo(ce,Be,ve,Je){return(0,e.D)(ce).pipe((0,q.z)(gt=>function qi(ce,Be,ve,Je,gt){const Gt=Be&&Be.routeConfig?Be.routeConfig.canDeactivate:null;if(!Gt||0===Gt.length)return(0,m.of)(!0);const fn=Gt.map(Qn=>{const Hn=Gn(Be)??gt,Ti=Ir(Qn,Hn);return Nn(function Ht(ce){return ce&&Fr(ce.canDeactivate)}(Ti)?Ti.canDeactivate(ce,Be,ve,Je):(0,t.r_H)(Hn,()=>Ti(ce,Be,ve,Je))).pipe((0,H.P)())});return(0,m.of)(fn).pipe(Or())}(gt.component,gt.route,ve,Be,Je)),(0,H.P)(gt=>!0!==gt,!0))}(fn,Je,gt,ce).pipe((0,q.z)(Qn=>Qn&&function Cr(ce){return"boolean"==typeof ce}(Qn)?function To(ce,Be,ve,Je){return(0,e.D)(Be).pipe((0,T.b)(gt=>(0,I.z)(function no(ce,Be){return null!==ce&&Be&&Be(new Xn(ce)),(0,m.of)(!0)}(gt.route.parent,Je),function Ii(ce,Be){return null!==ce&&Be&&Be(new Ui(ce)),(0,m.of)(!0)}(gt.route,Je),function uo(ce,Be,ve){const Je=Be[Be.length-1],Gt=Be.slice(0,Be.length-1).reverse().map(fn=>function Xr(ce){const Be=ce.routeConfig?ce.routeConfig.canActivateChild:null;return Be&&0!==Be.length?{node:ce,guards:Be}:null}(fn)).filter(fn=>null!==fn).map(fn=>(0,L.P)(()=>{const Qn=fn.guards.map(Hn=>{const Ti=Gn(fn.node)??ve,io=Ir(Hn,Ti);return Nn(function qe(ce){return ce&&Fr(ce.canActivateChild)}(io)?io.canActivateChild(Je,ce):(0,t.r_H)(Ti,()=>io(Je,ce))).pipe((0,H.P)())});return(0,m.of)(Qn).pipe(Or())}));return(0,m.of)(Gt).pipe(Or())}(ce,gt.path,ve),function ea(ce,Be,ve){const Je=Be.routeConfig?Be.routeConfig.canActivate:null;if(!Je||0===Je.length)return(0,m.of)(!0);const gt=Je.map(Gt=>(0,L.P)(()=>{const fn=Gn(Be)??ve,Qn=Ir(Gt,fn);return Nn(function xt(ce){return ce&&Fr(ce.canActivate)}(Qn)?Qn.canActivate(Be,ce):(0,t.r_H)(fn,()=>Qn(Be,ce))).pipe((0,H.P)())}));return(0,m.of)(gt).pipe(Or())}(ce,gt.route,ve))),(0,H.P)(gt=>!0!==gt,!0))}(Je,Gt,ce,Be):(0,m.of)(Qn)),(0,oe.U)(Qn=>({...ve,guardsResult:Qn})))})}(this.environmentInjector,Hn=>this.events.next(Hn)),(0,ie.b)(Hn=>{if(Gt.guardsResult=Hn.guardsResult,_t(Hn.guardsResult))throw Pi(0,Hn.guardsResult);const Ti=new ze(Hn.id,this.urlSerializer.serialize(Hn.extractedUrl),this.urlSerializer.serialize(Hn.urlAfterRedirects),Hn.targetSnapshot,!!Hn.guardsResult);this.events.next(Ti)}),(0,Q.h)(Hn=>!!Hn.guardsResult||(this.cancelNavigationTransition(Hn,"",Bi.GuardRejected),!1)),_n(Hn=>{if(Hn.guards.canActivateChecks.length)return(0,m.of)(Hn).pipe((0,ie.b)(Ti=>{const io=new en(Ti.id,this.urlSerializer.serialize(Ti.extractedUrl),this.urlSerializer.serialize(Ti.urlAfterRedirects),Ti.targetSnapshot);this.events.next(io)}),(0,le.w)(Ti=>{let io=!1;return(0,m.of)(Ti).pipe(function Wo(ce,Be){return(0,q.z)(ve=>{const{targetSnapshot:Je,guards:{canActivateChecks:gt}}=ve;if(!gt.length)return(0,m.of)(ve);const Gt=new Set(gt.map(Hn=>Hn.route)),fn=new Set;for(const Hn of Gt)if(!fn.has(Hn))for(const Ti of Te(Hn))fn.add(Ti);let Qn=0;return(0,e.D)(fn).pipe((0,T.b)(Hn=>Gt.has(Hn)?function kt(ce,Be,ve,Je){const gt=ce.routeConfig,Gt=ce._resolve;return void 0!==gt?.title&&!so(gt)&&(Gt[be]=gt.title),function We(ce,Be,ve,Je){const gt=mt(ce);if(0===gt.length)return(0,m.of)({});const Gt={};return(0,e.D)(gt).pipe((0,q.z)(fn=>function yt(ce,Be,ve,Je){const gt=Gn(Be)??Je,Gt=Ir(ce,gt);return Nn(Gt.resolve?Gt.resolve(Be,ve):(0,t.r_H)(gt,()=>Gt(Be,ve)))}(ce[fn],Be,ve,Je).pipe((0,H.P)(),(0,ie.b)(Qn=>{Gt[fn]=Qn}))),Ze(1),(0,Ie.h)(Gt),(0,_e.K)(fn=>Si(fn)?M.E:(0,O._)(fn)))}(Gt,ce,Be,Je).pipe((0,oe.U)(fn=>(ce._resolvedData=fn,ce.data=it(ce,ce.parent,ve).resolve,null)))}(Hn,Je,ce,Be):(Hn.data=it(Hn,Hn.parent,ce).resolve,(0,m.of)(void 0))),(0,ie.b)(()=>Qn++),Ze(1),(0,q.z)(Hn=>Qn===fn.size?(0,m.of)(ve):M.E))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,ie.b)({next:()=>io=!0,complete:()=>{io||this.cancelNavigationTransition(Ti,"",Bi.NoDataFromResolver)}}))}),(0,ie.b)(Ti=>{const io=new st(Ti.id,this.urlSerializer.serialize(Ti.extractedUrl),this.urlSerializer.serialize(Ti.urlAfterRedirects),Ti.targetSnapshot);this.events.next(io)}))}),_n(Hn=>{const Ti=io=>{const wo=[];io.routeConfig?.loadComponent&&!io.routeConfig._loadedComponent&&wo.push(this.configLoader.loadComponent(io.routeConfig).pipe((0,ie.b)(yr=>{io.component=yr}),(0,oe.U)(()=>{})));for(const yr of io.children)wo.push(...Ti(yr));return wo};return(0,U.a)(Ti(Hn.targetSnapshot.root)).pipe((0,Ae.d)(null),(0,ee.q)(1))}),_n(()=>this.afterPreactivation()),(0,le.w)(()=>{const{currentSnapshot:Hn,targetSnapshot:Ti}=Gt,io=this.createViewTransition?.(this.environmentInjector,Hn.root,Ti.root);return io?(0,e.D)(io).pipe((0,oe.U)(()=>Gt)):(0,m.of)(Gt)}),(0,oe.U)(Hn=>{const Ti=function vn(ce,Be,ve){const Je=kn(ce,Be._root,ve?ve._root:void 0);return new ln(Je,Be)}(ve.routeReuseStrategy,Hn.targetSnapshot,Hn.currentRouterState);return this.currentTransition=Gt={...Hn,targetRouterState:Ti},this.currentNavigation.targetRouterState=Ti,Gt}),(0,ie.b)(()=>{this.events.next(new Co)}),((ce,Be,ve,Je)=>(0,oe.U)(gt=>(new Ao(Be,gt.targetRouterState,gt.currentRouterState,ve,Je).activate(ce),gt)))(this.rootContexts,ve.routeReuseStrategy,Hn=>this.events.next(Hn),this.inputBindingEnabled),(0,ee.q)(1),(0,ie.b)({next:Hn=>{fn=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xi(Hn.id,this.urlSerializer.serialize(Hn.extractedUrl),this.urlSerializer.serialize(Hn.urlAfterRedirects))),this.titleStrategy?.updateTitle(Hn.targetRouterState.snapshot),Hn.resolve(!0)},complete:()=>{fn=!0}}),(0,P.R)(this.transitionAbortSubject.pipe((0,ie.b)(Hn=>{throw Hn}))),(0,W.x)(()=>{!fn&&!Qn&&this.cancelNavigationTransition(Gt,"",Bi.SupersededByNewNavigation),this.currentNavigation?.id===Gt.id&&(this.currentNavigation=null)}),(0,_e.K)(Hn=>{if(Qn=!0,ki(Hn))this.events.next(new Qi(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),Hn.message,Hn.cancellationCode)),function $i(ce){return ki(ce)&&_t(ce.url)}(Hn)?this.events.next(new Yo(Hn.url)):Gt.resolve(!1);else{this.events.next(new mi(Gt.id,this.urlSerializer.serialize(Gt.extractedUrl),Hn,Gt.targetSnapshot??void 0));try{Gt.resolve(ve.errorHandler(Hn))}catch(Ti){this.options.resolveNavigationPromiseOnError?Gt.resolve(!1):Gt.reject(Ti)}}return M.E}))}))}cancelNavigationTransition(ve,Je,gt){const Gt=new Qi(ve.id,this.urlSerializer.serialize(ve.extractedUrl),Je,gt);this.events.next(Gt),ve.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();function La(ce){return ce!==Ai}let es=(()=>{class ce{static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:()=>(0,t.f3M)(fl),providedIn:"root"})}return ce})();class Cs{shouldDetach(Be){return!1}store(Be,ve){}shouldAttach(Be){return!1}retrieve(Be){return null}shouldReuseRoute(Be,ve){return Be.routeConfig===ve.routeConfig}}let fl=(()=>{class ce extends Cs{static#e=this.\u0275fac=(()=>{let ve;return function(gt){return(ve||(ve=t.n5z(ce)))(gt||ce)}})();static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})(),_l=(()=>{class ce{static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:()=>(0,t.f3M)(Pc),providedIn:"root"})}return ce})(),Pc=(()=>{class ce extends _l{constructor(){super(...arguments),this.location=(0,t.f3M)(Z.Ye),this.urlSerializer=(0,t.f3M)(Bt),this.options=(0,t.f3M)(bi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,t.f3M)(zo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Et,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ci(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(ve){return this.location.subscribe(Je=>{"popstate"===Je.type&&ve(Je.url,Je.state)})}handleRouterEvent(ve,Je){if(ve instanceof ao)this.stateMemento=this.createStateMemento();else if(ve instanceof On)this.rawUrlTree=Je.initialUrl;else if(ve instanceof Rt){if("eager"===this.urlUpdateStrategy&&!Je.extras.skipLocationChange){const gt=this.urlHandlingStrategy.merge(Je.finalUrl,Je.initialUrl);this.setBrowserUrl(gt,Je)}}else ve instanceof Co?(this.currentUrlTree=Je.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Je.finalUrl,Je.initialUrl),this.routerState=Je.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Je.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Je))):ve instanceof Qi&&(ve.code===Bi.GuardRejected||ve.code===Bi.NoDataFromResolver)?this.restoreHistory(Je):ve instanceof mi?this.restoreHistory(Je,!0):ve instanceof xi&&(this.lastSuccessfulId=ve.id,this.currentPageId=this.browserPageId)}setBrowserUrl(ve,Je){const gt=this.urlSerializer.serialize(ve);if(this.location.isCurrentPathEqualTo(gt)||Je.extras.replaceUrl){const fn={...Je.extras.state,...this.generateNgRouterState(Je.id,this.browserPageId)};this.location.replaceState(gt,"",fn)}else{const Gt={...Je.extras.state,...this.generateNgRouterState(Je.id,this.browserPageId+1)};this.location.go(gt,"",Gt)}}restoreHistory(ve,Je=!1){if("computed"===this.canceledNavigationResolution){const Gt=this.currentPageId-this.browserPageId;0!==Gt?this.location.historyGo(Gt):this.currentUrlTree===ve.finalUrl&&0===Gt&&(this.resetState(ve),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Je&&this.resetState(ve),this.resetUrlToCurrentUrlTree())}resetState(ve){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ve.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ve,Je){return"computed"===this.canceledNavigationResolution?{navigationId:ve,\u0275routerPageId:Je}:{navigationId:ve}}static#e=this.\u0275fac=(()=>{let ve;return function(gt){return(ve||(ve=t.n5z(ce)))(gt||ce)}})();static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();var Ca=function(ce){return ce[ce.COMPLETE=0]="COMPLETE",ce[ce.FAILED=1]="FAILED",ce[ce.REDIRECTING=2]="REDIRECTING",ce}(Ca||{});function $s(ce,Be){ce.events.pipe((0,Q.h)(ve=>ve instanceof xi||ve instanceof Qi||ve instanceof mi||ve instanceof On),(0,oe.U)(ve=>ve instanceof xi||ve instanceof On?Ca.COMPLETE:ve instanceof Qi&&(ve.code===Bi.Redirect||ve.code===Bi.SupersededByNewNavigation)?Ca.REDIRECTING:Ca.FAILED),(0,Q.h)(ve=>ve!==Ca.REDIRECTING),(0,ee.q)(1)).subscribe(()=>{Be()})}function za(ce){throw ce}const gl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ec={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let wa=(()=>{class ce{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,t.f3M)(t.c2e),this.stateManager=(0,t.f3M)(_l),this.options=(0,t.f3M)(bi,{optional:!0})||{},this.pendingTasks=(0,t.f3M)(t.I6F),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,t.f3M)(sa),this.urlSerializer=(0,t.f3M)(Bt),this.location=(0,t.f3M)(Z.Ye),this.urlHandlingStrategy=(0,t.f3M)(zo),this._events=new A.x,this.errorHandler=this.options.errorHandler||za,this.navigated=!1,this.routeReuseStrategy=(0,t.f3M)(es),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,t.f3M)(Go,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,t.f3M)(Kt,{optional:!0}),this.eventsSubscription=new S.w0,this.isNgZoneEnabled=(0,t.f3M)(t.R0b)instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:ve=>{this.console.warn(ve)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const ve=this.navigationTransitions.events.subscribe(Je=>{try{const gt=this.navigationTransitions.currentTransition,Gt=this.navigationTransitions.currentNavigation;if(null!==gt&&null!==Gt)if(this.stateManager.handleRouterEvent(Je,Gt),Je instanceof Qi&&Je.code!==Bi.Redirect&&Je.code!==Bi.SupersededByNewNavigation)this.navigated=!0;else if(Je instanceof xi)this.navigated=!0;else if(Je instanceof Yo){const fn=this.urlHandlingStrategy.merge(Je.url,gt.currentRawUrl),Qn={info:gt.extras.info,skipLocationChange:gt.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||La(gt.source)};this.scheduleNavigation(fn,Ai,null,Qn,{resolve:gt.resolve,reject:gt.reject,promise:gt.promise})}(function Ic(ce){return!(ce instanceof Co||ce instanceof Yo)})(Je)&&this._events.next(Je)}catch(gt){this.navigationTransitions.transitionAbortSubject.next(gt)}});this.eventsSubscription.add(ve)}resetRootComponentType(ve){this.routerState.root.component=ve,this.navigationTransitions.rootComponentType=ve}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ai,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((ve,Je)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(ve,"popstate",Je)},0)})}navigateToSyncWithBrowser(ve,Je,gt){const Gt={replaceUrl:!0},fn=gt?.navigationId?gt:null;if(gt){const Hn={...gt};delete Hn.navigationId,delete Hn.\u0275routerPageId,0!==Object.keys(Hn).length&&(Gt.state=Hn)}const Qn=this.parseUrl(ve);this.scheduleNavigation(Qn,Je,fn,Gt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(ve){this.config=ve.map(In),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(ve,Je={}){const{relativeTo:gt,queryParams:Gt,fragment:fn,queryParamsHandling:Qn,preserveFragment:Hn}=Je,Ti=Hn?this.currentUrlTree.fragment:fn;let wo,io=null;switch(Qn){case"merge":io={...this.currentUrlTree.queryParams,...Gt};break;case"preserve":io=this.currentUrlTree.queryParams;break;default:io=Gt||null}null!==io&&(io=this.removeEmptyProps(io));try{wo=bn(gt?gt.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof ve[0]||!ve[0].startsWith("/"))&&(ve=[]),wo=this.currentUrlTree.root}return xn(wo,ve,io,Ti??null)}navigateByUrl(ve,Je={skipLocationChange:!1}){const gt=_t(ve)?ve:this.parseUrl(ve),Gt=this.urlHandlingStrategy.merge(gt,this.rawUrlTree);return this.scheduleNavigation(Gt,Ai,null,Je)}navigate(ve,Je={skipLocationChange:!1}){return function tc(ce){for(let Be=0;Be<ce.length;Be++)if(null==ce[Be])throw new t.vHH(4008,!1)}(ve),this.navigateByUrl(this.createUrlTree(ve,Je),Je)}serializeUrl(ve){return this.urlSerializer.serialize(ve)}parseUrl(ve){try{return this.urlSerializer.parse(ve)}catch{return this.urlSerializer.parse("/")}}isActive(ve,Je){let gt;if(gt=!0===Je?{...gl}:!1===Je?{...ec}:Je,_t(ve))return He(this.currentUrlTree,ve,gt);const Gt=this.parseUrl(ve);return He(this.currentUrlTree,Gt,gt)}removeEmptyProps(ve){return Object.entries(ve).reduce((Je,[gt,Gt])=>(null!=Gt&&(Je[gt]=Gt),Je),{})}scheduleNavigation(ve,Je,gt,Gt,fn){if(this.disposed)return Promise.resolve(!1);let Qn,Hn,Ti;fn?(Qn=fn.resolve,Hn=fn.reject,Ti=fn.promise):Ti=new Promise((wo,yr)=>{Qn=wo,Hn=yr});const io=this.pendingTasks.add();return $s(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(io))}),this.navigationTransitions.handleNavigationRequest({source:Je,restoredState:gt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ve,extras:Gt,resolve:Qn,reject:Hn,promise:Ti,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ti.catch(wo=>Promise.reject(wo))}static#e=this.\u0275fac=function(Je){return new(Je||ce)};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})(),pr=(()=>{class ce{constructor(ve,Je,gt,Gt,fn,Qn){this.router=ve,this.route=Je,this.tabIndexAttribute=gt,this.renderer=Gt,this.el=fn,this.locationStrategy=Qn,this.href=null,this.commands=null,this.onChanges=new A.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Hn=fn.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Hn||"area"===Hn,this.isAnchorElement?this.subscription=ve.events.subscribe(Ti=>{Ti instanceof xi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ve){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ve)}ngOnChanges(ve){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ve){null!=ve?(this.commands=Array.isArray(ve)?ve:[ve],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ve,Je,gt,Gt,fn){return!!(null===this.urlTree||this.isAnchorElement&&(0!==ve||Je||gt||Gt||fn||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const ve=null===this.href?null:(0,t.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ve)}applyAttributeValue(ve,Je){const gt=this.renderer,Gt=this.el.nativeElement;null!==Je?gt.setAttribute(Gt,ve,Je):gt.removeAttribute(Gt,ve)}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:this.preserveFragment})}static#e=this.\u0275fac=function(Je){return new(Je||ce)(t.Y36(wa),t.Y36(ct),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(Z.S$))};static#t=this.\u0275dir=t.lG2({type:ce,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Je,gt){1&Je&&t.NdJ("click",function(fn){return gt.onClick(fn.button,fn.ctrlKey,fn.shiftKey,fn.altKey,fn.metaKey)}),2&Je&&t.uIk("target",gt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[t.lbL.HasDecoratorInputTransform,"preserveFragment","preserveFragment",t.VuI],skipLocationChange:[t.lbL.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",t.VuI],replaceUrl:[t.lbL.HasDecoratorInputTransform,"replaceUrl","replaceUrl",t.VuI],routerLink:"routerLink"},standalone:!0,features:[t.Xq5,t.TTD]})}return ce})();class Hr{}let Bs=(()=>{class ce{constructor(ve,Je,gt,Gt,fn){this.router=ve,this.injector=gt,this.preloadingStrategy=Gt,this.loader=fn}setUpPreloading(){this.subscription=this.router.events.pipe((0,Q.h)(ve=>ve instanceof xi),(0,T.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ve,Je){const gt=[];for(const Gt of Je){Gt.providers&&!Gt._injector&&(Gt._injector=(0,t.MMx)(Gt.providers,ve,`Route: ${Gt.path}`));const fn=Gt._injector??ve,Qn=Gt._loadedInjector??fn;(Gt.loadChildren&&!Gt._loadedRoutes&&void 0===Gt.canLoad||Gt.loadComponent&&!Gt._loadedComponent)&&gt.push(this.preloadConfig(fn,Gt)),(Gt.children||Gt._loadedRoutes)&&gt.push(this.processRoutes(Qn,Gt.children??Gt._loadedRoutes))}return(0,e.D)(gt).pipe((0,V.J)())}preloadConfig(ve,Je){return this.preloadingStrategy.preload(Je,()=>{let gt;gt=Je.loadChildren&&void 0===Je.canLoad?this.loader.loadChildren(ve,Je):(0,m.of)(null);const Gt=gt.pipe((0,q.z)(fn=>null===fn?(0,m.of)(void 0):(Je._loadedRoutes=fn.routes,Je._loadedInjector=fn.injector,this.processRoutes(fn.injector??ve,fn.routes))));if(Je.loadComponent&&!Je._loadedComponent){const fn=this.loader.loadComponent(Je);return(0,e.D)([Gt,fn]).pipe((0,V.J)())}return Gt})}static#e=this.\u0275fac=function(Je){return new(Je||ce)(t.LFG(wa),t.LFG(t.Sil),t.LFG(t.lqb),t.LFG(Hr),t.LFG(po))};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac,providedIn:"root"})}return ce})();const _a=new t.OlP("");let Rc=(()=>{class ce{constructor(ve,Je,gt,Gt,fn={}){this.urlSerializer=ve,this.transitions=Je,this.viewportScroller=gt,this.zone=Gt,this.options=fn,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},fn.scrollPositionRestoration||="disabled",fn.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(ve=>{ve instanceof ao?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ve.navigationTrigger,this.restoredId=ve.restoredState?ve.restoredState.navigationId:0):ve instanceof xi?(this.lastId=ve.id,this.scheduleScrollEvent(ve,this.urlSerializer.parse(ve.urlAfterRedirects).fragment)):ve instanceof On&&ve.code===bo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ve,this.urlSerializer.parse(ve.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ve=>{ve instanceof Lo&&(ve.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ve.position):ve.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ve.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ve,Je){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Lo(ve,"popstate"===this.lastSource?this.store[this.restoredId]:null,Je))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Je){t.$Z()};static#t=this.\u0275prov=t.Yz7({token:ce,factory:ce.\u0275fac})}return ce})();function jr(ce,Be){return{\u0275kind:ce,\u0275providers:Be}}function hs(){const ce=(0,t.f3M)(t.zs3);return Be=>{const ve=ce.get(t.z2F);if(Be!==ve.components[0])return;const Je=ce.get(wa),gt=ce.get(ws);1===ce.get(Qa)&&Je.initialNavigation(),ce.get(Fa,null,t.XFs.Optional)?.setUpPreloading(),ce.get(_a,null,t.XFs.Optional)?.init(),Je.resetRootComponentType(ve.componentTypes[0]),gt.closed||(gt.next(),gt.complete(),gt.unsubscribe())}}const ws=new t.OlP("",{factory:()=>new A.x}),Qa=new t.OlP("",{providedIn:"root",factory:()=>1}),Fa=new t.OlP("");function bd(ce){return jr(0,[{provide:Fa,useExisting:Bs},{provide:Hr,useExisting:ce}])}function ns(ce){return jr(9,[{provide:Va,useValue:Xa},{provide:Qr,useValue:{skipNextTransition:!!ce?.skipInitialTransition,...ce}}])}const rc=new t.OlP("ROUTER_FORROOT_GUARD"),Bc=[Z.Ye,{provide:Bt,useClass:Ue},wa,Mr,{provide:ct,useFactory:function Nc(ce){return ce.routerState.root},deps:[wa]},po,[]];let ac=(()=>{class ce{constructor(ve){}static forRoot(ve,Je){return{ngModule:ce,providers:[Bc,[],{provide:Go,multi:!0,useValue:ve},{provide:rc,useFactory:Ts,deps:[[wa,new t.FiY,new t.tp0]]},{provide:bi,useValue:Je||{}},Je?.useHash?{provide:Z.S$,useClass:Z.Do}:{provide:Z.S$,useClass:Z.b0},{provide:_a,useFactory:()=>{const ce=(0,t.f3M)(Z.EM),Be=(0,t.f3M)(t.R0b),ve=(0,t.f3M)(bi),Je=(0,t.f3M)(sa),gt=(0,t.f3M)(Bt);return ve.scrollOffset&&ce.setOffset(ve.scrollOffset),new Rc(gt,Je,ce,Be,ve)}},Je?.preloadingStrategy?bd(Je.preloadingStrategy).\u0275providers:[],Je?.initialNavigation?is(Je):[],Je?.bindToComponentInputs?jr(8,[Qt,{provide:Kt,useExisting:Qt}]).\u0275providers:[],Je?.enableViewTransitions?ns().\u0275providers:[],[{provide:or,useFactory:hs},{provide:t.tb,multi:!0,useExisting:or}]]}}static forChild(ve){return{ngModule:ce,providers:[{provide:Go,multi:!0,useValue:ve}]}}static#e=this.\u0275fac=function(Je){return new(Je||ce)(t.LFG(rc,8))};static#t=this.\u0275mod=t.oAB({type:ce});static#n=this.\u0275inj=t.cJS({})}return ce})();function Ts(ce){return"guarded"}function is(ce){return["disabled"===ce.initialNavigation?jr(3,[{provide:t.ip1,multi:!0,useFactory:()=>{const Be=(0,t.f3M)(wa);return()=>{Be.setUpLocationChangeListener()}}},{provide:Qa,useValue:2}]).\u0275providers:[],"enabledBlocking"===ce.initialNavigation?jr(2,[{provide:Qa,useValue:0},{provide:t.ip1,multi:!0,deps:[t.zs3],useFactory:Be=>{const ve=Be.get(Z.V_,Promise.resolve());return()=>ve.then(()=>new Promise(Je=>{const gt=Be.get(wa),Gt=Be.get(ws);$s(gt,()=>{Je(!0)}),Be.get(sa).afterPreactivation=()=>(Je(!0),Gt.closed?(0,m.of)(void 0):Gt),gt.initialNavigation()}))}}]).\u0275providers:[]]}const or=new t.OlP("")},9993:(jt,$e,s)=>{"use strict";s.d($e,{If:()=>Il,_D:()=>sa,jt:()=>Al,Vi:()=>al,iD:()=>Hu,FF:()=>Kc,IJ:()=>Ps,N9:()=>Hd,dR:()=>lh});var t=s(9212),u=s(5592),e=s(9773),n=s(6232),I=s(2096),L=s(8645),y=s(2438),O=s(9080),M=s(4829);const{isArray:E}=Array;function A(w){return 1===w.length&&E(w[0])?w[0]:w}var S=s(8251);function Z(...w){return 1===(w=A(w)).length?(0,M.Xf)(w[0]):new u.y(function oe(w){return ge=>{let b=[];for(let R=0;b&&!ge.closed&&R<w.length;R++)b.push((0,M.Xf)(w[R]).subscribe((0,S.x)(ge,he=>{if(b){for(let ht=0;ht<b.length;ht++)ht!==R&&b[ht].unsubscribe();b=null}ge.next(he)})))}}(w))}s(3019);var ee=s(9940);function K(...w){const ge=(0,ee.jO)(w),b=A(w);return b.length?new u.y(R=>{let he=b.map(()=>[]),ht=b.map(()=>!1);R.add(()=>{he=ht=null});for(let Dt=0;!R.closed&&Dt<b.length;Dt++)(0,M.Xf)(b[Dt]).subscribe((0,S.x)(R,Sn=>{if(he[Dt].push(Sn),he.every(Ln=>Ln.length)){const Ln=he.map(Yn=>Yn.shift());R.next(ge?ge(...Ln):Ln),he.some((Yn,ri)=>!Yn.length&&ht[ri])&&R.complete()}},()=>{ht[Dt]=!0,!he[Dt].length&&R.complete()}));return()=>{he=ht=null}}):n.E}var Q=s(5619),q=s(5211),T=s(2181),ie=s(8180),_e=s(9397),Ce=s(7398),Ve=s(9360),ae=s(2737),pe=s(2420);function Ae(...w){const ge=(0,ee.jO)(w);return(0,Ve.e)((b,R)=>{const he=w.length,ht=new Array(he);let Dt=w.map(()=>!1),Sn=!1;for(let Ln=0;Ln<he;Ln++)(0,M.Xf)(w[Ln]).subscribe((0,S.x)(R,Yn=>{ht[Ln]=Yn,!Sn&&!Dt[Ln]&&(Dt[Ln]=!0,(Sn=Dt.every(ae.y))&&(Dt=null))},pe.Z));b.subscribe((0,S.x)(R,Ln=>{if(Sn){const Yn=[Ln,...ht];R.next(ge?ge(...Yn):Yn)}}))})}var Ze=s(5177),dt=s(1631),Fe=s(4664),we=(s(7921),s(3997),s(836),s(6814)),P=s(6223),V={left:"right",right:"left",bottom:"top",top:"bottom"};function Se(w){return w.replace(/left|right|bottom|top/g,function(ge){return V[ge]})}function G(w){return w.split("-")[0]}var be={start:"end",end:"start"};function de(w){return w.replace(/start|end/g,function(ge){return be[ge]})}var De="top",tt="bottom",Re="right",Ft="left",mt="auto",sn=[De,tt,Re,Ft],hn="start",Nn="end",cn="viewport",He="popper",Ne=sn.reduce(function(w,ge){return w.concat([ge+"-"+hn,ge+"-"+Nn])},[]),$=[].concat(sn,[mt]).reduce(function(w,ge){return w.concat([ge,ge+"-"+hn,ge+"-"+Nn])},[]),Bt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ue(w){if(null==w)return window;if("[object Window]"!==w.toString()){var ge=w.ownerDocument;return ge&&ge.defaultView||window}return w}function nt(w){return w instanceof Ue(w).Element||w instanceof Element}function Ye(w){return w instanceof Ue(w).HTMLElement||w instanceof HTMLElement}function zt(w){return!(typeof ShadowRoot>"u")&&(w instanceof Ue(w).ShadowRoot||w instanceof ShadowRoot)}function $t(w){return((nt(w)?w.ownerDocument:w.document)||window.document).documentElement}var Mn=Math.max,Wn=Math.min,di=Math.round;function Pt(){var w=navigator.userAgentData;return null!=w&&w.brands&&Array.isArray(w.brands)?w.brands.map(function(ge){return ge.brand+"/"+ge.version}).join(" "):navigator.userAgent}function Xt(){return!/^((?!chrome|android).)*safari/i.test(Pt())}function Le(w,ge,b){void 0===ge&&(ge=!1),void 0===b&&(b=!1);var R=w.getBoundingClientRect(),he=1,ht=1;ge&&Ye(w)&&(he=w.offsetWidth>0&&di(R.width)/w.offsetWidth||1,ht=w.offsetHeight>0&&di(R.height)/w.offsetHeight||1);var Sn=(nt(w)?Ue(w):window).visualViewport,Ln=!Xt()&&b,Yn=(R.left+(Ln&&Sn?Sn.offsetLeft:0))/he,ri=(R.top+(Ln&&Sn?Sn.offsetTop:0))/ht,Di=R.width/he,Oi=R.height/ht;return{width:Di,height:Oi,top:ri,right:Yn+Di,bottom:ri+Oi,left:Yn,x:Yn,y:ri}}function ue(w){var ge=Ue(w);return{scrollLeft:ge.pageXOffset,scrollTop:ge.pageYOffset}}function X(w){return Le($t(w)).left+ue(w).scrollLeft}function et(w){return Ue(w).getComputedStyle(w)}function F(w){return w?(w.nodeName||"").toLowerCase():null}function N(w){return"html"===F(w)?w:w.assignedSlot||w.parentNode||(zt(w)?w.host:null)||$t(w)}function k(w){var ge=et(w);return/auto|scroll|overlay|hidden/.test(ge.overflow+ge.overflowY+ge.overflowX)}function ne(w){return["html","body","#document"].indexOf(F(w))>=0?w.ownerDocument.body:Ye(w)&&k(w)?w:ne(N(w))}function z(w,ge){var b;void 0===ge&&(ge=[]);var R=ne(w),he=R===(null==(b=w.ownerDocument)?void 0:b.body),ht=Ue(R),Dt=he?[ht].concat(ht.visualViewport||[],k(R)?R:[]):R,Sn=ge.concat(Dt);return he?Sn:Sn.concat(z(N(Dt)))}function re(w){return["table","td","th"].indexOf(F(w))>=0}function B(w){return Ye(w)&&"fixed"!==et(w).position?w.offsetParent:null}function Qe(w){for(var ge=Ue(w),b=B(w);b&&re(b)&&"static"===et(b).position;)b=B(b);return b&&("html"===F(b)||"body"===F(b)&&"static"===et(b).position)?ge:b||function Y(w){var ge=/firefox/i.test(Pt());if(/Trident/i.test(Pt())&&Ye(w)&&"fixed"===et(w).position)return null;var he=N(w);for(zt(he)&&(he=he.host);Ye(he)&&["html","body"].indexOf(F(he))<0;){var ht=et(he);if("none"!==ht.transform||"none"!==ht.perspective||"paint"===ht.contain||-1!==["transform","perspective"].indexOf(ht.willChange)||ge&&"filter"===ht.willChange||ge&&ht.filter&&"none"!==ht.filter)return he;he=he.parentNode}return null}(w)||ge}function _t(w,ge){var b=ge.getRootNode&&ge.getRootNode();if(w.contains(ge))return!0;if(b&&zt(b)){var R=ge;do{if(R&&w.isSameNode(R))return!0;R=R.parentNode||R.host}while(R)}return!1}function Vt(w){return Object.assign({},w,{left:w.x,top:w.y,right:w.x+w.width,bottom:w.y+w.height})}function xn(w,ge,b){return ge===cn?Vt(function xe(w,ge){var b=Ue(w),R=$t(w),he=b.visualViewport,ht=R.clientWidth,Dt=R.clientHeight,Sn=0,Ln=0;if(he){ht=he.width,Dt=he.height;var Yn=Xt();(Yn||!Yn&&"fixed"===ge)&&(Sn=he.offsetLeft,Ln=he.offsetTop)}return{width:ht,height:Dt,x:Sn+X(w),y:Ln}}(w,b)):nt(ge)?function bn(w,ge){var b=Le(w,!1,"fixed"===ge);return b.top=b.top+w.clientTop,b.left=b.left+w.clientLeft,b.bottom=b.top+w.clientHeight,b.right=b.left+w.clientWidth,b.width=w.clientWidth,b.height=w.clientHeight,b.x=b.left,b.y=b.top,b}(ge,b):Vt(function j(w){var ge,b=$t(w),R=ue(w),he=null==(ge=w.ownerDocument)?void 0:ge.body,ht=Mn(b.scrollWidth,b.clientWidth,he?he.scrollWidth:0,he?he.clientWidth:0),Dt=Mn(b.scrollHeight,b.clientHeight,he?he.scrollHeight:0,he?he.clientHeight:0),Sn=-R.scrollLeft+X(w),Ln=-R.scrollTop;return"rtl"===et(he||b).direction&&(Sn+=Mn(b.clientWidth,he?he.clientWidth:0)-ht),{width:ht,height:Dt,x:Sn,y:Ln}}($t(w)))}function En(w){return w.split("-")[1]}function ye(w){return["top","bottom"].indexOf(w)>=0?"x":"y"}function It(w){var Ln,ge=w.reference,b=w.element,R=w.placement,he=R?G(R):null,ht=R?En(R):null,Dt=ge.x+ge.width/2-b.width/2,Sn=ge.y+ge.height/2-b.height/2;switch(he){case De:Ln={x:Dt,y:ge.y-b.height};break;case tt:Ln={x:Dt,y:ge.y+ge.height};break;case Re:Ln={x:ge.x+ge.width,y:Sn};break;case Ft:Ln={x:ge.x-b.width,y:Sn};break;default:Ln={x:ge.x,y:ge.y}}var Yn=he?ye(he):null;if(null!=Yn){var ri="y"===Yn?"height":"width";switch(ht){case hn:Ln[Yn]=Ln[Yn]-(ge[ri]/2-b[ri]/2);break;case Nn:Ln[Yn]=Ln[Yn]+(ge[ri]/2-b[ri]/2)}}return Ln}function wt(w){return Object.assign({},{top:0,right:0,bottom:0,left:0},w)}function $n(w,ge){return ge.reduce(function(b,R){return b[R]=w,b},{})}function pn(w,ge){void 0===ge&&(ge={});var R=ge.placement,he=void 0===R?w.placement:R,ht=ge.strategy,Dt=void 0===ht?w.strategy:ht,Sn=ge.boundary,Ln=void 0===Sn?"clippingParents":Sn,Yn=ge.rootBoundary,ri=void 0===Yn?cn:Yn,Di=ge.elementContext,Oi=void 0===Di?He:Di,Ni=ge.altBoundary,Io=void 0!==Ni&&Ni,go=ge.padding,Bo=void 0===go?0:go,er=wt("number"!=typeof Bo?Bo:$n(Bo,sn)),Lr=w.rects.popper,Uo=w.elements[Io?Oi===He?"reference":He:Oi],jo=function Ot(w,ge,b,R){var he="clippingParents"===ge?function Fn(w){var ge=z(N(w)),R=["absolute","fixed"].indexOf(et(w).position)>=0&&Ye(w)?Qe(w):w;return nt(R)?ge.filter(function(he){return nt(he)&&_t(he,R)&&"body"!==F(he)}):[]}(w):[].concat(ge),ht=[].concat(he,[b]),Sn=ht.reduce(function(Ln,Yn){var ri=xn(w,Yn,R);return Ln.top=Mn(ri.top,Ln.top),Ln.right=Wn(ri.right,Ln.right),Ln.bottom=Wn(ri.bottom,Ln.bottom),Ln.left=Mn(ri.left,Ln.left),Ln},xn(w,ht[0],R));return Sn.width=Sn.right-Sn.left,Sn.height=Sn.bottom-Sn.top,Sn.x=Sn.left,Sn.y=Sn.top,Sn}(nt(Uo)?Uo:Uo.contextElement||$t(w.elements.popper),Ln,ri,Dt),Xo=Le(w.elements.reference),wr=It({reference:Xo,element:Lr,strategy:"absolute",placement:he}),Tr=Vt(Object.assign({},Lr,wr)),ia=Oi===He?Tr:Xo,Zr={top:jo.top-ia.top+er.top,bottom:ia.bottom-jo.bottom+er.bottom,left:jo.left-ia.left+er.left,right:ia.right-jo.right+er.right},ga=w.modifiersData.offset;if(Oi===He&&ga){var Za=ga[he];Object.keys(Zr).forEach(function(ba){var ls=[Re,tt].indexOf(ba)>=0?1:-1,qa=[De,tt].indexOf(ba)>=0?"y":"x";Zr[ba]+=Za[qa]*ls})}return Zr}const Wt={name:"flip",enabled:!0,phase:"main",fn:function nn(w){var ge=w.state,b=w.options,R=w.name;if(!ge.modifiersData[R]._skip){for(var he=b.mainAxis,ht=void 0===he||he,Dt=b.altAxis,Sn=void 0===Dt||Dt,Ln=b.fallbackPlacements,Yn=b.padding,ri=b.boundary,Di=b.rootBoundary,Oi=b.altBoundary,Ni=b.flipVariations,Io=void 0===Ni||Ni,go=b.allowedAutoPlacements,Bo=ge.options.placement,er=G(Bo),Lr=Ln||(er!==Bo&&Io?function Ct(w){if(G(w)===mt)return[];var ge=Se(w);return[de(w),ge,de(ge)]}(Bo):[Se(Bo)]),Uo=[Bo].concat(Lr).reduce(function(ul,_s){return ul.concat(G(_s)===mt?function Vn(w,ge){void 0===ge&&(ge={});var he=ge.boundary,ht=ge.rootBoundary,Dt=ge.padding,Sn=ge.flipVariations,Ln=ge.allowedAutoPlacements,Yn=void 0===Ln?$:Ln,ri=En(ge.placement),Di=ri?Sn?Ne:Ne.filter(function(Io){return En(Io)===ri}):sn,Oi=Di.filter(function(Io){return Yn.indexOf(Io)>=0});0===Oi.length&&(Oi=Di);var Ni=Oi.reduce(function(Io,go){return Io[go]=pn(w,{placement:go,boundary:he,rootBoundary:ht,padding:Dt})[G(go)],Io},{});return Object.keys(Ni).sort(function(Io,go){return Ni[Io]-Ni[go]})}(ge,{placement:_s,boundary:ri,rootBoundary:Di,padding:Yn,flipVariations:Io,allowedAutoPlacements:go}):_s)},[]),jo=ge.rects.reference,Xo=ge.rects.popper,wr=new Map,Tr=!0,ia=Uo[0],Zr=0;Zr<Uo.length;Zr++){var ga=Uo[Zr],Za=G(ga),ba=En(ga)===hn,ls=[De,tt].indexOf(Za)>=0,qa=ls?"width":"height",va=pn(ge,{placement:ga,boundary:ri,rootBoundary:Di,altBoundary:Oi,padding:Yn}),Ka=ls?ba?Re:Ft:ba?tt:De;jo[qa]>Xo[qa]&&(Ka=Se(Ka));var kc=Se(Ka),js=[];if(ht&&js.push(va[Za]<=0),Sn&&js.push(va[Ka]<=0,va[kc]<=0),js.every(function(ul){return ul})){ia=ga,Tr=!1;break}wr.set(ga,js)}if(Tr)for(var Vl=function(_s){var Ql=Uo.find(function(Ec){var $r=wr.get(Ec);if($r)return $r.slice(0,_s).every(function(jl){return jl})});if(Ql)return ia=Ql,"break"},zl=Io?3:1;zl>0&&"break"!==Vl(zl);zl--);ge.placement!==ia&&(ge.modifiersData[R]._skip=!0,ge.placement=ia,ge.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Un(w,ge,b){return Mn(w,Wn(ge,b))}function ui(w){var ge=Le(w),b=w.offsetWidth,R=w.offsetHeight;return Math.abs(ge.width-b)<=1&&(b=ge.width),Math.abs(ge.height-R)<=1&&(R=ge.height),{x:w.offsetLeft,y:w.offsetTop,width:b,height:R}}const hi={name:"preventOverflow",enabled:!0,phase:"main",fn:function Ai(w){var ge=w.state,b=w.options,R=w.name,he=b.mainAxis,ht=void 0===he||he,Dt=b.altAxis,Sn=void 0!==Dt&&Dt,Oi=b.tether,Ni=void 0===Oi||Oi,Io=b.tetherOffset,go=void 0===Io?0:Io,Bo=pn(ge,{boundary:b.boundary,rootBoundary:b.rootBoundary,padding:b.padding,altBoundary:b.altBoundary}),er=G(ge.placement),Qo=En(ge.placement),Lr=!Qo,Uo=ye(er),jo=function Pn(w){return"x"===w?"y":"x"}(Uo),Xo=ge.modifiersData.popperOffsets,wr=ge.rects.reference,Tr=ge.rects.popper,ia="function"==typeof go?go(Object.assign({},ge.rects,{placement:ge.placement})):go,Zr="number"==typeof ia?{mainAxis:ia,altAxis:ia}:Object.assign({mainAxis:0,altAxis:0},ia),ga=ge.modifiersData.offset?ge.modifiersData.offset[ge.placement]:null,Za={x:0,y:0};if(Xo){if(ht){var ba,ls="y"===Uo?De:Ft,qa="y"===Uo?tt:Re,va="y"===Uo?"height":"width",Ka=Xo[Uo],kc=Ka+Bo[ls],js=Ka-Bo[qa],Jl=Ni?-Tr[va]/2:0,Vl=Qo===hn?wr[va]:Tr[va],zl=Qo===hn?-Tr[va]:-wr[va],Sc=ge.elements.arrow,ul=Ni&&Sc?ui(Sc):{width:0,height:0},_s=ge.modifiersData["arrow#persistent"]?ge.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Ql=_s[ls],Ec=_s[qa],$r=Un(0,wr[va],ul[va]),jl=Lr?wr[va]/2-Jl-$r-Ql-Zr.mainAxis:Vl-$r-Ql-Zr.mainAxis,tu=Lr?-wr[va]/2+Jl+$r+Ec+Zr.mainAxis:zl+$r+Ec+Zr.mainAxis,Yl=ge.elements.arrow&&Qe(ge.elements.arrow),Yr=Yl?"y"===Uo?Yl.clientTop||0:Yl.clientLeft||0:0,Ys=null!=(ba=ga?.[Uo])?ba:0,iu=Ka+tu-Ys,Oc=Un(Ni?Wn(kc,Ka+jl-Ys-Yr):kc,Ka,Ni?Mn(js,iu):js);Xo[Uo]=Oc,Za[Uo]=Oc-Ka}if(Sn){var v,Oe=Xo[jo],ot="y"===jo?"height":"width",qn=Oe+Bo["x"===Uo?De:Ft],Ro=Oe-Bo["x"===Uo?tt:Re],mr=-1!==[De,Ft].indexOf(er),Ar=null!=(v=ga?.[jo])?v:0,rr=mr?qn:Oe-wr[ot]-Tr[ot]-Ar+Zr.altAxis,Wr=mr?Oe+wr[ot]+Tr[ot]-Ar-Zr.altAxis:Ro,cs=Ni&&mr?function jn(w,ge,b){var R=Un(w,ge,b);return R>b?b:R}(rr,Oe,Wr):Un(Ni?rr:qn,Oe,Ni?Wr:Ro);Xo[jo]=cs,Za[jo]=cs-Oe}ge.modifiersData[R]=Za}},requiresIfExists:["offset"]},Bi={name:"arrow",enabled:!0,phase:"main",fn:function ao(w){var ge,b=w.state,R=w.name,he=w.options,ht=b.elements.arrow,Dt=b.modifiersData.popperOffsets,Sn=G(b.placement),Ln=ye(Sn),ri=[Ft,Re].indexOf(Sn)>=0?"height":"width";if(ht&&Dt){var Di=function(ge,b){return wt("number"!=typeof(ge="function"==typeof ge?ge(Object.assign({},b.rects,{placement:b.placement})):ge)?ge:$n(ge,sn))}(he.padding,b),Oi=ui(ht),Ni="y"===Ln?De:Ft,Io="y"===Ln?tt:Re,go=b.rects.reference[ri]+b.rects.reference[Ln]-Dt[Ln]-b.rects.popper[ri],Bo=Dt[Ln]-b.rects.reference[Ln],er=Qe(ht),Qo=er?"y"===Ln?er.clientHeight||0:er.clientWidth||0:0,Xo=Qo/2-Oi[ri]/2+(go/2-Bo/2),wr=Un(Di[Ni],Xo,Qo-Oi[ri]-Di[Io]);b.modifiersData[R]=((ge={})[Ln]=wr,ge.centerOffset=wr-Xo,ge)}},effect:function xi(w){var ge=w.state,R=w.options.element,he=void 0===R?"[data-popper-arrow]":R;null!=he&&("string"==typeof he&&!(he=ge.elements.popper.querySelector(he))||_t(ge.elements.popper,he)&&(ge.elements.arrow=he))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mi(w,ge,b){void 0===b&&(b=!1);var R=Ye(ge),he=Ye(ge)&&function On(w){var ge=w.getBoundingClientRect(),b=di(ge.width)/w.offsetWidth||1,R=di(ge.height)/w.offsetHeight||1;return 1!==b||1!==R}(ge),ht=$t(ge),Dt=Le(w,he,b),Sn={scrollLeft:0,scrollTop:0},Ln={x:0,y:0};return(R||!R&&!b)&&(("body"!==F(ge)||k(ht))&&(Sn=function Qi(w){return w!==Ue(w)&&Ye(w)?function bo(w){return{scrollLeft:w.scrollLeft,scrollTop:w.scrollTop}}(w):ue(w)}(ge)),Ye(ge)?((Ln=Le(ge,!0)).x+=ge.clientLeft,Ln.y+=ge.clientTop):ht&&(Ln.x=X(ht))),{x:Dt.left+Sn.scrollLeft-Ln.x,y:Dt.top+Sn.scrollTop-Ln.y,width:Dt.width,height:Dt.height}}function Rt(w){var ge=new Map,b=new Set,R=[];function he(ht){b.add(ht.name),[].concat(ht.requires||[],ht.requiresIfExists||[]).forEach(function(Sn){if(!b.has(Sn)){var Ln=ge.get(Sn);Ln&&he(Ln)}}),R.push(ht)}return w.forEach(function(ht){ge.set(ht.name,ht)}),w.forEach(function(ht){b.has(ht.name)||he(ht)}),R}function ze(w){var ge;return function(){return ge||(ge=new Promise(function(b){Promise.resolve().then(function(){ge=void 0,b(w())})})),ge}}var st={placement:"bottom",modifiers:[],strategy:"absolute"};function Zt(){for(var w=arguments.length,ge=new Array(w),b=0;b<w;b++)ge[b]=arguments[b];return!ge.some(function(R){return!(R&&"function"==typeof R.getBoundingClientRect)})}function an(w){void 0===w&&(w={});var b=w.defaultModifiers,R=void 0===b?[]:b,he=w.defaultOptions,ht=void 0===he?st:he;return function(Sn,Ln,Yn){void 0===Yn&&(Yn=ht);var ri={placement:"bottom",orderedModifiers:[],options:Object.assign({},st,ht),modifiersData:{},elements:{reference:Sn,popper:Ln},attributes:{},styles:{}},Di=[],Oi=!1,Ni={state:ri,setOptions:function(er){var Qo="function"==typeof er?er(ri.options):er;go(),ri.options=Object.assign({},ht,ri.options,Qo),ri.scrollParents={reference:nt(Sn)?z(Sn):Sn.contextElement?z(Sn.contextElement):[],popper:z(Ln)};var Lr=function on(w){var ge=Rt(w);return Bt.reduce(function(b,R){return b.concat(ge.filter(function(he){return he.phase===R}))},[])}(function en(w){var ge=w.reduce(function(b,R){var he=b[R.name];return b[R.name]=he?Object.assign({},he,R,{options:Object.assign({},he.options,R.options),data:Object.assign({},he.data,R.data)}):R,b},{});return Object.keys(ge).map(function(b){return ge[b]})}([].concat(R,ri.options.modifiers)));return ri.orderedModifiers=Lr.filter(function(Uo){return Uo.enabled}),function Io(){ri.orderedModifiers.forEach(function(Bo){var Qo=Bo.options,Uo=Bo.effect;if("function"==typeof Uo){var jo=Uo({state:ri,name:Bo.name,instance:Ni,options:void 0===Qo?{}:Qo});Di.push(jo||function(){})}})}(),Ni.update()},forceUpdate:function(){if(!Oi){var er=ri.elements,Qo=er.reference,Lr=er.popper;if(Zt(Qo,Lr)){ri.rects={reference:mi(Qo,Qe(Lr),"fixed"===ri.options.strategy),popper:ui(Lr)},ri.reset=!1,ri.placement=ri.options.placement,ri.orderedModifiers.forEach(function(Zr){return ri.modifiersData[Zr.name]=Object.assign({},Zr.data)});for(var Uo=0;Uo<ri.orderedModifiers.length;Uo++)if(!0!==ri.reset){var jo=ri.orderedModifiers[Uo],Xo=jo.fn,wr=jo.options;"function"==typeof Xo&&(ri=Xo({state:ri,options:void 0===wr?{}:wr,name:jo.name,instance:Ni})||ri)}else ri.reset=!1,Uo=-1}}},update:ze(function(){return new Promise(function(Bo){Ni.forceUpdate(),Bo(ri)})}),destroy:function(){go(),Oi=!0}};if(!Zt(Sn,Ln))return Ni;function go(){Di.forEach(function(Bo){return Bo()}),Di=[]}return Ni.setOptions(Yn).then(function(Bo){!Oi&&Yn.onFirstUpdate&&Yn.onFirstUpdate(Bo)}),Ni}}var fi={passive:!0},Yo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tr(w){var ge,b=w.popper,R=w.popperRect,he=w.placement,ht=w.variation,Dt=w.offsets,Sn=w.position,Ln=w.gpuAcceleration,Yn=w.adaptive,ri=w.roundOffsets,Di=w.isFixed,Oi=Dt.x,Ni=void 0===Oi?0:Oi,Io=Dt.y,go=void 0===Io?0:Io,Bo="function"==typeof ri?ri({x:Ni,y:go}):{x:Ni,y:go};Ni=Bo.x,go=Bo.y;var er=Dt.hasOwnProperty("x"),Qo=Dt.hasOwnProperty("y"),Lr=Ft,Uo=De,jo=window;if(Yn){var Xo=Qe(b),wr="clientHeight",Tr="clientWidth";Xo===Ue(b)&&"static"!==et(Xo=$t(b)).position&&"absolute"===Sn&&(wr="scrollHeight",Tr="scrollWidth"),(he===De||(he===Ft||he===Re)&&ht===Nn)&&(Uo=tt,go-=(Di&&Xo===jo&&jo.visualViewport?jo.visualViewport.height:Xo[wr])-R.height,go*=Ln?1:-1),he!==Ft&&(he!==De&&he!==tt||ht!==Nn)||(Lr=Re,Ni-=(Di&&Xo===jo&&jo.visualViewport?jo.visualViewport.width:Xo[Tr])-R.width,Ni*=Ln?1:-1)}var ba,ga=Object.assign({position:Sn},Yn&&Yo),Za=!0===ri?function $o(w,ge){var R=w.y,he=ge.devicePixelRatio||1;return{x:di(w.x*he)/he||0,y:di(R*he)/he||0}}({x:Ni,y:go},Ue(b)):{x:Ni,y:go};return Ni=Za.x,go=Za.y,Object.assign({},ga,Ln?((ba={})[Uo]=Qo?"0":"",ba[Lr]=er?"0":"",ba.transform=(jo.devicePixelRatio||1)<=1?"translate("+Ni+"px, "+go+"px)":"translate3d("+Ni+"px, "+go+"px, 0)",ba):((ge={})[Uo]=Qo?go+"px":"",ge[Lr]=er?Ni+"px":"",ge.transform="",ge))}var ln=an({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function Ui(w){var ge=w.state,b=w.instance,R=w.options,he=R.scroll,ht=void 0===he||he,Dt=R.resize,Sn=void 0===Dt||Dt,Ln=Ue(ge.elements.popper),Yn=[].concat(ge.scrollParents.reference,ge.scrollParents.popper);return ht&&Yn.forEach(function(ri){ri.addEventListener("scroll",b.update,fi)}),Sn&&Ln.addEventListener("resize",b.update,fi),function(){ht&&Yn.forEach(function(ri){ri.removeEventListener("scroll",b.update,fi)}),Sn&&Ln.removeEventListener("resize",b.update,fi)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function Lo(w){var ge=w.state;ge.modifiersData[w.name]=It({reference:ge.rects.reference,element:ge.rects.popper,strategy:"absolute",placement:ge.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function Mr(w){var ge=w.state,b=w.options,R=b.gpuAcceleration,he=void 0===R||R,ht=b.adaptive,Dt=void 0===ht||ht,Sn=b.roundOffsets,Ln=void 0===Sn||Sn,Yn={placement:G(ge.placement),variation:En(ge.placement),popper:ge.elements.popper,popperRect:ge.rects.popper,gpuAcceleration:he,isFixed:"fixed"===ge.options.strategy};null!=ge.modifiersData.popperOffsets&&(ge.styles.popper=Object.assign({},ge.styles.popper,tr(Object.assign({},Yn,{offsets:ge.modifiersData.popperOffsets,position:ge.options.strategy,adaptive:Dt,roundOffsets:Ln})))),null!=ge.modifiersData.arrow&&(ge.styles.arrow=Object.assign({},ge.styles.arrow,tr(Object.assign({},Yn,{offsets:ge.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Ln})))),ge.attributes.popper=Object.assign({},ge.attributes.popper,{"data-popper-placement":ge.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function dr(w){var ge=w.state;Object.keys(ge.elements).forEach(function(b){var R=ge.styles[b]||{},he=ge.attributes[b]||{},ht=ge.elements[b];!Ye(ht)||!F(ht)||(Object.assign(ht.style,R),Object.keys(he).forEach(function(Dt){var Sn=he[Dt];!1===Sn?ht.removeAttribute(Dt):ht.setAttribute(Dt,!0===Sn?"":Sn)}))})},effect:function qr(w){var ge=w.state,b={popper:{position:ge.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(ge.elements.popper.style,b.popper),ge.styles=b,ge.elements.arrow&&Object.assign(ge.elements.arrow.style,b.arrow),function(){Object.keys(ge.elements).forEach(function(R){var he=ge.elements[R],ht=ge.attributes[R]||{},Sn=Object.keys(ge.styles.hasOwnProperty(R)?ge.styles[R]:b[R]).reduce(function(Ln,Yn){return Ln[Yn]="",Ln},{});!Ye(he)||!F(he)||(Object.assign(he.style,Sn),Object.keys(ht).forEach(function(Ln){he.removeAttribute(Ln)}))})}},requires:["computeStyles"]}]});const ct={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function me(w){var ge=w.state,R=w.name,he=w.options.offset,ht=void 0===he?[0,0]:he,Dt=$.reduce(function(ri,Di){return ri[Di]=function Ci(w,ge,b){var R=G(w),he=[Ft,De].indexOf(R)>=0?-1:1,ht="function"==typeof b?b(Object.assign({},ge,{placement:w})):b,Dt=ht[0],Sn=ht[1];return Dt=Dt||0,Sn=(Sn||0)*he,[Ft,Re].indexOf(R)>=0?{x:Sn,y:Dt}:{x:Dt,y:Sn}}(Di,ge.rects,ht),ri},{}),Sn=Dt[ge.placement],Yn=Sn.y;null!=ge.modifiersData.popperOffsets&&(ge.modifiersData.popperOffsets.x+=Sn.x,ge.modifiersData.popperOffsets.y+=Yn),ge.modifiersData[R]=Dt}},Yt=["*"],yi=["dialog"];function br(w,ge){1&w&&(t.TgZ(0,"span",9),t.SDv(1,10),t.qZA())}function Xr(w,ge){1&w&&(t.TgZ(0,"span",9),t.SDv(1,11),t.qZA())}function Ir(w,ge){1&w&&(t.TgZ(0,"span",9),t.SDv(1,12),t.qZA())}function vo(w,ge){1&w&&(t.TgZ(0,"span",9),t.SDv(1,13),t.qZA())}function ei(w,ge){1&w&&t._uU(0,"...")}function eo(w,ge){1&w&&t._uU(0),2&w&&t.Oqu(ge.$implicit)}function yo(w,ge){}const Fr=w=>({disabled:!0,currentPage:w});function Cr(w,ge){if(1&w&&(t.TgZ(0,"a",16),t.YNc(1,yo,0,0,"ng-template",8),t.qZA()),2&w){const b=t.oxw(2).$implicit,R=t.oxw(),he=t.MAs(9);t.xp6(),t.Q6J("ngTemplateOutlet",(null==R.tplEllipsis?null:R.tplEllipsis.templateRef)||he)("ngTemplateOutletContext",t.VKq(2,Fr,b))}}function ut(w,ge){}const xt=(w,ge,b)=>({disabled:w,$implicit:ge,currentPage:b});function qe(w,ge){if(1&w){const b=t.EpF();t.TgZ(0,"a",17),t.NdJ("click",function(he){t.CHM(b);const ht=t.oxw().$implicit;return t.oxw(2).selectPage(ht),t.KtG(he.preventDefault())}),t.YNc(1,ut,0,0,"ng-template",8),t.qZA()}if(2&w){const b=t.oxw().$implicit,R=t.oxw(),he=R.disabled,ht=R.$implicit,Dt=t.oxw(),Sn=t.MAs(11);t.uIk("tabindex",he?"-1":null)("aria-disabled",he?"true":null),t.xp6(),t.Q6J("ngTemplateOutlet",(null==Dt.tplNumber?null:Dt.tplNumber.templateRef)||Sn)("ngTemplateOutletContext",t.kEZ(4,xt,he,b,ht))}}function Ht(w,ge){if(1&w&&(t.TgZ(0,"li",14),t.YNc(1,Cr,2,4,"a",15)(2,qe,2,8),t.qZA()),2&w){const b=ge.$implicit,R=t.oxw(),he=R.$implicit,ht=R.disabled,Dt=t.oxw();t.ekj("active",b===he)("disabled",Dt.isEllipsis(b)||ht),t.uIk("aria-current",b===he?"page":null),t.xp6(),t.um2(1,Dt.isEllipsis(b)?1:2)}}function Cn(w,ge){1&w&&t.SjG(0,Ht,3,6,"li",18,t.x6l),2&w&&t.wJu(ge.pages)}function li(w,ge){}const At=(w,ge)=>({disabled:w,currentPage:ge});function Si(w,ge){if(1&w){const b=t.EpF();t.TgZ(0,"li",14)(1,"a",19),t.NdJ("click",function(he){return t.CHM(b),t.oxw().selectPage(1),t.KtG(he.preventDefault())}),t.YNc(2,li,0,0,"ng-template",8),t.qZA()()}if(2&w){const b=t.oxw(),R=t.MAs(1);t.ekj("disabled",b.previousDisabled()),t.xp6(),t.uIk("tabindex",b.previousDisabled()?"-1":null)("aria-disabled",b.previousDisabled()?"true":null),t.xp6(),t.Q6J("ngTemplateOutlet",(null==b.tplFirst?null:b.tplFirst.templateRef)||R)("ngTemplateOutletContext",t.WLB(6,At,b.previousDisabled(),b.page))}}function Gi(w,ge){}const Or=w=>({disabled:w});function Vr(w,ge){if(1&w){const b=t.EpF();t.TgZ(0,"li",14)(1,"a",20),t.NdJ("click",function(he){t.CHM(b);const ht=t.oxw();return ht.selectPage(ht.page-1),t.KtG(he.preventDefault())}),t.YNc(2,Gi,0,0,"ng-template",8),t.qZA()()}if(2&w){const b=t.oxw(),R=t.MAs(3);t.ekj("disabled",b.previousDisabled()),t.xp6(),t.uIk("tabindex",b.previousDisabled()?"-1":null)("aria-disabled",b.previousDisabled()?"true":null),t.xp6(),t.Q6J("ngTemplateOutlet",(null==b.tplPrevious?null:b.tplPrevious.templateRef)||R)("ngTemplateOutletContext",t.VKq(6,Or,b.previousDisabled()))}}function qo(w,ge){}function To(w,ge){}function Ii(w,ge){if(1&w){const b=t.EpF();t.TgZ(0,"li",14)(1,"a",21),t.NdJ("click",function(he){t.CHM(b);const ht=t.oxw();return ht.selectPage(ht.page+1),t.KtG(he.preventDefault())}),t.YNc(2,To,0,0,"ng-template",8),t.qZA()()}if(2&w){const b=t.oxw(),R=t.MAs(5);t.ekj("disabled",b.nextDisabled()),t.xp6(),t.uIk("tabindex",b.nextDisabled()?"-1":null)("aria-disabled",b.nextDisabled()?"true":null),t.xp6(),t.Q6J("ngTemplateOutlet",(null==b.tplNext?null:b.tplNext.templateRef)||R)("ngTemplateOutletContext",t.WLB(6,At,b.nextDisabled(),b.page))}}function no(w,ge){}function ea(w,ge){if(1&w){const b=t.EpF();t.TgZ(0,"li",14)(1,"a",22),t.NdJ("click",function(he){t.CHM(b);const ht=t.oxw();return ht.selectPage(ht.pageCount),t.KtG(he.preventDefault())}),t.YNc(2,no,0,0,"ng-template",8),t.qZA()()}if(2&w){const b=t.oxw(),R=t.MAs(7);t.ekj("disabled",b.nextDisabled()),t.xp6(),t.uIk("tabindex",b.nextDisabled()?"-1":null)("aria-disabled",b.nextDisabled()?"true":null),t.xp6(),t.Q6J("ngTemplateOutlet",(null==b.tplLast?null:b.tplLast.templateRef)||R)("ngTemplateOutletContext",t.WLB(6,At,b.nextDisabled(),b.page))}}const uo=(w,ge,b)=>({$implicit:w,pages:ge,disabled:b});function Jn(w,ge){if(1&w&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&w){const b=t.oxw().$implicit,R=t.oxw();t.Tol(R.highlightClass),t.xp6(),t.Oqu(b)}}function ti(w,ge){if(1&w&&(t.ynx(0),t._uU(1),t.BQk()),2&w){const b=t.oxw().$implicit;t.xp6(),t.Oqu(b)}}function Mi(w,ge){1&w&&t.YNc(0,Jn,2,4,"span",0)(1,ti,2,1),2&w&&t.um2(0,ge.$index%2!=0?0:1)}function Ri(w,ge){if(1&w&&t._UZ(0,"ngb-highlight",1),2&w){const R=ge.term;t.Q6J("result",(0,ge.formatter)(ge.result))("term",R)}}function zi(w,ge){}const Ei=(w,ge,b)=>({result:w,term:ge,formatter:b});function Po(w,ge){if(1&w){const b=t.EpF();t.TgZ(0,"button",2),t.NdJ("mouseenter",function(){const ht=t.CHM(b).$index,Dt=t.oxw();return t.KtG(Dt.markActive(ht))})("click",function(){const ht=t.CHM(b).$implicit,Dt=t.oxw();return t.KtG(Dt.select(ht))}),t.YNc(1,zi,0,0,"ng-template",3),t.qZA()}if(2&w){const b=ge.$implicit,R=ge.$index,he=t.oxw(),ht=t.MAs(1);t.ekj("active",R===he.activeIdx),t.Q6J("id",he.id+"-"+R),t.xp6(),t.Q6J("ngTemplateOutlet",he.resultTemplate||ht)("ngTemplateOutletContext",t.kEZ(5,Ei,b,he.term,he.formatter))}}const oo={animation:!0,transitionTimerDelayMs:5};let lo=(()=>{class w{constructor(){this.animation=oo.animation}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();function kr(w){return null!=w?`${w}`:""}function Wo(w){return"string"==typeof w}function Te(w){return!isNaN(function ro(w){return parseInt(`${w}`,10)}(w))}function We(w){return null!=w}function bi(w){return(w||document.body).getBoundingClientRect()}function po(w){return w.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Jo(w=document){const ge=w?.activeElement;return ge?ge.shadowRoot?Jo(ge.shadowRoot):ge:null}const xo=()=>{},{transitionTimerDelayMs:sr}=oo,zo=new Map,ir=(w,ge,b,R)=>{let he=R.context||{};const ht=zo.get(ge);if(ht)switch(R.runningTransition){case"continue":return n.E;case"stop":w.run(()=>ht.transition$.complete()),he=Object.assign(ht.context,he),zo.delete(ge)}const Dt=b(ge,R.animation,he)||xo;if(!R.animation||"none"===window.getComputedStyle(ge).transitionProperty)return w.run(()=>Dt()),(0,I.of)(void 0).pipe(function Go(w){return ge=>new u.y(b=>ge.subscribe({next:Dt=>w.run(()=>b.next(Dt)),error:Dt=>w.run(()=>b.error(Dt)),complete:()=>w.run(()=>b.complete())}))}(w));const Sn=new L.x,Ln=new L.x,Yn=Sn.pipe(function H(...w){return ge=>(0,q.z)(ge,(0,I.of)(...w))}(!0));zo.set(ge,{transition$:Sn,complete:()=>{Ln.next(),Ln.complete()},context:he});const ri=function to(w){const{transitionDelay:ge,transitionDuration:b}=window.getComputedStyle(w);return 1e3*(parseFloat(ge)+parseFloat(b))}(ge);return w.runOutsideAngular(()=>{const Di=(0,y.R)(ge,"transitionend").pipe((0,e.R)(Yn),(0,T.h)(({target:Ni})=>Ni===ge));Z((0,O.H)(ri+sr).pipe((0,e.R)(Yn)),Di,Ln).pipe((0,e.R)(Yn)).subscribe(()=>{zo.delete(ge),w.run(()=>{Dt(),Sn.next(),Sn.complete()})})}),Sn.asObservable()},Xa=(w,ge,b)=>{let{direction:R,maxSize:he,dimension:ht}=b;const{classList:Dt}=w;function Sn(){Dt.add("collapse"),"show"===R?Dt.add("show"):Dt.remove("show")}if(ge)return he||(he=function Qr(w,ge){if(typeof navigator>"u")return"0px";const{classList:b}=w,R=b.contains("show");R||b.add("show"),w.style[ge]="";const he=w.getBoundingClientRect()[ge]+"px";return R||b.remove("show"),he}(w,ht),b.maxSize=he,w.style[ht]="show"!==R?he:"0px",Dt.remove("collapse"),Dt.remove("collapsing"),Dt.remove("show"),bi(w),Dt.add("collapsing")),w.style[ht]="show"===R?he:"0px",()=>{Sn(),Dt.remove("collapsing"),w.style[ht]=""};Sn()};let Ra=(()=>{class w{constructor(){this._ngbConfig=(0,t.f3M)(lo),this.horizontal=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(b){this._animation=b}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),sa=(()=>{class w{constructor(){this._config=(0,t.f3M)(Ra),this._element=(0,t.f3M)(t.SBq),this._zone=(0,t.f3M)(t.R0b),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new t.vpe,this.horizontal=this._config.horizontal,this.shown=new t.vpe,this.hidden=new t.vpe}set collapsed(b){this._isCollapsed!==b&&(this._isCollapsed=b,this._afterInit&&this._runTransitionWithEvents(b,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(b=this._isCollapsed){this.collapsed=!b,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(b,R){return ir(this._zone,this._element.nativeElement,Xa,{animation:R,runningTransition:"stop",context:{direction:b?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(b,R){this._runTransition(b,R).subscribe(()=>{b?this.hidden.emit():this.shown.emit()})}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(R,he){2&R&&t.ekj("collapse-horizontal",he.horizontal)},inputs:{animation:"animation",collapsed:[t.lbL.None,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0})}return w})(),gl=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Ic=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),vl=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Fc=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})();var Do=function(w){return w[w.Tab=9]="Tab",w[w.Enter=13]="Enter",w[w.Escape=27]="Escape",w[w.Space=32]="Space",w[w.PageUp=33]="PageUp",w[w.PageDown=34]="PageDown",w[w.End=35]="End",w[w.Home=36]="Home",w[w.ArrowLeft=37]="ArrowLeft",w[w.ArrowUp=38]="ArrowUp",w[w.ArrowRight=39]="ArrowRight",w[w.ArrowDown=40]="ArrowDown",w}(Do||{});const Je=(w,ge)=>!!ge&&ge.some(b=>b.contains(w)),gt=(w,ge)=>!ge||null!=function ci(w,ge){return!ge||typeof w.closest>"u"?null:w.closest(ge)}(w,ge),Gt=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Qn(w,ge,b,R,he,ht,Dt,Sn){b&&w.runOutsideAngular((w=>Gt?()=>setTimeout(()=>w(),100):w)(()=>{const Yn=(0,y.R)(ge,"keydown").pipe((0,e.R)(he),(0,T.h)(Oi=>Oi.which===Do.Escape),(0,_e.b)(Oi=>Oi.preventDefault())),ri=(0,y.R)(ge,"mousedown").pipe((0,Ce.U)(Oi=>{const Ni=Oi.target;return 2!==Oi.button&&!Je(Ni,Dt)&&("inside"===b?Je(Ni,ht)&&gt(Ni,Sn):"outside"===b?!Je(Ni,ht):gt(Ni,Sn)||!Je(Ni,ht))}),(0,e.R)(he)),Di=(0,y.R)(ge,"mouseup").pipe(Ae(ri),(0,T.h)(([Oi,Ni])=>Ni),(0,Ze.g)(0),(0,e.R)(he));Z([Yn.pipe((0,Ce.U)(Oi=>0)),Di.pipe((0,Ce.U)(Oi=>1))]).subscribe(Oi=>w.run(()=>R(Oi)))}))}const Hn=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Ti(w){const ge=Array.from(w.querySelectorAll(Hn)).filter(b=>-1!==b.tabIndex);return[ge[0],ge[ge.length-1]]}let wo=(()=>{class w{constructor(){this._element=(0,t.f3M)(we.K0).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();const yr=/\s+/,la=/  +/gi,fs={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Us=/^left/,rs=/^right/,yd=/^start/,xd=/^end/;function lc({placement:w,baseClass:ge},b){let R=Array.isArray(w)?w:w.split(yr),ht=R.findIndex(Yn=>"auto"===Yn);ht>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(Yn){null==R.find(ri=>-1!==ri.search("^"+Yn))&&R.splice(ht++,1,Yn)});const Dt=R.map(Yn=>function pa(w,ge){const[b,R]=fs[w];return ge&&R||b}(Yn,b.isRTL()));return{placement:Dt.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!ge,phase:"write",fn({state:Yn}){const ri=new RegExp(ge+"(-[a-z]+)*","gi"),Di=Yn.elements.popper,Oi=Yn.placement;let Ni=Di.className;Ni=Ni.replace(ri,""),Ni+=` ${function Cd(w,ge){let[b,R]=ge.split("-");const he=b.replace(Us,"start").replace(rs,"end");let ht=[he];if(R){let Dt=R;("left"===b||"right"===b)&&(Dt=Dt.replace(yd,"top").replace(xd,"bottom")),ht.push(`${he}-${Dt}`)}return w&&(ht=ht.map(Dt=>`${w}-${Dt}`)),ht.join(" ")}(ge,Oi)}`,Ni=Ni.trim().replace(la," "),Di.className=Ni}},Wt,hi,Bi,{enabled:!0,name:"flip",options:{fallbackPlacements:Dt}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function wd(w){return w}function ca(){const w=(0,t.f3M)(wo);let ge=null;return{createPopper(b){if(!ge){let he=(b.updatePopperOptions||wd)(lc(b,w));ge=ln(b.hostElement,b.targetElement,he)}},update(){ge&&ge.update()},setOptions(b){if(ge){let he=(b.updatePopperOptions||wd)(lc(b,w));ge.setOptions(he)}},destroy(){ge&&(ge.destroy(),ge=null)}}}function na(w){return ge=>(ge.modifiers.push(ct,{name:"offset",options:{offset:()=>w}}),ge)}new Date(1882,10,12),new Date(2174,10,25);let Ma=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),rl=(()=>{class w{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=b=>b,this.container=null}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),fc=(()=>{class w{constructor(){this._disabled=!1,this.nativeElement=(0,t.f3M)(t.SBq).nativeElement,this.tabindex=0}set disabled(b){this._disabled=""===b||!0===b}get disabled(){return this._disabled}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(R,he){2&R&&(t.Ikx("tabIndex",he.disabled?-1:he.tabindex),t.ekj("disabled",he.disabled))},inputs:{tabindex:"tabindex",disabled:"disabled"},standalone:!0})}return w})(),al=(()=>{class w{constructor(){this.dropdown=(0,t.f3M)(Al),this.nativeElement=(0,t.f3M)(t.SBq).nativeElement}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(R,he,ht){if(1&R&&t.Suo(ht,fc,4),2&R){let Dt;t.iGM(Dt=t.CRH())&&(he.menuItems=Dt)}},hostVars:4,hostBindings:function(R,he){1&R&&t.NdJ("keydown.ArrowUp",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.ArrowDown",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.Home",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.End",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.Enter",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.Space",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.Tab",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.Shift.Tab",function(Dt){return he.dropdown.onKeyDown(Dt)}),2&R&&t.ekj("dropdown-menu",!0)("show",he.dropdown.isOpen())},standalone:!0})}return w})(),sl=(()=>{class w{constructor(){this.dropdown=(0,t.f3M)(Al),this.nativeElement=(0,t.f3M)(t.SBq).nativeElement}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(R,he){2&R&&(t.uIk("aria-expanded",he.dropdown.isOpen()),t.ekj("show",he.dropdown.isOpen()))},standalone:!0})}return w})(),Hu=(()=>{class w extends sl{static#e=this.\u0275fac=(()=>{let b;return function(he){return(b||(b=t.n5z(w)))(he||w)}})();static#t=this.\u0275dir=t.lG2({type:w,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:3,hostBindings:function(R,he){1&R&&t.NdJ("click",function(){return he.dropdown.toggle()})("keydown.ArrowUp",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.ArrowDown",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.Home",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.End",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.Tab",function(Dt){return he.dropdown.onKeyDown(Dt)})("keydown.Shift.Tab",function(Dt){return he.dropdown.onKeyDown(Dt)}),2&R&&(t.uIk("aria-expanded",he.dropdown.isOpen()),t.ekj("show",he.dropdown.isOpen()))},standalone:!0,features:[t._Bn([{provide:sl,useExisting:(0,t.Gpc)(()=>w)}]),t.qOj]})}return w})(),Al=(()=>{class w{constructor(){this._changeDetector=(0,t.f3M)(t.sBO),this._config=(0,t.f3M)(rl),this._document=(0,t.f3M)(we.K0),this._ngZone=(0,t.f3M)(t.R0b),this._nativeElement=(0,t.f3M)(t.SBq).nativeElement,this._destroyCloseHandlers$=new L.x,this._bodyContainer=null,this._positioning=ca(),this.autoClose=this._config.autoClose,this._open=!1,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.container=this._config.container,this.openChange=new t.vpe}ngOnInit(){this.display||(this.display=this._nativeElement.closest(".navbar")?"static":"dynamic")}ngAfterContentInit(){this._ngZone.onStable.pipe((0,ie.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(b){if(b.container&&this._open&&this._applyContainer(this.container),b.placement&&!b.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),b.dropdownClass){const{currentValue:R,previousValue:he}=b.dropdownClass;this._applyCustomDropdownClass(R,he)}b.autoClose&&this._open&&(this.autoClose=b.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:b=>this.popperOptions(na([0,2])(b))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Qn(this._ngZone,this._document,this.autoClose,b=>{this.close(),0===b&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(b){const R=b.which,he=this._getMenuElements();let ht=-1,Dt=null;const Sn=this._isEventFromToggle(b);if(!Sn&&he.length&&he.forEach((Ln,Yn)=>{Ln.contains(b.target)&&(Dt=Ln),Ln===Jo(this._document)&&(ht=Yn)}),R!==Do.Space&&R!==Do.Enter){if(R!==Do.Tab){if(Sn||Dt){if(this.open(),he.length){switch(R){case Do.ArrowDown:ht=Math.min(ht+1,he.length-1);break;case Do.ArrowUp:if(this._isDropup()&&-1===ht){ht=he.length-1;break}ht=Math.max(ht-1,0);break;case Do.Home:ht=0;break;case Do.End:ht=he.length-1}he[ht].focus()}b.preventDefault()}}else if(b.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===b.target)return void("body"!==this.container||b.shiftKey?b.shiftKey&&this.close():(this._menu.nativeElement.setAttribute("tabindex","0"),this._menu.nativeElement.focus(),this._menu.nativeElement.removeAttribute("tabindex")));if("body"===this.container){const Ln=this._menu.nativeElement.querySelectorAll(Hn);b.shiftKey&&b.target===Ln[0]?(this._anchor.nativeElement.focus(),b.preventDefault()):!b.shiftKey&&b.target===Ln[Ln.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,y.R)(b.target,"focusout").pipe((0,ie.q)(1)).subscribe(({relatedTarget:Ln})=>{this._nativeElement.contains(Ln)||this.close()})}}else Dt&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,y.R)(Dt,"click").pipe((0,ie.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._nativeElement.classList.contains("dropup")}_isEventFromToggle(b){return this._anchor.nativeElement.contains(b.target)}_getMenuElements(){return this._menu?this._menu.menuItems.filter(({disabled:b})=>!b).map(({nativeElement:b})=>b):[]}_positionMenu(){const b=this._menu;this.isOpen()&&b&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(b){return Array.isArray(b)?b[0]:b.split(" ")[0]}_resetContainer(){this._menu&&this._nativeElement.appendChild(this._menu.nativeElement),this._bodyContainer&&(this._document.body.removeChild(this._bodyContainer),this._bodyContainer=null)}_applyContainer(b=null){if(this._resetContainer(),"body"===b){const R=this._menu.nativeElement,he=this._bodyContainer=this._bodyContainer||this._document.createElement("div");he.style.position="absolute",R.style.position="static",he.style.zIndex="1055",he.appendChild(R),this._document.body.appendChild(he)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(b,R){const he="body"===this.container?this._bodyContainer:this._nativeElement;he&&(R&&he.classList.remove(R),b&&he.classList.add(b))}_applyPlacementClasses(b){if(this._menu){b||(b=this._getFirstPlacement(this.placement)),this._nativeElement.classList.remove("dropup","dropdown"),"static"===this.display?this._menu.nativeElement.setAttribute("data-bs-popper","static"):this._menu.nativeElement.removeAttribute("data-bs-popper");const R=-1!==b.search("^top")?"dropup":"dropdown";this._nativeElement.classList.add(R),this._bodyContainer&&(this._bodyContainer.classList.remove("dropup","dropdown"),this._bodyContainer.classList.add(R))}}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["","ngbDropdown",""]],contentQueries:function(R,he,ht){if(1&R&&(t.Suo(ht,al,5),t.Suo(ht,sl,5)),2&R){let Dt;t.iGM(Dt=t.CRH())&&(he._menu=Dt.first),t.iGM(Dt=t.CRH())&&(he._anchor=Dt.first)}},hostVars:2,hostBindings:function(R,he){2&R&&t.ekj("show",he.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:[t.lbL.None,"open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[t.TTD]})}return w})(),Da=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Yc=(()=>{class w{constructor(){this._ngbConfig=(0,t.f3M)(lo),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(b){this._animation=b}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();class Ba{constructor(ge,b,R){this.nodes=ge,this.viewRef=b,this.componentRef=R}}class lp{constructor(ge){this._componentType=ge,this._windowRef=null,this._contentRef=null,this._document=(0,t.f3M)(we.K0),this._applicationRef=(0,t.f3M)(t.z2F),this._injector=(0,t.f3M)(t.zs3),this._viewContainerRef=(0,t.f3M)(t.s_b),this._ngZone=(0,t.f3M)(t.R0b)}open(ge,b,R=!1){this._windowRef||(this._contentRef=this._getContentRef(ge,b),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:he}=this._windowRef.location,ht=this._ngZone.onStable.pipe((0,ie.q)(1),(0,dt.z)(()=>ir(this._ngZone,he,({classList:Dt})=>Dt.add("show"),{animation:R,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:ht}}close(ge=!1){return this._windowRef?ir(this._ngZone,this._windowRef.location.nativeElement,({classList:b})=>b.remove("show"),{animation:ge,runningTransition:"stop"}).pipe((0,_e.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,I.of)(void 0)}_getContentRef(ge,b){if(ge){if(ge instanceof t.Rgc){const R=ge.createEmbeddedView(b);return this._applicationRef.attachView(R),new Ba([R.rootNodes],R)}return new Ba([[this._document.createTextNode(`${ge}`)]])}return new Ba([])}}let Nd=(()=>{class w{constructor(){this._document=(0,t.f3M)(we.K0)}hide(){const b=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),R=this._document.body,he=R.style,{overflow:ht,paddingRight:Dt}=he;if(b>0){const Sn=parseFloat(window.getComputedStyle(R).paddingRight);he.paddingRight=`${Sn+b}px`}return he.overflow="hidden",()=>{b>0&&(he.paddingRight=Dt),he.overflow=ht}}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),Pl=(()=>{class w{constructor(){this._nativeElement=(0,t.f3M)(t.SBq).nativeElement,this._zone=(0,t.f3M)(t.R0b)}ngOnInit(){this._zone.onStable.asObservable().pipe((0,ie.q)(1)).subscribe(()=>{ir(this._zone,this._nativeElement,(b,R)=>{R&&bi(b),b.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return ir(this._zone,this._nativeElement,({classList:b})=>b.remove("show"),{animation:this.animation,runningTransition:"stop"})}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=t.Xpm({type:w,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(R,he){2&R&&(t.Tol("modal-backdrop"+(he.backdropClass?" "+he.backdropClass:"")),t.ekj("show",!he.animation)("fade",he.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[t.jDz],decls:0,vars:0,template:function(R,he){},encapsulation:2})}return w})();class Fd{update(ge){}close(ge){}dismiss(ge){}}const Gu=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],Ju=["animation","backdropClass"];class Vu{_applyWindowOptions(ge,b){Gu.forEach(R=>{We(b[R])&&(ge[R]=b[R])})}_applyBackdropOptions(ge,b){Ju.forEach(R=>{We(b[R])&&(ge[R]=b[R])})}update(ge){this._applyWindowOptions(this._windowCmptRef.instance,ge),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,ge)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,e.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,e.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(ge,b,R,he){this._windowCmptRef=ge,this._contentRef=b,this._backdropCmptRef=R,this._beforeDismiss=he,this._closed=new L.x,this._dismissed=new L.x,this._hidden=new L.x,ge.instance.dismissEvent.subscribe(ht=>{this.dismiss(ht)}),this.result=new Promise((ht,Dt)=>{this._resolve=ht,this._reject=Dt}),this.result.then(null,()=>{})}close(ge){this._windowCmptRef&&(this._closed.next(ge),this._resolve(ge),this._removeModalElements())}_dismiss(ge){this._dismissed.next(ge),this._reject(ge),this._removeModalElements()}dismiss(ge){if(this._windowCmptRef)if(this._beforeDismiss){const b=this._beforeDismiss();!function yt(w){return w&&w.then}(b)?!1!==b&&this._dismiss(ge):b.then(R=>{!1!==R&&this._dismiss(ge)},()=>{})}else this._dismiss(ge)}_removeModalElements(){const ge=this._windowCmptRef.instance.hide(),b=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,I.of)(void 0);ge.subscribe(()=>{const{nativeElement:R}=this._windowCmptRef.location;R.parentNode.removeChild(R),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),b.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:R}=this._backdropCmptRef.location;R.parentNode.removeChild(R),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),K(ge,b).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Il=function(w){return w[w.BACKDROP_CLICK=0]="BACKDROP_CLICK",w[w.ESC=1]="ESC",w}(Il||{});let qc=(()=>{class w{constructor(){this._document=(0,t.f3M)(we.K0),this._elRef=(0,t.f3M)(t.SBq),this._zone=(0,t.f3M)(t.R0b),this._closed$=new L.x,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new t.vpe,this.shown=new L.x,this.hidden=new L.x}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":Wo(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(b){this.dismissEvent.emit(b)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,ie.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:b}=this._elRef,R={animation:this.animation,runningTransition:"stop"},Dt=K(ir(this._zone,b,()=>b.classList.remove("show"),R),ir(this._zone,this._dialogEl.nativeElement,()=>{},R));return Dt.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),Dt}_show(){const b={animation:this.animation,runningTransition:"continue"};K(ir(this._zone,this._elRef.nativeElement,(ht,Dt)=>{Dt&&bi(ht),ht.classList.add("show")},b),ir(this._zone,this._dialogEl.nativeElement,()=>{},b)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:b}=this._elRef;this._zone.runOutsideAngular(()=>{(0,y.R)(b,"keydown").pipe((0,e.R)(this._closed$),(0,T.h)(he=>he.which===Do.Escape)).subscribe(he=>{this.keyboard?requestAnimationFrame(()=>{he.defaultPrevented||this._zone.run(()=>this.dismiss(Il.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let R=!1;(0,y.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,e.R)(this._closed$),(0,_e.b)(()=>R=!1),(0,Fe.w)(()=>(0,y.R)(b,"mouseup").pipe((0,e.R)(this._closed$),(0,ie.q)(1))),(0,T.h)(({target:he})=>b===he)).subscribe(()=>{R=!0}),(0,y.R)(b,"click").pipe((0,e.R)(this._closed$)).subscribe(({target:he})=>{b===he&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!R&&this._zone.run(()=>this.dismiss(Il.BACKDROP_CLICK))),R=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:b}=this._elRef;if(!b.contains(document.activeElement)){const R=b.querySelector("[ngbAutofocus]"),he=Ti(b)[0];(R||he||b).focus()}}_restoreFocus(){const b=this._document.body,R=this._elWithFocus;let he;he=R&&R.focus&&b.contains(R)?R:b,this._zone.runOutsideAngular(()=>{setTimeout(()=>he.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&ir(this._zone,this._elRef.nativeElement,({classList:b})=>(b.add("modal-static"),()=>b.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=t.Xpm({type:w,selectors:[["ngb-modal-window"]],viewQuery:function(R,he){if(1&R&&t.Gf(yi,7),2&R){let ht;t.iGM(ht=t.CRH())&&(he._dialogEl=ht.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(R,he){2&R&&(t.uIk("aria-modal",!0)("aria-labelledby",he.ariaLabelledBy)("aria-describedby",he.ariaDescribedBy),t.Tol("modal d-block"+(he.windowClass?" "+he.windowClass:"")),t.ekj("fade",he.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[t.jDz],ngContentSelectors:Yt,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(R,he){1&R&&(t.F$t(),t.TgZ(0,"div",0,1)(2,"div",2),t.Hsn(3),t.qZA()()),2&R&&t.Tol("modal-dialog"+(he.size?" modal-"+he.size:"")+(he.centered?" modal-dialog-centered":"")+he.fullscreenClass+(he.scrollable?" modal-dialog-scrollable":"")+(he.modalDialogClass?" "+he.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}return w})(),gc=(()=>{class w{constructor(){this._applicationRef=(0,t.f3M)(t.z2F),this._injector=(0,t.f3M)(t.zs3),this._environmentInjector=(0,t.f3M)(t.lqb),this._document=(0,t.f3M)(we.K0),this._scrollBar=(0,t.f3M)(Nd),this._activeWindowCmptHasChanged=new L.x,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new t.vpe;const b=(0,t.f3M)(t.R0b);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const R=this._windowCmpts[this._windowCmpts.length-1];((w,ge,b,R=!1)=>{w.runOutsideAngular(()=>{const he=(0,y.R)(ge,"focusin").pipe((0,e.R)(b),(0,Ce.U)(ht=>ht.target));(0,y.R)(ge,"keydown").pipe((0,e.R)(b),(0,T.h)(ht=>ht.which===Do.Tab),Ae(he)).subscribe(([ht,Dt])=>{const[Sn,Ln]=Ti(ge);(Dt===Sn||Dt===ge)&&ht.shiftKey&&(Ln.focus(),ht.preventDefault()),Dt===Ln&&!ht.shiftKey&&(Sn.focus(),ht.preventDefault())}),R&&(0,y.R)(ge,"click").pipe((0,e.R)(b),Ae(he),(0,Ce.U)(ht=>ht[1])).subscribe(ht=>ht.focus())})})(b,R.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(R.location.nativeElement)}})}_restoreScrollBar(){const b=this._scrollBarRestoreFn;b&&(this._scrollBarRestoreFn=null,b())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(b,R,he){const ht=he.container instanceof HTMLElement?he.container:We(he.container)?this._document.querySelector(he.container):this._document.body;if(!ht)throw new Error(`The specified modal container "${he.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const Dt=new Fd,Sn=(b=he.injector||b).get(t.lqb,null)||this._environmentInjector,Ln=this._getContentRef(b,Sn,R,Dt,he);let Yn=!1!==he.backdrop?this._attachBackdrop(ht):void 0,ri=this._attachWindowComponent(ht,Ln.nodes),Di=new Vu(ri,Ln,Yn,he.beforeDismiss);return this._registerModalRef(Di),this._registerWindowCmpt(ri),Di.hidden.pipe((0,ie.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),Dt.close=Oi=>{Di.close(Oi)},Dt.dismiss=Oi=>{Di.dismiss(Oi)},Dt.update=Oi=>{Di.update(Oi)},Di.update(he),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),Yn&&Yn.instance&&Yn.changeDetectorRef.detectChanges(),ri.changeDetectorRef.detectChanges(),Di}get activeInstances(){return this._activeInstances}dismissAll(b){this._modalRefs.forEach(R=>R.dismiss(b))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(b){let R=(0,t.LMc)(Pl,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(R.hostView),b.appendChild(R.location.nativeElement),R}_attachWindowComponent(b,R){let he=(0,t.LMc)(qc,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:R});return this._applicationRef.attachView(he.hostView),b.appendChild(he.location.nativeElement),he}_getContentRef(b,R,he,ht,Dt){return he?he instanceof t.Rgc?this._createFromTemplateRef(he,ht):Wo(he)?this._createFromString(he):this._createFromComponent(b,R,he,ht,Dt):new Ba([])}_createFromTemplateRef(b,R){const ht=b.createEmbeddedView({$implicit:R,close(Dt){R.close(Dt)},dismiss(Dt){R.dismiss(Dt)}});return this._applicationRef.attachView(ht),new Ba([ht.rootNodes],ht)}_createFromString(b){const R=this._document.createTextNode(`${b}`);return new Ba([[R]])}_createFromComponent(b,R,he,ht,Dt){const Sn=t.zs3.create({providers:[{provide:Fd,useValue:ht}],parent:b}),Ln=(0,t.LMc)(he,{environmentInjector:R,elementInjector:Sn}),Yn=Ln.location.nativeElement;return Dt.scrollable&&Yn.classList.add("component-host-scrollable"),this._applicationRef.attachView(Ln.hostView),new Ba([[Yn]],Ln.hostView,Ln)}_setAriaHidden(b){const R=b.parentElement;R&&b!==this._document.body&&(Array.from(R.children).forEach(he=>{he!==b&&"SCRIPT"!==he.nodeName&&(this._ariaHiddenValues.set(he,he.getAttribute("aria-hidden")),he.setAttribute("aria-hidden","true"))}),this._setAriaHidden(R))}_revertAriaHidden(){this._ariaHiddenValues.forEach((b,R)=>{b?R.setAttribute("aria-hidden",b):R.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(b){const R=()=>{const he=this._modalRefs.indexOf(b);he>-1&&(this._modalRefs.splice(he,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(b),this._activeInstances.emit(this._modalRefs),b.result.then(R,R)}_registerWindowCmpt(b){this._windowCmpts.push(b),this._activeWindowCmptHasChanged.next(),b.onDestroy(()=>{const R=this._windowCmpts.indexOf(b);R>-1&&(this._windowCmpts.splice(R,1),this._activeWindowCmptHasChanged.next())})}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),Kc=(()=>{class w{constructor(){this._injector=(0,t.f3M)(t.zs3),this._modalStack=(0,t.f3M)(gc),this._config=(0,t.f3M)(Yc)}open(b,R={}){const he={...this._config,animation:this._config.animation,...R};return this._modalStack.open(this._injector,b,he)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(b){this._modalStack.dismissAll(b)}hasOpenModals(){return this._modalStack.hasOpenModals()}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),Rl=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({providers:[Kc]})}return w})(),Es=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Ku=(()=>{class w{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),Ud=(()=>{class w{constructor(){this.templateRef=(0,t.f3M)(t.Rgc)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0})}return w})(),Zd=(()=>{class w{constructor(){this.templateRef=(0,t.f3M)(t.Rgc)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0})}return w})(),Os=(()=>{class w{constructor(){this.templateRef=(0,t.f3M)(t.Rgc)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0})}return w})(),$c=(()=>{class w{constructor(){this.templateRef=(0,t.f3M)(t.Rgc)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0})}return w})(),xc=(()=>{class w{constructor(){this.templateRef=(0,t.f3M)(t.Rgc)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0})}return w})(),Bl=(()=>{class w{constructor(){this.templateRef=(0,t.f3M)(t.Rgc)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0})}return w})(),Ul=(()=>{class w{constructor(){this.templateRef=(0,t.f3M)(t.Rgc)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0})}return w})(),Hd=(()=>{class w{constructor(){this._config=(0,t.f3M)(Ku),this.pageCount=0,this.pages=[],this.disabled=this._config.disabled,this.boundaryLinks=this._config.boundaryLinks,this.directionLinks=this._config.directionLinks,this.ellipses=this._config.ellipses,this.rotate=this._config.rotate,this.maxSize=this._config.maxSize,this.page=1,this.pageSize=this._config.pageSize,this.pageChange=new t.vpe(!0),this.size=this._config.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(b){this._updatePages(b)}ngOnChanges(b){this._updatePages(this.page)}isEllipsis(b){return-1===b}_applyEllipses(b,R){this.ellipses&&(b>0&&(b>2?this.pages.unshift(-1):2===b&&this.pages.unshift(2),this.pages.unshift(1)),R<this.pageCount&&(R<this.pageCount-2?this.pages.push(-1):R===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let b=0,R=this.pageCount,he=Math.floor(this.maxSize/2);return this.page<=he?R=this.maxSize:this.pageCount-this.page<he?b=this.pageCount-this.maxSize:(b=this.page-he-1,R=this.page+(this.maxSize%2==0?he-1:he)),[b,R]}_applyPagination(){let R=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[R,R+this.maxSize]}_setPageInRange(b){const R=this.page;this.page=function vr(w,ge,b=0){return Math.max(Math.min(w,ge),b)}(b,this.pageCount,1),this.page!==R&&Te(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(b){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),Te(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let R=1;R<=this.pageCount;R++)this.pages.push(R);if(this._setPageInRange(b),this.maxSize>0&&this.pageCount>this.maxSize){let R=0,he=this.pageCount;[R,he]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(R,he),this._applyEllipses(R,he)}}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=t.Xpm({type:w,selectors:[["ngb-pagination"]],contentQueries:function(R,he,ht){if(1&R&&(t.Suo(ht,Ud,5),t.Suo(ht,Zd,5),t.Suo(ht,Os,5),t.Suo(ht,$c,5),t.Suo(ht,xc,5),t.Suo(ht,Bl,5),t.Suo(ht,Ul,5)),2&R){let Dt;t.iGM(Dt=t.CRH())&&(he.tplEllipsis=Dt.first),t.iGM(Dt=t.CRH())&&(he.tplFirst=Dt.first),t.iGM(Dt=t.CRH())&&(he.tplLast=Dt.first),t.iGM(Dt=t.CRH())&&(he.tplNext=Dt.first),t.iGM(Dt=t.CRH())&&(he.tplNumber=Dt.first),t.iGM(Dt=t.CRH())&&(he.tplPrevious=Dt.first),t.iGM(Dt=t.CRH())&&(he.tplPages=Dt.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[t.TTD,t.jDz],decls:20,vars:12,consts:()=>{let b,R,he,ht,Dt,Sn,Ln,Yn;return b=$localize`:@@ngb.pagination.first:««`,R=$localize`:@@ngb.pagination.previous:«`,he=$localize`:@@ngb.pagination.next:»`,ht=$localize`:@@ngb.pagination.last:»»`,Dt=$localize`:@@ngb.pagination.first-aria:First`,Sn=$localize`:@@ngb.pagination.previous-aria:Previous`,Ln=$localize`:@@ngb.pagination.next-aria:Next`,Yn=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],b,R,he,ht,[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["class","page-item",3,"active","disabled"],["aria-label",Dt,"href","",1,"page-link",3,"click"],["aria-label",Sn,"href","",1,"page-link",3,"click"],["aria-label",Ln,"href","",1,"page-link",3,"click"],["aria-label",Yn,"href","",1,"page-link",3,"click"]]},template:function(R,he){if(1&R&&(t.YNc(0,br,2,0,"ng-template",null,0,t.W1O)(2,Xr,2,0,"ng-template",null,1,t.W1O)(4,Ir,2,0,"ng-template",null,2,t.W1O)(6,vo,2,0,"ng-template",null,3,t.W1O)(8,ei,1,0,"ng-template",null,4,t.W1O)(10,eo,1,1,"ng-template",null,5,t.W1O)(12,Cn,2,0,"ng-template",null,6,t.W1O),t.TgZ(14,"ul"),t.YNc(15,Si,3,9,"li",7)(16,Vr,3,8,"li",7)(17,qo,0,0,"ng-template",8)(18,Ii,3,9,"li",7)(19,ea,3,9,"li",7),t.qZA()),2&R){const ht=t.MAs(13);t.xp6(14),t.Tol("pagination"+(he.size?" pagination-"+he.size:"")),t.xp6(),t.um2(15,he.boundaryLinks?15:-1),t.xp6(),t.um2(16,he.directionLinks?16:-1),t.xp6(),t.Q6J("ngTemplateOutlet",(null==he.tplPages?null:he.tplPages.templateRef)||ht)("ngTemplateOutletContext",t.kEZ(8,uo,he.page,he.pages,he.disabled)),t.xp6(),t.um2(18,he.directionLinks?18:-1),t.xp6(),t.um2(19,he.boundaryLinks?19:-1)}},dependencies:[we.tP],encapsulation:2,changeDetection:0})}return w})(),Wc=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Ds=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),zd=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),ja=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Yd=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Kd=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Hl=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Tc=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),sh=(()=>{class w{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(b){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const R=kr(this.result),he=Array.isArray(this.term)?this.term:[this.term],ht=Yn=>this.accentSensitive?Yn:po(Yn),Dt=he.map(Yn=>function Kn(w){return w.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(ht(kr(Yn)))).filter(Yn=>Yn),Sn=this.accentSensitive?R:po(R),Ln=Dt.length?Sn.split(new RegExp(`(${Dt.join("|")})`,"gmi")):[R];if(this.accentSensitive)this.parts=Ln;else{let Yn=0;this.parts=Ln.map(ri=>R.substring(Yn,Yn+=ri.length))}}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=t.Xpm({type:w,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},standalone:!0,features:[t.TTD,t.jDz],decls:2,vars:0,consts:[[3,"class"]],template:function(R,he){1&R&&t.SjG(0,Mi,2,1,null,null,t.x6l),2&R&&t.wJu(he.parts)},styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0})}return w})();const As=new t.OlP("live announcer delay",{providedIn:"root",factory:()=>100});function od(w,ge=!1){let b=w.body.querySelector("#ngb-live");return null==b&&ge&&(b=w.createElement("div"),b.setAttribute("id","ngb-live"),b.setAttribute("aria-live","polite"),b.setAttribute("aria-atomic","true"),b.classList.add("visually-hidden"),w.body.appendChild(b)),b}let rd=(()=>{class w{constructor(){this._document=(0,t.f3M)(we.K0),this._delay=(0,t.f3M)(As)}ngOnDestroy(){const b=od(this._document);b&&b.parentElement.removeChild(b)}say(b){const R=od(this._document,!0),he=this._delay;if(null!=R){R.textContent="";const ht=()=>R.textContent=b;null===he?ht():setTimeout(ht,he)}}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),$d=(()=>{class w{constructor(){this.editable=!0,this.focusFirst=!0,this.selectOnExact=!1,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=b=>b}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275prov=t.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})(),ad=(()=>{class w{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=kr,this.selectEvent=new t.vpe,this.activeChangeEvent=new t.vpe}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(b){this.activeIdx=b,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(b){this.selectEvent.emit(b)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275cmp=t.Xpm({type:w,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(R,he){1&R&&t.NdJ("mousedown",function(Dt){return Dt.preventDefault()}),2&R&&(t.Ikx("id",he.id),t.Tol("dropdown-menu show"+(he.popupClass?" "+he.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],standalone:!0,features:[t.jDz],decls:4,vars:0,consts:[["rt",""],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button","class","dropdown-item","role","option",3,"id","active"]],template:function(R,he){1&R&&(t.YNc(0,Ri,1,2,"ng-template",null,0,t.W1O),t.SjG(2,Po,2,9,"button",4,t.x6l)),2&R&&(t.xp6(2),t.wJu(he.results))},dependencies:[sh,we.tP],encapsulation:2})}return w})(),Tp=0,lh=(()=>{class w{constructor(){this._nativeElement=(0,t.f3M)(t.SBq).nativeElement,this._config=(0,t.f3M)($d),this._live=(0,t.f3M)(rd),this._document=(0,t.f3M)(we.K0),this._ngZone=(0,t.f3M)(t.R0b),this._changeDetector=(0,t.f3M)(t.sBO),this._popupService=new lp(ad),this._positioning=ca(),this._subscription=null,this._closed$=new L.x,this._inputValueBackup=null,this._inputValueForSelectOnExact=null,this._valueChanges$=(0,y.R)(this._nativeElement,"input").pipe((0,Ce.U)(b=>b.target.value)),this._resubscribeTypeahead$=new Q.X(null),this._windowRef=null,this.autocomplete="off",this.container=this._config.container,this.editable=this._config.editable,this.focusFirst=this._config.focusFirst,this.selectOnExact=this._config.selectOnExact,this.showHint=this._config.showHint,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.selectItem=new t.vpe,this.activeDescendant=null,this.popupId="ngb-typeahead-"+Tp++,this._onTouched=()=>{},this._onChange=b=>{}}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:b}){b&&!b.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(b){this._onChange=b}registerOnTouched(b){this._onTouched=b}writeValue(b){this._writeInputValue(this._formatItemForInput(b)),this.showHint&&(this._inputValueBackup=b)}setDisabledState(b){this._nativeElement.disabled=b}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead$.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead$.next(null),this._onTouched()}handleKeyDown(b){if(this.isPopupOpen())switch(b.which){case Do.ArrowDown:b.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case Do.ArrowUp:b.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case Do.Enter:case Do.Tab:{const R=this._windowRef.instance.getActive();We(R)&&(b.preventDefault(),b.stopPropagation(),this._selectResult(R)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._nativeElement.value;const{windowRef:b}=this._popupService.open();this._windowRef=b,this._windowRef.setInput("id",this.popupId),this._windowRef.setInput("popupClass",this.popupClass),this._windowRef.instance.selectEvent.subscribe(R=>this._selectResultClosePopup(R)),this._windowRef.instance.activeChangeEvent.subscribe(R=>this.activeDescendant=R),"body"===this.container&&(this._windowRef.location.nativeElement.style.zIndex="1055",this._document.body.appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:R=>this.popperOptions(na([0,2])(R))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),Qn(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(b){let R=!1;this.selectItem.emit({item:b,preventDefault:()=>{R=!0}}),this._resubscribeTypeahead$.next(null),R||(this.writeValue(b),this._onChange(b))}_selectResultClosePopup(b){this._selectResult(b),this._closePopup()}_showHint(){if(this.showHint&&this._windowRef?.instance.hasActive()&&null!=this._inputValueBackup){const b=this._inputValueBackup.toLowerCase(),R=this._formatItemForInput(this._windowRef.instance.getActive());b===R.substring(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+R.substring(this._inputValueBackup.length)),this._nativeElement.setSelectionRange.apply(this._nativeElement,[this._inputValueBackup.length,R.length])):this._writeInputValue(R)}}_formatItemForInput(b){return null!=b&&this.inputFormatter?this.inputFormatter(b):kr(b)}_writeInputValue(b){this._nativeElement.value=kr(b)}_subscribeToUserInput(){const b=this._valueChanges$.pipe((0,_e.b)(R=>{this._inputValueBackup=this.showHint?R:null,this._inputValueForSelectOnExact=this.selectOnExact?R:null,this._onChange(this.editable?R:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>(0,I.of)([]));this._subscription=this._resubscribeTypeahead$.pipe((0,Fe.w)(()=>b)).subscribe(R=>{R&&0!==R.length?this.selectOnExact&&1===R.length&&this._formatItemForInput(R[0])===this._inputValueForSelectOnExact?(this._selectResult(R[0]),this._closePopup()):(this._openPopup(),this._windowRef.setInput("focusFirst",this.focusFirst),this._windowRef.setInput("results",R),this._windowRef.setInput("term",this._nativeElement.value),this.resultFormatter&&this._windowRef.setInput("formatter",this.resultFormatter),this.resultTemplate&&this._windowRef.setInput("resultTemplate",this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const he=R?R.length:0;this._live.say(0===he?"No results available":`${he} result${1===he?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275dir=t.lG2({type:w,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox"],hostVars:7,hostBindings:function(R,he){1&R&&t.NdJ("blur",function(){return he.handleBlur()})("keydown",function(Dt){return he.handleKeyDown(Dt)}),2&R&&(t.Ikx("autocomplete",he.autocomplete),t.uIk("aria-autocomplete",he.showHint?"both":"list")("aria-activedescendant",he.activeDescendant)("aria-owns",he.isPopupOpen()?he.popupId:null)("aria-expanded",he.isPopupOpen()),t.ekj("open",he.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",selectOnExact:"selectOnExact",showHint:"showHint",placement:"placement",popperOptions:"popperOptions",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],standalone:!0,features:[t._Bn([{provide:P.JU,useExisting:(0,t.Gpc)(()=>w),multi:!0}]),t.TTD]})}return w})(),Wd=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})(),Mc=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({})}return w})();const eu=[gl,Ic,vl,Fc,Ma,Da,Rl,Es,Mc,Wc,Ds,zd,ja,Yd,Kd,Hl,Tc,Wd];let Ps=(()=>{class w{static#e=this.\u0275fac=function(R){return new(R||w)};static#t=this.\u0275mod=t.oAB({type:w});static#n=this.\u0275inj=t.cJS({imports:[eu,gl,Ic,vl,Fc,Ma,Da,Rl,Es,Mc,Wc,Ds,zd,ja,Yd,Kd,Hl,Tc,Wd]})}return w})()},2520:(jt,$e,s)=>{"use strict";function t(y){for(let O in y){let M=y[O]??"";switch(O){case"display":y.display="flex"===M?["-webkit-flex","flex"]:"inline-flex"===M?["-webkit-inline-flex","inline-flex"]:M;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":y["-webkit-"+O]=M;break;case"flex-direction":y["-webkit-flex-direction"]=M,y["flex-direction"]=M;break;case"order":y.order=y["-webkit-"+O]=isNaN(+M)?"0":M}}return y}s.d($e,{Ar:()=>m,GK:()=>t,iQ:()=>e,kt:()=>L,tj:()=>U});const u="inline",e=["row","column","row-reverse","column-reverse"];function m(y){let[O,M,E]=p(y);return function I(y,O=null,M=!1){return{display:M?"inline-flex":"flex","box-sizing":"border-box","flex-direction":y,"flex-wrap":O||null}}(O,M,E)}function p(y){y=y?.toLowerCase()??"";let[O,M,E]=y.split(" ");return e.find(A=>A===O)||(O=e[0]),M===u&&(M=E!==u?E:"",E=u),[O,n(M),!!E]}function U(y){let[O]=p(y);return O.indexOf("row")>-1}function n(y){if(y)switch(y.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":y="wrap-reverse";break;case"no":case"none":case"nowrap":y="nowrap";break;default:y="wrap"}return y}function L(y,...O){if(null==y)throw TypeError("Cannot convert undefined or null to object");for(let M of O)if(null!=M)for(let E in M)M.hasOwnProperty(E)&&(y[E]=M[E]);return y}},4698:(jt,$e,s)=>{"use strict";s.d($e,{Bs:()=>_e,FL:()=>di,IR:()=>K,Ot:()=>$t,QI:()=>Ve,RK:()=>ae,WU:()=>T,g5:()=>H,iR:()=>tn,u0:()=>Ue,wY:()=>ie,yB:()=>Et});var t=s(9212),u=s(6814),e=s(5619),m=s(5592),p=s(3019),U=s(8645),n=s(6410),I=s(2096),L=s(2520),y=s(2181),O=s(9397),M=s(3620),E=s(4664),A=s(7398),S=s(3997),Z=s(9773);const le={provide:t.tb,useFactory:function oe(Pt,Xt){return()=>{if((0,u.NF)(Xt)){const Le=Array.from(Pt.querySelectorAll(`[class*=${ee}]`)),ue=/\bflex-layout-.+?\b/g;Le.forEach(X=>{X.classList.contains(`${ee}ssr`)&&X.parentNode?X.parentNode.removeChild(X):X.className.replace(ue,"")})}}},deps:[u.K0,t.Lbi],multi:!0},ee="flex-layout-";let K=(()=>{class Pt{static#e=this.\u0275fac=function(ue){return new(ue||Pt)};static#t=this.\u0275mod=t.oAB({type:Pt});static#n=this.\u0275inj=t.cJS({providers:[le]})}return Pt})();class Q{constructor(Xt=!1,Le="all",ue="",X="",xe=0){this.matches=Xt,this.mediaQuery=Le,this.mqAlias=ue,this.suffix=X,this.priority=xe,this.property=""}clone(){return new Q(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let q=(()=>{class Pt{constructor(){this.stylesheet=new Map}addStyleToElement(Le,ue,X){const xe=this.stylesheet.get(Le);xe?xe.set(ue,X):this.stylesheet.set(Le,new Map([[ue,X]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Le,ue){const X=this.stylesheet.get(Le);let xe="";if(X){const et=X.get(ue);("number"==typeof et||"string"==typeof et)&&(xe=et+"")}return xe}static#e=this.\u0275fac=function(ue){return new(ue||Pt)};static#t=this.\u0275prov=t.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const H={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},T=new t.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>H}),ie=new t.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),_e=new t.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function Ce(Pt,Xt){return Pt=Pt?.clone()??new Q,Xt&&(Pt.mqAlias=Xt.alias,Pt.mediaQuery=Xt.mediaQuery,Pt.suffix=Xt.suffix,Pt.priority=Xt.priority),Pt}class Ve{constructor(){this.shouldCache=!0}sideEffect(Xt,Le,ue){}}let ae=(()=>{class Pt{constructor(Le,ue,X,xe){this._serverStylesheet=Le,this._serverModuleLoaded=ue,this._platformId=X,this.layoutConfig=xe}applyStyleToElement(Le,ue,X=null){let xe={};"string"==typeof ue&&(xe[ue]=X,ue=xe),xe=this.layoutConfig.disableVendorPrefixes?ue:(0,L.GK)(ue),this._applyMultiValueStyleToElement(xe,Le)}applyStyleToElements(Le,ue=[]){const X=this.layoutConfig.disableVendorPrefixes?Le:(0,L.GK)(Le);ue.forEach(xe=>{this._applyMultiValueStyleToElement(X,xe)})}getFlowDirection(Le){const ue="flex-direction";let X=this.lookupStyle(Le,ue);return[X||"row",this.lookupInlineStyle(Le,ue)||(0,u.PM)(this._platformId)&&this._serverModuleLoaded?X:""]}hasWrap(Le){return"wrap"===this.lookupStyle(Le,"flex-wrap")}lookupAttributeValue(Le,ue){return Le.getAttribute(ue)??""}lookupInlineStyle(Le,ue){return(0,u.NF)(this._platformId)?Le.style.getPropertyValue(ue):function pe(Pt,Xt){return dt(Pt)[Xt]??""}(Le,ue)}lookupStyle(Le,ue,X=!1){let xe="";return Le&&((xe=this.lookupInlineStyle(Le,ue))||((0,u.NF)(this._platformId)?X||(xe=getComputedStyle(Le).getPropertyValue(ue)):this._serverModuleLoaded&&(xe=this._serverStylesheet.getStyleForElement(Le,ue)))),xe?xe.trim():""}_applyMultiValueStyleToElement(Le,ue){Object.keys(Le).sort().forEach(X=>{const xe=Le[X],et=Array.isArray(xe)?xe:[xe];et.sort();for(let j of et)j=j?j+"":"",(0,u.NF)(this._platformId)||!this._serverModuleLoaded?(0,u.NF)(this._platformId)?ue.style.setProperty(X,j):Ae(ue,X,j):this._serverStylesheet.addStyleToElement(ue,X,j)})}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(t.LFG(q),t.LFG(ie),t.LFG(t.Lbi),t.LFG(T))};static#t=this.\u0275prov=t.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();function Ae(Pt,Xt,Le){Xt=Xt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const ue=dt(Pt);ue[Xt]=Le??"",function Ze(Pt,Xt){let Le="";for(const ue in Xt)Xt[ue]&&(Le+=`${ue}:${Xt[ue]};`);Pt.setAttribute("style",Le)}(Pt,ue)}function dt(Pt){const Xt={},Le=Pt.getAttribute("style");if(Le){const ue=Le.split(/;+/g);for(let X=0;X<ue.length;X++){const xe=ue[X].trim();if(xe.length>0){const et=xe.indexOf(":");if(-1===et)throw new Error(`Invalid CSS style: ${xe}`);Xt[xe.substr(0,et).trim()]=xe.substr(et+1).trim()}}}return Xt}function Fe(Pt,Xt){return(Xt&&Xt.priority||0)-(Pt&&Pt.priority||0)}function Xe(Pt,Xt){return(Pt.priority||0)-(Xt.priority||0)}let Ie=(()=>{class Pt{constructor(Le,ue,X,xe){this._zone=Le,this._platformId=ue,this._document=X,this._nonce=xe,this.source=new e.X(new Q(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Le=[];return this.registry.forEach((ue,X)=>{ue.matches&&Le.push(X)}),Le}isActive(Le){return this.registry.get(Le)?.matches??this.registerQuery(Le).some(X=>X.matches)}observe(Le,ue=!1){if(Le&&Le.length){const X=this._observable$.pipe((0,y.h)(et=>!ue||Le.indexOf(et.mediaQuery)>-1)),xe=new m.y(et=>{const j=this.registerQuery(Le);if(j.length){const F=j.pop();j.forEach(N=>{et.next(N)}),this.source.next(F)}et.complete()});return(0,p.T)(xe,X)}return this._observable$}registerQuery(Le){const ue=Array.isArray(Le)?Le:[Le],X=[];return function we(Pt,Xt,Le){const ue=Pt.filter(X=>!W[X]);if(ue.length>0){const X=ue.join(", ");try{const xe=Xt.createElement("style");xe.setAttribute("type","text/css"),Le&&xe.setAttribute("nonce",Le),xe.styleSheet||xe.appendChild(Xt.createTextNode(`\n/*\n  @ngbracket/ngx-layout - workaround for possible browser quirk with mediaQuery listeners\n  see http://bit.ly/2sd4HMP\n*/\n@media ${X} {.fx-query-test{ }}\n`)),Xt.head.appendChild(xe),ue.forEach(et=>W[et]=xe)}catch(xe){console.error(xe)}}}(ue,this._document,this._nonce),ue.forEach(xe=>{const et=F=>{this._zone.run(()=>this.source.next(new Q(F.matches,xe)))};let j=this.registry.get(xe);j||(j=this.buildMQL(xe),j.addListener(et),this.pendingRemoveListenerFns.push(()=>j.removeListener(et)),this.registry.set(xe,j)),j.matches&&X.push(new Q(!0,xe))}),X}ngOnDestroy(){let Le;for(;Le=this.pendingRemoveListenerFns.pop();)Le()}buildMQL(Le){return function V(Pt,Xt){return Xt&&window.matchMedia("all").addListener?window.matchMedia(Pt):function P(Pt){const Xt=new EventTarget;return Xt.matches="all"===Pt||""===Pt,Xt.media=Pt,Xt.addListener=()=>{},Xt.removeListener=()=>{},Xt.addEventListener=()=>{},Xt.dispatchEvent=()=>!1,Xt.onchange=null,Xt}(Pt)}(Le,(0,u.NF)(this._platformId))}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(t.LFG(t.R0b),t.LFG(t.Lbi),t.LFG(u.K0),t.LFG(t.Ojb,8))};static#t=this.\u0275prov=t.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const W={},Se=/(\.|-|_)/g;function G(Pt){let Xt=Pt.length>0?Pt.charAt(0):"",Le=Pt.length>1?Pt.slice(1):"";return Xt.toUpperCase()+Le}const tt=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],Re="(orientation: portrait) and (max-width: 599.98px)",Ft="(orientation: landscape) and (max-width: 959.98px)",mt="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",sn="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",hn="(orientation: portrait) and (min-width: 840px)",Nn="(orientation: landscape) and (min-width: 1280px)",Jt={HANDSET:`${Re}, ${Ft}`,TABLET:`${mt} , ${sn}`,WEB:`${hn}, ${Nn} `,HANDSET_PORTRAIT:`${Re}`,TABLET_PORTRAIT:`${mt} `,WEB_PORTRAIT:`${hn}`,HANDSET_LANDSCAPE:`${Ft}`,TABLET_LANDSCAPE:`${sn}`,WEB_LANDSCAPE:`${Nn}`},cn=[{alias:"handset",priority:2e3,mediaQuery:Jt.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Jt.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Jt.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Jt.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Jt.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Jt.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Jt.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Jt.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Jt.WEB_PORTRAIT,overlapping:!0}],He=new t.OlP("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{const Pt=(0,t.f3M)(_e),Xt=(0,t.f3M)(T),Le=[].concat.apply([],(Pt||[]).map(X=>Array.isArray(X)?X:[X]));return function De(Pt,Xt=[]){const Le={};return Pt.forEach(ue=>{Le[ue.alias]=ue}),Xt.forEach(ue=>{Le[ue.alias]?(0,L.kt)(Le[ue.alias],ue):Le[ue.alias]=ue}),function de(Pt){return Pt.forEach(Xt=>{Xt.suffix||(Xt.suffix=function be(Pt){return Pt.replace(Se,"|").split("|").map(G).join("")}(Xt.alias),Xt.overlapping=!!Xt.overlapping)}),Pt}(Object.keys(Le).map(ue=>Le[ue]))}((Xt.disableDefaultBps?[]:tt).concat(Xt.addOrientationBps?cn:[]),Le)}});let fe=(()=>{class Pt{constructor(Le){this.findByMap=new Map,this.items=[...Le].sort(Xe)}findByAlias(Le){return Le?this.findWithPredicate(Le,ue=>ue.alias===Le):null}findByQuery(Le){return this.findWithPredicate(Le,ue=>ue.mediaQuery===Le)}get overlappings(){return this.items.filter(Le=>Le.overlapping)}get aliases(){return this.items.map(Le=>Le.alias)}get suffixes(){return this.items.map(Le=>Le?.suffix??"")}findWithPredicate(Le,ue){let X=this.findByMap.get(Le);return X||(X=this.items.find(ue)??null,this.findByMap.set(Le,X)),X??null}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(t.LFG(He))};static#t=this.\u0275prov=t.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const Ne="print",$={alias:Ne,mediaQuery:Ne,priority:1e3};let Ee=(()=>{class Pt{constructor(Le,ue,X){this.breakpoints=Le,this.layoutConfig=ue,this._document=X,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new Ge,this.deactivations=[]}withPrintQuery(Le){return[...Le,Ne]}isPrintEvent(Le){return Le.mediaQuery.startsWith(Ne)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Le=>this.breakpoints.findByAlias(Le)).filter(Le=>null!==Le)}getEventBreakpoints({mediaQuery:Le}){const ue=this.breakpoints.findByQuery(Le);return(ue?[...this.printBreakPoints,ue]:this.printBreakPoints).sort(Fe)}updateEvent(Le){let ue=this.breakpoints.findByQuery(Le.mediaQuery);return this.isPrintEvent(Le)&&(ue=this.getEventBreakpoints(Le)[0],Le.mediaQuery=ue?.mediaQuery??""),Ce(Le,ue)}registerBeforeAfterPrintHooks(Le){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const ue=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Le,this.getEventBreakpoints(new Q(!0,Ne))),Le.updateStyles())},X=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Le),Le.updateStyles())};this._document.defaultView.addEventListener("beforeprint",ue),this._document.defaultView.addEventListener("afterprint",X),this.beforePrintEventListeners.push(ue),this.afterPrintEventListeners.push(X)}interceptEvents(Le){return ue=>{this.isPrintEvent(ue)?ue.matches&&!this.isPrinting?(this.startPrinting(Le,this.getEventBreakpoints(ue)),Le.updateStyles()):!ue.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Le),Le.updateStyles()):this.collectActivations(Le,ue)}}blockPropagation(){return Le=>!(this.isPrinting||this.isPrintEvent(Le))}startPrinting(Le,ue){this.isPrinting=!0,this.formerActivations=Le.activatedBreakpoints,Le.activatedBreakpoints=this.queue.addPrintBreakpoints(ue)}stopPrinting(Le){Le.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Le,ue){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!ue.matches){const X=this.breakpoints.findByQuery(ue.mediaQuery);if(X){const xe=this.formerActivations&&this.formerActivations.includes(X),et=!this.formerActivations&&Le.activatedBreakpoints.includes(X);(xe||et)&&(this.deactivations.push(X),this.deactivations.sort(Fe))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Le=>this._document.defaultView.removeEventListener("beforeprint",Le)),this.afterPrintEventListeners.forEach(Le=>this._document.defaultView.removeEventListener("afterprint",Le)))}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(t.LFG(fe),t.LFG(T),t.LFG(u.K0))};static#t=this.\u0275prov=t.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();class Ge{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Xt){return Xt.push($),Xt.sort(Fe),Xt.forEach(Le=>this.addBreakpoint(Le)),this.printBreakpoints}addBreakpoint(Xt){Xt&&void 0===this.printBreakpoints.find(ue=>ue.mediaQuery===Xt.mediaQuery)&&(this.printBreakpoints=function Ke(Pt){return Pt?.mediaQuery.startsWith(Ne)??!1}(Xt)?[Xt,...this.printBreakpoints]:[...this.printBreakpoints,Xt])}clear(){this.printBreakpoints=[]}}let Et=(()=>{class Pt{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Le){this._activatedBreakpoints=[...Le]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Le){this._useFallbacks=Le}constructor(Le,ue,X){this.matchMedia=Le,this.breakpoints=ue,this.hook=X,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new U.x,this.observeActivations()}onMediaChange(Le){const ue=this.findByQuery(Le.mediaQuery);if(ue){Le=Ce(Le,ue);const X=this.activatedBreakpoints.indexOf(ue);Le.matches&&-1===X?(this._activatedBreakpoints.push(ue),this._activatedBreakpoints.sort(Fe),this.updateStyles()):!Le.matches&&-1!==X&&(this._activatedBreakpoints.splice(X,1),this._activatedBreakpoints.sort(Fe),this.updateStyles())}}init(Le,ue,X,xe,et=[]){Tt(this.updateMap,Le,ue,X),Tt(this.clearMap,Le,ue,xe),this.buildElementKeyMap(Le,ue),this.watchExtraTriggers(Le,ue,et)}getValue(Le,ue,X){const xe=this.elementMap.get(Le);if(xe){const et=void 0!==X?xe.get(X):this.getActivatedValues(xe,ue);if(et)return et.get(ue)}}hasValue(Le,ue){const X=this.elementMap.get(Le);if(X){const xe=this.getActivatedValues(X,ue);if(xe)return void 0!==xe.get(ue)||!1}return!1}setValue(Le,ue,X,xe){let et=this.elementMap.get(Le);if(et){const F=(et.get(xe)??new Map).set(ue,X);et.set(xe,F),this.elementMap.set(Le,et)}else et=(new Map).set(xe,(new Map).set(ue,X)),this.elementMap.set(Le,et);const j=this.getValue(Le,ue);void 0!==j&&this.updateElement(Le,ue,j)}trackValue(Le,ue){return this.subject.asObservable().pipe((0,y.h)(X=>X.element===Le&&X.key===ue))}updateStyles(){this.elementMap.forEach((Le,ue)=>{const X=new Set(this.elementKeyMap.get(ue));let xe=this.getActivatedValues(Le);xe&&xe.forEach((et,j)=>{this.updateElement(ue,j,et),X.delete(j)}),X.forEach(et=>{if(xe=this.getActivatedValues(Le,et),xe){const j=xe.get(et);this.updateElement(ue,et,j)}else this.clearElement(ue,et)})})}clearElement(Le,ue){const X=this.clearMap.get(Le);if(X){const xe=X.get(ue);xe&&(xe(),this.subject.next({element:Le,key:ue,value:""}))}}updateElement(Le,ue,X){const xe=this.updateMap.get(Le);if(xe){const et=xe.get(ue);et&&(et(X),this.subject.next({element:Le,key:ue,value:X}))}}releaseElement(Le){const ue=this.watcherMap.get(Le);ue&&(ue.forEach(xe=>xe.unsubscribe()),this.watcherMap.delete(Le));const X=this.elementMap.get(Le);X&&(X.forEach((xe,et)=>X.delete(et)),this.elementMap.delete(Le))}triggerUpdate(Le,ue){const X=this.elementMap.get(Le);if(X){const xe=this.getActivatedValues(X,ue);xe&&(ue?this.updateElement(Le,ue,xe.get(ue)):xe.forEach((et,j)=>this.updateElement(Le,j,et)))}}buildElementKeyMap(Le,ue){let X=this.elementKeyMap.get(Le);X||(X=new Set,this.elementKeyMap.set(Le,X)),X.add(ue)}watchExtraTriggers(Le,ue,X){if(X&&X.length){let xe=this.watcherMap.get(Le);if(xe||(xe=new Map,this.watcherMap.set(Le,xe)),!xe.get(ue)){const j=(0,p.T)(...X).subscribe(()=>{const F=this.getValue(Le,ue);this.updateElement(Le,ue,F)});xe.set(ue,j)}}}findByQuery(Le){return this.breakpoints.findByQuery(Le)}getActivatedValues(Le,ue){for(let xe=0;xe<this.activatedBreakpoints.length;xe++){const j=Le.get(this.activatedBreakpoints[xe].alias);if(j&&(void 0===ue||j.has(ue)&&null!=j.get(ue)))return j}if(!this._useFallbacks)return;const X=Le.get("");return void 0===ue||X&&X.has(ue)?X:void 0}observeActivations(){const Le=this.breakpoints.items.map(ue=>ue.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Le)).pipe((0,O.b)(this.hook.interceptEvents(this)),(0,y.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(t.LFG(Ie),t.LFG(fe),t.LFG(Ee))};static#t=this.\u0275prov=t.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();function Tt(Pt,Xt,Le,ue){if(void 0!==ue){const X=Pt.get(Xt)??new Map;X.set(Le,ue),Pt.set(Xt,X)}}let tn=(()=>{class Pt{get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(Le){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Le,this.marshal.activatedAlias)}constructor(Le,ue,X,xe){this.elementRef=Le,this.styleBuilder=ue,this.styler=X,this.marshal=xe,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new U.x,this.styleCache=new Map}ngOnChanges(Le){Object.keys(Le).forEach(ue=>{if(-1!==this.inputs.indexOf(ue)){const X=ue.split(".").slice(1).join(".");this.setValue(Le[ue].currentValue,X)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Le=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Le)}addStyles(Le,ue){const X=this.styleBuilder,xe=X.shouldCache;let et=this.styleCache.get(Le);(!et||!xe)&&(et=X.buildStyles(Le,ue),xe&&this.styleCache.set(Le,et)),this.mru={...et},this.applyStyleToElement(et),X.sideEffect(Le,et,ue)}clearStyles(){Object.keys(this.mru).forEach(Le=>{this.mru[Le]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Le,ue=!1){if(Le){const[X,xe]=this.styler.getFlowDirection(Le);if(!xe&&ue){const et=(0,L.Ar)(X);this.styler.applyStyleToElements(et,[Le])}return X.trim()}return"row"}hasWrap(Le){return this.styler.hasWrap(Le)}applyStyleToElement(Le,ue,X=this.nativeElement){this.styler.applyStyleToElement(X,Le,ue)}setValue(Le,ue){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Le,ue)}updateWithValue(Le){this.currentValue!==Le&&(this.addStyles(Le),this.currentValue=Le)}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(t.Y36(t.SBq),t.Y36(Ve),t.Y36(ae),t.Y36(Et))};static#t=this.\u0275dir=t.lG2({type:Pt,features:[t.TTD]})}return Pt})();EventTarget;let Ue=(()=>{class Pt{constructor(Le,ue,X){this.breakpoints=Le,this.matchMedia=ue,this.hook=X,this.filterOverlaps=!1,this.destroyed$=new U.x,this._media$=this.watchActivations()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}asObservable(){return this._media$}isActive(Le){return function Ye(Pt){return Pt.flatMap(Xt=>Xt.split(",")).map(Xt=>Xt.trim())}(function Bt(Pt){return Array.isArray(Pt)?Pt:[Pt]}(Le)).some(X=>{const xe=function nt(Pt,Xt){return(Xt.findByAlias(Pt)??Xt.findByQuery(Pt))?.mediaQuery??null}(X,this.breakpoints);return null!==xe&&this.matchMedia.isActive(xe)})}watchActivations(){const Le=this.breakpoints.items.map(ue=>ue.mediaQuery);return this.buildObservable(Le)}buildObservable(Le){return this.matchMedia.observe(this.hook.withPrintQuery(Le)).pipe((0,y.h)(et=>et.matches),(0,M.b)(0,n.E),(0,E.w)(et=>(0,I.of)(this.findAllActivations())),(0,A.U)(et=>this.filterOverlaps?et.filter(j=>this.breakpoints.findByQuery(j.mediaQuery)?.overlapping??!0):et),(0,y.h)(et=>et.filter(F=>F.mediaQuery.length>0).length>0),(0,S.x)((et,j)=>{if(et.length!==j.length)return!1;const F=et.map(ne=>ne.mediaQuery),N=new Set(j.map(ne=>ne.mediaQuery));return 0===new Set(F.filter(ne=>!N.has(ne))).size}),(0,Z.R)(this.destroyed$))}findAllActivations(){return this.matchMedia.activations.map(X=>new Q(!0,X)).map(X=>this.hook.isPrintEvent(X)?this.hook.updateEvent(X):X).map(X=>Ce(X,this.breakpoints.findByQuery(X.mediaQuery))).sort(Fe)}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(t.LFG(fe),t.LFG(Ie),t.LFG(Ee))};static#t=this.\u0275prov=t.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();function $t(Pt,Xt="1",Le="1"){let ue=[Xt,Le,Pt],X=Pt.indexOf("calc");if(X>0){ue[2]=Mn(Pt.substring(X).trim());let xe=Pt.substr(0,X).trim().split(" ");2==xe.length&&(ue[0]=xe[0],ue[1]=xe[1])}else if(0==X)ue[2]=Mn(Pt.trim());else{let xe=Pt.split(" ");ue=3===xe.length?xe:[Xt,Le,Pt]}return ue}function Mn(Pt){return Pt.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}const Wn="x";function di(Pt,Xt){if(void 0===Xt)return Pt;const Le=ue=>{const X=+ue.slice(0,-Wn.length);return Pt.endsWith(Wn)&&!isNaN(X)?`${X*Xt.value}${Xt.unit}`:Pt};return Pt.includes(" ")?Pt.split(" ").map(Le).join(" "):Le(Pt)}},2609:(jt,$e,s)=>{"use strict";s.d($e,{Zl:()=>dt,aT:()=>Ie,b8:()=>q,oO:()=>y});var t=s(9212),u=s(4698),e=s(6814),m=s(2495),p=s(9773),U=s(6593);let n=(()=>{class W extends u.iR{set klass(P){this.ngClassInstance.klass=P,this.setValue(P,"")}constructor(P,V,Se,G,be,de,De){super(P,null,V,Se),this.ngClassInstance=De,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new e.mk(G,be,P,de)),this.init(),this.setValue("","")}updateWithValue(P){this.ngClassInstance.ngClass=P,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}static#e=this.\u0275fac=function(V){return new(V||W)(t.Y36(t.SBq),t.Y36(u.RK),t.Y36(u.yB),t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.Qsj),t.Y36(e.mk,10))};static#t=this.\u0275dir=t.lG2({type:W,inputs:{klass:[t.lbL.None,"class","klass"]},features:[t.qOj]})}return W})();const I=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let y=(()=>{class W extends n{constructor(){super(...arguments),this.inputs=I}static#e=this.\u0275fac=(()=>{let P;return function(Se){return(P||(P=t.n5z(W)))(Se||W)}})();static#t=this.\u0275dir=t.lG2({type:W,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[t.qOj]})}return W})(),oe=(()=>{class W extends u.QI{buildStyles(P,V){return{display:"true"===P?V.display||(V.isServer?"initial":""):"none"}}static#e=this.\u0275fac=(()=>{let P;return function(Se){return(P||(P=t.n5z(W)))(Se||W)}})();static#t=this.\u0275prov=t.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),le=(()=>{class W extends u.iR{constructor(P,V,Se,G,be,de,De){super(P,V,Se,G),this.layoutConfig=be,this.platformId=de,this.serverModuleLoaded=De,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const P=Array.from(this.nativeElement.children);for(let Se=0;Se<P.length;Se++)if(this.marshal.hasValue(P[Se],"flex")){this.hasFlexChild=!0;break}ee.has(this.nativeElement)?this.display=ee.get(this.nativeElement):(this.display=this.getDisplayStyle(),ee.set(this.nativeElement,this.display)),this.init();const V=this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY,"");void 0===V||""===V?this.setValue(!0,""):this.triggerUpdate()}ngOnChanges(P){Object.keys(P).forEach(V=>{if(-1!==this.inputs.indexOf(V)){const Se=V.split("."),G=Se.slice(1).join("."),be=P[V].currentValue;let de=""===be||0!==be&&(0,m.Ig)(be);"fxHide"===Se[0]&&(de=!de),this.setValue(de,G)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(P=>{this.marshal.trackValue(this.nativeElement,P).pipe((0,p.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(P=!0){if(""===P)return;const V=(0,e.PM)(this.platformId);this.addStyles(P?"true":"false",{display:this.display,isServer:V}),V&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}static#e=this.\u0275fac=function(V){return new(V||W)(t.Y36(t.SBq),t.Y36(oe),t.Y36(u.RK),t.Y36(u.yB),t.Y36(u.WU),t.Y36(t.Lbi),t.Y36(u.wY))};static#t=this.\u0275dir=t.lG2({type:W,features:[t.qOj,t.TTD]})}return W})();const ee=new WeakMap,K=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"];let q=(()=>{class W extends le{constructor(){super(...arguments),this.inputs=K}static#e=this.\u0275fac=(()=>{let P;return function(Se){return(P||(P=t.n5z(W)))(Se||W)}})();static#t=this.\u0275dir=t.lG2({type:W,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[t.qOj]})}return W})();class H{constructor(we,P,V=!0){this.key=we,this.value=P,this.key=V?we.replace(/['"]/g,"").trim():we.trim(),this.value=V?P.replace(/['"]/g,"").trim():P.trim(),this.value=this.value.replace(/;/,"")}}function T(W){let we=typeof W;return"object"===we?W.constructor===Array?"array":W.constructor===Set?"set":"object":we}function Ve(W){const[we,...P]=W.split(":");return new H(we,P.join(":"))}function ae(W,we){return we.key&&(W[we.key]=we.value),W}let pe=(()=>{class W extends u.iR{constructor(P,V,Se,G,be,de,De,tt,Re){super(P,null,V,Se),this.sanitizer=G,this.ngStyleInstance=De,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new e.PC(P,be,de)),this.init();const Ft=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(Ft),this.isServer=tt&&(0,e.PM)(Re)}updateWithValue(P){const V=this.buildStyleMap(P);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...V},this.isServer&&this.applyStyleToElement(V),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(P){const V=Se=>this.sanitizer.sanitize(t.q3G.STYLE,Se)??"";if(P)switch(T(P)){case"string":return Fe(function ie(W,we=";"){return String(W).trim().split(we).map(P=>P.trim()).filter(P=>""!==P)}(P),V);case"array":return Fe(P,V);default:return function Ce(W,we){let P=[];return"set"===T(W)?W.forEach(V=>P.push(V)):Object.keys(W).forEach(V=>{P.push(`${V}:${W[V]}`)}),function _e(W,we){return W.map(Ve).filter(V=>!!V).map(V=>(we&&(V.value=we(V.value)),V)).reduce(ae,{})}(P,we)}(P,V)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}static#e=this.\u0275fac=function(V){return new(V||W)(t.Y36(t.SBq),t.Y36(u.RK),t.Y36(u.yB),t.Y36(U.H7),t.Y36(t.aQg),t.Y36(t.Qsj),t.Y36(e.PC,10),t.Y36(u.wY),t.Y36(t.Lbi))};static#t=this.\u0275dir=t.lG2({type:W,features:[t.qOj]})}return W})();const Ae=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let dt=(()=>{class W extends pe{constructor(){super(...arguments),this.inputs=Ae}static#e=this.\u0275fac=(()=>{let P;return function(Se){return(P||(P=t.n5z(W)))(Se||W)}})();static#t=this.\u0275dir=t.lG2({type:W,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[t.qOj]})}return W})();function Fe(W,we){return W.map(Ve).filter(V=>!!V).map(V=>(we&&(V.value=we(V.value)),V)).reduce(ae,{})}let Ie=(()=>{class W{static#e=this.\u0275fac=function(V){return new(V||W)};static#t=this.\u0275mod=t.oAB({type:W});static#n=this.\u0275inj=t.cJS({imports:[u.IR]})}return W})()},6433:(jt,$e,s)=>{"use strict";s.d($e,{SQ:()=>Ee,UT:()=>Q,Wh:()=>De,XD:()=>M,ae:()=>di,s9:()=>S,xw:()=>$t,yH:()=>Ie});var t=s(9388),u=s(9212),e=s(4698),m=s(2520),p=s(9773),U=s(8645);let n=(()=>{class Pt extends e.QI{buildStyles(Le){const ue={};switch(Le=Le||"stretch"){case"start":ue["align-self"]="flex-start";break;case"end":ue["align-self"]="flex-end";break;default:ue["align-self"]=Le}return ue}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275prov=u.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const I=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let y=(()=>{class Pt extends e.iR{constructor(Le,ue,X,xe){super(Le,X,ue,xe),this.DIRECTIVE_KEY="flex-align",this.styleCache=O,this.init()}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.Y36(u.SBq),u.Y36(e.RK),u.Y36(n),u.Y36(e.yB))};static#t=this.\u0275dir=u.lG2({type:Pt,features:[u.qOj]})}return Pt})();const O=new Map;let M=(()=>{class Pt extends y{constructor(){super(...arguments),this.inputs=I}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275dir=u.lG2({type:Pt,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[u.qOj]})}return Pt})();const E={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"};let A=(()=>{class Pt extends e.QI{buildStyles(Le){return E}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275prov=u.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})(),S=(()=>{class Pt extends e.iR{constructor(Le,ue,X,xe){super(Le,X,ue,xe),this.styleCache=Z,this.addStyles("")}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.Y36(u.SBq),u.Y36(e.RK),u.Y36(A),u.Y36(e.yB))};static#t=this.\u0275dir=u.lG2({type:Pt,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[u.qOj]})}return Pt})();const Z=new Map;let oe=(()=>{class Pt extends e.QI{constructor(Le){super(),this._config=Le}buildStyles(Le,ue){Le||="0",Le=(0,e.FL)(Le,this._config.multiplier);const X=String(Le).indexOf("%")>-1;!(String(Le).indexOf("px")>-1)&&!X&&!isNaN(+Le)&&(Le=`${Le}%`);const et=ue.isRtl?"margin-right":"margin-left";return(0,m.tj)(ue.layout)?{[et]:Le}:{"margin-top":Le}}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.LFG(e.WU))};static#t=this.\u0275prov=u.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const le=["fxFlexOffset","fxFlexOffset.xs","fxFlexOffset.sm","fxFlexOffset.md","fxFlexOffset.lg","fxFlexOffset.xl","fxFlexOffset.lt-sm","fxFlexOffset.lt-md","fxFlexOffset.lt-lg","fxFlexOffset.lt-xl","fxFlexOffset.gt-xs","fxFlexOffset.gt-sm","fxFlexOffset.gt-md","fxFlexOffset.gt-lg"];let K=(()=>{class Pt extends e.iR{constructor(Le,ue,X,xe,et){super(Le,X,et,xe),this.directionality=ue,this.DIRECTIVE_KEY="flex-offset",this.init([this.directionality.change]),this.parentElement&&this.marshal.trackValue(this.parentElement,"layout-gap").pipe((0,p.R)(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))}updateWithValue(Le=""){const ue=this.getFlexFlowDirection(this.parentElement,!0),X="rtl"===this.directionality.value;"row"===ue&&X?this.styleCache=q:"row"!==ue||X?"column"===ue&&X?this.styleCache=H:"column"===ue&&!X&&(this.styleCache=ie):this.styleCache=T,this.addStyles(Le+"",{layout:ue,isRtl:X})}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.Y36(u.SBq),u.Y36(t.Is),u.Y36(oe),u.Y36(e.yB),u.Y36(e.RK))};static#t=this.\u0275dir=u.lG2({type:Pt,features:[u.qOj]})}return Pt})(),Q=(()=>{class Pt extends K{constructor(){super(...arguments),this.inputs=le}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275dir=u.lG2({type:Pt,selectors:[["","fxFlexOffset",""],["","fxFlexOffset.xs",""],["","fxFlexOffset.sm",""],["","fxFlexOffset.md",""],["","fxFlexOffset.lg",""],["","fxFlexOffset.xl",""],["","fxFlexOffset.lt-sm",""],["","fxFlexOffset.lt-md",""],["","fxFlexOffset.lt-lg",""],["","fxFlexOffset.lt-xl",""],["","fxFlexOffset.gt-xs",""],["","fxFlexOffset.gt-sm",""],["","fxFlexOffset.gt-md",""],["","fxFlexOffset.gt-lg",""]],inputs:{fxFlexOffset:"fxFlexOffset","fxFlexOffset.xs":"fxFlexOffset.xs","fxFlexOffset.sm":"fxFlexOffset.sm","fxFlexOffset.md":"fxFlexOffset.md","fxFlexOffset.lg":"fxFlexOffset.lg","fxFlexOffset.xl":"fxFlexOffset.xl","fxFlexOffset.lt-sm":"fxFlexOffset.lt-sm","fxFlexOffset.lt-md":"fxFlexOffset.lt-md","fxFlexOffset.lt-lg":"fxFlexOffset.lt-lg","fxFlexOffset.lt-xl":"fxFlexOffset.lt-xl","fxFlexOffset.gt-xs":"fxFlexOffset.gt-xs","fxFlexOffset.gt-sm":"fxFlexOffset.gt-sm","fxFlexOffset.gt-md":"fxFlexOffset.gt-md","fxFlexOffset.gt-lg":"fxFlexOffset.gt-lg"},features:[u.qOj]})}return Pt})();const q=new Map,H=new Map,T=new Map,ie=new Map;let Ze=(()=>{class Pt extends e.QI{constructor(Le){super(),this.layoutConfig=Le}buildStyles(Le,ue){let[X,xe,...et]=Le.split(" "),j=et.join(" ");const F=ue.direction.indexOf("column")>-1?"column":"row",N=(0,m.tj)(F)?"max-width":"max-height",k=(0,m.tj)(F)?"min-width":"min-height",ne=String(j).indexOf("calc")>-1,z=ne||"auto"===j,re=String(j).indexOf("%")>-1&&!ne,B=String(j).indexOf("px")>-1||String(j).indexOf("rem")>-1||String(j).indexOf("em")>-1||String(j).indexOf("vw")>-1||String(j).indexOf("vh")>-1;let Y=ne||B;X="0"==X?0:X,xe="0"==xe?0:xe;const Qe=!X&&!xe;let _t={};const Vt={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(j||""){case"":j="row"===F?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":X=0,j="auto";break;case"grow":j="100%";break;case"noshrink":xe=0,j="auto";break;case"auto":break;case"none":X=0,xe=0,j="auto";break;default:!Y&&!re&&!isNaN(j)&&(j+="%"),"0%"===j&&(Y=!0),"0px"===j&&(j="0%"),_t=(0,m.kt)(Vt,ne?{"flex-grow":X,"flex-shrink":xe,"flex-basis":Y?j:"100%"}:{flex:`${X} ${xe} ${Y?j:"100%"}`})}return _t.flex||_t["flex-grow"]||(_t=(0,m.kt)(Vt,ne?{"flex-grow":X,"flex-shrink":xe,"flex-basis":j}:{flex:`${X} ${xe} ${j}`})),"0%"!==j&&"0px"!==j&&"0.000000001px"!==j&&"auto"!==j&&(_t[k]=Qe||Y&&X?j:null,_t[N]=Qe||!z&&xe?j:null),_t[k]||_t[N]?ue.hasWrap&&(_t[ne?"flex-basis":"flex"]=_t[N]?ne?_t[N]:`${X} ${xe} ${_t[N]}`:ne?_t[k]:`${X} ${xe} ${_t[k]}`):_t=(0,m.kt)(Vt,ne?{"flex-grow":X,"flex-shrink":xe,"flex-basis":j}:{flex:`${X} ${xe} ${j}`}),(0,m.kt)(_t,{"box-sizing":"border-box"})}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.LFG(e.WU))};static#t=this.\u0275prov=u.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const dt=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let Xe=(()=>{class Pt extends e.iR{get shrink(){return this.flexShrink}set shrink(Le){this.flexShrink=Le||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(Le){this.flexGrow=Le||"1",this.triggerReflow()}constructor(Le,ue,X,xe,et){super(Le,xe,ue,et),this.layoutConfig=X,this.marshal=et,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,p.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,p.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(Le){const X=Le.value.split(" ");this.direction=X[0],this.wrap=void 0!==X[1]&&"wrap"===X[1],this.triggerUpdate()}updateWithValue(Le){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const X=this.direction,xe=X.startsWith("row"),et=this.wrap;xe&&et?this.styleCache=P:xe&&!et?this.styleCache=W:!xe&&et?this.styleCache=V:!xe&&!et&&(this.styleCache=we);const j=String(Le).replace(";",""),F=(0,e.Ot)(j,this.flexGrow,this.flexShrink);this.addStyles(F.join(" "),{direction:X,hasWrap:et})}triggerReflow(){const Le=this.activatedValue;if(void 0!==Le){const ue=(0,e.Ot)(Le+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,ue.join(" "))}}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.Y36(u.SBq),u.Y36(e.RK),u.Y36(e.WU),u.Y36(Ze),u.Y36(e.yB))};static#t=this.\u0275dir=u.lG2({type:Pt,inputs:{shrink:[u.lbL.None,"fxShrink","shrink"],grow:[u.lbL.None,"fxGrow","grow"]},features:[u.qOj]})}return Pt})(),Ie=(()=>{class Pt extends Xe{constructor(){super(...arguments),this.inputs=dt}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275dir=u.lG2({type:Pt,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[u.qOj]})}return Pt})();const W=new Map,we=new Map,P=new Map,V=new Map;let Se=(()=>{class Pt extends e.QI{buildStyles(Le,ue){const X={},[xe,et]=Le.split(" ");switch(xe){case"center":X["justify-content"]="center";break;case"space-around":X["justify-content"]="space-around";break;case"space-between":X["justify-content"]="space-between";break;case"space-evenly":X["justify-content"]="space-evenly";break;case"end":case"flex-end":X["justify-content"]="flex-end";break;default:X["justify-content"]="flex-start"}switch(et){case"start":case"flex-start":X["align-items"]=X["align-content"]="flex-start";break;case"center":X["align-items"]=X["align-content"]="center";break;case"end":case"flex-end":X["align-items"]=X["align-content"]="flex-end";break;case"space-between":X["align-content"]="space-between",X["align-items"]="stretch";break;case"space-around":X["align-content"]="space-around",X["align-items"]="stretch";break;case"baseline":X["align-content"]="stretch",X["align-items"]="baseline";break;default:X["align-items"]=X["align-content"]="stretch"}return(0,m.kt)(X,{display:ue.inline?"inline-flex":"flex","flex-direction":ue.layout,"box-sizing":"border-box","max-width":"stretch"===et?(0,m.tj)(ue.layout)?null:"100%":null,"max-height":"stretch"===et&&(0,m.tj)(ue.layout)?"100%":null})}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275prov=u.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const G=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"];let de=(()=>{class Pt extends e.iR{constructor(Le,ue,X,xe){super(Le,X,ue,xe),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,p.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(Le){const ue=this.layout||"row",X=this.inline;"row"===ue&&X?this.styleCache=sn:"row"!==ue||X?"row-reverse"===ue&&X?this.styleCache=Nn:"row-reverse"!==ue||X?"column"===ue&&X?this.styleCache=hn:"column"!==ue||X?"column-reverse"===ue&&X?this.styleCache=Jt:"column-reverse"===ue&&!X&&(this.styleCache=mt):this.styleCache=Re:this.styleCache=Ft:this.styleCache=tt,this.addStyles(Le,{layout:ue,inline:X})}onLayoutChange(Le){const ue=Le.value.split(" ");this.layout=ue[0],this.inline=Le.value.includes("inline"),m.iQ.find(X=>X===this.layout)||(this.layout="row"),this.triggerUpdate()}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.Y36(u.SBq),u.Y36(e.RK),u.Y36(Se),u.Y36(e.yB))};static#t=this.\u0275dir=u.lG2({type:Pt,features:[u.qOj]})}return Pt})(),De=(()=>{class Pt extends de{constructor(){super(...arguments),this.inputs=G}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275dir=u.lG2({type:Pt,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[u.qOj]})}return Pt})();const tt=new Map,Re=new Map,Ft=new Map,mt=new Map,sn=new Map,hn=new Map,Nn=new Map,Jt=new Map,cn={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let He=(()=>{class Pt extends e.QI{constructor(Le,ue){super(),this._styler=Le,this._config=ue}buildStyles(Le,ue){return Le.endsWith(tn)?(Le=Le.slice(0,Le.indexOf(tn)),function Nt(Pt,Xt){const[Le,ue]=Pt.split(" "),xe=N=>`-${N}`;let et="0px",j=xe(ue??Le),F="0px";return"rtl"===Xt?F=xe(Le):et=xe(Le),{margin:`0px ${et} ${j} ${F}`}}(Le=(0,e.FL)(Le,this._config.multiplier),ue.directionality)):{}}sideEffect(Le,ue,X){const xe=X.items;if(Le.endsWith(tn)){Le=Le.slice(0,Le.indexOf(tn));const et=function rn(Pt,Xt){const[Le,ue]=Pt.split(" ");let xe="0px",j="0px";return"rtl"===Xt?j=Le:xe=Le,{padding:`0px ${xe} ${ue??Le} ${j}`}}(Le=(0,e.FL)(Le,this._config.multiplier),X.directionality);this._styler.applyStyleToElements(et,X.items)}else{Le=(0,e.FL)(Le,this._config.multiplier),Le=this.addFallbackUnit(Le);const et=xe.pop(),j=function Bt(Pt,Xt){const Le=ft(Xt.directionality,Xt.layout),ue={...cn};return ue[Le]=Pt,ue}(Le,X);this._styler.applyStyleToElements(j,xe),this._styler.applyStyleToElements(cn,[et])}}addFallbackUnit(Le){return isNaN(+Le)?Le:`${Le}${this._config.defaultUnit}`}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.LFG(e.RK),u.LFG(e.WU))};static#t=this.\u0275prov=u.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const fe=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let $=(()=>{class Pt extends e.iR{get childrenNodes(){const Le=this.nativeElement.children,ue=[];for(let X=Le.length;X--;)ue[X]=Le[X];return ue}constructor(Le,ue,X,xe,et,j){super(Le,et,xe,j),this.zone=ue,this.directionality=X,this.styleUtils=xe,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new U.x;const F=[this.directionality.change,this.observerSubject.asObservable()];this.init(F),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,p.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(Le){let X=Le.value.split(" ")[0];m.iQ.find(xe=>xe===X)||(X="row"),this.layout&&this.layout!==X&&this.clearStyles(),this.layout=X,this.triggerUpdate()}updateWithValue(Le){const ue=this.childrenNodes.filter(X=>1===X.nodeType&&this.willDisplay(X)).sort((X,xe)=>{const et=+this.styler.lookupStyle(X,"order"),j=+this.styler.lookupStyle(xe,"order");return isNaN(et)||isNaN(j)||et===j?0:et>j?1:-1});if(ue.length>0){const X=this.directionality.value,xe=this.layout;"row"===xe&&"rtl"===X?this.styleCache=Ge:"row"===xe&&"rtl"!==X?this.styleCache=Et:"column"===xe&&"rtl"===X?this.styleCache=Ke:"column"===xe&&"rtl"!==X&&(this.styleCache=Tt),this.addStyles(Le,{directionality:X,items:ue,layout:xe})}}clearStyles(){const Le=Object.keys(this.mru).length>0,ue=Le?"padding":ft(this.directionality.value,this.layout);Le&&super.clearStyles(),this.styleUtils.applyStyleToElements({[ue]:""},this.childrenNodes)}willDisplay(Le){const ue=this.marshal.getValue(Le,"show-hide");return!0===ue||void 0===ue&&"none"!==this.styleUtils.lookupStyle(Le,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(Le=>{Le.some(X=>X.addedNodes&&X.addedNodes.length>0||X.removedNodes&&X.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.Y36(u.SBq),u.Y36(u.R0b),u.Y36(t.Is),u.Y36(e.RK),u.Y36(He),u.Y36(e.yB))};static#t=this.\u0275dir=u.lG2({type:Pt,features:[u.qOj]})}return Pt})(),Ee=(()=>{class Pt extends ${constructor(){super(...arguments),this.inputs=fe}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275dir=u.lG2({type:Pt,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[u.qOj]})}return Pt})();const Ge=new Map,Ke=new Map,Et=new Map,Tt=new Map,tn=" grid";function ft(Pt,Xt){switch(Xt){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":default:return"rtl"===Pt?"margin-left":"margin-right";case"row-reverse":return"rtl"===Pt?"margin-right":"margin-left"}}let Ue=(()=>{class Pt extends e.QI{buildStyles(Le,{display:ue}){const X=(0,m.Ar)(Le);return{...X,display:"none"===ue?ue:X.display}}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275prov=u.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"})}return Pt})();const nt=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let zt=(()=>{class Pt extends e.iR{constructor(Le,ue,X,xe,et){super(Le,X,ue,xe),this._config=et,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(Le){const X=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=Mn.get(X)??new Map,Mn.set(X,this.styleCache),this.currentValue!==Le&&(this.addStyles(Le,{display:X}),this.currentValue=Le)}static#e=this.\u0275fac=function(ue){return new(ue||Pt)(u.Y36(u.SBq),u.Y36(e.RK),u.Y36(Ue),u.Y36(e.yB),u.Y36(e.WU))};static#t=this.\u0275dir=u.lG2({type:Pt,features:[u.qOj]})}return Pt})(),$t=(()=>{class Pt extends zt{constructor(){super(...arguments),this.inputs=nt}static#e=this.\u0275fac=(()=>{let Le;return function(X){return(Le||(Le=u.n5z(Pt)))(X||Pt)}})();static#t=this.\u0275dir=u.lG2({type:Pt,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[u.qOj]})}return Pt})();const Mn=new Map;let di=(()=>{class Pt{static#e=this.\u0275fac=function(ue){return new(ue||Pt)};static#t=this.\u0275mod=u.oAB({type:Pt});static#n=this.\u0275inj=u.cJS({imports:[e.IR,t.vT]})}return Pt})()},6429:(jt,$e,s)=>{"use strict";s.d($e,{o9:()=>It});var t=s(4698),u=s(2609),e=s(6433),m=s(9212);s(2495);let En=(()=>{class wt{static#e=this.\u0275fac=function(Vn){return new(Vn||wt)};static#t=this.\u0275mod=m.oAB({type:wt});static#n=this.\u0275inj=m.cJS({imports:[t.IR]})}return wt})();var ye=s(6814);let It=(()=>{class wt{static withConfig(pn,Vn=[]){return{ngModule:wt,providers:pn.serverLoaded?[{provide:t.WU,useValue:{...t.g5,...pn}},{provide:t.Bs,useValue:Vn,multi:!0},{provide:t.wY,useValue:!0}]:[{provide:t.WU,useValue:{...t.g5,...pn}},{provide:t.Bs,useValue:Vn,multi:!0}]}}constructor(pn,Vn){(0,ye.PM)(Vn)&&!pn&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static#e=this.\u0275fac=function(Vn){return new(Vn||wt)(m.LFG(t.wY),m.LFG(m.Lbi))};static#t=this.\u0275mod=m.oAB({type:wt});static#n=this.\u0275inj=m.cJS({imports:[e.ae,u.aT,En,e.ae,u.aT,En]})}return wt})();new m.GfV("16.1.2")},3999:(jt,$e,s)=>{"use strict";s.d($e,{Zw:()=>Z,aw:()=>Ie,X$:()=>Xe,sK:()=>dt});var t=s(9212),u=s(2096),e=s(2664),m=s(9315),p=s(5211),U=s(4911),n=s(8180),I=s(8645),L=s(4552);class y extends I.x{constructor(we=1/0,P=1/0,V=L.l){super(),this._bufferSize=we,this._windowTime=P,this._timestampProvider=V,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=P===1/0,this._bufferSize=Math.max(1,we),this._windowTime=Math.max(1,P)}next(we){const{isStopped:P,_buffer:V,_infiniteTimeWindow:Se,_timestampProvider:G,_windowTime:be}=this;P||(V.push(we),!Se&&V.push(G.now()+be)),this._trimBuffer(),super.next(we)}_subscribe(we){this._throwIfClosed(),this._trimBuffer();const P=this._innerSubscribe(we),{_infiniteTimeWindow:V,_buffer:Se}=this,G=Se.slice();for(let be=0;be<G.length&&!we.closed;be+=V?1:2)we.next(G[be]);return this._checkFinalizedStatuses(we),P}_trimBuffer(){const{_bufferSize:we,_timestampProvider:P,_buffer:V,_infiniteTimeWindow:Se}=this,G=(Se?1:2)*we;if(we<1/0&&G<V.length&&V.splice(0,V.length-G),!Se){const be=P.now();let de=0;for(let De=1;De<V.length&&V[De]<=be;De+=2)de=De;de&&V.splice(0,de+1)}}}var O=s(3020);function M(W,we,P){let V,Se=!1;return W&&"object"==typeof W?({bufferSize:V=1/0,windowTime:we=1/0,refCount:Se=!1,scheduler:P}=W):V=W??1/0,(0,O.B)({connector:()=>new y(V,we,P),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Se})}var E=s(7398),A=s(6328),S=s(4664);class Z{}let oe=(()=>{class W extends Z{getTranslation(P){return(0,u.of)({})}static \u0275fac=(()=>{let P;return function(Se){return(P||(P=t.n5z(W)))(Se||W)}})();static \u0275prov=t.Yz7({token:W,factory:W.\u0275fac})}return W})();class le{}let ee=(()=>{class W{handle(P){return P.key}static \u0275fac=function(V){return new(V||W)};static \u0275prov=t.Yz7({token:W,factory:W.\u0275fac})}return W})();function K(W,we){if(W===we)return!0;if(null===W||null===we)return!1;if(W!=W&&we!=we)return!0;let Se,G,be,P=typeof W;if(P==typeof we&&"object"==P){if(!Array.isArray(W)){if(Array.isArray(we))return!1;for(G in be=Object.create(null),W){if(!K(W[G],we[G]))return!1;be[G]=!0}for(G in we)if(!(G in be)&&typeof we[G]<"u")return!1;return!0}if(!Array.isArray(we))return!1;if((Se=W.length)==we.length){for(G=0;G<Se;G++)if(!K(W[G],we[G]))return!1;return!0}}return!1}function Q(W){return typeof W<"u"&&null!==W}function q(W){return W&&"object"==typeof W&&!Array.isArray(W)}function H(W,we){let P=Object.assign({},W);return q(W)&&q(we)&&Object.keys(we).forEach(V=>{q(we[V])?V in W?P[V]=H(W[V],we[V]):Object.assign(P,{[V]:we[V]}):Object.assign(P,{[V]:we[V]})}),P}class T{}let ie=(()=>{class W extends T{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(P,V){let Se;return Se="string"==typeof P?this.interpolateString(P,V):"function"==typeof P?this.interpolateFunction(P,V):P,Se}getValue(P,V){let Se="string"==typeof V?V.split("."):[V];V="";do{V+=Se.shift(),!Q(P)||!Q(P[V])||"object"!=typeof P[V]&&Se.length?Se.length?V+=".":P=void 0:(P=P[V],V="")}while(Se.length);return P}interpolateFunction(P,V){return P(V)}interpolateString(P,V){return V?P.replace(this.templateMatcher,(Se,G)=>{let be=this.getValue(V,G);return Q(be)?be:Se}):P}static \u0275fac=(()=>{let P;return function(Se){return(P||(P=t.n5z(W)))(Se||W)}})();static \u0275prov=t.Yz7({token:W,factory:W.\u0275fac})}return W})();class _e{}let Ce=(()=>{class W extends _e{compile(P,V){return P}compileTranslations(P,V){return P}static \u0275fac=(()=>{let P;return function(Se){return(P||(P=t.n5z(W)))(Se||W)}})();static \u0275prov=t.Yz7({token:W,factory:W.\u0275fac})}return W})();class Ve{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new t.vpe;onLangChange=new t.vpe;onDefaultLangChange=new t.vpe}const ae=new t.OlP("USE_STORE"),pe=new t.OlP("USE_DEFAULT_LANG"),Ae=new t.OlP("DEFAULT_LANGUAGE"),Ze=new t.OlP("USE_EXTEND");let dt=(()=>{class W{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new t.vpe;_onLangChange=new t.vpe;_onDefaultLangChange=new t.vpe;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(P){this.isolate?this._defaultLang=P:this.store.defaultLang=P}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(P){this.isolate?this._currentLang=P:this.store.currentLang=P}get langs(){return this.isolate?this._langs:this.store.langs}set langs(P){this.isolate?this._langs=P:this.store.langs=P}get translations(){return this.isolate?this._translations:this.store.translations}set translations(P){this.isolate?this._translations=P:this.store.translations=P}constructor(P,V,Se,G,be,de=!0,De=!1,tt=!1,Re){this.store=P,this.currentLoader=V,this.compiler=Se,this.parser=G,this.missingTranslationHandler=be,this.useDefaultLang=de,this.isolate=De,this.extend=tt,Re&&this.setDefaultLang(Re)}setDefaultLang(P){if(P===this.defaultLang)return;let V=this.retrieveTranslations(P);typeof V<"u"?(null==this.defaultLang&&(this.defaultLang=P),V.pipe((0,n.q)(1)).subscribe(Se=>{this.changeDefaultLang(P)})):this.changeDefaultLang(P)}getDefaultLang(){return this.defaultLang}use(P){if(P===this.currentLang)return(0,u.of)(this.translations[P]);let V=this.retrieveTranslations(P);return typeof V<"u"?(this.currentLang||(this.currentLang=P),V.pipe((0,n.q)(1)).subscribe(Se=>{this.changeLang(P)}),V):(this.changeLang(P),(0,u.of)(this.translations[P]))}retrieveTranslations(P){let V;return(typeof this.translations[P]>"u"||this.extend)&&(this._translationRequests[P]=this._translationRequests[P]||this.getTranslation(P),V=this._translationRequests[P]),V}getTranslation(P){this.pending=!0;const V=this.currentLoader.getTranslation(P).pipe(M(1),(0,n.q)(1));return this.loadingTranslations=V.pipe((0,E.U)(Se=>this.compiler.compileTranslations(Se,P)),M(1),(0,n.q)(1)),this.loadingTranslations.subscribe({next:Se=>{this.translations[P]=this.extend&&this.translations[P]?{...Se,...this.translations[P]}:Se,this.updateLangs(),this.pending=!1},error:Se=>{this.pending=!1}}),V}setTranslation(P,V,Se=!1){V=this.compiler.compileTranslations(V,P),this.translations[P]=(Se||this.extend)&&this.translations[P]?H(this.translations[P],V):V,this.updateLangs(),this.onTranslationChange.emit({lang:P,translations:this.translations[P]})}getLangs(){return this.langs}addLangs(P){P.forEach(V=>{-1===this.langs.indexOf(V)&&this.langs.push(V)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(P,V,Se){let G;if(V instanceof Array){let be={},de=!1;for(let De of V)be[De]=this.getParsedResult(P,De,Se),(0,e.b)(be[De])&&(de=!0);if(de){const De=V.map(tt=>(0,e.b)(be[tt])?be[tt]:(0,u.of)(be[tt]));return(0,m.D)(De).pipe((0,E.U)(tt=>{let Re={};return tt.forEach((Ft,mt)=>{Re[V[mt]]=Ft}),Re}))}return be}if(P&&(G=this.parser.interpolate(this.parser.getValue(P,V),Se)),typeof G>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(G=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],V),Se)),typeof G>"u"){let be={key:V,translateService:this};typeof Se<"u"&&(be.interpolateParams=Se),G=this.missingTranslationHandler.handle(be)}return typeof G<"u"?G:V}get(P,V){if(!Q(P)||!P.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,A.b)(Se=>(Se=this.getParsedResult(Se,P,V),(0,e.b)(Se)?Se:(0,u.of)(Se))));{let Se=this.getParsedResult(this.translations[this.currentLang],P,V);return(0,e.b)(Se)?Se:(0,u.of)(Se)}}getStreamOnTranslationChange(P,V){if(!Q(P)||!P.length)throw new Error('Parameter "key" required');return(0,p.z)((0,U.P)(()=>this.get(P,V)),this.onTranslationChange.pipe((0,S.w)(Se=>{const G=this.getParsedResult(Se.translations,P,V);return"function"==typeof G.subscribe?G:(0,u.of)(G)})))}stream(P,V){if(!Q(P)||!P.length)throw new Error('Parameter "key" required');return(0,p.z)((0,U.P)(()=>this.get(P,V)),this.onLangChange.pipe((0,S.w)(Se=>{const G=this.getParsedResult(Se.translations,P,V);return(0,e.b)(G)?G:(0,u.of)(G)})))}instant(P,V){if(!Q(P)||!P.length)throw new Error('Parameter "key" required');let Se=this.getParsedResult(this.translations[this.currentLang],P,V);if((0,e.b)(Se)){if(P instanceof Array){let G={};return P.forEach((be,de)=>{G[P[de]]=P[de]}),G}return P}return Se}set(P,V,Se=this.currentLang){this.translations[Se][P]=this.compiler.compile(V,Se),this.updateLangs(),this.onTranslationChange.emit({lang:Se,translations:this.translations[Se]})}changeLang(P){this.currentLang=P,this.onLangChange.emit({lang:P,translations:this.translations[P]}),null==this.defaultLang&&this.changeDefaultLang(P)}changeDefaultLang(P){this.defaultLang=P,this.onDefaultLangChange.emit({lang:P,translations:this.translations[P]})}reloadLang(P){return this.resetLang(P),this.getTranslation(P)}resetLang(P){this._translationRequests[P]=void 0,this.translations[P]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let P=window.navigator.languages?window.navigator.languages[0]:null;return P=P||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof P>"u"?void 0:(-1!==P.indexOf("-")&&(P=P.split("-")[0]),-1!==P.indexOf("_")&&(P=P.split("_")[0]),P)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let P=window.navigator.languages?window.navigator.languages[0]:null;return P=P||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,P}static \u0275fac=function(V){return new(V||W)(t.LFG(Ve),t.LFG(Z),t.LFG(_e),t.LFG(T),t.LFG(le),t.LFG(pe),t.LFG(ae),t.LFG(Ze),t.LFG(Ae))};static \u0275prov=t.Yz7({token:W,factory:W.\u0275fac})}return W})(),Xe=(()=>{class W{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(P,V){this.translate=P,this._ref=V}updateValue(P,V,Se){let G=be=>{this.value=void 0!==be?be:P,this.lastKey=P,this._ref.markForCheck()};if(Se){let be=this.translate.getParsedResult(Se,P,V);(0,e.b)(be.subscribe)?be.subscribe(G):G(be)}this.translate.get(P,V).subscribe(G)}transform(P,...V){if(!P||!P.length)return P;if(K(P,this.lastKey)&&K(V,this.lastParams))return this.value;let Se;if(Q(V[0])&&V.length)if("string"==typeof V[0]&&V[0].length){let G=V[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{Se=JSON.parse(G)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${V[0]}`)}}else"object"==typeof V[0]&&!Array.isArray(V[0])&&(Se=V[0]);return this.lastKey=P,this.lastParams=V,this.updateValue(P,Se),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(G=>{this.lastKey&&G.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(P,Se,G.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(G=>{this.lastKey&&(this.lastKey=null,this.updateValue(P,Se,G.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(P,Se))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(V){return new(V||W)(t.Y36(dt,16),t.Y36(t.sBO,16))};static \u0275pipe=t.Yjl({name:"translate",type:W,pure:!1});static \u0275prov=t.Yz7({token:W,factory:W.\u0275fac})}return W})(),Ie=(()=>{class W{static forRoot(P={}){return{ngModule:W,providers:[P.loader||{provide:Z,useClass:oe},P.compiler||{provide:_e,useClass:Ce},P.parser||{provide:T,useClass:ie},P.missingTranslationHandler||{provide:le,useClass:ee},Ve,{provide:ae,useValue:P.isolate},{provide:pe,useValue:P.useDefaultLang},{provide:Ze,useValue:P.extend},{provide:Ae,useValue:P.defaultLanguage},dt]}}static forChild(P={}){return{ngModule:W,providers:[P.loader||{provide:Z,useClass:oe},P.compiler||{provide:_e,useClass:Ce},P.parser||{provide:T,useClass:ie},P.missingTranslationHandler||{provide:le,useClass:ee},{provide:ae,useValue:P.isolate},{provide:pe,useValue:P.useDefaultLang},{provide:Ze,useValue:P.extend},{provide:Ae,useValue:P.defaultLanguage},dt]}}static \u0275fac=function(V){return new(V||W)};static \u0275mod=t.oAB({type:W});static \u0275inj=t.cJS({})}return W})()},3256:(jt,$e,s)=>{"use strict";var t;s.d($e,{pQ:()=>S,qE:()=>oe,sW:()=>Z});var u=s(9212),e=s(8645),m=s(7394),p=s(2181),U=s(7398),n=s(5661);class I{constructor(Q,q,H){this.name=Q,this.drake=q,this.options=H,this.initEvents=!1}}var L=function(K){return K.Cancel="cancel",K.Cloned="cloned",K.Drag="drag",K.DragEnd="dragend",K.Drop="drop",K.Out="out",K.Over="over",K.Remove="remove",K.Shadow="shadow",K.DropModel="dropModel",K.RemoveModel="removeModel",K}(L||{});const y=Object.keys(L).map(K=>L[K]),O=n||t||(t=s.t(n,2));class M{constructor(Q=O){this.build=Q}}const E=(K,Q,q)=>H=>H.pipe((0,p.h)(({event:T,name:ie})=>T===K&&(void 0===Q||ie===Q)),(0,U.U)(({name:T,args:ie})=>q(T,ie))),A=(K,[Q,q,H])=>({name:K,el:Q,container:q,source:H});let S=(()=>{class K{constructor(q){this.drakeFactory=q,this.groups={},this.dispatch$=new e.x,this.elContainerSource=H=>T=>this.dispatch$.pipe(E(H,T,A)),this.cancel=this.elContainerSource(L.Cancel),this.remove=this.elContainerSource(L.Remove),this.shadow=this.elContainerSource(L.Shadow),this.over=this.elContainerSource(L.Over),this.out=this.elContainerSource(L.Out),this.drag=H=>this.dispatch$.pipe(E(L.Drag,H,(T,[ie,_e])=>({name:T,el:ie,source:_e}))),this.dragend=H=>this.dispatch$.pipe(E(L.DragEnd,H,(T,[ie])=>({name:T,el:ie}))),this.drop=H=>this.dispatch$.pipe(E(L.Drop,H,(T,[ie,_e,Ce,Ve])=>({name:T,el:ie,target:_e,source:Ce,sibling:Ve}))),this.cloned=H=>this.dispatch$.pipe(E(L.Cloned,H,(T,[ie,_e,Ce])=>({name:T,clone:ie,original:_e,cloneType:Ce}))),this.dropModel=H=>this.dispatch$.pipe(E(L.DropModel,H,(T,[ie,_e,Ce,Ve,ae,pe,Ae,Ze,dt])=>({name:T,el:ie,target:_e,source:Ce,sibling:Ve,item:ae,sourceModel:pe,targetModel:Ae,sourceIndex:Ze,targetIndex:dt}))),this.removeModel=H=>this.dispatch$.pipe(E(L.RemoveModel,H,(T,[ie,_e,Ce,Ve,ae,pe])=>({name:T,el:ie,container:_e,source:Ce,item:Ve,sourceModel:ae,sourceIndex:pe}))),null==this.drakeFactory&&(this.drakeFactory=new M)}add(q){if(this.find(q.name))throw new Error('Group named: "'+q.name+'" already exists.');return this.groups[q.name]=q,this.handleModels(q),this.setupEvents(q),q}find(q){return this.groups[q]}destroy(q){const H=this.find(q);H&&(H.drake&&H.drake.destroy(),delete this.groups[q])}createGroup(q,H){return this.add(new I(q,this.drakeFactory.build([],H),H))}handleModels({name:q,drake:H,options:T}){let ie,_e,Ce;H.on("remove",(Ve,ae,pe)=>{if(!H.models)return;let Ae=H.models[H.containers.indexOf(pe)];Ae=Ae.slice(0);const Ze=Ae.splice(_e,1)[0];this.dispatch$.next({event:L.RemoveModel,name:q,args:[Ve,ae,pe,Ze,Ae,_e]})}),H.on("drag",(Ve,ae)=>{H.models&&(ie=Ve,_e=this.domIndexOf(Ve,ae))}),H.on("drop",(Ve,ae,pe,Ae)=>{if(!H.models||!ae)return;Ce=this.domIndexOf(Ve,ae);let Fe,Ze=H.models[H.containers.indexOf(pe)],dt=H.models[H.containers.indexOf(ae)];if(ae===pe)Ze=Ze.slice(0),Fe=Ze.splice(_e,1)[0],Ze.splice(Ce,0,Fe),dt=Ze;else{const Xe=ie!==Ve;if(Fe=Ze[_e],Xe){if(!T.copyItem)throw new Error("If you have enabled `copy` on a group, you must provide a `copyItem` function.");Fe=T.copyItem(Fe)}if(Xe||(Ze=Ze.slice(0),Ze.splice(_e,1)),dt=dt.slice(0),dt.splice(Ce,0,Fe),Xe)try{ae.removeChild(Ve)}catch{}}this.dispatch$.next({event:L.DropModel,name:q,args:[Ve,ae,pe,Ae,Fe,Ze,dt,_e,Ce]})})}setupEvents(q){if(q.initEvents)return;q.initEvents=!0;const H=q.name;y.forEach(_e=>{switch(_e){case L.Drag:case L.Drop:case L.DragEnd:case L.Cancel:case L.Remove:case L.Shadow:case L.Over:case L.Out:case L.Cloned:case L.DropModel:case L.RemoveModel:q.drake.on(_e,(...Ce)=>{this.dispatch$.next({event:_e,name:H,args:Ce})})}})}domIndexOf(q,H){if(H)return Array.prototype.indexOf.call(H.children,q)}static#e=this.\u0275fac=function(H){return new(H||K)(u.LFG(M,8))};static#t=this.\u0275prov=u.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})(),Z=(()=>{class K{get container(){return this.el&&this.el.nativeElement}constructor(q,H){this.el=q,this.dragulaService=H,this.dragulaModelChange=new u.vpe}ngOnChanges(q){if(q&&q.dragula){const{previousValue:H,currentValue:T}=q.dragula,Ce=!!T;!!H&&this.teardown(H),Ce&&this.setup()}else if(q&&q.dragulaModel){const{previousValue:H,currentValue:T}=q.dragulaModel,_e=this.group?.drake;if(this.dragula&&_e){_e.models=_e.models||[];const Ce=_e.models.indexOf(H);-1!==Ce?(_e.models.splice(Ce,1),T&&_e.models.splice(Ce,0,T)):T&&_e.models.push(T)}}}setup(){if(!this.dragula)return;let H=this.dragulaService.find(this.dragula);H||(H=this.dragulaService.createGroup(this.dragula,{})),(T=>{this.dragulaModel&&(T.drake?.models?T.drake?.models?.push(this.dragulaModel):T.drake&&(T.drake.models=[this.dragulaModel]))})(H),H.drake?.containers.push(this.container),this.subscribe(this.dragula),this.group=H}subscribe(q){this.subs=new m.w0,this.subs.add(this.dragulaService.dropModel(q).subscribe(({source:H,target:T,sourceModel:ie,targetModel:_e})=>{H===this.el.nativeElement?this.dragulaModelChange.emit(ie):T===this.el.nativeElement&&this.dragulaModelChange.emit(_e)})),this.subs.add(this.dragulaService.removeModel(q).subscribe(({source:H,sourceModel:T})=>{H===this.el.nativeElement&&this.dragulaModelChange.emit(T)}))}teardown(q){this.subs&&this.subs.unsubscribe();const H=this.dragulaService.find(q);if(H){const T=H.drake?.containers.indexOf(this.el.nativeElement);if(-1!==T&&H.drake?.containers.splice(T,1),this.dragulaModel&&H.drake&&H.drake.models){const ie=H.drake.models.indexOf(this.dragulaModel);-1!==ie&&H.drake.models.splice(ie,1)}}}ngOnDestroy(){this.dragula&&this.teardown(this.dragula)}static#e=this.\u0275fac=function(H){return new(H||K)(u.Y36(u.SBq),u.Y36(S))};static#t=this.\u0275dir=u.lG2({type:K,selectors:[["","dragula",""]],inputs:{dragula:"dragula",dragulaModel:"dragulaModel"},outputs:{dragulaModelChange:"dragulaModelChange"},features:[u.TTD]})}return K})(),oe=(()=>{class K{static forRoot(){return{ngModule:K,providers:[S]}}static#e=this.\u0275fac=function(H){return new(H||K)};static#t=this.\u0275mod=u.oAB({type:K});static#n=this.\u0275inj=u.cJS({providers:[S]})}return K})();new M((K,Q)=>new ee(K,Q));class ee{constructor(Q=[],q={},H){this.containers=Q,this.options=q,this.models=H,this.emitter$=new e.x,this.subs=new m.w0,this.dragging=!1}on(Q,q){this.subs.add(this.emitter$.pipe((0,p.h)(({eventType:H})=>H===Q)).subscribe(({eventType:H,args:T})=>{if(H!==L.Drag)if(H!==L.Drop)if(H!==L.Remove)q(T);else{const ie=Array.from(T);q(ie[0],ie[1],ie[2])}else{const ie=Array.from(T);q(ie[0],ie[1],ie[2],ie[3])}else{const ie=Array.from(T);q(ie[0],ie[1])}}))}start(Q){this.dragging=!0}end(){this.dragging=!1}cancel(Q){this.dragging=!1}canMove(Q){return!!this.options.accepts&&this.options.accepts(Q)}remove(){this.dragging=!1}destroy(){this.subs.unsubscribe()}emit(Q,...q){this.emitter$.next({eventType:Q,args:q})}}},8845:(jt,$e,s)=>{"use strict";s.d($e,{C6:()=>L,Ob:()=>y,bA:()=>n});var t=s(9212),u=s(6814);class e{constructor(M){this.rawFile=M;const E=M instanceof HTMLInputElement?M.value:M;this["_createFrom"+("string"==typeof E?"FakePath":"Object")](E)}_createFromFakePath(M){this.lastModifiedDate=void 0,this.size=void 0,this.type=`like/${M.slice(M.lastIndexOf(".")+1).toLowerCase()}`,this.name=M.slice(M.lastIndexOf("/")+M.lastIndexOf("\\")+2)}_createFromObject(M){this.size=M.size,this.type=M.type,this.name=M.name}}class m{constructor(M,E,A){this.url="/",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.uploader=M,this.some=E,this.options=A,this.file=new e(E),this._file=E,M.options&&(this.method=M.options.method||"POST",this.alias=M.options.itemAlias||"file"),this.url=M.options.url}upload(){try{this.uploader.uploadItem(this)}catch{this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}}cancel(){this.uploader.cancelItem(this)}remove(){this.uploader.removeFromQueue(this)}onBeforeUpload(){}onBuildForm(M){return{form:M}}onProgress(M){return{progress:M}}onSuccess(M,E,A){return{response:M,status:E,headers:A}}onError(M,E,A){return{response:M,status:E,headers:A}}onCancel(M,E,A){return{response:M,status:E,headers:A}}onComplete(M,E,A){return{response:M,status:E,headers:A}}_onBeforeUpload(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}_onBuildForm(M){this.onBuildForm(M)}_onProgress(M){this.progress=M,this.onProgress(M)}_onSuccess(M,E,A){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(M,E,A)}_onError(M,E,A){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(M,E,A)}_onCancel(M,E,A){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(M,E,A)}_onComplete(M,E,A){this.onComplete(M,E,A),this.uploader.options.removeAfterUpload&&this.remove()}_prepareToUploading(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}}let p=(()=>{class O{static#e=this.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"];static#t=this.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"];static#n=this.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"];static#i=this.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"];static#o=this.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream","application/x-zip-compressed","application/zip-compressed","application/x-7z-compressed","application/gzip","application/x-bzip2"];static getMimeClass(E){let A="application";return E?.type&&-1!==this.mime_psd.indexOf(E.type)||E?.type?.match("image.*")?A="image":E?.type?.match("video.*")?A="video":E?.type?.match("audio.*")?A="audio":"application/pdf"===E?.type?A="pdf":E?.type&&-1!==this.mime_compress.indexOf(E.type)?A="compress":E?.type&&-1!==this.mime_doc.indexOf(E.type)?A="doc":E?.type&&-1!==this.mime_xsl.indexOf(E.type)?A="xls":E?.type&&-1!==this.mime_ppt.indexOf(E.type)&&(A="ppt"),"application"===A&&E?.name&&(A=this.fileTypeDetection(E.name)),A}static fileTypeDetection(E){const A={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",bz2:"compress",gz:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},S=E.split(".");if(S.length<2)return"application";const Z=S[S.length-1].toLowerCase();return void 0===A[Z]?"application":A[Z]}}return O})();class n{constructor(M){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:E=>E._file,formatDataFunctionIsAsync:!1,url:""},this.setOptions(M),this.response=new t.vpe}setOptions(M){this.options=Object.assign(this.options,M),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters?.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters?.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters?.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters?.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(let E=0;E<this.queue.length;E++)this.queue[E].url=this.options.url}addToQueue(M,E,A){let S=E;const Z=[];for(const K of M)Z.push(K);const oe=this._getFilters(A),le=this.queue.length,ee=[];Z.map(K=>{S||(S=this.options);const Q=new e(K);if(this._isValidFile(Q,oe,S)){const q=new m(this,K,S);ee.push(q),this.queue.push(q),this._onAfterAddingFile(q)}else"number"==typeof this._failFilterIndex&&this._failFilterIndex>=0&&this._onWhenAddingFileFailed(Q,oe[this._failFilterIndex],S)}),this.queue.length!==le&&(this._onAfterAddingAll(ee),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()}removeFromQueue(M){const E=this.getIndexOfItem(M),A=this.queue[E];A.isUploading&&A.cancel(),this.queue.splice(E,1),this.progress=this._getTotalProgress()}clearQueue(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}uploadItem(M){const E=this.getIndexOfItem(M),A=this.queue[E],S=this.options.isHTML5?"_xhrTransport":"_iframeTransport";A._prepareToUploading(),!this.isUploading&&(this.isUploading=!0,this[S](A))}cancelItem(M){const E=this.getIndexOfItem(M),A=this.queue[E];A&&A.isUploading&&(this.options.isHTML5?A._xhr:A._form).abort()}uploadAll(){const M=this.getNotUploadedItems().filter(E=>!E.isUploading);M.length&&(M.map(E=>E._prepareToUploading()),M[0].upload())}cancelAll(){this.getNotUploadedItems().map(E=>E.cancel())}isFile(M){return function U(O){return File&&O instanceof File}(M)}isFileLikeObject(M){return M instanceof e}getIndexOfItem(M){return"number"==typeof M?M:this.queue.indexOf(M)}getNotUploadedItems(){return this.queue.filter(M=>!M.isUploaded)}getReadyItems(){return this.queue.filter(M=>M.isReady&&!M.isUploading).sort((M,E)=>M.index-E.index)}onAfterAddingAll(M){return{fileItems:M}}onBuildItemForm(M,E){return{fileItem:M,form:E}}onAfterAddingFile(M){return{fileItem:M}}onWhenAddingFileFailed(M,E,A){return{item:M,filter:E,options:A}}onBeforeUploadItem(M){return{fileItem:M}}onProgressItem(M,E){return{fileItem:M,progress:E}}onProgressAll(M){return{progress:M}}onSuccessItem(M,E,A,S){return{item:M,response:E,status:A,headers:S}}onErrorItem(M,E,A,S){return{item:M,response:E,status:A,headers:S}}onCancelItem(M,E,A,S){return{item:M,response:E,status:A,headers:S}}onCompleteItem(M,E,A,S){return{item:M,response:E,status:A,headers:S}}onCompleteAll(){}_mimeTypeFilter(M){return!(M?.type&&this.options.allowedMimeType&&-1===this.options.allowedMimeType?.indexOf(M.type))}_fileSizeFilter(M){return!(this.options.maxFileSize&&M.size>this.options.maxFileSize)}_fileTypeFilter(M){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(p.getMimeClass(M)))}_onErrorItem(M,E,A,S){M._onError(E,A,S),this.onErrorItem(M,E,A,S)}_onCompleteItem(M,E,A,S){M._onComplete(E,A,S),this.onCompleteItem(M,E,A,S);const Z=this.getReadyItems()[0];this.isUploading=!1,Z?Z.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())}_headersGetter(M){return E=>E?M[E.toLowerCase()]||void 0:M}_xhrTransport(M){const E=this,A=M._xhr=new XMLHttpRequest;let S;if(this._onBeforeUploadItem(M),"number"!=typeof M._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)this.options.formatDataFunction&&(S=this.options.formatDataFunction(M));else{S=new FormData,this._onBuildItemForm(M,S);const Z=()=>S.append(M.alias,M._file,M.file.name);this.options.parametersBeforeFiles||Z(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(oe=>{let le=this.options.additionalParameter?.[oe];"string"==typeof le&&le.indexOf("{{file_name}}")>=0&&M.file?.name&&(le=le.replace("{{file_name}}",M.file.name)),S.append(oe,le)}),Z&&this.options.parametersBeforeFiles&&Z()}if(A.upload.onprogress=Z=>{const oe=Math.round(Z.lengthComputable?100*Z.loaded/Z.total:0);this._onProgressItem(M,oe)},A.onload=()=>{const Z=this._parseHeaders(A.getAllResponseHeaders()),oe=this._transformResponse(A.response,Z);this[`_on${this._isSuccessCode(A.status)?"Success":"Error"}Item`](M,oe,A.status,Z),this._onCompleteItem(M,oe,A.status,Z)},A.onerror=()=>{const Z=this._parseHeaders(A.getAllResponseHeaders()),oe=this._transformResponse(A.response,Z);this._onErrorItem(M,oe,A.status,Z),this._onCompleteItem(M,oe,A.status,Z)},A.onabort=()=>{const Z=this._parseHeaders(A.getAllResponseHeaders()),oe=this._transformResponse(A.response,Z);this._onCancelItem(M,oe,A.status,Z),this._onCompleteItem(M,oe,A.status,Z)},M.method&&M.url&&A.open(M.method,M.url,!0),A.withCredentials=M.withCredentials,this.options.headers)for(const Z of this.options.headers)A.setRequestHeader(Z.name,Z.value);if(M.headers.length)for(const Z of M.headers)A.setRequestHeader(Z.name,Z.value);this.authToken&&this.authTokenHeader&&A.setRequestHeader(this.authTokenHeader,this.authToken),A.onreadystatechange=function(){A.readyState==XMLHttpRequest.DONE&&E.response.emit(A.responseText)},this.options.formatDataFunctionIsAsync?S.then(Z=>A.send(JSON.stringify(Z))):A.send(S),this._render()}_getTotalProgress(M=0){if(this.options.removeAfterUpload)return M;const E=this.getNotUploadedItems().length,S=100/this.queue.length;return Math.round((E?this.queue.length-E:this.queue.length)*S+M*S/100)}_getFilters(M){if(!M)return this.options?.filters||[];if(Array.isArray(M))return M;if("string"==typeof M){const E=M.match(/[^\s,]+/g);return this.options?.filters||[].filter(A=>-1!==E?.indexOf(A.name))}return this.options?.filters||[]}_render(){}_queueLimitFilter(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit}_isValidFile(M,E,A){return this._failFilterIndex=-1,!E.length||E.every(S=>("number"==typeof this._failFilterIndex&&this._failFilterIndex++,S.fn.call(this,M,A)))}_isSuccessCode(M){return M>=200&&M<300||304===M}_transformResponse(M,E){return M}_parseHeaders(M){const E={};let A,S,Z;return M&&M.split("\n").map(oe=>{Z=oe.indexOf(":"),A=oe.slice(0,Z).trim().toLowerCase(),S=oe.slice(Z+1).trim(),A&&(E[A]=E[A]?E[A]+", "+S:S)}),E}_onWhenAddingFileFailed(M,E,A){this.onWhenAddingFileFailed(M,E,A)}_onAfterAddingFile(M){this.onAfterAddingFile(M)}_onAfterAddingAll(M){this.onAfterAddingAll(M)}_onBeforeUploadItem(M){M._onBeforeUpload(),this.onBeforeUploadItem(M)}_onBuildItemForm(M,E){M._onBuildForm(E),this.onBuildItemForm(M,E)}_onProgressItem(M,E){const A=this._getTotalProgress(E);this.progress=A,M._onProgress(E),this.onProgressItem(M,E),this.onProgressAll(A),this._render()}_onSuccessItem(M,E,A,S){M._onSuccess(E,A,S),this.onSuccessItem(M,E,A,S)}_onCancelItem(M,E,A,S){M._onCancel(E,A,S),this.onCancelItem(M,E,A,S)}}let L=(()=>{class O{constructor(E){this.onFileSelected=new t.vpe,this.element=E}getOptions(){return this.uploader?.options}getFilters(){return""}isEmptyAfterSelection(){return!!this.element.nativeElement.attributes.multiple}onChange(){const E=this.element.nativeElement.files,A=this.getOptions(),S=this.getFilters();this.uploader?.addToQueue(E,A,S),this.onFileSelected.emit(E),this.isEmptyAfterSelection()&&(this.element.nativeElement.value="")}static#e=this.\u0275fac=function(A){return new(A||O)(t.Y36(t.SBq))};static#t=this.\u0275dir=t.lG2({type:O,selectors:[["","ng2FileSelect",""]],hostBindings:function(A,S){1&A&&t.NdJ("change",function(){return S.onChange()})},inputs:{uploader:"uploader"},outputs:{onFileSelected:"onFileSelected"}})}return O})(),y=(()=>{class O{static#e=this.\u0275fac=function(A){return new(A||O)};static#t=this.\u0275mod=t.oAB({type:O});static#n=this.\u0275inj=t.cJS({imports:[u.ez]})}return O})()},6805:(jt,$e,s)=>{"use strict";s.d($e,{yb:()=>U,Iq:()=>I});var t=s(6814),u=s(9212);const e=new u.OlP("WindowToken",typeof window<"u"&&window.document?{providedIn:"root",factory:()=>window}:{providedIn:"root",factory:()=>{}});var m=s(8645);let p=(()=>{class L{constructor(O,M,E){this.ngZone=O,this.document=M,this.window=E,this.copySubject=new m.x,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(O){this.config=O}copy(O){if(!this.isSupported||!O)return this.pushCopyResponse({isSuccess:!1,content:O});const M=this.copyFromContent(O);return this.pushCopyResponse(M?{content:O,isSuccess:M}:{isSuccess:!1,content:O})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}isTargetValid(O){if(O instanceof HTMLInputElement||O instanceof HTMLTextAreaElement){if(O.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}copyFromInputElement(O,M=!0){try{this.selectTarget(O);const E=this.copyText();return this.clearSelection(M?O:void 0,this.window),E&&this.isCopySuccessInIE11()}catch{return!1}}isCopySuccessInIE11(){const O=this.window.clipboardData;return!(O&&O.getData&&!O.getData("Text"))}copyFromContent(O,M=this.document.body){if(this.tempTextArea&&!M.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{M.appendChild(this.tempTextArea)}catch{throw new Error("Container should be a Dom element")}}this.tempTextArea.value=O;const E=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),E}destroy(O=this.document.body){this.tempTextArea&&(O.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(O){return O.select(),O.setSelectionRange(0,O.value.length),O.value.length}copyText(){return this.document.execCommand("copy")}clearSelection(O,M){O&&O.focus(),M.getSelection()?.removeAllRanges()}createTempTextArea(O,M){const E="rtl"===O.documentElement.getAttribute("dir");let A;return A=O.createElement("textarea"),A.style.fontSize="12pt",A.style.border="0",A.style.padding="0",A.style.margin="0",A.style.position="absolute",A.style[E?"right":"left"]="-9999px",A.style.top=(M.pageYOffset||O.documentElement.scrollTop)+"px",A.setAttribute("readonly",""),A}pushCopyResponse(O){this.copySubject.observers.length>0&&this.ngZone.run(()=>{this.copySubject.next(O)})}pushCopyReponse(O){this.pushCopyResponse(O)}}return L.\u0275fac=function(O){return new(O||L)(u.LFG(u.R0b),u.LFG(t.K0),u.LFG(e,8))},L.\u0275prov=u.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})(),U=(()=>{class L{constructor(O,M,E,A){this.ngZone=O,this.host=M,this.renderer=E,this.clipboardSrv=A,this.cbOnSuccess=new u.vpe,this.cbOnError=new u.vpe,this.onClick=S=>{this.clipboardSrv.isSupported?this.targetElm&&this.clipboardSrv.isTargetValid(this.targetElm)?this.handleResult(this.clipboardSrv.copyFromInputElement(this.targetElm),this.targetElm.value,S):this.cbContent&&this.handleResult(this.clipboardSrv.copyFromContent(this.cbContent,this.container),this.cbContent,S):this.handleResult(!1,void 0,S)}}ngOnInit(){this.ngZone.runOutsideAngular(()=>{this.clickListener=this.renderer.listen(this.host.nativeElement,"click",this.onClick)})}ngOnDestroy(){this.clickListener&&this.clickListener(),this.clipboardSrv.destroy(this.container)}handleResult(O,M,E){let A={isSuccess:O,content:M,successMessage:this.cbSuccessMsg,event:E};O?this.cbOnSuccess.observed&&this.ngZone.run(()=>{this.cbOnSuccess.emit(A)}):this.cbOnError.observed&&this.ngZone.run(()=>{this.cbOnError.emit(A)}),this.clipboardSrv.pushCopyResponse(A)}}return L.\u0275fac=function(O){return new(O||L)(u.Y36(u.R0b),u.Y36(u.SBq),u.Y36(u.Qsj),u.Y36(p))},L.\u0275dir=u.lG2({type:L,selectors:[["","ngxClipboard",""]],inputs:{targetElm:[u.lbL.None,"ngxClipboard","targetElm"],container:"container",cbContent:"cbContent",cbSuccessMsg:"cbSuccessMsg"},outputs:{cbOnSuccess:"cbOnSuccess",cbOnError:"cbOnError"}}),L})(),I=(()=>{class L{}return L.\u0275fac=function(O){return new(O||L)},L.\u0275mod=u.oAB({type:L}),L.\u0275inj=u.cJS({imports:[t.ez]}),L})()},6284:(jt,$e,s)=>{"use strict";s.d($e,{Kk:()=>hn,e4:()=>Nn});var t=s(9212),u=s(6814);const e=["dialogPopup"],m=["hueSlider"],p=["alphaSlider"];function U(Jt,cn){if(1&Jt&&t._UZ(0,"div"),2&Jt){const He=t.oxw();t.Gre("arrow arrow-",He.cpUsePosition,""),t.Udp("left",He.cpArrowPosition)("top",He.arrowTop,"px")}}function n(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"div",28),t.NdJ("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onColorChange(Ne))})("dragStart",function(){t.CHM(He);const Ne=t.oxw();return t.KtG(Ne.onDragStart("saturation-lightness"))})("dragEnd",function(){t.CHM(He);const Ne=t.oxw();return t.KtG(Ne.onDragEnd("saturation-lightness"))}),t._UZ(1,"div",14),t.qZA()}if(2&Jt){const He=t.oxw();t.Udp("background-color",He.hueSliderColor),t.Q6J("rgX",1)("rgY",1),t.xp6(),t.Udp("top",null==He.slider?null:He.slider.v,"px")("left",null==He.slider?null:He.slider.s,"px")}}function I(Jt,cn){1&Jt&&(t.O4$(),t.TgZ(0,"svg",29),t._UZ(1,"path",30)(2,"path",31),t.qZA())}function L(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"button",32),t.NdJ("click",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAddPresetColor(Ne,$.selectedColor))}),t._uU(1),t.qZA()}if(2&Jt){const He=t.oxw();t.Tol(He.cpAddColorButtonClass),t.Q6J("disabled",He.cpPresetColors&&He.cpPresetColors.length>=He.cpMaxPresetColorsLength),t.xp6(),t.hij(" ",He.cpAddColorButtonText," ")}}function y(Jt,cn){1&Jt&&t._UZ(0,"div",33)}function O(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"input",39),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAlphaInput(Ne))}),t.qZA()}if(2&Jt){const He=t.oxw(2);t.Q6J("rg",1)("value",null==He.cmykText?null:He.cmykText.a)}}function M(Jt,cn){1&Jt&&(t.TgZ(0,"div"),t._uU(1,"A"),t.qZA())}function E(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"div",34)(1,"div",35)(2,"input",36),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onCyanInput(Ne))}),t.qZA(),t.TgZ(3,"input",36),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onMagentaInput(Ne))}),t.qZA(),t.TgZ(4,"input",36),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onYellowInput(Ne))}),t.qZA(),t.TgZ(5,"input",36),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onBlackInput(Ne))}),t.qZA(),t.YNc(6,O,1,2,"input",37),t.qZA(),t.TgZ(7,"div",35)(8,"div"),t._uU(9,"C"),t.qZA(),t.TgZ(10,"div"),t._uU(11,"M"),t.qZA(),t.TgZ(12,"div"),t._uU(13,"Y"),t.qZA(),t.TgZ(14,"div"),t._uU(15,"K"),t.qZA(),t.YNc(16,M,2,0,"div",38),t.qZA()()}if(2&Jt){const He=t.oxw();t.Udp("display",3!==He.format?"none":"block"),t.xp6(2),t.Q6J("rg",100)("value",null==He.cmykText?null:He.cmykText.c),t.xp6(),t.Q6J("rg",100)("value",null==He.cmykText?null:He.cmykText.m),t.xp6(),t.Q6J("rg",100)("value",null==He.cmykText?null:He.cmykText.y),t.xp6(),t.Q6J("rg",100)("value",null==He.cmykText?null:He.cmykText.k),t.xp6(),t.Q6J("ngIf","disabled"!==He.cpAlphaChannel),t.xp6(10),t.Q6J("ngIf","disabled"!==He.cpAlphaChannel)}}function A(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"input",39),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAlphaInput(Ne))}),t.qZA()}if(2&Jt){const He=t.oxw(2);t.Q6J("rg",1)("value",null==He.hslaText?null:He.hslaText.a)}}function S(Jt,cn){1&Jt&&(t.TgZ(0,"div"),t._uU(1,"A"),t.qZA())}function Z(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"div",40)(1,"div",35)(2,"input",41),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onHueInput(Ne))}),t.qZA(),t.TgZ(3,"input",36),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onSaturationInput(Ne))}),t.qZA(),t.TgZ(4,"input",36),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onLightnessInput(Ne))}),t.qZA(),t.YNc(5,A,1,2,"input",37),t.qZA(),t.TgZ(6,"div",35)(7,"div"),t._uU(8,"H"),t.qZA(),t.TgZ(9,"div"),t._uU(10,"S"),t.qZA(),t.TgZ(11,"div"),t._uU(12,"L"),t.qZA(),t.YNc(13,S,2,0,"div",38),t.qZA()()}if(2&Jt){const He=t.oxw();t.Udp("display",2!==He.format?"none":"block"),t.xp6(2),t.Q6J("rg",360)("value",null==He.hslaText?null:He.hslaText.h),t.xp6(),t.Q6J("rg",100)("value",null==He.hslaText?null:He.hslaText.s),t.xp6(),t.Q6J("rg",100)("value",null==He.hslaText?null:He.hslaText.l),t.xp6(),t.Q6J("ngIf","disabled"!==He.cpAlphaChannel),t.xp6(8),t.Q6J("ngIf","disabled"!==He.cpAlphaChannel)}}function oe(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"input",39),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAlphaInput(Ne))}),t.qZA()}if(2&Jt){const He=t.oxw(2);t.Q6J("rg",1)("value",null==He.rgbaText?null:He.rgbaText.a)}}function le(Jt,cn){1&Jt&&(t.TgZ(0,"div"),t._uU(1,"A"),t.qZA())}function ee(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"div",42)(1,"div",35)(2,"input",43),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onRedInput(Ne))}),t.qZA(),t.TgZ(3,"input",43),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onGreenInput(Ne))}),t.qZA(),t.TgZ(4,"input",43),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onBlueInput(Ne))}),t.qZA(),t.YNc(5,oe,1,2,"input",37),t.qZA(),t.TgZ(6,"div",35)(7,"div"),t._uU(8,"R"),t.qZA(),t.TgZ(9,"div"),t._uU(10,"G"),t.qZA(),t.TgZ(11,"div"),t._uU(12,"B"),t.qZA(),t.YNc(13,le,2,0,"div",38),t.qZA()()}if(2&Jt){const He=t.oxw();t.Udp("display",1!==He.format?"none":"block"),t.xp6(2),t.Q6J("rg",255)("value",null==He.rgbaText?null:He.rgbaText.r),t.xp6(),t.Q6J("rg",255)("value",null==He.rgbaText?null:He.rgbaText.g),t.xp6(),t.Q6J("rg",255)("value",null==He.rgbaText?null:He.rgbaText.b),t.xp6(),t.Q6J("ngIf","disabled"!==He.cpAlphaChannel),t.xp6(8),t.Q6J("ngIf","disabled"!==He.cpAlphaChannel)}}function K(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"input",39),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAlphaInput(Ne))}),t.qZA()}if(2&Jt){const He=t.oxw(2);t.Q6J("rg",1)("value",He.hexAlpha)}}function Q(Jt,cn){1&Jt&&(t.TgZ(0,"div"),t._uU(1,"A"),t.qZA())}function q(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"div",44)(1,"div",35)(2,"input",45),t.NdJ("blur",function(){t.CHM(He);const Ne=t.oxw();return t.KtG(Ne.onHexInput(null))})("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onHexInput(Ne))}),t.qZA(),t.YNc(3,K,1,2,"input",37),t.qZA(),t.TgZ(4,"div",35)(5,"div"),t._uU(6,"Hex"),t.qZA(),t.YNc(7,Q,2,0,"div",38),t.qZA()()}if(2&Jt){const He=t.oxw();t.Udp("display",0!==He.format?"none":"block"),t.ekj("hex-alpha","forced"===He.cpAlphaChannel),t.xp6(2),t.Q6J("value",He.hexText),t.xp6(),t.Q6J("ngIf","forced"===He.cpAlphaChannel),t.xp6(4),t.Q6J("ngIf","forced"===He.cpAlphaChannel)}}function H(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"input",39),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAlphaInput(Ne))}),t.qZA()}if(2&Jt){const He=t.oxw(2);t.Q6J("rg",1)("value",null==He.hslaText?null:He.hslaText.a)}}function T(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"div",46)(1,"div",35)(2,"input",36),t.NdJ("keyup.enter",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onAcceptColor(Ne))})("newValue",function(Ne){t.CHM(He);const $=t.oxw();return t.KtG($.onValueInput(Ne))}),t.qZA(),t.YNc(3,H,1,2,"input",37),t.qZA(),t.TgZ(4,"div",35)(5,"div"),t._uU(6,"V"),t.qZA(),t.TgZ(7,"div"),t._uU(8,"A"),t.qZA()()()}if(2&Jt){const He=t.oxw();t.xp6(2),t.Q6J("rg",100)("value",null==He.hslaText?null:He.hslaText.l),t.xp6(),t.Q6J("ngIf","disabled"!==He.cpAlphaChannel)}}function ie(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"div",47)(1,"span",48),t.NdJ("click",function(){t.CHM(He);const Ne=t.oxw();return t.KtG(Ne.onFormatToggle(-1))}),t.qZA(),t.TgZ(2,"span",48),t.NdJ("click",function(){t.CHM(He);const Ne=t.oxw();return t.KtG(Ne.onFormatToggle(1))}),t.qZA()()}}function _e(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"span",55),t.NdJ("click",function(Ne){t.CHM(He);const $=t.oxw().$implicit,Ee=t.oxw(3);return t.KtG(Ee.onRemovePresetColor(Ne,$))}),t.qZA()}if(2&Jt){const He=t.oxw(4);t.Tol(He.cpRemoveColorButtonClass)}}function Ce(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"div",53),t.NdJ("click",function(){const $=t.CHM(He).$implicit,Ee=t.oxw(3);return t.KtG(Ee.setColorFromString($))}),t.YNc(1,_e,1,3,"span",54),t.qZA()}if(2&Jt){const He=cn.$implicit,fe=t.oxw(3);t.Udp("background-color",He),t.xp6(),t.Q6J("ngIf",fe.cpAddColorButton)}}function Ve(Jt,cn){if(1&Jt&&(t.TgZ(0,"div"),t.YNc(1,Ce,2,3,"div",52),t.qZA()),2&Jt){const He=t.oxw(2);t.Tol(He.cpPresetColorsClass),t.xp6(),t.Q6J("ngForOf",He.cpPresetColors)}}function ae(Jt,cn){if(1&Jt&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&Jt){const He=t.oxw(2);t.Tol(He.cpPresetEmptyMessageClass),t.xp6(),t.Oqu(He.cpPresetEmptyMessage)}}function pe(Jt,cn){if(1&Jt&&(t.TgZ(0,"div",49),t._UZ(1,"hr"),t.TgZ(2,"div",50),t._uU(3),t.qZA(),t.YNc(4,Ve,2,4,"div",51)(5,ae,2,4,"div",51),t.qZA()),2&Jt){const He=t.oxw();t.xp6(3),t.Oqu(He.cpPresetLabel),t.xp6(),t.Q6J("ngIf",null==He.cpPresetColors?null:He.cpPresetColors.length),t.xp6(),t.Q6J("ngIf",!(null!=He.cpPresetColors&&He.cpPresetColors.length)&&He.cpAddColorButton)}}function Ae(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"button",58),t.NdJ("click",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onCancelColor(Ne))}),t._uU(1),t.qZA()}if(2&Jt){const He=t.oxw(2);t.Tol(He.cpCancelButtonClass),t.xp6(),t.Oqu(He.cpCancelButtonText)}}function Ze(Jt,cn){if(1&Jt){const He=t.EpF();t.TgZ(0,"button",58),t.NdJ("click",function(Ne){t.CHM(He);const $=t.oxw(2);return t.KtG($.onAcceptColor(Ne))}),t._uU(1),t.qZA()}if(2&Jt){const He=t.oxw(2);t.Tol(He.cpOKButtonClass),t.xp6(),t.Oqu(He.cpOKButtonText)}}function dt(Jt,cn){if(1&Jt&&(t.TgZ(0,"div",56),t.YNc(1,Ae,2,4,"button",57)(2,Ze,2,4,"button",57),t.qZA()),2&Jt){const He=t.oxw();t.xp6(),t.Q6J("ngIf",He.cpCancelButton),t.xp6(),t.Q6J("ngIf",He.cpOKButton)}}function Fe(Jt,cn){1&Jt&&t.GkF(0)}function Xe(Jt,cn){if(1&Jt&&(t.TgZ(0,"div",59),t.YNc(1,Fe,1,0,"ng-container",60),t.qZA()),2&Jt){const He=t.oxw();t.xp6(),t.Q6J("ngTemplateOutlet",He.cpExtraTemplate)}}var Ie=function(Jt){return Jt[Jt.HEX=0]="HEX",Jt[Jt.RGBA=1]="RGBA",Jt[Jt.HSLA=2]="HSLA",Jt[Jt.CMYK=3]="CMYK",Jt}(Ie||{});class W{r;g;b;a;constructor(cn,He,fe,Ne){this.r=cn,this.g=He,this.b=fe,this.a=Ne}}class we{h;s;v;a;constructor(cn,He,fe,Ne){this.h=cn,this.s=He,this.v=fe,this.a=Ne}}class P{h;s;l;a;constructor(cn,He,fe,Ne){this.h=cn,this.s=He,this.l=fe,this.a=Ne}}class V{c;m;y;k;a;constructor(cn,He,fe,Ne,$=1){this.c=cn,this.m=He,this.y=fe,this.k=Ne,this.a=$}}let be=(()=>{class Jt{rg;text;newValue=new t.vpe;inputChange(He){const fe=He.target.value;if(void 0===this.rg)this.newValue.emit(fe);else{const Ne=parseFloat(fe);this.newValue.emit({v:Ne,rg:this.rg})}}static \u0275fac=function(fe){return new(fe||Jt)};static \u0275dir=t.lG2({type:Jt,selectors:[["","text",""]],hostBindings:function(fe,Ne){1&fe&&t.NdJ("input",function(Ee){return Ne.inputChange(Ee)})},inputs:{rg:"rg",text:"text"},outputs:{newValue:"newValue"}})}return Jt})(),de=(()=>{class Jt{elRef;listenerMove;listenerStop;rgX;rgY;slider;dragEnd=new t.vpe;dragStart=new t.vpe;newValue=new t.vpe;mouseDown(He){this.start(He)}touchStart(He){this.start(He)}constructor(He){this.elRef=He,this.listenerMove=fe=>this.move(fe),this.listenerStop=()=>this.stop()}move(He){He.preventDefault(),this.setCursor(He)}start(He){this.setCursor(He),He.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(He){const fe=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==He.pageX?He.pageX:He.touches[0].pageX)-fe.left-window.pageXOffset}getY(He){const fe=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==He.pageY?He.pageY:He.touches[0].pageY)-fe.top-window.pageYOffset}setCursor(He){const fe=this.elRef.nativeElement.offsetWidth,Ne=this.elRef.nativeElement.offsetHeight,$=Math.max(0,Math.min(this.getX(He),fe)),Ee=Math.max(0,Math.min(this.getY(He),Ne));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:$/fe,v:1-Ee/Ne,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:Ee/Ne,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:$/fe,rgX:this.rgX})}static \u0275fac=function(fe){return new(fe||Jt)(t.Y36(t.SBq))};static \u0275dir=t.lG2({type:Jt,selectors:[["","slider",""]],hostBindings:function(fe,Ne){1&fe&&t.NdJ("mousedown",function(Ee){return Ne.mouseDown(Ee)})("touchstart",function(Ee){return Ne.touchStart(Ee)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}})}return Jt})();class De{h;s;v;a;constructor(cn,He,fe,Ne){this.h=cn,this.s=He,this.v=fe,this.a=Ne}}class tt{h;s;v;a;constructor(cn,He,fe,Ne){this.h=cn,this.s=He,this.v=fe,this.a=Ne}}let Re=(()=>{class Jt{active=null;setActive(He){this.active&&this.active!==He&&"inline"!==this.active.cpDialogDisplay&&this.active.closeDialog(),this.active=He}hsva2hsla(He){const fe=He.h,Ne=He.s,$=He.v,Ee=He.a;if(0===$)return new P(fe,0,0,Ee);if(0===Ne&&1===$)return new P(fe,1,1,Ee);{const Ge=$*(2-Ne)/2;return new P(fe,$*Ne/(1-Math.abs(2*Ge-1)),Ge,Ee)}}hsla2hsva(He){const fe=Math.min(He.h,1),Ne=Math.min(He.s,1),$=Math.min(He.l,1),Ee=Math.min(He.a,1);if(0===$)return new we(fe,0,0,Ee);{const Ge=$+Ne*(1-Math.abs(2*$-1))/2;return new we(fe,2*(Ge-$)/Ge,Ge,Ee)}}hsvaToRgba(He){let fe,Ne,$;const Ee=He.h,Ge=He.s,Ke=He.v,Et=He.a,Tt=Math.floor(6*Ee),tn=6*Ee-Tt,rn=Ke*(1-Ge),Nt=Ke*(1-tn*Ge),ft=Ke*(1-(1-tn)*Ge);switch(Tt%6){case 0:fe=Ke,Ne=ft,$=rn;break;case 1:fe=Nt,Ne=Ke,$=rn;break;case 2:fe=rn,Ne=Ke,$=ft;break;case 3:fe=rn,Ne=Nt,$=Ke;break;case 4:fe=ft,Ne=rn,$=Ke;break;case 5:fe=Ke,Ne=rn,$=Nt;break;default:fe=0,Ne=0,$=0}return new W(fe,Ne,$,Et)}cmykToRgb(He){return new W((1-He.c)*(1-He.k),(1-He.m)*(1-He.k),(1-He.y)*(1-He.k),He.a)}rgbaToCmyk(He){const fe=1-Math.max(He.r,He.g,He.b);return 1===fe?new V(0,0,0,1,He.a):new V((1-He.r-fe)/(1-fe),(1-He.g-fe)/(1-fe),(1-He.b-fe)/(1-fe),fe,He.a)}rgbaToHsva(He){let fe,Ne;const $=Math.min(He.r,1),Ee=Math.min(He.g,1),Ge=Math.min(He.b,1),Ke=Math.min(He.a,1),Et=Math.max($,Ee,Ge),Tt=Math.min($,Ee,Ge),tn=Et,rn=Et-Tt;if(Ne=0===Et?0:rn/Et,Et===Tt)fe=0;else{switch(Et){case $:fe=(Ee-Ge)/rn+(Ee<Ge?6:0);break;case Ee:fe=(Ge-$)/rn+2;break;case Ge:fe=($-Ee)/rn+4;break;default:fe=0}fe/=6}return new we(fe,Ne,tn,Ke)}rgbaToHex(He,fe){let Ne="#"+(16777216|He.r<<16|He.g<<8|He.b).toString(16).substr(1);return fe&&(Ne+=(256|Math.round(255*He.a)).toString(16).substr(1)),Ne}normalizeCMYK(He){return new V(He.c/100,He.m/100,He.y/100,He.k/100,He.a)}denormalizeCMYK(He){return new V(Math.floor(100*He.c),Math.floor(100*He.m),Math.floor(100*He.y),Math.floor(100*He.k),He.a)}denormalizeRGBA(He){return new W(Math.round(255*He.r),Math.round(255*He.g),Math.round(255*He.b),He.a)}stringToHsva(He="",fe=!1){let Ne=null;He=(He||"").toLowerCase();const $=[{re:/(rgb)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*%?,\s*(\d{1,3})\s*%?(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(Ee){return new W(parseInt(Ee[2],10)/255,parseInt(Ee[3],10)/255,parseInt(Ee[4],10)/255,isNaN(parseFloat(Ee[5]))?1:parseFloat(Ee[5]))}},{re:/(hsl)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(Ee){return new P(parseInt(Ee[2],10)/360,parseInt(Ee[3],10)/100,parseInt(Ee[4],10)/100,isNaN(parseFloat(Ee[5]))?1:parseFloat(Ee[5]))}}];$.push(fe?{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})?$/,parse:function(Ee){return new W(parseInt(Ee[1],16)/255,parseInt(Ee[2],16)/255,parseInt(Ee[3],16)/255,parseInt(Ee[4]||"FF",16)/255)}}:{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})$/,parse:function(Ee){return new W(parseInt(Ee[1],16)/255,parseInt(Ee[2],16)/255,parseInt(Ee[3],16)/255,1)}}),$.push({re:/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])$/,parse:function(Ee){return new W(parseInt(Ee[1]+Ee[1],16)/255,parseInt(Ee[2]+Ee[2],16)/255,parseInt(Ee[3]+Ee[3],16)/255,1)}});for(const Ee in $)if($.hasOwnProperty(Ee)){const Ge=$[Ee],Ke=Ge.re.exec(He),Et=Ke&&Ge.parse(Ke);if(Et)return Et instanceof W?Ne=this.rgbaToHsva(Et):Et instanceof P&&(Ne=this.hsla2hsva(Et)),Ne}return Ne}outputFormat(He,fe,Ne){switch("auto"===fe&&(fe=He.a<1?"rgba":"hex"),fe){case"hsla":const $=this.hsva2hsla(He),Ee=new P(Math.round(360*$.h),Math.round(100*$.s),Math.round(100*$.l),Math.round(100*$.a)/100);return He.a<1||"always"===Ne?"hsla("+Ee.h+","+Ee.s+"%,"+Ee.l+"%,"+Ee.a+")":"hsl("+Ee.h+","+Ee.s+"%,"+Ee.l+"%)";case"rgba":const Ge=this.denormalizeRGBA(this.hsvaToRgba(He));return He.a<1||"always"===Ne?"rgba("+Ge.r+","+Ge.g+","+Ge.b+","+Math.round(100*Ge.a)/100+")":"rgb("+Ge.r+","+Ge.g+","+Ge.b+")";default:const Ke="always"===Ne||"forced"===Ne;return this.rgbaToHex(this.denormalizeRGBA(this.hsvaToRgba(He)),Ke)}}static \u0275fac=function(fe){return new(fe||Jt)};static \u0275prov=t.Yz7({token:Jt,factory:Jt.\u0275fac})}return Jt})();const Ft=typeof window<"u"&&"ontouchstart"in window;let mt=(()=>{class Jt{ngZone;elRef;cdRef;document;platformId;service;isIE10=!1;cmyk;hsva;width;height;cmykColor;outputColor;initialColor;fallbackColor;listenerResize;listenerMouseDown;directiveInstance;sliderH;sliderDimMax;directiveElementRef;dialogArrowSize=10;dialogArrowOffset=15;dialogInputFields=[Ie.HEX,Ie.RGBA,Ie.HSLA,Ie.CMYK];useRootViewContainer=!1;show;hidden;top;left;position;format;slider;hexText;hexAlpha;cmykText;hslaText;rgbaText;arrowTop;selectedColor;hueSliderColor;alphaSliderColor;cpWidth;cpHeight;cpColorMode;cpCmykEnabled;cpAlphaChannel;cpOutputFormat;cpDisableInput;cpDialogDisplay;cpIgnoredElements;cpSaveClickOutside;cpCloseClickOutside;cpPosition;cpUsePosition;cpPositionOffset;cpOKButton;cpOKButtonText;cpOKButtonClass;cpCancelButton;cpCancelButtonText;cpCancelButtonClass;cpEyeDropper;eyeDropperSupported;cpPresetLabel;cpPresetColors;cpPresetColorsClass;cpMaxPresetColorsLength;cpPresetEmptyMessage;cpPresetEmptyMessageClass;cpAddColorButton;cpAddColorButtonText;cpAddColorButtonClass;cpRemoveColorButtonClass;cpArrowPosition;cpTriggerElement;cpExtraTemplate;dialogElement;hueSlider;alphaSlider;handleEsc(He){this.show&&"popup"===this.cpDialogDisplay&&this.onCancelColor(He)}handleEnter(He){this.show&&"popup"===this.cpDialogDisplay&&this.onAcceptColor(He)}constructor(He,fe,Ne,$,Ee,Ge){this.ngZone=He,this.elRef=fe,this.cdRef=Ne,this.document=$,this.platformId=Ee,this.service=Ge,this.eyeDropperSupported=(0,u.NF)(this.platformId)&&"EyeDropper"in this.document.defaultView}ngOnInit(){this.slider=new De(0,0,0,0),this.sliderDimMax=new tt(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.format=this.cpCmykEnabled?Ie.CMYK:"rgba"===this.cpOutputFormat?Ie.RGBA:"hsla"===this.cpOutputFormat?Ie.HSLA:Ie.HEX,this.listenerMouseDown=Ne=>{this.onMouseDown(Ne)},this.listenerResize=()=>{this.onResize()},this.openDialog(this.initialColor,!1)}ngOnDestroy(){this.closeDialog()}ngAfterViewInit(){230===this.cpWidth&&"inline"!==this.cpDialogDisplay||(this.sliderDimMax=new tt(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.updateColorPicker(!1),this.cdRef.detectChanges())}openDialog(He,fe=!0){this.service.setActive(this),this.width||(this.cpWidth=this.directiveElementRef.nativeElement.offsetWidth),this.height||(this.height=320),this.setInitialColor(He),this.setColorFromString(He,fe),this.openColorPicker()}closeDialog(){this.closeColorPicker()}setupDialog(He,fe,Ne,$,Ee,Ge,Ke,Et,Tt,tn,rn,Nt,ft,Bt,Ue,nt,Ye,zt,$t,Mn,Wn,di,Pt,Xt,Le,ue,X,xe,et,j,F,N,k,ne,z,re,B,Y){this.setInitialColor(Ne),this.setColorMode(Et),this.isIE10=10===function G(){let Jt="";typeof navigator<"u"&&(Jt=navigator.userAgent.toLowerCase());const cn=Jt.indexOf("msie ");return cn>0&&parseInt(Jt.substring(cn+5,Jt.indexOf(".",cn)),10)}(),this.directiveInstance=He,this.directiveElementRef=fe,this.cpDisableInput=Nt,this.cpCmykEnabled=Tt,this.cpAlphaChannel=tn,this.cpOutputFormat=rn,this.cpDialogDisplay=Ge,this.cpIgnoredElements=ft,this.cpSaveClickOutside=Bt,this.cpCloseClickOutside=Ue,this.useRootViewContainer=nt,this.width=this.cpWidth=parseInt($,10),this.height=this.cpHeight=parseInt(Ee,10),this.cpPosition=Ye,this.cpPositionOffset=parseInt(zt,10),this.cpOKButton=ue,this.cpOKButtonText=xe,this.cpOKButtonClass=X,this.cpCancelButton=et,this.cpCancelButtonText=F,this.cpCancelButtonClass=j,this.cpEyeDropper=re,this.fallbackColor=Ke||"#fff",this.setPresetConfig(Mn,Wn),this.cpPresetColorsClass=di,this.cpMaxPresetColorsLength=Pt,this.cpPresetEmptyMessage=Xt,this.cpPresetEmptyMessageClass=Le,this.cpAddColorButton=N,this.cpAddColorButtonText=ne,this.cpAddColorButtonClass=k,this.cpRemoveColorButtonClass=z,this.cpTriggerElement=B,this.cpExtraTemplate=Y,$t||(this.dialogArrowOffset=0),"inline"===Ge&&(this.dialogArrowSize=0,this.dialogArrowOffset=0),"hex"===rn&&"always"!==tn&&"forced"!==tn&&(this.cpAlphaChannel="disabled")}setColorMode(He){switch(He.toString().toUpperCase()){case"1":case"C":case"COLOR":default:this.cpColorMode=1;break;case"2":case"G":case"GRAYSCALE":this.cpColorMode=2;break;case"3":case"P":case"PRESETS":this.cpColorMode=3}}setInitialColor(He){this.initialColor=He}setPresetConfig(He,fe){this.cpPresetLabel=He,this.cpPresetColors=fe}setColorFromString(He,fe=!0,Ne=!0){let $;"always"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel?($=this.service.stringToHsva(He,!0),!$&&!this.hsva&&($=this.service.stringToHsva(He,!1))):$=this.service.stringToHsva(He,!1),!$&&!this.hsva&&($=this.service.stringToHsva(this.fallbackColor,!1)),$&&(this.hsva=$,this.sliderH=this.hsva.h,"hex"===this.cpOutputFormat&&"disabled"===this.cpAlphaChannel&&(this.hsva.a=1),this.updateColorPicker(fe,Ne))}onResize(){"fixed"===this.position?this.setDialogPosition():"inline"!==this.cpDialogDisplay&&this.closeColorPicker()}onDragEnd(He){this.directiveInstance.sliderDragEnd({slider:He,color:this.outputColor})}onDragStart(He){this.directiveInstance.sliderDragStart({slider:He,color:this.outputColor})}onMouseDown(He){this.show&&!this.isIE10&&"popup"===this.cpDialogDisplay&&He.target!==this.directiveElementRef.nativeElement&&!this.isDescendant(this.elRef.nativeElement,He.target)&&!this.isDescendant(this.directiveElementRef.nativeElement,He.target)&&0===this.cpIgnoredElements.filter(fe=>fe===He.target).length&&this.ngZone.run(()=>{this.cpSaveClickOutside?this.directiveInstance.colorSelected(this.outputColor):(this.hsva=null,this.setColorFromString(this.initialColor,!1),this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor),this.directiveInstance.colorCanceled()),this.cpCloseClickOutside&&this.closeColorPicker()})}onAcceptColor(He){He.stopPropagation(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor),"popup"===this.cpDialogDisplay&&this.closeColorPicker()}onCancelColor(He){this.hsva=null,He.stopPropagation(),this.directiveInstance.colorCanceled(),this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker())}onEyeDropper(){this.eyeDropperSupported&&(new window.EyeDropper).open().then(fe=>{this.setColorFromString(fe.sRGBHex,!0)})}onFormatToggle(He){const fe=this.dialogInputFields.length-(this.cpCmykEnabled?0:1),Ne=((this.dialogInputFields.indexOf(this.format)+He)%fe+fe)%fe;this.format=this.dialogInputFields[Ne]}onColorChange(He){this.hsva.s=He.s/He.rgX,this.hsva.v=He.v/He.rgY,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"lightness",value:this.hsva.v,color:this.outputColor}),this.directiveInstance.sliderChanged({slider:"saturation",value:this.hsva.s,color:this.outputColor})}onHueChange(He){this.hsva.h=He.v/He.rgX,this.sliderH=this.hsva.h,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"hue",value:this.hsva.h,color:this.outputColor})}onValueChange(He){this.hsva.v=He.v/He.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"value",value:this.hsva.v,color:this.outputColor})}onAlphaChange(He){this.hsva.a=He.v/He.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"alpha",value:this.hsva.a,color:this.outputColor})}onHexInput(He){if(null===He)this.updateColorPicker();else{He&&"#"!==He[0]&&(He="#"+He);let fe=/^#([a-f0-9]{3}|[a-f0-9]{6})$/gi;"always"===this.cpAlphaChannel&&(fe=/^#([a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})$/gi);const Ne=fe.test(He);Ne&&(He.length<5&&(He="#"+He.substring(1).split("").map($=>$+$).join("")),"forced"===this.cpAlphaChannel&&(He+=Math.round(255*this.hsva.a).toString(16)),this.setColorFromString(He,!0,!1)),this.directiveInstance.inputChanged({input:"hex",valid:Ne,value:He,color:this.outputColor})}}onRedInput(He){const fe=this.service.hsvaToRgba(this.hsva),Ne=!isNaN(He.v)&&He.v>=0&&He.v<=He.rg;Ne&&(fe.r=He.v/He.rg,this.hsva=this.service.rgbaToHsva(fe),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"red",valid:Ne,value:fe.r,color:this.outputColor})}onBlueInput(He){const fe=this.service.hsvaToRgba(this.hsva),Ne=!isNaN(He.v)&&He.v>=0&&He.v<=He.rg;Ne&&(fe.b=He.v/He.rg,this.hsva=this.service.rgbaToHsva(fe),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"blue",valid:Ne,value:fe.b,color:this.outputColor})}onGreenInput(He){const fe=this.service.hsvaToRgba(this.hsva),Ne=!isNaN(He.v)&&He.v>=0&&He.v<=He.rg;Ne&&(fe.g=He.v/He.rg,this.hsva=this.service.rgbaToHsva(fe),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"green",valid:Ne,value:fe.g,color:this.outputColor})}onHueInput(He){const fe=!isNaN(He.v)&&He.v>=0&&He.v<=He.rg;fe&&(this.hsva.h=He.v/He.rg,this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"hue",valid:fe,value:this.hsva.h,color:this.outputColor})}onValueInput(He){const fe=!isNaN(He.v)&&He.v>=0&&He.v<=He.rg;fe&&(this.hsva.v=He.v/He.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"value",valid:fe,value:this.hsva.v,color:this.outputColor})}onAlphaInput(He){const fe=!isNaN(He.v)&&He.v>=0&&He.v<=He.rg;fe&&(this.hsva.a=He.v/He.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"alpha",valid:fe,value:this.hsva.a,color:this.outputColor})}onLightnessInput(He){const fe=this.service.hsva2hsla(this.hsva),Ne=!isNaN(He.v)&&He.v>=0&&He.v<=He.rg;Ne&&(fe.l=He.v/He.rg,this.hsva=this.service.hsla2hsva(fe),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"lightness",valid:Ne,value:fe.l,color:this.outputColor})}onSaturationInput(He){const fe=this.service.hsva2hsla(this.hsva),Ne=!isNaN(He.v)&&He.v>=0&&He.v<=He.rg;Ne&&(fe.s=He.v/He.rg,this.hsva=this.service.hsla2hsva(fe),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"saturation",valid:Ne,value:fe.s,color:this.outputColor})}onCyanInput(He){!isNaN(He.v)&&He.v>=0&&He.v<=He.rg&&(this.cmyk.c=He.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"cyan",valid:!0,value:this.cmyk.c,color:this.outputColor})}onMagentaInput(He){!isNaN(He.v)&&He.v>=0&&He.v<=He.rg&&(this.cmyk.m=He.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"magenta",valid:!0,value:this.cmyk.m,color:this.outputColor})}onYellowInput(He){!isNaN(He.v)&&He.v>=0&&He.v<=He.rg&&(this.cmyk.y=He.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"yellow",valid:!0,value:this.cmyk.y,color:this.outputColor})}onBlackInput(He){!isNaN(He.v)&&He.v>=0&&He.v<=He.rg&&(this.cmyk.k=He.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"black",valid:!0,value:this.cmyk.k,color:this.outputColor})}onAddPresetColor(He,fe){He.stopPropagation(),this.cpPresetColors.filter(Ne=>Ne===fe).length||(this.cpPresetColors=this.cpPresetColors.concat(fe),this.directiveInstance.presetColorsChanged(this.cpPresetColors))}onRemovePresetColor(He,fe){He.stopPropagation(),this.cpPresetColors=this.cpPresetColors.filter(Ne=>Ne!==fe),this.directiveInstance.presetColorsChanged(this.cpPresetColors)}openColorPicker(){this.show||(this.show=!0,this.hidden=!0,setTimeout(()=>{this.hidden=!1,this.setDialogPosition(),this.cdRef.detectChanges()},0),this.directiveInstance.stateChanged(!0),this.isIE10||this.ngZone.runOutsideAngular(()=>{Ft?document.addEventListener("touchstart",this.listenerMouseDown):document.addEventListener("mousedown",this.listenerMouseDown)}),window.addEventListener("resize",this.listenerResize))}closeColorPicker(){this.show&&(this.show=!1,this.directiveInstance.stateChanged(!1),this.isIE10||(Ft?document.removeEventListener("touchstart",this.listenerMouseDown):document.removeEventListener("mousedown",this.listenerMouseDown)),window.removeEventListener("resize",this.listenerResize),this.cdRef.destroyed||this.cdRef.detectChanges())}updateColorPicker(He=!0,fe=!0,Ne=!1){if(this.sliderDimMax){let $,Ee,Ge;2===this.cpColorMode&&(this.hsva.s=0);const Ke=this.outputColor;if(Ee=this.service.hsva2hsla(this.hsva),this.cpCmykEnabled?(Ne?(Ge=this.service.cmykToRgb(this.service.normalizeCMYK(this.cmyk)),this.hsva=this.service.rgbaToHsva(Ge)):(Ge=this.service.hsvaToRgba(this.hsva),this.cmyk=this.service.denormalizeCMYK(this.service.rgbaToCmyk(Ge))),Ge=this.service.denormalizeRGBA(Ge),this.sliderH=this.hsva.h):Ge=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),$=this.service.denormalizeRGBA(this.service.hsvaToRgba(new we(this.sliderH||this.hsva.h,1,1,1))),fe&&(this.hslaText=new P(Math.round(360*Ee.h),Math.round(100*Ee.s),Math.round(100*Ee.l),Math.round(100*Ee.a)/100),this.rgbaText=new W(Ge.r,Ge.g,Ge.b,Math.round(100*Ge.a)/100),this.cpCmykEnabled&&(this.cmykText=new V(this.cmyk.c,this.cmyk.m,this.cmyk.y,this.cmyk.k,Math.round(100*this.cmyk.a)/100)),this.hexText=this.service.rgbaToHex(Ge,"always"===this.cpAlphaChannel),this.hexAlpha=this.rgbaText.a),"auto"===this.cpOutputFormat&&this.format!==Ie.RGBA&&this.format!==Ie.CMYK&&this.format!==Ie.HSLA&&this.hsva.a<1&&(this.format=this.hsva.a<1?Ie.RGBA:Ie.HEX),this.hueSliderColor="rgb("+$.r+","+$.g+","+$.b+")",this.alphaSliderColor="rgb("+Ge.r+","+Ge.g+","+Ge.b+")",this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",null),this.format!==Ie.CMYK)this.cmykColor="";else if("always"===this.cpAlphaChannel||"enabled"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel){const Et=Math.round(100*this.cmyk.a)/100;this.cmykColor=`cmyka(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k},${Et})`}else this.cmykColor=`cmyk(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k})`;this.slider=new De((this.sliderH||this.hsva.h)*this.sliderDimMax.h-8,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-8),He&&Ke!==this.outputColor&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.outputColor))}}setDialogPosition(){if("inline"===this.cpDialogDisplay)this.position="relative";else{let Ne,He="static",fe="",$=null,Ee=null,Ge=this.directiveElementRef.nativeElement.parentNode;const Ke=this.dialogElement.nativeElement.offsetHeight;for(;null!==Ge&&"HTML"!==Ge.tagName;){if(Ne=window.getComputedStyle(Ge),He=Ne.getPropertyValue("position"),fe=Ne.getPropertyValue("transform"),"static"!==He&&null===$&&($=Ge),fe&&"none"!==fe&&null===Ee&&(Ee=Ge),"fixed"===He){$=Ee;break}Ge=Ge.parentNode}const Et=this.createDialogBox(this.directiveElementRef.nativeElement,"fixed"!==He);if(this.useRootViewContainer||"fixed"===He&&(!$||$ instanceof HTMLUnknownElement))this.top=Et.top,this.left=Et.left;else{null===$&&($=Ge);const nt=this.createDialogBox($,"fixed"!==He);this.top=Et.top-nt.top,this.left=Et.left-nt.left}"fixed"===He&&(this.position="fixed");let Tt=this.cpPosition;const tn=this.dialogElement.nativeElement.getBoundingClientRect();switch("auto"===this.cpPosition&&(Tt=function Se(Jt,cn){let He="right",fe="bottom";const{height:Ne,width:$}=Jt,{top:Ee,left:Ge}=cn,Ke=Ee+cn.height,Et=Ge+cn.width,Tt=Ee-Ne<0,tn=Ke+Ne>(window.innerHeight||document.documentElement.clientHeight),rn=Ge-$<0,Nt=Et+$>(window.innerWidth||document.documentElement.clientWidth);return tn&&(fe="top"),Tt&&(fe="bottom"),rn&&(He="right"),Nt&&(He="left"),Tt&&tn&&rn&&Nt?["left","right","top","bottom"].reduce((Ue,nt)=>Jt[Ue]>Jt[nt]?Ue:nt):rn&&Nt?Tt?"bottom":tn||Ee>Ke?"top":"bottom":Tt&&tn?rn?"right":Nt||Ge>Et?"left":"right":`${fe}-${He}`}(tn,this.cpTriggerElement.nativeElement.getBoundingClientRect())),this.arrowTop="top"===Tt?Ke-1:void 0,this.cpArrowPosition=void 0,Tt){case"top":this.top-=Ke+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*Et.width-this.dialogArrowOffset;break;case"bottom":this.top+=Et.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*Et.width-this.dialogArrowOffset;break;case"top-left":case"left-top":this.top-=Ke-Et.height+Et.height*this.cpPositionOffset/100,this.left-=this.cpWidth+this.dialogArrowSize-2-this.dialogArrowOffset;break;case"top-right":case"right-top":this.top-=Ke-Et.height+Et.height*this.cpPositionOffset/100,this.left+=Et.width+this.dialogArrowSize-2-this.dialogArrowOffset;break;case"left":case"bottom-left":case"left-bottom":this.top+=Et.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left-=this.cpWidth+this.dialogArrowSize-2;break;default:this.top+=Et.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=Et.width+this.dialogArrowSize-2}const rn=window.innerHeight,Nt=window.innerWidth,ft=this.elRef.nativeElement.getBoundingClientRect();this.top+tn.height>rn&&(this.top=rn-tn.height,this.cpArrowPosition=ft.x/2-20),this.left+tn.width>Nt&&(this.left=Nt-tn.width,this.cpArrowPosition=ft.x/2-20),this.cpUsePosition=Tt}}isDescendant(He,fe){let Ne=fe.parentNode;for(;null!==Ne;){if(Ne===He)return!0;Ne=Ne.parentNode}return!1}createDialogBox(He,fe){const{top:Ne,left:$}=He.getBoundingClientRect();return{top:Ne+(fe?window.pageYOffset:0),left:$+(fe?window.pageXOffset:0),width:He.offsetWidth,height:He.offsetHeight}}static \u0275fac=function(fe){return new(fe||Jt)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(u.K0),t.Y36(t.Lbi),t.Y36(Re))};static \u0275cmp=t.Xpm({type:Jt,selectors:[["color-picker"]],viewQuery:function(fe,Ne){if(1&fe&&(t.Gf(e,7),t.Gf(m,7),t.Gf(p,7)),2&fe){let $;t.iGM($=t.CRH())&&(Ne.dialogElement=$.first),t.iGM($=t.CRH())&&(Ne.hueSlider=$.first),t.iGM($=t.CRH())&&(Ne.alphaSlider=$.first)}},hostBindings:function(fe,Ne){1&fe&&t.NdJ("keyup.esc",function(Ee){return Ne.handleEsc(Ee)},!1,t.evT)("keyup.enter",function(Ee){return Ne.handleEnter(Ee)},!1,t.evT)},decls:30,vars:51,consts:[[1,"color-picker",3,"click"],["dialogPopup",""],[3,"left","class","top",4,"ngIf"],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue","dragStart","dragEnd",4,"ngIf"],[1,"hue-alpha","box"],[1,"left"],[1,"selected-color-background"],[1,"selected-color",3,"click"],["class","eyedropper-icon","xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000",4,"ngIf"],["type","button",3,"class","disabled","click",4,"ngIf"],[1,"right"],["style","height: 16px;",4,"ngIf"],[1,"hue",3,"slider","rgX","newValue","dragStart","dragEnd"],["hueSlider",""],[1,"cursor"],[1,"value",3,"slider","rgX","newValue","dragStart","dragEnd"],["valueSlider",""],[1,"alpha",3,"slider","rgX","newValue","dragStart","dragEnd"],["alphaSlider",""],["class","cmyk-text",3,"display",4,"ngIf"],["class","hsla-text",3,"display",4,"ngIf"],["class","rgba-text",3,"display",4,"ngIf"],["class","hex-text",3,"hex-alpha","display",4,"ngIf"],["class","value-text",4,"ngIf"],["class","type-policy",4,"ngIf"],["class","preset-area",4,"ngIf"],["class","button-area",4,"ngIf"],["class","extra-template",4,"ngIf"],[1,"saturation-lightness",3,"slider","rgX","rgY","newValue","dragStart","dragEnd"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000",1,"eyedropper-icon"],["d","M0 0h24v24H0V0z","fill","none"],["d","M17.66 5.41l.92.92-2.69 2.69-.92-.92 2.69-2.69M17.67 3c-.26 0-.51.1-.71.29l-3.12 3.12-1.93-1.91-1.41 1.41 1.42 1.42L3 16.25V21h4.75l8.92-8.92 1.42 1.42 1.41-1.41-1.92-1.92 3.12-3.12c.4-.4.4-1.03.01-1.42l-2.34-2.34c-.2-.19-.45-.29-.7-.29zM6.92 19L5 17.08l8.06-8.06 1.92 1.92L6.92 19z"],["type","button",3,"disabled","click"],[2,"height","16px"],[1,"cmyk-text"],[1,"box"],["type","number","pattern","[0-9]*","min","0","max","100",3,"text","rg","value","keyup.enter","newValue"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue",4,"ngIf"],[4,"ngIf"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue"],[1,"hsla-text"],["type","number","pattern","[0-9]*","min","0","max","360",3,"text","rg","value","keyup.enter","newValue"],[1,"rgba-text"],["type","number","pattern","[0-9]*","min","0","max","255",3,"text","rg","value","keyup.enter","newValue"],[1,"hex-text"],[3,"text","value","blur","keyup.enter","newValue"],[1,"value-text"],[1,"type-policy"],[1,"type-policy-arrow",3,"click"],[1,"preset-area"],[1,"preset-label"],[3,"class",4,"ngIf"],["class","preset-color",3,"backgroundColor","click",4,"ngFor","ngForOf"],[1,"preset-color",3,"click"],[3,"class","click",4,"ngIf"],[3,"click"],[1,"button-area"],["type","button",3,"class","click",4,"ngIf"],["type","button",3,"click"],[1,"extra-template"],[4,"ngTemplateOutlet"]],template:function(fe,Ne){1&fe&&(t.TgZ(0,"div",0,1),t.NdJ("click",function(Ee){return Ee.stopPropagation()}),t.YNc(2,U,1,7,"div",2)(3,n,2,8,"div",3),t.TgZ(4,"div",4)(5,"div",5),t._UZ(6,"div",6),t.TgZ(7,"div",7),t.NdJ("click",function(){return Ne.eyeDropperSupported&&Ne.cpEyeDropper&&Ne.onEyeDropper()}),t.YNc(8,I,3,0,"svg",8),t.qZA(),t.YNc(9,L,2,5,"button",9),t.qZA(),t.TgZ(10,"div",10),t.YNc(11,y,1,0,"div",11),t.TgZ(12,"div",12,13),t.NdJ("newValue",function(Ee){return Ne.onHueChange(Ee)})("dragStart",function(){return Ne.onDragStart("hue")})("dragEnd",function(){return Ne.onDragEnd("hue")}),t._UZ(14,"div",14),t.qZA(),t.TgZ(15,"div",15,16),t.NdJ("newValue",function(Ee){return Ne.onValueChange(Ee)})("dragStart",function(){return Ne.onDragStart("value")})("dragEnd",function(){return Ne.onDragEnd("value")}),t._UZ(17,"div",14),t.qZA(),t.TgZ(18,"div",17,18),t.NdJ("newValue",function(Ee){return Ne.onAlphaChange(Ee)})("dragStart",function(){return Ne.onDragStart("alpha")})("dragEnd",function(){return Ne.onDragEnd("alpha")}),t._UZ(20,"div",14),t.qZA()()(),t.YNc(21,E,17,12,"div",19)(22,Z,14,10,"div",20)(23,ee,14,10,"div",21)(24,q,8,7,"div",22)(25,T,9,3,"div",23)(26,ie,3,0,"div",24)(27,pe,6,3,"div",25)(28,dt,3,2,"div",26)(29,Xe,2,1,"div",27),t.qZA()),2&fe&&(t.Udp("display",Ne.show?"block":"none")("visibility",Ne.hidden?"hidden":"visible")("top",Ne.top,"px")("left",Ne.left,"px")("position",Ne.position)("height",Ne.cpHeight,"px")("width",Ne.cpWidth,"px"),t.ekj("open",Ne.show),t.xp6(2),t.Q6J("ngIf","popup"===Ne.cpDialogDisplay),t.xp6(),t.Q6J("ngIf",1===(Ne.cpColorMode||1)),t.xp6(4),t.Udp("background-color",Ne.selectedColor)("cursor",Ne.eyeDropperSupported&&Ne.cpEyeDropper?"pointer":null),t.xp6(),t.Q6J("ngIf",Ne.eyeDropperSupported&&Ne.cpEyeDropper),t.xp6(),t.Q6J("ngIf",Ne.cpAddColorButton),t.xp6(2),t.Q6J("ngIf","disabled"===Ne.cpAlphaChannel),t.xp6(),t.Udp("display",1===(Ne.cpColorMode||1)?"block":"none"),t.Q6J("rgX",1),t.xp6(2),t.Udp("left",null==Ne.slider?null:Ne.slider.h,"px"),t.xp6(),t.Udp("display",2===(Ne.cpColorMode||1)?"block":"none"),t.Q6J("rgX",1),t.xp6(2),t.Udp("right",null==Ne.slider?null:Ne.slider.v,"px"),t.xp6(),t.Udp("display","disabled"===Ne.cpAlphaChannel?"none":"block")("background-color",Ne.alphaSliderColor),t.Q6J("rgX",1),t.xp6(2),t.Udp("left",null==Ne.slider?null:Ne.slider.a,"px"),t.xp6(),t.Q6J("ngIf",!Ne.cpDisableInput&&1===(Ne.cpColorMode||1)),t.xp6(),t.Q6J("ngIf",!Ne.cpDisableInput&&1===(Ne.cpColorMode||1)),t.xp6(),t.Q6J("ngIf",!Ne.cpDisableInput&&1===(Ne.cpColorMode||1)),t.xp6(),t.Q6J("ngIf",!Ne.cpDisableInput&&1===(Ne.cpColorMode||1)),t.xp6(),t.Q6J("ngIf",!Ne.cpDisableInput&&2===(Ne.cpColorMode||1)),t.xp6(),t.Q6J("ngIf",!Ne.cpDisableInput&&1===(Ne.cpColorMode||1)),t.xp6(),t.Q6J("ngIf",(null==Ne.cpPresetColors?null:Ne.cpPresetColors.length)||Ne.cpAddColorButton),t.xp6(),t.Q6J("ngIf",Ne.cpOKButton||Ne.cpCancelButton),t.xp6(),t.Q6J("ngIf",Ne.cpExtraTemplate))},dependencies:[u.sg,u.O5,u.tP,be,de],styles:['.color-picker{position:absolute;z-index:1000;width:230px;height:auto;border:#777 solid 1px;cursor:default;-webkit-user-select:none;user-select:none;background-color:#fff}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .arrow{position:absolute;z-index:999999;width:0;height:0;border-style:solid}.color-picker .arrow.arrow-top{left:8px;border-width:10px 5px;border-color:#777 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .arrow.arrow-bottom{top:-20px;left:8px;border-width:10px 5px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) #777 rgba(0,0,0,0)}.color-picker .arrow.arrow-top-left,.color-picker .arrow.arrow-left-top{right:-21px;bottom:8px;border-width:5px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #777}.color-picker .arrow.arrow-top-right,.color-picker .arrow.arrow-right-top{bottom:8px;left:-20px;border-width:5px 10px;border-color:rgba(0,0,0,0) #777 rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .arrow.arrow-left,.color-picker .arrow.arrow-left-bottom,.color-picker .arrow.arrow-bottom-left{top:8px;right:-21px;border-width:5px 10px;border-color:rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0) #777}.color-picker .arrow.arrow-right,.color-picker .arrow.arrow-right-bottom,.color-picker .arrow.arrow-bottom-right{top:8px;left:-20px;border-width:5px 10px;border-color:rgba(0,0,0,0) #777 rgba(0,0,0,0) rgba(0,0,0,0)}.color-picker .cursor{position:relative;width:16px;height:16px;border:#222 solid 2px;border-radius:50%;cursor:default}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;padding:12px 8px}.color-picker .button-area{padding:0 16px 16px;text-align:right}.color-picker .button-area button{margin-left:8px}.color-picker .preset-area{padding:4px 15px}.color-picker .preset-area .preset-label{overflow:hidden;width:100%;padding:4px;font-size:11px;white-space:nowrap;text-align:left;text-overflow:ellipsis;color:#555}.color-picker .preset-area .preset-color{position:relative;display:inline-block;width:18px;height:18px;margin:4px 6px 8px;border:#a9a9a9 solid 1px;border-radius:25%;cursor:pointer}.color-picker .preset-area .preset-empty-message{min-height:18px;margin-top:4px;margin-bottom:8px;font-style:italic;text-align:center}.color-picker .hex-text{width:100%;padding:4px 8px;font-size:11px}.color-picker .hex-text .box{padding:0 24px 8px 8px}.color-picker .hex-text .box div{float:left;flex:1 1 auto;text-align:center;color:#555;clear:left}.color-picker .hex-text .box input{flex:1 1 auto;padding:1px;border:#a9a9a9 solid 1px}.color-picker .hex-alpha .box div:first-child,.color-picker .hex-alpha .box input:first-child{flex-grow:3;margin-right:8px}.color-picker .cmyk-text,.color-picker .hsla-text,.color-picker .rgba-text,.color-picker .value-text{width:100%;padding:4px 8px;font-size:11px}.color-picker .cmyk-text .box,.color-picker .hsla-text .box,.color-picker .rgba-text .box{padding:0 24px 8px 8px}.color-picker .value-text .box{padding:0 8px 8px}.color-picker .cmyk-text .box div,.color-picker .hsla-text .box div,.color-picker .rgba-text .box div,.color-picker .value-text .box div{flex:1 1 auto;margin-right:8px;text-align:center;color:#555}.color-picker .cmyk-text .box div:last-child,.color-picker .hsla-text .box div:last-child,.color-picker .rgba-text .box div:last-child,.color-picker .value-text .box div:last-child{margin-right:0}.color-picker .cmyk-text .box input,.color-picker .hsla-text .box input,.color-picker .rgba-text .box input,.color-picker .value-text .box input{float:left;flex:1;padding:1px;margin:0 8px 0 0;border:#a9a9a9 solid 1px}.color-picker .cmyk-text .box input:last-child,.color-picker .hsla-text .box input:last-child,.color-picker .rgba-text .box input:last-child,.color-picker .value-text .box input:last-child{margin-right:0}.color-picker .hue-alpha{align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:16px;margin-bottom:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC)}.color-picker .value{direction:rtl;width:100%;height:16px;margin-bottom:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAACTklEQVR42u3SYUcrABhA4U2SkmRJMmWSJklKJiWZZpKUJJskKUmaTFImKZOUzMySpGRmliRNJilJSpKSJEtmSpIpmWmSdO736/6D+x7OP3gUCoWCv1cqlSQlJZGcnExKSgqpqamkpaWRnp5ORkYGmZmZqFQqsrKyyM7OJicnh9zcXNRqNXl5eeTn56PRaCgoKKCwsJCioiK0Wi3FxcWUlJRQWlpKWVkZ5eXlVFRUUFlZiU6no6qqiurqampqaqitraWurg69Xk99fT0GgwGj0UhDQwONjY00NTXR3NxMS0sLra2ttLW10d7ejslkwmw209HRQWdnJ11dXXR3d9PT00Nvby99fX309/czMDDA4OAgFouFoaEhrFYrw8PDjIyMMDo6ytjYGDabjfHxcSYmJpicnGRqagq73c709DQzMzPMzs4yNzfH/Pw8DocDp9OJy+XC7XazsLDA4uIiS0tLLC8vs7KywurqKmtra3g8HrxeLz6fD7/fz/r6OhsbG2xubrK1tcX29jaBQICdnR2CwSC7u7vs7e2xv7/PwcEBh4eHHB0dcXx8zMnJCaenp5ydnXF+fs7FxQWXl5dcXV1xfX3Nzc0Nt7e33N3dEQqFuL+/5+HhgXA4TCQS4fHxkaenJ56fn3l5eeH19ZVoNMrb2xvv7+98fHwQi8WIx+N8fn6SSCT4+vri+/ubn58ffn9/+VcKgSWwBJbAElgCS2AJLIElsASWwBJYAktgCSyBJbAElsASWAJLYAksgSWwBJbAElgCS2AJLIElsP4/WH8AmJ5Z6jHS4h8AAAAASUVORK5CYII=)}.color-picker .alpha{direction:ltr;width:100%;height:16px;border:none;cursor:pointer;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg==)}.color-picker .type-policy{position:absolute;top:218px;right:12px;width:16px;height:24px;background-size:8px 16px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:center}.color-picker .type-policy .type-policy-arrow{display:block;width:100%;height:50%}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;border:1px solid #a9a9a9;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC)}.color-picker .saturation-lightness{direction:ltr;width:100%;height:130px;border:none;cursor:pointer;touch-action:manipulation;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+TvKNcf/wdhTLPcv9qU2wZd74uth0t1821jkIZLPcsI/6nWa4XvutquU0Z85mnx80S/ZzgpnLnOtHNt7/ofx1TKXcSNzN/7qbMQ3ju7rNQmMYYd/4s2j9aa+P+gGaMcZrb1M/tdrvf7/d2v99P9/t93O/3cbvdxu12G9frdVwul3E+n8c///nP+2+//Xb66aefxl//+tfx5z//2YK5Al2rgvf4UsbpdGrB52bAvArXpuzjmiqAVSGz5eDmGYXzhbAZmCrnmzddpUU+8Y1dAOYeXCtDUwVwV7YCGH6uAmyMcZ9l5vkUaBPGMUZ7/J5w/792/fvv9Xq93263dr/fTxPECeME8nK5jM/Pz/HTTz/dv337dvrll1/GP/7xj/G3v/1t/OUvfwkVswongjdOp9PzH3U3D3zmWGnZVXn4jCqs7wC2BKP4/8tAzkZsoWx6XrqeHZymvp4ABCBJhTQwKfDT8gzrZCIqi5AhiACjBfEB2rP8/X63MM7f6/V6v9/v7Xa7bYC83W7jcrlsVHIq5ffv30+//fbb+OWXX8ZPP/00/v73v4+ff/75JSvbeu+bL2WMMaFbAlpBNM85QX+ct6qoSqkPAwuQlBVKqGNFSUOAA3Bmu7gC5hNOd15nSwvAOUW7C4giUCV8Sgn5L9hNFIqTsp0GxI0ysioyjAjkY/tGJVEpz+fz+OWXX+7fv38//f777+Pbt2/j119/HT///PP49ddfx8fHRwrmTjV779EXu2px2xhjwtdJZQcAWQIPLPISsMJaSwiD8gzIKrwSyATE5j5nAbR5c1dBUwBlsEWW0h6LqiYsqFPAQxCyRZ3wOSARxmlXMX5k64pQfvv27f75+dk+Pj5OHx8f4/v37+Pbt2/jt99+G9++fRsfHx/jcrmUFLO31gYDWblxRIs/TqfT7ousxJsAxXA2Gc7TA9XdgfdoHbFsj76X2+1WArgI1ageGwA3qupqoHsmcbI6Fu93quggFa9d7LeDtgKfAFHBJ+NEByIkcJ5KervdTmhhGcgJJSZ5vn//fj+fz+18Pp8+Pz/H5+fnmGD+/vvv4/v37+Pj42N8fn6O2+1Ws7JjjP6wraMI5E4RZ8x2vV5TSwkquotV7/d7Tz6HFWsD/qNcdw0CQ3q/321c686TwDVIdbuy73zNldhSHb8I2klZznm+InBS4U6n0302aBFsLhHDAKJVJVglfI9jhvu53W53sLANYNxAiDA6MCeUHx8f9+v12i6XS7tcLqcZW57P5yeY8/fz83Ocz+fnsSmYUyknWEG85WBst9stzSLyMdfr9Qi08iY15UZ0LlDGLhR3o5zK2j7OPUTD0E+nU3tk7Xb/16NFbhloAMuY1zjLUOO3BKeIDe+Z8s3/J4gFo4TM5jPmuRg28foUKKVSwo16TgA5npywcWLHgYl/Pz8/73/605/ab7/91m63W7tcLie0sZj4mao5gTyfz88E0f1+j8EcYzwTPEG2cqjyfHNF0M8fuqEiaOVnRzZZQNh5fwQyHg/HDGfJo89Q1zb/quu5XC6773I2XKfTqd/v9+d3wuqWva/YTdUdEV3fhIv/Viyps6YE3x3r43K5bJQS66zaxVGFsvd+//j4aF+/fm3fv39vt9utff36tf3+++/tdrudvn37ZuNLBaaCMgUzC+rZRiFowxUuJI8YMqcCp9Opq5vagaYU6lGJA1XQqejchw6Cj0Gw5nYBrGw01A2O206n04BGouNNyTfp/FwElhUey6nXrIKw7QQWddxuN2ldL5fL839gSPF8ahu/JvBO48CPSuqMf8Vp9/P53L58+dLu93s7n8/tfr8/39/v9/b5+TkhPJ3P56mQ436/j+/fv+/iSgbzer0+AZx/5+88bv6OMda6S5z6kd21fYC9dxv7cIJJ2d9AOS30fPMzyHiTM8B4DF6XUlYHp4KQW3W+1t77MNB1vGHxWq7Xa7vf78+y5/N5A+H1et29xuP5dbYtyaRu4AksbPq6936fjRzXRxBbPr/b+b18+fKljTHaBBBfn8/n0/1+H1++fBnn8zm0sB8fH5u4cr5GuBhMVk0EEn9RsctgVhM+ixlJtMA23R8B6yysAstBOgFXIKKCMIgToMqNEu2fYMH7ztc732dQKkCj1ytAZtY0Kx8pIr8GGJ+AT3V+2Hirhl++fBmXy2Wz73w+b17P8p+fn8/tUwGVleVkTyUb68DkfayWY4zxNRihU4EpLJPZVrK+u7J4/mgfKqeLW9X2REWlItL1diynbDDb3+jXgYjQqn0rrxWc+NkILP7F7xIbMvx7vV53x40xnlbWJF12ZSag/N0pW6t+ZzmOMzHjajKwDfond78zYTdfq18up97zr2q8v3IioBprRtBl0EZ9og5WBRGOdOHjIjXF7UotFbgOWnXzIJyzYvjG5IYgsmMOxHkz8OsMSrVNWeq5T8DaOcbEv1Od5rbs9aO7YvMet63EkF++fMExq+MRl4/L5bLZN/+ez+fnZ6KazuMqXSQVO5spJXflHAIzes/xJseckRJiDMog9d6VfRrqXMr6KpVV27jRwJacGovOAM1zMdQMnwK1AubK63kdCChvI1C7g0z9nf/D+Xze2Vj8H7Gx4P9duQlsYCrqyN8XqG3Hm/10Oj3jw/n+crlstuM+jPmmxT2dTuPz83Pzt2pn1XsEHX/bnPaVqVmh0xwOt0o6XLLAHePUU203wHfcrspCwmV3TryB5s0Mseeg97x/BwzCjBlbB+pRAPla0BVQuT6V6QHdBlj3d0KG147b+DqxQeUymDO43W4dQar+TIjwmAd0z8/h65vf0/yLv3Pb5XLpru/ydDo9s7ET0I+Pj6dKK9VUEIeKWQWPAOrJ8LKd4vE+t91Y3e7UFlWatg2VwJnb+HPmtvm/sfK59/OaWF3x/eP1UPHvA5DDYDpYXfb0drv1V2DkBkxtw/tEWVVlXWdC9pFYs5/jfh9dS/16vW7s6lTG+TfqsxSJHxkXXq/Xdr1eu4LsfD6P3vsT3N77DkL+zPm5jSdKL4zR3AxQd6rHkLkYlSowsrq7znzu6wSwdsMJOXmA5fBcjxtgMGBYHlr5zokhtsMCTgXLQOW4XC6dEyEMprL8mAQzXRgduix2yZzorxkYsDn3hB1VeMLGsXsVtgl2pW8S3svk0vw7R4hNaHvv4cACl5HFzwIH0Kc6zu4XjDPR/jpAVxWzO1Xk2DDb3vTcxeGU1iWZHkmIDWziWKvirCJ4Dravs6IJ/GG6cTqWdXDy+fArQDVVkLqkVjAoZIITdmmIqXwqa95N3+MGYoZQdRVNO53Y1xRkhO16vY7eu507Ca9lJnbGpxOemQhSw/AQsmmp5zU9BiU8G6wvX76M6/U6Pj4+do0Bz4CpgiknTUeDqwlKBmg3u4OVjrZ1A+rAcgaejWq6eJCvCYFDONSwOgHX4EQRw8lxbzDOdEK6gZ3Hk1b+8g2o1JFtKXyv/fEdTXuWjWXdAZiBp6ADeDrCFiim7B6ZFneeI7Gvm/PMkUDX67W7xI8b0D7/v8dA9qfN5oaCf74WZjH0mf1cmfY1Y0JUFmVrTWu8uzkNcLtEj7u5FXBTkfC6GOA5q8YMxO8KVvF6sAVGdcrUbsKODcQKkLMOMdmlxum642YrPm26AlhZW1YB1R+rrGswE8TaYAWeUMxdf+WjwSvZ2Ef3ytOyfn5+PpVPAaqOn43MtNBqvmjjxbjM4lZjZY4gqNMI5ktaW/sYKNwS+9lFQzGihmMCKPa7+Z0V6Eb0GRmobtpX8JljWu5FMLN5ja6hG9kwQgZqf5+1NH5UxzkFReCdWhJ8XdlGUkxO7HRlYRm4mVO43W7ter12TPJEw/rmEN3L5SKHIWZg9mz+pUoKOYq5bJTJdX2gme1UcxMZQFaEQIlHct32M+Y1BzGkGuzfiyAN9z+ugplZ1symCrDCYYkGxDTpI9RzBy0rHyeDUC1nWaeUaD9n4xkNyYMBDZtzZ3B++fJlY21XFDOcARJlabOyiS3uCpLI9jrZjCDkaVvcCCjwognKShWdzXZWlZMvVTgD8LpqlCLrqgbcB+qYwrgKYpT0ccCqbKyCValkEabn/FynogCrPKfqf51xJ7sGB2ZXcZmxoSOztjx300DZi7a0/2AIR0UlBag9SuDw6KcAzlaB7vHZvWpjK90dyrq6bKyDUZQbR0B05biLQkHIcSUmgIK+SwuqgHCnoio2RQU1yj+BnBy9pphVKLGyC7ZzFK1pxWK+E8IhVCWLN/uLtnUU4ayoYLoaANz8FdtaSvY4pV0BEW2ls61czqllBKpTyKgMAhrZ1cdc1RROtPmvWNkdcKZ7ZKxaWjiPLJMpp7OZKxA+rqG/oJLjxf0pnJlqLoDZo3gyU0mKGys2taKecj/d1C+rJSplBqlTyAqgR+D8KjKlmRL2gtUcAdCtsL+ijCNT1oqqqkH2OHEbG5sDFnUg5Aa+yLou2VU1ptj1S2ZQqv1ORZN9IWzRfgaRBxKoBE8UWyqlJFtrIc0AxNjSjed99CTY/XDfSzCz5M0IZoVEsWnPFNTsl8ooVC1TzbGgqFZNDSgVwKK+1sGDMKqxZCWGVMDysiEr1jVSQJUYwj5iHOlThdHt44SQg9CN+nl8D90NMIgAdgr46JqRiR9I8vRdFvbr17m/yxUMKjNLMiVUADwu2CWGhhi+F55TWM9M9cogzms1dnM4uOF/LAEYWdcqnM7yFmyq3IfwmOROd7Y1iFWtOjoY8To41mTV5IysgFFuRzsbWFGbNIIJCDv1dOo4lZG7jWBwRFtVTKuWyeCByJKOan8oZ3ep9XddNl0tDuaywLz9cXPYeDAA0SpkBO9sbVcTOVWldPv4uyzEkzxHtjvonHoSkFEWNoo1d8DhcQputd2ppNon4BzoAiJ1hBFQg0dVtdbGHHDQWushmNEQukLM2QO1G2Y8bgTXqFhcBJj7EjPgcPts8US8qPpPB/dXznOh5Z438tzH5ec6QgrOKrRRfKmysBmUDB+PhYabMlVPER+GCSITTzr7am2tArH3bgcEzPJm+cr5jJ4NnHNFDVrFXcI5Le9k5Jnw+bedbV+FfRzZIHaOOaOsLY0/7UGs58DjrGwKMIMFIGzOEW1/jGsdAtCN6hEAI4hBe9YXeRROBSVPAVPAqvIM5bx5hVKWAMP6zBRy3iescridVdFBinBxXDnG2GRY2XbCvp1lhvGtO9Bxu5h908XQu42lnSArMFdizMim8uwRCxPGnnOS8lwpnbOiDqTAjsrRN/PcoAScCbaACqVM40ylnjjTBs+bwWlAG23/UKbdkiwKWIQPGzWaczpoSlxPEj822cNWkpS7FyzsDrqpfgpG3jahw2vgbaSQAxuLWZYt7JzyNe8JoZpNAcvDFOdw0wqYT9AK1rZz/DdbSlLPp0ryIxgQJlK9AZlEq7IOXpohg9PIhrCng88JsOxiV4ZWAYfg4sikx/8ky2Z9l862uqwrfscIH8+ugTmVGyiddeVYUgEMn4GZzg14EwIsh9sx2cKKiWXReuOE5gzGOQgdlRKVVdlevqb279Xq0Qnsts2VDaBO0coezsruWtHApu6sKG4IBhN0aGU2kLrMKGRTN3HmbCDwKV14zvkMEDG4QfZVspVlaNU2mhc5TEZ3N1h/zqTheuLpW05ZWTGVjb3dbnNmxKZBnN8JqidaVLKAOyARNLS+MB54Z2+VaqoMLKroVBlngefnTPAcoHNWCSvlfA8CI0HEmBNBnBlXyMrzU7A7WVm94PPqQ2gmqKx+WDGsnvilmcSOBJqOK1nYyAIzuAyesq3UdSK3KfWcYKD95HmfYOU3qser2CtYEUA+FpfqdNvgPBZUBhDrGONRVlQsh8rLcaUCykHG0OOUwTlLBrsh5soEMGezi1E4HRVt1icp5wZEFXdibCkG8Y8vX75sbO4E0iom9z+hjSiOfy3DhpXItpVhE+UGQdvoWjtChmrGHf4YAzKgBNnGtuJxFCeGdhUAfQLLK8kBYAP6gvFJZajMG3Xkycy8KuC0q4Eyymwtwdxdv2M0mIBtK0LKnf640j00Auq4gUkdWGlhs22qJc6dZCsL19oxnlTJG4SYVRIGpD8TPFBuM6OElbS1pldid4mGAyN6ZIupbC5bXJN9fdpbThSxLUaI8IG1XIYBxW3Tjs6KQosKcxfxcQmdnwRGM10GnFcCy2XYunLMyAkdgk4mePiczsLygthcBut6goOqS7YVFXADLjaosB6s6ofcZWAZSIRYqSUkizYwttYab3vUOQ9w2HRxIIg8WwRVeE68xi4UtL3zRphxplzwuZrcqYCq1I3jPI5dnJIygEohMbPqVJSzrwzxBJTs5zN+ReUSgxikPQVF3JVBeNQxbHENrEMNvEdFZVV9lH9+ORGEsNZQpyTNc4C3AG7XF4ngzq+DrO2zbuaaOXgdaFcdkEotoSFBVX2qJ0C8OWZeG4KGlpghA0XfTOPCqV2qqwQ26QWfF2PMLhI2w1lVAa2aPsYd0za25MQRwgcZN6uQDCi+ZxiD4XEM2kZxOT41FnZnaRlcpZouzlRqqdbQVWopQoSB58RV50lBNrHi/AwXS5LrwDVlpY3Fc3ByiYGc52Trist6kOXdwInAQtJpp5QchyaquYOV7Su+fxVMaV3dc0RE2S6mUY0gLt2pMcYqrKIQ9w2l1gpQUMtQYcmmbt5DTNxdhnUCjQqtbK9SUSzvrC0mmhhE1e2FS2+oxypy/ZASutkmtjx3vcBC24PX65nbqkBCRhfjS9kIYPnee8cMagVOhI/3T1fAmdtAWZsCswTJCkQVNa0qWKSKPOpHAUhD9DrbVcyoYkwqhvh17vYAayXLQyKGYdxlUDFp494rBXRjYgO17DDYetNIUj/ezp6S0lnlpEwsWmJMkOwsKXeZKEAjIHn0EQJISaRBcO6UMINz7p/bEjjnw4ft+xmDvksxX4G2rIris7qaeKwAFMP2Oi7n4criuZwtpSUwpfLxSnORSrIqusc5ZFaXysqRWjiZ2DyAWEIL35tVSoQElFACjOeGGSE7AHEQgdo/LSvCOgGBvkxsmDbvlS3Fp5vhaB2TAGqRKrKKMrhLVpaGzEVjZ0OQxDhaCTA+QyRR1d15aQzrJntL3RibsipjG6jlgL4yqbS0sNYg1e84vhbBVrElK64CUcWYXDfKxhpIuxiVJZUxsbMy/uRBKTNRQ4kQ3LdRYLS0rJjRPlTPqY6gdJsEDc+aQXAn+HgsNUCbRuF0Oj0zwnA7bWDkbhO5Ens00qeQhS1laBMl5M/cAaxsLF8rKyql+Tf7ELLEGu/ixiimdCvo0TjfpjKwaggen4eh5v7LokLKbLuyvHhcZG8dhGrEDx7Hg93ZppJF7qBqO3iVveXEDQNInzeoe8Yq6ePaZBZ2JviM3W2UAGotekRCAGq4EkF1X3DOnR11yRsBL1tRa0PVcZiNFXZ2c34FskvomInQQ6lzpJoZbJxk43NwKJFBquJSsrByHydxKOnTxQASBmS3j+JMnsHSla3Ec6K9VWoJVn9zfjwOM7hqYAAqJQwE2a3nA48J2QGegRkpZNivSY+ys3EkKd4oJIwsvIHl3cWgLt5k4NH6OmtLWdpurOkwEMupYc7eMtDRhOcI2ui5JhVIzXzLyto/GAPuZoyo8wkoduVgJglCt7OhGbgID4Mq4si+63zUS1FuFFXFlqyaj2emHlLMcBqYu0FMuR28BbB7lOxRMSiCQXFhCKuwkhZ+pYDiGSgbsKKV8MiSRsuHSIWM9rklRiIlZZuqXjsQK8ooYJMgq3JKWVkhHbhsVxFUzthOWPkYijcbx54IKsSdT+uLr3crGKyoYgFiGR9iBk4kfloUX+JIlQRQqabmpgnhqtpQpb6RVQ1WH5DnrS4hEoGZqaerQ2dhFbz8XePxShmDbo70eISjoorO2vK8SJXI4SUmEU4zWKDzUDtWTYw7xXlbSTEj4FRg7zKnKoGRALv0Gs9Tgc1BpCywGZRQAtqVz2xrBcAMzEpfZwFSa2G5W0QBFjSMapWAEFa3HcGN7CxDzECyIkJ97qwrqWNTWVo876PPsjPkj2wvgroM5lLZKMETKVql/CvnWVFiFa/SzJUQwkoZsr67Y6vlSRV3/2tmNTOY3vnaxYwMuoPKqdzR1w7IqHymlPxaAThfU7Ko2ZXYj4AYJHL+kNdKwRQYESTRa5fsUZ/rVC1TMTyWVyYoqNtuzaHsMyv2tvoarxdfqwYgU1axFo/cnql1FGsqK+uAROV8BX4GU8WcZTATi2q7Qcyi0O0V+GhWBMNRUkn8H1SsWVE5By3Gi0ECqUeJoBfAtDa4amkdXG37AGP5Ggeb84p7UazpoKRzdFzeQ8HkoHGxprKy/Hpm5t12p47J6xTYDEz7uINEXSuxYXvFskYAc+ySxH9sf5ftKzU6IbwVBcUGg5e5FMCEXSErZR0wGayV19woM9guPjTqJdVTqR4uE4nJnLldWVkECCZLd2VLF+xtamex7IpiriSDUpvrpn9lrwGMCHyppMH+ps6LILsuFGUj1XEOXiqbqSHPUKnClpWV68kqtURVNDY4TNaocykoYeTU5ngGEQa/S1DnnE4AeXMcKjHPAmFVjCBENaeyLVNHfr3px8xUstJ94hIpfH4HKE/eDaArK6lSyVVFbdt1gxTIVk3pppVlFXi4pEhVBTObquohU85MLXn1iahvUkHJjSCMc01tLFveVVBx0DodM6jftCu7DOtIzYxrc0qp1JGP2ayYFz2Gb6HvMrO8cnGtV6Gjm3uImSfD2GpWK6uowbZGMxFKQCo1pOMtcMXFpRst+hXGoAomF3sSTBGgTglbBKWwsQ3tZqaYSp0Z1CimRDWFcCJUPYJ00BI5FkKYNoifuQxmN88SWVXWLMaUqqqgC0BmQJR6sk3u9NCf6jYLXxAfqsYEgVLAhRY2AtgtflZNFmFyhxdrLkAdWlk4D88M2ixHyepIdhMHrG/iR1ZGtq0MGpbDbRPYOXeSY1M6Ny4ZstvGSktK+XbFPATj2D371saPEsAMXhXrsZ0km/XStkhhMyBfsa6uXFZe2VCe+YMr1+GKgwrQyNYq1VRrB+EizAow6NsdNKcyVEkYeM73ys6q4kAHp6BiFklTkIrVC5oYV7uzwOGCz4UJ0Stq2lWMJy4wtb+RetL6tZFicnJmBw5UjCvXXMZVJX2MQkbf+XN5EWd78Vz8/JEsMZTBiKNzsm1inLRUQ74H4NidaqI68j5sAFgxcRveC7ieLJXfQYxjZZ2CsiWFewZXJmBIlZ1tdtrX4hSuateKso/RZOtOKW2nmq1oTzeK6dRWAWu2NRVb4hq0SXm1GvtugHrbr5IXqmSktg5CuDE2MSlPwsY5kNE2Wp3AqiZbWVLAxiBF+2iBZbuNj6MB6rsMLC7FyasaYDyo7KkoPyEtw3pEMXfPvxAJi2jAQQgjrz0rLIZSWZlIoNhwd5xK4AR9mYNjWAaLrnuImJeBVN9zBORObVvbr+mTTfFSEJLSRnHo7hEJoIi8MFqjxmvgmF5URZz4zLFgZZ8Ctu2X7ggVccKm9gVxIsOHqxXgNMKnFWZYnf1dBnOhayXq17QwFlWW09eNKyVJFmXqaONGA5aCegMbJ3UUkGY1ic3nKWgjq8qfVYGQG1gRt6rs62a6HiqqUOqdesK5NmX4nGofJoiE1d0dF9lVVkvT1/kEEaaCoYOwFpcVcoLM+7669PxC9rWqktH0sWUYld0VCpuBZ/stVRcGgy9WX2+U1Qthi9SzAqSxzZsy+OiFzBYnySGV6Gku44rD8BCOZBV3BvD5+AKRHNwMEsB6EzHnJpkTAeiUlEGkcECeB6GDZTp5YEJTlvdrknxYjTllMkfNtXwDjM7uVjK5JXUUn43rrqpK2jytaxHW0M5G8DC8rtHMYs7KSgduVQMGTYFqFvVS6rkD3sDJ46afdYFwoq11AOKCBLhvwoUgc8IGANycR6knZrdJPdsuxnyjfd3FovTlRMdEdtOl5CMV5EHsXQBis7TOwvIDZaGj2Vnpbh7cpK63VwYEMLwqbjzyl699sawFFkF1yqjUU31HfC6sW1ZFVFuXVXVgz9keEaw0ys1lWfm+azQAQSWA+hKYVfsZjPncAcUB9oIayy/UZXRNckDGji77GsWbvBo6tPrWPqOyVkBUq+INeqpzNdYs/u0ifh5qmpqIW+33JVSUcwY70KL4U9lYdU6ljtSls7lmfi9g3YzeQfVkaGFaV3ODCnaD2N8wsEDFklE3RzM3ZghdYkWHsszq70FIecnKkVkt8ezMzRq9bkGuKojRLBVSod3Y1yPqKgYW7JRQTPVyy5xIYLjOgxgT52RKJUY1dOrIiRd4futQx/A5AcSmEjz0vFWrkLzvbWAu9HOWbGgxFk1VNTpnBKk6TgwisI/HcxYXP1uAWO72ULFlBTq+aSu2VTUs6hrxM2CF+hEor1VIA9ZmFUaab1lSSgZsVs4sxzHlVLoJHr9H4DhONTkI1XC0/wiY2NoWAG5RlnHFnq6oLccpQddMuJ/O17JVA5OHLi0BqCztq7Y1++ucCd98qLI8MIHBV/cKjxQTme3hFBS3MyCqnDsuym2o80HjvFFTtrURmNaGJsmVahImjTsUXKtQZTAVs7Mvv8/+fzUrZAXcLJ6M4koe6XP0b6SmWWNDzyUpQ8bl+LtWx4tuqZ36cRYV3yuVxPNwvIiqiQCSmu7srgTzR6nkyhpCarXwFy1vGd5iP2cY06lFr5Njhhg1Y6+NB28ftbK83s8rf7kLJbKwDFPbLg25a0AdZJEiqr5phixKMDlRUtcssq1hriLqGoH+zeNgVm9OemjsETV8JdF0NHnkIFxWY1OB4Yrp7rtWJ7NgAAAPXklEQVQ3oNs5nplyVf8u2FoLu1JrHveaZWQjqAkshtFa2gzsSG3Zpkbvg3HafF9slPPlldjFlK80Gysm8Mr4MPhneNWENPGjAIpmilTPATdTRTXlCBYHYAQuPwA36xIpWtGN4q3Y2MhiGsUpuSSnlEJRD8PorC7CFYVw+F51qThgabxsTxWzCGY0ZSsb3lfqAy0OPNjNy8xiQQKsHYFQ2HBZVvVbBuq3m1oWKajqaonsM6uZUr6CjXWNZ0l5E3h3jURma6kP3MJIiy1Lm+kahQq41N2iZja5sjtlLYNZHZrH6qUGm4vMbDp6Rw2CFmvuyFkrBcCyMtFqBaECmsHoK9BZ2LA/lJcRqSaDqnaWbrZdGaz3DLgIvBln4woGztbyJGqslwxkhhHrTjTYFXCtOoKS8uLdofVdAbOylGU6nlYpXWZts4nXBq6WxJitMNokHUJnbnJplQm+aGpY2a5GMV2QD1hRubBPFKdumf5OHkLHz0F9luE5kjBjRa0nFE5CUGqHw32MmjZ6xkgINVnSnZ1VZStK2qKlRaLlQgK7uTq7JFXJwM+3SOEKyhZNI+tJ0I5qMYy9k2qJD7dVWdqKXa0CKNR0Ccjg+B2IYu2fcBZJZkMFgM11r0X92wilghFGgzVnexlqB7xL9mS29SiYUVY2nXOZjNBRsyDsQPRWW5hrZ4XcdC4HVWRbjgJr4sFofK5SzjQ7rhI1UebdPdEbj6sqIvTZQZ5va08rABsAW0UxeWytAk7A2KJ9ZpxzCioB24XFtYAeXYxr6anSqhLgppEqWbGwLunTgrV+IjWlL29ljaAl4EQMGsErp4apeZiquwRXLXAqOCeru32mmydc6oWTSWpFAGdzeTB8RTHVMEtlM90CbbQCYhPjq3egYr1FGdYIQjiuDGZ5zZ/AzobKGOyLxti6c4Rwtv2anyWlLICnlLhxJRXt6A5ebDBWFNONbxWZ2d02mnu4S9YECpeppV1zSWRBWxHYzVIv1CXSouwqqX3jBBBDZdYQbpTQW4ZQlS8r5kH4suSRmg2++3JN10x1PaAmEkmtYlEdeGpJEM6kOuCqCR22oSujj5IV2HdT0zj5prLKTjXFAPjdQlyq7xIBxAQP5yMczG4VxAKw0n6ilZ2QBce2pLulkuxxqnoIzFfgqyqjil9S1VNwBrFmeyeops8yOjZUybZdfS8CuaTIJumzs5tODaNtLpFDQ/PcJGweLhmeL1nB0KqiUDScsiUVD89Di3HtrKtSULw3RLiygZD+7sF8JTObgYsrGvDNUFRGl1iy0Ll1YkUc2aJYMog920I8qW6YDCg1Mqk0JHJFKXkbgbRreI+qpYNOZHrVcDUba7pjsphSJNtK6upgRNAVoOS0mugBeN4bIZgHhuPZ/s1ENaX6KsVr+YNrh1Nb7ipR0PE5zbNRegCbrHRUw6Yf07dLBJl1f8KB9as2V1nNqAsl62LBBhehwalerkHmB1JFIEZKSEusdl5JQj1nJlHXSCF342gJ9CYGrXelknJIXqVP8sD+qtplCR3XH2qfKq0ygMp+KnVkKxNlZ8m2YkIlVMiCnXUwl7qznBKSvQz3m3Pt6oQbXO5b5FixCh/fHxUQW/AEcK6zCNqKQnL9sywqmKuwvqSYzT/aPVNNpVyhvRW21aqciCsjdWvBwILUvh5VyCzbWoC1pJjJ680CWsl+udKB6T5RwG1mlohnlpbg47iz5U9ha0FGtmRLFYBtO99y97Ap0z+ZDTAog6kSLZsMHg/IFkkgp6CpvU2U0cYVSdnmkjwBdOmXbxTWNWzuIbipMioVxEckZEoahSOiy2M3K0jcC1LhVDwaqG0ZvkcWqCnrG4GIxykrqlbWdw6LQyBaZR8HmLRIhQWsHswD42ZXVLNkf9l+FlW0HVQ2lwFsC/Z1FdzlQR0KaPfo+Fdfu+/dwVRICu1CGR7AEIiAhc+AZUF0kOBaPxmUqg4i64vQnU4nFDYJ9Nz+1fVXveH9qmr+kPILx8oKcRV/BFbxbE0JMT0kSD4w6L/lNY8ocsqagVdU3A3MjxhxcGuqzsPH4irpaow1q6OyrVjvp9Npc59E91LldboYVzJWdimWfAW2SNEKcDaX2FmBLLA/uKxlmhh613Is1URQApbKfttwxL02q6Onx5pQxSbPojAg+v5hAnN6LHVRDXIsvKtRjiS0qJUyZTAXVbAK82ElFJWaQdVoqUC1Unt7BVaTQudM6SuqexjQJN4+0icaxv/utbKv83ETbT8H8gjcOKxOJmbUa6OOVXht3dFY6rHv9XoNzFLceEA1o8+pKm0LAHPHZ2rYKjFq0hfZFixsqHJgD3eD5n+U0kb1mFjXkn2lvMSSOsNE/CdIAKF0Sytq6urOHUN5gwg4GZosgbmggM5ucra2qrS2Ig1cbiBBcxYzgzUDNLCvL8GbZXNp6ORy3LmS+Kk83zRIAK6A1ioKa2I9NapIuiUFdfC9766PFZUtqUr6KbWk+zZU1a/ZrIXEztrjTOfz7hwKziCeXIaraHtbZIMz+2pGgazCmw4qWAFvEdhodYp0Xq0pV7G1YWYWbO4qhGq42+Z8BYtrLWvluNPpZAeaFFS1vubPgbgxsqcpnAaszBovKaFoDQ8BGtjfUOl4NAG2nmQV04feJgumvX2fsrQEWZghL0JnVdYkn3DOZIeRN86RqPWCmsvGVqEMRnwxQAxwS8EMYo3IzmY2+BCcLp4MKiuyuhImamlbZFcNoNl7tp+RHd18ZjQIRKyXdFRhN98/hyKqwXWNo7O1wiaXoHN108REZZWEq6grnIfjzeg8jdRf1XEL4kkXa5bBjKxoKaljBjeHlVxQ4GaycpW4lDOAKtnTxHAtOfzOtZwHAM7sqVXkV6yu6kap1nHkXKqWF/4XHqjenNKqBjpR3l1ch3Ejg1+EsgdQhsdG0B4FM9sWAVWpuAyiwTPleZxt9VyZVS2qXfReWqTAilpr9ApoWTjxymit7NwV4JTriZyOA9B0k7HFfULourmKYHVnRQvqGL5HMHdqFcR2qWpmcK6eTwx2dipWrviDilr+fKWq3OWRWdHKwA4eu8wjchbeRzFilqjjZN3ufCpfkJ0/scVpnYk6L0PI77lxdWCZ87WiWm7B/AGquQSnujGKsB8CJmiJq8q1pKIVWyqOiTK66r18BN8r74/AE71fdC3yPS2MxdOpnE1tlVxD9JmVOoggN+r4PjAXVFPa3Eg5jVJGFVUGNolH20GVrUB7BOySWq6WqYQdWR92pcFMYMwckbSgCKCqD67DiiWu1g8MQC9ByfcFqW1L+jL714qNCuznoSxt0da2gtWN1G8F0BK0NN0nuimelUF9dIdAfjO44UT3CjQLoUeLHJFTO3gmpRuIIOvwBQCbqNeo3qtZ9iF6xVK13GRlo4zqimq+CGdTiR1uRY8oqgE02hZBa79kZXPMquxRHKla2saZWN4mRqZUj0vLCKhkjKnqOQHNuSZVJoKvAqS1wpEquvWDC1B2ypwrCPsRMEPVTODMLJMDv6qeKXwi2JYV5Sq4qKyvgGsHCLiuj2jR59V8gMqSJ2FJZRXEHVRHj3sFPrct6OpqlW1GpatQdt0GvwfM6n63InsGVFhJGaBqgqqIV6IsXllZgySPq4R3bnt3wi5cv+cN2yqQLW1T95KYVsWWtKk4cB9W53WQQflQYR6Wl4HaJZjvVE0D5yvq+RKgZCs5qdBEP5sD94cAvQLlSgNaSMAtHx88BuNQ41zdFsX30zKbcs0MLD/ihkpQzl0wiTqKLTfbKmCmyYICnK0IbaieC4CG9iSyLQ7cIMGQwau6TKoq60Apl3WN40LZpca1CKKK9VQyyIEn8w0F8F6CL2h8o3ixGwC7s7EWzCOqmcApYxYD4jsAzVS0sl2t98pA7vrKophCVSonbYpgH6mvSn24pTBV4sdtV3BtMq5k82y+IADvUJ0uAlkCVTxIaPm+UNu/qkV4F1TzHXCGrXIAqItBKypqK99VtAOVs64O4ObX7pHLVCpYHcRmwvLR7TvYAKBBN58LGVzDuFz+hQbWgncQyCZAk+VbsPSouf93261iZgmfCpwRbAvqmSqriU2PwhjaoOyYqtIegVXViTsmyta6bGySpY3gyRrpIyAeaWDDxtpsXwKyalMDKNP7YBXMqEskUsi2uC8FNAPxAKTVfT1o6VzM0E0jF+1rWcUuHvdyg7vgoFplX8HpvHpMCOMRUPHzZkInsqlFKNX/EIO52E0SxSzOwob2VmRLW5D1XIU0rbgM1AzWgyC7fe8G7xUAK/taEBat7luqtyP7EmsaJQOj5F+mrnZfCuYCfBUAWwShyd6pMY/vAHG1UqOYpbI/gy5T0CMKm+UO3gFuC85dgfDVeguPDfITrIBLsLrcgdh3CFgFZjaKJ4Iv3F8ANEqvuxR1tVKOgLoCa1jxboBAkj6v7j/icFbA7f4rfRnQDLRViG13i0vqBQrYVqBbADZT0ZpiHoSzvQpopKIFS3sE1HfBWlHXd0H7LnArqvougMtljHBgZnh3Eoz/BKjLML4Z2Aq0+hEJr9jaVUBbvNzCIUiroC7AWmmFw4o5AK3MtB5VypZMSFgs05JyGVwlwBqsEGAAa2ZU1CjUexXGsE4rKriilBvFzOKKo3AuAroE6QFQU3u8YpNXwS5k+1TZt5UrwouN4KiUEw+k3ZWDp1RXHNRqXb21Ts39945yZSg3VnZFNQ9CF3XeZyr5DgBXKiwCMa2MxeTDYXgP1Fsf9QNKZc0k81RJk3r6EQ3rCmBVyLL75EjZ1pIVDHoFtiOAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg==)}.color-picker .cp-add-color-button-class{position:absolute;display:inline;padding:0;margin:3px -3px;border:0;cursor:pointer;background:transparent}.color-picker .cp-add-color-button-class:hover{text-decoration:underline}.color-picker .cp-add-color-button-class:disabled{cursor:not-allowed;color:#999}.color-picker .cp-add-color-button-class:disabled:hover{text-decoration:none}.color-picker .cp-remove-color-button-class{position:absolute;top:-5px;right:-5px;display:block;width:10px;height:10px;border-radius:50%;cursor:pointer;text-align:center;background:#fff;box-shadow:1px 1px 5px #333}.color-picker .cp-remove-color-button-class:before{content:"x";position:relative;bottom:3.5px;display:inline-block;font-size:10px}.color-picker .eyedropper-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);fill:#fff;mix-blend-mode:exclusion}\n'],encapsulation:2})}return Jt})(),hn=(()=>{class Jt{injector;cfr;appRef;vcRef;elRef;_service;dialog;dialogCreated=!1;ignoreChanges=!1;cmpRef;viewAttachedToAppRef=!1;colorPicker;cpWidth="230px";cpHeight="auto";cpToggle=!1;cpDisabled=!1;cpIgnoredElements=[];cpFallbackColor="";cpColorMode="color";cpCmykEnabled=!1;cpOutputFormat="auto";cpAlphaChannel="enabled";cpDisableInput=!1;cpDialogDisplay="popup";cpSaveClickOutside=!0;cpCloseClickOutside=!0;cpUseRootViewContainer=!1;cpPosition="auto";cpPositionOffset="0%";cpPositionRelativeToArrow=!1;cpOKButton=!1;cpOKButtonText="OK";cpOKButtonClass="cp-ok-button-class";cpCancelButton=!1;cpCancelButtonText="Cancel";cpCancelButtonClass="cp-cancel-button-class";cpEyeDropper=!1;cpPresetLabel="Preset colors";cpPresetColors;cpPresetColorsClass="cp-preset-colors-class";cpMaxPresetColorsLength=6;cpPresetEmptyMessage="No colors added";cpPresetEmptyMessageClass="preset-empty-message";cpAddColorButton=!1;cpAddColorButtonText="Add color";cpAddColorButtonClass="cp-add-color-button-class";cpRemoveColorButtonClass="cp-remove-color-button-class";cpArrowPosition=0;cpExtraTemplate;cpInputChange=new t.vpe(!0);cpToggleChange=new t.vpe(!0);cpSliderChange=new t.vpe(!0);cpSliderDragEnd=new t.vpe(!0);cpSliderDragStart=new t.vpe(!0);colorPickerOpen=new t.vpe(!0);colorPickerClose=new t.vpe(!0);colorPickerCancel=new t.vpe(!0);colorPickerSelect=new t.vpe(!0);colorPickerChange=new t.vpe(!1);cpCmykColorChange=new t.vpe(!0);cpPresetColorsChange=new t.vpe(!0);handleClick(){this.inputFocus()}handleFocus(){this.inputFocus()}handleInput(He){this.inputChange(He)}constructor(He,fe,Ne,$,Ee,Ge){this.injector=He,this.cfr=fe,this.appRef=Ne,this.vcRef=$,this.elRef=Ee,this._service=Ge}ngOnDestroy(){null!=this.cmpRef&&(this.viewAttachedToAppRef&&this.appRef.detachView(this.cmpRef.hostView),this.cmpRef.destroy(),this.cmpRef=null,this.dialog=null)}ngOnChanges(He){He.cpToggle&&!this.cpDisabled&&(He.cpToggle.currentValue?this.openDialog():He.cpToggle.currentValue||this.closeDialog()),He.colorPicker&&(this.dialog&&!this.ignoreChanges&&("inline"===this.cpDialogDisplay&&this.dialog.setInitialColor(He.colorPicker.currentValue),this.dialog.setColorFromString(He.colorPicker.currentValue,!1),this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay&&this.cmpRef.changeDetectorRef.detectChanges()),this.ignoreChanges=!1),(He.cpPresetLabel||He.cpPresetColors)&&this.dialog&&this.dialog.setPresetConfig(this.cpPresetLabel,this.cpPresetColors)}openDialog(){if(this.dialogCreated)this.dialog&&this.dialog.openDialog(this.colorPicker);else{let He=this.vcRef;if(this.dialogCreated=!0,this.viewAttachedToAppRef=!1,this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay){const $=this.injector.get(this.appRef.componentTypes[0],t.zs3.NULL);$!==t.zs3.NULL?He=$.vcRef||$.viewContainerRef||this.vcRef:this.viewAttachedToAppRef=!0}const fe=this.cfr.resolveComponentFactory(mt);if(this.viewAttachedToAppRef)this.cmpRef=fe.create(this.injector),this.appRef.attachView(this.cmpRef.hostView),document.body.appendChild(this.cmpRef.hostView.rootNodes[0]);else{const Ne=t.zs3.create({providers:[],parent:He.injector});this.cmpRef=He.createComponent(fe,0,Ne,[])}this.cmpRef.instance.setupDialog(this,this.elRef,this.colorPicker,this.cpWidth,this.cpHeight,this.cpDialogDisplay,this.cpFallbackColor,this.cpColorMode,this.cpCmykEnabled,this.cpAlphaChannel,this.cpOutputFormat,this.cpDisableInput,this.cpIgnoredElements,this.cpSaveClickOutside,this.cpCloseClickOutside,this.cpUseRootViewContainer,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpPresetLabel,this.cpPresetColors,this.cpPresetColorsClass,this.cpMaxPresetColorsLength,this.cpPresetEmptyMessage,this.cpPresetEmptyMessageClass,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpAddColorButton,this.cpAddColorButtonClass,this.cpAddColorButtonText,this.cpRemoveColorButtonClass,this.cpEyeDropper,this.elRef,this.cpExtraTemplate),this.dialog=this.cmpRef.instance,this.vcRef!==He&&this.cmpRef.changeDetectorRef.detectChanges()}}closeDialog(){this.dialog&&"popup"===this.cpDialogDisplay&&this.dialog.closeDialog()}cmykChanged(He){this.cpCmykColorChange.emit(He)}stateChanged(He){this.cpToggleChange.emit(He),He?this.colorPickerOpen.emit(this.colorPicker):this.colorPickerClose.emit(this.colorPicker)}colorChanged(He,fe=!0){this.ignoreChanges=fe,this.colorPickerChange.emit(He)}colorSelected(He){this.colorPickerSelect.emit(He)}colorCanceled(){this.colorPickerCancel.emit()}inputFocus(){const He=this.elRef.nativeElement,fe=this.cpIgnoredElements.filter(Ne=>Ne===He);!this.cpDisabled&&!fe.length&&(typeof document<"u"&&He===document.activeElement?this.openDialog():this.dialog&&this.dialog.show?this.closeDialog():this.openDialog())}inputChange(He){this.dialog?this.dialog.setColorFromString(He.target.value,!0):(this.colorPicker=He.target.value,this.colorPickerChange.emit(this.colorPicker))}inputChanged(He){this.cpInputChange.emit(He)}sliderChanged(He){this.cpSliderChange.emit(He)}sliderDragEnd(He){this.cpSliderDragEnd.emit(He)}sliderDragStart(He){this.cpSliderDragStart.emit(He)}presetColorsChanged(He){this.cpPresetColorsChange.emit(He)}static \u0275fac=function(fe){return new(fe||Jt)(t.Y36(t.zs3),t.Y36(t._Vd),t.Y36(t.z2F),t.Y36(t.s_b),t.Y36(t.SBq),t.Y36(Re))};static \u0275dir=t.lG2({type:Jt,selectors:[["","colorPicker",""]],hostBindings:function(fe,Ne){1&fe&&t.NdJ("click",function(){return Ne.handleClick()})("focus",function(){return Ne.handleFocus()})("input",function(Ee){return Ne.handleInput(Ee)})},inputs:{colorPicker:"colorPicker",cpWidth:"cpWidth",cpHeight:"cpHeight",cpToggle:"cpToggle",cpDisabled:"cpDisabled",cpIgnoredElements:"cpIgnoredElements",cpFallbackColor:"cpFallbackColor",cpColorMode:"cpColorMode",cpCmykEnabled:"cpCmykEnabled",cpOutputFormat:"cpOutputFormat",cpAlphaChannel:"cpAlphaChannel",cpDisableInput:"cpDisableInput",cpDialogDisplay:"cpDialogDisplay",cpSaveClickOutside:"cpSaveClickOutside",cpCloseClickOutside:"cpCloseClickOutside",cpUseRootViewContainer:"cpUseRootViewContainer",cpPosition:"cpPosition",cpPositionOffset:"cpPositionOffset",cpPositionRelativeToArrow:"cpPositionRelativeToArrow",cpOKButton:"cpOKButton",cpOKButtonText:"cpOKButtonText",cpOKButtonClass:"cpOKButtonClass",cpCancelButton:"cpCancelButton",cpCancelButtonText:"cpCancelButtonText",cpCancelButtonClass:"cpCancelButtonClass",cpEyeDropper:"cpEyeDropper",cpPresetLabel:"cpPresetLabel",cpPresetColors:"cpPresetColors",cpPresetColorsClass:"cpPresetColorsClass",cpMaxPresetColorsLength:"cpMaxPresetColorsLength",cpPresetEmptyMessage:"cpPresetEmptyMessage",cpPresetEmptyMessageClass:"cpPresetEmptyMessageClass",cpAddColorButton:"cpAddColorButton",cpAddColorButtonText:"cpAddColorButtonText",cpAddColorButtonClass:"cpAddColorButtonClass",cpRemoveColorButtonClass:"cpRemoveColorButtonClass",cpArrowPosition:"cpArrowPosition",cpExtraTemplate:"cpExtraTemplate"},outputs:{cpInputChange:"cpInputChange",cpToggleChange:"cpToggleChange",cpSliderChange:"cpSliderChange",cpSliderDragEnd:"cpSliderDragEnd",cpSliderDragStart:"cpSliderDragStart",colorPickerOpen:"colorPickerOpen",colorPickerClose:"colorPickerClose",colorPickerCancel:"colorPickerCancel",colorPickerSelect:"colorPickerSelect",colorPickerChange:"colorPickerChange",cpCmykColorChange:"cpCmykColorChange",cpPresetColorsChange:"cpPresetColorsChange"},exportAs:["ngxColorPicker"],features:[t.TTD]})}return Jt})(),Nn=(()=>{class Jt{static \u0275fac=function(fe){return new(fe||Jt)};static \u0275mod=t.oAB({type:Jt});static \u0275inj=t.cJS({providers:[Re],imports:[u.ez]})}return Jt})()},1735:(jt,$e,s)=>{"use strict";s.d($e,{CL:()=>I,Te:()=>L,gn:()=>n});var t=s(6814),u=s(9212),e=s(9946),m=s(6825);const p=["ngx-masonry",""],U=["*"];let n=(()=>{class y{constructor(M,E){this.platformId=M,this._element=E,this.updateLayout=!1,this.ordered=!1,this.layoutComplete=new u.vpe,this.removeComplete=new u.vpe,this.itemsLoaded=new u.vpe,this.pendingItems=[]}ngOnInit(){this.options||(this.options={}),this.options.itemSelector||(this.options.itemSelector="[ngxMasonryItem], ngxMasonryItem"),this.options.transitionDuration="0s",(0,t.NF)(this.platformId)&&(this.masonryInstance=new e(this._element.nativeElement,this.options),this.masonryInstance.on("layoutComplete",M=>{this.layoutComplete.emit(M)}),this.masonryInstance.on("removeComplete",M=>{this.removeComplete.emit(M)}),this.masonryInstance.items=[])}ngOnChanges(M){M.updateLayout&&(M.updateLayout.firstChange||this.layout())}ngOnDestroy(){this.masonryInstance&&this.masonryInstance.destroy()}layout(){setTimeout(()=>{this.masonryInstance.layout()})}reloadItems(){setTimeout(()=>{this.masonryInstance.reloadItems()})}addPendingItem(M){this.pendingItems.push(M)}add(M){if(this.ordered){for(const[E,A]of this.pendingItems.entries())if(A){if(!A.images||0!==A.images.size)return;this.pendingItems[E]=void 0,this.itemLoaded(A),E+1===this.pendingItems.length&&(this.itemsLoaded.emit(this.pendingItems.length),this.pendingItems=[])}}else this.itemLoaded(M)}itemLoaded(M){(0,t.NF)(this.platformId)&&(M.prepend?this.masonryInstance.prepended(M.element.nativeElement):this.masonryInstance.appended(M.element.nativeElement),1===this.masonryInstance.items.length&&this.masonryInstance.layout(),M.playAnimation(!0))}remove(M){(0,t.NF)(this.platformId)&&(this.masonryInstance.remove(M),this.layout())}}return y.\u0275fac=function(M){return new(M||y)(u.Y36(u.Lbi),u.Y36(u.SBq))},y.\u0275cmp=u.Xpm({type:y,selectors:[["","ngx-masonry",""],["ngx-masonry"]],inputs:{options:"options",updateLayout:"updateLayout",ordered:"ordered"},outputs:{layoutComplete:"layoutComplete",removeComplete:"removeComplete",itemsLoaded:"itemsLoaded"},features:[u.TTD],attrs:p,ngContentSelectors:U,decls:1,vars:0,template:function(M,E){1&M&&(u.F$t(),u.Hsn(0))},styles:["[_nghost-%COMP%]{display:block}"]}),y})(),I=(()=>{class y{constructor(M,E,A,S){this.element=M,this.builder=E,this.parent=A,this.renderer=S,this.prepend=!1,this.animations={show:[(0,m.oB)({opacity:0}),(0,m.jt)("400ms ease-in",(0,m.oB)({opacity:1}))],hide:[(0,m.oB)({opacity:"*"}),(0,m.jt)("400ms ease-in",(0,m.oB)({opacity:0}))]}}ngOnInit(){void 0!==this.parent.options.animations&&(this.animations=this.parent.options.animations),this.renderer.setStyle(this.element.nativeElement,"position","fixed"),this.renderer.setStyle(this.element.nativeElement,"right","-150vw"),this.parent.addPendingItem(this)}ngAfterViewInit(){const M=Array.from(this.element.nativeElement.getElementsByTagName("img"));if(this.images=new Set(M),0===M.length)setTimeout(()=>{this.parent.add(this)});else for(const E of M)E.hasAttribute("masonryLazy")?this.imageLoaded(E):(this.renderer.listen(E,"load",A=>{this.imageLoaded(E)}),this.renderer.listen(E,"error",A=>{this.imageLoaded(E)}))}ngOnDestroy(){this.images&&0===this.images.size&&this.element.nativeElement.parentNode&&(this.playAnimation(!1),this.parent.remove(this.element.nativeElement))}imageLoaded(M){this.images.delete(M),0===this.images.size&&this.parent.add(this)}playAnimation(M){const E=M?this.animations.show:this.animations.hide;E&&this.builder.build(E).create(this.element.nativeElement).play()}}return y.\u0275fac=function(M){return new(M||y)(u.Y36(u.SBq),u.Y36(m._j),u.Y36((0,u.Gpc)(()=>n)),u.Y36(u.Qsj))},y.\u0275dir=u.lG2({type:y,selectors:[["","ngxMasonryItem",""],["ngxMasonryItem"]],inputs:{prepend:"prepend"}}),y})(),L=(()=>{class y{}return y.\u0275fac=function(M){return new(M||y)},y.\u0275mod=u.oAB({type:y}),y.\u0275inj=u.cJS({}),y})()},2268:(jt,$e,s)=>{"use strict";s.d($e,{hx:()=>L,xr:()=>I});var t=s(9212),u=s(6814);function e(y,O){1&y&&t.Hsn(0,0,["*ngIf","appearance  === 'custom-content'"])}const m=(y,O,M,E,A)=>({"custom-content":y,circle:O,progress:M,"progress-dark":E,pulse:A});function p(y,O){if(1&y&&(t.TgZ(0,"div",1),t.YNc(1,e,1,0,"ng-content",2),t.qZA()),2&y){const M=t.oxw();t.Q6J("ngClass",t.qbA(5,m,"custom-content"===M.appearance,"circle"===M.appearance,"progress"===M.animation,"progress-dark"===M.animation,"pulse"===M.animation))("ngStyle",M.theme),t.uIk("aria-label",M.ariaLabel)("aria-valuetext",M.loadingText),t.xp6(),t.Q6J("ngIf","custom-content"===M.appearance)}}const U=["*"],n=new t.OlP("ngx-skeleton-loader.config");let I=(()=>{class y{constructor(M){this.config=M;const{appearance:E="line",animation:A="progress",theme:S=null,loadingText:Z="Loading...",count:oe=1,ariaLabel:le="loading"}=M||{};this.appearance=E,this.animation=A,this.theme=S,this.loadingText=Z,this.count=oe,this.items=[],this.ariaLabel=le}ngOnInit(){this.validateInputValues()}validateInputValues(){/^\d+$/.test(`${this.count}`)||((0,t.X6Q)()&&console.error("`NgxSkeletonLoaderComponent` need to receive 'count' a numeric value. Forcing default to \"1\"."),this.count=1),"custom-content"===this.appearance&&(0,t.X6Q)()&&1!==this.count&&(console.error('`NgxSkeletonLoaderComponent` enforces elements with "custom-content" appearance as DOM nodes. Forcing "count" to "1".'),this.count=1),this.items.length=this.count;const M=["progress","progress-dark","pulse","false"];-1===M.indexOf(String(this.animation))&&((0,t.X6Q)()&&console.error(`\`NgxSkeletonLoaderComponent\` need to receive 'animation' as: ${M.join(", ")}. Forcing default to "progress".`),this.animation="progress"),-1===["circle","line","custom-content",""].indexOf(String(this.appearance))&&((0,t.X6Q)()&&console.error("`NgxSkeletonLoaderComponent` need to receive 'appearance' as: circle or line or custom-content or empty string. Forcing default to \"''\"."),this.appearance="");const{theme:E}=this.config||{};E&&E.extendsFromRoot&&null!==this.theme&&(this.theme={...this.config.theme,...this.theme})}ngOnChanges(M){["count","animation","appearance"].find(E=>M[E]&&(M[E].isFirstChange()||M[E].previousValue===M[E].currentValue))||this.validateInputValues()}static#e=this.\u0275fac=function(E){return new(E||y)(t.Y36(n,8))};static#t=this.\u0275cmp=t.Xpm({type:y,selectors:[["ngx-skeleton-loader"]],inputs:{count:"count",loadingText:"loadingText",appearance:"appearance",animation:"animation",ariaLabel:"ariaLabel",theme:"theme"},features:[t.TTD],ngContentSelectors:U,decls:1,vars:1,consts:[["class","skeleton-loader","aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"],[4,"ngIf"]],template:function(E,A){1&E&&(t.F$t(),t.YNc(0,p,2,11,"div",0)),2&E&&t.Q6J("ngForOf",A.items)},dependencies:[u.mk,u.sg,u.O5,u.PC],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:rgb(239,241,246) no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.6),rgba(255,255,255,0))}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0})}return y})(),L=(()=>{class y{static forRoot(M){return{ngModule:y,providers:[{provide:n,useValue:M}]}}static#e=this.\u0275fac=function(E){return new(E||y)};static#t=this.\u0275mod=t.oAB({type:y});static#n=this.\u0275inj=t.cJS({imports:[u.ez]})}return y})()},7993:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>e});var t=s(3107),u=s(6426);function e(m){let{swiper:p,extendParams:U,on:n}=m;U({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),p.a11y={clicked:!1};let I=null;function L(Fe){const Xe=I;0!==Xe.length&&(Xe.innerHTML="",Xe.innerHTML=Fe)}const y=Fe=>(Array.isArray(Fe)?Fe:[Fe]).filter(Xe=>!!Xe);function M(Fe){(Fe=y(Fe)).forEach(Xe=>{Xe.setAttribute("tabIndex","0")})}function E(Fe){(Fe=y(Fe)).forEach(Xe=>{Xe.setAttribute("tabIndex","-1")})}function A(Fe,Xe){(Fe=y(Fe)).forEach(Ie=>{Ie.setAttribute("role",Xe)})}function S(Fe,Xe){(Fe=y(Fe)).forEach(Ie=>{Ie.setAttribute("aria-roledescription",Xe)})}function oe(Fe,Xe){(Fe=y(Fe)).forEach(Ie=>{Ie.setAttribute("aria-label",Xe)})}function K(Fe){(Fe=y(Fe)).forEach(Xe=>{Xe.setAttribute("aria-disabled",!0)})}function Q(Fe){(Fe=y(Fe)).forEach(Xe=>{Xe.setAttribute("aria-disabled",!1)})}function q(Fe){if(13!==Fe.keyCode&&32!==Fe.keyCode)return;const Xe=p.params.a11y,Ie=Fe.target;p.pagination&&p.pagination.el&&(Ie===p.pagination.el||p.pagination.el.contains(Fe.target))&&!Fe.target.matches((0,t.c)(p.params.pagination.bulletClass))||(p.navigation&&p.navigation.nextEl&&Ie===p.navigation.nextEl&&(p.isEnd&&!p.params.loop||p.slideNext(),L(p.isEnd?Xe.lastSlideMessage:Xe.nextSlideMessage)),p.navigation&&p.navigation.prevEl&&Ie===p.navigation.prevEl&&(p.isBeginning&&!p.params.loop||p.slidePrev(),L(p.isBeginning?Xe.firstSlideMessage:Xe.prevSlideMessage)),p.pagination&&Ie.matches((0,t.c)(p.params.pagination.bulletClass))&&Ie.click())}function T(){return p.pagination&&p.pagination.bullets&&p.pagination.bullets.length}function ie(){return T()&&p.params.pagination.clickable}const Ce=(Fe,Xe,Ie)=>{M(Fe),"BUTTON"!==Fe.tagName&&(A(Fe,"button"),Fe.addEventListener("keydown",q)),oe(Fe,Ie),function Z(Fe,Xe){(Fe=y(Fe)).forEach(Ie=>{Ie.setAttribute("aria-controls",Xe)})}(Fe,Xe)},Ve=()=>{p.a11y.clicked=!0},ae=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{p.destroyed||(p.a11y.clicked=!1)})})},pe=Fe=>{if(p.a11y.clicked)return;const Xe=Fe.target.closest(`.${p.params.slideClass}, swiper-slide`);if(!Xe||!p.slides.includes(Xe))return;const Ie=p.slides.indexOf(Xe)===p.activeIndex,W=p.params.watchSlidesProgress&&p.visibleSlides&&p.visibleSlides.includes(Xe);Ie||W||Fe.sourceCapabilities&&Fe.sourceCapabilities.firesTouchEvents||(p.isHorizontal()?p.el.scrollLeft=0:p.el.scrollTop=0,p.slideTo(p.slides.indexOf(Xe),0))},Ae=()=>{const Fe=p.params.a11y;Fe.itemRoleDescriptionMessage&&S(p.slides,Fe.itemRoleDescriptionMessage),Fe.slideRole&&A(p.slides,Fe.slideRole);const Xe=p.slides.length;Fe.slideLabelMessage&&p.slides.forEach((Ie,W)=>{const we=p.params.loop?parseInt(Ie.getAttribute("data-swiper-slide-index"),10):W;oe(Ie,Fe.slideLabelMessage.replace(/\{\{index\}\}/,we+1).replace(/\{\{slidesLength\}\}/,Xe))})};n("beforeInit",()=>{I=(0,u.c)("span",p.params.a11y.notificationClass),I.setAttribute("aria-live","assertive"),I.setAttribute("aria-atomic","true")}),n("afterInit",()=>{p.params.a11y.enabled&&(()=>{const Fe=p.params.a11y;p.el.append(I);const Xe=p.el;Fe.containerRoleDescriptionMessage&&S(Xe,Fe.containerRoleDescriptionMessage),Fe.containerMessage&&oe(Xe,Fe.containerMessage);const Ie=p.wrapperEl,W=Fe.id||Ie.getAttribute("id")||`swiper-wrapper-${function O(Fe){return void 0===Fe&&(Fe=16),"x".repeat(Fe).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`,we=p.params.autoplay&&p.params.autoplay.enabled?"off":"polite";(function le(Fe,Xe){(Fe=y(Fe)).forEach(Ie=>{Ie.setAttribute("id",Xe)})})(Ie,W),function ee(Fe,Xe){(Fe=y(Fe)).forEach(Ie=>{Ie.setAttribute("aria-live",Xe)})}(Ie,we),Ae();let{nextEl:P,prevEl:V}=p.navigation?p.navigation:{};P=y(P),V=y(V),P&&P.forEach(Se=>Ce(Se,W,Fe.nextSlideMessage)),V&&V.forEach(Se=>Ce(Se,W,Fe.prevSlideMessage)),ie()&&y(p.pagination.el).forEach(G=>{G.addEventListener("keydown",q)}),p.el.addEventListener("focus",pe,!0),p.el.addEventListener("pointerdown",Ve,!0),p.el.addEventListener("pointerup",ae,!0)})()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{p.params.a11y.enabled&&Ae()}),n("fromEdge toEdge afterInit lock unlock",()=>{p.params.a11y.enabled&&function H(){if(p.params.loop||p.params.rewind||!p.navigation)return;const{nextEl:Fe,prevEl:Xe}=p.navigation;Xe&&(p.isBeginning?(K(Xe),E(Xe)):(Q(Xe),M(Xe))),Fe&&(p.isEnd?(K(Fe),E(Fe)):(Q(Fe),M(Fe)))}()}),n("paginationUpdate",()=>{p.params.a11y.enabled&&function _e(){const Fe=p.params.a11y;T()&&p.pagination.bullets.forEach(Xe=>{p.params.pagination.clickable&&(M(Xe),p.params.pagination.renderBullet||(A(Xe,"button"),oe(Xe,Fe.paginationBulletMessage.replace(/\{\{index\}\}/,(0,u.g)(Xe)+1)))),Xe.matches((0,t.c)(p.params.pagination.bulletActiveClass))?Xe.setAttribute("aria-current","true"):Xe.removeAttribute("aria-current")})}()}),n("destroy",()=>{p.params.a11y.enabled&&function dt(){I&&I.remove();let{nextEl:Fe,prevEl:Xe}=p.navigation?p.navigation:{};Fe=y(Fe),Xe=y(Xe),Fe&&Fe.forEach(Ie=>Ie.removeEventListener("keydown",q)),Xe&&Xe.forEach(Ie=>Ie.removeEventListener("keydown",q)),ie()&&y(p.pagination.el).forEach(W=>{W.removeEventListener("keydown",q)}),p.el.removeEventListener("focus",pe,!0),p.el.removeEventListener("pointerdown",Ve,!0),p.el.removeEventListener("pointerup",ae,!0)}()})}},9373:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>u});var t=s(479);function u(e){let{swiper:m,extendParams:p,on:U,emit:n,params:I}=e;m.autoplay={running:!1,paused:!1,timeLeft:0},p({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let L,y,E,S,Z,oe,le,ee,K,Q,O=I&&I.autoplay?I.autoplay.delay:3e3,M=I&&I.autoplay?I.autoplay.delay:3e3,A=(new Date).getTime();function q(W){!m||m.destroyed||!m.wrapperEl||W.target===m.wrapperEl&&(m.wrapperEl.removeEventListener("transitionend",q),!Q&&ae())}const H=()=>{if(m.destroyed||!m.autoplay.running)return;m.autoplay.paused?S=!0:S&&(M=E,S=!1);const W=m.autoplay.paused?E:A+M-(new Date).getTime();m.autoplay.timeLeft=W,n("autoplayTimeLeft",W,W/O),y=requestAnimationFrame(()=>{H()})},ie=W=>{if(m.destroyed||!m.autoplay.running)return;cancelAnimationFrame(y),H();let we=typeof W>"u"?m.params.autoplay.delay:W;O=m.params.autoplay.delay,M=m.params.autoplay.delay;const P=(()=>{let W;return W=m.virtual&&m.params.virtual.enabled?m.slides.filter(P=>P.classList.contains("swiper-slide-active"))[0]:m.slides[m.activeIndex],W?parseInt(W.getAttribute("data-swiper-autoplay"),10):void 0})();!Number.isNaN(P)&&P>0&&typeof W>"u"&&(we=P,O=P,M=P),E=we;const V=m.params.speed,Se=()=>{!m||m.destroyed||(m.params.autoplay.reverseDirection?!m.isBeginning||m.params.loop||m.params.rewind?(m.slidePrev(V,!0,!0),n("autoplay")):m.params.autoplay.stopOnLastSlide||(m.slideTo(m.slides.length-1,V,!0,!0),n("autoplay")):!m.isEnd||m.params.loop||m.params.rewind?(m.slideNext(V,!0,!0),n("autoplay")):m.params.autoplay.stopOnLastSlide||(m.slideTo(0,V,!0,!0),n("autoplay")),m.params.cssMode&&(A=(new Date).getTime(),requestAnimationFrame(()=>{ie()})))};return we>0?(clearTimeout(L),L=setTimeout(()=>{Se()},we)):requestAnimationFrame(()=>{Se()}),we},_e=()=>{A=(new Date).getTime(),m.autoplay.running=!0,ie(),n("autoplayStart")},Ce=()=>{m.autoplay.running=!1,clearTimeout(L),cancelAnimationFrame(y),n("autoplayStop")},Ve=(W,we)=>{if(m.destroyed||!m.autoplay.running)return;clearTimeout(L),W||(K=!0);const P=()=>{n("autoplayPause"),m.params.autoplay.waitForTransition?m.wrapperEl.addEventListener("transitionend",q):ae()};if(m.autoplay.paused=!0,we)return ee&&(E=m.params.autoplay.delay),ee=!1,void P();E=(E||m.params.autoplay.delay)-((new Date).getTime()-A),(!(m.isEnd&&E<0)||m.params.loop)&&(E<0&&(E=0),P())},ae=()=>{m.isEnd&&E<0&&!m.params.loop||m.destroyed||!m.autoplay.running||(A=(new Date).getTime(),K?(K=!1,ie(E)):ie(),m.autoplay.paused=!1,n("autoplayResume"))},pe=()=>{if(m.destroyed||!m.autoplay.running)return;const W=(0,t.g)();"hidden"===W.visibilityState&&(K=!0,Ve(!0)),"visible"===W.visibilityState&&ae()},Ae=W=>{"mouse"===W.pointerType&&(K=!0,Q=!0,!m.animating&&!m.autoplay.paused&&Ve(!0))},Ze=W=>{"mouse"===W.pointerType&&(Q=!1,m.autoplay.paused&&ae())};U("init",()=>{m.params.autoplay.enabled&&(m.params.autoplay.pauseOnMouseEnter&&(m.el.addEventListener("pointerenter",Ae),m.el.addEventListener("pointerleave",Ze)),(0,t.g)().addEventListener("visibilitychange",pe),_e())}),U("destroy",()=>{m.el.removeEventListener("pointerenter",Ae),m.el.removeEventListener("pointerleave",Ze),(0,t.g)().removeEventListener("visibilitychange",pe),m.autoplay.running&&Ce()}),U("_freeModeStaticRelease",()=>{(oe||K)&&ae()}),U("_freeModeNoMomentumRelease",()=>{m.params.autoplay.disableOnInteraction?Ce():Ve(!0,!0)}),U("beforeTransitionStart",(W,we,P)=>{m.destroyed||!m.autoplay.running||(P||!m.params.autoplay.disableOnInteraction?Ve(!0,!0):Ce())}),U("sliderFirstMove",()=>{if(!m.destroyed&&m.autoplay.running){if(m.params.autoplay.disableOnInteraction)return void Ce();Z=!0,oe=!1,K=!1,le=setTimeout(()=>{K=!0,oe=!0,Ve(!0)},200)}}),U("touchEnd",()=>{if(!m.destroyed&&m.autoplay.running&&Z){if(clearTimeout(le),clearTimeout(L),m.params.autoplay.disableOnInteraction)return oe=!1,void(Z=!1);oe&&m.params.cssMode&&ae(),oe=!1,Z=!1}}),U("slideChange",()=>{m.destroyed||!m.autoplay.running||(ee=!0)}),Object.assign(m.autoplay,{start:_e,stop:Ce,pause:Ve,resume:ae})}},1308:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>u});var t=s(6426);function u(e){let{swiper:m,extendParams:p,on:U}=e;function n(M,E){const A=function(){let le,ee,K;return(Q,q)=>{for(ee=-1,le=Q.length;le-ee>1;)K=le+ee>>1,Q[K]<=q?ee=K:le=K;return le}}();let S,Z;return this.x=M,this.y=E,this.lastIndex=M.length-1,this.interpolate=function(le){return le?(Z=A(this.x,le),S=Z-1,(le-this.x[S])*(this.y[Z]-this.y[S])/(this.x[Z]-this.x[S])+this.y[S]):0},this}function O(){m.controller.control&&m.controller.spline&&(m.controller.spline=void 0,delete m.controller.spline)}p({controller:{control:void 0,inverse:!1,by:"slide"}}),m.controller={control:void 0},U("beforeInit",()=>{if(typeof window<"u"&&("string"==typeof m.params.controller.control||m.params.controller.control instanceof HTMLElement)){const M=document.querySelector(m.params.controller.control);if(M&&M.swiper)m.controller.control=M.swiper;else if(M){const E=A=>{m.controller.control=A.detail[0],m.update(),M.removeEventListener("init",E)};M.addEventListener("init",E)}}else m.controller.control=m.params.controller.control}),U("update",()=>{O()}),U("resize",()=>{O()}),U("observerUpdate",()=>{O()}),U("setTranslate",(M,E,A)=>{!m.controller.control||m.controller.control.destroyed||m.controller.setTranslate(E,A)}),U("setTransition",(M,E,A)=>{!m.controller.control||m.controller.control.destroyed||m.controller.setTransition(E,A)}),Object.assign(m.controller,{setTranslate:function L(M,E){const A=m.controller.control;let S,Z;const oe=m.constructor;function le(ee){if(ee.destroyed)return;const K=m.rtlTranslate?-m.translate:m.translate;"slide"===m.params.controller.by&&(function I(M){m.controller.spline=m.params.loop?new n(m.slidesGrid,M.slidesGrid):new n(m.snapGrid,M.snapGrid)}(ee),Z=-m.controller.spline.interpolate(-K)),(!Z||"container"===m.params.controller.by)&&(S=(ee.maxTranslate()-ee.minTranslate())/(m.maxTranslate()-m.minTranslate()),(Number.isNaN(S)||!Number.isFinite(S))&&(S=1),Z=(K-m.minTranslate())*S+ee.minTranslate()),m.params.controller.inverse&&(Z=ee.maxTranslate()-Z),ee.updateProgress(Z),ee.setTranslate(Z,m),ee.updateActiveIndex(),ee.updateSlidesClasses()}if(Array.isArray(A))for(let ee=0;ee<A.length;ee+=1)A[ee]!==E&&A[ee]instanceof oe&&le(A[ee]);else A instanceof oe&&E!==A&&le(A)},setTransition:function y(M,E){const A=m.constructor,S=m.controller.control;let Z;function oe(le){le.destroyed||(le.setTransition(M,m),0!==M&&(le.transitionStart(),le.params.autoHeight&&(0,t.n)(()=>{le.updateAutoHeight()}),(0,t.j)(le.wrapperEl,()=>{S&&le.transitionEnd()})))}if(Array.isArray(S))for(Z=0;Z<S.length;Z+=1)S[Z]!==E&&S[Z]instanceof A&&oe(S[Z]);else S instanceof A&&E!==S&&oe(S)}})}},4393:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>U});var t=s(8354),u=s(7017),e=s(2253),m=s(5636),p=s(6426);function U(n){let{swiper:I,extendParams:L,on:y}=n;L({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),(0,u.e)({effect:"cards",swiper:I,on:y,setTranslate:()=>{const{slides:E,activeIndex:A,rtlTranslate:S}=I,Z=I.params.cardsEffect,{startTranslate:oe,isTouched:le}=I.touchEventsData,ee=S?-I.translate:I.translate;for(let K=0;K<E.length;K+=1){const Q=E[K],q=Q.progress,H=Math.min(Math.max(q,-4),4);let T=Q.swiperSlideOffset;I.params.centeredSlides&&!I.params.cssMode&&(I.wrapperEl.style.transform=`translateX(${I.minTranslate()}px)`),I.params.centeredSlides&&I.params.cssMode&&(T-=E[0].swiperSlideOffset);let ie=I.params.cssMode?-T-I.translate:-T,_e=0;const Ce=-100*Math.abs(H);let Ve=1,ae=-Z.perSlideRotate*H,pe=Z.perSlideOffset-.75*Math.abs(H);const Ae=I.virtual&&I.params.virtual.enabled?I.virtual.from+K:K;if((Ae===A||Ae===A-1)&&H>0&&H<1&&(le||I.params.cssMode)&&ee<oe||(Ae===A||Ae===A+1)&&H<0&&H>-1&&(le||I.params.cssMode)&&ee>oe){const W=(1-Math.abs((Math.abs(H)-.5)/.5))**.5;ae+=-28*H*W,Ve+=-.5*W,pe+=96*W,_e=-25*W*Math.abs(H)+"%"}if(ie=H<0?`calc(${ie}px ${S?"-":"+"} (${pe*Math.abs(H)}%))`:H>0?`calc(${ie}px ${S?"-":"+"} (-${pe*Math.abs(H)}%))`:`${ie}px`,!I.isHorizontal()){const W=_e;_e=ie,ie=W}const Xe=`\n        translate3d(${ie}, ${_e}, ${Ce}px)\n        rotateZ(${Z.rotate?S?-ae:ae:0}deg)\n        scale(${H<0?""+(1+(1-Ve)*H):""+(1-(1-Ve)*H)})\n      `;if(Z.slideShadows){let W=Q.querySelector(".swiper-slide-shadow");W||(W=(0,t.c)("cards",Q)),W&&(W.style.opacity=Math.min(Math.max((Math.abs(H)-.5)/.5,0),1))}Q.style.zIndex=-Math.abs(Math.round(q))+E.length,(0,e.e)(Z,Q).style.transform=Xe}},setTransition:E=>{const A=I.slides.map(S=>(0,p.l)(S));A.forEach(S=>{S.style.transitionDuration=`${E}ms`,S.querySelectorAll(".swiper-slide-shadow").forEach(Z=>{Z.style.transitionDuration=`${E}ms`})}),(0,m.e)({swiper:I,duration:E,transformElements:A})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!I.params.cssMode})})}},8509:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>p});var t=s(8354),u=s(7017),e=s(2253),m=s(6426);function p(U){let{swiper:n,extendParams:I,on:L}=U;I({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),(0,u.e)({effect:"coverflow",swiper:n,on:L,setTranslate:()=>{const{width:M,height:E,slides:A,slidesSizesGrid:S}=n,Z=n.params.coverflowEffect,oe=n.isHorizontal(),le=n.translate,ee=oe?M/2-le:E/2-le,K=oe?Z.rotate:-Z.rotate,Q=Z.depth;for(let q=0,H=A.length;q<H;q+=1){const T=A[q],ie=S[q],Ce=(ee-T.swiperSlideOffset-ie/2)/ie,Ve="function"==typeof Z.modifier?Z.modifier(Ce):Ce*Z.modifier;let ae=oe?K*Ve:0,pe=oe?0:K*Ve,Ae=-Q*Math.abs(Ve),Ze=Z.stretch;"string"==typeof Ze&&-1!==Ze.indexOf("%")&&(Ze=parseFloat(Z.stretch)/100*ie);let dt=oe?0:Ze*Ve,Fe=oe?Ze*Ve:0,Xe=1-(1-Z.scale)*Math.abs(Ve);Math.abs(Fe)<.001&&(Fe=0),Math.abs(dt)<.001&&(dt=0),Math.abs(Ae)<.001&&(Ae=0),Math.abs(ae)<.001&&(ae=0),Math.abs(pe)<.001&&(pe=0),Math.abs(Xe)<.001&&(Xe=0),n.browser&&n.browser.isSafari&&(Math.abs(ae)/90%2==1&&(ae+=.001),Math.abs(pe)/90%2==1&&(pe+=.001));const Ie=`translate3d(${Fe}px,${dt}px,${Ae}px)  rotateX(${pe}deg) rotateY(${ae}deg) scale(${Xe})`;if((0,e.e)(Z,T).style.transform=Ie,T.style.zIndex=1-Math.abs(Math.round(Ve)),Z.slideShadows){let we=T.querySelector(oe?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),P=T.querySelector(oe?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");we||(we=(0,t.c)("coverflow",T,oe?"left":"top")),P||(P=(0,t.c)("coverflow",T,oe?"right":"bottom")),we&&(we.style.opacity=Ve>0?Ve:0),P&&(P.style.opacity=-Ve>0?-Ve:0)}}},setTransition:M=>{n.slides.map(A=>(0,m.l)(A)).forEach(A=>{A.style.transitionDuration=`${M}ms`,A.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(S=>{S.style.transitionDuration=`${M}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},7864:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>U});var t=s(8354),u=s(7017),e=s(2253),m=s(5636),p=s(6426);function U(n){let{swiper:I,extendParams:L,on:y}=n;L({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const O=A=>"string"==typeof A?A:`${A}px`;(0,u.e)({effect:"creative",swiper:I,on:y,setTranslate:()=>{const{slides:A,wrapperEl:S,slidesSizesGrid:Z}=I,oe=I.params.creativeEffect,{progressMultiplier:le}=oe,ee=I.params.centeredSlides;ee&&(S.style.transform=`translateX(calc(50% - ${Z[0]/2-I.params.slidesOffsetBefore||0}px))`);for(let K=0;K<A.length;K+=1){const Q=A[K],q=Q.progress,H=Math.min(Math.max(Q.progress,-oe.limitProgress),oe.limitProgress);let T=H;ee||(T=Math.min(Math.max(Q.originalProgress,-oe.limitProgress),oe.limitProgress));const ie=Q.swiperSlideOffset,_e=[I.params.cssMode?-ie-I.translate:-ie,0,0],Ce=[0,0,0];let Ve=!1;I.isHorizontal()||(_e[1]=_e[0],_e[0]=0);let ae={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};H<0?(ae=oe.next,Ve=!0):H>0&&(ae=oe.prev,Ve=!0),_e.forEach((Ie,W)=>{_e[W]=`calc(${Ie}px + (${O(ae.translate[W])} * ${Math.abs(H*le)}))`}),Ce.forEach((Ie,W)=>{let we=ae.rotate[W]*Math.abs(H*le);I.browser&&I.browser.isSafari&&Math.abs(we)/90%2==1&&(we+=.001),Ce[W]=we}),Q.style.zIndex=-Math.abs(Math.round(q))+A.length;const pe=_e.join(", "),dt=T<0?1+(1-ae.opacity)*T*le:1-(1-ae.opacity)*T*le,Fe=`translate3d(${pe}) rotateX(${Ce[0]}deg) rotateY(${Ce[1]}deg) rotateZ(${Ce[2]}deg) ${T<0?`scale(${1+(1-ae.scale)*T*le})`:`scale(${1-(1-ae.scale)*T*le})`}`;if(Ve&&ae.shadow||!Ve){let Ie=Q.querySelector(".swiper-slide-shadow");!Ie&&ae.shadow&&(Ie=(0,t.c)("creative",Q)),Ie&&(Ie.style.opacity=Math.min(Math.max(Math.abs(oe.shadowPerProgress?H*(1/oe.limitProgress):H),0),1))}const Xe=(0,e.e)(oe,Q);Xe.style.transform=Fe,Xe.style.opacity=dt,ae.origin&&(Xe.style.transformOrigin=ae.origin)}},setTransition:A=>{const S=I.slides.map(Z=>(0,p.l)(Z));S.forEach(Z=>{Z.style.transitionDuration=`${A}ms`,Z.querySelectorAll(".swiper-slide-shadow").forEach(oe=>{oe.style.transitionDuration=`${A}ms`})}),(0,m.e)({swiper:I,duration:A,transformElements:S,allSlides:!0})},perspective:()=>I.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!I.params.cssMode})})}},5205:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>e});var t=s(7017),u=s(6426);function e(m){let{swiper:p,extendParams:U,on:n}=m;U({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const I=(M,E,A)=>{let S=M.querySelector(A?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),Z=M.querySelector(A?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");S||(S=(0,u.c)("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(A?"left":"top")).split(" ")),M.append(S)),Z||(Z=(0,u.c)("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(A?"right":"bottom")).split(" ")),M.append(Z)),S&&(S.style.opacity=Math.max(-E,0)),Z&&(Z.style.opacity=Math.max(E,0))};(0,t.e)({effect:"cube",swiper:p,on:n,setTranslate:()=>{const{el:M,wrapperEl:E,slides:A,width:S,height:Z,rtlTranslate:oe,size:le,browser:ee}=p,K=p.params.cubeEffect,Q=p.isHorizontal(),q=p.virtual&&p.params.virtual.enabled;let T,H=0;K.shadow&&(Q?(T=p.wrapperEl.querySelector(".swiper-cube-shadow"),T||(T=(0,u.c)("div","swiper-cube-shadow"),p.wrapperEl.append(T)),T.style.height=`${S}px`):(T=M.querySelector(".swiper-cube-shadow"),T||(T=(0,u.c)("div","swiper-cube-shadow"),M.append(T))));for(let _e=0;_e<A.length;_e+=1){const Ce=A[_e];let Ve=_e;q&&(Ve=parseInt(Ce.getAttribute("data-swiper-slide-index"),10));let ae=90*Ve,pe=Math.floor(ae/360);oe&&(ae=-ae,pe=Math.floor(-ae/360));const Ae=Math.max(Math.min(Ce.progress,1),-1);let Ze=0,dt=0,Fe=0;Ve%4==0?(Ze=4*-pe*le,Fe=0):(Ve-1)%4==0?(Ze=0,Fe=4*-pe*le):(Ve-2)%4==0?(Ze=le+4*pe*le,Fe=le):(Ve-3)%4==0&&(Ze=-le,Fe=3*le+4*le*pe),oe&&(Ze=-Ze),Q||(dt=Ze,Ze=0);const Xe=`rotateX(${Q?0:-ae}deg) rotateY(${Q?ae:0}deg) translate3d(${Ze}px, ${dt}px, ${Fe}px)`;Ae<=1&&Ae>-1&&(H=90*Ve+90*Ae,oe&&(H=90*-Ve-90*Ae),p.browser&&p.browser.isSafari&&Math.abs(H)/90%2==1&&(H+=.001)),Ce.style.transform=Xe,K.slideShadows&&I(Ce,Ae,Q)}if(E.style.transformOrigin=`50% 50% -${le/2}px`,E.style["-webkit-transform-origin"]=`50% 50% -${le/2}px`,K.shadow)if(Q)T.style.transform=`translate3d(0px, ${S/2+K.shadowOffset}px, ${-S/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${K.shadowScale})`;else{const _e=Math.abs(H)-90*Math.floor(Math.abs(H)/90),Ce=1.5-(Math.sin(2*_e*Math.PI/360)/2+Math.cos(2*_e*Math.PI/360)/2),ae=K.shadowScale/Ce;T.style.transform=`scale3d(${K.shadowScale}, 1, ${ae}) translate3d(0px, ${Z/2+K.shadowOffset}px, ${-Z/2/ae}px) rotateX(-89.99deg)`}const ie=(ee.isSafari||ee.isWebView)&&ee.needPerspectiveFix?-le/2:0;E.style.transform=`translate3d(0px,0,${ie}px) rotateX(${p.isHorizontal()?0:H}deg) rotateY(${p.isHorizontal()?-H:0}deg)`,E.style.setProperty("--swiper-cube-translate-z",`${ie}px`)},setTransition:M=>{const{el:E,slides:A}=p;if(A.forEach(S=>{S.style.transitionDuration=`${M}ms`,S.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(Z=>{Z.style.transitionDuration=`${M}ms`})}),p.params.cubeEffect.shadow&&!p.isHorizontal()){const S=E.querySelector(".swiper-cube-shadow");S&&(S.style.transitionDuration=`${M}ms`)}},recreateShadows:()=>{const M=p.isHorizontal();p.slides.forEach(E=>{const A=Math.max(Math.min(E.progress,1),-1);I(E,A,M)})},getEffectParams:()=>p.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}},4046:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>p});var t=s(7017),u=s(2253),e=s(5636),m=s(6426);function p(U){let{swiper:n,extendParams:I,on:L}=U;I({fadeEffect:{crossFade:!1}}),(0,t.e)({effect:"fade",swiper:n,on:L,setTranslate:()=>{const{slides:M}=n,E=n.params.fadeEffect;for(let A=0;A<M.length;A+=1){const S=n.slides[A];let oe=-S.swiperSlideOffset;n.params.virtualTranslate||(oe-=n.translate);let le=0;n.isHorizontal()||(le=oe,oe=0);const ee=n.params.fadeEffect.crossFade?Math.max(1-Math.abs(S.progress),0):1+Math.min(Math.max(S.progress,-1),0),K=(0,u.e)(E,S);K.style.opacity=ee,K.style.transform=`translate3d(${oe}px, ${le}px, 0px)`}},setTransition:M=>{const E=n.slides.map(A=>(0,m.l)(A));E.forEach(A=>{A.style.transitionDuration=`${M}ms`}),(0,e.e)({swiper:n,duration:M,transformElements:E,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!n.params.cssMode})})}},4947:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>U});var t=s(8354),u=s(7017),e=s(2253),m=s(5636),p=s(6426);function U(n){let{swiper:I,extendParams:L,on:y}=n;L({flipEffect:{slideShadows:!0,limitRotation:!0}});const O=(S,Z)=>{let oe=I.isHorizontal()?S.querySelector(".swiper-slide-shadow-left"):S.querySelector(".swiper-slide-shadow-top"),le=I.isHorizontal()?S.querySelector(".swiper-slide-shadow-right"):S.querySelector(".swiper-slide-shadow-bottom");oe||(oe=(0,t.c)("flip",S,I.isHorizontal()?"left":"top")),le||(le=(0,t.c)("flip",S,I.isHorizontal()?"right":"bottom")),oe&&(oe.style.opacity=Math.max(-Z,0)),le&&(le.style.opacity=Math.max(Z,0))};(0,u.e)({effect:"flip",swiper:I,on:y,setTranslate:()=>{const{slides:S,rtlTranslate:Z}=I,oe=I.params.flipEffect;for(let le=0;le<S.length;le+=1){const ee=S[le];let K=ee.progress;I.params.flipEffect.limitRotation&&(K=Math.max(Math.min(ee.progress,1),-1));const Q=ee.swiperSlideOffset;let H=-180*K,T=0,ie=I.params.cssMode?-Q-I.translate:-Q,_e=0;I.isHorizontal()?Z&&(H=-H):(_e=ie,ie=0,T=-H,H=0),I.browser&&I.browser.isSafari&&(Math.abs(H)/90%2==1&&(H+=.001),Math.abs(T)/90%2==1&&(T+=.001)),ee.style.zIndex=-Math.abs(Math.round(K))+S.length,oe.slideShadows&&O(ee,K);const Ce=`translate3d(${ie}px, ${_e}px, 0px) rotateX(${T}deg) rotateY(${H}deg)`;(0,e.e)(oe,ee).style.transform=Ce}},setTransition:S=>{const Z=I.slides.map(oe=>(0,p.l)(oe));Z.forEach(oe=>{oe.style.transitionDuration=`${S}ms`,oe.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(le=>{le.style.transitionDuration=`${S}ms`})}),(0,m.e)({swiper:I,duration:S,transformElements:Z})},recreateShadows:()=>{I.slides.forEach(S=>{let Z=S.progress;I.params.flipEffect.limitRotation&&(Z=Math.max(Math.min(S.progress,1),-1)),O(S,Z)})},getEffectParams:()=>I.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!I.params.cssMode})})}},5089:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>u});var t=s(6426);function u(e){let{swiper:m,extendParams:p,emit:U,once:n}=e;p({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(m,{freeMode:{onTouchStart:function I(){if(m.params.cssMode)return;const O=m.getTranslate();m.setTranslate(O),m.setTransition(0),m.touchEventsData.velocities.length=0,m.freeMode.onTouchEnd({currentPos:m.rtl?m.translate:-m.translate})},onTouchMove:function L(){if(m.params.cssMode)return;const{touchEventsData:O,touches:M}=m;0===O.velocities.length&&O.velocities.push({position:M[m.isHorizontal()?"startX":"startY"],time:O.touchStartTime}),O.velocities.push({position:M[m.isHorizontal()?"currentX":"currentY"],time:(0,t.d)()})},onTouchEnd:function y(O){let{currentPos:M}=O;if(m.params.cssMode)return;const{params:E,wrapperEl:A,rtlTranslate:S,snapGrid:Z,touchEventsData:oe}=m,ee=(0,t.d)()-oe.touchStartTime;if(M<-m.minTranslate())m.slideTo(m.activeIndex);else if(M>-m.maxTranslate())m.slideTo(m.slides.length<Z.length?Z.length-1:m.slides.length-1);else{if(E.freeMode.momentum){if(oe.velocities.length>1){const Ce=oe.velocities.pop(),Ve=oe.velocities.pop(),pe=Ce.time-Ve.time;m.velocity=(Ce.position-Ve.position)/pe,m.velocity/=2,Math.abs(m.velocity)<E.freeMode.minimumVelocity&&(m.velocity=0),(pe>150||(0,t.d)()-Ce.time>300)&&(m.velocity=0)}else m.velocity=0;m.velocity*=E.freeMode.momentumVelocityRatio,oe.velocities.length=0;let K=1e3*E.freeMode.momentumRatio,q=m.translate+m.velocity*K;S&&(q=-q);let T,H=!1;const ie=20*Math.abs(m.velocity)*E.freeMode.momentumBounceRatio;let _e;if(q<m.maxTranslate())E.freeMode.momentumBounce?(q+m.maxTranslate()<-ie&&(q=m.maxTranslate()-ie),T=m.maxTranslate(),H=!0,oe.allowMomentumBounce=!0):q=m.maxTranslate(),E.loop&&E.centeredSlides&&(_e=!0);else if(q>m.minTranslate())E.freeMode.momentumBounce?(q-m.minTranslate()>ie&&(q=m.minTranslate()+ie),T=m.minTranslate(),H=!0,oe.allowMomentumBounce=!0):q=m.minTranslate(),E.loop&&E.centeredSlides&&(_e=!0);else if(E.freeMode.sticky){let Ce;for(let Ve=0;Ve<Z.length;Ve+=1)if(Z[Ve]>-q){Ce=Ve;break}q=Math.abs(Z[Ce]-q)<Math.abs(Z[Ce-1]-q)||"next"===m.swipeDirection?Z[Ce]:Z[Ce-1],q=-q}if(_e&&n("transitionEnd",()=>{m.loopFix()}),0!==m.velocity){if(K=S?Math.abs((-q-m.translate)/m.velocity):Math.abs((q-m.translate)/m.velocity),E.freeMode.sticky){const Ce=Math.abs((S?-q:q)-m.translate),Ve=m.slidesSizesGrid[m.activeIndex];K=Ce<Ve?E.speed:Ce<2*Ve?1.5*E.speed:2.5*E.speed}}else if(E.freeMode.sticky)return void m.slideToClosest();E.freeMode.momentumBounce&&H?(m.updateProgress(T),m.setTransition(K),m.setTranslate(q),m.transitionStart(!0,m.swipeDirection),m.animating=!0,(0,t.j)(A,()=>{!m||m.destroyed||!oe.allowMomentumBounce||(U("momentumBounce"),m.setTransition(E.speed),setTimeout(()=>{m.setTranslate(T),(0,t.j)(A,()=>{!m||m.destroyed||m.transitionEnd()})},0))})):m.velocity?(U("_freeModeNoMomentumRelease"),m.updateProgress(q),m.setTransition(K),m.setTranslate(q),m.transitionStart(!0,m.swipeDirection),m.animating||(m.animating=!0,(0,t.j)(A,()=>{!m||m.destroyed||m.transitionEnd()}))):m.updateProgress(q),m.updateActiveIndex(),m.updateSlidesClasses()}else{if(E.freeMode.sticky)return void m.slideToClosest();E.freeMode&&U("_freeModeNoMomentumRelease")}(!E.freeMode.momentum||ee>=E.longSwipesMs)&&(U("_freeModeStaticRelease"),m.updateProgress(),m.updateActiveIndex(),m.updateSlidesClasses())}}}})}},177:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>e});var t=s(479),u=s(6426);function e(m){let{swiper:p,extendParams:U,emit:n,on:I}=m,L=!1;const y=(0,t.g)(),O=(0,t.a)();U({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(Z,oe){if(p.virtual&&p.params.virtual.enabled){const le=p.slides.filter(K=>K.getAttribute("data-hash")===oe)[0];return le?parseInt(le.getAttribute("data-swiper-slide-index"),10):0}return p.getSlideIndex((0,u.e)(p.slidesEl,`.${p.params.slideClass}[data-hash="${oe}"], swiper-slide[data-hash="${oe}"]`)[0])}}});const M=()=>{n("hashChange");const Z=y.location.hash.replace("#",""),oe=p.virtual&&p.params.virtual.enabled?p.slidesEl.querySelector(`[data-swiper-slide-index="${p.activeIndex}"]`):p.slides[p.activeIndex];if(Z!==(oe?oe.getAttribute("data-hash"):"")){const ee=p.params.hashNavigation.getSlideIndex(p,Z);if(typeof ee>"u"||Number.isNaN(ee))return;p.slideTo(ee)}},E=()=>{if(!L||!p.params.hashNavigation.enabled)return;const Z=p.virtual&&p.params.virtual.enabled?p.slidesEl.querySelector(`[data-swiper-slide-index="${p.activeIndex}"]`):p.slides[p.activeIndex],oe=Z?Z.getAttribute("data-hash")||Z.getAttribute("data-history"):"";p.params.hashNavigation.replaceState&&O.history&&O.history.replaceState?(O.history.replaceState(null,null,`#${oe}`||""),n("hashSet")):(y.location.hash=oe||"",n("hashSet"))};I("init",()=>{p.params.hashNavigation.enabled&&(()=>{if(!p.params.hashNavigation.enabled||p.params.history&&p.params.history.enabled)return;L=!0;const Z=y.location.hash.replace("#","");if(Z){const le=p.params.hashNavigation.getSlideIndex(p,Z);p.slideTo(le||0,0,p.params.runCallbacksOnInit,!0)}p.params.hashNavigation.watchState&&O.addEventListener("hashchange",M)})()}),I("destroy",()=>{p.params.hashNavigation.enabled&&p.params.hashNavigation.watchState&&O.removeEventListener("hashchange",M)}),I("transitionEnd _freeModeNoMomentumRelease",()=>{L&&E()}),I("slideChange",()=>{L&&p.params.cssMode&&E()})}},877:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>u});var t=s(479);function u(e){let{swiper:m,extendParams:p,on:U}=e;p({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,I={};const L=Z=>Z.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),y=Z=>{const oe=(0,t.a)();let le;le=Z?new URL(Z):oe.location;const ee=le.pathname.slice(1).split("/").filter(H=>""!==H),K=ee.length;return{key:ee[K-2],value:ee[K-1]}},O=(Z,oe)=>{const le=(0,t.a)();if(!n||!m.params.history.enabled)return;let ee;ee=m.params.url?new URL(m.params.url):le.location;let Q=L(m.slides[oe].getAttribute("data-history"));if(m.params.history.root.length>0){let H=m.params.history.root;"/"===H[H.length-1]&&(H=H.slice(0,H.length-1)),Q=`${H}/${Z?`${Z}/`:""}${Q}`}else ee.pathname.includes(Z)||(Q=`${Z?`${Z}/`:""}${Q}`);m.params.history.keepQuery&&(Q+=ee.search);const q=le.history.state;q&&q.value===Q||(m.params.history.replaceState?le.history.replaceState({value:Q},null,Q):le.history.pushState({value:Q},null,Q))},M=(Z,oe,le)=>{if(oe)for(let ee=0,K=m.slides.length;ee<K;ee+=1){const Q=m.slides[ee];if(L(Q.getAttribute("data-history"))===oe){const H=m.getSlideIndex(Q);m.slideTo(H,Z,le)}}else m.slideTo(0,Z,le)},E=()=>{I=y(m.params.url),M(m.params.speed,I.value,!1)};U("init",()=>{m.params.history.enabled&&(()=>{const Z=(0,t.a)();if(m.params.history){if(!Z.history||!Z.history.pushState)return m.params.history.enabled=!1,void(m.params.hashNavigation.enabled=!0);if(n=!0,I=y(m.params.url),!I.key&&!I.value)return void(m.params.history.replaceState||Z.addEventListener("popstate",E));M(0,I.value,m.params.runCallbacksOnInit),m.params.history.replaceState||Z.addEventListener("popstate",E)}})()}),U("destroy",()=>{m.params.history.enabled&&(()=>{const Z=(0,t.a)();m.params.history.replaceState||Z.removeEventListener("popstate",E)})()}),U("transitionEnd _freeModeNoMomentumRelease",()=>{n&&O(m.params.history.key,m.activeIndex)}),U("slideChange",()=>{n&&m.params.cssMode&&O(m.params.history.key,m.activeIndex)})}},1348:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>e});var t=s(479),u=s(6426);function e(m){let{swiper:p,extendParams:U,on:n,emit:I}=m;const L=(0,t.g)(),y=(0,t.a)();function O(A){if(!p.enabled)return;const{rtlTranslate:S}=p;let Z=A;Z.originalEvent&&(Z=Z.originalEvent);const oe=Z.keyCode||Z.charCode,le=p.params.keyboard.pageUpDown,ee=le&&33===oe,K=le&&34===oe,Q=37===oe,q=39===oe,H=38===oe,T=40===oe;if(!p.allowSlideNext&&(p.isHorizontal()&&q||p.isVertical()&&T||K)||!p.allowSlidePrev&&(p.isHorizontal()&&Q||p.isVertical()&&H||ee))return!1;if(!(Z.shiftKey||Z.altKey||Z.ctrlKey||Z.metaKey||L.activeElement&&L.activeElement.nodeName&&("input"===L.activeElement.nodeName.toLowerCase()||"textarea"===L.activeElement.nodeName.toLowerCase()))){if(p.params.keyboard.onlyInViewport&&(ee||K||Q||q||H||T)){let ie=!1;if((0,u.a)(p.el,`.${p.params.slideClass}, swiper-slide`).length>0&&0===(0,u.a)(p.el,`.${p.params.slideActiveClass}`).length)return;const _e=p.el,Ce=_e.clientWidth,Ve=_e.clientHeight,ae=y.innerWidth,pe=y.innerHeight,Ae=(0,u.b)(_e);S&&(Ae.left-=_e.scrollLeft);const Ze=[[Ae.left,Ae.top],[Ae.left+Ce,Ae.top],[Ae.left,Ae.top+Ve],[Ae.left+Ce,Ae.top+Ve]];for(let dt=0;dt<Ze.length;dt+=1){const Fe=Ze[dt];if(Fe[0]>=0&&Fe[0]<=ae&&Fe[1]>=0&&Fe[1]<=pe){if(0===Fe[0]&&0===Fe[1])continue;ie=!0}}if(!ie)return}p.isHorizontal()?((ee||K||Q||q)&&(Z.preventDefault?Z.preventDefault():Z.returnValue=!1),((K||q)&&!S||(ee||Q)&&S)&&p.slideNext(),((ee||Q)&&!S||(K||q)&&S)&&p.slidePrev()):((ee||K||H||T)&&(Z.preventDefault?Z.preventDefault():Z.returnValue=!1),(K||T)&&p.slideNext(),(ee||H)&&p.slidePrev()),I("keyPress",oe)}}function M(){p.keyboard.enabled||(L.addEventListener("keydown",O),p.keyboard.enabled=!0)}function E(){p.keyboard.enabled&&(L.removeEventListener("keydown",O),p.keyboard.enabled=!1)}p.keyboard={enabled:!1},U({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),n("init",()=>{p.params.keyboard.enabled&&M()}),n("destroy",()=>{p.keyboard.enabled&&E()}),Object.assign(p.keyboard,{enable:M,disable:E})}},1927:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>e});var t=s(479),u=s(6426);function e(m){let{swiper:p,extendParams:U,on:n,emit:I}=m;const L=(0,t.a)();U({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),p.mousewheel={enabled:!1};let y,M,O=(0,u.d)();const E=[];function S(){p.enabled&&(p.mouseEntered=!0)}function Z(){p.enabled&&(p.mouseEntered=!1)}function oe(H){return!(p.params.mousewheel.thresholdDelta&&H.delta<p.params.mousewheel.thresholdDelta||p.params.mousewheel.thresholdTime&&(0,u.d)()-O<p.params.mousewheel.thresholdTime)&&(H.delta>=6&&(0,u.d)()-O<60||(H.direction<0?(!p.isEnd||p.params.loop)&&!p.animating&&(p.slideNext(),I("scroll",H.raw)):(!p.isBeginning||p.params.loop)&&!p.animating&&(p.slidePrev(),I("scroll",H.raw)),O=(new L.Date).getTime(),!1))}function ee(H){let T=H,ie=!0;if(!p.enabled||H.target.closest(`.${p.params.mousewheel.noMousewheelClass}`))return;const _e=p.params.mousewheel;p.params.cssMode&&T.preventDefault();let Ce=p.el;"container"!==p.params.mousewheel.eventsTarget&&(Ce=document.querySelector(p.params.mousewheel.eventsTarget));const Ve=Ce&&Ce.contains(T.target);if(!p.mouseEntered&&!Ve&&!_e.releaseOnEdges)return!0;T.originalEvent&&(T=T.originalEvent);let ae=0;const pe=p.rtlTranslate?-1:1,Ae=function A(H){let Ce=0,Ve=0,ae=0,pe=0;return"detail"in H&&(Ve=H.detail),"wheelDelta"in H&&(Ve=-H.wheelDelta/120),"wheelDeltaY"in H&&(Ve=-H.wheelDeltaY/120),"wheelDeltaX"in H&&(Ce=-H.wheelDeltaX/120),"axis"in H&&H.axis===H.HORIZONTAL_AXIS&&(Ce=Ve,Ve=0),ae=10*Ce,pe=10*Ve,"deltaY"in H&&(pe=H.deltaY),"deltaX"in H&&(ae=H.deltaX),H.shiftKey&&!ae&&(ae=pe,pe=0),(ae||pe)&&H.deltaMode&&(1===H.deltaMode?(ae*=40,pe*=40):(ae*=800,pe*=800)),ae&&!Ce&&(Ce=ae<1?-1:1),pe&&!Ve&&(Ve=pe<1?-1:1),{spinX:Ce,spinY:Ve,pixelX:ae,pixelY:pe}}(T);if(_e.forceToAxis)if(p.isHorizontal()){if(!(Math.abs(Ae.pixelX)>Math.abs(Ae.pixelY)))return!0;ae=-Ae.pixelX*pe}else{if(!(Math.abs(Ae.pixelY)>Math.abs(Ae.pixelX)))return!0;ae=-Ae.pixelY}else ae=Math.abs(Ae.pixelX)>Math.abs(Ae.pixelY)?-Ae.pixelX*pe:-Ae.pixelY;if(0===ae)return!0;_e.invert&&(ae=-ae);let Ze=p.getTranslate()+ae*_e.sensitivity;if(Ze>=p.minTranslate()&&(Ze=p.minTranslate()),Ze<=p.maxTranslate()&&(Ze=p.maxTranslate()),ie=!!p.params.loop||!(Ze===p.minTranslate()||Ze===p.maxTranslate()),ie&&p.params.nested&&T.stopPropagation(),p.params.freeMode&&p.params.freeMode.enabled){const dt={time:(0,u.d)(),delta:Math.abs(ae),direction:Math.sign(ae)},Fe=M&&dt.time<M.time+500&&dt.delta<=M.delta&&dt.direction===M.direction;if(!Fe){M=void 0;let Xe=p.getTranslate()+ae*_e.sensitivity;const Ie=p.isBeginning,W=p.isEnd;if(Xe>=p.minTranslate()&&(Xe=p.minTranslate()),Xe<=p.maxTranslate()&&(Xe=p.maxTranslate()),p.setTransition(0),p.setTranslate(Xe),p.updateProgress(),p.updateActiveIndex(),p.updateSlidesClasses(),(!Ie&&p.isBeginning||!W&&p.isEnd)&&p.updateSlidesClasses(),p.params.loop&&p.loopFix({direction:dt.direction<0?"next":"prev",byMousewheel:!0}),p.params.freeMode.sticky){clearTimeout(y),y=void 0,E.length>=15&&E.shift();const we=E.length?E[E.length-1]:void 0,P=E[0];if(E.push(dt),we&&(dt.delta>we.delta||dt.direction!==we.direction))E.splice(0);else if(E.length>=15&&dt.time-P.time<500&&P.delta-dt.delta>=1&&dt.delta<=6){const V=ae>0?.8:.2;M=dt,E.splice(0),y=(0,u.n)(()=>{p.slideToClosest(p.params.speed,!0,void 0,V)},0)}y||(y=(0,u.n)(()=>{M=dt,E.splice(0),p.slideToClosest(p.params.speed,!0,void 0,.5)},500))}if(Fe||I("scroll",T),p.params.autoplay&&p.params.autoplayDisableOnInteraction&&p.autoplay.stop(),_e.releaseOnEdges&&(Xe===p.minTranslate()||Xe===p.maxTranslate()))return!0}}else{const dt={time:(0,u.d)(),delta:Math.abs(ae),direction:Math.sign(ae),raw:H};E.length>=2&&E.shift();const Fe=E.length?E[E.length-1]:void 0;if(E.push(dt),Fe?(dt.direction!==Fe.direction||dt.delta>Fe.delta||dt.time>Fe.time+150)&&oe(dt):oe(dt),function le(H){const T=p.params.mousewheel;if(H.direction<0){if(p.isEnd&&!p.params.loop&&T.releaseOnEdges)return!0}else if(p.isBeginning&&!p.params.loop&&T.releaseOnEdges)return!0;return!1}(dt))return!0}return T.preventDefault?T.preventDefault():T.returnValue=!1,!1}function K(H){let T=p.el;"container"!==p.params.mousewheel.eventsTarget&&(T=document.querySelector(p.params.mousewheel.eventsTarget)),T[H]("mouseenter",S),T[H]("mouseleave",Z),T[H]("wheel",ee)}function Q(){return p.params.cssMode?(p.wrapperEl.removeEventListener("wheel",ee),!0):!p.mousewheel.enabled&&(K("addEventListener"),p.mousewheel.enabled=!0,!0)}function q(){return p.params.cssMode?(p.wrapperEl.addEventListener(event,ee),!0):!!p.mousewheel.enabled&&(K("removeEventListener"),p.mousewheel.enabled=!1,!0)}n("init",()=>{!p.params.mousewheel.enabled&&p.params.cssMode&&q(),p.params.mousewheel.enabled&&Q()}),n("destroy",()=>{p.params.cssMode&&Q(),p.mousewheel.enabled&&q()}),Object.assign(p.mousewheel,{enable:Q,disable:q})}},7520:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>u});var t=s(6151);function u(e){let{swiper:m,extendParams:p,on:U,emit:n}=e;p({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),m.navigation={nextEl:null,prevEl:null};const I=le=>(Array.isArray(le)?le:[le]).filter(ee=>!!ee);function L(le){let ee;return le&&"string"==typeof le&&m.isElement&&(ee=m.el.querySelector(le),ee)?ee:(le&&("string"==typeof le&&(ee=[...document.querySelectorAll(le)]),m.params.uniqueNavElements&&"string"==typeof le&&ee.length>1&&1===m.el.querySelectorAll(le).length&&(ee=m.el.querySelector(le))),le&&!ee?le:ee)}function y(le,ee){const K=m.params.navigation;(le=I(le)).forEach(Q=>{Q&&(Q.classList[ee?"add":"remove"](...K.disabledClass.split(" ")),"BUTTON"===Q.tagName&&(Q.disabled=ee),m.params.watchOverflow&&m.enabled&&Q.classList[m.isLocked?"add":"remove"](K.lockClass))})}function O(){const{nextEl:le,prevEl:ee}=m.navigation;if(m.params.loop)return y(ee,!1),void y(le,!1);y(ee,m.isBeginning&&!m.params.rewind),y(le,m.isEnd&&!m.params.rewind)}function M(le){le.preventDefault(),(!m.isBeginning||m.params.loop||m.params.rewind)&&(m.slidePrev(),n("navigationPrev"))}function E(le){le.preventDefault(),(!m.isEnd||m.params.loop||m.params.rewind)&&(m.slideNext(),n("navigationNext"))}function A(){const le=m.params.navigation;if(m.params.navigation=(0,t.c)(m,m.originalParams.navigation,m.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!le.nextEl&&!le.prevEl)return;let ee=L(le.nextEl),K=L(le.prevEl);Object.assign(m.navigation,{nextEl:ee,prevEl:K}),ee=I(ee),K=I(K);const Q=(q,H)=>{q&&q.addEventListener("click","next"===H?E:M),!m.enabled&&q&&q.classList.add(...le.lockClass.split(" "))};ee.forEach(q=>Q(q,"next")),K.forEach(q=>Q(q,"prev"))}function S(){let{nextEl:le,prevEl:ee}=m.navigation;le=I(le),ee=I(ee);const K=(Q,q)=>{Q.removeEventListener("click","next"===q?E:M),Q.classList.remove(...m.params.navigation.disabledClass.split(" "))};le.forEach(Q=>K(Q,"next")),ee.forEach(Q=>K(Q,"prev"))}U("init",()=>{!1===m.params.navigation.enabled?oe():(A(),O())}),U("toEdge fromEdge lock unlock",()=>{O()}),U("destroy",()=>{S()}),U("enable disable",()=>{let{nextEl:le,prevEl:ee}=m.navigation;le=I(le),ee=I(ee),m.enabled?O():[...le,...ee].filter(K=>!!K).forEach(K=>K.classList.add(m.params.navigation.lockClass))}),U("click",(le,ee)=>{let{nextEl:K,prevEl:Q}=m.navigation;K=I(K),Q=I(Q);const q=ee.target;if(m.params.navigation.hideOnClick&&!Q.includes(q)&&!K.includes(q)){if(m.pagination&&m.params.pagination&&m.params.pagination.clickable&&(m.pagination.el===q||m.pagination.el.contains(q)))return;let H;K.length?H=K[0].classList.contains(m.params.navigation.hiddenClass):Q.length&&(H=Q[0].classList.contains(m.params.navigation.hiddenClass)),n(!0===H?"navigationShow":"navigationHide"),[...K,...Q].filter(T=>!!T).forEach(T=>T.classList.toggle(m.params.navigation.hiddenClass))}});const oe=()=>{m.el.classList.add(...m.params.navigation.navigationDisabledClass.split(" ")),S()};Object.assign(m.navigation,{enable:()=>{m.el.classList.remove(...m.params.navigation.navigationDisabledClass.split(" ")),A(),O()},disable:oe,update:O,init:A,destroy:S})}},1322:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>m});var t=s(3107),u=s(6151),e=s(6426);function m(p){let{swiper:U,extendParams:n,on:I,emit:L}=p;const y="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:H=>H,formatFractionTotal:H=>H,bulletClass:`${y}-bullet`,bulletActiveClass:`${y}-bullet-active`,modifierClass:`${y}-`,currentClass:`${y}-current`,totalClass:`${y}-total`,hiddenClass:`${y}-hidden`,progressbarFillClass:`${y}-progressbar-fill`,progressbarOppositeClass:`${y}-progressbar-opposite`,clickableClass:`${y}-clickable`,lockClass:`${y}-lock`,horizontalClass:`${y}-horizontal`,verticalClass:`${y}-vertical`,paginationDisabledClass:`${y}-disabled`}}),U.pagination={el:null,bullets:[]};let O,M=0;const E=H=>(Array.isArray(H)?H:[H]).filter(T=>!!T);function A(){return!U.params.pagination.el||!U.pagination.el||Array.isArray(U.pagination.el)&&0===U.pagination.el.length}function S(H,T){const{bulletActiveClass:ie}=U.params.pagination;H&&(H=H[("prev"===T?"previous":"next")+"ElementSibling"])&&(H.classList.add(`${ie}-${T}`),(H=H[("prev"===T?"previous":"next")+"ElementSibling"])&&H.classList.add(`${ie}-${T}-${T}`))}function Z(H){const T=H.target.closest((0,t.c)(U.params.pagination.bulletClass));if(!T)return;H.preventDefault();const ie=(0,e.g)(T)*U.params.slidesPerGroup;if(U.params.loop){if(U.realIndex===ie)return;U.slideToLoop(ie)}else U.slideTo(ie)}function oe(){const H=U.rtl,T=U.params.pagination;if(A())return;let _e,Ce,ie=U.pagination.el;ie=E(ie);const ae=U.params.loop?Math.ceil((U.virtual&&U.params.virtual.enabled?U.virtual.slides.length:U.slides.length)/U.params.slidesPerGroup):U.snapGrid.length;if(U.params.loop?(Ce=U.previousRealIndex||0,_e=U.params.slidesPerGroup>1?Math.floor(U.realIndex/U.params.slidesPerGroup):U.realIndex):typeof U.snapIndex<"u"?(_e=U.snapIndex,Ce=U.previousSnapIndex):(Ce=U.previousIndex||0,_e=U.activeIndex||0),"bullets"===T.type&&U.pagination.bullets&&U.pagination.bullets.length>0){const pe=U.pagination.bullets;let Ae,Ze,dt;if(T.dynamicBullets&&(O=(0,e.f)(pe[0],U.isHorizontal()?"width":"height",!0),ie.forEach(Fe=>{Fe.style[U.isHorizontal()?"width":"height"]=O*(T.dynamicMainBullets+4)+"px"}),T.dynamicMainBullets>1&&void 0!==Ce&&(M+=_e-(Ce||0),M>T.dynamicMainBullets-1?M=T.dynamicMainBullets-1:M<0&&(M=0)),Ae=Math.max(_e-M,0),Ze=Ae+(Math.min(pe.length,T.dynamicMainBullets)-1),dt=(Ze+Ae)/2),pe.forEach(Fe=>{const Xe=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(Ie=>`${T.bulletActiveClass}${Ie}`)].map(Ie=>"string"==typeof Ie&&Ie.includes(" ")?Ie.split(" "):Ie).flat();Fe.classList.remove(...Xe)}),ie.length>1)pe.forEach(Fe=>{const Xe=(0,e.g)(Fe);Xe===_e?Fe.classList.add(...T.bulletActiveClass.split(" ")):U.isElement&&Fe.setAttribute("part","bullet"),T.dynamicBullets&&(Xe>=Ae&&Xe<=Ze&&Fe.classList.add(...`${T.bulletActiveClass}-main`.split(" ")),Xe===Ae&&S(Fe,"prev"),Xe===Ze&&S(Fe,"next"))});else{const Fe=pe[_e];if(Fe&&Fe.classList.add(...T.bulletActiveClass.split(" ")),U.isElement&&pe.forEach((Xe,Ie)=>{Xe.setAttribute("part",Ie===_e?"bullet-active":"bullet")}),T.dynamicBullets){const Xe=pe[Ae],Ie=pe[Ze];for(let W=Ae;W<=Ze;W+=1)pe[W]&&pe[W].classList.add(...`${T.bulletActiveClass}-main`.split(" "));S(Xe,"prev"),S(Ie,"next")}}if(T.dynamicBullets){const Fe=Math.min(pe.length,T.dynamicMainBullets+4),Xe=(O*Fe-O)/2-dt*O,Ie=H?"right":"left";pe.forEach(W=>{W.style[U.isHorizontal()?Ie:"top"]=`${Xe}px`})}}ie.forEach((pe,Ae)=>{if("fraction"===T.type&&(pe.querySelectorAll((0,t.c)(T.currentClass)).forEach(Ze=>{Ze.textContent=T.formatFractionCurrent(_e+1)}),pe.querySelectorAll((0,t.c)(T.totalClass)).forEach(Ze=>{Ze.textContent=T.formatFractionTotal(ae)})),"progressbar"===T.type){let Ze;Ze=T.progressbarOpposite?U.isHorizontal()?"vertical":"horizontal":U.isHorizontal()?"horizontal":"vertical";const dt=(_e+1)/ae;let Fe=1,Xe=1;"horizontal"===Ze?Fe=dt:Xe=dt,pe.querySelectorAll((0,t.c)(T.progressbarFillClass)).forEach(Ie=>{Ie.style.transform=`translate3d(0,0,0) scaleX(${Fe}) scaleY(${Xe})`,Ie.style.transitionDuration=`${U.params.speed}ms`})}"custom"===T.type&&T.renderCustom?(pe.innerHTML=T.renderCustom(U,_e+1,ae),0===Ae&&L("paginationRender",pe)):(0===Ae&&L("paginationRender",pe),L("paginationUpdate",pe)),U.params.watchOverflow&&U.enabled&&pe.classList[U.isLocked?"add":"remove"](T.lockClass)})}function le(){const H=U.params.pagination;if(A())return;const T=U.virtual&&U.params.virtual.enabled?U.virtual.slides.length:U.grid&&U.params.grid.rows>1?U.slides.length/Math.ceil(U.params.grid.rows):U.slides.length;let ie=U.pagination.el;ie=E(ie);let _e="";if("bullets"===H.type){let Ce=U.params.loop?Math.ceil(T/U.params.slidesPerGroup):U.snapGrid.length;U.params.freeMode&&U.params.freeMode.enabled&&Ce>T&&(Ce=T);for(let Ve=0;Ve<Ce;Ve+=1)_e+=H.renderBullet?H.renderBullet.call(U,Ve,H.bulletClass):`<${H.bulletElement} ${U.isElement?'part="bullet"':""} class="${H.bulletClass}"></${H.bulletElement}>`}"fraction"===H.type&&(_e=H.renderFraction?H.renderFraction.call(U,H.currentClass,H.totalClass):`<span class="${H.currentClass}"></span> / <span class="${H.totalClass}"></span>`),"progressbar"===H.type&&(_e=H.renderProgressbar?H.renderProgressbar.call(U,H.progressbarFillClass):`<span class="${H.progressbarFillClass}"></span>`),U.pagination.bullets=[],ie.forEach(Ce=>{"custom"!==H.type&&(Ce.innerHTML=_e||""),"bullets"===H.type&&U.pagination.bullets.push(...Ce.querySelectorAll((0,t.c)(H.bulletClass)))}),"custom"!==H.type&&L("paginationRender",ie[0])}function ee(){U.params.pagination=(0,u.c)(U,U.originalParams.pagination,U.params.pagination,{el:"swiper-pagination"});const H=U.params.pagination;if(!H.el)return;let T;"string"==typeof H.el&&U.isElement&&(T=U.el.querySelector(H.el)),!T&&"string"==typeof H.el&&(T=[...document.querySelectorAll(H.el)]),T||(T=H.el),T&&0!==T.length&&(U.params.uniqueNavElements&&"string"==typeof H.el&&Array.isArray(T)&&T.length>1&&(T=[...U.el.querySelectorAll(H.el)],T.length>1&&(T=T.filter(ie=>(0,e.a)(ie,".swiper")[0]===U.el)[0])),Array.isArray(T)&&1===T.length&&(T=T[0]),Object.assign(U.pagination,{el:T}),T=E(T),T.forEach(ie=>{"bullets"===H.type&&H.clickable&&ie.classList.add(...(H.clickableClass||"").split(" ")),ie.classList.add(H.modifierClass+H.type),ie.classList.add(U.isHorizontal()?H.horizontalClass:H.verticalClass),"bullets"===H.type&&H.dynamicBullets&&(ie.classList.add(`${H.modifierClass}${H.type}-dynamic`),M=0,H.dynamicMainBullets<1&&(H.dynamicMainBullets=1)),"progressbar"===H.type&&H.progressbarOpposite&&ie.classList.add(H.progressbarOppositeClass),H.clickable&&ie.addEventListener("click",Z),U.enabled||ie.classList.add(H.lockClass)}))}function K(){const H=U.params.pagination;if(A())return;let T=U.pagination.el;T&&(T=E(T),T.forEach(ie=>{ie.classList.remove(H.hiddenClass),ie.classList.remove(H.modifierClass+H.type),ie.classList.remove(U.isHorizontal()?H.horizontalClass:H.verticalClass),H.clickable&&(ie.classList.remove(...(H.clickableClass||"").split(" ")),ie.removeEventListener("click",Z))})),U.pagination.bullets&&U.pagination.bullets.forEach(ie=>ie.classList.remove(...H.bulletActiveClass.split(" ")))}I("changeDirection",()=>{if(!U.pagination||!U.pagination.el)return;const H=U.params.pagination;let{el:T}=U.pagination;T=E(T),T.forEach(ie=>{ie.classList.remove(H.horizontalClass,H.verticalClass),ie.classList.add(U.isHorizontal()?H.horizontalClass:H.verticalClass)})}),I("init",()=>{!1===U.params.pagination.enabled?q():(ee(),le(),oe())}),I("activeIndexChange",()=>{typeof U.snapIndex>"u"&&oe()}),I("snapIndexChange",()=>{oe()}),I("snapGridLengthChange",()=>{le(),oe()}),I("destroy",()=>{K()}),I("enable disable",()=>{let{el:H}=U.pagination;H&&(H=E(H),H.forEach(T=>T.classList[U.enabled?"remove":"add"](U.params.pagination.lockClass)))}),I("lock unlock",()=>{oe()}),I("click",(H,T)=>{const ie=T.target,_e=E(U.pagination.el);if(U.params.pagination.el&&U.params.pagination.hideOnClick&&_e&&_e.length>0&&!ie.classList.contains(U.params.pagination.bulletClass)){if(U.navigation&&(U.navigation.nextEl&&ie===U.navigation.nextEl||U.navigation.prevEl&&ie===U.navigation.prevEl))return;const Ce=_e[0].classList.contains(U.params.pagination.hiddenClass);L(!0===Ce?"paginationShow":"paginationHide"),_e.forEach(Ve=>Ve.classList.toggle(U.params.pagination.hiddenClass))}});const q=()=>{U.el.classList.add(U.params.pagination.paginationDisabledClass);let{el:H}=U.pagination;H&&(H=E(H),H.forEach(T=>T.classList.add(U.params.pagination.paginationDisabledClass))),K()};Object.assign(U.pagination,{enable:()=>{U.el.classList.remove(U.params.pagination.paginationDisabledClass);let{el:H}=U.pagination;H&&(H=E(H),H.forEach(T=>T.classList.remove(U.params.pagination.paginationDisabledClass))),ee(),le(),oe()},disable:q,render:le,update:oe,init:ee,destroy:K})}},3350:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>u});var t=s(6426);function u(e){let{swiper:m,extendParams:p,on:U}=e;p({parallax:{enabled:!1}});const n="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",I=(O,M)=>{const{rtl:E}=m,A=E?-1:1,S=O.getAttribute("data-swiper-parallax")||"0";let Z=O.getAttribute("data-swiper-parallax-x"),oe=O.getAttribute("data-swiper-parallax-y");const le=O.getAttribute("data-swiper-parallax-scale"),ee=O.getAttribute("data-swiper-parallax-opacity"),K=O.getAttribute("data-swiper-parallax-rotate");if(Z||oe?(Z=Z||"0",oe=oe||"0"):m.isHorizontal()?(Z=S,oe="0"):(oe=S,Z="0"),Z=Z.indexOf("%")>=0?parseInt(Z,10)*M*A+"%":Z*M*A+"px",oe=oe.indexOf("%")>=0?parseInt(oe,10)*M+"%":oe*M+"px",typeof ee<"u"&&null!==ee){const q=ee-(ee-1)*(1-Math.abs(M));O.style.opacity=q}let Q=`translate3d(${Z}, ${oe}, 0px)`;typeof le<"u"&&null!==le&&(Q+=` scale(${le-(le-1)*(1-Math.abs(M))})`),K&&typeof K<"u"&&null!==K&&(Q+=` rotate(${K*M*-1}deg)`),O.style.transform=Q},L=()=>{const{el:O,slides:M,progress:E,snapGrid:A}=m,Z=(0,t.e)(O,n);m.isElement&&Z.push(...(0,t.e)(m.hostEl,n)),Z.forEach(oe=>{I(oe,E)}),M.forEach((oe,le)=>{let ee=oe.progress;m.params.slidesPerGroup>1&&"auto"!==m.params.slidesPerView&&(ee+=Math.ceil(le/2)-E*(A.length-1)),ee=Math.min(Math.max(ee,-1),1),oe.querySelectorAll(`${n}, [data-swiper-parallax-rotate]`).forEach(K=>{I(K,ee)})})};U("beforeInit",()=>{m.params.parallax.enabled&&(m.params.watchSlidesProgress=!0,m.originalParams.watchSlidesProgress=!0)}),U("init",()=>{m.params.parallax.enabled&&L()}),U("setTranslate",()=>{m.params.parallax.enabled&&L()}),U("setTransition",(O,M)=>{m.params.parallax.enabled&&function(O){void 0===O&&(O=m.params.speed);const{el:M,hostEl:E}=m,A=[...M.querySelectorAll(n)];m.isElement&&A.push(...E.querySelectorAll(n)),A.forEach(S=>{let Z=parseInt(S.getAttribute("data-swiper-parallax-duration"),10)||O;0===O&&(Z=0),S.style.transitionDuration=`${Z}ms`})}(M)})}},325:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>p});var t=s(479),u=s(6426),e=s(6151),m=s(3107);function p(U){let{swiper:n,extendParams:I,on:L,emit:y}=U;const O=(0,t.g)();let S,Z,oe,le,M=!1,E=null,A=null;function ee(){if(!n.params.scrollbar.el||!n.scrollbar.el)return;const{scrollbar:Fe,rtlTranslate:Xe}=n,{dragEl:Ie,el:W}=Fe,we=n.params.scrollbar;let V=Z,Se=(oe-Z)*(n.params.loop?n.progressLoop:n.progress);Xe?(Se=-Se,Se>0?(V=Z-Se,Se=0):-Se+Z>oe&&(V=oe+Se)):Se<0?(V=Z+Se,Se=0):Se+Z>oe&&(V=oe-Se),n.isHorizontal()?(Ie.style.transform=`translate3d(${Se}px, 0, 0)`,Ie.style.width=`${V}px`):(Ie.style.transform=`translate3d(0px, ${Se}px, 0)`,Ie.style.height=`${V}px`),we.hide&&(clearTimeout(E),W.style.opacity=1,E=setTimeout(()=>{W.style.opacity=0,W.style.transitionDuration="400ms"},1e3))}function Q(){if(!n.params.scrollbar.el||!n.scrollbar.el)return;const{scrollbar:Fe}=n,{dragEl:Xe,el:Ie}=Fe;Xe.style.width="",Xe.style.height="",oe=n.isHorizontal()?Ie.offsetWidth:Ie.offsetHeight,le=n.size/(n.virtualSize+n.params.slidesOffsetBefore-(n.params.centeredSlides?n.snapGrid[0]:0)),Z="auto"===n.params.scrollbar.dragSize?oe*le:parseInt(n.params.scrollbar.dragSize,10),n.isHorizontal()?Xe.style.width=`${Z}px`:Xe.style.height=`${Z}px`,Ie.style.display=le>=1?"none":"",n.params.scrollbar.hide&&(Ie.style.opacity=0),n.params.watchOverflow&&n.enabled&&Fe.el.classList[n.isLocked?"add":"remove"](n.params.scrollbar.lockClass)}function q(Fe){return n.isHorizontal()?Fe.clientX:Fe.clientY}function H(Fe){const{scrollbar:Xe,rtlTranslate:Ie}=n,{el:W}=Xe;let we;we=(q(Fe)-(0,u.b)(W)[n.isHorizontal()?"left":"top"]-(null!==S?S:Z/2))/(oe-Z),we=Math.max(Math.min(we,1),0),Ie&&(we=1-we);const P=n.minTranslate()+(n.maxTranslate()-n.minTranslate())*we;n.updateProgress(P),n.setTranslate(P),n.updateActiveIndex(),n.updateSlidesClasses()}function T(Fe){const Xe=n.params.scrollbar,{scrollbar:Ie,wrapperEl:W}=n,{el:we,dragEl:P}=Ie;M=!0,S=Fe.target===P?q(Fe)-Fe.target.getBoundingClientRect()[n.isHorizontal()?"left":"top"]:null,Fe.preventDefault(),Fe.stopPropagation(),W.style.transitionDuration="100ms",P.style.transitionDuration="100ms",H(Fe),clearTimeout(A),we.style.transitionDuration="0ms",Xe.hide&&(we.style.opacity=1),n.params.cssMode&&(n.wrapperEl.style["scroll-snap-type"]="none"),y("scrollbarDragStart",Fe)}function ie(Fe){const{scrollbar:Xe,wrapperEl:Ie}=n,{el:W,dragEl:we}=Xe;M&&(Fe.preventDefault?Fe.preventDefault():Fe.returnValue=!1,H(Fe),Ie.style.transitionDuration="0ms",W.style.transitionDuration="0ms",we.style.transitionDuration="0ms",y("scrollbarDragMove",Fe))}function _e(Fe){const Xe=n.params.scrollbar,{scrollbar:Ie,wrapperEl:W}=n,{el:we}=Ie;M&&(M=!1,n.params.cssMode&&(n.wrapperEl.style["scroll-snap-type"]="",W.style.transitionDuration=""),Xe.hide&&(clearTimeout(A),A=(0,u.n)(()=>{we.style.opacity=0,we.style.transitionDuration="400ms"},1e3)),y("scrollbarDragEnd",Fe),Xe.snapOnRelease&&n.slideToClosest())}function Ce(Fe){const{scrollbar:Xe,params:Ie}=n,W=Xe.el;if(!W)return;const P=!!Ie.passiveListeners&&{passive:!1,capture:!1},V=!!Ie.passiveListeners&&{passive:!0,capture:!1};if(!W)return;const Se="on"===Fe?"addEventListener":"removeEventListener";W[Se]("pointerdown",T,P),O[Se]("pointermove",ie,P),O[Se]("pointerup",_e,V)}function pe(){const{scrollbar:Fe,el:Xe}=n;n.params.scrollbar=(0,e.c)(n,n.originalParams.scrollbar,n.params.scrollbar,{el:"swiper-scrollbar"});const Ie=n.params.scrollbar;if(!Ie.el)return;let W,we;if("string"==typeof Ie.el&&n.isElement&&(W=n.el.querySelector(Ie.el)),W||"string"!=typeof Ie.el)W||(W=Ie.el);else if(W=O.querySelectorAll(Ie.el),!W.length)return;n.params.uniqueNavElements&&"string"==typeof Ie.el&&W.length>1&&1===Xe.querySelectorAll(Ie.el).length&&(W=Xe.querySelector(Ie.el)),W.length>0&&(W=W[0]),W.classList.add(n.isHorizontal()?Ie.horizontalClass:Ie.verticalClass),W&&(we=W.querySelector((0,m.c)(n.params.scrollbar.dragClass)),we||(we=(0,u.c)("div",n.params.scrollbar.dragClass),W.append(we))),Object.assign(Fe,{el:W,dragEl:we}),Ie.draggable&&function Ve(){!n.params.scrollbar.el||!n.scrollbar.el||Ce("on")}(),W&&W.classList[n.enabled?"remove":"add"](...(0,u.h)(n.params.scrollbar.lockClass))}function Ae(){const Fe=n.params.scrollbar,Xe=n.scrollbar.el;Xe&&Xe.classList.remove(...(0,u.h)(n.isHorizontal()?Fe.horizontalClass:Fe.verticalClass)),function ae(){!n.params.scrollbar.el||!n.scrollbar.el||Ce("off")}()}I({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),n.scrollbar={el:null,dragEl:null},L("init",()=>{!1===n.params.scrollbar.enabled?dt():(pe(),Q(),ee())}),L("update resize observerUpdate lock unlock",()=>{Q()}),L("setTranslate",()=>{ee()}),L("setTransition",(Fe,Xe)=>{!function K(Fe){!n.params.scrollbar.el||!n.scrollbar.el||(n.scrollbar.dragEl.style.transitionDuration=`${Fe}ms`)}(Xe)}),L("enable disable",()=>{const{el:Fe}=n.scrollbar;Fe&&Fe.classList[n.enabled?"remove":"add"](...(0,u.h)(n.params.scrollbar.lockClass))}),L("destroy",()=>{Ae()});const dt=()=>{n.el.classList.add(...(0,u.h)(n.params.scrollbar.scrollbarDisabledClass)),n.scrollbar.el&&n.scrollbar.el.classList.add(...(0,u.h)(n.params.scrollbar.scrollbarDisabledClass)),Ae()};Object.assign(n.scrollbar,{enable:()=>{n.el.classList.remove(...(0,u.h)(n.params.scrollbar.scrollbarDisabledClass)),n.scrollbar.el&&n.scrollbar.el.classList.remove(...(0,u.h)(n.params.scrollbar.scrollbarDisabledClass)),pe(),Q(),ee()},disable:dt,updateSize:Q,setTranslate:ee,init:pe,destroy:Ae})}},3567:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>e});var t=s(479),u=s(6426);function e(m){let{swiper:p,extendParams:U,on:n}=m;U({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let I=!1,L=!1;function y(){const E=p.thumbs.swiper;if(!E||E.destroyed)return;const A=E.clickedIndex,S=E.clickedSlide;if(S&&S.classList.contains(p.params.thumbs.slideThumbActiveClass)||typeof A>"u"||null===A)return;let Z;Z=E.params.loop?parseInt(E.clickedSlide.getAttribute("data-swiper-slide-index"),10):A,p.params.loop?p.slideToLoop(Z):p.slideTo(Z)}function O(){const{thumbs:E}=p.params;if(I)return!1;I=!0;const A=p.constructor;if(E.swiper instanceof A)p.thumbs.swiper=E.swiper,Object.assign(p.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(p.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),p.thumbs.swiper.update();else if((0,u.k)(E.swiper)){const S=Object.assign({},E.swiper);Object.assign(S,{watchSlidesProgress:!0,slideToClickedSlide:!1}),p.thumbs.swiper=new A(S),L=!0}return p.thumbs.swiper.el.classList.add(p.params.thumbs.thumbsContainerClass),p.thumbs.swiper.on("tap",y),!0}function M(E){const A=p.thumbs.swiper;if(!A||A.destroyed)return;const S="auto"===A.params.slidesPerView?A.slidesPerViewDynamic():A.params.slidesPerView;let Z=1;const oe=p.params.thumbs.slideThumbActiveClass;if(p.params.slidesPerView>1&&!p.params.centeredSlides&&(Z=p.params.slidesPerView),p.params.thumbs.multipleActiveThumbs||(Z=1),Z=Math.floor(Z),A.slides.forEach(K=>K.classList.remove(oe)),A.params.loop||A.params.virtual&&A.params.virtual.enabled)for(let K=0;K<Z;K+=1)(0,u.e)(A.slidesEl,`[data-swiper-slide-index="${p.realIndex+K}"]`).forEach(Q=>{Q.classList.add(oe)});else for(let K=0;K<Z;K+=1)A.slides[p.realIndex+K]&&A.slides[p.realIndex+K].classList.add(oe);const le=p.params.thumbs.autoScrollOffset,ee=le&&!A.params.loop;if(p.realIndex!==A.realIndex||ee){const K=A.activeIndex;let Q,q;if(A.params.loop){const H=A.slides.filter(T=>T.getAttribute("data-swiper-slide-index")===`${p.realIndex}`)[0];Q=A.slides.indexOf(H),q=p.activeIndex>p.previousIndex?"next":"prev"}else Q=p.realIndex,q=Q>p.previousIndex?"next":"prev";ee&&(Q+="next"===q?le:-1*le),A.visibleSlidesIndexes&&A.visibleSlidesIndexes.indexOf(Q)<0&&(A.params.centeredSlides&&(Q=Q>K?Q-Math.floor(S/2)+1:Q+Math.floor(S/2)-1),A.slideTo(Q,E?0:void 0))}}p.thumbs={swiper:null},n("beforeInit",()=>{const{thumbs:E}=p.params;if(E&&E.swiper)if("string"==typeof E.swiper||E.swiper instanceof HTMLElement){const A=(0,t.g)(),S=()=>{const oe="string"==typeof E.swiper?A.querySelector(E.swiper):E.swiper;if(oe&&oe.swiper)E.swiper=oe.swiper,O(),M(!0);else if(oe){const le=ee=>{E.swiper=ee.detail[0],oe.removeEventListener("init",le),O(),M(!0),E.swiper.update(),p.update()};oe.addEventListener("init",le)}return oe},Z=()=>{p.destroyed||S()||requestAnimationFrame(Z)};requestAnimationFrame(Z)}else O(),M(!0)}),n("slideChange update resize observerUpdate",()=>{M()}),n("setTransition",(E,A)=>{const S=p.thumbs.swiper;!S||S.destroyed||S.setTransition(A)}),n("beforeDestroy",()=>{const E=p.thumbs.swiper;!E||E.destroyed||L&&E.destroy()}),Object.assign(p.thumbs,{init:O,update:M})}},3411:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>e});var t=s(479),u=s(6426);function e(m){let L,{swiper:p,extendParams:U,on:n,emit:I}=m;U({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const y=(0,t.g)();p.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const O=y.createElement("div");function M(le,ee){const K=p.params.virtual;if(K.cache&&p.virtual.cache[ee])return p.virtual.cache[ee];let Q;return K.renderSlide?(Q=K.renderSlide.call(p,le,ee),"string"==typeof Q&&(O.innerHTML=Q,Q=O.children[0])):Q=p.isElement?(0,u.c)("swiper-slide"):(0,u.c)("div",p.params.slideClass),Q.setAttribute("data-swiper-slide-index",ee),K.renderSlide||(Q.innerHTML=le),K.cache&&(p.virtual.cache[ee]=Q),Q}function E(le){const{slidesPerView:ee,slidesPerGroup:K,centeredSlides:Q,loop:q}=p.params,{addSlidesBefore:H,addSlidesAfter:T}=p.params.virtual,{from:ie,to:_e,slides:Ce,slidesGrid:Ve,offset:ae}=p.virtual;p.params.cssMode||p.updateActiveIndex();const pe=p.activeIndex||0;let Ae,Ze,dt;Ae=p.rtlTranslate?"right":p.isHorizontal()?"left":"top",Q?(Ze=Math.floor(ee/2)+K+T,dt=Math.floor(ee/2)+K+H):(Ze=ee+(K-1)+T,dt=(q?ee:K)+H);let Fe=pe-dt,Xe=pe+Ze;q||(Fe=Math.max(Fe,0),Xe=Math.min(Xe,Ce.length-1));let Ie=(p.slidesGrid[Fe]||0)-(p.slidesGrid[0]||0);function W(){p.updateSlides(),p.updateProgress(),p.updateSlidesClasses(),I("virtualUpdate")}if(q&&pe>=dt?(Fe-=dt,Q||(Ie+=p.slidesGrid[0])):q&&pe<dt&&(Fe=-dt,Q&&(Ie+=p.slidesGrid[0])),Object.assign(p.virtual,{from:Fe,to:Xe,offset:Ie,slidesGrid:p.slidesGrid,slidesBefore:dt,slidesAfter:Ze}),ie===Fe&&_e===Xe&&!le)return p.slidesGrid!==Ve&&Ie!==ae&&p.slides.forEach(be=>{be.style[Ae]=Ie-Math.abs(p.cssOverflowAdjustment())+"px"}),p.updateProgress(),void I("virtualUpdate");if(p.params.virtual.renderExternal)return p.params.virtual.renderExternal.call(p,{offset:Ie,from:Fe,to:Xe,slides:function(){const de=[];for(let De=Fe;De<=Xe;De+=1)de.push(Ce[De]);return de}()}),void(p.params.virtual.renderExternalUpdate?W():I("virtualUpdate"));const we=[],P=[],V=be=>{let de=be;return be<0?de=Ce.length+be:de>=Ce.length&&(de-=Ce.length),de};if(le)p.slides.filter(be=>be.matches(`.${p.params.slideClass}, swiper-slide`)).forEach(be=>{be.remove()});else for(let be=ie;be<=_e;be+=1)if(be<Fe||be>Xe){const de=V(be);p.slides.filter(De=>De.matches(`.${p.params.slideClass}[data-swiper-slide-index="${de}"], swiper-slide[data-swiper-slide-index="${de}"]`)).forEach(De=>{De.remove()})}const G=q?2*Ce.length:Ce.length;for(let be=q?-Ce.length:0;be<G;be+=1)if(be>=Fe&&be<=Xe){const de=V(be);typeof _e>"u"||le?P.push(de):(be>_e&&P.push(de),be<ie&&we.push(de))}if(P.forEach(be=>{p.slidesEl.append(M(Ce[be],be))}),q)for(let be=we.length-1;be>=0;be-=1){const de=we[be];p.slidesEl.prepend(M(Ce[de],de))}else we.sort((be,de)=>de-be),we.forEach(be=>{p.slidesEl.prepend(M(Ce[be],be))});(0,u.e)(p.slidesEl,".swiper-slide, swiper-slide").forEach(be=>{be.style[Ae]=Ie-Math.abs(p.cssOverflowAdjustment())+"px"}),W()}n("beforeInit",()=>{if(!p.params.virtual.enabled)return;let le;if(typeof p.passedParams.virtual.slides>"u"){const ee=[...p.slidesEl.children].filter(K=>K.matches(`.${p.params.slideClass}, swiper-slide`));ee&&ee.length&&(p.virtual.slides=[...ee],le=!0,ee.forEach((K,Q)=>{K.setAttribute("data-swiper-slide-index",Q),p.virtual.cache[Q]=K,K.remove()}))}le||(p.virtual.slides=p.params.virtual.slides),p.classNames.push(`${p.params.containerModifierClass}virtual`),p.params.watchSlidesProgress=!0,p.originalParams.watchSlidesProgress=!0,E()}),n("setTranslate",()=>{p.params.virtual.enabled&&(p.params.cssMode&&!p._immediateVirtual?(clearTimeout(L),L=setTimeout(()=>{E()},100)):E())}),n("init update resize",()=>{p.params.virtual.enabled&&p.params.cssMode&&(0,u.s)(p.wrapperEl,"--swiper-virtual-size",`${p.virtualSize}px`)}),Object.assign(p.virtual,{appendSlide:function A(le){if("object"==typeof le&&"length"in le)for(let ee=0;ee<le.length;ee+=1)le[ee]&&p.virtual.slides.push(le[ee]);else p.virtual.slides.push(le);E(!0)},prependSlide:function S(le){const ee=p.activeIndex;let K=ee+1,Q=1;if(Array.isArray(le)){for(let q=0;q<le.length;q+=1)le[q]&&p.virtual.slides.unshift(le[q]);K=ee+le.length,Q=le.length}else p.virtual.slides.unshift(le);if(p.params.virtual.cache){const q=p.virtual.cache,H={};Object.keys(q).forEach(T=>{const ie=q[T],_e=ie.getAttribute("data-swiper-slide-index");_e&&ie.setAttribute("data-swiper-slide-index",parseInt(_e,10)+Q),H[parseInt(T,10)+Q]=ie}),p.virtual.cache=H}E(!0),p.slideTo(K,0)},removeSlide:function Z(le){if(typeof le>"u"||null===le)return;let ee=p.activeIndex;if(Array.isArray(le))for(let K=le.length-1;K>=0;K-=1)p.params.virtual.cache&&(delete p.virtual.cache[le[K]],Object.keys(p.virtual.cache).forEach(Q=>{Q>le&&(p.virtual.cache[Q-1]=p.virtual.cache[Q],p.virtual.cache[Q-1].setAttribute("data-swiper-slide-index",Q-1),delete p.virtual.cache[Q])})),p.virtual.slides.splice(le[K],1),le[K]<ee&&(ee-=1),ee=Math.max(ee,0);else p.params.virtual.cache&&(delete p.virtual.cache[le],Object.keys(p.virtual.cache).forEach(K=>{K>le&&(p.virtual.cache[K-1]=p.virtual.cache[K],p.virtual.cache[K-1].setAttribute("data-swiper-slide-index",K-1),delete p.virtual.cache[K])})),p.virtual.slides.splice(le,1),le<ee&&(ee-=1),ee=Math.max(ee,0);E(!0),p.slideTo(ee,0)},removeAllSlides:function oe(){p.virtual.slides=[],p.params.virtual.cache&&(p.virtual.cache={}),E(!0),p.slideTo(0,0)},update:E})}},1242:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>e});var t=s(479),u=s(6426);function e(m){let{swiper:p,extendParams:U,on:n,emit:I}=m;const L=(0,t.a)();U({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),p.zoom={enabled:!1};let M,E,y=1,O=!1;const A=[],S={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},Z={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},oe={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let le=1;function ee(){return A.length<2?1:Math.sqrt((A[1].pageX-A[0].pageX)**2+(A[1].pageY-A[0].pageY)**2)}function q(W){const we=function Q(){return p.isElement?"swiper-slide":`.${p.params.slideClass}`}();return!!(W.target.matches(we)||p.slides.filter(P=>P.contains(W.target)).length>0)}function T(W){if("mouse"===W.pointerType&&A.splice(0,A.length),!q(W))return;const we=p.params.zoom;if(M=!1,E=!1,A.push(W),!(A.length<2)){if(M=!0,S.scaleStart=ee(),!S.slideEl){S.slideEl=W.target.closest(`.${p.params.slideClass}, swiper-slide`),S.slideEl||(S.slideEl=p.slides[p.activeIndex]);let P=S.slideEl.querySelector(`.${we.containerClass}`);if(P&&(P=P.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),S.imageEl=P,S.imageWrapEl=P?(0,u.a)(S.imageEl,`.${we.containerClass}`)[0]:void 0,!S.imageWrapEl)return void(S.imageEl=void 0);S.maxRatio=S.imageWrapEl.getAttribute("data-swiper-zoom")||we.maxRatio}if(S.imageEl){const[P,V]=function K(){if(A.length<2)return{x:null,y:null};const W=S.imageEl.getBoundingClientRect();return[(A[0].pageX+(A[1].pageX-A[0].pageX)/2-W.x-L.scrollX)/y,(A[0].pageY+(A[1].pageY-A[0].pageY)/2-W.y-L.scrollY)/y]}();S.originX=P,S.originY=V,S.imageEl.style.transitionDuration="0ms"}O=!0}}function ie(W){if(!q(W))return;const we=p.params.zoom,P=p.zoom,V=A.findIndex(Se=>Se.pointerId===W.pointerId);V>=0&&(A[V]=W),!(A.length<2)&&(E=!0,S.scaleMove=ee(),S.imageEl&&(P.scale=S.scaleMove/S.scaleStart*y,P.scale>S.maxRatio&&(P.scale=S.maxRatio-1+(P.scale-S.maxRatio+1)**.5),P.scale<we.minRatio&&(P.scale=we.minRatio+1-(we.minRatio-P.scale+1)**.5),S.imageEl.style.transform=`translate3d(0,0,0) scale(${P.scale})`))}function _e(W){if(!q(W)||"mouse"===W.pointerType&&"pointerout"===W.type)return;const we=p.params.zoom,P=p.zoom,V=A.findIndex(Se=>Se.pointerId===W.pointerId);V>=0&&A.splice(V,1),M&&E&&(M=!1,E=!1,S.imageEl&&(P.scale=Math.max(Math.min(P.scale,S.maxRatio),we.minRatio),S.imageEl.style.transitionDuration=`${p.params.speed}ms`,S.imageEl.style.transform=`translate3d(0,0,0) scale(${P.scale})`,y=P.scale,O=!1,P.scale>1&&S.slideEl?S.slideEl.classList.add(`${we.zoomedSlideClass}`):P.scale<=1&&S.slideEl&&S.slideEl.classList.remove(`${we.zoomedSlideClass}`),1===P.scale&&(S.originX=0,S.originY=0,S.slideEl=void 0)))}function Ve(W){if(!q(W)||!function H(W){const we=`.${p.params.zoom.containerClass}`;return!!(W.target.matches(we)||[...p.hostEl.querySelectorAll(we)].filter(P=>P.contains(W.target)).length>0)}(W))return;const we=p.zoom;if(!S.imageEl||!Z.isTouched||!S.slideEl)return;Z.isMoved||(Z.width=S.imageEl.offsetWidth,Z.height=S.imageEl.offsetHeight,Z.startX=(0,u.i)(S.imageWrapEl,"x")||0,Z.startY=(0,u.i)(S.imageWrapEl,"y")||0,S.slideWidth=S.slideEl.offsetWidth,S.slideHeight=S.slideEl.offsetHeight,S.imageWrapEl.style.transitionDuration="0ms");const P=Z.width*we.scale,V=Z.height*we.scale;if(P<S.slideWidth&&V<S.slideHeight)return;if(Z.minX=Math.min(S.slideWidth/2-P/2,0),Z.maxX=-Z.minX,Z.minY=Math.min(S.slideHeight/2-V/2,0),Z.maxY=-Z.minY,Z.touchesCurrent.x=A.length>0?A[0].pageX:W.pageX,Z.touchesCurrent.y=A.length>0?A[0].pageY:W.pageY,Math.max(Math.abs(Z.touchesCurrent.x-Z.touchesStart.x),Math.abs(Z.touchesCurrent.y-Z.touchesStart.y))>5&&(p.allowClick=!1),!Z.isMoved&&!O){if(p.isHorizontal()&&(Math.floor(Z.minX)===Math.floor(Z.startX)&&Z.touchesCurrent.x<Z.touchesStart.x||Math.floor(Z.maxX)===Math.floor(Z.startX)&&Z.touchesCurrent.x>Z.touchesStart.x))return void(Z.isTouched=!1);if(!p.isHorizontal()&&(Math.floor(Z.minY)===Math.floor(Z.startY)&&Z.touchesCurrent.y<Z.touchesStart.y||Math.floor(Z.maxY)===Math.floor(Z.startY)&&Z.touchesCurrent.y>Z.touchesStart.y))return void(Z.isTouched=!1)}W.cancelable&&W.preventDefault(),W.stopPropagation(),Z.isMoved=!0;const G=(we.scale-y)/(S.maxRatio-p.params.zoom.minRatio),{originX:be,originY:de}=S;Z.currentX=Z.touchesCurrent.x-Z.touchesStart.x+Z.startX+G*(Z.width-2*be),Z.currentY=Z.touchesCurrent.y-Z.touchesStart.y+Z.startY+G*(Z.height-2*de),Z.currentX<Z.minX&&(Z.currentX=Z.minX+1-(Z.minX-Z.currentX+1)**.8),Z.currentX>Z.maxX&&(Z.currentX=Z.maxX-1+(Z.currentX-Z.maxX+1)**.8),Z.currentY<Z.minY&&(Z.currentY=Z.minY+1-(Z.minY-Z.currentY+1)**.8),Z.currentY>Z.maxY&&(Z.currentY=Z.maxY-1+(Z.currentY-Z.maxY+1)**.8),oe.prevPositionX||(oe.prevPositionX=Z.touchesCurrent.x),oe.prevPositionY||(oe.prevPositionY=Z.touchesCurrent.y),oe.prevTime||(oe.prevTime=Date.now()),oe.x=(Z.touchesCurrent.x-oe.prevPositionX)/(Date.now()-oe.prevTime)/2,oe.y=(Z.touchesCurrent.y-oe.prevPositionY)/(Date.now()-oe.prevTime)/2,Math.abs(Z.touchesCurrent.x-oe.prevPositionX)<2&&(oe.x=0),Math.abs(Z.touchesCurrent.y-oe.prevPositionY)<2&&(oe.y=0),oe.prevPositionX=Z.touchesCurrent.x,oe.prevPositionY=Z.touchesCurrent.y,oe.prevTime=Date.now(),S.imageWrapEl.style.transform=`translate3d(${Z.currentX}px, ${Z.currentY}px,0)`}function pe(){const W=p.zoom;S.slideEl&&p.activeIndex!==p.slides.indexOf(S.slideEl)&&(S.imageEl&&(S.imageEl.style.transform="translate3d(0,0,0) scale(1)"),S.imageWrapEl&&(S.imageWrapEl.style.transform="translate3d(0,0,0)"),S.slideEl.classList.remove(`${p.params.zoom.zoomedSlideClass}`),W.scale=1,y=1,S.slideEl=void 0,S.imageEl=void 0,S.imageWrapEl=void 0,S.originX=0,S.originY=0)}function Ae(W){const we=p.zoom,P=p.params.zoom;if(!S.slideEl){W&&W.target&&(S.slideEl=W.target.closest(`.${p.params.slideClass}, swiper-slide`)),S.slideEl||(S.slideEl=p.params.virtual&&p.params.virtual.enabled&&p.virtual?(0,u.e)(p.slidesEl,`.${p.params.slideActiveClass}`)[0]:p.slides[p.activeIndex]);let Ee=S.slideEl.querySelector(`.${P.containerClass}`);Ee&&(Ee=Ee.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),S.imageEl=Ee,S.imageWrapEl=Ee?(0,u.a)(S.imageEl,`.${P.containerClass}`)[0]:void 0}if(!S.imageEl||!S.imageWrapEl)return;let V,Se,G,be,de,De,tt,Re,Ft,mt,sn,hn,Nn,Jt,cn,He,fe,Ne;p.params.cssMode&&(p.wrapperEl.style.overflow="hidden",p.wrapperEl.style.touchAction="none"),S.slideEl.classList.add(`${P.zoomedSlideClass}`),typeof Z.touchesStart.x>"u"&&W?(V=W.pageX,Se=W.pageY):(V=Z.touchesStart.x,Se=Z.touchesStart.y);const $="number"==typeof W?W:null;1===y&&$&&(V=void 0,Se=void 0),we.scale=$||S.imageWrapEl.getAttribute("data-swiper-zoom")||P.maxRatio,y=$||S.imageWrapEl.getAttribute("data-swiper-zoom")||P.maxRatio,!W||1===y&&$?(tt=0,Re=0):(fe=S.slideEl.offsetWidth,Ne=S.slideEl.offsetHeight,G=(0,u.b)(S.slideEl).left+L.scrollX,be=(0,u.b)(S.slideEl).top+L.scrollY,de=G+fe/2-V,De=be+Ne/2-Se,Ft=S.imageEl.offsetWidth,mt=S.imageEl.offsetHeight,sn=Ft*we.scale,hn=mt*we.scale,Nn=Math.min(fe/2-sn/2,0),Jt=Math.min(Ne/2-hn/2,0),cn=-Nn,He=-Jt,tt=de*we.scale,Re=De*we.scale,tt<Nn&&(tt=Nn),tt>cn&&(tt=cn),Re<Jt&&(Re=Jt),Re>He&&(Re=He)),$&&1===we.scale&&(S.originX=0,S.originY=0),S.imageWrapEl.style.transitionDuration="300ms",S.imageWrapEl.style.transform=`translate3d(${tt}px, ${Re}px,0)`,S.imageEl.style.transitionDuration="300ms",S.imageEl.style.transform=`translate3d(0,0,0) scale(${we.scale})`}function Ze(){const W=p.zoom,we=p.params.zoom;if(!S.slideEl){S.slideEl=p.params.virtual&&p.params.virtual.enabled&&p.virtual?(0,u.e)(p.slidesEl,`.${p.params.slideActiveClass}`)[0]:p.slides[p.activeIndex];let P=S.slideEl.querySelector(`.${we.containerClass}`);P&&(P=P.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),S.imageEl=P,S.imageWrapEl=P?(0,u.a)(S.imageEl,`.${we.containerClass}`)[0]:void 0}!S.imageEl||!S.imageWrapEl||(p.params.cssMode&&(p.wrapperEl.style.overflow="",p.wrapperEl.style.touchAction=""),W.scale=1,y=1,S.imageWrapEl.style.transitionDuration="300ms",S.imageWrapEl.style.transform="translate3d(0,0,0)",S.imageEl.style.transitionDuration="300ms",S.imageEl.style.transform="translate3d(0,0,0) scale(1)",S.slideEl.classList.remove(`${we.zoomedSlideClass}`),S.slideEl=void 0,S.originX=0,S.originY=0)}function dt(W){const we=p.zoom;we.scale&&1!==we.scale?Ze():Ae(W)}function Fe(){return{passiveListener:!!p.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!p.params.passiveListeners||{passive:!1,capture:!0}}}function Xe(){const W=p.zoom;if(W.enabled)return;W.enabled=!0;const{passiveListener:we,activeListenerWithCapture:P}=Fe();p.wrapperEl.addEventListener("pointerdown",T,we),p.wrapperEl.addEventListener("pointermove",ie,P),["pointerup","pointercancel","pointerout"].forEach(V=>{p.wrapperEl.addEventListener(V,_e,we)}),p.wrapperEl.addEventListener("pointermove",Ve,P)}function Ie(){const W=p.zoom;if(!W.enabled)return;W.enabled=!1;const{passiveListener:we,activeListenerWithCapture:P}=Fe();p.wrapperEl.removeEventListener("pointerdown",T,we),p.wrapperEl.removeEventListener("pointermove",ie,P),["pointerup","pointercancel","pointerout"].forEach(V=>{p.wrapperEl.removeEventListener(V,_e,we)}),p.wrapperEl.removeEventListener("pointermove",Ve,P)}Object.defineProperty(p.zoom,"scale",{get:()=>le,set(W){le!==W&&I("zoomChange",W,S.imageEl,S.slideEl),le=W}}),n("init",()=>{p.params.zoom.enabled&&Xe()}),n("destroy",()=>{Ie()}),n("touchStart",(W,we)=>{p.zoom.enabled&&function Ce(W){if(!S.imageEl||Z.isTouched)return;p.device.android&&W.cancelable&&W.preventDefault(),Z.isTouched=!0;const P=A.length>0?A[0]:W;Z.touchesStart.x=P.pageX,Z.touchesStart.y=P.pageY}(we)}),n("touchEnd",(W,we)=>{p.zoom.enabled&&function ae(){const W=p.zoom;if(!S.imageEl)return;if(!Z.isTouched||!Z.isMoved)return Z.isTouched=!1,void(Z.isMoved=!1);Z.isTouched=!1,Z.isMoved=!1;let we=300,P=300;const Se=Z.currentX+oe.x*we,be=Z.currentY+oe.y*P;0!==oe.x&&(we=Math.abs((Se-Z.currentX)/oe.x)),0!==oe.y&&(P=Math.abs((be-Z.currentY)/oe.y));const de=Math.max(we,P);Z.currentX=Se,Z.currentY=be;const tt=Z.height*W.scale;Z.minX=Math.min(S.slideWidth/2-Z.width*W.scale/2,0),Z.maxX=-Z.minX,Z.minY=Math.min(S.slideHeight/2-tt/2,0),Z.maxY=-Z.minY,Z.currentX=Math.max(Math.min(Z.currentX,Z.maxX),Z.minX),Z.currentY=Math.max(Math.min(Z.currentY,Z.maxY),Z.minY),S.imageWrapEl.style.transitionDuration=`${de}ms`,S.imageWrapEl.style.transform=`translate3d(${Z.currentX}px, ${Z.currentY}px,0)`}()}),n("doubleTap",(W,we)=>{!p.animating&&p.params.zoom.enabled&&p.zoom.enabled&&p.params.zoom.toggle&&dt(we)}),n("transitionEnd",()=>{p.zoom.enabled&&p.params.zoom.enabled&&pe()}),n("slideChange",()=>{p.zoom.enabled&&p.params.zoom.enabled&&p.params.cssMode&&pe()}),Object.assign(p.zoom,{enable:Xe,disable:Ie,in:Ae,out:Ze,toggle:dt})}},3107:(jt,$e,s)=>{"use strict";function t(u){return void 0===u&&(u=""),`.${u.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}s.d($e,{c:()=>t})},6151:(jt,$e,s)=>{"use strict";s.d($e,{c:()=>u});var t=s(6426);function u(e,m,p,U){return e.params.createElements&&Object.keys(U).forEach(n=>{if(!p[n]&&!0===p.auto){let I=(0,t.e)(e.el,`.${U[n]}`)[0];I||(I=(0,t.c)("div",U[n]),I.className=U[n],e.el.append(I)),p[n]=I,m[n]=I}}),p}},8354:(jt,$e,s)=>{"use strict";s.d($e,{c:()=>u});var t=s(6426);function u(e,m,p){const U=`swiper-slide-shadow${p?`-${p}`:""}${e?` swiper-slide-shadow-${e}`:""}`,n=(0,t.l)(m);let I=n.querySelector(`.${U.split(" ").join(".")}`);return I||(I=(0,t.c)("div",U.split(" ")),n.append(I)),I}},7017:(jt,$e,s)=>{"use strict";function t(u){const{effect:e,swiper:m,on:p,setTranslate:U,setTransition:n,overwriteParams:I,perspective:L,recreateShadows:y,getEffectParams:O}=u;let M;p("beforeInit",()=>{if(m.params.effect!==e)return;m.classNames.push(`${m.params.containerModifierClass}${e}`),L&&L()&&m.classNames.push(`${m.params.containerModifierClass}3d`);const E=I?I():{};Object.assign(m.params,E),Object.assign(m.originalParams,E)}),p("setTranslate",()=>{m.params.effect===e&&U()}),p("setTransition",(E,A)=>{m.params.effect===e&&n(A)}),p("transitionEnd",()=>{if(m.params.effect===e&&y){if(!O||!O().slideShadows)return;m.slides.forEach(E=>{E.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(A=>A.remove())}),y()}}),p("virtualUpdate",()=>{m.params.effect===e&&(m.slides.length||(M=!0),requestAnimationFrame(()=>{M&&m.slides&&m.slides.length&&(U(),M=!1)}))})}s.d($e,{e:()=>t})},2253:(jt,$e,s)=>{"use strict";s.d($e,{e:()=>u});var t=s(6426);function u(e,m){const p=(0,t.l)(m);return p!==m&&(p.style.backfaceVisibility="hidden",p.style["-webkit-backface-visibility"]="hidden"),p}},5636:(jt,$e,s)=>{"use strict";s.d($e,{e:()=>u});var t=s(6426);function u(e){let{swiper:m,duration:p,transformElements:U,allSlides:n}=e;const{activeIndex:I}=m;if(m.params.virtualTranslate&&0!==p){let O,y=!1;O=n?U:U.filter(M=>{const E=M.classList.contains("swiper-slide-transform")?(y=>y.parentElement?y.parentElement:m.slides.filter(M=>M.shadowRoot&&M.shadowRoot===y.parentNode)[0])(M):M;return m.getSlideIndex(E)===I}),O.forEach(M=>{(0,t.j)(M,()=>{if(y||!m||m.destroyed)return;y=!0,m.animating=!1;const E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});m.wrapperEl.dispatchEvent(E)})})}}},479:(jt,$e,s)=>{"use strict";function t(n){return null!==n&&"object"==typeof n&&"constructor"in n&&n.constructor===Object}function u(n,I){void 0===n&&(n={}),void 0===I&&(I={}),Object.keys(I).forEach(L=>{typeof n[L]>"u"?n[L]=I[L]:t(I[L])&&t(n[L])&&Object.keys(I[L]).length>0&&u(n[L],I[L])})}s.d($e,{a:()=>U,g:()=>m});const e={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function m(){const n=typeof document<"u"?document:{};return u(n,e),n}const p={document:e,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:n=>typeof setTimeout>"u"?(n(),null):setTimeout(n,0),cancelAnimationFrame(n){typeof setTimeout>"u"||clearTimeout(n)}};function U(){const n=typeof window<"u"?window:{};return u(n,p),n}},741:(jt,$e,s)=>{"use strict";s.d($e,{S:()=>et,d:()=>Le});var t=s(479),u=s(6426);let e,U,L;function p(){return e||(e=function m(){const j=(0,t.a)(),F=(0,t.g)();return{smoothScroll:F.documentElement&&F.documentElement.style&&"scrollBehavior"in F.documentElement.style,touch:!!("ontouchstart"in j||j.DocumentTouch&&F instanceof j.DocumentTouch)}}()),e}const q=(j,F)=>{if(!j||j.destroyed||!j.params)return;const k=F.closest(j.isElement?"swiper-slide":`.${j.params.slideClass}`);if(k){let ne=k.querySelector(`.${j.params.lazyPreloaderClass}`);!ne&&j.isElement&&(k.shadowRoot?ne=k.shadowRoot.querySelector(`.${j.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{k.shadowRoot&&(ne=k.shadowRoot.querySelector(`.${j.params.lazyPreloaderClass}`),ne&&ne.remove())})),ne&&ne.remove()}},H=(j,F)=>{if(!j.slides[F])return;const N=j.slides[F].querySelector('[loading="lazy"]');N&&N.removeAttribute("loading")},T=j=>{if(!j||j.destroyed||!j.params)return;let F=j.params.lazyPreloadPrevNext;const N=j.slides.length;if(!N||!F||F<0)return;F=Math.min(F,N);const k="auto"===j.params.slidesPerView?j.slidesPerViewDynamic():Math.ceil(j.params.slidesPerView),ne=j.activeIndex;if(j.params.grid&&j.params.grid.rows>1){const re=ne,B=[re-F];return B.push(...Array.from({length:F}).map((Y,Qe)=>re+k+Qe)),void j.slides.forEach((Y,Qe)=>{B.includes(Y.column)&&H(j,Qe)})}const z=ne+k-1;if(j.params.rewind||j.params.loop)for(let re=ne-F;re<=z+F;re+=1){const B=(re%N+N)%N;(B<ne||B>z)&&H(j,B)}else for(let re=Math.max(ne-F,0);re<=Math.min(z+F,N-1);re+=1)re!==ne&&(re>z||re<ne)&&H(j,re)};function Ie(j){let{swiper:F,runCallbacks:N,direction:k,step:ne}=j;const{activeIndex:z,previousIndex:re}=F;let B=k;if(B||(B=z>re?"next":z<re?"prev":"reset"),F.emit(`transition${ne}`),N&&z!==re){if("reset"===B)return void F.emit(`slideResetTransition${ne}`);F.emit(`slideChangeTransition${ne}`),F.emit("next"===B?`slideNextTransition${ne}`:`slidePrevTransition${ne}`)}}function fe(j,F,N){const k=(0,t.a)(),{params:ne}=j,z=ne.edgeSwipeDetection,re=ne.edgeSwipeThreshold;return!z||!(N<=re||N>=k.innerWidth-re)||"prevent"===z&&(F.preventDefault(),!0)}function Ne(j){const F=this,N=(0,t.g)();let k=j;k.originalEvent&&(k=k.originalEvent);const ne=F.touchEventsData;if("pointerdown"===k.type){if(null!==ne.pointerId&&ne.pointerId!==k.pointerId)return;ne.pointerId=k.pointerId}else"touchstart"===k.type&&1===k.targetTouches.length&&(ne.touchId=k.targetTouches[0].identifier);if("touchstart"===k.type)return void fe(F,k,k.targetTouches[0].pageX);const{params:z,touches:re,enabled:B}=F;if(!B||!z.simulateTouch&&"mouse"===k.pointerType||F.animating&&z.preventInteractionOnTransition)return;!F.animating&&z.cssMode&&z.loop&&F.loopFix();let Y=k.target;if("wrapper"===z.touchEventsTarget&&!F.wrapperEl.contains(Y)||"which"in k&&3===k.which||"button"in k&&k.button>0||ne.isTouched&&ne.isMoved)return;const Qe=!!z.noSwipingClass&&""!==z.noSwipingClass,_t=k.composedPath?k.composedPath():k.path;Qe&&k.target&&k.target.shadowRoot&&_t&&(Y=_t[0]);const Vt=z.noSwipingSelector?z.noSwipingSelector:`.${z.noSwipingClass}`;if(z.noSwiping&&(k.target&&k.target.shadowRoot?function He(j,F){return void 0===F&&(F=this),function N(k){if(!k||k===(0,t.g)()||k===(0,t.a)())return null;k.assignedSlot&&(k=k.assignedSlot);const ne=k.closest(j);return ne||k.getRootNode?ne||N(k.getRootNode().host):null}(F)}(Vt,Y):Y.closest(Vt)))return void(F.allowClick=!0);if(z.swipeHandler&&!Y.closest(z.swipeHandler))return;re.currentX=k.pageX,re.currentY=k.pageY;const xn=re.currentX,Fn=re.currentY;if(!fe(F,k,xn))return;Object.assign(ne,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),re.startX=xn,re.startY=Fn,ne.touchStartTime=(0,u.d)(),F.allowClick=!0,F.updateSize(),F.swipeDirection=void 0,z.threshold>0&&(ne.allowThresholdMove=!1);let Ot=!0;Y.matches(ne.focusableElements)&&(Ot=!1,"SELECT"===Y.nodeName&&(ne.isTouched=!1)),N.activeElement&&N.activeElement.matches(ne.focusableElements)&&N.activeElement!==Y&&N.activeElement.blur(),(z.touchStartForcePreventDefault||Ot&&F.allowTouchMove&&z.touchStartPreventDefault)&&!Y.isContentEditable&&k.preventDefault(),z.freeMode&&z.freeMode.enabled&&F.freeMode&&F.animating&&!z.cssMode&&F.freeMode.onTouchStart(),F.emit("touchStart",k)}function $(j){const F=(0,t.g)(),N=this,k=N.touchEventsData,{params:ne,touches:z,rtlTranslate:re,enabled:B}=N;if(!B||!ne.simulateTouch&&"mouse"===j.pointerType)return;let Qe,Y=j;if(Y.originalEvent&&(Y=Y.originalEvent),"pointermove"===Y.type&&(null!==k.touchId||Y.pointerId!==k.pointerId))return;if("touchmove"===Y.type){if(Qe=[...Y.changedTouches].filter(pn=>pn.identifier===k.touchId)[0],!Qe||Qe.identifier!==k.touchId)return}else Qe=Y;if(!k.isTouched)return void(k.startMoving&&k.isScrolling&&N.emit("touchMoveOpposite",Y));const _t=Qe.pageX,Vt=Qe.pageY;if(Y.preventedByNestedSwiper)return z.startX=_t,void(z.startY=Vt);if(!N.allowTouchMove)return Y.target.matches(k.focusableElements)||(N.allowClick=!1),void(k.isTouched&&(Object.assign(z,{startX:_t,startY:Vt,currentX:_t,currentY:Vt}),k.touchStartTime=(0,u.d)()));if(ne.touchReleaseOnEdges&&!ne.loop)if(N.isVertical()){if(Vt<z.startY&&N.translate<=N.maxTranslate()||Vt>z.startY&&N.translate>=N.minTranslate())return k.isTouched=!1,void(k.isMoved=!1)}else if(_t<z.startX&&N.translate<=N.maxTranslate()||_t>z.startX&&N.translate>=N.minTranslate())return;if(F.activeElement&&Y.target===F.activeElement&&Y.target.matches(k.focusableElements))return k.isMoved=!0,void(N.allowClick=!1);k.allowTouchCallbacks&&N.emit("touchMove",Y),z.previousX=z.currentX,z.previousY=z.currentY,z.currentX=_t,z.currentY=Vt;const bn=z.currentX-z.startX,xn=z.currentY-z.startY;if(N.params.threshold&&Math.sqrt(bn**2+xn**2)<N.params.threshold)return;if(typeof k.isScrolling>"u"){let pn;N.isHorizontal()&&z.currentY===z.startY||N.isVertical()&&z.currentX===z.startX?k.isScrolling=!1:bn*bn+xn*xn>=25&&(pn=180*Math.atan2(Math.abs(xn),Math.abs(bn))/Math.PI,k.isScrolling=N.isHorizontal()?pn>ne.touchAngle:90-pn>ne.touchAngle)}if(k.isScrolling&&N.emit("touchMoveOpposite",Y),typeof k.startMoving>"u"&&(z.currentX!==z.startX||z.currentY!==z.startY)&&(k.startMoving=!0),k.isScrolling)return void(k.isTouched=!1);if(!k.startMoving)return;N.allowClick=!1,!ne.cssMode&&Y.cancelable&&Y.preventDefault(),ne.touchMoveStopPropagation&&!ne.nested&&Y.stopPropagation();let Fn=N.isHorizontal()?bn:xn,Ot=N.isHorizontal()?z.currentX-z.previousX:z.currentY-z.previousY;ne.oneWayMovement&&(Fn=Math.abs(Fn)*(re?1:-1),Ot=Math.abs(Ot)*(re?1:-1)),z.diff=Fn,Fn*=ne.touchRatio,re&&(Fn=-Fn,Ot=-Ot);const En=N.touchesDirection;N.swipeDirection=Fn>0?"prev":"next",N.touchesDirection=Ot>0?"prev":"next";const ye=N.params.loop&&!ne.cssMode,It="next"===N.touchesDirection&&N.allowSlideNext||"prev"===N.touchesDirection&&N.allowSlidePrev;if(!k.isMoved){if(ye&&It&&N.loopFix({direction:N.swipeDirection}),k.startTranslate=N.getTranslate(),N.setTransition(0),N.animating){const pn=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});N.wrapperEl.dispatchEvent(pn)}k.allowMomentumBounce=!1,ne.grabCursor&&(!0===N.allowSlideNext||!0===N.allowSlidePrev)&&N.setGrabCursor(!0),N.emit("sliderFirstMove",Y)}if((new Date).getTime(),k.isMoved&&k.allowThresholdMove&&En!==N.touchesDirection&&ye&&It&&Math.abs(Fn)>=1)return Object.assign(z,{startX:_t,startY:Vt,currentX:_t,currentY:Vt,startTranslate:k.currentTranslate}),k.loopSwapReset=!0,void(k.startTranslate=k.currentTranslate);N.emit("sliderMove",Y),k.isMoved=!0,k.currentTranslate=Fn+k.startTranslate;let wt=!0,$n=ne.resistanceRatio;if(ne.touchReleaseOnEdges&&($n=0),Fn>0?(ye&&It&&k.allowThresholdMove&&k.currentTranslate>(ne.centeredSlides?N.minTranslate()-N.slidesSizesGrid[N.activeIndex+1]:N.minTranslate())&&N.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),k.currentTranslate>N.minTranslate()&&(wt=!1,ne.resistance&&(k.currentTranslate=N.minTranslate()-1+(-N.minTranslate()+k.startTranslate+Fn)**$n))):Fn<0&&(ye&&It&&k.allowThresholdMove&&k.currentTranslate<(ne.centeredSlides?N.maxTranslate()+N.slidesSizesGrid[N.slidesSizesGrid.length-1]:N.maxTranslate())&&N.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:N.slides.length-("auto"===ne.slidesPerView?N.slidesPerViewDynamic():Math.ceil(parseFloat(ne.slidesPerView,10)))}),k.currentTranslate<N.maxTranslate()&&(wt=!1,ne.resistance&&(k.currentTranslate=N.maxTranslate()+1-(N.maxTranslate()-k.startTranslate-Fn)**$n))),wt&&(Y.preventedByNestedSwiper=!0),!N.allowSlideNext&&"next"===N.swipeDirection&&k.currentTranslate<k.startTranslate&&(k.currentTranslate=k.startTranslate),!N.allowSlidePrev&&"prev"===N.swipeDirection&&k.currentTranslate>k.startTranslate&&(k.currentTranslate=k.startTranslate),!N.allowSlidePrev&&!N.allowSlideNext&&(k.currentTranslate=k.startTranslate),ne.threshold>0){if(!(Math.abs(Fn)>ne.threshold||k.allowThresholdMove))return void(k.currentTranslate=k.startTranslate);if(!k.allowThresholdMove)return k.allowThresholdMove=!0,z.startX=z.currentX,z.startY=z.currentY,k.currentTranslate=k.startTranslate,void(z.diff=N.isHorizontal()?z.currentX-z.startX:z.currentY-z.startY)}!ne.followFinger||ne.cssMode||((ne.freeMode&&ne.freeMode.enabled&&N.freeMode||ne.watchSlidesProgress)&&(N.updateActiveIndex(),N.updateSlidesClasses()),ne.freeMode&&ne.freeMode.enabled&&N.freeMode&&N.freeMode.onTouchMove(),N.updateProgress(k.currentTranslate),N.setTranslate(k.currentTranslate))}function Ee(j){const F=this,N=F.touchEventsData;let ne,k=j;if(k.originalEvent&&(k=k.originalEvent),"touchend"===k.type||"touchcancel"===k.type){if(ne=[...k.changedTouches].filter($n=>$n.identifier===N.touchId)[0],!ne||ne.identifier!==N.touchId)return}else{if(null!==N.touchId||k.pointerId!==N.pointerId)return;ne=k}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(k.type)&&(!["pointercancel","contextmenu"].includes(k.type)||!F.browser.isSafari&&!F.browser.isWebView))return;N.pointerId=null,N.touchId=null;const{params:re,touches:B,rtlTranslate:Y,slidesGrid:Qe,enabled:_t}=F;if(!_t||!re.simulateTouch&&"mouse"===k.pointerType)return;if(N.allowTouchCallbacks&&F.emit("touchEnd",k),N.allowTouchCallbacks=!1,!N.isTouched)return N.isMoved&&re.grabCursor&&F.setGrabCursor(!1),N.isMoved=!1,void(N.startMoving=!1);re.grabCursor&&N.isMoved&&N.isTouched&&(!0===F.allowSlideNext||!0===F.allowSlidePrev)&&F.setGrabCursor(!1);const Vt=(0,u.d)(),bn=Vt-N.touchStartTime;if(F.allowClick){const $n=k.path||k.composedPath&&k.composedPath();F.updateClickedSlide($n&&$n[0]||k.target,$n),F.emit("tap click",k),bn<300&&Vt-N.lastClickTime<300&&F.emit("doubleTap doubleClick",k)}if(N.lastClickTime=(0,u.d)(),(0,u.n)(()=>{F.destroyed||(F.allowClick=!0)}),!N.isTouched||!N.isMoved||!F.swipeDirection||0===B.diff&&!N.loopSwapReset||N.currentTranslate===N.startTranslate&&!N.loopSwapReset)return N.isTouched=!1,N.isMoved=!1,void(N.startMoving=!1);let xn;if(N.isTouched=!1,N.isMoved=!1,N.startMoving=!1,xn=re.followFinger?Y?F.translate:-F.translate:-N.currentTranslate,re.cssMode)return;if(re.freeMode&&re.freeMode.enabled)return void F.freeMode.onTouchEnd({currentPos:xn});const Fn=xn>=-F.maxTranslate()&&!F.params.loop;let Ot=0,En=F.slidesSizesGrid[0];for(let $n=0;$n<Qe.length;$n+=$n<re.slidesPerGroupSkip?1:re.slidesPerGroup){const pn=$n<re.slidesPerGroupSkip-1?1:re.slidesPerGroup;typeof Qe[$n+pn]<"u"?(Fn||xn>=Qe[$n]&&xn<Qe[$n+pn])&&(Ot=$n,En=Qe[$n+pn]-Qe[$n]):(Fn||xn>=Qe[$n])&&(Ot=$n,En=Qe[Qe.length-1]-Qe[Qe.length-2])}let ye=null,It=null;re.rewind&&(F.isBeginning?It=re.virtual&&re.virtual.enabled&&F.virtual?F.virtual.slides.length-1:F.slides.length-1:F.isEnd&&(ye=0));const pt=(xn-Qe[Ot])/En,wt=Ot<re.slidesPerGroupSkip-1?1:re.slidesPerGroup;if(bn>re.longSwipesMs){if(!re.longSwipes)return void F.slideTo(F.activeIndex);"next"===F.swipeDirection&&F.slideTo(pt>=re.longSwipesRatio?re.rewind&&F.isEnd?ye:Ot+wt:Ot),"prev"===F.swipeDirection&&(pt>1-re.longSwipesRatio?F.slideTo(Ot+wt):null!==It&&pt<0&&Math.abs(pt)>re.longSwipesRatio?F.slideTo(It):F.slideTo(Ot))}else{if(!re.shortSwipes)return void F.slideTo(F.activeIndex);!F.navigation||k.target!==F.navigation.nextEl&&k.target!==F.navigation.prevEl?("next"===F.swipeDirection&&F.slideTo(null!==ye?ye:Ot+wt),"prev"===F.swipeDirection&&F.slideTo(null!==It?It:Ot)):F.slideTo(k.target===F.navigation.nextEl?Ot+wt:Ot)}}function Ge(){const j=this,{params:F,el:N}=j;if(N&&0===N.offsetWidth)return;F.breakpoints&&j.setBreakpoint();const{allowSlideNext:k,allowSlidePrev:ne,snapGrid:z}=j,re=j.virtual&&j.params.virtual.enabled;j.allowSlideNext=!0,j.allowSlidePrev=!0,j.updateSize(),j.updateSlides(),j.updateSlidesClasses(),!("auto"===F.slidesPerView||F.slidesPerView>1)||!j.isEnd||j.isBeginning||j.params.centeredSlides||re&&F.loop?j.params.loop&&!re?j.slideToLoop(j.realIndex,0,!1,!0):j.slideTo(j.activeIndex,0,!1,!0):j.slideTo(j.slides.length-1,0,!1,!0),j.autoplay&&j.autoplay.running&&j.autoplay.paused&&(clearTimeout(j.autoplay.resizeTimeout),j.autoplay.resizeTimeout=setTimeout(()=>{j.autoplay&&j.autoplay.running&&j.autoplay.paused&&j.autoplay.resume()},500)),j.allowSlidePrev=ne,j.allowSlideNext=k,j.params.watchOverflow&&z!==j.snapGrid&&j.checkOverflow()}function Ke(j){const F=this;F.enabled&&(F.allowClick||(F.params.preventClicks&&j.preventDefault(),F.params.preventClicksPropagation&&F.animating&&(j.stopPropagation(),j.stopImmediatePropagation())))}function Et(){const j=this,{wrapperEl:F,rtlTranslate:N,enabled:k}=j;if(!k)return;let ne;j.previousTranslate=j.translate,j.translate=j.isHorizontal()?-F.scrollLeft:-F.scrollTop,0===j.translate&&(j.translate=0),j.updateActiveIndex(),j.updateSlidesClasses();const z=j.maxTranslate()-j.minTranslate();ne=0===z?0:(j.translate-j.minTranslate())/z,ne!==j.progress&&j.updateProgress(N?-j.translate:j.translate),j.emit("setTranslate",j.translate,!1)}function Tt(j){const F=this;q(F,j.target),!F.params.cssMode&&("auto"===F.params.slidesPerView||F.params.autoHeight)&&F.update()}function tn(){const j=this;j.documentTouchHandlerProceeded||(j.documentTouchHandlerProceeded=!0,j.params.touchReleaseOnEdges&&(j.el.style.touchAction="auto"))}const rn=(j,F)=>{const N=(0,t.g)(),{params:k,el:ne,wrapperEl:z,device:re}=j,B=!!k.nested,Y="on"===F?"addEventListener":"removeEventListener",Qe=F;N[Y]("touchstart",j.onDocumentTouchStart,{passive:!1,capture:B}),ne[Y]("touchstart",j.onTouchStart,{passive:!1}),ne[Y]("pointerdown",j.onTouchStart,{passive:!1}),N[Y]("touchmove",j.onTouchMove,{passive:!1,capture:B}),N[Y]("pointermove",j.onTouchMove,{passive:!1,capture:B}),N[Y]("touchend",j.onTouchEnd,{passive:!0}),N[Y]("pointerup",j.onTouchEnd,{passive:!0}),N[Y]("pointercancel",j.onTouchEnd,{passive:!0}),N[Y]("touchcancel",j.onTouchEnd,{passive:!0}),N[Y]("pointerout",j.onTouchEnd,{passive:!0}),N[Y]("pointerleave",j.onTouchEnd,{passive:!0}),N[Y]("contextmenu",j.onTouchEnd,{passive:!0}),(k.preventClicks||k.preventClicksPropagation)&&ne[Y]("click",j.onClick,!0),k.cssMode&&z[Y]("scroll",j.onScroll),j[Qe](k.updateOnWindowResize?re.ios||re.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",Ge,!0),ne[Y]("load",j.onLoad,{capture:!0})},Ue=(j,F)=>j.grid&&F.grid&&F.grid.rows>1;var Le={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function ue(j,F){return function(k){void 0===k&&(k={});const ne=Object.keys(k)[0],z=k[ne];"object"==typeof z&&null!==z?(!0===j[ne]&&(j[ne]={enabled:!0}),"navigation"===ne&&j[ne]&&j[ne].enabled&&!j[ne].prevEl&&!j[ne].nextEl&&(j[ne].auto=!0),["pagination","scrollbar"].indexOf(ne)>=0&&j[ne]&&j[ne].enabled&&!j[ne].el&&(j[ne].auto=!0),ne in j&&"enabled"in z?("object"==typeof j[ne]&&!("enabled"in j[ne])&&(j[ne].enabled=!0),j[ne]||(j[ne]={enabled:!1}),(0,u.t)(F,k)):(0,u.t)(F,k)):(0,u.t)(F,k)}}const X={eventsEmitter:{on(j,F,N){const k=this;if(!k.eventsListeners||k.destroyed||"function"!=typeof F)return k;const ne=N?"unshift":"push";return j.split(" ").forEach(z=>{k.eventsListeners[z]||(k.eventsListeners[z]=[]),k.eventsListeners[z][ne](F)}),k},once(j,F,N){const k=this;if(!k.eventsListeners||k.destroyed||"function"!=typeof F)return k;function ne(){k.off(j,ne),ne.__emitterProxy&&delete ne.__emitterProxy;for(var z=arguments.length,re=new Array(z),B=0;B<z;B++)re[B]=arguments[B];F.apply(k,re)}return ne.__emitterProxy=F,k.on(j,ne,N)},onAny(j,F){const N=this;if(!N.eventsListeners||N.destroyed||"function"!=typeof j)return N;const k=F?"unshift":"push";return N.eventsAnyListeners.indexOf(j)<0&&N.eventsAnyListeners[k](j),N},offAny(j){const F=this;if(!F.eventsListeners||F.destroyed||!F.eventsAnyListeners)return F;const N=F.eventsAnyListeners.indexOf(j);return N>=0&&F.eventsAnyListeners.splice(N,1),F},off(j,F){const N=this;return!N.eventsListeners||N.destroyed||!N.eventsListeners||j.split(" ").forEach(k=>{typeof F>"u"?N.eventsListeners[k]=[]:N.eventsListeners[k]&&N.eventsListeners[k].forEach((ne,z)=>{(ne===F||ne.__emitterProxy&&ne.__emitterProxy===F)&&N.eventsListeners[k].splice(z,1)})}),N},emit(){const j=this;if(!j.eventsListeners||j.destroyed||!j.eventsListeners)return j;let F,N,k;for(var ne=arguments.length,z=new Array(ne),re=0;re<ne;re++)z[re]=arguments[re];return"string"==typeof z[0]||Array.isArray(z[0])?(F=z[0],N=z.slice(1,z.length),k=j):(F=z[0].events,N=z[0].data,k=z[0].context||j),N.unshift(k),(Array.isArray(F)?F:F.split(" ")).forEach(Y=>{j.eventsAnyListeners&&j.eventsAnyListeners.length&&j.eventsAnyListeners.forEach(Qe=>{Qe.apply(k,[Y,...N])}),j.eventsListeners&&j.eventsListeners[Y]&&j.eventsListeners[Y].forEach(Qe=>{Qe.apply(k,N)})}),j}},update:{updateSize:function S(){const j=this;let F,N;const k=j.el;F=typeof j.params.width<"u"&&null!==j.params.width?j.params.width:k.clientWidth,N=typeof j.params.height<"u"&&null!==j.params.height?j.params.height:k.clientHeight,!(0===F&&j.isHorizontal()||0===N&&j.isVertical())&&(F=F-parseInt((0,u.m)(k,"padding-left")||0,10)-parseInt((0,u.m)(k,"padding-right")||0,10),N=N-parseInt((0,u.m)(k,"padding-top")||0,10)-parseInt((0,u.m)(k,"padding-bottom")||0,10),Number.isNaN(F)&&(F=0),Number.isNaN(N)&&(N=0),Object.assign(j,{width:F,height:N,size:j.isHorizontal()?F:N}))},updateSlides:function Z(){const j=this;function F(Wt,Pn){return parseFloat(Wt.getPropertyValue(j.getDirectionLabel(Pn))||0)}const N=j.params,{wrapperEl:k,slidesEl:ne,size:z,rtlTranslate:re,wrongRTL:B}=j,Y=j.virtual&&N.virtual.enabled,Qe=Y?j.virtual.slides.length:j.slides.length,_t=(0,u.e)(ne,`.${j.params.slideClass}, swiper-slide`),Vt=Y?j.virtual.slides.length:_t.length;let bn=[];const xn=[],Fn=[];let Ot=N.slidesOffsetBefore;"function"==typeof Ot&&(Ot=N.slidesOffsetBefore.call(j));let En=N.slidesOffsetAfter;"function"==typeof En&&(En=N.slidesOffsetAfter.call(j));const ye=j.snapGrid.length,It=j.slidesGrid.length;let pt=N.spaceBetween,wt=-Ot,$n=0,pn=0;if(typeof z>"u")return;"string"==typeof pt&&pt.indexOf("%")>=0?pt=parseFloat(pt.replace("%",""))/100*z:"string"==typeof pt&&(pt=parseFloat(pt)),j.virtualSize=-pt,_t.forEach(Wt=>{re?Wt.style.marginLeft="":Wt.style.marginRight="",Wt.style.marginBottom="",Wt.style.marginTop=""}),N.centeredSlides&&N.cssMode&&((0,u.s)(k,"--swiper-centered-offset-before",""),(0,u.s)(k,"--swiper-centered-offset-after",""));const Vn=N.grid&&N.grid.rows>1&&j.grid;let Ct;Vn?j.grid.initSlides(_t):j.grid&&j.grid.unsetSlides();const nn="auto"===N.slidesPerView&&N.breakpoints&&Object.keys(N.breakpoints).filter(Wt=>typeof N.breakpoints[Wt].slidesPerView<"u").length>0;for(let Wt=0;Wt<Vt;Wt+=1){let Pn;if(Ct=0,_t[Wt]&&(Pn=_t[Wt]),Vn&&j.grid.updateSlide(Wt,Pn,_t),!_t[Wt]||"none"!==(0,u.m)(Pn,"display")){if("auto"===N.slidesPerView){nn&&(_t[Wt].style[j.getDirectionLabel("width")]="");const Un=getComputedStyle(Pn),jn=Pn.style.transform,ui=Pn.style.webkitTransform;if(jn&&(Pn.style.transform="none"),ui&&(Pn.style.webkitTransform="none"),N.roundLengths)Ct=j.isHorizontal()?(0,u.f)(Pn,"width",!0):(0,u.f)(Pn,"height",!0);else{const Ai=F(Un,"width"),hi=F(Un,"padding-left"),Xi=F(Un,"padding-right"),ao=F(Un,"margin-left"),xi=F(Un,"margin-right"),Bi=Un.getPropertyValue("box-sizing");if(Bi&&"border-box"===Bi)Ct=Ai+ao+xi;else{const{clientWidth:bo,offsetWidth:Qi}=Pn;Ct=Ai+hi+Xi+ao+xi+(Qi-bo)}}jn&&(Pn.style.transform=jn),ui&&(Pn.style.webkitTransform=ui),N.roundLengths&&(Ct=Math.floor(Ct))}else Ct=(z-(N.slidesPerView-1)*pt)/N.slidesPerView,N.roundLengths&&(Ct=Math.floor(Ct)),_t[Wt]&&(_t[Wt].style[j.getDirectionLabel("width")]=`${Ct}px`);_t[Wt]&&(_t[Wt].swiperSlideSize=Ct),Fn.push(Ct),N.centeredSlides?(wt=wt+Ct/2+$n/2+pt,0===$n&&0!==Wt&&(wt=wt-z/2-pt),0===Wt&&(wt=wt-z/2-pt),Math.abs(wt)<.001&&(wt=0),N.roundLengths&&(wt=Math.floor(wt)),pn%N.slidesPerGroup==0&&bn.push(wt),xn.push(wt)):(N.roundLengths&&(wt=Math.floor(wt)),(pn-Math.min(j.params.slidesPerGroupSkip,pn))%j.params.slidesPerGroup==0&&bn.push(wt),xn.push(wt),wt=wt+Ct+pt),j.virtualSize+=Ct+pt,$n=Ct,pn+=1}}if(j.virtualSize=Math.max(j.virtualSize,z)+En,re&&B&&("slide"===N.effect||"coverflow"===N.effect)&&(k.style.width=`${j.virtualSize+pt}px`),N.setWrapperSize&&(k.style[j.getDirectionLabel("width")]=`${j.virtualSize+pt}px`),Vn&&j.grid.updateWrapperSize(Ct,bn),!N.centeredSlides){const Wt=[];for(let Pn=0;Pn<bn.length;Pn+=1){let Un=bn[Pn];N.roundLengths&&(Un=Math.floor(Un)),bn[Pn]<=j.virtualSize-z&&Wt.push(Un)}bn=Wt,Math.floor(j.virtualSize-z)-Math.floor(bn[bn.length-1])>1&&bn.push(j.virtualSize-z)}if(Y&&N.loop){const Wt=Fn[0]+pt;if(N.slidesPerGroup>1){const Pn=Math.ceil((j.virtual.slidesBefore+j.virtual.slidesAfter)/N.slidesPerGroup),Un=Wt*N.slidesPerGroup;for(let jn=0;jn<Pn;jn+=1)bn.push(bn[bn.length-1]+Un)}for(let Pn=0;Pn<j.virtual.slidesBefore+j.virtual.slidesAfter;Pn+=1)1===N.slidesPerGroup&&bn.push(bn[bn.length-1]+Wt),xn.push(xn[xn.length-1]+Wt),j.virtualSize+=Wt}if(0===bn.length&&(bn=[0]),0!==pt){const Wt=j.isHorizontal()&&re?"marginLeft":j.getDirectionLabel("marginRight");_t.filter((Pn,Un)=>!(N.cssMode&&!N.loop)||Un!==_t.length-1).forEach(Pn=>{Pn.style[Wt]=`${pt}px`})}if(N.centeredSlides&&N.centeredSlidesBounds){let Wt=0;Fn.forEach(Un=>{Wt+=Un+(pt||0)}),Wt-=pt;const Pn=Wt-z;bn=bn.map(Un=>Un<=0?-Ot:Un>Pn?Pn+En:Un)}if(N.centerInsufficientSlides){let Wt=0;if(Fn.forEach(Pn=>{Wt+=Pn+(pt||0)}),Wt-=pt,Wt<z){const Pn=(z-Wt)/2;bn.forEach((Un,jn)=>{bn[jn]=Un-Pn}),xn.forEach((Un,jn)=>{xn[jn]=Un+Pn})}}if(Object.assign(j,{slides:_t,snapGrid:bn,slidesGrid:xn,slidesSizesGrid:Fn}),N.centeredSlides&&N.cssMode&&!N.centeredSlidesBounds){(0,u.s)(k,"--swiper-centered-offset-before",-bn[0]+"px"),(0,u.s)(k,"--swiper-centered-offset-after",j.size/2-Fn[Fn.length-1]/2+"px");const Wt=-j.snapGrid[0],Pn=-j.slidesGrid[0];j.snapGrid=j.snapGrid.map(Un=>Un+Wt),j.slidesGrid=j.slidesGrid.map(Un=>Un+Pn)}if(Vt!==Qe&&j.emit("slidesLengthChange"),bn.length!==ye&&(j.params.watchOverflow&&j.checkOverflow(),j.emit("snapGridLengthChange")),xn.length!==It&&j.emit("slidesGridLengthChange"),N.watchSlidesProgress&&j.updateSlidesOffset(),j.emit("slidesUpdated"),!(Y||N.cssMode||"slide"!==N.effect&&"fade"!==N.effect)){const Wt=`${N.containerModifierClass}backface-hidden`,Pn=j.el.classList.contains(Wt);Vt<=N.maxBackfaceHiddenSlides?Pn||j.el.classList.add(Wt):Pn&&j.el.classList.remove(Wt)}},updateAutoHeight:function oe(j){const F=this,N=[],k=F.virtual&&F.params.virtual.enabled;let z,ne=0;"number"==typeof j?F.setTransition(j):!0===j&&F.setTransition(F.params.speed);const re=B=>k?F.slides[F.getSlideIndexByData(B)]:F.slides[B];if("auto"!==F.params.slidesPerView&&F.params.slidesPerView>1)if(F.params.centeredSlides)(F.visibleSlides||[]).forEach(B=>{N.push(B)});else for(z=0;z<Math.ceil(F.params.slidesPerView);z+=1){const B=F.activeIndex+z;if(B>F.slides.length&&!k)break;N.push(re(B))}else N.push(re(F.activeIndex));for(z=0;z<N.length;z+=1)if(typeof N[z]<"u"){const B=N[z].offsetHeight;ne=B>ne?B:ne}(ne||0===ne)&&(F.wrapperEl.style.height=`${ne}px`)},updateSlidesOffset:function le(){const j=this,F=j.slides,N=j.isElement?j.isHorizontal()?j.wrapperEl.offsetLeft:j.wrapperEl.offsetTop:0;for(let k=0;k<F.length;k+=1)F[k].swiperSlideOffset=(j.isHorizontal()?F[k].offsetLeft:F[k].offsetTop)-N-j.cssOverflowAdjustment()},updateSlidesProgress:function ee(j){void 0===j&&(j=this&&this.translate||0);const F=this,N=F.params,{slides:k,rtlTranslate:ne,snapGrid:z}=F;if(0===k.length)return;typeof k[0].swiperSlideOffset>"u"&&F.updateSlidesOffset();let re=-j;ne&&(re=j),k.forEach(Y=>{Y.classList.remove(N.slideVisibleClass,N.slideFullyVisibleClass)}),F.visibleSlidesIndexes=[],F.visibleSlides=[];let B=N.spaceBetween;"string"==typeof B&&B.indexOf("%")>=0?B=parseFloat(B.replace("%",""))/100*F.size:"string"==typeof B&&(B=parseFloat(B));for(let Y=0;Y<k.length;Y+=1){const Qe=k[Y];let _t=Qe.swiperSlideOffset;N.cssMode&&N.centeredSlides&&(_t-=k[0].swiperSlideOffset);const Vt=(re+(N.centeredSlides?F.minTranslate():0)-_t)/(Qe.swiperSlideSize+B),bn=(re-z[0]+(N.centeredSlides?F.minTranslate():0)-_t)/(Qe.swiperSlideSize+B),xn=-(re-_t),Fn=xn+F.slidesSizesGrid[Y],Ot=xn>=0&&xn<=F.size-F.slidesSizesGrid[Y];(xn>=0&&xn<F.size-1||Fn>1&&Fn<=F.size||xn<=0&&Fn>=F.size)&&(F.visibleSlides.push(Qe),F.visibleSlidesIndexes.push(Y),k[Y].classList.add(N.slideVisibleClass)),Ot&&k[Y].classList.add(N.slideFullyVisibleClass),Qe.progress=ne?-Vt:Vt,Qe.originalProgress=ne?-bn:bn}},updateProgress:function K(j){const F=this;typeof j>"u"&&(j=F&&F.translate&&F.translate*(F.rtlTranslate?-1:1)||0);const N=F.params,k=F.maxTranslate()-F.minTranslate();let{progress:ne,isBeginning:z,isEnd:re,progressLoop:B}=F;const Y=z,Qe=re;if(0===k)ne=0,z=!0,re=!0;else{ne=(j-F.minTranslate())/k;const _t=Math.abs(j-F.minTranslate())<1,Vt=Math.abs(j-F.maxTranslate())<1;z=_t||ne<=0,re=Vt||ne>=1,_t&&(ne=0),Vt&&(ne=1)}if(N.loop){const _t=F.getSlideIndexByData(0),Vt=F.getSlideIndexByData(F.slides.length-1),bn=F.slidesGrid[_t],xn=F.slidesGrid[Vt],Fn=F.slidesGrid[F.slidesGrid.length-1],Ot=Math.abs(j);B=Ot>=bn?(Ot-bn)/Fn:(Ot+Fn-xn)/Fn,B>1&&(B-=1)}Object.assign(F,{progress:ne,progressLoop:B,isBeginning:z,isEnd:re}),(N.watchSlidesProgress||N.centeredSlides&&N.autoHeight)&&F.updateSlidesProgress(j),z&&!Y&&F.emit("reachBeginning toEdge"),re&&!Qe&&F.emit("reachEnd toEdge"),(Y&&!z||Qe&&!re)&&F.emit("fromEdge"),F.emit("progress",ne)},updateSlidesClasses:function Q(){const j=this,{slides:F,params:N,slidesEl:k,activeIndex:ne}=j,z=j.virtual&&N.virtual.enabled,re=j.grid&&N.grid&&N.grid.rows>1,B=Vt=>(0,u.e)(k,`.${N.slideClass}${Vt}, swiper-slide${Vt}`)[0];let Y,Qe,_t;if(F.forEach(Vt=>{Vt.classList.remove(N.slideActiveClass,N.slideNextClass,N.slidePrevClass)}),z)if(N.loop){let Vt=ne-j.virtual.slidesBefore;Vt<0&&(Vt=j.virtual.slides.length+Vt),Vt>=j.virtual.slides.length&&(Vt-=j.virtual.slides.length),Y=B(`[data-swiper-slide-index="${Vt}"]`)}else Y=B(`[data-swiper-slide-index="${ne}"]`);else re?(Y=F.filter(Vt=>Vt.column===ne)[0],_t=F.filter(Vt=>Vt.column===ne+1)[0],Qe=F.filter(Vt=>Vt.column===ne-1)[0]):Y=F[ne];Y&&(Y.classList.add(N.slideActiveClass),re?(_t&&_t.classList.add(N.slideNextClass),Qe&&Qe.classList.add(N.slidePrevClass)):(_t=(0,u.o)(Y,`.${N.slideClass}, swiper-slide`)[0],N.loop&&!_t&&(_t=F[0]),_t&&_t.classList.add(N.slideNextClass),Qe=(0,u.p)(Y,`.${N.slideClass}, swiper-slide`)[0],N.loop&&0===!Qe&&(Qe=F[F.length-1]),Qe&&Qe.classList.add(N.slidePrevClass))),j.emitSlidesClasses()},updateActiveIndex:function _e(j){const F=this,N=F.rtlTranslate?F.translate:-F.translate,{snapGrid:k,params:ne,activeIndex:z,realIndex:re,snapIndex:B}=F;let Qe,Y=j;const _t=xn=>{let Fn=xn-F.virtual.slidesBefore;return Fn<0&&(Fn=F.virtual.slides.length+Fn),Fn>=F.virtual.slides.length&&(Fn-=F.virtual.slides.length),Fn};if(typeof Y>"u"&&(Y=function ie(j){const{slidesGrid:F,params:N}=j,k=j.rtlTranslate?j.translate:-j.translate;let ne;for(let z=0;z<F.length;z+=1)typeof F[z+1]<"u"?k>=F[z]&&k<F[z+1]-(F[z+1]-F[z])/2?ne=z:k>=F[z]&&k<F[z+1]&&(ne=z+1):k>=F[z]&&(ne=z);return N.normalizeSlideIndex&&(ne<0||typeof ne>"u")&&(ne=0),ne}(F)),k.indexOf(N)>=0)Qe=k.indexOf(N);else{const xn=Math.min(ne.slidesPerGroupSkip,Y);Qe=xn+Math.floor((Y-xn)/ne.slidesPerGroup)}if(Qe>=k.length&&(Qe=k.length-1),Y===z&&!F.params.loop)return void(Qe!==B&&(F.snapIndex=Qe,F.emit("snapIndexChange")));if(Y===z&&F.params.loop&&F.virtual&&F.params.virtual.enabled)return void(F.realIndex=_t(Y));const Vt=F.grid&&ne.grid&&ne.grid.rows>1;let bn;if(F.virtual&&ne.virtual.enabled&&ne.loop)bn=_t(Y);else if(Vt){const xn=F.slides.filter(Ot=>Ot.column===Y)[0];let Fn=parseInt(xn.getAttribute("data-swiper-slide-index"),10);Number.isNaN(Fn)&&(Fn=Math.max(F.slides.indexOf(xn),0)),bn=Math.floor(Fn/ne.grid.rows)}else if(F.slides[Y]){const xn=F.slides[Y].getAttribute("data-swiper-slide-index");bn=xn?parseInt(xn,10):Y}else bn=Y;Object.assign(F,{previousSnapIndex:B,snapIndex:Qe,previousRealIndex:re,realIndex:bn,previousIndex:z,activeIndex:Y}),F.initialized&&T(F),F.emit("activeIndexChange"),F.emit("snapIndexChange"),(F.initialized||F.params.runCallbacksOnInit)&&(re!==bn&&F.emit("realIndexChange"),F.emit("slideChange"))},updateClickedSlide:function Ce(j,F){const N=this,k=N.params;let ne=j.closest(`.${k.slideClass}, swiper-slide`);!ne&&N.isElement&&F&&F.length>1&&F.includes(j)&&[...F.slice(F.indexOf(j)+1,F.length)].forEach(B=>{!ne&&B.matches&&B.matches(`.${k.slideClass}, swiper-slide`)&&(ne=B)});let re,z=!1;if(ne)for(let B=0;B<N.slides.length;B+=1)if(N.slides[B]===ne){z=!0,re=B;break}if(!ne||!z)return N.clickedSlide=void 0,void(N.clickedIndex=void 0);N.clickedSlide=ne,N.clickedIndex=N.virtual&&N.params.virtual.enabled?parseInt(ne.getAttribute("data-swiper-slide-index"),10):re,k.slideToClickedSlide&&void 0!==N.clickedIndex&&N.clickedIndex!==N.activeIndex&&N.slideToClickedSlide()}},translate:{getTranslate:function ae(j){void 0===j&&(j=this.isHorizontal()?"x":"y");const{params:N,rtlTranslate:k,translate:ne,wrapperEl:z}=this;if(N.virtualTranslate)return k?-ne:ne;if(N.cssMode)return ne;let re=(0,u.i)(z,j);return re+=this.cssOverflowAdjustment(),k&&(re=-re),re||0},setTranslate:function pe(j,F){const N=this,{rtlTranslate:k,params:ne,wrapperEl:z,progress:re}=N;let _t,B=0,Y=0;N.isHorizontal()?B=k?-j:j:Y=j,ne.roundLengths&&(B=Math.floor(B),Y=Math.floor(Y)),N.previousTranslate=N.translate,N.translate=N.isHorizontal()?B:Y,ne.cssMode?z[N.isHorizontal()?"scrollLeft":"scrollTop"]=N.isHorizontal()?-B:-Y:ne.virtualTranslate||(N.isHorizontal()?B-=N.cssOverflowAdjustment():Y-=N.cssOverflowAdjustment(),z.style.transform=`translate3d(${B}px, ${Y}px, 0px)`);const Vt=N.maxTranslate()-N.minTranslate();_t=0===Vt?0:(j-N.minTranslate())/Vt,_t!==re&&N.updateProgress(j),N.emit("setTranslate",N.translate,F)},minTranslate:function Ae(){return-this.snapGrid[0]},maxTranslate:function Ze(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function dt(j,F,N,k,ne){void 0===j&&(j=0),void 0===F&&(F=this.params.speed),void 0===N&&(N=!0),void 0===k&&(k=!0);const z=this,{params:re,wrapperEl:B}=z;if(z.animating&&re.preventInteractionOnTransition)return!1;const Y=z.minTranslate(),Qe=z.maxTranslate();let _t;if(_t=k&&j>Y?Y:k&&j<Qe?Qe:j,z.updateProgress(_t),re.cssMode){const Vt=z.isHorizontal();if(0===F)B[Vt?"scrollLeft":"scrollTop"]=-_t;else{if(!z.support.smoothScroll)return(0,u.q)({swiper:z,targetPosition:-_t,side:Vt?"left":"top"}),!0;B.scrollTo({[Vt?"left":"top"]:-_t,behavior:"smooth"})}return!0}return 0===F?(z.setTransition(0),z.setTranslate(_t),N&&(z.emit("beforeTransitionStart",F,ne),z.emit("transitionEnd"))):(z.setTransition(F),z.setTranslate(_t),N&&(z.emit("beforeTransitionStart",F,ne),z.emit("transitionStart")),z.animating||(z.animating=!0,z.onTranslateToWrapperTransitionEnd||(z.onTranslateToWrapperTransitionEnd=function(bn){!z||z.destroyed||bn.target===this&&(z.wrapperEl.removeEventListener("transitionend",z.onTranslateToWrapperTransitionEnd),z.onTranslateToWrapperTransitionEnd=null,delete z.onTranslateToWrapperTransitionEnd,N&&z.emit("transitionEnd"))}),z.wrapperEl.addEventListener("transitionend",z.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function Xe(j,F){const N=this;N.params.cssMode||(N.wrapperEl.style.transitionDuration=`${j}ms`,N.wrapperEl.style.transitionDelay=0===j?"0ms":""),N.emit("setTransition",j,F)},transitionStart:function W(j,F){void 0===j&&(j=!0);const N=this,{params:k}=N;k.cssMode||(k.autoHeight&&N.updateAutoHeight(),Ie({swiper:N,runCallbacks:j,direction:F,step:"Start"}))},transitionEnd:function we(j,F){void 0===j&&(j=!0);const N=this,{params:k}=N;N.animating=!1,!k.cssMode&&(N.setTransition(0),Ie({swiper:N,runCallbacks:j,direction:F,step:"End"}))}},slide:{slideTo:function V(j,F,N,k,ne){void 0===j&&(j=0),void 0===F&&(F=this.params.speed),void 0===N&&(N=!0),"string"==typeof j&&(j=parseInt(j,10));const z=this;let re=j;re<0&&(re=0);const{params:B,snapGrid:Y,slidesGrid:Qe,previousIndex:_t,activeIndex:Vt,rtlTranslate:bn,wrapperEl:xn,enabled:Fn}=z;if(z.animating&&B.preventInteractionOnTransition||!Fn&&!k&&!ne)return!1;const Ot=Math.min(z.params.slidesPerGroupSkip,re);let En=Ot+Math.floor((re-Ot)/z.params.slidesPerGroup);En>=Y.length&&(En=Y.length-1);const ye=-Y[En];if(B.normalizeSlideIndex)for(let pt=0;pt<Qe.length;pt+=1){const wt=-Math.floor(100*ye),$n=Math.floor(100*Qe[pt]),pn=Math.floor(100*Qe[pt+1]);typeof Qe[pt+1]<"u"?wt>=$n&&wt<pn-(pn-$n)/2?re=pt:wt>=$n&&wt<pn&&(re=pt+1):wt>=$n&&(re=pt)}if(z.initialized&&re!==Vt&&(!z.allowSlideNext&&(bn?ye>z.translate&&ye>z.minTranslate():ye<z.translate&&ye<z.minTranslate())||!z.allowSlidePrev&&ye>z.translate&&ye>z.maxTranslate()&&(Vt||0)!==re))return!1;let It;if(re!==(_t||0)&&N&&z.emit("beforeSlideChangeStart"),z.updateProgress(ye),It=re>Vt?"next":re<Vt?"prev":"reset",bn&&-ye===z.translate||!bn&&ye===z.translate)return z.updateActiveIndex(re),B.autoHeight&&z.updateAutoHeight(),z.updateSlidesClasses(),"slide"!==B.effect&&z.setTranslate(ye),"reset"!==It&&(z.transitionStart(N,It),z.transitionEnd(N,It)),!1;if(B.cssMode){const pt=z.isHorizontal(),wt=bn?ye:-ye;if(0===F){const $n=z.virtual&&z.params.virtual.enabled;$n&&(z.wrapperEl.style.scrollSnapType="none",z._immediateVirtual=!0),$n&&!z._cssModeVirtualInitialSet&&z.params.initialSlide>0?(z._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{xn[pt?"scrollLeft":"scrollTop"]=wt})):xn[pt?"scrollLeft":"scrollTop"]=wt,$n&&requestAnimationFrame(()=>{z.wrapperEl.style.scrollSnapType="",z._immediateVirtual=!1})}else{if(!z.support.smoothScroll)return(0,u.q)({swiper:z,targetPosition:wt,side:pt?"left":"top"}),!0;xn.scrollTo({[pt?"left":"top"]:wt,behavior:"smooth"})}return!0}return z.setTransition(F),z.setTranslate(ye),z.updateActiveIndex(re),z.updateSlidesClasses(),z.emit("beforeTransitionStart",F,k),z.transitionStart(N,It),0===F?z.transitionEnd(N,It):z.animating||(z.animating=!0,z.onSlideToWrapperTransitionEnd||(z.onSlideToWrapperTransitionEnd=function(wt){!z||z.destroyed||wt.target===this&&(z.wrapperEl.removeEventListener("transitionend",z.onSlideToWrapperTransitionEnd),z.onSlideToWrapperTransitionEnd=null,delete z.onSlideToWrapperTransitionEnd,z.transitionEnd(N,It))}),z.wrapperEl.addEventListener("transitionend",z.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function Se(j,F,N,k){void 0===j&&(j=0),void 0===F&&(F=this.params.speed),void 0===N&&(N=!0),"string"==typeof j&&(j=parseInt(j,10));const ne=this,z=ne.grid&&ne.params.grid&&ne.params.grid.rows>1;let re=j;if(ne.params.loop)if(ne.virtual&&ne.params.virtual.enabled)re+=ne.virtual.slidesBefore;else{let B;if(z){const bn=re*ne.params.grid.rows;B=ne.slides.filter(xn=>1*xn.getAttribute("data-swiper-slide-index")===bn)[0].column}else B=ne.getSlideIndexByData(re);const Y=z?Math.ceil(ne.slides.length/ne.params.grid.rows):ne.slides.length,{centeredSlides:Qe}=ne.params;let _t=ne.params.slidesPerView;"auto"===_t?_t=ne.slidesPerViewDynamic():(_t=Math.ceil(parseFloat(ne.params.slidesPerView,10)),Qe&&_t%2==0&&(_t+=1));let Vt=Y-B<_t;if(Qe&&(Vt=Vt||B<Math.ceil(_t/2)),Vt){const bn=Qe?B<ne.activeIndex?"prev":"next":B-ne.activeIndex-1<ne.params.slidesPerView?"next":"prev";ne.loopFix({direction:bn,slideTo:!0,activeSlideIndex:"next"===bn?B+1:B-Y+1,slideRealIndex:"next"===bn?ne.realIndex:void 0})}if(z){const bn=re*ne.params.grid.rows;re=ne.slides.filter(xn=>1*xn.getAttribute("data-swiper-slide-index")===bn)[0].column}else re=ne.getSlideIndexByData(re)}return requestAnimationFrame(()=>{ne.slideTo(re,F,N,k)}),ne},slideNext:function G(j,F,N){void 0===j&&(j=this.params.speed),void 0===F&&(F=!0);const k=this,{enabled:ne,params:z,animating:re}=k;if(!ne)return k;let B=z.slidesPerGroup;"auto"===z.slidesPerView&&1===z.slidesPerGroup&&z.slidesPerGroupAuto&&(B=Math.max(k.slidesPerViewDynamic("current",!0),1));const Y=k.activeIndex<z.slidesPerGroupSkip?1:B;if(z.loop){if(re&&(!k.virtual||!z.virtual.enabled)&&z.loopPreventsSliding)return!1;if(k.loopFix({direction:"next"}),k._clientLeft=k.wrapperEl.clientLeft,k.activeIndex===k.slides.length-1&&z.cssMode)return requestAnimationFrame(()=>{k.slideTo(k.activeIndex+Y,j,F,N)}),!0}return k.slideTo(z.rewind&&k.isEnd?0:k.activeIndex+Y,j,F,N)},slidePrev:function be(j,F,N){void 0===j&&(j=this.params.speed),void 0===F&&(F=!0);const k=this,{params:ne,snapGrid:z,slidesGrid:re,rtlTranslate:B,enabled:Y,animating:Qe}=k;if(!Y)return k;if(ne.loop){if(Qe&&(!k.virtual||!ne.virtual.enabled)&&ne.loopPreventsSliding)return!1;k.loopFix({direction:"prev"}),k._clientLeft=k.wrapperEl.clientLeft}function bn(ye){return ye<0?-Math.floor(Math.abs(ye)):Math.floor(ye)}const xn=bn(B?k.translate:-k.translate),Fn=z.map(ye=>bn(ye));let Ot=z[Fn.indexOf(xn)-1];if(typeof Ot>"u"&&ne.cssMode){let ye;z.forEach((It,pt)=>{xn>=It&&(ye=pt)}),typeof ye<"u"&&(Ot=z[ye>0?ye-1:ye])}let En=0;return typeof Ot<"u"&&(En=re.indexOf(Ot),En<0&&(En=k.activeIndex-1),"auto"===ne.slidesPerView&&1===ne.slidesPerGroup&&ne.slidesPerGroupAuto&&(En=En-k.slidesPerViewDynamic("previous",!0)+1,En=Math.max(En,0))),ne.rewind&&k.isBeginning?k.slideTo(k.params.virtual&&k.params.virtual.enabled&&k.virtual?k.virtual.slides.length-1:k.slides.length-1,j,F,N):ne.loop&&0===k.activeIndex&&ne.cssMode?(requestAnimationFrame(()=>{k.slideTo(En,j,F,N)}),!0):k.slideTo(En,j,F,N)},slideReset:function de(j,F,N){return void 0===j&&(j=this.params.speed),void 0===F&&(F=!0),this.slideTo(this.activeIndex,j,F,N)},slideToClosest:function De(j,F,N,k){void 0===j&&(j=this.params.speed),void 0===F&&(F=!0),void 0===k&&(k=.5);const ne=this;let z=ne.activeIndex;const re=Math.min(ne.params.slidesPerGroupSkip,z),B=re+Math.floor((z-re)/ne.params.slidesPerGroup),Y=ne.rtlTranslate?ne.translate:-ne.translate;if(Y>=ne.snapGrid[B]){const Qe=ne.snapGrid[B];Y-Qe>(ne.snapGrid[B+1]-Qe)*k&&(z+=ne.params.slidesPerGroup)}else{const Qe=ne.snapGrid[B-1];Y-Qe<=(ne.snapGrid[B]-Qe)*k&&(z-=ne.params.slidesPerGroup)}return z=Math.max(z,0),z=Math.min(z,ne.slidesGrid.length-1),ne.slideTo(z,j,F,N)},slideToClickedSlide:function tt(){const j=this,{params:F,slidesEl:N}=j,k="auto"===F.slidesPerView?j.slidesPerViewDynamic():F.slidesPerView;let z,ne=j.clickedIndex;const re=j.isElement?"swiper-slide":`.${F.slideClass}`;if(F.loop){if(j.animating)return;z=parseInt(j.clickedSlide.getAttribute("data-swiper-slide-index"),10),F.centeredSlides?ne<j.loopedSlides-k/2||ne>j.slides.length-j.loopedSlides+k/2?(j.loopFix(),ne=j.getSlideIndex((0,u.e)(N,`${re}[data-swiper-slide-index="${z}"]`)[0]),(0,u.n)(()=>{j.slideTo(ne)})):j.slideTo(ne):ne>j.slides.length-k?(j.loopFix(),ne=j.getSlideIndex((0,u.e)(N,`${re}[data-swiper-slide-index="${z}"]`)[0]),(0,u.n)(()=>{j.slideTo(ne)})):j.slideTo(ne)}else j.slideTo(ne)}},loop:{loopCreate:function Ft(j){const F=this,{params:N,slidesEl:k}=F;if(!N.loop||F.virtual&&F.params.virtual.enabled)return;const ne=()=>{(0,u.e)(k,`.${N.slideClass}, swiper-slide`).forEach((Vt,bn)=>{Vt.setAttribute("data-swiper-slide-index",bn)})},z=F.grid&&N.grid&&N.grid.rows>1,re=N.slidesPerGroup*(z?N.grid.rows:1),Y=z&&F.slides.length%N.grid.rows!=0,Qe=_t=>{for(let Vt=0;Vt<_t;Vt+=1){const bn=F.isElement?(0,u.c)("swiper-slide",[N.slideBlankClass]):(0,u.c)("div",[N.slideClass,N.slideBlankClass]);F.slidesEl.append(bn)}};F.slides.length%re!=0?(N.loopAddBlankSlides?(Qe(re-F.slides.length%re),F.recalcSlides(),F.updateSlides()):(0,u.r)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),ne()):Y?(N.loopAddBlankSlides?(Qe(N.grid.rows-F.slides.length%N.grid.rows),F.recalcSlides(),F.updateSlides()):(0,u.r)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"),ne()):ne(),F.loopFix({slideRealIndex:j,direction:N.centeredSlides?void 0:"next"})},loopFix:function mt(j){let{slideRealIndex:F,slideTo:N=!0,direction:k,setTranslate:ne,activeSlideIndex:z,byController:re,byMousewheel:B}=void 0===j?{}:j;const Y=this;if(!Y.params.loop)return;Y.emit("beforeLoopFix");const{slides:Qe,allowSlidePrev:_t,allowSlideNext:Vt,slidesEl:bn,params:xn}=Y,{centeredSlides:Fn}=xn;if(Y.allowSlidePrev=!0,Y.allowSlideNext=!0,Y.virtual&&xn.virtual.enabled)return N&&(xn.centeredSlides||0!==Y.snapIndex?xn.centeredSlides&&Y.snapIndex<xn.slidesPerView?Y.slideTo(Y.virtual.slides.length+Y.snapIndex,0,!1,!0):Y.snapIndex===Y.snapGrid.length-1&&Y.slideTo(Y.virtual.slidesBefore,0,!1,!0):Y.slideTo(Y.virtual.slides.length,0,!1,!0)),Y.allowSlidePrev=_t,Y.allowSlideNext=Vt,void Y.emit("loopFix");let Ot=xn.slidesPerView;"auto"===Ot?Ot=Y.slidesPerViewDynamic():(Ot=Math.ceil(parseFloat(xn.slidesPerView,10)),Fn&&Ot%2==0&&(Ot+=1));const En=xn.slidesPerGroupAuto?Ot:xn.slidesPerGroup;let ye=En;ye%En!=0&&(ye+=En-ye%En),ye+=xn.loopAdditionalSlides,Y.loopedSlides=ye;const It=Y.grid&&xn.grid&&xn.grid.rows>1;Qe.length<Ot+ye?(0,u.r)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):It&&"row"===xn.grid.fill&&(0,u.r)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const pt=[],wt=[];let $n=Y.activeIndex;typeof z>"u"?z=Y.getSlideIndex(Qe.filter(jn=>jn.classList.contains(xn.slideActiveClass))[0]):$n=z;const pn="next"===k||!k,Vn="prev"===k||!k;let Ct=0,nn=0;const Wt=It?Math.ceil(Qe.length/xn.grid.rows):Qe.length,Un=(It?Qe[z].column:z)+(Fn&&typeof ne>"u"?-Ot/2+.5:0);if(Un<ye){Ct=Math.max(ye-Un,En);for(let jn=0;jn<ye-Un;jn+=1){const ui=jn-Math.floor(jn/Wt)*Wt;if(It){const Ai=Wt-ui-1;for(let hi=Qe.length-1;hi>=0;hi-=1)Qe[hi].column===Ai&&pt.push(hi)}else pt.push(Wt-ui-1)}}else if(Un+Ot>Wt-ye){nn=Math.max(Un-(Wt-2*ye),En);for(let jn=0;jn<nn;jn+=1){const ui=jn-Math.floor(jn/Wt)*Wt;It?Qe.forEach((Ai,hi)=>{Ai.column===ui&&wt.push(hi)}):wt.push(ui)}}if(Y.__preventObserver__=!0,requestAnimationFrame(()=>{Y.__preventObserver__=!1}),Vn&&pt.forEach(jn=>{Qe[jn].swiperLoopMoveDOM=!0,bn.prepend(Qe[jn]),Qe[jn].swiperLoopMoveDOM=!1}),pn&&wt.forEach(jn=>{Qe[jn].swiperLoopMoveDOM=!0,bn.append(Qe[jn]),Qe[jn].swiperLoopMoveDOM=!1}),Y.recalcSlides(),"auto"===xn.slidesPerView?Y.updateSlides():It&&(pt.length>0&&Vn||wt.length>0&&pn)&&Y.slides.forEach((jn,ui)=>{Y.grid.updateSlide(ui,jn,Y.slides)}),xn.watchSlidesProgress&&Y.updateSlidesOffset(),N)if(pt.length>0&&Vn)if(typeof F>"u"){const Ai=Y.slidesGrid[$n+Ct]-Y.slidesGrid[$n];B?Y.setTranslate(Y.translate-Ai):(Y.slideTo($n+Ct,0,!1,!0),ne&&(Y.touchEventsData.startTranslate=Y.touchEventsData.startTranslate-Ai,Y.touchEventsData.currentTranslate=Y.touchEventsData.currentTranslate-Ai))}else ne&&(Y.slideTo(Y.activeIndex+(It?pt.length/xn.grid.rows:pt.length),0,!1,!0),Y.touchEventsData.currentTranslate=Y.translate);else if(wt.length>0&&pn)if(typeof F>"u"){const Ai=Y.slidesGrid[$n-nn]-Y.slidesGrid[$n];B?Y.setTranslate(Y.translate-Ai):(Y.slideTo($n-nn,0,!1,!0),ne&&(Y.touchEventsData.startTranslate=Y.touchEventsData.startTranslate-Ai,Y.touchEventsData.currentTranslate=Y.touchEventsData.currentTranslate-Ai))}else Y.slideTo(Y.activeIndex-(It?wt.length/xn.grid.rows:wt.length),0,!1,!0);if(Y.allowSlidePrev=_t,Y.allowSlideNext=Vt,Y.controller&&Y.controller.control&&!re){const jn={slideRealIndex:F,direction:k,setTranslate:ne,activeSlideIndex:z,byController:!0};Array.isArray(Y.controller.control)?Y.controller.control.forEach(ui=>{!ui.destroyed&&ui.params.loop&&ui.loopFix({...jn,slideTo:ui.params.slidesPerView===xn.slidesPerView&&N})}):Y.controller.control instanceof Y.constructor&&Y.controller.control.params.loop&&Y.controller.control.loopFix({...jn,slideTo:Y.controller.control.params.slidesPerView===xn.slidesPerView&&N})}Y.emit("loopFix")},loopDestroy:function sn(){const j=this,{params:F,slidesEl:N}=j;if(!F.loop||j.virtual&&j.params.virtual.enabled)return;j.recalcSlides();const k=[];j.slides.forEach(ne=>{const z=typeof ne.swiperSlideIndex>"u"?1*ne.getAttribute("data-swiper-slide-index"):ne.swiperSlideIndex;k[z]=ne}),j.slides.forEach(ne=>{ne.removeAttribute("data-swiper-slide-index")}),k.forEach(ne=>{N.append(ne)}),j.recalcSlides(),j.slideTo(j.realIndex,0)}},grabCursor:{setGrabCursor:function Nn(j){const F=this;if(!F.params.simulateTouch||F.params.watchOverflow&&F.isLocked||F.params.cssMode)return;const N="container"===F.params.touchEventsTarget?F.el:F.wrapperEl;F.isElement&&(F.__preventObserver__=!0),N.style.cursor="move",N.style.cursor=j?"grabbing":"grab",F.isElement&&requestAnimationFrame(()=>{F.__preventObserver__=!1})},unsetGrabCursor:function Jt(){const j=this;j.params.watchOverflow&&j.isLocked||j.params.cssMode||(j.isElement&&(j.__preventObserver__=!0),j["container"===j.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",j.isElement&&requestAnimationFrame(()=>{j.__preventObserver__=!1}))}},events:{attachEvents:function Nt(){const j=this,{params:F}=j;j.onTouchStart=Ne.bind(j),j.onTouchMove=$.bind(j),j.onTouchEnd=Ee.bind(j),j.onDocumentTouchStart=tn.bind(j),F.cssMode&&(j.onScroll=Et.bind(j)),j.onClick=Ke.bind(j),j.onLoad=Tt.bind(j),rn(j,"on")},detachEvents:function ft(){rn(this,"off")}},breakpoints:{setBreakpoint:function nt(){const j=this,{realIndex:F,initialized:N,params:k,el:ne}=j,z=k.breakpoints;if(!z||z&&0===Object.keys(z).length)return;const re=j.getBreakpoint(z,j.params.breakpointsBase,j.el);if(!re||j.currentBreakpoint===re)return;const Y=(re in z?z[re]:void 0)||j.originalParams,Qe=Ue(j,k),_t=Ue(j,Y),Vt=k.enabled;Qe&&!_t?(ne.classList.remove(`${k.containerModifierClass}grid`,`${k.containerModifierClass}grid-column`),j.emitContainerClasses()):!Qe&&_t&&(ne.classList.add(`${k.containerModifierClass}grid`),(Y.grid.fill&&"column"===Y.grid.fill||!Y.grid.fill&&"column"===k.grid.fill)&&ne.classList.add(`${k.containerModifierClass}grid-column`),j.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(ye=>{if(typeof Y[ye]>"u")return;const It=k[ye]&&k[ye].enabled,pt=Y[ye]&&Y[ye].enabled;It&&!pt&&j[ye].disable(),!It&&pt&&j[ye].enable()});const bn=Y.direction&&Y.direction!==k.direction,xn=k.loop&&(Y.slidesPerView!==k.slidesPerView||bn),Fn=k.loop;bn&&N&&j.changeDirection(),(0,u.t)(j.params,Y);const Ot=j.params.enabled,En=j.params.loop;Object.assign(j,{allowTouchMove:j.params.allowTouchMove,allowSlideNext:j.params.allowSlideNext,allowSlidePrev:j.params.allowSlidePrev}),Vt&&!Ot?j.disable():!Vt&&Ot&&j.enable(),j.currentBreakpoint=re,j.emit("_beforeBreakpoint",Y),N&&(xn?(j.loopDestroy(),j.loopCreate(F),j.updateSlides()):!Fn&&En?(j.loopCreate(F),j.updateSlides()):Fn&&!En&&j.loopDestroy()),j.emit("breakpoint",Y)},getBreakpoint:function Ye(j,F,N){if(void 0===F&&(F="window"),!j||"container"===F&&!N)return;let k=!1;const ne=(0,t.a)(),z="window"===F?ne.innerHeight:N.clientHeight,re=Object.keys(j).map(B=>{if("string"==typeof B&&0===B.indexOf("@")){const Y=parseFloat(B.substr(1));return{value:z*Y,point:B}}return{value:B,point:B}});re.sort((B,Y)=>parseInt(B.value,10)-parseInt(Y.value,10));for(let B=0;B<re.length;B+=1){const{point:Y,value:Qe}=re[B];"window"===F?ne.matchMedia(`(min-width: ${Qe}px)`).matches&&(k=Y):Qe<=N.clientWidth&&(k=Y)}return k||"max"}},checkOverflow:{checkOverflow:function Pt(){const j=this,{isLocked:F,params:N}=j,{slidesOffsetBefore:k}=N;if(k){const ne=j.slides.length-1;j.isLocked=j.size>j.slidesGrid[ne]+j.slidesSizesGrid[ne]+2*k}else j.isLocked=1===j.snapGrid.length;!0===N.allowSlideNext&&(j.allowSlideNext=!j.isLocked),!0===N.allowSlidePrev&&(j.allowSlidePrev=!j.isLocked),F&&F!==j.isLocked&&(j.isEnd=!1),F!==j.isLocked&&j.emit(j.isLocked?"lock":"unlock")}},classes:{addClasses:function Mn(){const j=this,{classNames:F,params:N,rtl:k,el:ne,device:z}=j,re=function $t(j,F){const N=[];return j.forEach(k=>{"object"==typeof k?Object.keys(k).forEach(ne=>{k[ne]&&N.push(F+ne)}):"string"==typeof k&&N.push(F+k)}),N}(["initialized",N.direction,{"free-mode":j.params.freeMode&&N.freeMode.enabled},{autoheight:N.autoHeight},{rtl:k},{grid:N.grid&&N.grid.rows>1},{"grid-column":N.grid&&N.grid.rows>1&&"column"===N.grid.fill},{android:z.android},{ios:z.ios},{"css-mode":N.cssMode},{centered:N.cssMode&&N.centeredSlides},{"watch-progress":N.watchSlidesProgress}],N.containerModifierClass);F.push(...re),ne.classList.add(...F),j.emitContainerClasses()},removeClasses:function Wn(){const{el:F,classNames:N}=this;F.classList.remove(...N),this.emitContainerClasses()}}},xe={};class et{constructor(){let F,N;for(var k=arguments.length,ne=new Array(k),z=0;z<k;z++)ne[z]=arguments[z];1===ne.length&&ne[0].constructor&&"Object"===Object.prototype.toString.call(ne[0]).slice(8,-1)?N=ne[0]:[F,N]=ne,N||(N={}),N=(0,u.t)({},N),F&&!N.el&&(N.el=F);const re=(0,t.g)();if(N.el&&"string"==typeof N.el&&re.querySelectorAll(N.el).length>1){const _t=[];return re.querySelectorAll(N.el).forEach(Vt=>{const bn=(0,u.t)({},N,{el:Vt});_t.push(new et(bn))}),_t}const B=this;B.__swiper__=!0,B.support=p(),B.device=function I(j){return void 0===j&&(j={}),U||(U=function n(j){let{userAgent:F}=void 0===j?{}:j;const N=p(),k=(0,t.a)(),ne=k.navigator.platform,z=F||k.navigator.userAgent,re={ios:!1,android:!1},B=k.screen.width,Y=k.screen.height,Qe=z.match(/(Android);?[\s\/]+([\d.]+)?/);let _t=z.match(/(iPad).*OS\s([\d_]+)/);const Vt=z.match(/(iPod)(.*OS\s([\d_]+))?/),bn=!_t&&z.match(/(iPhone\sOS|iOS)\s([\d_]+)/),xn="Win32"===ne;let Fn="MacIntel"===ne;return!_t&&Fn&&N.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${B}x${Y}`)>=0&&(_t=z.match(/(Version)\/([\d.]+)/),_t||(_t=[0,1,"13_0_0"]),Fn=!1),Qe&&!xn&&(re.os="android",re.android=!0),(_t||bn||Vt)&&(re.os="ios",re.ios=!0),re}(j)),U}({userAgent:N.userAgent}),B.browser=function O(){return L||(L=function y(){const j=(0,t.a)();let F=!1;function N(){const k=j.navigator.userAgent.toLowerCase();return k.indexOf("safari")>=0&&k.indexOf("chrome")<0&&k.indexOf("android")<0}if(N()){const k=String(j.navigator.userAgent);if(k.includes("Version/")){const[ne,z]=k.split("Version/")[1].split(" ")[0].split(".").map(re=>Number(re));F=ne<16||16===ne&&z<2}}return{isSafari:F||N(),needPerspectiveFix:F,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(j.navigator.userAgent)}}()),L}(),B.eventsListeners={},B.eventsAnyListeners=[],B.modules=[...B.__modules__],N.modules&&Array.isArray(N.modules)&&B.modules.push(...N.modules);const Y={};B.modules.forEach(_t=>{_t({params:N,swiper:B,extendParams:ue(N,Y),on:B.on.bind(B),once:B.once.bind(B),off:B.off.bind(B),emit:B.emit.bind(B)})});const Qe=(0,u.t)({},Le,Y);return B.params=(0,u.t)({},Qe,xe,N),B.originalParams=(0,u.t)({},B.params),B.passedParams=(0,u.t)({},N),B.params&&B.params.on&&Object.keys(B.params.on).forEach(_t=>{B.on(_t,B.params.on[_t])}),B.params&&B.params.onAny&&B.onAny(B.params.onAny),Object.assign(B,{enabled:B.params.enabled,el:F,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===B.params.direction,isVertical:()=>"vertical"===B.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:B.params.allowSlideNext,allowSlidePrev:B.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:B.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:B.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),B.emit("_swiper"),B.params.init&&B.init(),B}getDirectionLabel(F){return this.isHorizontal()?F:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[F]}getSlideIndex(F){const{slidesEl:N,params:k}=this,ne=(0,u.e)(N,`.${k.slideClass}, swiper-slide`),z=(0,u.g)(ne[0]);return(0,u.g)(F)-z}getSlideIndexByData(F){return this.getSlideIndex(this.slides.filter(N=>1*N.getAttribute("data-swiper-slide-index")===F)[0])}recalcSlides(){const{slidesEl:N,params:k}=this;this.slides=(0,u.e)(N,`.${k.slideClass}, swiper-slide`)}enable(){const F=this;F.enabled||(F.enabled=!0,F.params.grabCursor&&F.setGrabCursor(),F.emit("enable"))}disable(){const F=this;F.enabled&&(F.enabled=!1,F.params.grabCursor&&F.unsetGrabCursor(),F.emit("disable"))}setProgress(F,N){const k=this;F=Math.min(Math.max(F,0),1);const ne=k.minTranslate(),re=(k.maxTranslate()-ne)*F+ne;k.translateTo(re,typeof N>"u"?0:N),k.updateActiveIndex(),k.updateSlidesClasses()}emitContainerClasses(){const F=this;if(!F.params._emitClasses||!F.el)return;const N=F.el.className.split(" ").filter(k=>0===k.indexOf("swiper")||0===k.indexOf(F.params.containerModifierClass));F.emit("_containerClasses",N.join(" "))}getSlideClasses(F){const N=this;return N.destroyed?"":F.className.split(" ").filter(k=>0===k.indexOf("swiper-slide")||0===k.indexOf(N.params.slideClass)).join(" ")}emitSlidesClasses(){const F=this;if(!F.params._emitClasses||!F.el)return;const N=[];F.slides.forEach(k=>{const ne=F.getSlideClasses(k);N.push({slideEl:k,classNames:ne}),F.emit("_slideClass",k,ne)}),F.emit("_slideClasses",N)}slidesPerViewDynamic(F,N){void 0===F&&(F="current"),void 0===N&&(N=!1);const{params:ne,slides:z,slidesGrid:re,slidesSizesGrid:B,size:Y,activeIndex:Qe}=this;let _t=1;if("number"==typeof ne.slidesPerView)return ne.slidesPerView;if(ne.centeredSlides){let bn,Vt=z[Qe]?z[Qe].swiperSlideSize:0;for(let xn=Qe+1;xn<z.length;xn+=1)z[xn]&&!bn&&(Vt+=z[xn].swiperSlideSize,_t+=1,Vt>Y&&(bn=!0));for(let xn=Qe-1;xn>=0;xn-=1)z[xn]&&!bn&&(Vt+=z[xn].swiperSlideSize,_t+=1,Vt>Y&&(bn=!0))}else if("current"===F)for(let Vt=Qe+1;Vt<z.length;Vt+=1)(N?re[Vt]+B[Vt]-re[Qe]<Y:re[Vt]-re[Qe]<Y)&&(_t+=1);else for(let Vt=Qe-1;Vt>=0;Vt-=1)re[Qe]-re[Vt]<Y&&(_t+=1);return _t}update(){const F=this;if(!F||F.destroyed)return;const{snapGrid:N,params:k}=F;function ne(){const B=Math.min(Math.max(F.rtlTranslate?-1*F.translate:F.translate,F.maxTranslate()),F.minTranslate());F.setTranslate(B),F.updateActiveIndex(),F.updateSlidesClasses()}let z;k.breakpoints&&F.setBreakpoint(),[...F.el.querySelectorAll('[loading="lazy"]')].forEach(re=>{re.complete&&q(F,re)}),F.updateSize(),F.updateSlides(),F.updateProgress(),F.updateSlidesClasses(),k.freeMode&&k.freeMode.enabled&&!k.cssMode?(ne(),k.autoHeight&&F.updateAutoHeight()):(z=F.slideTo(("auto"===k.slidesPerView||k.slidesPerView>1)&&F.isEnd&&!k.centeredSlides?(F.virtual&&k.virtual.enabled?F.virtual.slides:F.slides).length-1:F.activeIndex,0,!1,!0),z||ne()),k.watchOverflow&&N!==F.snapGrid&&F.checkOverflow(),F.emit("update")}changeDirection(F,N){void 0===N&&(N=!0);const k=this,ne=k.params.direction;return F||(F="horizontal"===ne?"vertical":"horizontal"),F===ne||"horizontal"!==F&&"vertical"!==F||(k.el.classList.remove(`${k.params.containerModifierClass}${ne}`),k.el.classList.add(`${k.params.containerModifierClass}${F}`),k.emitContainerClasses(),k.params.direction=F,k.slides.forEach(z=>{"vertical"===F?z.style.width="":z.style.height=""}),k.emit("changeDirection"),N&&k.update()),k}changeLanguageDirection(F){const N=this;N.rtl&&"rtl"===F||!N.rtl&&"ltr"===F||(N.rtl="rtl"===F,N.rtlTranslate="horizontal"===N.params.direction&&N.rtl,N.rtl?(N.el.classList.add(`${N.params.containerModifierClass}rtl`),N.el.dir="rtl"):(N.el.classList.remove(`${N.params.containerModifierClass}rtl`),N.el.dir="ltr"),N.update())}mount(F){const N=this;if(N.mounted)return!0;let k=F||N.params.el;if("string"==typeof k&&(k=document.querySelector(k)),!k)return!1;k.swiper=N,k.parentNode&&k.parentNode.host&&"SWIPER-CONTAINER"===k.parentNode.host.nodeName&&(N.isElement=!0);const ne=()=>`.${(N.params.wrapperClass||"").trim().split(" ").join(".")}`;let re=k&&k.shadowRoot&&k.shadowRoot.querySelector?k.shadowRoot.querySelector(ne()):(0,u.e)(k,ne())[0];return!re&&N.params.createElements&&(re=(0,u.c)("div",N.params.wrapperClass),k.append(re),(0,u.e)(k,`.${N.params.slideClass}`).forEach(B=>{re.append(B)})),Object.assign(N,{el:k,wrapperEl:re,slidesEl:N.isElement&&!k.parentNode.host.slideSlots?k.parentNode.host:re,hostEl:N.isElement?k.parentNode.host:k,mounted:!0,rtl:"rtl"===k.dir.toLowerCase()||"rtl"===(0,u.m)(k,"direction"),rtlTranslate:"horizontal"===N.params.direction&&("rtl"===k.dir.toLowerCase()||"rtl"===(0,u.m)(k,"direction")),wrongRTL:"-webkit-box"===(0,u.m)(re,"display")}),!0}init(F){const N=this;if(N.initialized||!1===N.mount(F))return N;N.emit("beforeInit"),N.params.breakpoints&&N.setBreakpoint(),N.addClasses(),N.updateSize(),N.updateSlides(),N.params.watchOverflow&&N.checkOverflow(),N.params.grabCursor&&N.enabled&&N.setGrabCursor(),N.slideTo(N.params.loop&&N.virtual&&N.params.virtual.enabled?N.params.initialSlide+N.virtual.slidesBefore:N.params.initialSlide,0,N.params.runCallbacksOnInit,!1,!0),N.params.loop&&N.loopCreate(),N.attachEvents();const ne=[...N.el.querySelectorAll('[loading="lazy"]')];return N.isElement&&ne.push(...N.hostEl.querySelectorAll('[loading="lazy"]')),ne.forEach(z=>{z.complete?q(N,z):z.addEventListener("load",re=>{q(N,re.target)})}),T(N),N.initialized=!0,T(N),N.emit("init"),N.emit("afterInit"),N}destroy(F,N){void 0===F&&(F=!0),void 0===N&&(N=!0);const k=this,{params:ne,el:z,wrapperEl:re,slides:B}=k;return typeof k.params>"u"||k.destroyed||(k.emit("beforeDestroy"),k.initialized=!1,k.detachEvents(),ne.loop&&k.loopDestroy(),N&&(k.removeClasses(),z.removeAttribute("style"),re.removeAttribute("style"),B&&B.length&&B.forEach(Y=>{Y.classList.remove(ne.slideVisibleClass,ne.slideFullyVisibleClass,ne.slideActiveClass,ne.slideNextClass,ne.slidePrevClass),Y.removeAttribute("style"),Y.removeAttribute("data-swiper-slide-index")})),k.emit("destroy"),Object.keys(k.eventsListeners).forEach(Y=>{k.off(Y)}),!1!==F&&(k.el.swiper=null,(0,u.u)(k)),k.destroyed=!0),null}static extendDefaults(F){(0,u.t)(xe,F)}static get extendedDefaults(){return xe}static get defaults(){return Le}static installModule(F){et.prototype.__modules__||(et.prototype.__modules__=[]);const N=et.prototype.__modules__;"function"==typeof F&&N.indexOf(F)<0&&N.push(F)}static use(F){return Array.isArray(F)?(F.forEach(N=>et.installModule(N)),et):(et.installModule(F),et)}}Object.keys(X).forEach(j=>{Object.keys(X[j]).forEach(F=>{et.prototype[F]=X[j][F]})}),et.use([function M(j){let{swiper:F,on:N,emit:k}=j;const ne=(0,t.a)();let z=null,re=null;const B=()=>{!F||F.destroyed||!F.initialized||(k("beforeResize"),k("resize"))},_t=()=>{!F||F.destroyed||!F.initialized||k("orientationchange")};N("init",()=>{F.params.resizeObserver&&typeof ne.ResizeObserver<"u"?!F||F.destroyed||!F.initialized||(z=new ResizeObserver(Vt=>{re=ne.requestAnimationFrame(()=>{const{width:bn,height:xn}=F;let Fn=bn,Ot=xn;Vt.forEach(En=>{let{contentBoxSize:ye,contentRect:It,target:pt}=En;pt&&pt!==F.el||(Fn=It?It.width:(ye[0]||ye).inlineSize,Ot=It?It.height:(ye[0]||ye).blockSize)}),(Fn!==bn||Ot!==xn)&&B()})}),z.observe(F.el)):(ne.addEventListener("resize",B),ne.addEventListener("orientationchange",_t))}),N("destroy",()=>{re&&ne.cancelAnimationFrame(re),z&&z.unobserve&&F.el&&(z.unobserve(F.el),z=null),ne.removeEventListener("resize",B),ne.removeEventListener("orientationchange",_t)})},function E(j){let{swiper:F,extendParams:N,on:k,emit:ne}=j;const z=[],re=(0,t.a)(),B=function(_t,Vt){void 0===Vt&&(Vt={});const xn=new(re.MutationObserver||re.WebkitMutationObserver)(Fn=>{if(F.__preventObserver__)return;if(1===Fn.length)return void ne("observerUpdate",Fn[0]);const Ot=function(){ne("observerUpdate",Fn[0])};re.requestAnimationFrame?re.requestAnimationFrame(Ot):re.setTimeout(Ot,0)});xn.observe(_t,{attributes:typeof Vt.attributes>"u"||Vt.attributes,childList:typeof Vt.childList>"u"||Vt.childList,characterData:typeof Vt.characterData>"u"||Vt.characterData}),z.push(xn)};N({observer:!1,observeParents:!1,observeSlideChildren:!1}),k("init",()=>{if(F.params.observer){if(F.params.observeParents){const _t=(0,u.a)(F.hostEl);for(let Vt=0;Vt<_t.length;Vt+=1)B(_t[Vt])}B(F.hostEl,{childList:F.params.observeSlideChildren}),B(F.wrapperEl,{attributes:!1})}}),k("destroy",()=>{z.forEach(_t=>{_t.disconnect()}),z.splice(0,z.length)})}])},6426:(jt,$e,s)=>{"use strict";s.d($e,{a:()=>q,b:()=>oe,c:()=>Z,d:()=>p,e:()=>A,f:()=>T,g:()=>Q,h:()=>u,i:()=>n,j:()=>H,k:()=>I,l:()=>E,m:()=>K,n:()=>m,o:()=>ee,p:()=>le,q:()=>M,r:()=>S,s:()=>O,t:()=>y,u:()=>e});var t=s(479);function u(ie){return void 0===ie&&(ie=""),ie.trim().split(" ").filter(_e=>!!_e.trim())}function e(ie){const _e=ie;Object.keys(_e).forEach(Ce=>{try{_e[Ce]=null}catch{}try{delete _e[Ce]}catch{}})}function m(ie,_e){return void 0===_e&&(_e=0),setTimeout(ie,_e)}function p(){return Date.now()}function n(ie,_e){void 0===_e&&(_e="x");const Ce=(0,t.a)();let Ve,ae,pe;const Ae=function U(ie){const _e=(0,t.a)();let Ce;return _e.getComputedStyle&&(Ce=_e.getComputedStyle(ie,null)),!Ce&&ie.currentStyle&&(Ce=ie.currentStyle),Ce||(Ce=ie.style),Ce}(ie);return Ce.WebKitCSSMatrix?(ae=Ae.transform||Ae.webkitTransform,ae.split(",").length>6&&(ae=ae.split(", ").map(Ze=>Ze.replace(",",".")).join(", ")),pe=new Ce.WebKitCSSMatrix("none"===ae?"":ae)):(pe=Ae.MozTransform||Ae.OTransform||Ae.MsTransform||Ae.msTransform||Ae.transform||Ae.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),Ve=pe.toString().split(",")),"x"===_e&&(ae=Ce.WebKitCSSMatrix?pe.m41:16===Ve.length?parseFloat(Ve[12]):parseFloat(Ve[4])),"y"===_e&&(ae=Ce.WebKitCSSMatrix?pe.m42:16===Ve.length?parseFloat(Ve[13]):parseFloat(Ve[5])),ae||0}function I(ie){return"object"==typeof ie&&null!==ie&&ie.constructor&&"Object"===Object.prototype.toString.call(ie).slice(8,-1)}function L(ie){return typeof window<"u"&&typeof window.HTMLElement<"u"?ie instanceof HTMLElement:ie&&(1===ie.nodeType||11===ie.nodeType)}function y(){const ie=Object(arguments.length<=0?void 0:arguments[0]),_e=["__proto__","constructor","prototype"];for(let Ce=1;Ce<arguments.length;Ce+=1){const Ve=Ce<0||arguments.length<=Ce?void 0:arguments[Ce];if(null!=Ve&&!L(Ve)){const ae=Object.keys(Object(Ve)).filter(pe=>_e.indexOf(pe)<0);for(let pe=0,Ae=ae.length;pe<Ae;pe+=1){const Ze=ae[pe],dt=Object.getOwnPropertyDescriptor(Ve,Ze);void 0!==dt&&dt.enumerable&&(I(ie[Ze])&&I(Ve[Ze])?Ve[Ze].__swiper__?ie[Ze]=Ve[Ze]:y(ie[Ze],Ve[Ze]):!I(ie[Ze])&&I(Ve[Ze])?(ie[Ze]={},Ve[Ze].__swiper__?ie[Ze]=Ve[Ze]:y(ie[Ze],Ve[Ze])):ie[Ze]=Ve[Ze])}}}return ie}function O(ie,_e,Ce){ie.style.setProperty(_e,Ce)}function M(ie){let{swiper:_e,targetPosition:Ce,side:Ve}=ie;const ae=(0,t.a)(),pe=-_e.translate;let Ze,Ae=null;const dt=_e.params.speed;_e.wrapperEl.style.scrollSnapType="none",ae.cancelAnimationFrame(_e.cssModeFrameID);const Fe=Ce>pe?"next":"prev",Xe=(W,we)=>"next"===Fe&&W>=we||"prev"===Fe&&W<=we,Ie=()=>{Ze=(new Date).getTime(),null===Ae&&(Ae=Ze);const W=Math.max(Math.min((Ze-Ae)/dt,1),0),we=.5-Math.cos(W*Math.PI)/2;let P=pe+we*(Ce-pe);if(Xe(P,Ce)&&(P=Ce),_e.wrapperEl.scrollTo({[Ve]:P}),Xe(P,Ce))return _e.wrapperEl.style.overflow="hidden",_e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{_e.wrapperEl.style.overflow="",_e.wrapperEl.scrollTo({[Ve]:P})}),void ae.cancelAnimationFrame(_e.cssModeFrameID);_e.cssModeFrameID=ae.requestAnimationFrame(Ie)};Ie()}function E(ie){return ie.querySelector(".swiper-slide-transform")||ie.shadowRoot&&ie.shadowRoot.querySelector(".swiper-slide-transform")||ie}function A(ie,_e){return void 0===_e&&(_e=""),[...ie.children].filter(Ce=>Ce.matches(_e))}function S(ie){try{return void console.warn(ie)}catch{}}function Z(ie,_e){void 0===_e&&(_e=[]);const Ce=document.createElement(ie);return Ce.classList.add(...Array.isArray(_e)?_e:u(_e)),Ce}function oe(ie){const _e=(0,t.a)(),Ce=(0,t.g)(),Ve=ie.getBoundingClientRect(),ae=Ce.body;return{top:Ve.top+(ie===_e?_e.scrollY:ie.scrollTop)-(ie.clientTop||ae.clientTop||0),left:Ve.left+(ie===_e?_e.scrollX:ie.scrollLeft)-(ie.clientLeft||ae.clientLeft||0)}}function le(ie,_e){const Ce=[];for(;ie.previousElementSibling;){const Ve=ie.previousElementSibling;_e?Ve.matches(_e)&&Ce.push(Ve):Ce.push(Ve),ie=Ve}return Ce}function ee(ie,_e){const Ce=[];for(;ie.nextElementSibling;){const Ve=ie.nextElementSibling;_e?Ve.matches(_e)&&Ce.push(Ve):Ce.push(Ve),ie=Ve}return Ce}function K(ie,_e){return(0,t.a)().getComputedStyle(ie,null).getPropertyValue(_e)}function Q(ie){let Ce,_e=ie;if(_e){for(Ce=0;null!==(_e=_e.previousSibling);)1===_e.nodeType&&(Ce+=1);return Ce}}function q(ie,_e){const Ce=[];let Ve=ie.parentElement;for(;Ve;)_e?Ve.matches(_e)&&Ce.push(Ve):Ce.push(Ve),Ve=Ve.parentElement;return Ce}function H(ie,_e){_e&&ie.addEventListener("transitionend",function Ce(Ve){Ve.target===ie&&(_e.call(ie,Ve),ie.removeEventListener("transitionend",Ce))})}function T(ie,_e,Ce){const Ve=(0,t.a)();return Ce?ie["width"===_e?"offsetWidth":"offsetHeight"]+parseFloat(Ve.getComputedStyle(ie,null).getPropertyValue("width"===_e?"margin-right":"margin-top"))+parseFloat(Ve.getComputedStyle(ie,null).getPropertyValue("width"===_e?"margin-left":"margin-bottom")):ie.offsetWidth}},8321:(jt,$e,s)=>{"use strict";s.d($e,{Z:()=>t.S});var t=s(741)},5861:(jt,$e,s)=>{"use strict";function t(e,m,p,U,n,I,L){try{var y=e[I](L),O=y.value}catch(M){return void p(M)}y.done?m(O):Promise.resolve(O).then(U,n)}function u(e){return function(){var m=this,p=arguments;return new Promise(function(U,n){var I=e.apply(m,p);function L(O){t(I,U,n,L,y,"next",O)}function y(O){t(I,U,n,L,y,"throw",O)}L(void 0)})}}s.d($e,{Z:()=>u})},7582:(jt,$e,s)=>{"use strict";function p(Ie,W,we,P){var G,V=arguments.length,Se=V<3?W:null===P?P=Object.getOwnPropertyDescriptor(W,we):P;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Se=Reflect.decorate(Ie,W,we,P);else for(var be=Ie.length-1;be>=0;be--)(G=Ie[be])&&(Se=(V<3?G(Se):V>3?G(W,we,Se):G(W,we))||Se);return V>3&&Se&&Object.defineProperty(W,we,Se),Se}function O(Ie,W){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(Ie,W)}function M(Ie,W,we,P){return new(we||(we=Promise))(function(Se,G){function be(tt){try{De(P.next(tt))}catch(Re){G(Re)}}function de(tt){try{De(P.throw(tt))}catch(Re){G(Re)}}function De(tt){tt.done?Se(tt.value):function V(Se){return Se instanceof we?Se:new we(function(G){G(Se)})}(tt.value).then(be,de)}De((P=P.apply(Ie,W||[])).next())})}function Q(Ie){return this instanceof Q?(this.v=Ie,this):new Q(Ie)}function q(Ie,W,we){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,P=we.apply(Ie,W||[]),Se=[];return V={},G("next"),G("throw"),G("return"),V[Symbol.asyncIterator]=function(){return this},V;function G(Ft){P[Ft]&&(V[Ft]=function(mt){return new Promise(function(sn,hn){Se.push([Ft,mt,sn,hn])>1||be(Ft,mt)})})}function be(Ft,mt){try{!function de(Ft){Ft.value instanceof Q?Promise.resolve(Ft.value.v).then(De,tt):Re(Se[0][2],Ft)}(P[Ft](mt))}catch(sn){Re(Se[0][3],sn)}}function De(Ft){be("next",Ft)}function tt(Ft){be("throw",Ft)}function Re(Ft,mt){Ft(mt),Se.shift(),Se.length&&be(Se[0][0],Se[0][1])}}function T(Ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var we,W=Ie[Symbol.asyncIterator];return W?W.call(Ie):(Ie=function Z(Ie){var W="function"==typeof Symbol&&Symbol.iterator,we=W&&Ie[W],P=0;if(we)return we.call(Ie);if(Ie&&"number"==typeof Ie.length)return{next:function(){return Ie&&P>=Ie.length&&(Ie=void 0),{value:Ie&&Ie[P++],done:!Ie}}};throw new TypeError(W?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ie),we={},P("next"),P("throw"),P("return"),we[Symbol.asyncIterator]=function(){return this},we);function P(Se){we[Se]=Ie[Se]&&function(G){return new Promise(function(be,de){!function V(Se,G,be,de){Promise.resolve(de).then(function(De){Se({value:De,done:be})},G)}(be,de,(G=Ie[Se](G)).done,G.value)})}}}s.d($e,{FC:()=>q,KL:()=>T,gn:()=>p,mG:()=>M,qq:()=>Q,w6:()=>O}),"function"==typeof SuppressedError&&SuppressedError}},jt=>{jt(jt.s=2385)}]);