PageSourceSearch

https://lalafo.kg/_next/static/chunks/1562.f6f7fd95f5db3324.js

js lalafo.kg collected 2026-09-28 11:08:57 UTC 14,597 bytes, 3 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7e6b431f-f593-4f81-bd66-5dcd3988ccb8",e._sentryDebugIdIdentifier="sentry-dbid-7e6b431f-f593-4f81-bd66-5dcd3988ccb8")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1562],{8408:e=>{e.exports={LFInfoFrame:"LFInfoFrame_LFInfoFrame__UE2fU",iconWrap:"LFInfoFrame_iconWrap__YGfLx"}},9226:e=>{e.exports={LFIconHistoryPayment:"LFIconHistoryPayment_LFIconHistoryPayment___zys3"}},26557:e=>{e.exports={levelItemStats:"LoyaltySystemLevelItemStats_main__F4zyX",description:"LoyaltySystemLevelItemStats_description__8yR0o",main:"LoyaltySystemLevelUpgrade_main__CG2Ag",background:"LoyaltySystemLevelUpgrade_background__MzEAi",confettiContainer:"LoyaltySystemLevelUpgrade_confettiContainer__kRaWw",medal:"LoyaltySystemLevelUpgrade_medal__9gl5o",activePeriodContainer:"LoyaltySystemLevelUpgrade_activePeriodContainer__XfG6_",activePeriodTitle:"LoyaltySystemLevelUpgrade_activePeriodTitle__QM462",infoStatsContainer:"LoyaltySystemLevelUpgrade_infoStatsContainer__PXHPQ",bannerButtonContainer:"LoyaltySystemLevelUpgrade_bannerButtonContainer__Dud12"}},37511:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(37876),o=n(14467),i=n(46767);let r=e=>{let{color:t,customClass:n,size:r,onClick:l}=e,c=t||i.zy,s=r||"32",_=n?"LFIconLightning ".concat(n," ").concat("size-".concat(s)," ").concat(c):"LFIconLightning";return(0,a.jsx)(o.A,{size:s,customClass:_,onClick:l,children:(0,a.jsx)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M23.9697 15.722C23.8782 15.3125 23.5947 14.9834 23.2186 14.8508L17.6116 12.8681L21.5937 4.4212C21.8436 3.88973 21.6941 3.24343 21.2398 2.89539C20.7834 2.54856 20.1584 2.60068 19.7633 3.02201L8.33499 15.1432C8.05484 15.4403 7.93987 15.87 8.03031 16.2784C8.12181 16.6879 8.40531 17.0171 8.78138 17.1496L14.3884 19.1323L10.4063 27.5792C10.1564 28.1107 10.3059 28.757 10.7602 29.1051C11.2151 29.4508 11.8388 29.4002 12.2367 28.9784L23.665 16.8572C23.9452 16.5601 24.0601 16.1304 23.9697 15.722Z",fill:c})})})}},42971:(e,t,n)=>{"use strict";n.d(t,{C_:()=>i,ay:()=>o,jK:()=>a});var a=function(e){return e[e.ONE=0]="ONE",e[e.TWO=1]="TWO",e[e.THREE=2]="THREE",e}({}),o=function(e){return e.SAVE="save",e.SPEED_UP="speed_up",e.MANAGE="manage",e}({}),i=function(e){return e[e.LALAFO_CLUB=0]="LALAFO_CLUB",e[e.PPV=1]="PPV",e}({})},49682:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var a=n(2309),o=n(73466);let i=(e,t)=>{if(!Array.isArray(e)||t&&"number"!=typeof t)throw Error("Invalid function argument: catalogTree");return(0,o.tE)()&&t?(0,o.hm)(t)||null:(0,a.x)(e).find(e=>e.id===t)||null}},59925:e=>{e.exports={main:"LoyaltySystemTriggerInfoBlock_main__T6tnq"}},64787:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(37876),o=n(14467),i=n(46767);let r=e=>{let{color:t,customClass:n,size:r,onClick:l}=e,c=t||i.zw,s=r||"20",_=n?"LFIconTime ".concat(n," ").concat("size-".concat(s)," ").concat(c):"LFIconTime";return(0,a.jsx)(o.A,{size:s,customClass:_,onClick:l,children:(0,a.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.3327 10.0001C18.3327 14.6025 14.6017 18.3334 9.99935 18.3334C5.39698 18.3334 1.66602 14.6025 1.66602 10.0001C1.66602 5.39771 5.39698 1.66675 9.99935 1.66675C14.6017 1.66675 18.3327 5.39771 18.3327 10.0001ZM9.99928 5.20841C10.3445 5.20841 10.6243 5.48824 10.6243 5.83341V9.64622L12.4042 10.7141C12.7002 10.8917 12.7961 11.2756 12.6186 11.5716C12.441 11.8676 12.0571 11.9636 11.7611 11.786L9.68707 10.5416C9.58836 10.4846 9.5067 10.4014 9.45159 10.3014C9.41232 10.2302 9.38654 10.1505 9.37769 10.0657C9.37494 10.0399 9.37379 10.0139 9.37428 9.98781V5.83341C9.37428 5.48824 9.6541 5.20841 9.99928 5.20841Z",fill:c})})})}},71449:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(37876),o=n(14467),i=n(46767);let r=e=>{let{color:t,customClass:n,size:r,onClick:l}=e,c=t||i.CW,s=r||"32",_=n?"LFIconAds ".concat(n," ").concat("size-".concat(s)," ").concat(c):"LFIconAds";return(0,a.jsx)(o.A,{size:s,customClass:_,onClick:l,children:(0,a.jsxs)("svg",{viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M3.16602 5.33341C3.16602 3.86066 4.35992 2.66675 5.83268 2.66675H12.4397C13.9124 2.66675 15.1063 3.86066 15.1063 5.33341V11.9404C15.1063 13.4131 13.9124 14.6071 12.4397 14.6071H5.83268C4.35992 14.6071 3.16602 13.4131 3.16602 11.9404V5.33341Z",fill:c}),(0,a.jsx)("path",{d:"M17.8922 5.33341C17.8922 3.86066 19.0861 2.66675 20.5589 2.66675H27.1658C28.6386 2.66675 29.8325 3.86066 29.8325 5.33341V11.9404C29.8325 13.4131 28.6386 14.6071 27.1658 14.6071H20.5589C19.0861 14.6071 17.8922 13.4131 17.8922 11.9404V5.33341Z",fill:c}
1),(0,a.jsx)("path",{d:"M3.16602 20.0598C3.16602 18.587 4.35992 17.3931 5.83268 17.3931H12.4397C13.9124 17.3931 15.1063 18.587 15.1063 20.0598V26.6667C15.1063 28.1395 13.9124 29.3334 12.4397 29.3334H5.83268C4.35992 29.3334 3.16602 28.1395 3.16602 26.6667V20.0598Z",fill:c}),(0,a.jsx)("path",{d:"M17.8922 20.0598C17.8922 18.587 19.0861 17.3931 20.5589 17.3931H27.1658C28.6386 17.3931 29.8325 18.587 29.8325 20.0598V26.6667C29.8325 28.1395 28.6386 29.3334 27.1658 29.3334H20.5589C19.0861 29.3334 17.8922 28.1395 17.8922 26.6667V20.0598Z",fill:c})]})})}},71562:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var a=n(37876),o=n(14232),i=n(33845),r=n(37004),l=n(15946),c=n(29182),s=n(28729),_=n(95951),d=n(49682),u=n(94937),m=n(27142),L=n(64787),y=n(1549),C=n(94466),v=n(75801),A=n(8566),E=n(46767),f=n(89251),p=n(42971),S=n(85248),T=n(26557),g=n.n(T);let h=e=>{var t;let{analyticsScreen:n,currentMicroMarketEvent:T,isLockMaxLevel:h,continueButtonClickHandler:x}=e,{sendInternalAnalytics:I}=(0,l.A)(),w=(0,r.d4)(e=>e.loyaltySystem.microMarketData),{translations:b,catalog:N}=(0,o.useContext)(c.q),H=(0,i.useLottie)({animationData:S,loop:!1}),F=null==w||null==(t=w.data)?void 0:t.micromarket,k=Number(null==T?void 0:T.current_level),D=Number(null==T?void 0:T.previous_level),O=(null==F?void 0:F.end_time)&&(0,_.B)({unix:null==F?void 0:F.end_time,format:u.yc.FULL_DATE_LONG,translations:b}),P=(0,s.A)(b.ACTIVE_TILL_DATE(O)),U=N.catalogTree&&F&&(0,d.k)(N.catalogTree,null==F?void 0:F.category_id),j=()=>{switch(!0){case h:return;case k===u.lL.LEVELS.MAX_LEVEL:return"green";case k>D:return"yellow";case D>k:return"red";default:return null}};return(0,o.useEffect)(()=>{H.setSpeed(.6);let e="\n      notification_type: level,\n      grade_type: ".concat(k>D||h?"upgrade":"downgrade",",\n      category_id: ").concat(null==F?void 0:F.category_id,",\n      new_level: ").concat(null==F?void 0:F.level,",\n    ");
1I({eventParams:"".concat(n,":page:loyalty_system:notification:view"),eventDetailsParams:e}),setTimeout(()=>{H.pause()},2e3)},[]),(0,a.jsxs)("div",{className:"".concat(g().main," ").concat(g().background),children:[(k>D||h)&&(0,a.jsx)("div",{className:g().confettiContainer,children:H.View}),(0,a.jsx)("div",{className:"".concat(g().medal," animate__animated animate__fadeIn animate__delay-400ms"),children:(0,a.jsx)(A.A,{value:k,prevValue:D,color:E.qT})}),(0,a.jsx)(m.A,{size:"20",text:b.YOU_HAVE_UPGRADED_TO_LEVEL_N_IN_THE_CATEGORY(k,'"'.concat((null==U?void 0:U.name)||"",'"')),type:"h2",weight:"700",customClass:"animate__animated animate__fadeIn animate__delay-800ms"}),(null==F?void 0:F.end_time)&&(0,a.jsxs)("div",{className:"".concat(g().activePeriodContainer," animate__animated animate__fadeIn animate__delay-1200ms"),children:[(0,a.jsx)(L.A,{color:E.yG,size:"16"}),(0,a.jsx)("div",{className:g().activePeriodTitle,dangerouslySetInnerHTML:{__html:P}})]}),(0,a.jsxs)("div",{className:"".concat(g().infoStatsContainer," animate__animated animate__fadeIn animate__delay-1600ms"),children:[(0,a.jsx)(C.A,{statsType:f.n.FREE_ADS,value:Number(null==F?void 0:F.ad_limit),color:E.CW,description:b.ADS,isCountUp:!0,delay:1e3,currentMicroMarketEvent:T,screenType:p.C_.LALAFO_CLUB,continueButtonClickHandler:x}),(0,a.jsx)(C.A,{statsType:f.n.CASHBACK,value:Number(null==F?void 0:F.cashback),symbol:"%",color:E.zy,description:b.CASHBACK_FOR_ADS,isCountUp:!0,delay:1e3,currentMicroMarketEvent:T,screenType:p.C_.LALAFO_CLUB,continueButtonClickHandler:x})]}),j()&&(0,a.jsx)(v.A,{customClassName:"animate__animated animate__fadeIn animate__delay-2000ms",type:j()||"green"}),(0,a.jsx)(y.A,{buttonText:b.CONTINUE,customClassName:"".concat(g().bannerButtonContainer," animate__animated animate__fadeIn ").concat(j()?"animate__delay-2400ms":"animate__delay-2000ms"),buttonClickHandler:x})]})}},72534:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var a=n(37876),o=n(14467),i=n(46767),r=n(9226),l=n.n(r);let c=e=>{let{color:t,customClass:n,size:r,onClick:c}=e,s=t||i.ie,_=r||"24",d="".concat(l().LFIconHistoryPayment," ").concat(n," ").concat("size-".concat(_)," ").concat(s);return(0,a.jsx)(o.A,{size:_,customClass:d,onClick:c,children:(0,a.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M6.56628 20.1638C8.25437 21.3222 10.298 22 12.5 22C18.299 22 23 17.299 23 11.5C23 5.70101 18.299 1 12.5 1C8.13888 1 4.39876 3.65877 2.81213 7.4438",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("rect",{x:"11",y:"5",width:"2",height:"8",rx:"1",fill:s}),(0,a.jsx)("rect",{x:"11",y:"13",width:"2",height:"6",rx:"1",transform:"rotate(-60 11 13)",fill:s}),(0,a.jsx)("path",{d:"M1.02686 4.66748L2.37493 8.33254L6.22301 7.66748",stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})}},75801:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var a=n(18153),o=n(14232),i=n(29182),r=n(77043),l=n(75863),c=n(72534),s=n(13333),_=n(46767),d=n(59925),u=n.n(d);let m=e=>{let{customClassName:t="",type:n,typeText:d}=e,{translations:m}=(0,o.useContext)(i.q),L={yellow:{icon:(0,a.Y)(s.A,{color:_.bH}),backgroundColor:_.$k,title:m.KEEP_SPENDING_MONEY_ON_ADS_TO_KEEP_OR_LEVEL_UP},green:{icon:(0,a.Y)(s.A,{color:_.yG}),backgroundColor:_._D,title:m.YOU_ARE_AT_THE_MAXIMUM_LEVEL_TEXT},blue:{icon:(0,a.Y)(s.A,{color:_.jt}),backgroundColor:_.R9,title:d},red:{icon:(0,a.Y)(c.A,{color:_.Zm}),backgroundColor:_.yx,title:m.YOUR_SPENDING_IN_THE_LAST_30_DAYS_HAS_BEEN_LESS_TEXT}};return(0,a.Y)("div",{className:"".concat(u().main," ").concat(t),children:(0,a.Y)(l.A,{backgroundColor:L[n].backgroundColor,icon:L[n].icon,children:(0,a.Y)(r.A,{size:"14",text:L[n].title})})})}},75863:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var a=n(37876),o=n(8408),i=n.n(o);let r=e=>{let{customClassName:t="",backgroundColor:n="",icon:o,children:r}=e;return(0,a.jsxs)("span",{style:{backgroundColor:n},className:"LFInfoFrame ".concat(i().LFInfoFrame," ").concat(t),"data-component":"lf-info-frame",children:[o&&(0,a.jsx)("div",{className:i().iconWrap,children:o}),r]})}},78313:e=>{e.exports={main:"LoyaltySystemLevelItemStats_main__F4zyX",mainInfoContainer:"LoyaltySystemLevelItemStats_mainInfoContainer__1mfe1",iconContainer:"LoyaltySystemLevelItemStats_iconContainer__atdXx",itemStats:"LoyaltySystemLevelItemStats_itemStats__XuABq",description:"LoyaltySystemLevelItemStats_description__8yR0o"}},89251:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var a=function(e){return e.SPENDINGS="spendings",e.CASHBACK="cashback",e.FREE_ADS="free_ads",e}({})},94466:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var a=n(18153),o=n(14232),i=n(89099),r=n(29182),l=n(94937),c=n(15946),s=n(82761),_=n(935
177),d=n(71449),u=n(37511),m=n(73487),L=n(8566),y=n(53632),C=n(89251),v=n(42971),A=n(78313),E=n.n(A);let f=e=>{var t,n;let{analyticsEventParams:A,color:f,delay:p,description:S,isCountUp:T=!1,statsType:g,symbol:h,value:x,currentMicroMarketEvent:I,screenType:w,continueButtonClickHandler:b}=e,{sendInternalAnalytics:N}=(0,c.A)(),{redirectToUrl:H}=(0,s.A)(),F=(0,i.useRouter)(),{translations:k,isDesktopDevice:D}=(0,o.useContext)(r.q),O=(null==F||null==(t=F.query)?void 0:t.flow_id)?null==F||null==(n=F.query)?void 0:n.flow_id:D?l.tH.LOYALTY_SYSTEM_PURCHASE_LEVEL_DESKTOP:l.tH.LOYALTY_SYSTEM_PURCHASE_LEVEL_MOBILE,P=Number(null==I?void 0:I.current_level),U=Number(null==I?void 0:I.previous_level),j=null==I?void 0:I.category_id,M=w===v.C_.LALAFO_CLUB&&P>U||w===v.C_.PPV,Y=(g===C.n.CASHBACK||g===C.n.FREE_ADS)&&(w===v.C_.PPV||w===v.C_.LALAFO_CLUB&&U>P)?P===l.lL.LEVELS.MAX_LEVEL?k.SAVE_THE_LEVEL:k.SPEED_UP_CATEGORY_GROWTH:k.OK_GOT_IT,[V,B]=(0,o.useState)(!1),R=()=>B(!1),z=M||w!==v.C_.LALAFO_CLUB?R:()=>{if(R(),b instanceof Function&&b(),j&&P)return setTimeout(()=>{H({path:"".concat(l.W_.LOYALTY_SYSTEM_PURCHASE_CATEGORY_ID,"/").concat(j,"/level/").concat(P,"?flow_id=").concat(O)})},410)};return(0,a.FD)("div",{className:"".concat(E().main," ").concat(E().itemStats),children:[(0,a.FD)("div",{className:E().mainInfoContainer,children:[(0,a.Y)("div",{className:E().iconContainer,children:(()=>{switch(g){case C.n.CASHBACK:return(0,a.Y)(u.A,{});case C.n.FREE_ADS:return(0,a.Y)(d.A,{});default:return null}})()}),(0,a.Y)(L.A,{color:f,isCountUp:T,size:"32",symbol:h,value:x||0,delay:p}),(0,a.Y)(m.A,{onClick:()=>
1{B(!0),A&&N({eventParams:A,eventDetailsParams:"onboarding_type: ".concat(g)})}})]}),(0,a.Y)(_.A,{size:"12",text:S,color:f,customClass:E().description}),V&&(0,a.Y)(y.default,{type:g,buttonText:Y,closeHandler:R,buttonHandler:z})]})}},95951:(e,t,n)=>{"use strict";n.d(t,{B:()=>r,r:()=>l});var a=n(94937);let o=e=>new Date(1e3*e).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"}).toUpperCase().split(" "),i=e=>{let{format:t,monthData:n,translations:o}=e;switch(t){case a.yc.DATE_WITH_MONTH:case a.yc.FULL_DATE:return o["MONTH_".concat(n,"_SHORT")];case a.yc.FULL_DATE_LONG:return o["MONTH_".concat(n,"_GENITIVE")];default:return n}},r=e=>{let{unix:t,translations:n,format:r}=e,l=o(t),c=l[0],s=n&&l&&l[1]?i({format:r,monthData:l[1],translations:n}):l[1],_=l[2];switch(r){case a.yc.DATE_WITH_MONTH:return"".concat(c," ").concat(null==s?void 0:s.toLowerCase());case a.yc.FULL_DATE:return"".concat(c," ").concat(null==s?void 0:s.toLowerCase()," ").concat(_);case a.yc.FULL_DATE_LONG:return n.TEXT_DATE(c,s,_);default:return"".concat(c)}},l=e=>{let{unix:t}=e;return Number(o(t)[0])}}}]);
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="795037eb-11e0-584a-8490-ca5e6bdf9741")}catch(e){}}();
3//# debugId=795037eb-11e0-584a-8490-ca5e6bdf9741

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.