PageSourceSearch

https://www.kaufland.com/etc.clientlibs/kaufland/clientlibs/client…/frontend/js/vendors~app-9ac70a667f.min.js

js kaufland.com collected 2026-09-24 08:48:21 UTC 22,287 bytes, 1 lines download raw bytes

vendor: 13,316 bytes, line 1
1"use strict";(self.webpackChunknitro=self.webpackChunknitro||[]).push([[3481],{76656:(t,e,n)=>{n.d(e,{Z:()=>Z});n(70560);function s(t){return Array.isArray?Array.isArray(t):"[object Array]"===l(t)}function r(t){return"string"==typeof t}function i(t){return"number"==typeof t}function c(t){return!0===t||!1===t||function(t){return o(t)&&null!==t}(t)&&"[object Boolean]"==l(t)}function o(t){return"object"==typeof t}function a(t){return null!=t}function h(t){return!t.trim().length}function l(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const u=Object.prototype.hasOwnProperty;class d{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach((t=>{let n=g(t);e+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,e+=n.weight})),this._keys.forEach((t=>{t.weight/=e}))}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function g(t){let e=null,n=null,i=null,c=1;if(r(t)||s(t))i=t,e=f(t),n=p(t);else{if(!u.call(t,"name"))throw new Error((t=>`Missing ${t} property in key`)("name"));const s=t.name;if(i=s,u.call(t,"weight")&&(c=t.weight,c<=0))throw new Error((t=>`Property 'weight' in key '${t}' must be a positive integer`)(s));e=f(s),n=p(s)}return{path:e,id:n,weight:c,src:i}}function f(t){return s(t)?t:t.split(".")}function p(t){return s(t)?t.join("."):t}var m={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(t,e){let n=[],o=!1;const h=(t,e,l)=>{if(a(t))if(e[l]){const u=t[e[l]];if(!a(u))return;if(l===e.length-1&&(r(u)||i(u)||c(u)))n.push(function(t){return null==t?"":function(t){if("string"==typeof t)return t;let e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)}(u));else if(s(u)){o=!0;for(let t=0,n=u.length;t<n;t+=1)h(u[t],e,l+1)}else e.length&&h(u,e,l+1)}else n.push(t)};return h(t,r(e)?e.split("."):e,0),o?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const y=/[^ ]+/g;class M{constructor({getFn:t=m.getFn,fieldNormWeight:e=m.fieldNormWeight}={}){this.norm=function(t=1,e=3){const n=new Map,s=Math.pow(10,e);return{get(e){const r=e.match(y).length;if(n.has(r))return n.get(r);const i=1/Math.pow(r,.5*t),c=parseFloat(Math.round(i*s)/s);return n.set(r,c),c},clear(){n.clear()}}}(e,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach(((t,e)=>{this._keysMap[t.id]=e}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,r(this.docs[0])?this.docs.forEach(((t,e)=>{this._addString(t,e)})):this.docs.forEach(((t,e)=>{this._addObject(t,e)})),this.norm.clear())}add(t){const e=this.size();r(t)?this._addString(t,e):this._addObject(t,e)}removeAt(t){this.records.splice(t,1);for(let e=t,n=this.size();e<n;e+=1)this.records[e].i-=1}getValueForItemAtKeyId(t,e){return t[this._keysMap[e]]}size(){return this.records.length}_addString(t,e){if(!a(t)||h(t))return;let n={v:t,i:e,n:this.norm.get(t)};this.records.push(n)}_addObject(t,e){let n={i:e,$:{}};this.keys.forEach(((e,i)=>{let c=this.getFn(t,e.path);if(a(c))if(s(c)){let t=[];const e=[{nestedArrIndex:-1,value:c}];for(;e.length;){const{nestedArrIndex:n,value:i}=e.pop();if(a(i))if(r(i)&&!h(i)){let e={v:i,i:n,n:this.norm.get(i)};t.push(e)}else s(i)&&i.forEach(((t,n)=>{e.push({nestedArrIndex:n,value:t})}))}n.$[i]=t}else if(!h(c)){let t={v:c,n:this.norm.get(c)};n.$[i]=t}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function b(t,e,{getFn:n=m.getFn,fieldNormWeight:s=m.fieldNormWeight}={}){const r=new M({getFn:n,fieldNormWeight:s});return r.setKeys(t.map(g)),r.setSources(e),r.create(),r}function x(t,{errors:e=0,currentLocation:n=0,expectedLocation:s=0,distance:r=m.distance,ignoreLocation:i=m.ignoreLocation}={}){const c=e/t.length;if(i)return c;const o=Math.abs(s-n);return r?c+o/r:o?1:c}const k=32;function A(t,e,n,{location:s=m.location,distance:r=m.distance,threshold:i=m.threshold,findAllMatches:c=m.findAllMatches,minMatchCharLength:o=m.minMatchCharLength,includeMatches:a=m.includeMatches,ignoreLocation:h=m.ignoreLocation}={}){if(e.length>k)throw new Error(`Pattern length exceeds max of ${k}.`);const l=e.length,u=t.length,d=Math.max(0,Math.min(s,u));let g=i,f=d;const p=o>1||a,y=p?Array(u):[];let M;for(;(M=t.indexOf(e,f))>-1;){let t=x(e,{currentLocation:M,expectedLocation:d,distance:r,ignoreLocation:h});if(g=Math.min(t,g),f=M+l,p){let t=0;for(;t<l;)y[M+t]=1,t+=1}}f=-1;let b=[],A=1,v=l+u;const w=1<<l-1;for(let s=0;s<l;s+=1){let i=0,o=v;for(;i<o;){x(e,{errors:s,currentLocation:d+o,expectedLocation:d,distance:r,ignoreLocation:h})<=g?i=o:v=o,o=Math.floor((v-i)/2+i)}v=o;let a=Math.max(1,d-o+1),m=c?u:Math.min(d+o,u)+l,M=Array(m+2);M[m+1]=(1<<s)-1;for(let i=m;i>=a;i-=1){let c=i-1,o=n[t.charAt(c)];if(p&&(y[c]=+!!o),M[i]=(M[i+1]<<1|1)&o,s&&(M[i]|=(b[i+1]|b[i])<<1|1|b[i+1]),M[i]&w&&(A=x(e,{errors:s,currentLocation:c,expectedLocation:d,distance:r,ignoreLocation:h}),A<=g)){if(g=A,f=c,f<=d)break;a=Math.max(1,2*d-f)}}if(x(e,{errors:s+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:h})>g)break;b=M}const L={isMatch:f>=0,score:Math.max(.001,A)};if(p){const t=function(t=[],e=m.minMatchCharLength){let n=[],s=-1,r=-1,i=0;for(let c=t.length;i<c;i+=1){let c=t[i];c&&-1===s?s=i:c||-1===s||(r=i-1,r-s+1>=e&&n.push([s,r]),s=-1)}return t[i-1]&&i-s>=e&&n.push([s,i-1]),n}(y,o);t.length?a&&(L.indices=t):L.isMatch=!1}return L}function v(t){let e={};for(let n=0,s=t.length;n<s;n+=1){const r=t.charAt(n);e[r]=(e[r]||0)|1<<s-n-1}return e}class w{constructor(t,{location:e=m.location,threshold:n=m.threshold,distance:s=m.distance,includeMatches:r=m.includeMatches,findAllMatches:i=m.findAllMatches,minMatchCharLength:c=m.minMatchCharLength,isCaseSensitive:o=m.isCaseSensitive,ignoreLocation:a=m.ignoreLocation}={}){if(this.options={location:e,threshold:n,distance:s,includeMatches:r,findAllMatches:i,minMatchCharLength:c,isCaseSensitive:o,ignoreLocation:a},this.pattern=o?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const h=(t,e)=>{this.chunks.push({pattern:t,alphabet:v(t),startIndex:e})},l=this.pattern.length;if(l>k){let t=0;const e=l%k,n=l-e;for(;t<n;)h(this.pattern.substr(t,k),t),t+=k;if(e){const t=l-k;h(this.pattern.substr(t),t)}}else h(this.pattern,0)}searchIn(t){const{isCaseSensitive:e,includeMatches:n}=this.options;if(e||(t=t.toLowerCase()),this.pattern===t){let e={isMatch:!0,score:0};return n&&(e.indices=[[0,t.length-1]]),e}const{location:s,distance:r,threshold:i,findAllMatches:c,minMatchCharLength:o,ignoreLocation:a}=this.options;let h=[],l=0,u=!1;this.chunks.forEach((({pattern:e,alphabet:d,startIndex:g})=>{const{isMatch:f,score:p,indices:m}=A(t,e,d,{location:s+g,distance:r,threshold:i,findAllMatches:c,minMatchCharLength:o,includeMatches:n,ignoreLocation:a});f&&(u=!0),l+=p,f&&m&&(h=[...h,...m])}));let d={isMatch:u,score:u?l/this.chunks.length:1};return u&&n&&(d.indices=h),d}}class L{constructor(t){this.pattern=t}static isMultiMatch(t){return C(t,this.multiRegex)}static isSingleMatch(t){return C(t,this.singleRegex)}search(){}}function C(t,e){const n=t.match(e);return n?n[1]:null}class S extends L{constructor(t,{location:e=m.location,threshold:n=m.threshold,distance:s=m.distance,includeMatches:r=m.includeMatches,findAllMatches:i=m.findAllMatches,minMatchCharLength:c=m.minMatchCharLength,isCaseSensitive:o=m.isCaseSensitive,ignoreLocation:a=m.ignoreLocation}={}){super(t),this._bitapSearch=new w(t,{location:e,threshold:n,distance:s,includeMatches:r,findAllMatches:i,minMatchCharLength:c,isCaseSensitive:o,ignoreLocation:a})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class j extends L{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let e,n=0;const s=[],r=this.pattern.length;for(;(e=t.indexOf(this.pattern,n))>-1;)n=e+r,s.push([e,n-1]);const i=!!s.length;return{isMatch:i,score:i?0:1,indices:s}}}const _=[class extends L{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},j,class extends L{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},class extends L{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},class extends L{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},class extends L{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}},class extends L{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},S],E=_.length,I=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/;const $=new Set([S.type,j.type]);class O{constructor(t,{isCaseSensitive:e=m.isCaseSensitive,includeMatches:n=m.includeMatches,minMatchCharLength:s=m.minMatchCharLength,ignoreLocation:r=m.ignoreLocation,findAllMatches:i=m.findAllMatches,location:c=m.location,threshold:o=m.threshold,distance:a=m.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:n,minMatchCharLength:s,findAllMatches:i,ignoreLocation:r,location:c,threshold:o,distance:a},this.pattern=e?t:t.toLowerCase(),this.query=function(t,e={}){return t.split("|").map((t=>{let n=t.trim().split(I).filter((t=>t&&!!t.trim())),s=[];for(let t=0,r=n.length;t<r;t+=1){const r=n[t];let i=!1,c=-1;for(;!i&&++c<E;){const t=_[c];let n=t.isMultiMatch(r);n&&(s.push(new t(n,e)),i=!0)}if(!i)for(c=-1;++c<E;){const t=_[c];let n=t.isSingleMatch(r);if(n){s.push(new t(n,e));break}}}return s}))}(this.pattern,this.options)}static condition(t,e){return e.useExtendedSearch}searchIn(t){const e=this.query;if(!e)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let r=0,i=[],c=0;for(let s=0,o=e.length;s<o;s+=1){const o=e[s];i.length=0,r=0;for(let e=0,s=o.length;e<s;e+=1){const s=o[e],{isMatch:a,indices:h,score:l}=s.search(t);if(!a){c=0,r=0,i.length=0;break}if(r+=1,c+=l,n){const t=s.constructor.type;$.has(t)?i=[...i,...h]:i.push(h)}}if(r){let t={isMatch:!0,score:c/r};return n&&(t.indices=i),t}}return{isMatch:!1,score:1}}}const N=[];function F(t,e){for(let n=0,s=N.length;n<s;n+=1){let s=N[n];if(s.condition(t,e))return new s(t,e)}return new w(t,e)}const R="$and",B="$or",V="$path",W="$val",P=t=>!(!t[R]&&!t[B]),D=t=>({[R]:Object.keys(t).map((e=>({[e]:t[e]})))});function U(t,e,{auto:n=!0}={}){const i=t=>{let c=Object.keys(t);const a=(t=>!!t[V])(t);if(!a&&c.length>1&&!P(t))return i(D(t));if((t=>!s(t)&&o(t)&&!P(t))(t)){const s=a?t[V]:c[0],i=a?t[W]:t[s];if(!r(i))throw new Error((t=>`Invalid value for key ${t}`)(s));const o={keyId:p(s),pattern:i};return n&&(o.searcher=F(i,e)),o}let h={children:[],operator:c[0]};return c.forEach((e=>{const n=t[e];s(n)&&n.forEach((t=>{h.children.push(i(t))}))})),h};return P(t)||(t=D(t)),i(t)}function q(t,e){const n=t.matches;e.matches=[],a(n)&&n.forEach((t=>{if(!a(t.indices)||!t.indices.length)return;const{indices:n,value:s}=t;let r={indices:n,value:s};t.key&&(r.key=t.key.src),t.idx>-1&&(r.refIndex=t.idx),e.matches.push(r)}))}function K(t,e){e.score=t.score}class Z{constructor(t,e={},n){this.options={...m,...e},this.options.useExtendedSearch,this._keyStore=new d(this.options.keys),this.setCollection(t,n)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof M))throw new Error("Incorrect 'index' type");this._myIndex=e||b(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){a(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=(()=>!1)){const e=[];for(let n=0,s=this._docs.length;n<s;n+=1){const r=this._docs[n];t(r,n)&&(this.removeAt(n),n-=1,s-=1,e.push(r))}return e}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:e=-1}={}){const{includeMatches:n,includeScore:s,shouldSort:c,sortFn:o,ignoreFieldNorm:a}=this.options;let h=r(t)?r(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return function(t,{ignoreFieldNorm:e=m.ignoreFieldNorm}){t.forEach((t=>{let n=1;
1t.matches.forEach((({key:t,norm:s,score:r})=>{const i=t?t.weight:null;n*=Math.pow(0===r&&i?Number.EPSILON:r,(i||1)*(e?1:s))})),t.score=n}))}(h,{ignoreFieldNorm:a}),c&&h.sort(o),i(e)&&e>-1&&(h=h.slice(0,e)),function(t,e,{includeMatches:n=m.includeMatches,includeScore:s=m.includeScore}={}){const r=[];return n&&r.push(q),s&&r.push(K),t.map((t=>{const{idx:n}=t,s={item:e[n],refIndex:n};return r.length&&r.forEach((e=>{e(t,s)})),s}))}(h,this._docs,{includeMatches:n,includeScore:s})}_searchStringList(t){const e=F(t,this.options),{records:n}=this._myIndex,s=[];return n.forEach((({v:t,i:n,n:r})=>{if(!a(t))return;const{isMatch:i,score:c,indices:o}=e.searchIn(t);i&&s.push({item:t,idx:n,matches:[{score:c,value:t,norm:r,indices:o}]})})),s}_searchLogical(t){const e=U(t,this.options),n=(t,e,s)=>{if(!t.children){const{keyId:n,searcher:r}=t,i=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(e,n),searcher:r});return i&&i.length?[{idx:s,item:e,matches:i}]:[]}const r=[];for(let i=0,c=t.children.length;i<c;i+=1){const c=t.children[i],o=n(c,e,s);if(o.length)r.push(...o);else if(t.operator===R)return[]}return r},s=this._myIndex.records,r={},i=[];return s.forEach((({$:t,i:s})=>{if(a(t)){let c=n(e,t,s);c.length&&(r[s]||(r[s]={idx:s,item:t,matches:[]},i.push(r[s])),c.forEach((({matches:t})=>{r[s].matches.push(...t)})))}})),i}_searchObjectList(t){const e=F(t,this.options),{keys:n,records:s}=this._myIndex,r=[];return s.forEach((({$:t,i:s})=>{if(!a(t))return;let i=[];n.forEach(((n,s)=>{i.push(...this._findMatches({key:n,value:t[s],searcher:e}))})),i.length&&r.push({idx:s,item:t,matches:i})})),r}_findMatches({key:t,value:e,searcher:n}){if(!a(e))return[];let r=[];if(s(e))e.forEach((({v:e,i:s,n:i})=>{if(!a(e))return;const{isMatch:c,score:o,indices:h}=n.searchIn(e);c&&r.push({score:o,key:t,value:e,idx:s,norm:i,indices:h})}));else{const{v:s,n:i}=e,{isMatch:c,score:o,indices:a}=n.searchIn(s);c&&r.push({score:o,key:t,value:s,norm:i,indices:a})}return r}}Z.version="6.5.3",Z.createIndex=b,Z.parseIndex=function(t,{getFn:e=m.getFn,fieldNormWeight:n=m.fieldNormWeight}={}){const{keys:s,records:r}=t,i=new M({getFn:e,fieldNormWeight:n});return i.setKeys(s),i.setIndexRecords(r),i},Z.config=m,Z.parseQuery=U,function(...t){N.push(...t)}(O)},77401:(t,e,n)=>{n.d(e,{Z:()=>i});const s=function(t){return t&&t.masked&&(t.masked="string"==typeof t.masked?document.querySelectorAll(t.masked):t.masked),t?this.opts={masked:t.masked||document.querySelectorAll(this.d.masked),mNum:t.mNum||this.d.mNum,mChar:t.mChar||this.d.mChar,error:t.onError||this.d.onError}:(this.opts=this.d,this.opts.masked=document.querySelectorAll(this.opts.masked)),this.refresh(!0),{handleValueChange:()=>this.handleValueChange({target:this.opts.masked[0]})}},r={d:{masked:".masked",mNum:"XdDmMyY9",mChar:"_",onError:()=>{}},refresh(t){let e,n;t||(this.opts.masked=document.querySelectorAll(this.opts.masked));for(let t=0;t<this.opts.masked.length;t++)e=this.opts.masked[t],n=e.parentNode.getAttribute("class"),(!n||n&&-1===n.indexOf("shell"))&&(this.createShell(e),this.activateMasking(e))},createShell(t){const e=document.createElement("span"),n=document.createElement("div"),s=document.createElement("span"),r=t.getAttribute("class"),i=t.getAttribute("placeholder"),c=document.createTextNode(i);t.setAttribute("maxlength",c.length),t.setAttribute("data-placeholder",i),t.removeAttribute("placeholder"),(!r||r&&-1===r.indexOf("masked"))&&t.setAttribute("class",`${r} masked`),n.setAttribute("aria-hidden","true"),n.setAttribute("id",`${t.getAttribute("id")} Mask`),n.appendChild(s),n.appendChild(c),e.setAttribute("class","shell"),e.appendChild(n),t.parentNode.insertBefore(e,t),e.appendChild(t)},setValueOfMask(t){const e=t.target.value;return`<span>${e}</span>${t.target.getAttribute("data-placeholder").substr(e.length)}`},activateMasking(t){t.addEventListener("keyup",(t=>this.handleValueChange(t)),!1)},handleValueChange(t){const e=t.target.getAttribute("id");let n=t.target.value;const s=document.getElementById(`${e} Mask`).firstChild.innerHTML;if(n===s)return;n=this.handleCurrentValue(t);const r=this.getNewCursorPosition(s,n,t.target.selectionStart);document.getElementById(e).value=n,document.getElementById(`${e} Mask`).innerHTML=this.setValueOfMask(t),t.target.setSelectionRange(r,r)},handleCurrentValue(t){const e=t.target.getAttribute("data-charset"),n=e||t.target.getAttribute("data-placeholder"),s=t.target.value,r=n.length;let i,c,o,a,h,l,u="";const d=e?s.replace(/\W/g,""):s.replace(/\D/g,"");
1for(i=0,c=0;i<r;i++){if(o=!isNaN(parseInt(d[c])),a=!!d[c]&&d[c].match(/[A-Z]/i),h=this.opts.mNum.indexOf(n[i])>=0,l=this.opts.mChar.indexOf(n[i])>=0,h&&o||e&&l&&a)u+=d[c++];else{if(!e&&!o&&h||e&&(l&&!a||h&&!o))return u;u+=n[i]}if(void 0===d[c])break}return t.target.getAttribute("data-valid-example")?this.validateProgress(t,u):u},validateProgress(t,e){const n=t.target.getAttribute("data-valid-example"),s=new RegExp(t.target.getAttribute("pattern")),r=t.target.getAttribute("data-placeholder"),i=e.length;let c=e;if(1===i&&"DD"===r.toUpperCase().substr(0,2))return e>3&&e<10&&(c=`0${e}`),c;if(4===i&&"MM"===r.toUpperCase().substr(3,2)){const t=e.charAt(e.length-1);if(t>1&&t<10){c=`${e.substr(0,e.length-1)}0${t}`}return c}for(let t=i;t>=0;t--){const t=e+n.substr(e.length);if(s.test(t))return e;c=e.substr(0,e.length-1)}return c},getNewCursorPosition(t,e,n){const s=n-1;return e.length>t.length?e[s].match(/[A-Z0-9]/i)?n:n+1:e[s]?n:n-1}};for(const t in r)r.hasOwnProperty(t)&&(s.prototype[t]=r[t]);const i=s},56351:(t,e,n)=>{n.d(e,{Bj:()=>A,CP:()=>w,Ey:()=>v,Fl:()=>k,H1:()=>j,IW:()=>C,LP:()=>f,Mw:()=>b,P4:()=>p,UY:()=>g,Vf:()=>c,WL:()=>a,XU:()=>h,YA:()=>u,ZY:()=>m,a4:()=>d,b7:()=>l,bZ:()=>y,dB:()=>L,gH:()=>r,kj:()=>x,mn:()=>o,oV:()=>i,p_:()=>M,vu:()=>s,yK:()=>S});const s="[object RegExp]",r="[object String]",i="[object Number]",c="[object Boolean]",o="[object Arguments]",a="[object Symbol]",h="[object Date]",l="[object Map]",u="[object Set]",d="[object Array]",g="[object Function]",f="[object ArrayBuffer]",p="[object Object]",m="[object Error]",y="[object DataView]",M="[object Uint8Array]",b="[object Uint8ClampedArray]",x="[object Uint16Array]",k="[object Uint32Array]",A="[object BigUint64Array]",v="[object Int8Array]",w="[object Int16Array]",L="[object Int32Array]",C="[object BigInt64Array]",S="[object Float32Array]",j="[object Float64Array]"},92920:(t,e,n)=>{n.d(e,{X:()=>h});var s=n(79720),r=n(22978),i=n(56351),c=n(86461);function o(t,e,n,s=new Map,h){const l=h?.(t,e,n,s);if(void 0!==l)return l;if(null==(u=t)||"object"!=typeof u&&"function"!=typeof u)return t;var u,d;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let r=0;r<t.length;r++)e[r]=o(t[r],r,n,s,h);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[r,i]of t)e.set(r,o(i,r,n,s,h));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const r of t)e.add(o(r,void 0,n,s,h));return e}if((0,c.z)(t))return t.subarray();if(d=t,ArrayBuffer.isView(d)&&!(d instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let r=0;r<t.length;r++)e[r]=o(t[r],r,n,s,h);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),a(e,t,n,s,h),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),a(e,t,n,s,h),e}if("undefined"!=typeof Blob&&t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),a(e,t,n,s,h),e}if(t instanceof Error){const e=structuredClone(t);return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,e.constructor=t.constructor,a(e,t,n,s,h),e}if(t instanceof Boolean){const e=new Boolean(t.valueOf());return s.set(t,e),a(e,t,n,s,h),e}if(t instanceof Number){const e=new Number(t.valueOf());return s.set(t,e),a(e,t,n,s,h),e}if(t instanceof String){const e=new String(t.valueOf());return s.set(t,e),a(e,t,n,s,h),e}if("object"==typeof t&&function(t){switch((0,r.h)(t)){case i.mn:case i.a4:case i.LP:case i.bZ:case i.Vf:case i.XU:case i.yK:case i.H1:case i.Ey:case i.CP:case i.dB:case i.b7:case i.oV:case i.P4:case i.vu:case i.YA:case i.gH:case i.WL:case i.p_:case i.Mw:case i.kj:case i.Fl:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),a(e,t,n,s,h),e}return t}function a(t,e,n=t,r,i){const c=[...Object.keys(e),...(0,s.x)(e)];for(let s=0;s<c.length;s++){const a=c[s],h=Object.getOwnPropertyDescriptor(t,a);(null==h||h.writable)&&(t[a]=o(e[a],a,n,r,i))}}function h(t){return o(t,void 0,t,new Map,void 0)}}}]);

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.