PageSourceSearch

https://sushiman75.ru/_nuxt/DMSYOhVs.js

js sushiman75.ru collected 2026-09-29 19:58:44 UTC 3,191 bytes, 1 lines download raw bytes

1import{aK as M,b5 as V,bF as p,aL as a,aM as y,bu as i,bl as n,b3 as o,co as g,b2 as f,a$ as v,b1 as h,be as C,bf as w,d_ as T,cb as l,aV as _,c2 as S,bA as b,aW as E,bH as c,aO as L,b6 as k}from"./BLbFcDY4.js";import{$ as I}from"./-JFlTWVS.js";import{M as B}from"./DmCUTRre.js";import{S as O}from"./qUlMV1I7.js";import"./B7uMGFeA.js";import"./FRy1XGnn.js";import"./BZBo22dV.js";import"./BBc-HqvA.js";import"./CxmoOdYF.js";import"./CvKwkNo4.js";import"./I-GFd47M.js";import"./DVRaenKL.js";import"./BpaxzZIE.js";import"./ICV3vbNf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="ae3fd324-c438-458d-a6b6-86dc2c7c7315",e._sentryDebugIdIdentifier="sentry-dbid-ae3fd324-c438-458d-a6b6-86dc2c7c7315")}catch{}})();const P={name:"SavedAddressesModal",mixins:[B],components:{SavedDeliveryAddressCard:O,GButton:V},data(){return{addressValue:""}},computed:{PlusIcon(){return I},ButtonView(){return k},...c(L,["state"]),...c(b,["getOpenedModal"]),...c(S,["deliveryAddress","getCurrentGeoPosition","deliveryType","city"]),currentModalData(){return this.getOpenedModal.modalData},isDeliveryLoading(){return _().isLoading(E.SET_DELIVERY)}},methods:{...l(b,["openModal"]),...l(S,["setDelivery"]),...l(_,["isLoading"]),changeHandler(e){this.addressValue=e},openAddressSelectingModal(){this.openModal({modalName:"AddressSelecting",componentProps:{isCustomLayout:!0}}),this.closeModal()},async choseAddress(){const e=this.state.addresses.find(d=>d.id.toString()===this.addressValue),s=e?.lat===this.deliveryAddress.lat&&e?.lon===this.deliveryAddress.lon;if(e&&!s){const d={city_id:this.city.id,delivery_type:this.deliveryType,is_preserve_delivery_time:!0,check_stop:T,is_geolocation_allowed:!this.getCurrentGeoPosition,delivery_address:{...e}};await this.setDelivery(d)}this.closeModal()}},mounted(){this.modalData?.savedAddress?this.addressValue=this.currentModalData.savedAddress.id.toString():this.addressValue=this.state.addresses[0].id.toString()}},N={class:"modal__subtitle"},G={class:"modal__content"};function Y(e,s,d,F,u,t){const m=p("GButton"),A=p("SavedDeliveryAddressCard");return a(),y("div",null,[(a(),i(g,{defer:"",to:e.teleportToTitle},[n(o(e.$t("chooseDeliveryAddress")),1)],8,["to"])),f("span",N,o(e.$t("changingYourAddressMayAffectYourCartContentsMinimumOrderValueAndDeliveryTime")),1),f("div",G,[v(m,{view:t.ButtonView.SECONDARY,"icon-left":t.PlusIcon,onClick:t.openAddressSelectingModal},{default:h(()=>[n(o(e.$t("addNewAddress")),1)]),_:1},8,["view","icon-left","onClick"]),(a(!0),y(C,null,w(e.state.addresses,r=>(a(),i(A,{key:r.id,modelValue:u.addressValue,"onUpdate:modelValue":s[0]||(s[0]=D=>
1u.addressValue=D),address:r,value:r.id.toString(),"is-radio":"",onChange:t.changeHandler},null,8,["modelValue","address","value","onChange"]))),128))]),(a(),i(g,{defer:"",to:e.teleportToFooter},[v(m,{loading:t.isDeliveryLoading,onClick:t.choseAddress},{default:h(()=>[n(o(e.$t("choose")),1)]),_:1},8,["loading","onClick"])],8,["to"]))])}const ee=M(P,[["render",Y],["__scopeId","data-v-86472c79"]]);export{ee as default};

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.