PageSourceSearch

https://app.paa.ge/static/js/8930.1c7a37ce.chunk.js

js paa.ge collected 2026-09-24 17:09:35 UTC 10,332 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklamaco=self.webpackChunklamaco||[]).push([[8930],{7423:(e,t,n)=>{n.d(t,{M$:()=>r,R_:()=>l,tg:()=>i});var c=n(59781),o=n(12836),a=n(96444),s=n(68262);function r(){const e=(0,c.jE)();return(0,o.n)({mutationFn:async e=>{let{id:t,role:n}=e;return(0,a.default)("/admin/invites/".concat(t),{method:"POST",data:{role:n}})},onSuccess:()=>{e.invalidateQueries(s.zP7.all)}})}function i(){const e=(0,c.jE)();return(0,o.n)({mutationFn:async e=>(0,a.default)("/admin/invites/".concat(e),{method:"DELETE"}),onSuccess:()=>{e.invalidateQueries(s.zP7.all)}})}function l(){return(0,o.n)({mutationFn:async e=>{let{token:t}=e;return(0,a.default)("/store/invites/accept",{method:"POST",data:{token:t}})},onSuccess:()=>{}})}},11645:(e,t,n)=>{n.d(t,{A:()=>c});const c=n(30227).A},30227:(e,t,n)=>{n.d(t,{A:()=>f});var c=n(65043),o=n(98139),a=n.n(o),s=n(35296),r=n(95150),i=n(56055),l=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(c=Object.getOwnPropertySymbols(e);o<c.length;o++)t.indexOf(c[o])<0&&Object.prototype.propertyIsEnumerable.call(e,c[o])&&(n[c[o]]=e[c[o]])}return n};function d(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}const u=["xs","sm","md","lg","xl","xxl"];const f=c.forwardRef((e,t)=>{const{getPrefixCls:n,direction:o}=c.useContext(s.QO),{gutter:f,wrap:p}=c.useContext(r.A),{prefixCls:v,span:h,order:m,offset:g,push:x,pull:y,className:b,children:j,flex:w,style:O}=e,A=l(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),E=n("col",v),[S,C,_]=(0,i.xV)(E),L={};let k={};u.forEach(t=>{let n={};const c=e[t];"number"===typeof c?n.span=c:"object"===typeof c&&(n=c||{}),delete A[t],k=Object.assign(Object.assign({},k),{["".concat(E,"-").concat(t,"-").concat(n.span)]:void 0!==n.span,["".concat(E,"-").concat(t,"-order-").concat(n.order)]:n.order||0===n.order,["".concat(E,"-").concat(t,"-offset-").concat(n.offset)]:n.offset||0===n.offset,["".concat(E,"-").concat(t,"-push-").concat(n.push)]:n.push||0===n.push,["".concat(E,"-").concat(t,"-pull-").concat(n.pull)]:n.pull||0===n.pull,["".concat(E,"-rtl")]:"rtl"===o}),n.flex&&(k["".concat(E,"-").concat(t,"-flex")]=!0,L["--".concat(E,"-").concat(t,"-flex")]=d(n.flex))});const M=a()(E,{["".concat(E,"-").concat(h)]:void 0!==h,["".concat(E,"-order-").concat(m)]:m,["".concat(E,"-offset-").concat(g)]:g,["".concat(E,"-push-").concat(x)]:x,["".concat(E,"-pull-").concat(y)]:y},b,k,C,_),P={};if(f&&f[0]>0){const e=f[0]/2;P.paddingLeft=e,P.paddingRight=e}return w&&(P.flex=d(w),!1!==p||P.minWidth||(P.minWidth=0)),S(c.createElement("div",Object.assign({},A,{style:Object.assign(Object.assign(Object.assign({},P),O),L),className:M,ref:t}),j))})},36362:(e,t,n)=>{n.d(t,{A:()=>i});const c=n.p+"static/media/loading-lama.bacf67dbc37df8e453db.gif",o=n.p+"static/media/400x133.da7b20f982a44cf2a6a0.gif";var a=n(57645),s=n(70579);const r=e=>{const{align:t,cover:n,color:r}=e;return(0,s.jsx)("div",{className:"loading text-".concat(t," cover-").concat(n),style:"black"!==r?{filter:"invert(100%)"}:{},children:(0,s.jsx)("img",{width:a.uY?140:70,src:a.uY?o:c,alt:"Loading..."})})};r.defaultProps={align:"center",cover:"inline",color:"black"};const i=r},40902:(e,t,n)=>{n.d(t,{A:()=>d});var c=n(11645),o=n(47419),a=n(36362),s=n(4686),r=(n(65043),n(74117)),i=n(73216),l=n(70579);const d=e=>{const{message:t,loading:n=!0,showButton:d=!1,textButton:u,pathButton:f,onButtonClick:p,subMessage:v,img:h}=e,m=(0,i.Zp)(),{t:g}=(0,r.Bd)("auth/referral");return(0,l.jsx)(o.A,{style:{height:"100vh"},children:(0,l.jsxs)(c.A,{span:24,className:"h-100 d-flex flex-column align-items-center justify-content-center",children:[n&&!h&&(0,l.jsx)(a.A,{}),n&&h&&(0,l.jsx)("img",{alt:"upgrade successful",src:h,width:200,height:200}),(0,l.jsx)("h3",{className:"mt-3",children:t||""}),v&&(0,l.jsx)("p",{className:"px-3 text-center",style:{whiteSpace:"pre-line"},children:v}),d&&(0,l.jsx)(s.Ay,{className:"mt-4",onClick:p||(()=>m(f||"/auth/login")),children:u||g("log_in")})]})})}},44210:(e,t,n)=>{n.d(t,{A:()=>
1o});var c=n(65043);function o(){const[,e]=c.useReducer(e=>e+1,0);return e}},44320:(e,t,n)=>{n.d(t,{Ay:()=>r,ye:()=>s});var c=n(65043),o=n(80167),a=n(77340);const s=["xxl","xl","lg","md","sm","xs"],r=()=>{const[,e]=(0,o.Ay)(),t=(e=>({xs:"(max-width: ".concat(e.screenXSMax,"px)"),sm:"(min-width: ".concat(e.screenSM,"px)"),md:"(min-width: ".concat(e.screenMD,"px)"),lg:"(min-width: ".concat(e.screenLG,"px)"),xl:"(min-width: ".concat(e.screenXL,"px)"),xxl:"(min-width: ".concat(e.screenXXL,"px)")}))((e=>{const t=e,n=[].concat(s).reverse();return n.forEach((e,c)=>{const o=e.toUpperCase(),a="screen".concat(o,"Min"),s="screen".concat(o);if(!(t[a]<=t[s]))throw new Error("".concat(a,"<=").concat(s," fails : !(").concat(t[a],"<=").concat(t[s],")"));if(c<n.length-1){const e="screen".concat(o,"Max");if(!(t[s]<=t[e]))throw new Error("".concat(s,"<=").concat(e," fails : !(").concat(t[s],"<=").concat(t[e],")"));const a=n[c+1].toUpperCase(),r="screen".concat(a,"Min");if(!(t[e]<=t[r]))throw new Error("".concat(e,"<=").concat(r," fails : !(").concat(t[e],"<=").concat(t[r],")"))}}),e})(e));return c.useMemo(()=>{const e=new Map;let n=-1,c={};return{responsiveMap:t,matchHandlers:{},dispatch:t=>(c=t,e.forEach(e=>e(c)),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(c),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},register(){Object.entries(t).forEach(e=>{let[t,n]=e;const o=e=>{let{matches:n}=e;this.dispatch(Object.assign(Object.assign({},c),{[t]:n}))},s=window.matchMedia(n);(0,a.e)(s,o),this.matchHandlers[n]={mql:s,listener:o},o(s)})},unregister(){Object.values(t).forEach(e=>{const t=this.matchHandlers[e];(0,a.p)(null===t||void 0===t?void 0:t.mql,null===t||void 0===t?void 0:t.listener)}),e.clear()}}},[e])}},47419:(e,t,n)=>{n.d(t,{A:()=>c});const c=n(74647).A},74647:(e,t,n)=>{n.d(t,{A:()=>p});var c=n(65043),o=n(98139),a=n.n(o),s=n(44320),r=n(35296),i=n(99598);var l=n(95150),d=n(56055),u=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(c=Object.getOwnPropertySymbols(e);o<c.length;o++)t.indexOf(c[o])<0&&Object.prototype.propertyIsEnumerable.call(e,c[o])&&(n[c[o]]=e[c[o]])}return n};function f(e,t){const[n,o]=c.useState("string"===typeof e?e:"");return c.useEffect(()=>{(()=>{if("string"===typeof e&&o(e),"object"===typeof e)for(let n=0;n<s.ye.length;n++){const c=s.ye[n];if(!t||!t[c])continue;const a=e[c];if(void 0!==a)return void o(a)}})()},[JSON.stringify(e),t]),n}const p=c.forwardRef((e,t)=>{const{prefixCls:n,justify:o,align:p,className:v,style:h,children:m,gutter:g=0,wrap:x}=e,y=u(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:b,direction:j}=c.useContext(r.QO),w=(0,i.A)(!0,null),O=f(p,w),A=f(o,w),E=b("row",n),[S,C,_]=(0,d.L3)(E),L=function(e,t){const n=[void 0,void 0],c=Array.isArray(e)?e:[e,void 0],o=t||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0};return c.forEach((e,t)=>{if("object"===typeof e&&null!==e)for(let c=0;c<s.ye.length;c++){const a=s.ye[c];if(o[a]&&void 0!==e[a]){n[t]=e[a];break}}else n[t]=e}),n}(g,w),k=a()(E,{["".concat(E,"-no-wrap")]:!1===x,["".concat(E,"-").concat(A)]:A,["".concat(E,"-").concat(O)]:O,["".concat(E,"-rtl")]:"rtl"===j},v,C,_),M={},P=null!=L[0]&&L[0]>0?L[0]/-2:void 0;P&&(M.marginLeft=P,M.marginRight=P);const[N,B]=L;M.rowGap=B;const R=c.useMemo(()=>({gutter:[N,B],wrap:x}),[N,B,x]);return S(c.createElement(l.A.Provider,{value:R},c.createElement("div",Object.assign({},y,{className:k,style:Object.assign(Object.assign({},M),h),ref:t}),m)))})},77340:(e,t,n)=>{n.d(t,{e:()=>c,p:()=>o});const c=(e,t)=>{"undefined"!==typeof(null===e||void 0===e?void 0:e.addEventListener)?e.addEventListener("change",t):"undefined"!==typeof(null===e||void 0===e?void 0:e.addListener)&&e.addListener(t)},o=(e,t)=>{"undefined"!==typeof(null===e||void 0===e?void 0:e.removeEventListener)?e.removeEventListener("change",t):"undefined"!==typeof(null===e||void 0===e?void 0:e.removeListener)&&e.removeListener(t)}},79947:(e,t,n)=>{n.r(t),n.d(t,{default:()=>h});var c=n(65043),o=n(73216),a=n(95406),s=n(74117),r=n(7423),i=n(40902),l=n(49817),d=n(85973),u=n(59781),f=n(63952),p=n(70579);const v=()=>{const e=(0,o.Zp)(),t=(0,o.zy)(),{t:n}=(0,s.Bd)("invite/index"),v=(0,u.jE)(),{mutateAsync:h}=(0,r.R_)(),{token:m}=(0,a.IT)(),{setSelectedStore:g,token:x}=(0,l.h)(),{user:y}=(0,d.F7)(),{handleLogout:b}=(0,d.F7)(),[j,w]=(0,c.useState)(!1),[O,A]=(0,c.useState)(null);(0,c.useEffect)(()=>{m&&(!x||null!==y&&void 0!==y&&y.id)&&(async()=>{try{const t=await h({token:m});x&&t.user_id===(null===y||void 0===y?void 0:y.id)?(null!==t&&void 0!==t&&t.store_id&&(g
1(null===t||void 0===t?void 0:t.store_id,(null===y||void 0===y?void 0:y.id)||""),v.invalidateQueries()),(null===t||void 0===t?void 0:t.role)===d.VK.VIEWER?e("/orders?inviteAccepted=true"):e("/my-page?inviteAccepted=true")):w((null===t||void 0===t?void 0:t.eshop_handle)||!0)}catch(c){var t,n;A((null===c||void 0===c||null===(t=c.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.type)||"invite_error")}})()},[m,y]);return(0,p.jsx)(i.A,{message:O||j?"":n("checking_invite"),subMessage:j?n("invite_accepted.message",{name:!0!==j?j:""}):O?n("invalid_email"===O?"invalid_email":"invite_error"):void 0,textButton:j?n("log_in"):"invalid_email"===O?n("log_out"):void 0,showButton:!("invalid_email"!==O&&!j),onButtonClick:"invalid_email"===O?()=>{b()}:j?()=>{x&&b(),e("".concat(f.MG).concat(f.ij,"?").concat(f.bS,"=").concat(encodeURIComponent(t.pathname+t.search),"&").concat(t.search))}:void 0})},h=()=>(0,p.jsx)(o.BV,{children:(0,p.jsx)(o.qh,{path:"*",element:(0,p.jsx)(v,{})})})},95150:(e,t,n)=>{n.d(t,{A:()=>c});const c=(0,n(65043).createContext)({})},99598:(e,t,n)=>{n.d(t,{A:()=>r});var c=n(65043),o=n(52664),a=n(44210),s=n(44320);const r=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,c.useRef)(t),r=(0,a.A)(),i=(0,s.Ay)();return(0,o.A)(()=>{const t=i.subscribe(t=>{n.current=t,e&&r()});return()=>i.unsubscribe(t)},[]),n.current}}}]);

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.