PageSourceSearch

https://maitrixfb.web.app/chunk-CQVHTHRR.js

js maitrixfb.web.app collected 2026-10-03 12:29:18 UTC 4,900 bytes, 1 lines download raw bytes

1import{$ as f,B as T,G as d,I as j,Ia as w,Kc as E,Z as c,fa as p,g as L,ga as I,ia as v,k as l,ka as o,n as g,p as r,rb as O,t as _,ta as b,v as u,vd as A,xa as M}from"./chunk-27WVPIZ6.js";import{h as s}from"./chunk-PW2ISQNL.js";var H=new v("HIGHLIGHT_OPTIONS");var h=(function(t){return t.FULL_WITH_CORE_LIBRARY_IMPORTS="The full library and the core library were imported, only one of them should be imported!",t.FULL_WITH_LANGUAGE_IMPORTS="The highlighting languages were imported they are not needed!",t.CORE_WITHOUT_LANGUAGE_IMPORTS="The highlighting languages were not imported!",t.LANGUAGE_WITHOUT_CORE_IMPORTS="The core library was not imported!",t.NO_FULL_AND_NO_CORE_IMPORTS="Highlight.js library was not imported!",t})(h||{}),F=(()=>{class t{constructor(){this.document=o(b),this.isPlatformBrowser=A(o(w)),this.options=o(H,{optional:!0}),this._ready=new L(null),this.ready=_(this._ready.asObservable().pipe(d(e=>!!e))),this.isPlatformBrowser&&(this.document.defaultView.hljs?this._ready.next(this.document.defaultView.hljs):this._loadLibrary().pipe(c(e=>this.options?.lineNumbersLoader?(this.document.defaultView.hljs=e,this.loadLineNumbers().pipe(f(i=>{i.activateLineNumbers(),this._ready.next(e)}))):(this._ready.next(e),l)),j(e=>(console.error("[HLJS] ",e),this._ready.error(e),l))).subscribe(),this.options?.themePath&&this.loadTheme(this.options.themePath))}_loadLibrary(){if(this.options){if(this.options.fullLibraryLoader&&this.options.coreLibraryLoader)return r(()=>h.FULL_WITH_CORE_LIBRARY_IMPORTS);if(this.options.fullLibraryLoader&&this.options.languages)return r(()=>h.FULL_WITH_LANGUAGE_IMPORTS);if(this.options.coreLibraryLoader&&!this.options.languages)return r(()=>h.CORE_WITHOUT_LANGUAGE_IMPORTS);if(!this.options.coreLibraryLoader&&this.options.languages)return r(()=>h.LANGUAGE_WITHOUT_CORE_IMPORTS);if(this.options.fullLibraryLoader)return this.loadFullLibrary();if(this.options.coreLibraryLoader&&this.options.languages&&Object.keys(this.options.languages).length)return this.loadCoreLibrary().pipe(c(e=>this._loadLanguages(e)))}return r(()=>h.NO_FULL_AND_NO_CORE_IMPORTS)}_loadLanguages(e){let i=Object.entries(this.options.languages).map(([n,R])=>y(R()).pipe(f(m=>e.registerLanguage(n,m))));return T(i).pipe(u(()=>e))}loadCoreLibrary(){return y(this.options.coreLibraryLoader())}loadFullLibrary(){return y(this.options.fullLibraryLoader())}loadLineNumbers(){return g(this.options.lineNumbersLoader())}setTheme(e){this.isPlatformBrowser&&(this._themeLinkElement?this._themeLinkElement.href=e:this.loadTheme(e))}loadTheme(e){this._themeLinkElement=this.document.createElement("link"),this._themeLinkElement.href=e,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.document.head.appendChild(this._themeLinkElement)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),y=t=>g(t).pipe(d(a=>!!a?.default),u(a=>a.default)),Z=(()=>{class t{constructor(){this.loader=o(F),this.options=o(H,{optional:!0}),this.hljsSignal=M(null),this.hljs=E(()=>this.hljsSignal()),this.loader.ready.then(e=>{this.hljsSignal.set(e),this.options?.highlightOptions&&e.configure(this.options.highlightOptions)})}highlight(e,i){return s(this,null,function*(){return(yield this.loader.ready).highlight(e,i)})}highlightAuto(e,i){return s(this,null,function*(){return(yield this.loader.ready).highlightAuto(e,i)})}highlightElement(e){return s(this,null,function*(){(yield this.loader.ready).highlightElement(e)})}highlightAll(){return s(this,null,function*(){(yield this.loader.ready).highlightAll()})}configure(e){return s(this,null,function*(){(yield this.loader.ready).configure(e)})}registerLanguage(e,i){return s(this,null,function*(){(yield this.loader.ready).registerLanguage(e,i)})}unregisterLanguage(e){return s(this,null,function*(){(yield this.loader.ready).unregisterLanguage(e)})}registerAliases(n,R){return s(this,arguments,function*(e,{languageName:i}){(yield this.loader.ready).registerAliases(e,{languageName:i})})}listLanguages(){return s(this,null,function*(){return(yield this.loader.ready).listLanguages()})}getLanguage(e){return s(this,null,function*(){return(yield this.loader.ready).getLanguage(e)}
1)}safeMode(){return s(this,null,function*(){(yield this.loader.ready).safeMode()})}debugMode(){return s(this,null,function*(){(yield this.loader.ready).debugMode()})}lineNumbersBlock(e,i){return s(this,null,function*(){let n=yield this.loader.ready;n.lineNumbersBlock&&n.lineNumbersBlock(e,i)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var $=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=O({type:t})}static{this.\u0275inj=I({})}}return t})();export{H as a,Z as b,$ as c};

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.