-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchunk-IK75PPQG.js
1 lines (1 loc) · 13.6 KB
/
chunk-IK75PPQG.js
1
import{a as _,b as fe,c as pe,d as f,g as he,n as me,o as ye,q as B,r as ge}from"./chunk-KUIU3T4D.js";import{Ba as T,Ca as w,Da as S,Ea as ee,Fa as te,Ga as ne,Ha as re,Ia as oe,Ja as se,Ka as ie,La as v,Qa as D,R as y,S as h,V as d,Va as ae,W,Y as A,_ as c,ca as X,eb as ce,lb as le,mb as O,nb as I,ob as U,oc as ue,pa as g,pc as de,qa as k,ua as J,va as x,wa as Q,xa as M,za as j}from"./chunk-GR3MIE2K.js";import{a as H,b as K}from"./chunk-4CLCTAJ7.js";var $=class extends pe{supportsDOMEvents=!0},V=class r extends ${static makeCurrent(){fe(new r)}onAndCancel(n,e,t){return n.addEventListener(e,t),()=>{n.removeEventListener(e,t)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Oe();return e==null?null:Ie(e)}resetBaseElement(){C=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return he(document.cookie,n)}},C=null;function Oe(){return C=C||document.querySelector("base"),C?C.getAttribute("href"):null}function Ie(r){return new URL(r,document.baseURI).pathname}var Z=class{addToWindow(n){h.getAngularTestability=(t,o=!0)=>{let s=n.findTestabilityInTree(t,o);if(s==null)throw new y(5103,!1);return s},h.getAllAngularTestabilities=()=>n.getAllTestabilities(),h.getAllAngularRootElements=()=>n.getAllRootElements();let e=t=>{let o=h.getAllAngularTestabilities(),s=o.length,i=function(){s--,s==0&&t()};o.forEach(a=>{a.whenStable(i)})};h.frameworkStabilizers||(h.frameworkStabilizers=[]),h.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,t){if(e==null)return null;let o=n.getTestability(e);return o??(t?_().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},_e=(()=>{class r{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||r)};static \u0275prov=d({token:r,factory:r.\u0275fac})}return r})(),z=new A(""),Te=(()=>{class r{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,o){return this._findPluginFor(t).addEventListener(e,t,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(s=>s.supports(e)),!t)throw new y(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||r)(c(z),c(g))};static \u0275prov=d({token:r,factory:r.\u0275fac})}return r})(),L=class{_doc;constructor(n){this._doc=n}manager},N="ng-app-id";function ve(r){for(let n of r)n.remove()}function Ee(r,n){let e=n.createElement("style");return e.textContent=r,e}function Ne(r,n,e,t){let o=r.head?.querySelectorAll(`style[${N}="${n}"],link[${N}="${n}"]`);if(o)for(let s of o)s.removeAttribute(N),s instanceof HTMLLinkElement?t.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]})}function G(r,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",r),e}var De=(()=>{class r{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,t,o,s={}){this.doc=e,this.appId=t,this.nonce=o,this.isServer=B(s),Ne(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let o of e)this.addUsage(o,this.inline,Ee);t?.forEach(o=>this.addUsage(o,this.external,G))}removeStyles(e,t){for(let o of e)this.removeUsage(o,this.inline);t?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,t,o){let s=t.get(e);s?s.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(i=>this.addElement(i,o(e,this.doc)))})}removeUsage(e,t){let o=t.get(e);o&&(o.usage--,o.usage<=0&&(ve(o.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ve(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:o}]of this.inline)o.push(this.addElement(e,Ee(t,this.doc)));for(let[t,{elements:o}]of this.external)o.push(this.addElement(e,G(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(N,this.appId),e.appendChild(t)}static \u0275fac=function(t){return new(t||r)(c(f),c(x),c(j,8),c(M))};static \u0275prov=d({token:r,factory:r.\u0275fac})}return r})(),F={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/Math/MathML"},q=/%COMP%/g,Ce="%COMP%",Le=`_nghost-${Ce}`,Pe=`_ngcontent-${Ce}`,He=!0,ke=new A("",{providedIn:"root",factory:()=>He});function xe(r){return Pe.replace(q,r)}function je(r){return Le.replace(q,r)}function Re(r,n){return n.map(e=>e.replace(q,r))}var we=(()=>{class r{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,o,s,i,a,l,u=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=i,this.platformId=a,this.ngZone=l,this.nonce=u,this.platformIsServer=B(a),this.defaultRenderer=new R(e,i,l,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===T.ShadowDom&&(t=K(H({},t),{encapsulation:T.Emulated}));let o=this.getOrCreateRenderer(e,t);return o instanceof P?o.applyToHost(e):o instanceof b&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,s=o.get(t.id);if(!s){let i=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(t.encapsulation){case T.Emulated:s=new P(l,u,t,this.appId,p,i,a,m);break;case T.ShadowDom:return new Y(l,u,e,t,i,a,this.nonce,m);default:s=new b(l,u,t,p,i,a,m);break}o.set(t.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(t){return new(t||r)(c(Te),c(De),c(x),c(ke),c(f),c(M),c(g),c(j))};static \u0275prov=d({token:r,factory:r.\u0275fac})}return r})(),R=class{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,o){this.eventManager=n,this.doc=e,this.ngZone=t,this.platformIsServer=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(F[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Se(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(Se(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new y(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,o){if(o){e=o+":"+e;let s=F[o];s?n.setAttributeNS(s,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let o=F[t];o?n.removeAttributeNS(o,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,o){o&(D.DashCase|D.Important)?n.style.setProperty(e,t,o&D.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&D.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t){if(typeof n=="string"&&(n=_().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(t))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Se(r){return r.tagName==="TEMPLATE"&&r.content!==void 0}var Y=class extends R{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,t,o,s,i,a,l){super(n,s,i,l),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Re(o.id,o.styles);for(let m of u){let E=document.createElement("style");a&&E.setAttribute("nonce",a),E.textContent=m,this.shadowRoot.appendChild(E)}let p=o.getExternalStyles?.();if(p)for(let m of p){let E=G(m,s);a&&E.setAttribute("nonce",a),this.shadowRoot.appendChild(E)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},b=class extends R{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,o,s,i,a,l){super(n,s,i,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=l?Re(l,t.styles):t.styles,this.styleUrls=t.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},P=class extends b{contentAttr;hostAttr;constructor(n,e,t,o,s,i,a,l){let u=o+"-"+t.id;super(n,e,t,s,i,a,l,u),this.contentAttr=xe(u),this.hostAttr=je(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}},Ue=(()=>{class r extends L{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o){return e.addEventListener(t,o,!1),()=>this.removeEventListener(e,t,o)}removeEventListener(e,t,o){return e.removeEventListener(t,o)}static \u0275fac=function(t){return new(t||r)(c(f))};static \u0275prov=d({token:r,factory:r.\u0275fac})}return r})(),Me=["alt","control","meta","shift"],Be={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Fe={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey},$e=(()=>{class r extends L{constructor(e){super(e)}supports(e){return r.parseEventName(e)!=null}addEventListener(e,t,o){let s=r.parseEventName(t),i=r.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_().onAndCancel(e,s.domEventName,i))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let s=r._normalizeKey(t.pop()),i="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),i="code."),Me.forEach(u=>{let p=t.indexOf(u);p>-1&&(t.splice(p,1),i+=u+".")}),i+=s,t.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=i,l}static matchEventFullKeyCode(e,t){let o=Be[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(o=e.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Me.forEach(i=>{if(i!==o){let a=Fe[i];a(e)&&(s+=i+".")}}),s+=o,s===t)}static eventCallback(e,t,o){return s=>{r.matchEventFullKeyCode(s,e)&&o.runGuarded(()=>t(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||r)(c(f))};static \u0275prov=d({token:r,factory:r.\u0275fac})}return r})();function St(r,n){return de(H({rootComponent:r},Ve(n)))}function Ve(r){return{appProviders:[...be,...r?.providers??[]],platformProviders:Ye}}function Ze(){V.makeCurrent()}function ze(){return new k}function Ge(){return J(document),document}var Ye=[{provide:M,useValue:ye},{provide:Q,useValue:Ze,multi:!0},{provide:f,useFactory:Ge,deps:[]}];var qe=new A(""),Ke=[{provide:O,useClass:Z,deps:[]},{provide:le,useClass:I,deps:[g,U,O]},{provide:I,useClass:I,deps:[g,U,O]}],be=[{provide:X,useValue:"root"},{provide:k,useFactory:ze,deps:[]},{provide:z,useClass:Ue,multi:!0,deps:[f,g,M]},{provide:z,useClass:$e,multi:!0,deps:[f]},we,De,Te,{provide:ae,useExisting:we},{provide:ge,useClass:_e,deps:[]},[]],Mt=(()=>{class r{constructor(e){}static \u0275fac=function(t){return new(t||r)(c(qe,12))};static \u0275mod=ce({type:r});static \u0275inj=W({providers:[...be,...Ke],imports:[me,ue]})}return r})();var Tt=(()=>{class r{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||r)(c(f))};static \u0275prov=d({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var We=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=d({token:r,factory:function(t){let o=null;return t?o=new(t||r):o=c(Xe),o},providedIn:"root"})}return r})(),Xe=(()=>{class r extends We{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case v.NONE:return t;case v.HTML:return S(t,"HTML")?w(t):ie(this._doc,String(t)).toString();case v.STYLE:return S(t,"Style")?w(t):t;case v.SCRIPT:if(S(t,"Script"))return w(t);throw new y(5200,!1);case v.URL:return S(t,"URL")?w(t):se(String(t));case v.RESOURCE_URL:if(S(t,"ResourceURL"))return w(t);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(e){return ee(e)}bypassSecurityTrustStyle(e){return te(e)}bypassSecurityTrustScript(e){return ne(e)}bypassSecurityTrustUrl(e){return re(e)}bypassSecurityTrustResourceUrl(e){return oe(e)}static \u0275fac=function(t){return new(t||r)(c(f))};static \u0275prov=d({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{we as a,St as b,Mt as c,Tt as d,We as e};