PageSourceSearch

https://sushi-pizzi.ru/assets/chunks/chunk-DDEBKZQI.js

js sushi-pizzi.ru collected 2026-10-04 23:51:57 UTC 12,750 bytes, 1 lines download raw bytes

1import{at as j,ax as $,bl as F,bm as J,aC as D,bn as Q,bo as z,bp as P,aM as X,bq as Y,br as Z,b1 as ee,bh as te,as as ae,aO as re,a_ as ne,b7 as ie,a0 as _,bs as ce,b4 as I,bt as oe,ay as x}from"../entries/pages_all.B9d1a0j8.js";import{u as M}from"./chunk-C9h-WO2w.js";import{u as se}from"./chunk-DfofpYiH.js";import{b as ue,A as b,c as S}from"./chunk-3PHRJ91y.js";import{r as de}from"./chunk-BB0QfTD6.js";import{A as le}from"./chunk-Cqw-YRbE.js";import"./chunk-BXl3LOEh.js";var O={},y={},R={},V;function G(){if(V)return R;V=1;var s=R&&R.__awaiter||function(p,t,e,a){function c(n){return n instanceof e?n:new e(function(u){u(n)})}return new(e||(e=Promise))(function(n,u){function f(l){try{r(a.next(l))}catch(m){u(m)}}function i(l){try{r(a.throw(l))}catch(m){u(m)}}function r(l){l.done?n(l.value):c(l.value).then(f,i)}r((a=a.apply(p,t||[])).next())})},C=R&&R.__generator||function(p,t){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,c,n,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(l){return i([r,l])}}function i(r){if(a)throw new TypeError("Generator is already executing.");for(;u&&(u=0,r[0]&&(e=0)),e;)try{if(a=1,c&&(n=r[0]&2?c.return:r[0]?c.throw||((n=c.return)&&n.call(c),0):c.next)&&!(n=n.call(c,r[1])).done)return n;switch(c=0,n&&(r=[r[0]&2,n.value]),r[0]){case 0:case 1:n=r;break;case 4:return e.label++,{value:r[1],done:!1};case 5:e.label++,c=r[1],r=[0];continue;case 7:r=e.ops.pop(),e.trys.pop();continue;default:if(n=e.trys,!(n=n.length>0&&n[n.length-1])&&(r[0]===6||r[0]===2)){e=0;continue}if(r[0]===3&&(!n||r[1]>n[0]&&r[1]<n[3])){e.label=r[1];break}if(r[0]===6&&e.label<n[1]){e.label=n[1],n=r;break}if(n&&e.label<n[2]){e.label=n[2],e.ops.push(r);break}n[2]&&e.ops.pop(),e.trys.pop();continue}r=t.call(p,e)}catch(l){r=[6,l],c=0}finally{a=n=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};Object.defineProperty(R,"__esModule",{value:!0}),R.ReCaptchaInstance=void 0;var d=(function(){function p(t,e,a){this.siteKey=t,this.recaptchaID=e,this.recaptcha=a,this.styleContainer=null}return p.prototype.execute=function(t){return s(this,void 0,void 0,function(){var e;return C(this,function(a){switch(a.label){case 0:return this.recaptcha.enterprise?[4,this.recaptcha.enterprise.execute(this.recaptchaID,{action:t})]:[3,2];case 1:return e=a.sent(),[3,4];case 2:return[4,this.recaptcha.execute(this.recaptchaID,{action:t})];case 3:e=a.sent(),a.label=4;case 4:return[2,e]}})})},p.prototype.getSiteKey=function(){return this.siteKey},p.prototype.hideBadge=function(){this.styleContainer===null&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},p.prototype.showBadge=function(){this.styleContainer!==null&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},p})();return R.ReCaptchaInstance=d,R}var N;function he(){if(N)return y;N=1;var s=y&&y.__assign||function(){return s=Object.assign||function(t){for(var e,a=1,c=arguments.length;a<c;a++){e=arguments[a];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},s.apply(this,arguments)};Object.defineProperty(y,"__esModule",{value:!0}),y.getInstance=y.load=void 0;var C=G(),d;(function(t){t[t.NOT_LOADED=0]="NOT_LOADED",t[t.LOADING=1]="LOADING",t[t.LOADED=2]="LOADED"})(d||(d={}));var p=(function(){function t(){}return t.load=function(e,a){if(a===void 0&&(a={}),typeof document>"u")return Promise.reject(new Error("This is a library for the browser!"));if(t.getLoadingState()===d.LOADED)return t.instance.getSiteKey()===e?Promise.resolve(t.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(t.getLoadingState()===d.LOADING)return e!==t.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(n,u){t.successfulLoadingConsumers.push(function(f){return n(f)}),t.errorLoadingRunnable.push(function(f){return u(f)})});t.instanceSiteKey=e,t.setLoadingState(d.LOADING);var c=new t;return new Promise(function(n,u){c.loadScript(e,a.useRecaptchaNet||!1,a.useEnterprise||!1,a.renderParameters?a.renderParameters:{},a.customUrl).then(function(){t.setLoadingState(d.LOADED);var f=c.doExplicitRender(grecaptcha,e,a.explicitRenderParameters?a.explicitRenderParameters:{},a.useEnterprise||!1),i=new C.ReCaptchaInstance(e,f,grecaptcha);
1t.successfulLoadingConsumers.forEach(function(r){return r(i)}),t.successfulLoadingConsumers=[],a.autoHideBadge&&i.hideBadge(),t.instance=i,n(i)}).catch(function(f){t.errorLoadingRunnable.forEach(function(i){return i(f)}),t.errorLoadingRunnable=[],u(f)})})},t.getInstance=function(){return t.instance},t.setLoadingState=function(e){t.loadingState=e},t.getLoadingState=function(){return t.loadingState===null?d.NOT_LOADED:t.loadingState},t.prototype.loadScript=function(e,a,c,n,u){var f=this;a===void 0&&(a=!1),c===void 0&&(c=!1),n===void 0&&(n={}),u===void 0&&(u="");var i=document.createElement("script");i.setAttribute("recaptcha-v3-script",""),i.setAttribute("async",""),i.setAttribute("defer","");var r="https://www.google.com/recaptcha/api.js";a?c?r="https://recaptcha.net/recaptcha/enterprise.js":r="https://recaptcha.net/recaptcha/api.js":c&&(r="https://www.google.com/recaptcha/enterprise.js"),u&&(r=u),n.render&&(n.render=void 0);var l=this.buildQueryString(n);return i.src=r+"?render=explicit"+l,new Promise(function(m,A){i.addEventListener("load",f.waitForScriptToLoad(function(){m(i)},c),!1),i.onerror=function(T){t.setLoadingState(d.NOT_LOADED),A(T)},document.head.appendChild(i)})},t.prototype.buildQueryString=function(e){var a=Object.keys(e);return a.length<1?"":"&"+Object.keys(e).filter(function(c){return!!e[c]}).map(function(c){return c+"="+e[c]}).join("&")},t.prototype.waitForScriptToLoad=function(e,a){var c=this;return function(){window.grecaptcha===void 0?setTimeout(function(){c.waitForScriptToLoad(e,a)},t.SCRIPT_LOAD_DELAY):a?window.grecaptcha.enterprise.ready(function(){e()}):window.grecaptcha.ready(function(){e()})}},t.prototype.doExplicitRender=function(e,a,c,n){var u=s({sitekey:a},c);return c.container?n?e.enterprise.render(c.container,u):e.render(c.container,u):n?e.enterprise.render(u):e.render(u)},t.loadingState=null,t.instance=null,t.instanceSiteKey=null,t.successfulLoadingConsumers=[],t.errorLoadingRunnable=[],t.SCRIPT_LOAD_DELAY=25,t})();return y.load=p.load,y.getInstance=p.getInstance,y}var K;function fe(){return K||(K=1,(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.ReCaptchaInstance=s.getInstance=s.load=void 0;var C=he();Object.defineProperty(s,"load",{enumerable:!0,get:function(){return C.load}}),Object.defineProperty(s,"getInstance",{enumerable:!0,get:function(){return C.getInstance}});var d=G();Object.defineProperty(s,"ReCaptchaInstance",{enumerable:!0,get:function(){return d.ReCaptchaInstance}})})(O)),O}var pe=fe();const E={CHALLENGE_HIDDEN:"challenge-hidden",NETWORK_ERROR:"network-error",JAVASCRIPT_ERROR:"javascript-error",SUCCESS:"success",TOKEN_EXPIRED:"token-expired"};let L,k,v;const Ce=async()=>{window.smartCaptcha||await new Promise((s,C)=>{const d=document.createElement("script");d.src=Q,d.async=!0;const p=setTimeout(()=>C(new Error("smartCaptcha script timeout")),z),t=e=>{clearTimeout(p),Reflect.deleteProperty(window,P),e?C(e):s()};Reflect.set(window,P,()=>{t(window.smartCaptcha?void 0:new Error("smartCaptcha is ready without window.smartCaptcha"))}),d.addEventListener("error",()=>t(new Error("smartCaptcha script failed to load"))),document.head.append(d)})},ge=({pinia:s,language:C})=>{const d=M(s),p=j(s),t=$(),e=(i,r)=>{t.post("/api/client-log",{type:i,href:window.location.href,error:D(r)}).catch(()=>{})},a=i=>{const{subscribe:r}=window.smartCaptcha??{};r&&(r(i,E.SUCCESS,l=>{v?.(typeof l=="string"?l:window.smartCaptcha?.getResponse(i))}),r(i,E.CHALLENGE_HIDDEN,()=>v?.(void 0)),r(i,E.NETWORK_ERROR,()=>{e("smartCaptchaNetworkError",new Error("smartCaptcha network-error")),v?.(void 0)}),r(i,E.JAVASCRIPT_ERROR,l=>{e("smartCaptchaJavascriptError",l),v?.(void 0)}),r(i,E.TOKEN_EXPIRED,()=>{}))},c=async()=>{await Ce();const i=p.smartCaptchaClientKey,r=document.getElementById(J);if(!window.smartCaptcha||!r||!i)throw new Error("smartCaptcha is not ready: no widget, container or sitekey");const l=window.smartCaptcha.render(r,{sitekey:i,invisible:!0,hideShield:!0,hl:C,test:!1});return d.$patch({widgetIdSmartCaptcha:l}),a(l),l},n=async()=>d.widgetIdSmartCaptcha!==-1?d.widgetIdSmartCaptcha:(L??=c().catch(i=>{e("smartCaptchaRender",i),L=void 0}),L),u=async i=>await new Promise(l=>{const m=setTimeout(l,F,void 0);v=A=>{clearTimeout(m),v=void 0,l(A)},window.smartCaptcha?.reset(i),window.smartCaptcha?.execute(i)});return{executeSmartCaptcha:async()=>{k??=(async()=>{const i=await n();if(i!==void 0)return u(i)})();try{return await k}finally{k=void 0}}}},we=["/api/geocoding/search","/api/geocoding/reverse","/api/firm/order","/api/firm/vacancies?action=new_candidate","/api/firm/feedback?action=new","/api/payment","/api/payment?action=new","/api/payment?action=check","/api/client?action=info",...Object.values(Y).map(s=>`/api/client?action=${s}`),"/api/client?action=sign_out","/api/client?action=update","/api/client?action=bonuses","/api/client?action=delete","/api/client?action=download",...Object.values(le).map(s=>`/api/client/address?action=${s}`),"/api/client/favorite_items","/api/client/favorite_items?action=update","/api/client/history_orders",...Object.values(Z).map(s=>`/api/client/history_order?action=${s}`)],H=s=>{let C="",d="";X(s)?(C=s.path,d=s.query.action?.toString()??""):(C=s.url??"",d=s.params?.action);const p=`${C}${d?`?action=${d}`:""}`;return we.includes(p)},_e=({app:s,store:C,i18n:d})=>
1{const p=d.global.t,t=ee(),e=$(),a=M(C),{widgetIdV2:c}=te(a),n=ae(),u=j(C),f=s.runWithContext(()=>se());async function i(o){const h=o??"";try{if(!f)throw new Error("VK bridge instance is not provided");if(f.isStandalone())throw new Error("VK bridge is standalone — VKWebAppCreateHash would hang");const{sign:g,ts:w}=await f.send("VKWebAppCreateHash",{payload:h});return{[S.SIGN]:g,[S.SIGN_TS]:String(w),[S.SIGN_PAYLOAD]:h,[S.VK_USER_ID]:u.vkUserId??void 0,[S.VK_APP_ID]:u.vkAppId??void 0}}catch(g){e.post("/api/client-log",{type:"vkCreateHash",href:window.location.href,error:D(g)}).catch(()=>{});return}}async function r(){try{const h=await(await pe.load("6LfYjhwhAAAAALgDQAv8tiezwX2LhcbGwJVNEGJl",{autoHideBadge:!0})).execute("login");a.$patch({reCaptchaTokenV3:h}),I(t,_.RECAPTCHA_TOKEN,h)}catch(o){e.post("/api/client-log",{type:"executeReCaptchaV3",href:window.location.href,error:D(o)}).catch(()=>{})}}async function l(o){(!a.reCaptchaTokenV3||o)&&await r()}async function m(){const{executeSmartCaptcha:o}=s.runWithContext(()=>ge({pinia:C,language:oe(x(d.global))})),h=await o();h&&(a.$patch({smartCaptchaToken:h}),I(t,_.SMART_CAPTCHA_TOKEN,h))}async function A(o){(!a.smartCaptchaToken||o)&&await m()}const T=()=>{a.$patch({reCaptchaTokenV2:void 0})},B=o=>{a.$patch({reCaptchaTokenV2:o})},U=()=>{a.$patch({reCaptchaTokenV2:void 0})};function W(){if(c.value===-1){const o=window.grecaptcha.render("invisible-recaptcha",{sitekey:"6LeljxwhAAAAAKnyDi3ggS2hGcgWkB1spQGzpwIg",theme:"dark",hl:x(d.global),callback:B,"expired-callback":U,"error-callback":T,size:"invisible"});a.$patch({widgetIdV2:o})}else window.grecaptcha.reset(a.widgetIdV2);window.grecaptcha.execute(a.widgetIdV2)}function q(o,h){const g=o?.errorRecaptchaVerify||{};return g.error?g.needExecuteCaptcha&&!h?{error:!0,againRequest:!0}:g.needExecuteV3&&!h?{error:!0,againRequest:!0}:g.needExecuteV2?(W(),{error:!0}):(n.changeWarning({msg:p("errorRecaptcha")}),{error:!0}):{error:!1}}e.interceptors.request.use(async o=>{let h;if(H(o)&&(u.platform===re.VK&&(h=await i(o.url)),!h)){const w=!!o.params?.again;u.isSmartCaptcha?(await A(w),h={[ue.SMART_CAPTCHA_TOKEN]:a.smartCaptchaToken}):(await l(w),h={reCaptchaTokenV3:a.reCaptchaTokenV3,reCaptchaTokenV2:a.reCaptchaTokenV2})}const g=de({...h,[b.USER_ACCESS_TOKEN]:a.userAccessToken});for(const w of ne(g))g[w]&&o.headers.set(w,g[w]);return o}),e.interceptors.response.use(async o=>{if(H(o.config)){const g=!!o.config.params?.again,w=q(o.data,g);if(w.error)return a.$patch({userAccessToken:void 0}),ie(t,_.USER_ACCESS_TOKEN),o.config.headers.delete(b.USER_ACCESS_TOKEN),w.againRequest&&(o.config.params||(o.config.params={}),o.config.params.again=!0,o=await e.request(o.config)),o}const h=o.headers instanceof ce?o.headers.get(b.USER_ACCESS_TOKEN)?.toString():o.headers[b.USER_ACCESS_TOKEN]?.toString();return h&&(I(t,_.USER_ACCESS_TOKEN,h),a.$patch({userAccessToken:h})),o})};export{_e 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.