PageSourceSearch

https://andolives.nl/dist/scripts/app/www/product/mounts/tw-related-products.d4cd138f609ae9c9bd24.js

js andolives.nl collected 2026-10-06 17:47:44 UTC 20,884 bytes, 64 lines download raw bytes

1"use strict";(this.webpackChunk=this.webpackChunk||[]).push([[1934],{53910($,h,t){t.d(h,{A:()=>u,c:()=>u});class u{constructor(){if(!(this instanceof u))return new u;this.resolve=null,this.reject=null,this.promise=new Promise((y,o)=>{this.resolve=y,this.reject=o}),Object.freeze(this)}}},35120($,h,t){t.r(h),t.d(h,{default:()=>x});var u=t(1406),d=t(11547),y=t.n(d),o=t(49810),f=t.n(o),v=t(98046),A=t.n(v),r=t(76444),T=t.n(r),E=t(36134),P=t.n(E),w=t(73312),C=t.n(w),j=t(33003),M=t(53910),z=t(86445),B=t(80487),D=t(46140),n=t(19847),l=t(10902),p=t(89697),V=t(67800),k=t(25426),O=[{tokenType:"special",args:["#if ( this.inView.promise.isPending )",1]},{tokenType:"chars",args:[`
2	`,1]},{tokenType:"start",args:["div",!1,2]},{tokenType:"attrStart",args:["on:intersect",2]},{tokenType:"attrValue",args:["this.handleIntersect( scope.event )",2]},{tokenType:"attrEnd",args:["on:intersect",2]},{tokenType:"special",args:[' intersect( threshold = "0" rootMargin = "-10% -1px" ) ',2]},{tokenType:"end",args:["div",!1,4]},{tokenType:"chars",args:[`
3	`,4]},{tokenType:"close",args:["div",5]},{tokenType:"chars",args:[`
4`,5]},{tokenType:"special",args:["/if",6]},{tokenType:"chars",args:[`
5`,6]},{tokenType:"special",args:["#if ( this.request.isPending )",7]},{tokenType:"chars",args:[`
6	`,7]},{tokenType:"start",args:["content",!0,8]},{tokenType:"end",args:["content",!0,8]},{tokenType:"chars",args:[`
7`,8]},{tokenType:"special",args:["/if",9]},{tokenType:"chars",args:[`
8`,9]},{tokenType:"special",args:["#let results = this.request.value.results ",10]},{tokenType:"chars",args:[`
9	`,10]},{tokenType:"special",args:["#if ( results.length )",11]},{tokenType:"chars",args:[`
10		`,11]},{tokenType:"start",args:["h2",!1,12]},{tokenType:"attrStart",args:["class",12]},{tokenType:"attrValue",args:["tw-heading tw-heading--section tw-indented",12]},{tokenType:"attrEnd",args:["class",12]},{tokenType:"end",args:["h2",!1,12]},{tokenType:"special",args:[' this.localize( "title" ) ',12]},{tokenType:"close",args:["h2",12]},{tokenType:"chars",args:[`
11		`,12]},{tokenType:"start",args:["ul",!1,13]},{tokenType:"attrStart",args:["class",13]},{tokenType:"attrValue",args:["tw-strip",13]},{tokenType:"attrEnd",args:["class",13]},{tokenType:"attrStart",args:["data-ideal-distribution",13]},{tokenType:"attrValue",args:["3",13]},{tokenType:"attrEnd",args:["data-ideal-distribution",13]},{tokenType:"attrStart",args:["data-item-group",13]},{tokenType:"attrEnd",args:["data-item-group",13]},{tokenType:"end",args:["ul",!1,17]},{tokenType:"chars",args:[`
12			`,17]},{tokenType:"special",args:["#forAll( item of results )",18]},{tokenType:"chars",args:[`
13				`,18]},{tokenType:"start",args:["li",!1,19]},{tokenType:"end",args:["li",!1,19]},{tokenType:"chars",args:[`
14					`,19]},{tokenType:"start",args:["can-fragment",!0,20]},{tokenType:"attrStart",args:["content:from",20]},{tokenType:"attrValue",args:["item.fragment",20]},{tokenType:"attrEnd",args:["content:from",20]},{tokenType:"attrStart",args:["on:elements",20]},{tokenType:"attrValue",args:["this.mountCard( scope.arguments[0] )",20]},{tokenType:"attrEnd",args:["on:elements",20]},{tokenType:"end",args:["can-fragment",!0,20]},{tokenType:"chars",args:[`
15				`,20]},{tokenType:"close",args:["li",21]},{tokenType:"chars",args:[`
16			`,21]},{tokenType:"special",args:["/forAll",22]},{tokenType:"chars",args:[`
17		`,22]},{tokenType:"close",args:["ul",23]},{tokenType:"chars",args:[`
18	`,23]},{tokenType:"special",args:["/if",24]},{tokenType:"chars",args:[`
19`,24]},{tokenType:"special",args:["/let",25]},{tokenType:"done",args:[25]}],e={},a={},i=(0,k.n)("scripts/app/www/product/components/related-products/view.stache",O,e,a),c=t(79465);const g=y().extend("RelatedProductsViewModel",{setup(...m){return Object.defineProperties(this,{inView:{value:new M.c}}),y().prototype.setup.apply(this,m)},localize:(0,n.Oq)({root:"pages.product.related-products."}),request:{value(m){let s=!1;return m.resolve((async()=>{const L=await V.Ay;await this.inView.promise;const R=f().returnedBy(()=>{const I=A().serialize(L);return this.fetchRelatedProducts(I)});if(!s)return m.listenTo(R,m.resolve),A().getValue(R)})()),()=>{s=!0}}},forAll:j.Lw,intersect:z.y$,handleIntersect(m){const{entries:s}=m;s[s.length-1].isIntersecting&&this.inView.resolve()},async fetchRelatedProducts(m){try{return await T()({url:(0,l.Pl)("/api/Product/RelatedProducts"),type:"POST",data:m})}catch(s){return C().error(s),null}},mountCard(m){const[s]=m;s?.matches("[data-mount='tw-offer-card']")&&new p.A(s,{scope:{}})},connectedCallback(){this.listenTo(this.request,"value",m=>{const s=m?.dataLayer;s!=null&&D.Ay.update(s,B.A.productList,`productLists.${s.id}`,!0)})}}),S=P().extend({tag:"tw-related-products",ViewModel:g,view:i}),x=(0,u.r)(S)},89697($,h,t){t.d(h,{A:()=>D});var u=t(11547),d=t.n(u),y=t(97958),o=t.n(y),f=t(49810),v=t.n(f),A=t(36134),r=t.n(A),T=t(33003),E=t(91672),P=t(26380),w=t(92737),C=t(66412);const j=(0,T.S0)(n=>{M(n,n.element)});function M(n,l){const p=V=>{V.preventDefault();const k=z(V);l.scrollTo(l.scrollLeft+k,l.scrollTop)};return n.listenTo(l,"wheel",p),n.listenTo(l,"mousewheel",p),n.listenTo(l,"DOMMouseScroll",p),()=>{n.stopListening(l,"wheel",p),n.stopListening(l,"mousewheel",p),n.stopListening(l,"DOMMouseScroll",p)}}function z(n){if("deltaX"in n){let l=0,p=0;return n.deltaMode===1?(l=n.deltaX*18,p=n.deltaY*18):(l=n.deltaX,p=n.deltaY),l===0?p:l}return"wheelDelta"in n?n.wheelDeltaX?-.16*n.wheelDeltaX:n.wheelDeltaY?-.16*n.wheelDeltaY:-.16*n.wheelDelta:"detail"in n?n.detail:0}const B=d().extend({disclose:{type:E.L$,default:!1}
19,connectedCallback(n){n.setAttribute("data-details","false"),this.listenTo(this,"disclose",(O,e)=>{n.setAttribute("data-details",String(e))}),o().mutateQueue.enqueue(()=>{(0,P.t)((0,C.B)(),n)},this,[]);const l=n.querySelector("a[href].tw-offer-card__action");l&&this.listenTo(l,"click",()=>{this.dispatch("navigate")});const p=n.querySelector("[data-action='details']");p&&((0,T.$Y)(this,p,{"aria-expanded":p.ariaControlsElements?.length?v().returnedBy(()=>!!this.disclose):null}),this.listenTo(p,"click",()=>{this.disclose=!this.disclose}));const V=n.querySelector(".tw-offer-properties");V&&M(this,V);const k=n.querySelectorAll("[data-action='deal-popup']");if(k?.length)for(const O of k){const e=O.dataset.deal,a=e?new w.x(JSON.parse(e)):void 0;this.listenTo(O,"click",()=>{w.l.prompt(a)})}}}),D=r().extend({tag:"tw-offer-card",view:null,ViewModel:B})},92737($,h,t){t.d(h,{l:()=>V,x:()=>y});var u=t(11547),d=t.n(u);const y=d().extend({dealPrice:"string",meanPrice:"string",priceDifference:"string",savings:"string",timePeriod:"string"});var o=t(36134),f=t.n(o),v=t(91450),A=t(61578),r=t(33003),T=t(70914),E=t(73393),P=t(507),w=t(19847),C=t(78976),j=t(25426),M=[{tokenType:"special",args:["#if ( this.deal )",1]},{tokenType:"chars",args:[`
20	`,1]},{tokenType:"start",args:["table",!1,2]},{tokenType:"attrStart",args:["class",2]},{tokenType:"attrValue",args:["tw-deal-details tw-vspace-double",2]},{tokenType:"attrEnd",args:["class",2]},{tokenType:"end",args:["table",!1,2]},{tokenType:"chars",args:[`
21		`,2]},{tokenType:"start",args:["caption",!1,3]},{tokenType:"end",args:["caption",!1,3]},{tokenType:"chars",args:[`
22			`,3]},{tokenType:"start",args:["span",!1,4]},{tokenType:"attrStart",args:["class",4]},{tokenType:"attrValue",args:["tw-deal-details__caption",4]},{tokenType:"attrEnd",args:["class",4]},{tokenType:"end",args:["span",!1,4]},{tokenType:"chars",args:[`
23				`,4]},{tokenType:"start",args:["tw-deal-emblem",!0,5]},{tokenType:"attrStart",args:["kind:raw",5]},{tokenType:"attrValue",args:["token",5]},{tokenType:"attrEnd",args:["kind:raw",5]},{tokenType:"end",args:["tw-deal-emblem",!0,5]},{tokenType:"chars",args:[`
24				`,5]},{tokenType:"start",args:["span",!1,6]},{tokenType:"attrStart",args:["class",6]},{tokenType:"attrValue",args:["tw-heading tw-heading--body",6]},{tokenType:"attrEnd",args:["class",6]},{tokenType:"end",args:["span",!1,6]},{tokenType:"chars",args:[`
25					`,6]},{tokenType:"special",args:['#formatHtml ( this.localize( "title" ) ',7]},{tokenType:"chars",args:[`
26						`,7]},{tokenType:"special",args:["#arg()",8]},{tokenType:"chars",args:[`
27							`,8]},{tokenType:"start",args:["b",!1,9]},{tokenType:"attrStart",args:["class",9]},{tokenType:"attrValue",args:["tw-deal-accent",9]},{tokenType:"attrEnd",args:["class",9]},{tokenType:"end",args:["b",!1,9]},{tokenType:"chars",args:[`
28								`,9]},{tokenType:"special",args:[' this.localize( "title-savings", this.deal.savings ) ',10]},{tokenType:"chars",args:[`
29							`,10]},{tokenType:"close",args:["b",11]},{tokenType:"chars",args:[`
30						`,11]},{tokenType:"special",args:["/arg",12]},{tokenType:"chars",args:[`
31					`,12]},{tokenType:"special",args:["/formatHtml",13]},{tokenType:"chars",args:[`
32				`,13]},{tokenType:"close",args:["span",14]},{tokenType:"chars",args:[`
33			`,14]},{tokenType:"close",args:["span",15]},{tokenType:"chars",args:[`
34		`,15]},{tokenType:"close",args:["caption",16]},{tokenType:"chars",args:[`
35		`,16]},{tokenType:"start",args:["tbody",!1,17]},{tokenType:"end",args:["tbody",!1,17]},{tokenType:"chars",args:[`
36			`,17]},{tokenType:"start",args:["tr",!1,18]},{tokenType:"end",args:["tr",!1,18]},{tokenType:"chars",args:[`
37				`,18]},{tokenType:"start",args:["th",!1,19]},{tokenType:"attrStart",args:["scope",19]},{tokenType:"attrValue",args:["row",19]},{tokenType:"attrEnd",args:["scope",19]},{tokenType:"end",args:["th",!1,19]},{tokenType:"chars",args:[`
38					`,19]},{tokenType:"special",args:[' this.localize( "mean-over-period", this.deal.timePeriod ) ',20]},{tokenType:"chars",args:[`
39				`,20]},{tokenType:"close",args:["th",21]},{tokenType:"chars",args:[`
40				`,21]},{tokenType:"start",args:["td",!1,22]},{tokenType:"end",args:["td",!1,22]},{tokenType:"start",args:["del",!1,22]},{tokenType:"end",args:["del",!1,22]},{tokenType:"special",args:[" this.deal.meanPrice ",22]},{tokenType:"close",args:["del",22]},{tokenType:"close",args:["td",22]},{tokenType:"chars",args:[`
41			`,22]},{tokenType:"close",args:["tr",23]},{tokenType:"chars",args:[`
42			`,23]},{tokenType:"start",args:["tr",!1,24]},{tokenType:"end",args:["tr",!1,24]},{tokenType:"chars",args:[`
43				`,24]},{tokenType:"start",args:["th",!1,25]},{tokenType:"attrStart",args:["scope",25]},{tokenType:"attrValue",args:["row",25]},{tokenType:"attrEnd",args:["scope",25]},{tokenType:"end",args:["th",!1,25]},{tokenType:"chars",args:[`
44					`,25]},{tokenType:"special",args:[' this.localize( "save-upto" ) ',26]},{tokenType:"chars",args:[`
45				`,26]},{tokenType:"close",args:["th",27]},{tokenType:"chars",args:[`
46				`,27]},{tokenType:"start",args:["td",!1,28]},{tokenType:"end",args:["td",!1,28]},{tokenType:"special",args:[" this.deal.priceDifference ",28]},{tokenType:"close",args:["td",28]},{tokenType:"chars",args:[`
47			`,28]},{tokenType:"close",args:["tr",29]},{tokenType:"chars",args:[`
48		`,29]},{tokenType:"close",args:["tbody",30]},{tokenType:"chars",args:[`
49		`,30]},{tokenType:"start",args:["tfoot",!1,31]},{tokenType:"end",args:["tfoot",!1,31]},{tokenType:"chars",args:[`
50			`,31]},{tokenType:"start",args:["tr",!1,32]},{tokenType:"end",args:["tr",!1,32]},{tokenType:"chars",args:[`
51				`,32]},{tokenType:"start",args:["th",!1,33]},{tokenType:"attrStart",args:["scope",33]},{tokenType:"attrValue",args:["row",33]},{tokenType:"attrEnd",args:["scope",33]},{tokenType:"end",args:["th",!1,33]},{tokenType:"chars",args:[`
52					`,33]},{tokenType:"special",args:[' this.localize( "current-deal" ) ',34]},{tokenType:"chars",args:[`
53				`,34]},{tokenType:"close",args:["th",35]},{tokenType:"chars",args:[`
54				`,35]},{tokenType:"start",args:["td",!1,36]},{tokenType:"end",args:["td",!1,36]},{tokenType:"special",args:[" this.deal.dealPrice ",36]},{tokenType:"close",args:["td",36]},{tokenType:"chars",args:[`
55			`,36]},{tokenType:"close",args:["tr",37]},{tokenType:"chars",args:[`
56		`,37]},{tokenType:"close",args:["tfoot",38]},{tokenType:"chars",args:[`
57	`,38]},{tokenType:"close",args:["table",39]},{tokenType:"chars",args:[`
58`,39]},{tokenType:"special",args:["/if",40]},{tokenType:"chars",args:[`
59
60`,40]},{tokenType:"special",args:[" this.description ",42]},{tokenType:"done",args:[42]}],z={},B={},D=(0,j.n)("scripts/shared/components/deal-dialog/view.stache",M,z,B),n=t(83762);const{dialogId:l}=E.A,p=d().extend("DealDialogVM",{title:{type:"string",default:""},description:{Type:v.Ed,Default:v.Ed},deal:{Type:y,default:null},formatHtml:r.dV,localize:(0,w.Oq)({root:"offer.info.deal-details"}),connectedCallback(k){k.classList.add("tw-custom-tag")}}),V=f().extend({prompt(k){if(k!=null&&!(typeof k=="object"&&k instanceof y))throw new TypeError("Mu
60st pass a DealInfo.");const O=P.A[l];if(O==null){A.A.error(`Dialog content for "${l}" wasn't found.`);return}const e=new V({viewModel:{title:O.title,description:O.description,deal:k}});let a=(0,T.A)(l).to(T.l.pascal);/(popup|dialog|modal)$/gi.test(a)||(a=`${a}Dialog`),C.A.from(e,{title:e.title,trackAs:a})}},{tag:"tw-deal-dialog",view:D,ViewModel:p})},83762($,h,t){t.d(h,{A:()=>n});var u=t(11547),d=t.n(u),y=t(49810),o=t.n(y),f=t(36134),v=t.n(f),A=t(33003),r=t(91672),T=t(91450),E=t(73393),P=t(19847),w=t(92737),C=t(25426),j=[{tokenType:"special",args:["#if ( this.emblem )",1]},{tokenType:"chars",args:[`
61	`,1]},{tokenType:"start",args:["svg",!1,2]},{tokenType:"attrStart",args:["class",2]},{tokenType:"attrValue",args:["tw-emblem__img",2]},{tokenType:"attrEnd",args:["class",2]},{tokenType:"attrStart",args:["viewBox",2]},{tokenType:"attrValue",args:["0 0 ",2]},{tokenType:"special",args:["this.emblem.aspectRatio.width",2]},{tokenType:"attrValue",args:[" ",2]},{tokenType:"special",args:["this.emblem.aspectRatio.height",2]},{tokenType:"attrEnd",args:["viewBox",2]},{tokenType:"attrStart",args:["preserveAspectRatio",2]},{tokenType:"attrValue",args:["xMinYMin slice",2]},{tokenType:"attrEnd",args:["preserveAspectRatio",2]},{tokenType:"attrStart",args:["title",2]},{tokenType:"special",args:[' this.localize( "text" ) ',2]},{tokenType:"attrEnd",args:["title",2]},{tokenType:"end",args:["svg",!1,7]},{tokenType:"chars",args:[`
62		`,7]},{tokenType:"start",args:["use",!0,8]},{tokenType:"attrStart",args:["href",8]},{tokenType:"special",args:[" this.emblem.url ",8]},{tokenType:"attrEnd",args:["href",8]},{tokenType:"end",args:["use",!0,8]},{tokenType:"chars",args:[`
63	`,8]},{tokenType:"close",args:["svg",9]},{tokenType:"chars",args:[`
64`,9]},{tokenType:"special",args:["/if",10]},{tokenType:"done",args:[10]}],M={},z={},B=(0,C.n)("scripts/shared/components/deal-emblem/view.stache",j,M,z);const D=d().extend("DealEmblemVM",{class:{type:"string"},kind:{type:T.RW.of(null,"","image","token"),default:null},prompt:{type:r.L$,default:!1},dealInfo:{Type:w.x,default:null},get emblem(){const{kind:l}=this;return l==null?null:E.A?.emblems?.[l]},localize:(0,P.Oq)({root:"components.deal-emblem"}),connectedCallback(l){(0,A.$Y)(this,l,{class:o().returnedBy(()=>`tw-emblem ${this.class??""}`),role:o().returnedBy(()=>this.prompt?"button":"presentation"),"p:hidden":o().returnedBy(()=>!this.kind),"data-type":"deal","data-style":o().returnedBy(()=>this.kind==="image"?null:this.kind),style:o().returnedBy(()=>{const p=this.emblem?.aspectRatio;if(!p)return null;const{width:V,height:k}=p;return V>0&&k>0?`--aspect-ratio:${V} / ${k};`:null})}),this.listenTo(l,"click",()=>{this.prompt&&w.l.prompt(this.dealInfo)})}}),n=v().extend("DealEmblem",{tag:"tw-deal-emblem",view:B,ViewModel:D})},28708($,h,t){t.d(h,{W:()=>y});var u=t(98046),d=t.n(u);function y(o,f={}){if(o=d().getValue(o),f=d().getValue(f),!d().isListLike(o))return;const v=[];f!=null&&typeof f=="object"&&d().eachKey(f,(r,T)=>{v.push({key:T,value:r})});const A=[];return d().eachIndex(o,r=>{if(r!=null){for(const{key:T,value:E}of v)if(!(T in r)||r[T]!=E)return;A.push(r)}}),A}find.isLiveBound=!0,find.requiresOptionsArgument=!1},42180($,h,t){t.d(h,{I:()=>y});var u=t(98046),d=t.n(u);function y(o,f={}){if(o=d().getValue(o),f=d().getValue(f),!d().isListLike(o)||f==null||typeof f!="object")return null;const v=[];d().eachKey(f,(r,T)=>{v.push({key:T,value:r})});let A=null;return o.some(r=>{if(r==null)return!1;for(const{key:T,value:E}of v)if(!(T in r)||r[T]!=E)return!1;return A=r,!0}),A}y.isLiveBound=!0,y.requiresOptionsArgument=!1},86445($,h,t){t.d(h,{I6:()=>d.I,y$:()=>C,Oo:()=>D,PW:()=>k,XR:()=>O});var u=t(28708),d=t(42180),y=t(92122),o=t.n(y),f=t(49810),v=t.n(f),A=t(98046),r=t.n(A),T=t(60914),E=t.n(T),P=t(13046
64),w=t.n(P);function C(e,a){return o().looksLikeOptions(e)&&(a=e,e={}),a.metadata=a.metadata??{},a.metadata.rendered=!0,i=>{const c=v().returnedBy(()=>{const s=r().getValue(e),L={};["rootMargin","threshold","root"].forEach(b=>{if(b in s){let F=s[b];b==="threshold"&&typeof F=="string"&&(F=Array.from(F.match(/\S+/g)).map(U=>Number(U))),L[b]=F}});const R=typeof s.id=="string"&&s.id?s.id:void 0,I=typeof s.callback!="function"?(...b)=>m(...b,R):(...b)=>s.callback(...b,R);return new IntersectionObserver(I,L)});E().setup(i,g,S);function g(){r().onValue(c,x),r().getValue(c).observe(i)}function S(){r().getValue(c).disconnect(),r().offValue(c,x)}function x(s,L){L.disconnect(),s.observe(i)}function m(s,L,R){w().dispatch(i,{type:"intersect",entries:s,observer:L,id:R},!1,!1)}}}C.isLiveBound=!0,C.requiresOptionsArgument=!0;var j=t(18018),M=t.n(j),z=t(56020),B=t.n(z);function D(e,a){o().looksLikeOptions(e)&&([e,a]=[!0,e]);const i=new(B())(g=>{const S=r().isObservableLike(e);S&&M().temporarilyBind(e);const x=r().getValue(e);if(g.resolve(x),!(x||!S)&&(g.listenTo(e,function m(s){s&&(g.stopListening(m),g.resolve(s))}),!a&&S))return()=>M().temporarilyBind(e)});if(!a)return r().getValue(i);a.metadata.rendered=!0;const c=v().returnedBy(()=>r().getValue(i)?a.fn():a.inverse());return g=>{E().html(g,c,g.parentNode,a)}}D.isLiveBound=!0,D.requiresOptionsArgument=!0;var n=t(38586),l=t.n(n);const V=2*(1e3/60);function k(e,a){o().looksLikeOptions(e)&&([a,e]=[e,{}]);const i=new(B())(c=>{let g=requestAnimationFrame(S);c.resolve(l()([])),r().isObservableLike(e)&&c.listenTo(e,x=>{g==null&&(g=requestAnimationFrame(S))});function S(x){if(g=performance.now()-x>=V?requestAnimationFrame(S):null,g!=null)return;const s=a.scope.addLetContext(r().getValue(e));c.resolve(a.fn(s,a.options))}return()=>{g!=null&&cancelAnimationFrame(g)}});return a.metadata.rendered=!0,c=>{E().html(c,i,c.parentNode,a)}}k.isLiveBound=!0,k.requiresOptionsArgument=!0;function O(e,a){return o().looksLikeOptions(e)&&(a=e,e={}),a.metadata=a.metadata??{},a.metadata.rendered=!0,i=>{const c=v().returnedBy(()=>{const s=r().getValue(e),L=typeof s.box=="string"?s.box:void 0,R=typeof s.id=="string"&&s.id?s.id:void 0,I=typeof s.callback!="function"?(...F)=>m(...F,R):(...F)=>s.callback(...F,R),b=new ResizeObserver(I);return{observe:F=>b.observe(F,L?{box:L}:void 0),disconnect:()=>b.disconnect()}});E().setup(i,g,S);function g(){r().onValue(c,x),r().getValue(c).observe(i)}function S(){r().getValue(c).disconnect(),r().offValue(c,x)}function x(s,L){L.disconnect(),s.observe(i)}function m(s,L,R){w().dispatch(i,{type:"resize",entries:s,observer:L,id:R},!1,!1)}}}O.isLiveBound=!0,O.requiresOptionsArgument=!0},73393($,h,t){t.d(h,{A:()=>o});var u=t(46562);const o=(0,u.v)("scripts/shared/stores/deals-options/index").config()},507($,h,t){t.d(h,{A:()=>f});var u=t(46562);const f=(0,u.v)("scripts/shared/stores/dialog-content/index").config()??{}},70914($,h,t){t.d(h,{A:()=>O,l:()=>D});var u=t(61578);const d=e=>e.toLowerCase(),y=e=>e.toUpperCase(),o=e=>e.length>1?e[0].toUpperCase()+e.substring(1).toLowerCase():e.toUpperCase(),f=(e,a)=>a===0?e.toLowerCase():o(e),v=/((?:[A-Z]{2,}|[a-z]{2,}|[A-Z][a-z]*|[a-z][A-Z]*)|[0-9]+)/g,A=/([a-z]+|[0-9]+)/g,r=/([A-Z]+|[0-9]+)/g,T=/([A-Z]+[a-z]*|[0-9]+)/g,E=/([a-z]+|[A-Z]+[a-z]*|[0-9]+)/g,P={fromRegex:A,wordFormat:d,separator:"-"},w={fromRegex:A,wordFormat:d,separator:"_"},C={fromRegex:E,wordFormat:f,separator:""},j={fromRegex:T,wordFormat:o,separator:""},M={fromRegex:r,wordFormat:y,separator:"-"},z={fromRegex:r,wordFormat:y,separator:"_"},B={fromRegex:T,wordFormat:o,separator:"-"},D={camel:"camel",pascal:"pascal",kebab:"kebab",spinal:"spinal",snake:"snake",macro:"macro",cobol:"cobol",train:"train",any:"any"},n={camel:C,pascal:j,kebab:P,spinal:P,snake:w,cobol:M,macro:z,train:B},l={...n,any:{fromRegex:v,wordFormat(){throw new Error(`any is not a valid casing style, please choose from : ${Object.keys(n).join(", ")}`)},separator:""}},p=(e,a)=>{const i=[];let c=null;for(;c=e.exec(a);){const g=c[0];g&&i.push(g)}return i},V=(e,a)=>{const i=l[e];if(!i)throw new Error(`Unknown casing please use one of the following types : ${Object.keys(n).join(", ")}`);return a.map(i.wordFormat).join(i.separator)},k=(e,a)=>{const i=l[e];
64if(!i)throw new Error(`Unknown casing please use one of the following types : ${Object.keys(D).join(", ")}`);const c=p(i.fromRegex,a);return a&&c.length===0&&u.A.warn(`Casing incompatible "${a}" is not cased as: ${e}.`),{to:g=>V(g,c)}},O=e=>({from:a=>k(a,e),to(a){const i=p(v,e);let c=V(a,i);return e&&!c&&(c=e),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.