PageSourceSearch

https://www.citizensvoice.com/wp-content/plugins/loader-wp/static/loader.min.js?ver=1.6.4

js citizensvoice.com collected 2026-10-02 04:09:08 UTC 34,322 bytes, 9 lines download raw bytes

1/*
2* Version: 1.6.5
3* Build: V.1.6.5-20250117.0
4*/
5
6window.loaderVersion = "1.6.5";
7
8window.loaderBuild = "V.1.6.5-20251209.0";
9(()=>{"use strict";var __webpack_modules__={9:(e,t,s)=>{s.d(t,{K:()=>i});const i={environment:"stage",appInsightsKey:"13f32af2-08e3-4579-8fcf-ff76d2477913",clientCode:"dfm",randomURLChoosing:!1,CONFIG_URL:"[\"https://cdn.q0losid.com/stage/dfm/loader-config.json\",\"https://cdn.wgchrrammzv.com/stage/dfm/loader-config.json\", \"https://cdn.t2037ulzqct5.com/stage/dfm/loader-config.json\", \"https://loader-fd-e3c8gtakhzfgh5g4.z01.azurefd.net/stage/dfm/loader-config.json\"]",PLUGINS_INIT_ORDER:"[\"FP\", \"DL\", \"NXT\"]",isEnableLog:"false",logLevel:"info"}},41:(e,t,s)=>{s.d(t,{A:()=>i});class i{static generateGuid(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+e()+e()+e()+e()+e()+e()}static hexEncode(e){var t,s="";for(t=0;t<e.length;t++)s+=e.charCodeAt(t).toString(16);return s}static hexDecode(e){var t,s="";for(e.length%2>0&&(e="0"+e),t=0;t<e.length;t+=2)s+=String.fromCharCode(parseInt(e.charAt(t)+e.charAt(t+1),16));return s}static parseVariables(e,t){return this.getMatches(e,/{([\w]+)}/g,1).forEach(s=>{if(t.hasOwnProperty(s)){let i=t[s]||"";e=e.replace(new RegExp("{"+s+"}","g"),i)}else e=e.replace(new RegExp("{"+s+"}","g"),"")}),e}static getMatches(e,t,s){s||(s=1);let i,r=[];for(;i=t.exec(e);)r.push(i[s]);return r}static isObject(e){return e&&"object"==typeof e&&!Array.isArray(e)}static mergeDeep(e,...t){if(!t.length)return e;const s=t.shift();if(i.isObject(e)&&i.isObject(s))for(const t in s)i.isObject(s[t])?(e[t]||Object.assign(e,{[t]:{}}),i.mergeDeep(e[t],s[t])):Object.assign(e,{[t]:s[t]});return i.mergeDeep(e,...t)}static mergeExceptUndefined(...e){let t={};return e.forEach(e=>{for(let s in e)void 0!==e[s]&&(t[s]=e[s])}),t}}},142:(e,t,s)=>{s.d(t,{s:()=>n});var i=s(384),r=s(41);class n{constructor(e,t){this.overrides=[],this.plugin=t,this.overrides=e,this.siteCode=i.V.getSiteCode(),this.layoutCode=i.V.getLayoutCode()}findCurrentPlugin(e){if(e&&e.plugins){const t=e.plugins.length;for(let s=0;s<t;s++){const t=e.plugins[s];if(t.name==this.plugin.data.name)return t.initOptions}}return null}getTypeInits(e,t,s){let i={};if(e&&e[t]&&e[t][s]){const n=this.findCurrentPlugin(e[t][s]);n&&r.A.mergeDeep(i,n)}return i}getCustomInits(){let e={};const t=this;return this.overrides.forEach(function(s){const i=t.getTypeInits(s,"siteCodes",t.siteCode),n=t.getTypeInits(s,"customLayouts",t.layoutCode);r.A.mergeDeep(e,i,n)}),e}}},171:(e,t,s)=>{s.d(t,{D:()=>n});var i=s(41),r=s(332);const n=new class{constructor(){this.storageKey="nxt_ldr_rsrc_rls",this.migrationDone=!1,this.supported=void 0,this.cashe={}}getDefaultLoaderData(){return Object.assign({},{cRs:{},bRs:{},xC:null})}get(e){try{if(!this.isSupported()){const t=this.cashe[e];return void 0!==t?JSON.parse(t):t}return JSON.parse(localStorage.getItem(e))}catch(e){r.C.error(e)}}getStoredData(){let e=this.get(this.storageKey);return e=this.migrateOldData(e),e||this.getDefaultLoaderData()}migrateOldData(e){if(!e)return e;let t=Object.assign({},e);try{if(!this.migrationDone){const e=t&&t.cRs||{};for(let s in e){const e=t.cRs[s];"string"==typeof e&&(t.cRs[s]={script:e})}this.set(this.storageKey,t);const s=t&&t.bRs||{};for(let e in s){const s=t.bRs[e];Array.isArray(s)||delete t.bRs[e]}}}catch(e){t=this.getDefaultLoaderData()}finally{return this.migrationDone=!0,this.set(this.storageKey,t),t}}set(e,t){try{const s=JSON.stringify(t);if(!this.isSupported())return void(this.cashe[e]=s);localStorage.setItem(e,s)}catch(e){r.C.error(e)}}storeData(e){return this.set(this.storageKey,e)}getStoredUrl(e,t){const s=this.getStoredData();return s.cRs&&s.cRs[e]&&s.cRs[e][t]?i.A.hexDecode(s.cRs[e][t]):null}checkUpdates(e){let t=this.getStoredData();t.xC!==e&&(t=this.getDefaultLoaderData(),t.xC=e,this.storeData(t))}deleteCurrentResource(e,t){const s=this.getStoredData();s.cRs&&s.cRs[e]&&s.cRs[e][t]&&(delete s.cRs[e][t],this.storeData(s))}isAlreadyBlockedUrl(e,t){const s=this.getStoredData();return s.bRs&&s.bRs[e]&&Array.isArray(s.bRs[e])&&-1!=s.bRs[e].indexOf(i.A.hexEncode(t))}saveAsCurrent(e,t,s){const r=this.getStoredData();r.cRs[e]||(r.cRs[e]={}),r.cRs[e][s]=i.A.hexEncode(t),this.storeData(r)}saveAsBlocked(e,t){const s=this.getStoredData(),n=i.A.hexEncode(t);s.bRs[e]||(s.bRs[e]=[]),-1!=s.bRs[e].indexOf(n)?r.C.default("Already save as blocked"):s.bRs[e].push(n),this.storeData(s)}removeFromBlocked(e,t){const s=this.getStoredData(),r=i.A.hexEncode(t);s.bRs[e]&&s.bRs[e][r]&&(s.bRs[e]=s.bRs[e].filter(function(e,t,s){return e!=r}),this.storeData(s))}isSupported(){let e=this.supported;if("boolean"==typeof e)return e;try{if(void 0===window.localStorage)e=!1;else{const t="StorageAvialable";window.localStorage.setItem(t,"true"),"true"===window.localStorage.getItem(t)?(window.localStorage.removeItem(t),e=!0):e=!1}}catch(t){e=!1}finally{return this.supported=e,e}}}},254:(e,t,s)=>{s.d(t,{c:()=>r});var i=s(332);
9class r{constructor(e,t,s=!1){this.isLoaded=!0,this.isMainScript=!1,this.isAdblocked=!1,this.path=e,this.type=t.type,this.isDefault=s}setFail(e){i.C.default([e.status]),this.isLoaded=!1,this.reason=e.status,this.isAdblocked=e.isAdBlock||!1}setResourceAsMainScript(){this.isMainScript=!0}setSuccess(){this.isLoaded=!0}}},332:(e,t,s)=>{var i;s.d(t,{C:()=>u}),function(e){e.Info="info",e.Default="default",e.Debug="debug",e.Warning="warning",e.Error="error"}(i||(i={}));var r=s(41),n=s(9),o=s(346);let a=[];a[i.Info]={methodName:"info",levelPermit:0},a[i.Default]={methodName:"debug",levelPermit:1},a[i.Debug]={methodName:"debug",levelPermit:2},a[i.Warning]={methodName:"warn",levelPermit:3},a[i.Error]={methodName:"error",levelPermit:4};const l=a;var d=s(913),c=s(334),h=s(171);const u=new class{constructor(){this.defaultOptions={isEnable:!1,level:i.Default},this.logHistory=[],this.options=Object.assign({},this.defaultOptions),this.setOptions({isEnable:"true"===n.K.isEnableLog.toLowerCase(),level:this.getLogLevelByString(n.K.logLevel.toLowerCase())},!1),this.setOptionsFromLocalStorage()}info(e,t,s=c.m.Console){this.log(e,t,s,i.Info)}default(e,t,s=c.m.Console){this.log(e,t,s,i.Default)}debug(e,t,s=c.m.Console){this.log(e,t,s,i.Debug)}warning(e,t,s=c.m.Console){this.log(e,t,s,i.Warning)}error(e,t,s=c.m.Console){this.log(e,t,s,i.Error)}setOptions(e,t=!0){this.options=r.A.mergeExceptUndefined(this.options,e),t&&this.setOptionsToLocalStorage(this.options)}log(e,t,s,i){if(this.checkLevelPermit(i))switch(s){case c.m.Console:this.message(e,i);break;case c.m.AppInsight:t?this.trackEvent(t,e):this.warning("eventName is undefined");break;case c.m.Full:this.message(e,i),t?this.trackEvent(t,e):this.warning("eventName is undefined")}}message(e,t){if(!this.options.isEnable)return;e=Array.isArray(e)?e:[e];const s=`>>>> Loader | ${t.toUpperCase()} <<<< |`;this.logHistory.push(`${s} ${e}`),window.console[this.getConsoleMethodName(t)](s,...e)}trackEvent(e,t){o.a.trackEvent(e,t)}checkLevelPermit(e){return this.getLevelPermit(e)>=this.getLevelPermit(this.options.level)}getLevelPermit(e){return l[e].levelPermit}getConsoleMethodName(e){return l[e].methodName}getLogLevelByString(e){for(let t in i)if(i[t]==e)return i[t];return this.options.level}setOptionsFromLocalStorage(e=!0){let t=this.getOptionsFromLocalStorage();t?this.setOptions(t,e):e&&this.setOptionsToLocalStorage(this.options)}setOptionsToLocalStorage(e){h.D.set(d.H.StorageKeys.LogOptions,e)}getOptionsFromLocalStorage(){let e;try{e=h.D.get(d.H.StorageKeys.LogOptions)}catch(e){return}return e}}},334:(e,t,s)=>{var i;s.d(t,{m:()=>i}),function(e){e.Console="console",e.AppInsight="appinsight",e.Full="full"}(i||(i={}))},346:(e,t,s)=>{s.d(t,{a:()=>i});const i=new class{constructor(){this.appInsightsKey="13f32af2-08e3-4579-8fcf-ff76d2477913",this.APP_INSIGHTS=null}init(e){if(e||this.appInsightsKey)try{this.APP_INSIGHTS=function(e){function t(e){r[e]=function(){var t=arguments;r.queue=r.queue||[],r.queue.push(function(){r[e].apply(r,t)})}}var s,i,r={config:e},n=document,o=window,a="script",l="AuthenticatedUserContext",d="start",c="stop",h="Track",u=h+"Event",p=h+"Page",g=n.createElement(a);g.src=e.url||"https://az416426.vo.msecnd.net/scripts/a/ai.0.js",n.getElementsByTagName(a)[0].parentNode.appendChild(g);try{r.cookie=n.cookie}catch(e){}for(r.queue=[],r.version="1.0",s=["Event","Exception","Metric","PageView","Trace","Dependency"];s.length;)t("track"+s.pop());return t("set"+l),t("clear"+l),t(d+u),t(c+u),t(d+p),t(c+p),t("flush"),e.disableExceptionTracking||(t("_"+(s="onerror")),i=o[s],o[s]=function(e,t,n,o,a){var l=i&&i(e,t,n,o,a);return!0!==l&&r["_"+s](e,t,n,o,a),l}),r}({instrumentationKey:e||this.appInsightsKey,disableExceptionTracking:!0,disableAjaxTracking:!0,maxAjaxCallsPerView:0}),window.appInsights=this.APP_INSIGHTS}catch(e){this.APP_INSIGHTS=null}else this.APP_INSIGHTS=null}isInit(){return!!this.APP_INSIGHTS}trackEvent(e,t){this.APP_INSIGHTS&&this.APP_INSIGHTS.trackEvent(e,t)}}},384:(e,t,s)=>{s.d(t,{V:()=>h});var i=s(913),r=s(346);class n{constructor(e){this.type="script",this.crossOrigin="anonymous",this.async=!0,this.xCode="",e&&(this.t
9ype=e.type||this.type,this.defaultURL=e.defaultURL,this.version=e.version,this.predefinedURLs=e.predefinedURLs,this.crossOrigin=e.crossOrigin||this.crossOrigin,this.cache=e.cache||this.cache,this.async=e.async||this.async,this.xCode=e.xCode||this.xCode,this.isMain=e.isMain||!1)}}class o{constructor(e){if(this.name="",this.initMethodName="",this.isInitMethodPromise=!1,this.initOrder=0,this.predefinedInitSettings=null,this.flyCalculatedInitSettings=null,this.resources=[],!e)return;this.name=e.name||this.name,this.initMethodName=e.initMethodName||this.initMethodName,this.globalObjectName=e.globalObjectName,this.isInitMethodPromise=e.isInitMethodPromise||this.isInitMethodPromise,this.predefinedInitSettings=e.predefinedInitSettings||this.predefinedInitSettings,this.flyCalculatedInitSettings=e.flyCalculatedInitSettings||this.flyCalculatedInitSettings,this.initOptions=e.initOptions||this.initOptions,this.initOrder=e.initOrder||this.initOrder;const t=e.resources.length;for(let s=0;s<t;s++)this.resources.push(new n(e.resources[s]))}}var a=s(9);class l{constructor(e,t){if(this.blockAttempts=2,this.loadAttempts=2,this.environment="prod",this.resources=[],this.loadPlugins=[],this.excludedLoadingURLMasks=[],this.overrides=[],this.xCode="",!e)return;this.appInsightsKey=e.appInsightsKey||a.K.appInsightsKey,this.blockAttempts=e.blockAttempts||this.blockAttempts,this.loadAttempts=e.loadAttempts||this.loadAttempts,this.randomURLChoosing=e.randomURLChoosing||a.K.randomURLChoosing||!1,this.excludedLoadingURLMasks=e.excludedLoadingURLMasks||this.excludedLoadingURLMasks,this.initCondition=e.initCondition,this.clientCode=e.clientCode||a.K.clientCode,this.siteCode=e.siteCode||this.getPropertyValueFromClientInits(t,"siteCode"),this.layoutCode=e.layoutCode||this.getPropertyValueFromClientInits(t,"layoutCode")||this.siteCode,this.environment=e.environment||a.K.environment||this.environment;const s=e.resources.length;this.xCode=e.xCode||this.xCode;for(let t=0;t<s;t++)this.resources.push(new n(e.resources[t]));const i=e.loadPlugins.length;for(let t=0;t<i;t++){let s=new o(e.loadPlugins[t]);s.resources=this.setXCodeToPredefinedURLs(s.resources,s.name.toLowerCase()),this.loadPlugins.push(s)}this.overrides=e.overrides;try{this.pluginsInitOrder=e.pluginsInitOrder||JSON.parse(a.K.PLUGINS_INIT_ORDER)}catch(e){this.pluginsInitOrder=[]}}setXCodeToPredefinedURLs(e,t){return e&&e.forEach(e=>{if(this.xCode||e.xCode){let t=this.xCode&&e.xCode?"_":"";e.predefinedURLs=e.predefinedURLs.map(s=>s+"?xcode="+encodeURI(this.xCode+t+e.xCode))}}),e}getPropertyValueFromClientInits(e,t){if(!e)return null;for(var s=e.length,i=0;i<s;i++){var r=e[i].initOptions;if(r&&r.hasOwnProperty(t))return r[t]}return null}}var d=s(332),c=s(334);const h=new class{getDataFromJSON(e,t){this.loader=e;var s=t||JSON.parse(a.K.CONFIG_URL);return Array.isArray(s)||(s=[s]),this.getDataFromJSONAjax(s,0)}getDataFromJSONAjax(e,t){return e.length==t?(r.a.isInit()&&d.C.warning({configUrl:e},i.H.EVENTS.ConfigFileNotFound,c.m.AppInsight),Promise.resolve({})):fetch(e[t],{method:"GET",mode:"cors",cache:"no-cache"}).then(e=>e.json()).then(e=>(this.options=new l(e,this.loader.initOptions.plugins),this.options),s=>this.getDataFromJSONAjax(e,++t))}getPlugins(){return this.options.loadPlugins}getResources(){return this.options.resources}mergeClientInits(e){e.plugins.forEach(e=>{const t=this.options.loadPlugins;if(t&&t.length>0){const s=t.length;for(let i=0;i<s;i++)if(e.name==t[i].name){this.options.loadPlugins[i].initOptions=e.initOptions;break}}})}mergeFlyCalculatedInitSettings(){this.options.loadPlugins.forEach(e=>{})}excludePluginsByRules(e){this.applyRules(e)||(this.options.loadPlugins=[])}applyRules(e){return e.every(e=>!this[e]())}getExcludingRules(){return[this.isNotFoundPage,this.inIframe,this.isLoadedByBot]}isNotFoundPage(){const e=document.querySelector("head > title");if(!e)return!1;const t=e.innerHTML;return/page not found|404/i.test(t)}inIframe(){try{return window.self!==window.top}catch(e){return!0}}isLoadedByBot(){return/bot|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|sogou|exabot|facebook|ia_archiver/i.test(window.navigator.userAgent)}isMatchesUrlMask(){let e=!1;if(this.options.excludedLoadingURLMasks&&this.options.excludedLoadingURLMasks.length>0){const t=window.location.href;e=this.options.excludedLoadingURLMasks.every(function(e){var s=this.regExpLike(e);return null===new RegExp(s).exec(t)})}return e}regExpLike(e){var t=this.regExpEscape(e).replace(/\*/g,".*").replace(/_/g,".");return new RegExp("^"+t+"$")}regExpEscape(e){if(!arguments.callee.sRE){arguments.callee.sRE=new RegExp("(\\"+["/","\\",".","+","?","|","(",")","[","]","{","}"].join("|\\")+")","g")}return e.replace(arguments.callee.sRE,"\\$1")}isRandomURLChoosing(){return this.options.randomURLChoosing}getEnvironment(){return this.options.environment}getUrlParsedProperties(){return this.options?{environment:this.options.environment,clientCode:this.options.clientCode}:{}}checkInitCondition(){return!this.options.initCondition||"boolean"!=typeof this.options.initCondition()||this.options.initCondition()}getLoadAttempts(){return this.options.loadAttempts}getBlockAttempts(){return this.options.blockAttempts}getOverrides(){return this.options.overrides}getSiteCode(){return this.options.siteCode}getLayoutCode(){return this.options.layoutCode}getPlaginsInitOrder(){return this.options.pluginsInitOrder}}},409:(e,t,s)=>{s.d(t,{x:()=>C});var i=s(913),r=s(384),n=s(429),o=s(171),a=s(254),l=s(41),d=s(332),c=s(334);class h extends n.F{constructor(e,t){super(e,t),this.resourceURLs=[],this.currentIndex=0,this.resourceURLs=this.getAvailableUrls(),this.loadAttempts=this.resourceURLs.length,this.blockAttempts=r.V.getBlockAttempts();r.V.getUrlParsedProperties().version=this.resourceModel.version,this.resourceURLs=this.resourceURLs.map(e=>l.A.parseVariables(e,r.V.getUrlParsedProperties())),this.validateUniqueURLs()}getUrl(){const e=o.D.getStoredUrl(this.plugin.data.name,this.resourceModel.type);if(0==this.usedLoadAttempts&&e&&this.isActualUrl(e))return new a.c(e,this.resourceModel);{const e=this.calculateNextUrl();return e||new a.c(this.resourceModel.defaultURL,this.resourceModel,!0)}}calculateNextUrl(){const e=this.getAvailableUrls();return this.isRandomUrlSelect()?this.getRandomUrl(e.length):this.getNextUrl(this.currentIndex)}isRandomUrlSelect(){return r.V.isRandomURLChoosing()}getRandomUrl(e){if(e>0){const t=this.getRandomIndex(0,this.resourceURLs.length-1),s=this.resourceURLs[t];return this.isValidUrl(s)?new a.c(s,this.resourceModel):this.getRandomUrl(e--)}return null}getNextUrl(e){if(e<this.resourceURLs.length){const t=this.resourceURLs[e];return this.isValidUrl(t)?new a.c(t,this.resourceModel):this.getNextUrl(e++)}return null}isValidUrl(e){return!!e&&(o.D.isAlreadyBlockedUrl(this.plugin.data.name,e)||h.isValidURL(e))}getAvailableUrls(){return[]}isActualUrl(e){return-1!==this.resourceURLs.indexOf(e)}getRandomIndex(e,t){return Math.floor(Math.random()*(t-e+1))+e}validateUniqueURLs(){const e=this.resourceURLs.map(function(e){return{count:1,url:e}}).reduce(function(e,t){return e[t.url]=(e[t.url]||0)+t.count,e},{}),t=Object.keys(e).filter(function(t){return e[t]>1});t.length>0&&d.C.warning({plugin:this.plugin.data.name,duplicates:t.toString()},i.H.EVENTS.OptionsHaveDuplicateURLs,c.m.AppInsight)}static isValidURL(e){return new RegExp(/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/).test(e)}}class u extends h{constructor(e,t){super(e,t),this.totalAttempts=this.loadAttempts*this.blockAttempts}getAvailableUrls(){return this.resourceModel.predefinedURLs}loadNextResource(e){return this.usedLoadAttempts++,this.usedLoadAttempts<this.totalAttempts?(this.currentIndex=this.resourceURLs.indexOf(e.path.split("?")[0])+1,this.currentIndex>=this.resourceURLs.length&&(this.currentIndex=0),this.load()):(e.setFail({status:"try to load predefined url but usedLoadAttempts > loadAttempts or usedBlockAttempts > blockAttempts"}),Promise.resolve(e))}}const p="0123456789ABCDEFGHIJKLMNOPQabcdefghijklmnopqrstuvwxyz",g=[function(e){return btoa(e).replace(/[^a-z0-9]/gi,"")},function(e){for(var t,s,i,r="",n=0;n<e.length;n++)t=e.substring(n,n+1),s=p.indexOf(t),r+=p.substring(i=1^s,i+1);return r},function(e){for(var t=0,s=0,i=0,r="Secret key",n="",o=0;o<10;o++)t+=r.charCodeAt(o);var a=t;for(o=0;o<e.length;o++){10==i&&(i=0),a<1&&(a=t+s);var l=a%r.charCodeAt(i),d=e.charCodeAt(o)+l;s+=a%r.charCodeAt(i),a-=r.charCodeAt(i),i++,n+=parseInt(""+d/52)+p.charAt(parseInt(""+d%52))}return n},function(e){return e[0]+e[e.length-1]+e.length+e[e.length-1]+e[0]+"rr"+e.length+"j"},function(e){var t="";if(e.split("").forEach(function(e){t+=String.fromCharCode(e.charCodeAt()+2)+e+String.fromCharCode(e.charCodeAt()-2)}),(t=t.replace(/[^a-z0-9]/gi,"")).length<8)for(var s=t.length;s<8;s++)t+=String.fromCharCode(96+2*s);return t}];const _=new class{generate(e){return g.forEach(function(t){var s="https://cdn."+t(e)+".com/";this.xCodeCDNs.push(s)}.bind(this)),[]}};class m extends h{constructor(e,t){super(e,t)}getAvailableUrls(){return _.generate(this.resourceModel.xCode)}loadNextResource(e){return this.usedLoadAttempts<=this.loadAttempts?this.load():(e.setFail({status:"try to load dynamic url but usedLoadAttempts > loadAttempts"}),Promise.resolve(e))}}class f extends n.F{constructor(e,t){super(e,t)}getUrl(){return new a.c(this.resourceModel.defaultURL,this.resourceModel,!0)}loadNextResource(e){return e.setFail({status:"The second try to load default url"}),Promise.resolve(e)}}class C{constructor(e,t){this.plugin=e,this.data=t,this.mode=this.getMode()}create(){switch(this.mode){case i.H.MODES.predefined:return new u(this.plugin,this.data);case i.H.MODES.dynamic:return new m(this.plugin,this.data);default:return new f(this.plugin,this.data)}}getMode(){return this.data.predefinedURLs&&Array.isArray(this.data.predefinedURLs)&&this.data.predefinedURLs.length>0?i.H.MODES.predefined:!this.data.predefinedURLs&&this.data.xCode?i.H.MODES.dynamic:i.H.MODES.default}}},429:(e,t,s)=>{s.d(t,{F:()=>c});var i=s(254),r=s(913),n=s(171),o=s(41),a=s(384);const l=new class{constructor(){this.defaults={testNodeClasses:"pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links",testNodeStyle:"height: 10px !important; font-size: 20px; color: transparent; position: absolute; bottom: 0; left: -10000px;",testInterval:51,testRuns:4}}detect(){return new Promise((e,t)=>
9{this.options=this.merge(this.defaults,this.options||{});const s=this.createNode(this.options.testNodeClasses,this.options.testNodeStyle);let i=0,r=!1;const n=setInterval(()=>{i++,r=this.isNodeBlocked(s),(r||i===this.options.testRuns)&&(clearInterval(n),s.parentNode&&s.parentNode.removeChild(s)),e(r)},this.options.testInterval)})}createNode(e,t){var s=window.document,i=s.createElement("div");return i.innerHTML="&nbsp;",i.setAttribute("class",e),i.setAttribute("style",t),s.body.appendChild(i),i}isNodeBlocked(e){return 0===e.offsetHeight||!document.body.contains(e)||"none"===e.style.display||"hidden"===e.style.visibility}merge(e,t){var s={};for(var i in e)s[i]=e[i],t.hasOwnProperty(i)&&(s[i]=t[i]);return s}};var d=s(332);class c{constructor(e,t,s,i){this.loadAttempts=1,this.blockAttempts=1,this.usedLoadAttempts=0,this.usedBlockAttempts=0,this.callbackMode=!1,this.resourceModel=t,this.plugin=e,this.resourceModel.defaultURL=o.A.parseVariables(this.resourceModel.defaultURL,a.V.getUrlParsedProperties()),this.onResolve=s,this.onReject=i,this.callbackMode=!(!s&&!i)}getUrl(){const e=!!this.resourceModel.defaultURL||0===this.resourceModel.predefinedURLs.length;return new i.c(this.getCurrentUrl(),this.resourceModel,e)}getCurrentUrl(){return this.resourceModel.defaultURL||this.resourceModel.predefinedURLs[this.usedLoadAttempts]}load(){const e=this.getFullUrl();return this.loadResourcePromise(e).then(()=>(this.successLoad(e),e.setSuccess(),Promise.resolve(e))).catch(t=>(d.C.warning(["Resource is not load",t]),this.errorLoad(e)))}loadCallback(){const e=this.getFullUrl();this.loadResourceCallback(e)}getFullUrl(){const e=this.getUrl();if(this.resourceModel.cache)e.path=this.setCacheByVersion(e.path);else{const t=new Date;e.path=e.path+"?"+t.getFullYear()+t.getMonth()+t.getDate()}return e}setCacheByVersion(e){return this.resourceModel.version?e+"?"+this.resourceModel.version:e}successLoad(e){e.isDefault||n.D.saveAsCurrent(this.plugin.data.name,e.path,e.type)}errorLoad(e){return n.D.deleteCurrentResource(this.plugin.data.name,e.type),n.D.saveAsBlocked(this.plugin.data.name,e.path),this.getResourceStatus(e.path).then(t=>(e.setFail(t),e.isDefault?Promise.resolve(e):this.loadNextResource(e)))}loadNextResource(e){return this.usedLoadAttempts++,this.load()}loadResourcePromise(e){switch(this.resourceModel.type){case r.H.TYPES.script:return this.loadScriptHandler(e);case r.H.TYPES.style:return this.loadStyleHandler(e);default:d.C.warning(["Unknown resource type. we used only script and type "])}}loadResourceCallback(e){switch(this.resourceModel.type){case r.H.TYPES.script:return this.loadScript(e,this.onResolve,this.onReject);case r.H.TYPES.style:return this.loadStyle(e,this.onResolve,this.onReject);default:d.C.warning(["Unknown resource type. we used only script and type "])}}getResourceStatus(e){return l.detect().then(t=>fetch(e,{method:"HEAD",mode:"no-cors"}).then(e=>Promise.resolve({status:e.status,isAdBlock:t})).catch(e=>Promise.resolve({status:e.message,isAdBlock:t})))}loadScriptHandler(e){return this.resourceModel.isMain&&e.setResourceAsMainScript(),new Promise((t,s)=>{this.loadScript(e,t,s)})}loadScript(e,t,s){const i=document.createElement("script");i.src=e.path,i.async=this.resourceModel.async,i.setAttribute("crossorigin",this.resourceModel.crossOrigin),document.getElementsByTagName("head")[0].appendChild(i),i.onload=function(){d.C.default(["onload",e.path]),t()},i.onerror=function(){d.C.warning(["onerror",e.path]),s()}}loadStyleHandler(e){return new Promise((t,s)=>{this.loadStyle(e,t,s)})}loadStyle(e,t,s){const i=document.createElement("link");i.href=e.path,i.type="text/css",i.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(i),i.onload=function(){t()},i.onerror=function(){s()}}}},913:(e,t,s)=>{s.d(t,{H:()=>i});class i{}i.ENVIRONMENTS={localhost:"localhost",dev:"dev",test:"test",test20:"test20",demo:"demo",stage:"stage",preprod:"preprod",prod:"prod"},i.MODES={default:1,dynamic:2,predefined:3},i.ImportantPostfix="_important",i.EVENTS={ResourceValidationError:"ResourceValidationError",ResourceWasNotLoaded:"ResourceWasNotLoaded",OptionsHaveDuplicateURLs:"OptionsHaveDuplicateURLs",ConfigFileNotFound:"ConfigFileNotFound",JsValidationError:"JsValidationError",PluginNotLoaded:"PluginNotLoaded"},i.TYPES={script:"script",style:"style"},i.StorageKeys={LogOptions:"__logOptions__"}},960:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{k:()=>Plugin});var _ResourceFactory__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(409),_Constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(913),_Configuration__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(384),_PluginInitOverride__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(142),_LoaderStorage__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(171),_Utils__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(41),_services_logService_LogService__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(332),_services_logService_constants_ELogType__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(334);class Plugin{constructor(e,t){this.initOptions={},this.data=e,this.loader=t,this.setScriptMain()}load(){return this.loadResources().then(e=>{this.trackResourceStatuses(e);return e.every(e=>e.isLoaded)?(this.mainScript=e.find(e=>e.isMainScript),Promise.resolve(this)):Promise.resolve(null)})}trackResourceStatuses(e){e&&e.length>
90&&e.forEach(e=>{e.isLoaded?_services_logService_LogService__WEBPACK_IMPORTED_MODULE_6__.C.default([this.data.name,"loaded by path -",e.path]):(_services_logService_LogService__WEBPACK_IMPORTED_MODULE_6__.C.warning([this.data.name," was not loaded by path -",e.path,"reason",e.reason]),_services_logService_LogService__WEBPACK_IMPORTED_MODULE_6__.C.warning({plugin:this.data.name,path:e.path,reason:e.reason,adBlock:e.isAdblocked},_Constants__WEBPACK_IMPORTED_MODULE_1__.H.EVENTS.ResourceWasNotLoaded,_services_logService_constants_ELogType__WEBPACK_IMPORTED_MODULE_7__.m.AppInsight))})}setScriptMain(){const e=this.data.resources.filter(e=>e.type==_Constants__WEBPACK_IMPORTED_MODULE_1__.H.TYPES.script&&e.isMain);if(!(e&&e.length>0)){let e=0;this.data.resources.find((t,s)=>(e=s,t.type==_Constants__WEBPACK_IMPORTED_MODULE_1__.H.TYPES.script)),this.data.resources[e].isMain=!0}}loadResources(){const e=this.data.name+"_CNAME";if(this.loader.initOptions[e]){const t=`https://${this.loader.initOptions[e]}/${this.loader.initOptions.environment}/${this.loader.initOptions.version}`,s=this.data.resources.find(e=>"script"===e.type),i=this.data.resources.find(e=>"style"===e.type);let r="",n="";"FP"===this.data.name?r=`${t}/fp.min.js`:"NXT"===this.data.name?(r=`${t}/t8y9347t.min.js`,n=`${t}/t8y9347t.min.css`):"DL"===this.data.name?r=`${t}/g2i.min.js`:"DLNew"===this.data.name&&(r=`${t}/g3i.min.js`),s&&s.predefinedURLs.unshift(r),i&&i.predefinedURLs.unshift(n)}const t=this.data.resources;let s=[];return t.forEach(e=>{const t=new _ResourceFactory__WEBPACK_IMPORTED_MODULE_0__.x(this,e).create();s.push(t.load())}),Promise.all(s)}init(){if(!this.data.globalObjectName||!this.data.initMethodName)return Promise.reject("Plugin is not has init methods");this.mergeInitOptions(),this.initCustomOptions(),this.mergeClientOptions(),this.mergePredefinedInitSettings(),this.overrideInits();try{let e;const t=window[this.data.globalObjectName];return e="function"==typeof t?t()[this.data.initMethodName]:window[this.data.globalObjectName][this.data.initMethodName],this.data.isInitMethodPromise?e(this.initOptions):(e(this.initOptions),Promise.resolve(!0))}catch(e){return Promise.reject(e)}}overrideInits(){const e=_Configuration__WEBPACK_IMPORTED_MODULE_2__.V.getOverrides();if(e&&e.length>0){const t=new _PluginInitOverride__WEBPACK_IMPORTED_MODULE_3__.s(e,this).getCustomInits();_Utils__WEBPACK_IMPORTED_MODULE_5__.A.mergeDeep(this.initOptions,t)}}mergeClientOptions(){const e=this.loader.initOptions.plugins.find(e=>e.name.toLowerCase()===this.data.name.toLowerCase());e?(this.initOptions=Object.assign(this.initOptions,e.initOptions),this.initOptions.siteCode=this.initOptions.siteCode||_Configuration__WEBPACK_IMPORTED_MODULE_2__.V.getSiteCode(),this.initOptions.layoutCode=this.initOptions.layoutCode||_Configuration__WEBPACK_IMPORTED_MODULE_2__.V.getLayoutCode()):_services_logService_LogService__WEBPACK_IMPORTED_MODULE_6__.C.warning([this.data.name,"client options is not set"])}initCustomOptions(){this.initEnvironment(),this.initSessionId(),this.initResourceUrl()}initResourceUrl(){let e=document.createElement("a");e.href=this.mainScript.path,this.initOptions.resourceUrl=e.protocol+"//"+e.hostname}mergeInitOptions(){this.mergeFromFlyInitSettings();const e=_LoaderStorage__WEBPACK_IMPORTED_MODULE_4__.D.get(this.data.name+"_settings");if(e)try{this.mergeInitPropWithLocalStorage(this.initOptions,e)}catch(e){_services_logService_LogService__WEBPACK_IMPORTED_MODULE_6__.C.warning(["error of overriding settings",e])}}mergePredefinedInitSettings(){null!==this.data.predefinedInitSettings&&"object"==typeof this.data.predefinedInitSettings&&this.mergeInitPropWithConfig(this.data.predefinedInitSettings,this.initOptions)}mergeFromFlyInitSettings(){if(this.data.flyCalculatedInitSettings&&"object"==typeof this.data.flyCalculatedInitSettings)try{for(let property in this.data.flyCalculatedInitSettings){let calculateProperty=this.data.flyCalculatedInitSettings[property];if("function"==typeof calculateProperty&&(this.initOptions[property]=calculateProperty.call()),"string"==typeof calculateProperty){let sFunction=eval("("+calculateProperty+")");this.initOptions[property]=sFunction.call()}}}catch(e){_services_logService_LogService__WEBPACK_IMPORTED_MODULE_6__.C.warning(["flyCalculatedInitSettings calculate has errors",e])}}mergeInitPropWithLocalStorage(e,t){if(t)for(var s in t)e[s]=t[s]}mergeInitPropWithConfig(e,t){for(let s in e){let i=s,r=!1;s.endsWith(_Constants__WEBPACK_IMPORTED_MODULE_1__.H.ImportantPostfix)&&(r=!0,i=s.replace(_Constants__WEBPACK_IMPORTED_MODULE_1__.H.ImportantPostfix,"")),void 0===t[i]||r?t[i]=e[s]:"object"==typeof e[s]&&"object"==typeof t[i]&&this.mergeInitPropWithConfig(e[s],t[i])}}initEnvironment(){this.initOptions.environment||(this.initOptions.environment=_Configuration__WEBPACK_IMPORTED_MODULE_2__.V.getEnvironment())}initSessionId(){this.initOptions.sessionId=this.loader.sessionId}processLoadInitCode(){let initCode;if(this.data.loadInitCode&&("function"==typeof this.data.loadInitCode&&(initCode=this.data.loadInitCode.call()),"string"==typeof this.data.loadInitCode)){let sFunction=eval("("+this.data.loadInitCode+")");initCode=sFunction.call()}initCode?this.data.loadCodeInitSettings&&this.data.loadCodeInitSettings[initCode]?this.initOptions=Object.assign(this.initOptions,this.data.loadCodeInitSettings[initCode]):_services_logService_LogService__WEBPACK_IMPORTED_MODULE_6__.C.warning(["There is no calculate init settings for code",initCode]):_services_logService_LogService__WEBPACK_IMPORTED_MODULE_6__.C.warning(["there is no calculate init code",this.data.loadInitCode])}}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var s=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](s,s.exports,__webpack_require__),s.exports}__webpack_require__.d=(e,t)=>{for(var s in t)__webpack_require__.o(t,s)&&!__webpack_require__.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var __webpack_exports__={},Utils=__webpack_require__(41),AppInsight=__webpack_require__(346),Configuration=__webpack_require__(384),Plugin=__webpack_require__(960),LogService=__webpack_require__(332);class PluginsManagerClass{constructor(){this.pendingPlugins=[]}loadAndInitPlugins(e){this.loader=e;const t=this.sortPluginsByOrder(Configuration.V.getPlugins()),s=this.loader.initOptions.plugins.map(e=>e.name);return t.filter(e=>
9-1!==s.indexOf(e.name)).forEach(e=>{const t=new Plugin.k(e,this.loader);this.pendingPlugins.push(t.load())}),Promise.all(this.pendingPlugins).then(e=>this.initializeSequentially(e.filter(e=>e))).catch(e=>(LogService.C.warning(["Some from plugins is not loaded",e]),Promise.resolve()))}initializeSequentially(e){const t=e[0],s=t.init();return e.shift(),s.then(()=>(LogService.C.default(["Plugin "+t.data.name,"is initialized"]),this.initNextPlugin(e))).catch(s=>(LogService.C.warning(["Plugin "+t.data.name,"is NOT initialized. ",s]),this.initNextPlugin(e)))}initNextPlugin(e){return new Promise((t,s)=>{0!=e.length?this.initializeSequentially(e).then(()=>{t(!0)}).catch(e=>{s(e)}):t(null)})}sortPluginsByOrder(e){var t=Configuration.V.getPlaginsInitOrder(),s=[];return t.forEach(t=>{var i=e.find(function(e){return e.name==t});i&&s.push(i)}),e.forEach(e=>{t.some(t=>e.name==t)||s.push(e)}),s}}const PluginsManager=new PluginsManagerClass;var Resource=__webpack_require__(429);class ResourcesManagerClass{constructor(){this.pendingResources=[]}loadDefaultResources(e,t=!1){return e()}loadConfigurationResources(e,t=!1){const s=Configuration.V.getResources();return this._loadResources(s,e,t)}_loadResources(e,t,s=!1){let i=0;const r=(r,n)=>()=>{void 0===this.pendingResources[n]&&(this.pendingResources[n]=r,(++i===e.length||s&&!r)&&t(this.pendingResources))};e.forEach((e,t)=>{new Resource.F(null,e,r(!0,t),r(!1,t)).loadCallback()})}}const ResourcesManager=new ResourcesManagerClass;class Loader{constructor(){this.sessionId=Utils.A.generateGuid(),this.initOptions={}}init(e){const t=Date.now();if(!e||!e.plugins||!e.plugins.length)throw{name:"nxtError",message:"Plugins are required for loader. Please, specify at least one plugin for downloading. "};ResourcesManager.loadDefaultResources(()=>(this.initOptions=e,this.listenIsNeedReCalculateSessionId(),e.appInsightsKey&&AppInsight.a.init(e.appInsightsKey),Configuration.V.getDataFromJSON(this,e.CONFIG_URL).then(s=>{if(!Configuration.V.checkInitCondition())return LogService.C.warning("initCondition failed !!!!"),!1;AppInsight.a.isInit()||AppInsight.a.init(s.appInsightsKey);const i=["isNotFoundPage","isLoadedByBot","isMatchesUrlMask"];return e.allowIframe||i.push("inIframe"),Configuration.V.excludePluginsByRules(i),PluginsManager.loadAndInitPlugins(this).then(e=>{const s=Date.now()-t;return LogService.C.default(["Init time ",s," ms"]),Promise.resolve(e)})})))}GetVersionInfo(){return"Version: 1.6.5, Build: V.1.6.5-20251029.4"}SetLoggerOptions(e=!1,t){LogService.C.setOptions({isEnable:e,level:t})}reCalculateSessionId(){var e=new CustomEvent("Loader:Recalculate:SessionId",{detail:Utils.A.generateGuid()});window.dispatchEvent(e)}listenIsNeedReCalculateSessionId(){window.addEventListener("Loader:NeedRecalculate:SessionId",e=>{this.reCalculateSessionId()})}}window.MG2Loader=new Loader})();

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.