PageSourceSearch

https://dietly.pl/_next/static/chunks/pages/profil-dietly/historia-zamowien-08432da3919c3150.js

js dietly.pl collected 2026-10-02 06:23:11 UTC 46,549 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[984,7505],{3209:e=>{e.exports={"cell-catering":"history_cell-catering__gMbJh","cell-cost":"history_cell-cost__k0Kxm","cell-date":"history_cell-date__na0jY","cell-delivery":"history_cell-delivery__PYGyf","cell-feedback":"history_cell-feedback__IXF4j","cell-feedback--active":"history_cell-feedback--active__1HZ_R history_cell-feedback__IXF4j","cell-order":"history_cell-order__nAZcd",fallback:"history_fallback__Y6fJM","grid-container":"history_grid-container__NDMst","grid-head":"history_grid-head__sIb_3","grid-head--finish":"history_grid-head--finish__uI58G history_grid-head__sIb_3","grid-head--start":"history_grid-head--start__Jx92l history_grid-head__sIb_3","grid-row":"history_grid-row__acbmG",loader:"history_loader__AWLiv",logo:"history_logo__C0py4","page-number":"history_page-number__7Ifvt",pagination:"history_pagination__Dh5j5","pagination-form":"history_pagination-form___mTbr","pagination-input":"history_pagination-input__g3Ijf",repeat:"history_repeat__XHyN0","repeat--disabled":"history_repeat--disabled__pXCUT history_repeat__XHyN0"}},5156:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(37876),a=r(52276),l=r(84371),i=r(6164);let o=e=>{let{containerClass:t,onClick:r,width:o}=e,c=[1,2,3,4,5];return(0,n.jsxs)("div",{className:(0,i.F)("star-rating",{["".concat(t)]:!!t}),children:[(0,n.jsx)("div",{className:"star-rating-top",style:{width:o+"%"},children:c.map(e=>(0,n.jsx)(l.gc,{icon:a.yy,onClick:()=>r&&r(e)},e))}),(0,n.jsx)("div",{className:"star-rating-bottom",children:c.map(e=>(0,n.jsx)(l.gc,{icon:a.yy,onClick:()=>r&&r(e)},e))})]})}},10593:()=>{},11230:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(37876);let a=e=>{let{className:t,color:r="#62748C",height:a="24",id:l="showPassword",onClick:i,width:o="24"}=e;return(0,n.jsx)("svg",{className:t,fill:"none",height:a,id:l,onClick:i,viewBox:"0 0 24 24",width:o,xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M21.9199 11.6C19.8999 6.91 16.0999 4 11.9999 4C7.89994 4 4.09994 6.91 2.07994 11.6C2.02488 11.7262 1.99646 11.8623 1.99646 12C1.99646 12.1377 2.02488 12.2738 2.07994 12.4C4.09994 17.09 7.89994 20 11.9999 20C16.0999 20 19.8999 17.09 21.9199 12.4C21.975 12.2738 22.0034 12.1377 22.0034 12C22.0034 11.8623 21.975 11.7262 21.9199 11.6ZM11.9999 18C8.82994 18 5.82994 15.71 4.09994 12C5.82994 8.29 8.82994 6 11.9999 6C15.1699 6 18.1699 8.29 19.8999 12C18.1699 15.71 15.1699 18 11.9999 18ZM11.9999 8C11.2088 8 10.4355 8.2346 9.77766 8.67412C9.11987 9.11365 8.60718 9.73836 8.30443 10.4693C8.00168 11.2002 7.92246 12.0044 8.0768 12.7804C8.23114 13.5563 8.61211 14.269 9.17152 14.8284C9.73093 15.3878 10.4437 15.7688 11.2196 15.9231C11.9955 16.0775 12.7998 15.9983 13.5307 15.6955C14.2616 15.3928 14.8863 14.8801 15.3258 14.2223C15.7653 13.5645 15.9999 12.7911 15.9999 12C15.9999 10.9391 15.5785 9.92172 14.8284 9.17157C14.0782 8.42143 13.0608 8 11.9999 8ZM11.9999 14C11.6044 14 11.2177 13.8827 10.8888 13.6629C10.5599 13.4432 10.3036 13.1308 10.1522 12.7654C10.0008 12.3999 9.9612 11.9978 10.0384 11.6098C10.1155 11.2219 10.306 10.8655 10.5857 10.5858C10.8654 10.3061 11.2218 10.1156 11.6098 10.0384C11.9977 9.96126 12.3999 10.0009 12.7653 10.1522C13.1308 10.3036 13.4431 10.56 13.6629 10.8889C13.8826 11.2178 13.9999 11.6044 13.9999 12C13.9999 12.5304 13.7892 13.0391 13.4142 13.4142C13.0391 13.7893 12.5304 14 11.9999 14Z",fill:r})})}},12893:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});var n=function(e){return e.NOT_PAID="NOT_PAID",e.PAID="PAID",e.NEEDS_VERIFICATION="NEEDS_VERIFICATION",e}({})},16806:(e,t,r)=>{"use strict";r.d(t,{K:()=>c});var n=r(37876),a=r(14232),l=r(11230),i=r(43748),o=r(6164);let c=e=>{let{containerClass:t,dataCy:r,disabled:c,errorMsg:s,hasError:d=!1,inputClassName:u,label:p,maskCharacter:m,maskPattern:f,max:h,min:v,name:y,onKeyDown:_,passwordInput
1:g,placeholder:C,register:b,required:j,showWheel:w=!1,style:x="default",type:k="text",validation:N}=e,[E,R]=(0,a.useState)(k),O=!!s||d,I=(0,o.F)("label-m mb-2 flex w-full flex-wrap justify-between text-gray-500",{"text-error":O}),A=(0,o.F)(["block w-full rounded-md border border-gray-200 p-4 text-base text-gray-800","placeholder:text-gray-400","focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary","disabled:bg-gray-100 disabled:text-gray-400","transition-all duration-150",null!=u?u:""],{"!border-error focus:!border-error focus:!ring-error":O,"pr-[50px]":!!g,"-moz-appearance-[textfield] [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none":"number"===k,"bg-transparent text-white focus:border-white":"ghost"===x});return(0,n.jsxs)("div",{className:(0,o.F)(["",null!=t?t:""]),children:[p&&(0,n.jsx)("div",{className:"flex items-center justify-between",children:(0,n.jsx)("label",{className:I,htmlFor:y,children:(0,n.jsxs)("div",{children:[p," ",j&&(0,n.jsx)("span",{className:"color-error",children:"*"})]})})}),(0,n.jsxs)("div",{className:"relative",children:[f?(0,n.jsx)(i.A,{className:A,"data-cy":r,"data-lpignore":"true",disabled:c,id:y,mask:f,onKeyDown:_,placeholder:C,replacement:{9:/\d/,a:/[A-Za-z]/,"*":/[\w]/},separate:!0,showMask:!!m,type:E,...b(y,N)}):(0,n.jsx)("input",{className:A,"data-cy":r,"data-lpignore":"true",disabled:c,id:y,max:h,min:v,onKeyDown:_,placeholder:C,type:E,...b(y,N),onWheel:e=>{w||"number"!==E||(e.preventDefault(),e.currentTarget.blur(),e.stopPropagation())}}),g&&(0,n.jsx)(l.A,{className:"absolute right-5 top-1/2 z-10 -translate-y-1/2 cursor-pointer text-gray-400 transition-colors hover:text-primary",onClick:()=>{"password"===E?R("text"):R("password")}})]}),s&&" "!==s&&(0,n.jsx)("span",{className:"body-m ml-1 mt-2 block !text-error",children:s})]})}},17271:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(37876),a=r(77328),l=r.n(a),i=r(89099),o=r(35162);let c=e=>{let{hrefToMainPage:t=!1,isChooseDiet:r=!1}=e,a=(0,i.useRouter)();return(0,n.jsx)(l(),{children:(0,n.jsx)("link",{href:t?(0,o.$z)(a.asPath):r?(0,o.A_)(a.asPath):(0,o.$i)(a.asPath),rel:"canonical"})})}},25215:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(80094),a=r(89099);let l=()=>{let e=(0,a.useRouter)();return{redirectToOrderFormWithParams:async t=>{var r;let{city:a,code:l,companyId:i,dietCaloriesId:o,dietId:c,dietOptionId:s,tierDietOptionId:d}=t,u=a&&{cityId:a.cityId,cityName:a.name,countyName:null!=(r=a.county)?r:null,name:a.name};await n.eventEmitter.emitAsync("redirect.withOrderDetails",{city:u,companyId:i,dietId:c,dietOptionId:s,dietCaloriesId:o,tierDietOptionId:d,platform:"dietly"}),l&&await n.eventEmitter.emitAsync("redirect.withPromoCode",{companyId:i,promoCode:l}),e.push("/wybierz-diete/".concat(i))}}}},35162:(e,t,r)=>{"use strict";r.d(t,{$i:()=>n,$z:()=>a,A_:()=>l,KF:()=>i});let n=e=>{let t=new URL(e,"https://dietly.pl");return"".concat(t.origin).concat(t.pathname)},a=e=>new URL(e,"https://dietly.pl").origin,l=e=>{let t=new URL(e,"https://dietly.pl"),r=t.search.includes("konfigurator"),n=t.search.includes("nowe-zamowienie"),a="".concat(r||n?"?":"").concat(r?"konfigurator":"").concat(n?"nowe-zamowienie":"");return"".concat(t.origin).concat(t.pathname).concat(a)},i=e=>{let t=new URL(e,"https://dietly.pl");return(t.pathname.endsWith("/0")||t.pathname.endsWith("/1"))&&(t.pathname=t.pathname.slice(0,-2)),"".concat(t.origin).concat(t.pathname)}},43748:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,void 0):void 0}}(e))||t){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,i=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){c=!0,l=e},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw l}}}}function s(e,t){var r,n=t.replacementChars,a=t.replacement,l=t.separate,i=n,o="",s=c(e);try{for(s.s();!(r=s.n()).done;){var d,u=r.value,p=!Object.prototype.hasOwnProperty.call(a,u)&&(null==(d=a[i[0]])?void 0:d.test(u));(l&&u===i[0]||p)&&(i=i.slice(1),o+=u)}}catch(e){s.e(e)}finally{s.f()}return o}function d(e){return e.length>0?l({},e,/./):{}}function u(e,t){for(var r=t.start,n=void 0===r?0:r,a=t.end,l=t.mask,i=t.replacement,o=t.separate,c=e.slice(n,a),s=l.slice(n,a),d="",u=0;u<s.length;u++){var p=Object.prototype.hasOwnProperty.call(i,s[u]);p&&void 0!==c[u]&&c[u]!==s[u]?d+=c[u]:p&&o&&(d+=s[u])}return d}r.d(t,{A:()=>N});var p=["[","]","\\","/","^","$",".","|","?","*","+","(",")","{","}"];function m(e){return p.includes(e)?"\\".concat(e):e}function f(e){for(var t=e.mask,r=e.replacement,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a="string"==typeof r?d(r):r,l="",i=0;i<t.length;i++){var o=t[i],c=Object.prototype.hasOwnProperty.call(a,o),s=n?"(?!".concat(m(o),")"):"";0===i&&(l+="^"),l+=c?"".concat(s,"(").concat(a[o].source,")"):m(o),i===t.length-1&&(l+="$")}return l}var h=r(14232);function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){return(g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t="function"==typeof Map?new Map:void 0;return(C=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(v())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&g(a,r.prototype),a}(e,arguments,_(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,e)})(e)}var b=r(98477),j=function(e){function t(e,r){var n,a,l;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),(a=t,l=[e],a=_(a),n=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,v()?Reflect.construct(a,l||[],_(this).constructor):a.apply(this,l))).name="SyntheticChangeError",n.cause=r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(C(Error));function w(e,t){var r=t.value,n=t.selectionStart,a=t.selectionEnd;void 0!==r&&(e.value=r),void 0!==n&&void 0!==a&&e.setSelectionRange(n,a)}var x=["text","email","tel","search","url"],k=["component","mask","replacement","showMask","separate","track","modify","onMask"],N=(0,h.forwardRef)(function(e,t){var r,n=e.component,l=e.mask,o=e.replacement,p=e.showMask,m=e.separate,v=e.track,_=e.modify,g=e.onMask,C=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,k),N=(r=function(){var e,t,r,n,l,i,o,p,m,v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
1,y=v.mask,_=void 0===y?"":y,g=v.replacement,C=void 0===g?{}:g,k=v.showMask,N=void 0!==k&&k,E=v.separate,R=void 0!==E&&E,O=v.track,I=v.modify,A=v.onMask,T="string"==typeof C?d(C):C,M=(0,h.useRef)(null);return t=(e={init:function(e){var t=e.controlled,r=e.initialValue;r=t||r?r:N?_:"";var n={mask:_,replacement:T,separate:R};return M.current={value:r,props:n,fallbackProps:n},{value:r}},tracking:function(e){var t,r,n,l,i,o,p=e.inputType,m=e.previousValue,h=e.addedValue,v=e.changeStart,y=e.changeEnd;if(null===M.current)throw new j("The state has not been initialized.");M.current.value!==m?M.current.props=M.current.fallbackProps:M.current.fallbackProps=M.current.props;var g=null==O?void 0:O(a(a({},"insert"===p?{inputType:p,data:h}:{inputType:p,data:null}),{},{value:m,selectionStart:v,selectionEnd:y}));if(!1===g)throw new j("Custom tracking stop.");null===g?h="":!0!==g&&void 0!==g&&(h=g);var C=u(m,a({end:v},M.current.props)),b=u(m,a({start:y},M.current.props)),w=RegExp("[^".concat(Object.keys(M.current.props.replacement).join(""),"]"),"g"),x=M.current.props.mask.replace(w,"");if(C&&(C=s(C,{replacementChars:x,replacement:M.current.props.replacement,separate:M.current.props.separate}),x=x.slice(C.length)),h&&(h=s(h,{replacementChars:x,replacement:M.current.props.replacement,separate:!1}),x=x.slice(h.length)),"insert"===p&&""===h)throw new j("The character does not match the key value of the `replacement` object.");if(M.current.props.separate){var k=M.current.props.mask.slice(v,y).replace(w,""),E=k.length-h.length;E<0?b=b.slice(-E):E>0&&(b=k.slice(-E)+b)}b&&(b=s(b,{replacementChars:x,replacement:M.current.props.replacement,separate:M.current.props.separate}));var A=C+h+b,F=null!=(o=null==I?void 0:I(A))?o:{},L=F.mask,P=void 0===L?_:L,S=F.replacement,D=void 0===S?T:S,Z=F.showMask,V=F.separate,z=void 0===V?R:V;"string"==typeof D&&(D=d(D));var G=(i=function(e,t){for(var r=t.mask,n=t.replacement,a=[],l=0;l<r.length;l++){var i,o=null!=(i=e[l])?i:r[l],c=Object.prototype.hasOwnProperty.call(n,o)?"replacement":void 0!==e[l]&&e[l]!==r[l]?"input":"mask";a.push({type:c,value:o,index:l})}return a}(l=function(e,t){var r,n=t.mask,a=t.replacement,l=t.separate,i=t.showMask,o=0,s="",d=c(n);try{for(d.s();!(r=d.n()).done;){var u=r.value;if(!i&&void 0===e[o])break;Object.prototype.hasOwnProperty.call(a,u)&&void 0!==e[o]?s+=e[o++]:s+=u}}catch(e){d.e(e)}finally{d.f()}if(l&&!i){for(var p=n.length-1;p>=0&&s[p]===n[p];p--);s=s.slice(0,p+1)}return s}(A,{mask:r=(t={mask:P,replacement:D,separate:z,showMask:void 0===Z?N:Z}).mask,replacement:n=t.replacement,separate:t.separate,showMask:t.showMask}),{mask:r,replacement:n}),{value:l,input:A,parts:i,pattern:f({mask:r,replacement:n}),isValid:RegExp(f({mask:r,replacement:n},!0)).test(l)}),H=function(e){var t,r,n,a=e.inputType,l=e.value,i=e.addedValue,o=e.beforeChangeValue,c=e.parts,s=e.replacement,d=e.separate,u=c.filter(function(e){var t=e.type;return"input"===t||d&&"replacement"===t}),p=null==(t=u[o.length+i.length-1])?void 0:t.index,m=null==(r=u[o.length-1])?void 0:r.index,f=null==(n=u[o.length+i.length])?void 0:n.index;if("insert"===a){if(void 0!==p)return p+1;if(void 0!==f)return f;if(void 0!==m)return m+1}if("deleteForward"===a){if(void 0!==f)return f;if(void 0!==m)return m+1}if("deleteBackward"===a){if(void 0!==m)return m+1;if(void 0!==f)return f}var h=l.split("").findIndex(function(e){return Object.prototype.hasOwnProperty.call(s,e)});return -1!==h?h:l.length}({inputType:p,value:G.value,addedValue:h,beforeChangeValue:C,parts:G.parts,replacement:D,separate:z});return M.current.value=G.value,M.current.props={mask:P,replacement:D,separate:z},{value:G.value,selectionStart:H,selectionEnd:H,__detail:G}},eventType:"input-mask",eventHandler:A}).init,r=e.tracking,n=e.eventType,l=e.eventHandler,i=(0,h.useRef)({timeoutId:-1,fallbackTimeoutId:-1,cachedTimeoutId:-1,start:0,end:0}),o=(0,h.useRef)(!0),p=(0,h.useRef)(null),(m=(0,h.useRef)({init:t,tracking:r,eventType:n,eventHandler:l})).current.init=t,m.current.tracking=r,m.current.eventType=n,m.current.eventHandler=l,(0,h.useMemo)(function(){var e,t,r,n,a;
1return e=m.current.init,r=(t={onFocus:function(){i.current.timeoutId=window.setTimeout(function e(){var t,r,n,a;o.current?(i.current.start=null!=(t=null==(r=p.current)?void 0:r.selectionStart)?t:0,i.current.end=null!=(n=null==(a=p.current)?void 0:a.selectionEnd)?n:0,i.current.timeoutId=window.setTimeout(e)):i.current.fallbackTimeoutId=window.setTimeout(e)})},onBlur:function(){window.clearTimeout(i.current.timeoutId),window.clearTimeout(i.current.fallbackTimeoutId),i.current.timeoutId=-1,i.current.fallbackTimeoutId=-1,i.current.cachedTimeoutId=-1},onInput:function(e){var t=p.current;if(null!==t)try{if(i.current.cachedTimeoutId===i.current.timeoutId)throw new j("The input selection has not been updated.");i.current.cachedTimeoutId=i.current.timeoutId;var r=t.value,n=t.selectionStart,a=t.selectionEnd;if(null===n||null===a)throw new j("The selection attributes have not been initialized.");var l,c,s,d,u,f,h=null!=(l=null==(c=t._valueTracker)||null==(s=c.getValue)?void 0:s.call(c))?l:"";if(void 0===e.inputType&&(i.current.start=0,i.current.end=h.length),n>i.current.start?f="insert":n<=i.current.start&&n<i.current.end?f="deleteBackward":n===i.current.end&&r.length<h.length&&(f="deleteForward"),void 0===f||("deleteBackward"===f||"deleteForward"===f)&&r.length>h.length)throw new j("Input type detection error.");var v="",y="",_=i.current.start,g=i.current.end;if("insert"===f)v=r.slice(i.current.start,n);else{var C=h.length-r.length;_=n,g=n+C,y=h.slice(_,g)}var x=m.current.tracking({inputType:f,previousValue:h,value:r,addedValue:v,deletedValue:y,changeStart:_,changeEnd:g,selectionStart:n,selectionEnd:a});w(t,{value:x.value,selectionStart:x.selectionStart,selectionEnd:x.selectionEnd});var k=m.current.eventType,N=m.current.eventHandler;if("string"==typeof k&&N){var E=t.value,R=t.selectionStart,O=t.selectionEnd;o.current=!1,requestAnimationFrame(function(){w(t,{value:E,selectionStart:null!=R?R:E.length,selectionEnd:null!=O?O:E.length});var e=new CustomEvent(k,{bubbles:!0,cancelable:!1,composed:!0,detail:x.__detail});t.dispatchEvent(e),b.unstable_batchedUpdates?(0,b.unstable_batchedUpdates)(N,e):N(e),o.current=!0})}null==(d=t._valueTracker)||null==(u=d.setValue)||u.call(d,h),i.current.start=x.selectionStart,i.current.end=x.selectionEnd}catch(r){var I,A,T,M,F,L,P,S,D,Z,V,z=r.name,G=r.cause;if(w(t,{value:null!=(I=null!=(A=null==G||null==(T=G.__attributes)?void 0:T.value)?A:null==(M=t._valueTracker)||null==(F=M.getValue)?void 0:F.call(M))?I:"",selectionStart:null!=(L=null==G||null==(P=G.__attributes)?void 0:P.selectionStart)?L:i.current.start,selectionEnd:null!=(S=null==G||null==(D=G.__attributes)?void 0:D.selectionEnd)?S:i.current.end}),void 0!==(null==G||null==(Z=G.__attributes)?void 0:Z.selectionStart)&&(i.current.start=G.__attributes.selectionStart),void 0!==(null==G||null==(V=G.__attributes)?void 0:V.selectionEnd)&&(i.current.end=G.__attributes.selectionEnd),e.preventDefault(),e.stopPropagation(),"SyntheticChangeError"!==z)throw r}}}).onFocus,n=t.onBlur,a=t.onInput,new Proxy(p,{set:function(t,l,i){if("current"!==l)return!1;var o=null!==i&&x.includes(i.type);if(i!==p.current&&(null!==p.current&&(p.current.removeEventListener("focus",r),p.current.removeEventListener("blur",n),p.current.removeEventListener("input",a)),null!==i&&o)){var c,s=null!=(c=i._wrapperState)?c:{},d=s.controlled,u=s.initialValue,m=e({controlled:void 0!==d&&d,initialValue:i.value||(void 0===u?"":u)});w(i,{value:m.value}),document.activeElement===i&&r(),i.addEventListener("focus",r),i.addEventListener("blur",n),i.addEventListener("input",a)}return t[l]=i,!0}})},[])}({mask:l,replacement:o,showMask:p,separate:m,track:v,modify:_,onMask:g}),(0,h.useCallback)(function(e){r.current=e,"function"==typeof t?t(e):"object"===y(t)&&null!==t&&(t.current=e)},[r,t]));return n?h.createElement(n,i({ref:N},C)):h.createElement("input",i({ref:N},C))})},44941:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(80094),a=r(59012);let l=()=>{let e=(0,a.j)(),t=(0,a.G)(e=>e.orderFormSlice.common.companyId),r=(0,a.G)(e=>e.orderFormSlice.shoppingCart.items);return{checkShoppingCart:a=>{let{companyId:l,openModalCallback:i,redirectCallback:o}=a;((e,t,r)=>{var n;return!!e&&e!==t&&!!(null==(n=Object.keys(r||{}))?void 0:n.length)})(t,l,r)?i():(e((0,n.resetOnlyFormSteps)()),l!==t&&e((0,n.resetPromoCode)()),o())}}}},55318:(e,t,r)=>{"use strict";r.d(t,{y:()=>n});var n=function(e){return e.NONE="NONE",e.WAITING="WAITING",e.ACTIVE="ACTIVE",e.CANCELLED="CANCELLED",e}({})},56799:e=>{e.exports={amount:"centrum_amount__mfH8R",wrapper:"centrum_wrapper__eHmfx",loader:"centrum_loader__4tROO","mobile-children":"centrum_mobile-children__snXEX",container:"centrum_container__3REU_","container--DA":"centrum_container--DA__0TPS7",profile:"centrum_profile__SWOYn","nav-item":"centrum_nav-item__RhL_H","nav-item--active":"centrum_nav-item--active__tBBEl centrum_nav-item__RhL_H",main:"centrum_main__bPQ6n",padding:"centrum_padding__HMSEQ",settings:"centrum_settings__2XEC_","settings--open":"centrum_settings--open__OO
1K6B centrum_settings__2XEC_","settings-circle":"centrum_settings-circle__dCeFU","settings-icon":"centrum_settings-icon__RPL7E","settings-initials":"centrum_settings-initials__f9S9g","settings-menu":"centrum_settings-menu__RrH4c","settings-menu-item":"centrum_settings-menu-item__98Bv2",status:"centrum_status__gCLHw","status-container":"centrum_status-container__ScdIh","status-dot":"centrum_status-dot__vTYJR","status-payment":"centrum_status-payment__9Qmpb","status--active":"centrum_status--active__nfLV6 centrum_status-dot__vTYJR","status--cancelled":"centrum_status--cancelled__FCtry centrum_status-dot__vTYJR","status--info":"centrum_status--info__K8LTw centrum_status-dot__vTYJR","status--none":"centrum_status--none__05OSH centrum_status-dot__vTYJR","status--waiting":"centrum_status--waiting__XsD78 centrum_status-dot__vTYJR",top:"centrum_top__9dKnD",title:"centrum_title__DM8dp",iframe:"centrum_iframe__mj78o",buttons:"centrum_buttons__5v9V9",link:"centrum_link__HpK9U","chevron-wrapper":"centrum_chevron-wrapper__rvrId","dropdown-item":"centrum_dropdown-item__gAnDG","dropdown-item--active":"centrum_dropdown-item--active__RYct6","dropdown-title":"centrum_dropdown-title__knPuf","chevron-icon":"centrum_chevron-icon__5E6bg"}},57771:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});let n=e=>{let{scoreAesthetics:t=0,scoreDelivery:r=0,scoreIngredientsQuality:n=0,scorePackaging:a=0,scoreTaste:l=0,scoreVariety:i=0}=e,o=0;return l&&t&&n&&a&&i&&r&&(o=(l+t+n+a+i+r)/6),o/5*100}},60984:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Tooltip:()=>s,default:()=>d});var n=r(37876),a=r(14232),l=r(33144),i=r(94882),o=r(80400),c=r(6164);let s=e=>{let{children:t,containerClass:r,placementTooltip:s="bottom",tooltipClass:d,tooltipL:u,tooltipM:p,tooltipNone:m,tooltipS:f,tooltipText:h="",tooltipXs:v,tooltipXxs:y}=e,[_,g]=(0,a.useState)(!1),C=(0,a.useRef)(null),{context:b,floatingStyles:j,placement:w,refs:x}=(0,l.we)({open:_,onOpenChange:g,placement:s,middleware:[(0,i.cY)(8),(0,i.UU)(),(0,i.UE)({element:C})],whileElementsMounted:o.ll}),k=(0,l.Mk)(b),N=(0,l.iQ)(b),{getFloatingProps:E,getReferenceProps:R}=(0,l.bv)([k,N]);return(0,n.jsxs)("div",{className:"has-tooltip ".concat(r," relative"),children:[(0,n.jsx)("div",{ref:x.setReference,...R(),children:t}),!m&&(0,n.jsxs)("div",{className:(0,c.F)("tooltip absolute z-[9999]",{["tooltip-".concat(w)]:!!w,"tooltip-s":!!f,"tooltip-m":!!p,"tooltip-l":!!u,"tooltip-xs":!!v,"tooltip-xxs":!!y,"display-none":!!m}),"data-placement":w,ref:x.setFloating,style:{...j,zIndex:9999},...E(),children:[(0,n.jsx)("div",{className:"tooltip-body ".concat(d),children:h}),(0,n.jsx)("div",{className:"tooltip-arrow",ref:C})]})]})},d=s},61350:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(37876),a=r(27695),l=r(26998),i=r(5786),o=r(6164),c=r(18847),s=r.n(c),d=r(56799),u=r.n(d);r(10593);let p=s()(()=>r.e(7847).then(r.bind(r,7847)),{loadableGenerated:{webpack:()=>[7847]}}),m=s()(()=>Promise.all([r.e(9953),r.e(1872),r.e(8829)]).then(r.bind(r,78829)),{loadableGenerated:{webpack:()=>[78829]}}),f=e=>{let{children:t,className:r="",classNameOverlay:c="",customPadding:s=!1,customTopContent:d,hideMenuSelection:f=!1,hideOrderButton:h=!1,showMobileBackLink:v=!1}=e,{isSuccess:y}=(0,i.A)({forceLogIn:!0}),_=(0,a.A)("(min-width: 786px)",!1);return(0,n.jsx)("div",{className:(0,o.F)("".concat(u().wrapper),{[r]:!!r}),children:y?_?(0,n.jsx)(m,{classNameOverlay:c,customPadding:s,customTopContent:d,hideMenuSelection:f,hideOrderButton:h,children:t}):(0,n.jsx)(p,{customTopContent:d,hideMenuSelection:f,hideOrderButton:h,showMobileBackLink:v,children:t}):(0,n.jsx)(l.default,{classes:u().loader})})}},67713:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/profil-dietly/historia-zamowien",function(){return r(97947)}])},71353:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PaymentButtonTypeE:()=>v,default:()=>y});var n=r(37876);r(14232);var a=r(25815),l=r(96490),i=r(82920),o=r(56799),c=r.n(o),s=r(52276),d=r(84371),u=r(55007),p=r(89099),m=r(62277),f=r(55318),h=r(12893),v=function(e){return e.CLEAN="clean",e.GREEN="green",e}({});let y=e=>{let{acceptedPayment:t,companyId:r,containerClass:o,dateTo:v,orderId:y,paymentButtonType:_="clean",paymentType:g,status:C}=e,{color:b="",dotColor:j="",text:w=""}=(0,i.o)({acceptedPayment:t,dateTo:v,status:C}),x=(0,p.useRouter)(),[k,{isLoading:N}]=(0,l.cE)(),E=t!==h.N.PAID&&g!==m.k.EXTERNAL_VOUCHER&&C!==f.y.CANCELLED,R=async()=>
1{if(y){let e=await k({companyId:r,orderId:y});if("data"in e){let{urlResponse:{errorMessage:t,paymentUrl:r}}=e.data;if(null===t)return x.push(r)}}return null};return(0,n.jsxs)("div",{className:c()["status-container"],children:[(0,n.jsxs)("div",{className:"body-m ".concat(b," ").concat(c().status).concat(o?" ".concat(o):""),children:[(0,n.jsx)("div",{className:c()["status--".concat(j)]}),(0,n.jsx)("p",{children:w})]}),E&&(()=>{switch(_){case"clean":return(0,n.jsx)(a.default,{colorClean:!0,containerClass:c()["status-payment"],icon:N&&(0,n.jsx)(d.gc,{icon:s.OtC,spin:!0}),label:N?"Opłacam":"Opłać zam\xf3wienie",onClick:R});case"green":return(0,n.jsx)(a.default,{colorSuccessAlternative:!0,containerClass:"spacer-top-8",isLoading:N,label:"Opłać zam\xf3wienie",onClick:R});default:throw new u.J(_,"Unexpected payment button type: ".concat(_))}})()]})}},82920:(e,t,r)=>{"use strict";r.d(t,{o:()=>i});var n=r(87894),a=r(55318),l=r(12893);let i=e=>{let{acceptedPayment:t,dateTo:r,isLoading:i,status:o}=e,c=n.A.getMillis(r)>n.A.getTodayMillis();
1return{color:o===a.y.WAITING?"color-warning":o===a.y.CANCELLED?"color-error":o===a.y.NONE||t===l.N.NEEDS_VERIFICATION?"color-info":t===l.N.NOT_PAID?"color-error":c?"color-success":"color-gray-400",dotColor:o===a.y.WAITING?"waiting":o===a.y.CANCELLED?"cancelled":o===a.y.NONE||t===l.N.NEEDS_VERIFICATION?"info":t===l.N.NOT_PAID?"cancelled":c?"active":"none",repeatText:c&&o!==a.y.CANCELLED?i?"przedłużam":"przedłuż":i?"zamawiam ponownie":"zam\xf3w ponownie",text:o===a.y.WAITING?"Weryfikacja":o===a.y.CANCELLED?"Anulowane":o===a.y.NONE||t===l.N.NEEDS_VERIFICATION?"Wymaga weryfikacji":t===l.N.NOT_PAID?"Nieopłacone":c?"Aktywne":"Zrealizowane"}}},96488:(e,t,r)=>{"use strict";r.d(t,{G:()=>o});var n=r(14232),a=r(59012),l=r(98057),i=r(89099);let o=()=>{let e=(0,i.useRouter)(),t=(0,a.G)(l.i7),r=(0,a.G)(l.oC),[o,c]=(0,n.useState)(!1);(0,n.useEffect)(()=>{c(!0)},[]),(0,n.useEffect)(()=>{o&&r&&e.isReady&&(e=>e&&0===Object.keys(e).length&&e.constructor===Object)(t)&&e.replace("/")},[t,e.isReady,o,r,e])}},97947:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>er});var n=r(37876),a=r(14232),l=r(88992),i=r(91238),o=r.n(i),c=r(16806),s=r(26998),d=r(23831),u=r.n(d),p=r(96490),m=r(5786),f=r(86730),h=r(25815),v=r(98063),y=r(44517),_=r(52276),g=r(84371),C=r(59012),b=r(57923),j=r(17033),w=r(89099),x=r(3209),k=r.n(x);let N=()=>{let[e,t]=(0,a.useState)(!1),r=(0,w.useRouter)(),l=(0,C.G)(b.Jq);return(0,n.jsxs)("div",{className:k().fallback,children:[(0,n.jsx)(v.v,{}),(0,n.jsx)("h3",{className:"h300 spacer-bottom-8",children:"Brak historii zam\xf3wieÅ
1„."}),(0,n.jsx)("p",{className:"body-l spacer-bottom-32",children:"Sprawdź ofertę catering\xf3w."}),(0,n.jsx)(h.default,{colorPrimary:!0,icon:e?(0,n.jsx)(g.gc,{icon:_.OtC,spin:!0}):(0,n.jsx)(g.gc,{icon:y.MjD}),label:"Sprawdź ofertę",onClick:()=>{t(!0),r.push(j.A.listingCatering.replace(":city",l.sanitizedName))},sizeMedium:!0})]})};var E=r(87894),R=r(5156),O=r(60984),I=r(82920),A=r(99506),T=r(57771),M=r(71353),F=r(57027),L=r(44941),P=r(18847),S=r.n(P),D=r(68827),Z=r.n(D),V=r(62277),z=r(55318),G=r(12893);let H=S()(()=>Promise.all([r.e(6122),r.e(5957),r.e(4993),r.e(7391)]).then(r.bind(r,64993)),{loadableGenerated:{webpack:()=>[64993]}}),B=S()(()=>r.e(2185).then(r.bind(r,34566)),{loadableGenerated:{webpack:()=>[34566]}}),W=e=>{let{data:t,profileData:r}=e,l=(0,C.j)(),{checkShoppingCart:i}=(0,L.A)(),{repeatOrder:o}=(0,A.p)(),[c,s]=(0,a.useState)(!1),d=(0,C.G)(f.yX),u=(0,C.G)(f.tY),p=(0,C.G)(F.$D),{acceptedPayment:m=G.N.NOT_PAID,companyFullName:h="",companyImageUrl:v="",companyName:y="",cost:b=0,dateFrom:j="",dateTo:w="",deliveriesNumber:x=0,dietNames:N=[],feedback:P,orderId:S=0,paymentType:D=V.k.ONLINE,status:W=z.y.NONE,testOrder:Y=!1,visibleInDietly:U=!0}=t,{repeatText:X}=(0,I.o)({acceptedPayment:m,dateTo:w,status:W,isLoading:d===S}),K=E.A.isAfter(E.A.parseDate(),E.A.manipulate(w,14,"day")),J=m===G.N.NEEDS_VERIFICATION||W===z.y.NONE||W===z.y.CANCELLED||W===z.y.WAITING||Y||E.A.isAfter(j,E.A.parseDate())||K,$=()=>{s(!0)},Q=m===G.N.PAID&&W===z.y.ACTIVE&&!Y&&E.A.getTodayMillis()>=E.A.getMillis(j)&&!K||!!(P&&"feedbackId"in P)&&!K,q=e=>E.A.format(e,"DD.MM.YYYY"),ee=S===d&&u,et=async()=>
1{i({companyId:y,openModalCallback:()=>{l((0,f.Y6)(!0)),l((0,f.ye)(S))},redirectCallback:async()=>{await o(S,y,r,p)}})};return(0,n.jsxs)(n.Fragment,{children:[ee&&(0,n.jsx)(B,{cateringToBeInBasket:h,handleRepeatOrder:async()=>{await o(S,y,r,p)},isOpen:ee}),c&&(0,n.jsx)(H,{companyId:y,feedback:P,isOpen:c,orderId:S,setIsOpen:s}),(0,n.jsxs)("div",{className:"label-m ".concat(k()["cell-catering"]),children:[v&&(0,n.jsx)("div",{className:k().logo,children:(0,n.jsx)(Z(),{alt:"",layout:"fill",src:v,unoptimized:!0})}),(0,n.jsx)("p",{children:h})]}),(0,n.jsxs)("div",{className:"body-m ".concat(k()["cell-order"]),children:[(0,n.jsxs)("div",{className:"body-m color-gray-800",children:["#",S,U?(0,n.jsxs)("div",{className:"label-m ".concat(0===d?k().repeat:k()["repeat--disabled"]),onClick:et,onKeyDown:et,role:"button",tabIndex:0,children:[(0,n.jsx)(g.gc,{color:"#06257f",icon:_.Vpu,size:"sm",spin:d===S}),X]}):(0,n.jsx)(O.default,{containerClass:"label-m color-primary-300 ".concat(k().repeat),tooltipM:!0,tooltipText:"Ten catering nie udostępnia opcji zamawiania diet przez dietly",children:"powt\xf3rz"})]}),(0,n.jsx)("div",{className:"body-m color-gray-400",children:N.map(e=>(0,n.jsxs)("p",{children:["•",e]},e))})]}),(0,n.jsxs)("div",{className:k()["cell-date"],children:[(0,n.jsxs)("div",{className:k()["cell-date-el"],children:[(0,n.jsx)("span",{className:"body-m color-gray-400 spacer-right-4",children:"Od"}),(0,n.jsx)("span",{className:"body-m color-gray-800",children:q(j)})]}),(0,n.jsxs)("div",{className:k()["cell-date-el"],children:[(0,n.jsx)("span",{className:"body-m color-gray-400 spacer-right-4",children:"Do"}),(0,n.jsx)("span",{className:"body-m color-gray-800",children:q(w)})]})]}),(0,n.jsx)("div",{className:"body-m color-gray-800 ".concat(k()["cell-delivery"]),children:x}),(0,n.jsxs)("div",{className:"body-m ".concat(k()["cell-cost"]),children:[(0,n.jsx)("span",{className:"color-gray-800 spacer-right-4",children:b}),(0,n.jsx)("span",{className:"color-gray-400",children:"zł"})]}),(0,n.jsx)(M.default,{acceptedPayment:m,companyId:y,dateTo:w,orderId:S,paymentType:D,status:W}),(0,n.jsx)("div",{className:"label-m ".concat(Q?k()["cell-feedback--active"]:k()["cell-feedback"]),onClick:()=>Q&&$(),onKeyDown:()=>Q&&$(),role:Q?"button":void 0,tabIndex:0,children:(()=>{let e=!!(P&&"feedbackId"in P);return J?e?(0,n.jsx)(R.A,{width:(0,T.a)(P)}):"-":t&&e?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(R.A,{width:(0,T.a)(P)}),(0,n.jsx)("p",{children:"Edytuj"})]}):"Oceń"})()})]})},Y=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:k()["grid-head--start"],children:"Catering"}),(0,n.jsx)("p",{className:k()["grid-head"],children:"Zam\xf3wienie"}),(0,n.jsx)("p",{className:k()["grid-head"],children:"Data"}),(0,n.jsx)("p",{className:k()["grid-head"],children:"Dostaw"}),(0,n.jsx)("p",{className:k()["grid-head"],children:"Kwota"}),(0,n.jsx)("p",{className:k()["grid-head"],children:"Status"}),(0,n.jsx)("p",{className:k()["grid-head--finish"],children:"Ocena"})]});var U=r(41406),X=r(98057);let K=()=>{var e,t,r;let i=(0,a.useRef)(null),{profile:d}=(0,m.A)({forceLogIn:!0}),h=(0,C.G)(X.mj),v=(0,C.j)(),y=(0,C.G)(f.Ey),{data:_,isFetching:g=!1}=(0,p.aJ)({page:y}),b=null!=(t=null==_?void 0:_.results)?t:[],j=null!=(r=null==_?void 0:_.totalPages)?r:0,{formState:{errors:w},handleSubmit:x,register:E}=(0,l.mN)();return g||b.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:i}),h&&h.length>0&&(0,n.jsx)(U.A,{loyaltyActions:h}),(0,n.jsx)("div",{className:k().container,children:g?(0,n.jsx)(s.default,{classes:k().loader,text:"Ładuję historię zam\xf3wieÅ
1„"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:k()["grid-container"],children:[(0,n.jsx)(Y,{}),b.map(e=>(0,n.jsx)(W,{data:e,profileData:d},e.orderId))]}),(0,n.jsxs)("div",{className:k()["page-number"],children:[j>1&&(0,n.jsx)(o(),{activeClassName:"label-m ".concat(u().pagination__active),breakClassName:"label-m ".concat(u().pagination__break),breakLabel:"...",containerClassName:"pagination ".concat(k().pagination),forcePage:y,marginPagesDisplayed:1,nextLabel:j<=10?"":">",onPageChange:e=>{let{selected:t}=e;(e=>{let t=(null==e?void 0:e.current)?e.current.offsetTop-70:0;window.scroll({top:t,behavior:"smooth"})})(i),v((0,f.yd)(t))},pageCount:j,pageRangeDisplayed:3,previousLabel:"<"}),j>3&&(0,n.jsx)("form",{className:k()["pagination-form"],onSubmit:x(e=>{let{page:t=0}=e;v((0,f.yd)(Number(t)-1))}),children:(0,n.jsx)(c.K,{errorMsg:null==w||null==(e=w.page)?void 0:e.message,inputClassName:k()["pagination-input"],max:j,min:1,name:"page",register:E,type:"number"})})]})]})})]}):(0,n.jsx)(N,{})};var J=r(61350),$=r(17271),Q=r(96488),q=r(77328),ee=r.n(q);let et=()=>((0,Q.G)(),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(ee(),{children:[(0,n.jsx)("title",{children:"Profil Dietly - Por\xf3wnywarka catering\xf3w dietetycznych Dietly.pl"},"title"),(0,n.jsx)("meta",{content:"Profil Dietly - Por\xf3wnywarka catering\xf3w dietetycznych Dietly.pl",name:"description"},"description")]}),(0,n.jsx)($.A,{}),(0,n.jsx)(J.A,{children:(0,n.jsx)(K,{})})]})),er=()=>(0,n.jsx)(et,{})},98057:(e,t,r)=>{"use strict";r.d(t,{E$:()=>n,G2:()=>i,Ic:()=>o,Tq:()=>l,i7:()=>a,kc:()=>s,mj:()=>c,oC:()=>d});let n=e=>e.profileReducer,a=e=>n(e).profile,l=e=>n(e).cities,i=e=>a(e).profileAddresses,o=e=>{var t,r;return null==(r=i(e))||null==(t=r[0])?void 0:t.cityId},c=e=>n(e).loyaltyActions,s=e=>n(e).authModalType,d=e=>n(e).wasProfileFetched},98063:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(37876);let a=()=>(0,n.jsxs)("svg",{fill:"none",height:"205",viewBox:"0 0 218 205",width:"218",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M155.294 114.605L175.746 110.21C188.27 107.518 191.875 91.3801 181.687 83.6149L174.359 78.0292C168.705 73.7204 166.853 66.
10352 169.921 59.6236L175.367 48.2455C182.129 34.1182 165.437 20.3841 152.877 29.74L149.538 32.227C142.532 37.4454 132.53 35.2622 128.336 27.5993C123.554 18.8624 111.552 17.5161 104.953 24.9762L63.6666 71.6505C62.4471 73.0291 60.9725 74.1588 59.3239 74.9772L44.3612 82.4051C32.349 88.3683 38.1585 106.566 51.404 104.466C61.2726 102.901 68.4434 113.617 63.2332 122.143L43.1363 155.029C34.8289 168.623 50.6437 184.083 64.0457 175.469L91.8441 157.602C99.5111 152.675 109.765 155.667 113.578 163.945L114.751 166.491C121.476 181.088 143.339 176.32 143.375 160.249L143.446 129.236C143.462 122.179 148.395 116.088 155.294 114.605Z",fill:"#06257F",opacity:"0.1"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M159.516 153H58.482C54.35 153 51 149.65 51 145.516V73H167V145.516C167 149.65 163.65 153 159.516 153Z",fill:"white",fillRule:"evenodd",stroke:"#06257F",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M53 45H165V73H53V45Z",fill:"#D0E8F9",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M53 45H165V73H53V45Z",fill:"#ECEEF8",fillRule:"evenodd",stroke:"#06257F",strokeLinecap:"round",strokeWidth:"2"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M149 57V73V57Z",fill:"white",fillRule:"evenodd"}),(0,n.jsx)("path",{d:"M57 45L69 57M69 57L57 73M69 57V73M161 45L149 57M149 57L161 73M149 57V73",stroke:"#06257F",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M99 55C99 56.104 98.104 57 97 57C95.896 57 95 56.104 95 55C95 53.896 95.896 53 97 53C98.104 53 99 53.896 99 55Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M105 49C105 50.104 104.104 51 103 51C101.896 51 101 50.104 101 49C101 47.896 101.896 47 103 47C104.104 47 105 47.896 105 49Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M105 61C105 62.104 104.104 63 103 63C101.896 63 101 62.104 101 61C101 59.896 101.896 59 103 59C104.104 59 105 59.896 105 61Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M111 55C111 56.104 110.104 57 109 57C107.896 57 107 56.104 107 55C107 53.896 107.896 53 109 53C110.104 53 111 53.896 111 55Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M87 55C87 56.104 86.104 57 85 57C83.896 57 83 56.104 83 55C83 53.896 83.896 53 85 53C86.104 53 87 53.896 87 55Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M93 49C93 50.104 92.104 51 91 51C89.896 51 89 50.104 89 49C89 47.896 89.896 47 91 47C92.104 47 93 47.896 93 49Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M93 61C93 62.104 92.104 63 91 63C89.896 63 89 62.104 89 61C89 59.896 89.896 59 91 59C92.104 59 93 59.896 93 61Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M75 55C75 56.104 74.104 57 73 57C71.896 57 71 56.104 71 55C71 53.896 71.896 53 73 53C74.104 53 75 53.896 75 55Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M69 49C69 50.104 68.104 51 67 51C65.896 51 65 50.104 65 49C65 47.896 65.896 47 67 47C68.104 47 69 47.896 69 49Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M81 49C81 50.104 80.104 51 79 51C77.896 51 77 50.104 77 49C77 47.896 77.896 47 79 47C80.104 47 81 47.896 81 49Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M81 61C81 62.104 80.104 63 79 63C77.896 63 77 62.104 77 61C77 59.896 77.896 59 79 59C80.104 59 81 59.896 81 61Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M147 55C147 56.104 146.104 57 145 57C143.896 57 143 56.104 143 55C143 53.896 143.896 53 145 53C146.104 53 147 53.896 147 55Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M153 49C153 50.104 152.104 51 151 51C149.896 51 149 50.104 149 49C149 47.896 149.896 47 151 47C152.104 47 153 47.896 153 49Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M117 49C117 50.104 116.104 51 115 51C113.896 51 113 50.104 113 49C113 47.896 113.896 47 115 47C116.104 47 117 47.896 117 49Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M117 61C117 62.104 116.104 63 115 63C113.896 63 113 62.104 113 61C113 59.896 113.896 59 115 59C116.104 59 117 59.896 117 61Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M123 55C123 56.104 122.104 57 121 57C119.896 57 119 56.104 119 55C119 53.896 119.896 53 121 53C122.104 53 123 53.896 123 55Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M135 55C135 56.104 134.104 57 133 57C131.896 57 131 56.104 131 55C131 53.896 131.896 53 133 53C134.104 53 135 53.896 135 55Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M99 67C99 68.104 98.104 69 97 69C95.896 69 95 68.104 95 67C95 65.89
16 95.896 65 97 65C98.104 65 99 65.896 99 67Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M111 67C111 68.104 110.104 69 109 69C107.896 69 107 68.104 107 67C107 65.896 107.896 65 109 65C110.104 65 111 65.896 111 67Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M87 67C87 68.104 86.104 69 85 69C83.896 69 83 68.104 83 67C83 65.896 83.896 65 85 65C86.104 65 87 65.896 87 67Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M75 67C75 68.104 74.104 69 73 69C71.896 69 71 68.104 71 67C71 65.896 71.896 65 73 65C74.104 65 75 65.896 75 67Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M147 67C147 68.104 146.104 69 145 69C143.896 69 143 68.104 143 67C143 65.896 143.896 65 145 65C146.104 65 147 65.896 147 67Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M123 67C123 68.104 122.104 69 121 69C119.896 69 119 68.104 119 67C119 65.896 119.896 65 121 65C122.104 65 123 65.896 123 67Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M135 67C135 68.104 134.104 69 133 69C131.896 69 131 68.104 131 67C131 65.896 131.896 65 133 65C134.104 65 135 65.896 135 67Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M129 49C129 50.104 128.104 51 127 51C125.896 51 125 50.104 125 49C125 47.896 125.896 47 127 47C128.104 47 129 47.896 129 49Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M141 49C141 50.104 140.104 51 139 51C137.896 51 137 50.104 137 49C137 47.896 137.896 47 139 47C140.104 47 141 47.896 141 49Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M129 61C129 62.104 128.104 63 127 63C125.896 63 125 62.104 125 61C125 59.896 125.896 59 127 59C128.104 59 129 59.896 129 61Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M141 61C141 62.104 140.104 63 139 63C137.896 63 137 62.104 137 61C137 59.896 137.896 59 139 59C140.104 59 141 59.896 141 61Z",fill:"#06257F",fillRule:"evenodd"}),(0,n.jsx)("path",{clipRule:"evenodd",d:"M136.98 130.32L154 147.36L164.82 158.18C166.377 159.738 166.377 162.263 164.82 163.82C163.262 165.378 160.737 165.378 159.18 163.82L153.06 157.7L131.32 135.98",fill:"#FFEBE5",fillRule:"evenodd"}),(0,n.jsx)("path",{d:"M136.98 130.32L154 147.36L164.82 158.18C166.377 159.738 166.377 162.263 164.82 163.82C163.262 165.378 160.737 165.378 159.18 163.82L153.06 157.7L131.32 135.98",stroke:"#FF5226",strokeLinecap:"round",strokeWidth:"2"}),(0,n.jsx)("path",{d:"M116 141C130.359 141 142 129.359 142 115C142 100.641 130.359 89 116 89C101.641 89 90 100.641 90 115C90 129.359 101.641 141 116 141Z",fill:"#FFEBE5",stroke:"#FF5226",strokeLinecap:"round",strokeWidth:"2"}),(0,n.jsx)("path",{d:"M116 133C125.941 133 134 124.941 134 115C134 105.059 125.941 97 116 97C106.059 97 98 105.059 98 115C98 124.941 106.059 133 116 133Z",fill:"white",stroke:"#FF5226",strokeLinecap:"round",strokeWidth:"2"})]})},99506:(e,t,r)=>{"use strict";r.d(t,{p:()=>m});var n=r(14232),a=r(23376),l=r(80094),i=r(96490),o=r(86730),c=r(59012),s=r(25215),d=r(8825),u=r(43062),p=r(89099);let m=()=>{let e=(0,c.j)(),t=(0,p.useRouter)(),{redirectToOrderFormWithParams:r}=(0,s.A)();return{repeatOrder:(0,n.useCallback)(async(n,c,s,p)=>{try{var m,f,h,v;e((0,o.ye)(n)),(0,a.Ab)(),e((0,l.resetAllOrderForm)());let{data:d={}}=await e(i.l5.endpoints.getExtendedOrderDetails.initiate({companyName:c,orderId:n})),{payload:u}=await e((0,o.tX)({companyId:c,extendedOrderDetails:d,profileData:s})),{payload:y}=await e((0,o.KB)({companyName:c,deliveryData:u,extendedOrderDetails:d}));sessionStorage.setItem("formReferrer",JSON.stringify({path:"another-catering-in-basket",cityId:(null==p?void 0:p.cityId)||null})),sessionStorage.setItem("formReferrer-".concat(c),"".concat("https://dietly.pl").concat(t.asPath)),sessionStorage.removeItem("formReferrerPath");let _={companyId:c,dietId:null==y||null==(m=y.diet)?void 0:m.dietId,tierDietOptionId:null==y||null==(f=y.tier)?void 0:f.tierDietOptionId,dietCaloriesId:null==y||null==(h=y.calorie)?void 0:h.dietCaloriesId,dietOptionId:null==y||null==(v=y.option)?void 0:v.dietOptionId};u&&(_.city={cityId:u.cityId,name:u.name,county:u.county}),r(_)}catch(e){(0,u.l)("Nie udało się powt\xf3rzyć zam\xf3wienia.",d.l.Error)}finally{e((0,o.ye)(0))}},[e,r,t])}}}},e=>{e.O(0,[6701,8992,4534,1406,636,6593,8792],()=>e(e.s=67713)),_N_E=e.O()}]);

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.