fix domain name
This commit is contained in:
1 parent
68c1143d3f
commit
048a755bbd
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -12,5 +12,5 @@
|
||||
<app-root></app-root>
|
||||
</div>
|
||||
|
||||
<script src="polyfills-5CFQRCPP.js" type="module"></script><script src="main-PKKUFFG3.js" type="module"></script></body>
|
||||
<script src="polyfills-5CFQRCPP.js" type="module"></script><script src="main-IMP3BWTU.js" type="module"></script></body>
|
||||
</html>
|
||||
@@ -2,7 +2,7 @@ var gE=Object.defineProperty,mE=Object.defineProperties;var vE=Object.getOwnProp
|
||||
${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
|
||||
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function no(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var pe=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(P(r))try{r()}catch(o){t=o instanceof Ws?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{Lh(o)}catch(s){t=t??[],s instanceof Ws?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ws(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Lh(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&no(n,t)}remove(t){let{_finalizers:n}=this;n&&no(n,t),t instanceof e&&t._removeParent(this)}};pe.EMPTY=(()=>{let e=new pe;return e.closed=!0,e})();var su=pe.EMPTY;function qs(e){return e instanceof pe||e&&"closed"in e&&P(e.remove)&&P(e.add)&&P(e.unsubscribe)}function Lh(e){P(e)?e():e.unsubscribe()}var Tt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Kr={setTimeout(e,t,...n){let{delegate:r}=Kr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Kr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Zs(e){Kr.setTimeout(()=>{let{onUnhandledError:t}=Tt;if(t)t(e);else throw e})}function ro(){}var jh=au("C",void 0,void 0);function Vh(e){return au("E",void 0,e)}function Bh(e){return au("N",e,void 0)}function au(e,t,n){return{kind:e,value:t,error:n}}var cr=null;function Jr(e){if(Tt.useDeprecatedSynchronousErrorHandling){let t=!cr;if(t&&(cr={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=cr;if(cr=null,n)throw r}}else e()}function $h(e){Tt.useDeprecatedSynchronousErrorHandling&&cr&&(cr.errorThrown=!0,cr.error=e)}var lr=class extends pe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,qs(t)&&t.add(this)):this.destination=xE}static create(t,n,r){return new Xr(t,n,r)}next(t){this.isStopped?lu(Bh(t),this):this._next(t)}error(t){this.isStopped?lu(Vh(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?lu(jh,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},SE=Function.prototype.bind;function cu(e,t){return SE.call(e,t)}var uu=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ys(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ys(r)}else Ys(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ys(n)}}},Xr=class extends lr{constructor(t,n,r){super();let i;if(P(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&Tt.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&cu(t.next,o),error:t.error&&cu(t.error,o),complete:t.complete&&cu(t.complete,o)}):i=t}this.destination=new uu(i)}};function Ys(e){Tt.useDeprecatedSynchronousErrorHandling?$h(e):Zs(e)}function TE(e){throw e}function lu(e,t){let{onStoppedNotification:n}=Tt;n&&Kr.setTimeout(()=>n(e,t))}var xE={closed:!0,next:ro,error:TE,complete:ro};var ei=typeof Symbol=="function"&&Symbol.observable||"@@observable";function st(e){return e}function du(...e){return fu(e)}function fu(e){return e.length===0?st:e.length===1?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}var U=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=NE(n)?n:new Xr(n,r,i);return Jr(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Uh(r),new r((i,o)=>{let s=new Xr({next:a=>{try{n(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ei](){return this}pipe(...n){return fu(n)(this)}toPromise(n){return n=Uh(n),new n((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function Uh(e){var t;return(t=e??Tt.Promise)!==null&&t!==void 0?t:Promise}function AE(e){return e&&P(e.next)&&P(e.error)&&P(e.complete)}function NE(e){returLine truncated
|
||||
`);return r>=0?n.slice(0,r):n}function Ca(e,t){return e?t?`${e} ${t}`:e:t||""}var YE=q({__forward_ref__:q});function Dn(e){return e.__forward_ref__=Dn,e.toString=function(){return vn(this())},e}function Te(e){return Nu(e)?e():e}function Nu(e){return typeof e=="function"&&e.hasOwnProperty(YE)&&e.__forward_ref__===Dn}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function At(e){return{providers:e.providers||[],imports:e.imports||[]}}function co(e){return QE(e,Ea)}function Ru(e){return co(e)!==null}function QE(e,t){return e.hasOwnProperty(t)&&e[t]||null}function KE(e){let t=e?.[Ea]??null;return t||null}function Eu(e){return e&&e.hasOwnProperty(va)?e[va]:null}var Ea=q({\u0275prov:q}),va=q({\u0275inj:q}),M=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ou(e){return e&&!!e.\u0275providers}var ku=q({\u0275cmp:q}),Pu=q({\u0275dir:q}),Fu=q({\u0275pipe:q}),Lu=q({\u0275mod:q}),so=q({\u0275fac:q}),mr=q({__NG_ELEMENT_ID__:q}),lg=q({__NG_ENV_ID__:q});function Cn(e){return typeof e=="string"?e:e==null?"":String(e)}function fg(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Cn(e)}var pg=q({ngErrorCode:q}),JE=q({ngErrorMessage:q}),XE=q({ngTokenPath:q});function ju(e,t){return hg("",-200,t)}function ba(e,t){throw new E(-201,!1)}function hg(e,t,n){let r=new E(t,e);return r[pg]=t,r[JE]=e,n&&(r[XE]=n),r}function eb(e){return e[pg]}var bu;function gg(){return bu}function He(e){let t=bu;return bu=e,t}function Vu(e,t,n){let r=co(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;ba(e,"Injector")}var tb={},fr=tb,nb="__NG_DI_FLAG__",_u=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=pr(n)||0;try{return this.injector.get(t,r&8?null:fr,r)}catch(i){if(zr(i))return i;throw i}}};function rb(e,t=0){let n=Ps();if(n===void 0)throw new E(-203,!1);if(n===null)return Vu(e,void 0,t);{let r=ib(t),i=n.retrieve(e,r);if(zr(i)){if(r.optional)return null;throw i}return i}}function x(e,t=0){return(gg()||rb)(Te(e),t)}function m(e,t){return x(e,pr(t))}function pr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ib(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function wu(e){let t=[];for(let n=0;n<e.length;n++){let r=Te(e[n]);if(Array.isArray(r)){if(r.length===0)throw new E(900,!1);let i,o=0;for(let s=0;s<r.length;s++){let a=r[s],c=ob(a);typeof c=="number"?c===-1?i=a.token:o|=c:i=a}t.push(x(i,o))}else t.push(x(r))}return t}function ob(e){return e[nb]}function Hn(e,t){let n=e.hasOwnProperty(so);return n?e[so]:null}function mg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}function vg(e){return e.flat(Number.POSITIVE_INFINITY)}function _a(e,t){e.forEach(n=>Array.isArray(n)?_a(n,t):t(n))}function Bu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function lo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yg(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(i===1)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;){let o=i-2;e[i]=e[o],i--}e[t]=n,e[t+1]=r}}function wa(e,t,n){let r=ci(e,t);return r>=0?e[r|1]=n:(r=~r,yg(e,r,t,n)),r}function Ia(e,t){let n=ci(e,t);if(n>=0)return e[n|1]}function ci(e,t){return sb(e,t,1)}function sb(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){let o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}var Gn={},ze=[],Ht=new M(""),$u=new M("",-1),Uu=new M(""),ao=class{get(t,n=fr){if(n===fr){let i=hg("",-201);throw i.name="\u0275NotFound",i}return n}};function Hu(e){return e[Lu]||null}function Wn(e){return e[ku]||null}function zu(e){return e[Pu]||null}function Dg(e){return e[Fu]||null}function zt(e){return{\u0275providers:e}}function Cg(e){return zt([{provide:Ht,multi:!0,useValue:e}])}function Eg(...e){return{\u0275providers:Gu(!0,e),\u0275fromNgModule:!0}}function Gu(e,...t){let n=[],r=new Set,i,o=s=>{n.push(s)};return _a(t,s=>{let a=s;ya(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&bg(i,o),n}function bg(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:i}=e[n];Wu(i,o=>{t(o,r)})}}function ya(e,t,n,r){if(e=Te(e),!e)return!1;let i=null,o=Eu(e),s=!o&&Wn(e);if(!o&&!s){let c=e.ngModule;if(o=Eu(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=e}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ya(l,t,n,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let l;try{_a(o.imports,u=>{ya(u,t,n,r)&&(l||=[],l.push(u))})}finall
Line truncated
|
||||
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let i=(t.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Wc=class{encodeKey(t){return DD(t)}encodeValue(t){return DD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function KM(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var JM=/%(\d[a-f0-9])/gi,XM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function DD(e){return encodeURIComponent(e).replace(JM,(t,n)=>XM[n]??t)}function Gc(e){return`${e}`}var On=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Wc,t.fromString){if(t.fromObject)throw new E(2805,!1);this.map=KM(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],i=Array.isArray(r)?r.map(Gc):[Gc(r)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Gc(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],i=r.indexOf(Gc(t.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var qc=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function eS(e){switch(e)
Line truncated
|
||||
`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let i=(t.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=t.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Wc=class{encodeKey(t){return DD(t)}encodeValue(t){return DD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function KM(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var JM=/%(\d[a-f0-9])/gi,XM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function DD(e){return encodeURIComponent(e).replace(JM,(t,n)=>XM[n]??t)}function Gc(e){return`${e}`}var On=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Wc,t.fromString){if(t.fromObject)throw new E(2805,!1);this.map=KM(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],i=Array.isArray(r)?r.map(Gc):[Gc(r)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Gc(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],i=r.indexOf(Gc(t.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var qc=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function eS(e){switch(e)
Line truncated
|
||||
]`).replace("lheading",nE).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),Jx=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Xx=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,iE=/^( {2,}|\\)\n(?!\s*$)/,eA=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,$l=/[\p{P}\p{S}]/u,Eh=/[\s\p{P}\p{S}]/u,oE=/[^\s\p{P}\p{S}]/u,tA=Y(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Eh).getRegex(),sE=/(?!~)[\p{P}\p{S}]/u,nA=/(?!~)[\s\p{P}\p{S}]/u,rA=/(?:[^\s\p{P}\p{S}]|~)/u,iA=/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,aE=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,oA=Y(aE,"u").replace(/punct/g,$l).getRegex(),sA=Y(aE,"u").replace(/punct/g,sE).getRegex(),cE="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",aA=Y(cE,"gu").replace(/notPunctSpace/g,oE).replace(/punctSpace/g,Eh).replace(/punct/g,$l).getRegex(),cA=Y(cE,"gu").replace(/notPunctSpace/g,rA).replace(/punctSpace/g,nA).replace(/punct/g,sE).getRegex(),lA=Y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,oE).replace(/punctSpace/g,Eh).replace(/punct/g,$l).getRegex(),uA=Y(/\\(punct)/,"gu").replace(/punct/g,$l).getRegex(),dA=Y(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),fA=Y(Dh).replace("(?:-->|$)","-->").getRegex(),pA=Y("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",fA).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ll=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,hA=Y(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Ll).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),lE=Y(/^!?\[(label)\]\[(ref)\]/).replace("label",Ll).replace("ref",yh).getRegex(),uE=Y(/^!?\[(ref)\](?:\[\])?/).replace("ref",yh).getRegex(),gA=Y("reflink|nolink(?!\\()","g").replace("reflink",lE).replace("nolink",uE).getRegex(),bh={_backpedal:Ns,anyPunctuation:uA,autolink:dA,blockSkip:iA,br:iE,code:Xx,del:Ns,emStrongLDelim:oA,emStrongRDelimAst:aA,emStrongRDelimUnd:lA,escape:Jx,link:hA,nolink:uE,punctuation:tA,reflink:lE,reflinkSearch:gA,tag:pA,text:eA,url:Ns},mA=L(D({},bh),{link:Y(/^!?\[(label)\]\((.*?)\)/).replace("label",Ll).getRegex(),reflink:Y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ll).getRegex()}),fh=L(D({},bh),{emStrongRDelimAst:cA,emStrongLDelim:sA,url:Y(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),vA=L(D({},fh),{br:Y(iE).replace("{2,}","*").getRegex(),text:Y(fh.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),Fl={normal:Ch,gfm:Qx,pedantic:Kx},Ts={normal:bh,gfm:fh,breaks:vA,pedantic:mA},yA={"&":"&","<":"<",">":">",'"':""","'":"'"},QC=e=>yA[e];function dn(e,t){if(t){if(Ke.escapeTest.test(e))return e.replace(Ke.escapeReplace,QC)}else if(Ke.escapeTestNoEncode.test(e))return e.replace(Ke.escapeReplaceNoEncode,QC);return e}function KC(e){try{e=encodeURI(e).replace(Ke.percentDecode,"%")}catch{return null}return e}function JC(e,t){let n=e.replace(Ke.findPipe,(o,s,a)=>{let c=!1,l=s;for(;--l>=0&&a[l]==="\\";)c=!c;return c?"|":" |"}),r=n.split(Ke.splitPipe),i=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(Ke.slashPipe,"|");return r}function xs(e,t,n){let r=e.length;if(r===0)return"";let i=0;for(;i<r;){let o=e.charAt(r-i-1);if(o===t&&!n)i++;else if(o!==t&&n)i++;else break}return e.slice(0,r-i)}function DA(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]Line truncated
|
||||
`).map(o=>{let s=o.match(n.other.beginningSpace);if(s===null)return o;let[a]=s;return a.length>=i.length?o.slice(i.length):o}).join(`
|
||||
`)}var jl=class{options;rules;lexer;constructor(e){this.options=e||Hr}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:xs(n,`
|
||||
Reference in new issue
Block a user