PageSourceSearch

https://www.letoile.kz/dist/WebPageUniversalTemplate-86a31df8.js

js letoile.kz collected 2026-09-29 22:50:42 UTC 4,414 bytes, 2 lines download raw bytes

1import{_ as p}from"./config-mapping-47fd6e48.js";import{b as h,m as _}from"./vendor-vue-15488850.js";import{a as f}from"./addMetaInfo-07936a82.js";import{g as v}from"./newbiePromotions-4fe2e3b0.js";import{aV as P,aW as g,aX as S,aY as R}from"./integrations-segmentstream-d01b6c8e.js";import{a as o,I as i}from"./storage-cbd59dc5.js";import{n as M}from"./vendor-splide-d9a079dc.js";import"./vendor-a9303273.js";import"./locales-ru-bba83fc0.js";import"./locales-cn-79b85608.js";import"./vendor-lodash-59d95206.js";import"./vendor-date-fns-8fd1b05b.js";const E=1,b={components:{ProductRatingPopup:()=>p(()=>import("./ProductRatingPopup-f03d5be1.js"),["dist/ProductRatingPopup-f03d5be1.js","dist/integrations-segmentstream-d01b6c8e.js","dist/vendor-a9303273.js","dist/vendor-vue-15488850.js","dist/vendor-199622c2.css","dist/locales-ru-bba83fc0.js","dist/locales-cn-79b85608.js","dist/config-mapping-47fd6e48.js","dist/vendor-lodash-59d95206.js","dist/vendor-date-fns-8fd1b05b.js","dist/index-e3a5a1c2.js","dist/vendor-pswp-a811abc6.js","dist/vendor-pswp-74a26886.css","dist/storage-cbd59dc5.js","dist/vendor-splide-d9a079dc.js","dist/vendor-splide-c8304d67.css","dist/svg-icons-1599cbf9.js","dist/index-ff1d082f.css","dist/ProductDetailBonus-3977150f.js","dist/Badge-02e9873b.js","dist/Badge-29a906d7.css","dist/ProductDetailBonus-d99403be.css","dist/LazyImageV2-2e530fae.js","dist/PictureV2-d3f30c70.js","dist/LazyImageV2-c5a2d0d1.css","dist/Slider-4f9d681f.js","dist/uniqId-4d9caf03.js","dist/SliderItem-3121e33e.js","dist/SliderItem-eb1c17a9.css","dist/Slider-e1228b12.css","dist/style-556ee322.css","dist/ReviewTile-fe72a81a.js","dist/Picture-5cc49175.js","dist/ReviewTile-acd5078b.css","dist/ProductRatingPopup-f81ea052.css"])},mixins:[v],props:{schema:{type:Object,required:!0}},data(){return{isPopup:!1,records:[],countProduct:0,bonusMax:0}},computed:{...h("features",["isProductRatingModalEnabled"]),..._("profile",["isAnonymous"]),ddmLabel(){return{label:{num_products:this.countProduct,step:E}}},bonusLimit(){return this.schema.limit||2}},mounted(){f(this.schema),this.$nextTick(()=>{this.init()})},beforeDestroy(){this.$route.path!=="/"&&(sessionStorage.setItem(o,!1),sessionStorage.setItem(i,!1))},methods:{init(){this.$route.path==="/"&&(this.$sendEventToSentry("perf.isNewMainPage",{duration:!0}),P(g.newMainPageView),this.getProductForSurvey(),this.openNotificationsModal())},openNotificationsModal(){this.$route.hash===S&&!this.$hasMobileScreenSize&&!this.isAnonymous&&this.$modal.open("NotificationsModal",{},{isRightSide:!0})},async getProductForSurvey(){if(!this.isAnonymous&&this.isProductRatingModalEnabled){let s=JSON.parse(sessionStorage.getItem(i));if(s===null&&(s=!0,sessionStorage.setItem(i,!0),sessionStorage.setItem(o,!0)),s){const{showSplash:t,showBonusSplash:e,countToShowSplash:u,daysSinceLastOrder:d}=this.schema;try{const a=e?"ReviewV3":"ReviewV2",l=e?"getUserReviewV3Queue":"getUserReviewV2Queue",n={limit:this.bonusLimit};
1e&&(n.countToShowSplash=u,n.daysSinceLastOrder=d);const{records:r,limit:m,bonusMax:c}=await this.$api.Reviews[a][l](n);this.countProduct=r.length,this.countProduct&&(this.records=r,this.limit=m,t&&e&&(this.bonusMax=c),JSON.parse(sessionStorage.getItem(o))?this.isPopup=!0:this.callProductRatingModal(),this.$sendGA4Event({name:"view_review_popup",num_products:this.limit,step:1,has_promo:!!this.bonusMax}))}catch(a){console.error(a)}}}},callProductRatingModal(){this.$modal.open("ProductRatingModal",{records:this.records,bonusMax:this.bonusMax},{customClass:"le-modal--product-rating-modal"})},handleClose(s){s?this.callProductRatingModal():(sessionStorage.setItem(i,!1),sessionStorage.setItem(o,!1),this.sendRatingPopupEvent(R.drop)),this.isPopup=!1},sendRatingPopupEvent(s){this.$ddm.sendProductRatingEvent(s,this.ddmLabel)}}};var I=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"fragment",rawName:"v-fragment"}]},[e("div",{staticClass:"universal-template"},[t._t("header"),t._v(" "),e("div",{staticClass:"universal-template__content"},[t._t("content")],2),t._v(" "),t._t("footer"),t._v(" "),t.isPopup?e("ProductRatingPopup",{attrs:{items:t.records,bonusMax:t.bonusMax,handleClose:t.handleClose},on:{sendRatingPopupEvent:t.sendRatingPopupEvent}}):t._e()],2),t._v(" "),t._t("cookiePopup")],2)},w=[],N=M(b,I,w,!1,null,null,null,null);const F=N.exports;export{F as default};
2//# sourceMappingURL=WebPageUniversalTemplate-86a31df8.js.map

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.