1import{a as v,i as u}from"./chunk-DbBkvicD.js";import{Wn as ur}from"./chunk-DF3w6kHy.js";import{Gt as T,q as J}from"./chunk-_fV1tyTy.js";import{ut as no}from"./chunk-CcnACUVT.js";import{t as N}from"./chunk-BhWke7Z_2.js";import{H as t$1,a as f,c as G,o as h$1,s as t}from"./chunk-DvPvWwsk2.js";import{r as Q}from"./chunk-CbF5G8xQ.js";import{t as Rr}from"./chunk-TFxk3u6e.js";var A=v(u((O,P)=>{"use strict";function L(i){for(var e=5381,r=i.length;r;)e=e*33^i.charCodeAt(--r);return e>>>0}P.exports=L})());var h=class{#e;#r;#t=new Map;constructor(e,r){this.#e=e,this.#r=r}process(e){if(!e)return e;if(!ur(e))throw new Error(`ReferenceProcessor: Expected a string input.`);let r=(0,A.default)(e),t=this.#t.get(r);if(t)return t;let o=this.#s(e);return this.#t.set(r,o),o}clearCache(){this.#t.clear()}#s(e){return e.replace(h$1,(r,t$2,o,n,c,I,k)=>{if(o===t.Spec)return`<span class="sp" title="${n}"${c?` aria-label="${c}"`:``}></span>`;let a=this.#e.create(n,o,k);if(!a)return``;let p=c||a.title,m=a.url;return m?N.anchor(p,this.#r.getAnchorLink(m),t$2?null:I||a.description):p})}};var l=class{#e;#r;constructor(e,r,t,o,n){this.#r=o;let c=new f(e,t,r);this.#e=new h(c,n),this.#r.registerReferenceProcessor(this.#e)}compile(e){return e?this.#r.compile(e):Promise.resolve(``)}resolve(...e){this.#r.clearCache(),this.#e.clearCache();let r=[];return e.forEach(t=>{t.forEach(o=>{r.push(this.#r.updateContainer(o))})}),r.length===0?Promise.resolve():Promise.all(r).then(()=>{})}};var V=(()=>{class i{#e=T(no);#r=T(t$1);#t=T(G);#s=T(Rr);#a=T(Q);#i=null;#o=null;constructor(){this.#n()}async compile(r){return(await this.#c()).compile(r)}async resolve(...r){return await(await this.#c()).resolve(...r),r}
1async#c(){if(await this.#n(),!this.#i)throw new Error(`RetailHtmlCompilerService initialization failed`);return this.#i}async#n(){return this.#o?this.#o:(this.#o=(async()=>{let r=await this.#r.takeSnapshot();this.#i=new l(r,this.#e,this.#t,this.#s,this.#a)})().catch(r=>{throw this.#i=null,r}),this.#o)}static ɵfac=function(t){return new(t||i)};static ɵprov=J({token:i,factory:i.ɵfac,providedIn:`root`})}return i})();export{l as n,V as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.