delivapp-ordering 0.0.102 → 0.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("react-debounce-input"),r=require("classnames"),n=require("react-tooltip"),o=require("@cloudinary/url-gen"),a=require("@cloudinary/react"),i=require("@cloudinary/url-gen/actions/resize"),l=require("react-overflow-list");function c(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var s=c(e);function u(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}u(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:Montserrat,sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");u(".bagesPaymentSummary{align-items:center;display:flex;justify-content:space-around;position:relative}.bagesPaymentSummary .discountItem{align-items:center;border-right:2px solid #cfd1d4;display:flex;flex-direction:column;justify-content:center;margin:20px 0 0;padding:5px 0 0;width:100%}.bagesPaymentSummary .discountItem:last-child{border-right:none}.bagesPaymentSummary .discountItem .doneBg{align-items:center;background:var(--main-color);border-radius:100px;display:flex;height:15px;justify-content:center;position:absolute;top:15px;-webkit-transform:translateX(15px);transform:translateX(15px);width:15px;z-index:2}.bagesPaymentSummary .discountLabel{display:inline-block;font-size:12px;font-weight:500;margin:5px 0 0;text-align:center}");var m=function(){return m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)};function p(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function d(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}var f;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}u(".iconsPreview{display:grid;gap:20px;grid-template-columns:repeat(6,1fr);justify-items:center}.iconsPreview .previewIcon{align-items:center;display:flex;flex-direction:column;font-size:14px;justify-content:center}.iconsPreview .previewIcon span{display:inline-block;margin:0 0 5px}.fillByFill{fill:#000}.fillByStroke{stroke:#000}");var h;function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v.apply(this,arguments)}var y;function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},x.apply(this,arguments)}var b;function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},E.apply(this,arguments)}var w;function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}var N;function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C.apply(this,arguments)}var k;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P.apply(this,arguments)}var B;function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I.apply(this,arguments)}var T,S,_;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}var z,L;function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},D.apply(this,arguments)}var F;function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},A.apply(this,arguments)}var M,H;function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},R.apply(this,arguments)}var q;function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Z.apply(this,arguments)}var V,Y;function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}var G;function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q.apply(this,arguments)}var W;function K(){return K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},K.apply(this,arguments)}var X;function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$.apply(this,arguments)}var J;function ee(){return ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ee.apply(this,arguments)}var te;function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},re.apply(this,arguments)}var ne;function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oe.apply(this,arguments)}var ae,ie;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},le.apply(this,arguments)}var ce,se;function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ue.apply(this,arguments)}var me,pe;function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},de.apply(this,arguments)}var fe;function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ge.apply(this,arguments)}var he;function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ve.apply(this,arguments)}var ye;function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xe.apply(this,arguments)}var be;function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ee.apply(this,arguments)}var we,Oe;function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ne.apply(this,arguments)}var Ce,ke;function Pe(){return Pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pe.apply(this,arguments)}var Be,Ie;function Te(){return Te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Te.apply(this,arguments)}var Se;function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_e.apply(this,arguments)}var je;function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ze.apply(this,arguments)}var Le,De;function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fe.apply(this,arguments)}var Ae;function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Me.apply(this,arguments)}var He,Re,qe,Ze,Ve,Ye,Ue,Ge=20,Qe=25,We=30,Ke=function(t,r){return function(n){var o=function(e){var t=e.className,r=e.props,n={};return r.color&&t.includes("Fill")&&(n.fill=r.color),r.color&&t.includes("Stroke")&&(n.stroke=r.color),n}({className:r,props:n}),a=function(e){return"small"===e?Ge:"big"===e?We:e||Qe}(n.size);return e.createElement(t,m({width:a,height:a},n,{style:o,className:"icon ".concat(n.className||""," ").concat(r||"")}))}},Xe=Ke((function(e){return s.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},e),f||(f=s.createElement("path",{d:"M28 6a4 4 0 0 0-4 4v2h-.4L10 14v3h44v-3l-13.6-2H40v-2a4 4 0 0 0-4-4h-8zm0 4h8v2h-8v-2zm-16 9 2.701 33.322A4.002 4.002 0 0 0 18.69 56h26.623a3.999 3.999 0 0 0 3.987-3.676L51.924 20 12 19zm8 7a2 2 0 0 1 2 2v23h-3l-1-23a2 2 0 0 1 2-2zm12 0a3 3 0 0 1 3 3v22h-6V29a3 3 0 0 1 3-3zm12 0a2 2 0 0 1 2 2l-1 23h-3V28a2 2 0 0 1 2-2z"})))}),"fillByFill"),$e=Ke((function(e){return s.createElement("svg",v({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),h||(h=s.createElement("path",{d:"m13.547 5.247-4.196-.639L7.474.625a.52.52 0 0 0-.949 0L4.65 4.608l-4.196.639a.52.52 0 0 0-.303.16.569.569 0 0 0 .01.785l3.037 3.1-.718 4.378a.577.577 0 0 0 .031.302.55.55 0 0 0 .18.24.514.514 0 0 0 .556.04L7 12.187l3.754 2.067a.504.504 0 0 0 .335.055.551.551 0 0 0 .432-.638l-.717-4.378 3.036-3.1a.563.563 0 0 0 .154-.317.549.549 0 0 0-.447-.628Z"})))}),"fillByFill"),Je=Ke((function(e){return s.createElement("svg",x({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},e),y||(y=s.createElement("path",{d:"m30.164 12.064-9.035-1.369L17.09 2.16a1.158 1.158 0 0 0-.516-.538c-.562-.289-1.245-.048-1.526.538l-4.039 8.535-9.035 1.369a1.12 1.12 0 0 0-.65.345c-.212.226-.328.53-.324.845.004.315.128.615.344.835l6.537 6.643-1.544 9.38c-.036.22-.013.444.067.649.08.205.213.383.385.513a1.099 1.099 0 0 0 1.199.09l8.081-4.43 8.081 4.429c.22.122.477.163.723.119.619-.112 1.035-.724.928-1.37l-1.544-9.38 6.537-6.643c.178-.182.295-.42.33-.679.097-.649-.337-1.25-.96-1.346Z"})))}),"fillByStroke"),et=Ke((function(e){return s.createElement("svg",E({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},e),b||(b=s.createElement("path",{d:"M11.688 1.167c.711-.08 1.385.438 1.385 1.153 0 6.778-3.783 9.856-8.448 9.856-.724 0-1.313-.619-1.153-1.325.317-1.39 1.014-2.424 2.347-3.604.847-.75.776-1.182.358-.934-2.875 1.711-4.303 4.023-4.366 7.715a.263.263 0 0 1-.263.26h-.44a.683.683 0 0 1-.692-.706 12.9 12.9 0 0 1 .152-1.505c.045-.276.049-.557.01-.834-.118-.859-.177-1.956-.177-3.29A7.04 7.04 0 0 1 7.44.912c1.156 0 2.312.474 4.247.254Z"})))}),"fillByFill"),tt=Ke((function(e){return s.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),w||(w=s.createElement("path",{d:"M49.1 11c-2.8 5-2.5 9.4.7 9.8 2.8.4 2.9 3.2.2 3.2-1.2 0-3.5-.7-5.1-1.6-3.3-1.7-4.5-1.4-3.6 1.1.4.8 2.6 2 5.1 2.7 4.4 1.2 5.3 2.8 1.6 2.8-1.2 0-2.9 1.9-4.9 5.4-3.8 6.8-9.2 12.1-15.6 15.3-2.7 1.4-5.3 3-5.6 3.5-.3.5-3 .8-6 .6l-5.4-.3 3.1-1.7C21.4 47.6 30.7 35.9 35 25c2.2-5.4 3.3-6.8 6.3-8.3 4.1-2.1 4-4.2-.2-3.2-4 1-6.7 4.1-9 10.4C28.6 33.7 21 43 10.5 50.6c-2.5 1.9-2.8 2.5-1.9 4 1 1.6 2.4 1.9 10.2 1.8 7.6 0 9.8-.4 14.5-2.8 7.2-3.5 12.9-10 17.8-20 4.4-9.1 4.8-12.2 1.8-16.1-2.1-2.5-2.1-2.9-.6-6 1.4-3 1.4-4.5-.3-4.5-.3 0-1.6 1.8-2.9 4z"})))}),"fillByFill"),rt=Ke((function(e){return s.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),N||(N=s.createElement("path",{d:"M5.4 6.1c-.4.7 10 11.8 25.2 27 20.5 20.5 26.1 25.6 27.2 24.7 1.1-.9-.1-2.6-6.2-8.7-6.6-6.7-7.4-7.8-6.4-9.6.6-1.1 2-2.6 3-3.3 2.5-1.8 4.8-6.5 4.8-10 0-1.6.7-4.6 1.5-6.5.8-2 1.5-5.5 1.5-7.7V8h-4c-2.2 0-5.7.7-7.7 1.5-1.9.8-4.9 1.5-6.5 1.5-3.5 0-8.2 2.3-10 4.8-.7 1.1-2.2 2.4-3.4 3-1.8 1-2.9.3-9.5-6.4C10.9 8.3 7.2 5 6.8 5c-.4 0-1 .5-1.4 1.1zM52 13.4c0 2.8-2.3 7.7-4 8.6-1 .6-3 1-4.4 1-2.1 0-2.6-.5-2.6-2.4 0-3.9 1.1-5.7 4.4-7.2 4-1.7 6.6-1.7 6.6 0zm-14 3.3c0 3.6-2.1 9.1-4.1 10.9-2 1.8-2.1 1.8-3.5-.1-2.2-3-1.7-6.4 1.5-9.6 3.3-3.3 6.1-3.8 6.1-1.2zm10.7 11c.7 1.9-5.2 7.3-7.9 7.3-1.3 0-3.3-.6-4.4-1.4-1.9-1.5-1.9-1.5.2-3.6 3.4-3.4 11.3-4.9 12.1-2.3zM13.8 29c-7.6 6.2-7.7 14.4-.5 21.7 7.3 7.2 15.5 7.1 21.7-.5 2.8-3.4 2.8-3.7 1.3-5.4-.9-1-3-1.8-4.8-1.8-4.1 0-6.3-2.3-4.5-4.5.7-.9 1-1.8.7-2.2-.4-.3-1.3 0-2.2.7-2.2 1.8-4.5-.4-4.5-4.5 0-1.8-.8-3.9-1.8-4.8-1.7-1.5-2-1.5-5.4 1.3zm4.8 5.3c1.8 7.2-1.9 14.6-5.2 10.3-2-2.8-1.7-6.9.7-10 2.5-3.2 3.7-3.3 4.5-.3zM31 46c1.3.9 1.1 1.4-1.3 3.5-5.3 4.7-15.3 1.5-10.5-3.3 1.5-1.5 9.7-1.6 11.8-.2z"})))}),"fillByFill"),nt=Ke((function(e){return s.createElement("svg",P({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},e),k||(k=s.createElement("path",{d:"m20.998 20.038-5.236-5.445a8.854 8.854 0 0 0 2.084-5.71C17.846 3.984 13.86 0 8.963 0S.081 3.985.081 8.882c0 4.898 3.984 8.883 8.882 8.883 1.839 0 3.591-.555 5.09-1.607l5.275 5.487c.22.229.517.355.835.355a1.16 1.16 0 0 0 .835-1.962ZM8.963 2.319a6.573 6.573 0 0 1 6.566 6.564 6.573 6.573 0 0 1-6.566 6.566 6.573 6.573 0 0 1-6.565-6.566 6.573 6.573 0 0 1 6.565-6.565Z"})))}),"fillByFill"),ot=Ke((function(e){return s.createElement("svg",I({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},e),B||(B=s.createElement("path",{d:"M6.574 8.57c0-.73-.002-1.41 0-2.09C6.587 2.742 9.586-.137 13.32.005c3.286.125 6.037 2.919 6.104 6.21.016.767.002 1.537.002 2.352h.376c1.618.001 3.235 0 4.853.002.825.002 1.276.519 1.185 1.332-.357 3.18-.706 6.36-1.063 9.54-.26 2.316-.497 4.635-.796 6.946-.26 2.007-2.022 3.556-4.053 3.596-1.584.031-3.169.01-4.753.01H6.47c-2.536 0-4.264-1.59-4.53-4.108-.329-3.127-.694-6.25-1.042-9.375-.247-2.215-.496-4.432-.74-6.648C.073 9.086.537 8.57 1.32 8.57c1.618-.003 3.236 0 4.854 0h.4Zm12.87 4.262c.114.029.213.047.307.078.492.16.803.635.745 1.136-.057.496-.476.928-.979.943-.768.023-1.54.02-2.309 0-.48-.012-.884-.397-.977-.867-.091-.465.16-.961.6-1.16.139-.062.291-.093.43-.137V10.73H8.734v2.1c.116.03.215.049.31.08.486.16.797.642.738 1.14-.06.5-.475.924-.983.938-.769.023-1.539.024-2.308.002-.506-.015-.924-.444-.982-.94a1.065 1.065 0 0 1 .739-1.138c.102-.034.208-.057.3-.08v-2.103H2.421c.034.327.064.634.098.941.258 2.304.517 4.609.773 6.914.273 2.46.535 4.92.818 7.38.126 1.095 1.019 1.882 2.126 1.884 4.507.008 9.015.008 13.522.002 1.107-.001 2-.78 2.132-1.88.222-1.848.413-3.7.62-5.55l.773-6.948.3-2.74h-4.138v2.1ZM8.662 8.545h8.625c0-.736.006-1.45-.001-2.162-.023-2.19-1.672-3.981-3.885-4.224-2.069-.227-4.12 1.19-4.537 3.273-.2 1.002-.142 2.057-.202 3.113Z"})))}),"fillByFill"),at=Ke((function(e){return s.createElement("svg",j({width:"1em",height:"1em",stroke:"#000",strokeWidth:1.3,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),T||(T=s.createElement("path",{d:"M19.5 7.5A1.5 1.5 0 0 0 18 6h-3.75l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),S||(S=s.createElement("path",{d:"M19.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 6h2.625l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),_||(_=s.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),it=Ke((function(e){return s.createElement("svg",D({width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),z||(z=s.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),L||(L=s.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),lt=Ke((function(e){return s.createElement("svg",A({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},e),F||(F=s.createElement("path",{d:"m17.857 15.825-6.495-6.494 6.495-6.495A1.531 1.531 0 0 0 15.692.672L9.197 7.166 2.703.672A1.53 1.53 0 0 0 .538 2.836l6.494 6.495-6.494 6.495a1.53 1.53 0 0 0 2.165 2.164l6.494-6.494 6.495 6.494a1.531 1.531 0 0 0 2.165-2.164Z"})))}),"fillByFill"),ct=Ke((function(e){return s.createElement("svg",R({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},e),M||(M=s.createElement("path",{d:"M12 12.75a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeLinecap:"round",strokeLinejoin:"round"})),H||(H=s.createElement("path",{d:"M19.5 9.75c0 6.75-7.5 12-7.5 12s-7.5-5.25-7.5-12a7.5 7.5 0 0 1 15 0Z",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),st=Ke((function(e){return s.createElement("svg",Z({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),q||(q=s.createElement("path",{d:"M14.25 7.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5ZM4.5 12.5s5.25-5.25 8.25-2.475c1.678 1.547 3 3.975 6.75 3.975M12.234 9.632 6.75 22.25M14.25 22.25V17l-3.984-2.84",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),ut=Ke((function(e){return s.createElement("svg",U({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},e),V||(V=s.createElement("path",{d:"m8.669 10.969-1.2 3.256a.5.5 0 0 1-.938 0l-1.2-3.256a.506.506 0 0 0-.3-.3l-3.256-1.2a.5.5 0 0 1 0-.938l3.256-1.2a.506.506 0 0 0 .3-.3l1.2-3.256a.5.5 0 0 1 .938 0l1.2 3.256a.506.506 0 0 0 .3.3l3.256 1.2a.5.5 0 0 1 0 .938l-3.256 1.2a.506.506 0 0 0-.3.3Z"})),Y||(Y=s.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),mt=Ke((function(e){return s.createElement("svg",Q({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),G||(G=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.528 5.118a1 1 0 0 1 1.027.05l9 6a1 1 0 0 1 0 1.664l-9 6A1 1 0 0 1 8 18V6a1 1 0 0 1 .528-.882ZM10 7.868v8.263L16.197 12 10 7.869Z"})))}),"fillByFill"),pt=Ke((function(e){return s.createElement("svg",K({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},e),W||(W=s.createElement("path",{d:"M5.92 24.096q0 .832.576 1.408t1.44.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576H7.936q-.832 0-1.44.576t-.576 1.44v16.16zm12.096 0q0 .832.608 1.408t1.408.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576h-4.032q-.832 0-1.408.576t-.608 1.44v16.16z"})))}),"fillByFill"),dt=Ke((function(e){return s.createElement("svg",$({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),X||(X=s.createElement("path",{d:"m89.752 59.582 251.583 251.583 5.433 5.432 49.472 49.474v-.001l30.862 30.86h-.001l25.317 25.318-30.17 30.17-187.832-187.833v164.103l-110.729-85.459h-81.02V172.563h80.895l10.538-8.293-74.518-74.518 30.17-30.17Zm314.213 28.014c67.74 75.64 82.499 181.38 44.28 270.137l-32.95-32.95c23.87-71.004 8.998-151.973-44.615-210.559l33.285-26.628Zm-84.385 67.51c28.626 31.924 41.555 72.769 38.788 112.752l-49.237-49.236c-4.823-12.915-12.148-25.121-21.976-35.884l-.9-.974 33.325-26.659Zm-85.163-69.773-.001 58.574-32.78-32.78 32.78-25.794Z",fillRule:"evenodd"})))}),"fillByFill"),ft=Ke((function(e){return s.createElement("svg",ee({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),J||(J=s.createElement("path",{d:"m403.966 426.944-33.285-26.629c74.193-81.076 74.193-205.016-.001-286.091l33.285-26.628c86.612 96.713 86.61 242.636.001 339.348ZM319.58 155.105l-33.325 26.66c39.796 42.567 39.795 108.443.002 151.01l33.324 26.66c52.204-58.222 52.204-146.11-.001-204.33Zm-85.163-69.772-110.855 87.23H42.667v170.666h81.02l110.73 85.459V85.333Z",fillRule:"evenodd"})))}),"fillByFill"),gt=Ke((function(e){return s.createElement("svg",oe({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},e),ne||(ne=s.createElement("path",{d:"M12.598 20.946v-8.25h8.25a1.375 1.375 0 0 0 0-2.75h-8.25v-8.25a1.375 1.375 0 0 0-2.75 0v8.25h-8.25a1.375 1.375 0 0 0 0 2.75h8.25v8.25a1.375 1.375 0 1 0 2.75 0Z"})))}),"fillByFill"),ht=Ke((function(e){return s.createElement("svg",re({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},e),te||(te=s.createElement("path",{d:"M20.848 3.696H1.598a1.375 1.375 0 0 1 0-2.75h19.25a1.375 1.375 0 0 1 0 2.75Z"})))}),"fillByFill"),vt=Ke((function(e){return s.createElement("svg",le({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},e),ae||(ae=s.createElement("path",{d:"M12.271 22.34c5.523 0 10-4.476 10-10 0-5.522-4.477-10-10-10-5.522 0-10 4.478-10 10 0 5.524 4.478 10 10 10Z",strokeWidth:2})),ie||(ie=s.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),yt=Ke((function(e){return s.createElement("svg",ue({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},e),ce||(ce=s.createElement("g",{clipPath:"url(#gift_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},s.createElement("path",{d:"M1.4 6.207a.1.1 0 0 0-.1.1v3a.1.1 0 0 0 .1.1h16.5a.1.1 0 0 0 .1-.1v-3a.1.1 0 0 0-.1-.1H1.4Zm-1.4.1a1.4 1.4 0 0 1 1.4-1.4h16.5a1.4 1.4 0 0 1 1.4 1.4v3a1.4 1.4 0 0 1-1.4 1.4H1.4a1.4 1.4 0 0 1-1.4-1.4v-3Z"}),s.createElement("path",{d:"M2.15 9.407a.65.65 0 0 1 .65.65v6.75a.1.1 0 0 0 .1.1h13.5a.1.1 0 0 0 .1-.1v-6.75a.65.65 0 0 1 1.3 0v6.75a1.4 1.4 0 0 1-1.4 1.4H2.9a1.4 1.4 0 0 1-1.4-1.4v-6.75a.65.65 0 0 1 .65-.65Z"}),s.createElement("path",{d:"M9.65 4.907a.65.65 0 0 1 .65.65v12a.65.65 0 1 1-1.3 0v-12a.65.65 0 0 1 .65-.65Z"}),s.createElement("path",{d:"M11.17 1.769c-.162.163-.32.452-.456.86a7.639 7.639 0 0 0-.288 1.297c-.05.35-.08.681-.098.954.272-.019.603-.049.953-.099a7.632 7.632 0 0 0 1.296-.288c.409-.135.698-.294.861-.456a1.604 1.604 0 0 0-2.268-2.268ZM9.65 5.557H9v-.043l.002-.11a14.514 14.514 0 0 1 .137-1.66c.07-.487.176-1.026.341-1.524.162-.488.4-.997.768-1.367L10.25.85a2.904 2.904 0 1 1 4.107 4.106l-.002.002c-.371.368-.88.606-1.368.768a8.914 8.914 0 0 1-1.523.341 14.517 14.517 0 0 1-1.77.139H9.65l-.001-.65Zm0 0v.65a.65.65 0 0 1-.65-.65h.65Z"}),s.createElement("path",{d:"M4.943.85a2.904 2.904 0 0 1 4.107 0l.002.003c.368.37.606.88.768 1.367.165.498.271 1.037.34 1.523a14.57 14.57 0 0 1 .14 1.77V5.557l-.65.001v.65h-.043l-.111-.002a14.518 14.518 0 0 1-1.66-.137 8.914 8.914 0 0 1-1.524-.341c-.487-.162-.996-.4-1.367-.768l-.002-.002a2.904 2.904 0 0 1 0-4.106ZM9.65 5.558v.65a.65.65 0 0 0 .65-.65h-.65Zm-.678-.678a12.958 12.958 0 0 0-.098-.953 7.634 7.634 0 0 0-.288-1.296c-.136-.409-.295-.698-.456-.861A1.604 1.604 0 0 0 5.86 4.037c.164.162.453.32.861.456.399.133.855.225 1.297.288.35.05.68.08.953.099Z"}))),se||(se=s.createElement("defs",null,s.createElement("clipPath",{id:"gift_svg__a"},s.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),xt=Ke((function(e){return s.createElement("svg",de({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},e),me||(me=s.createElement("g",{clipPath:"url(#percent_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},s.createElement("path",{d:"M15.32 1.18c.24.24.24.63 0 .87L2.55 14.82a.615.615 0 0 1-.87-.87L14.45 1.18c.24-.24.63-.24.87 0ZM4 1.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM.5 3.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0ZM13 10.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM9.5 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z"}))),pe||(pe=s.createElement("defs",null,s.createElement("clipPath",{id:"percent_svg__a"},s.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),bt=Ke((function(e){return s.createElement("svg",ge({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},e),fe||(fe=s.createElement("path",{d:"M5.347 8.514c.047.072.109.142.146.222.106.227.208.459.297.693.025.063.047.1.114.108 1.212.15 2.085.813 2.731 1.82.285.444.492.926.668 1.44.008.02-.928.336-.935.316-.035-.092-.064-.18-.099-.267-.235-.6-.532-1.16-1-1.61a2.535 2.535 0 0 0-1.62-.727c-.648-.047-1.272.04-1.858.34-.621.316-1.042.823-1.346 1.441-.255.517-.396 1.068-.48 1.636-.005.033.022.06.054.06h6.717c2.091 0 4.182 0 6.272-.002a.508.508 0 0 0 .243-.063 41.67 41.67 0 0 1 4.04-2.07c.04-.017.042-.075.005-.097a1.95 1.95 0 0 0-1.368-.222c-.507.097-.9.394-1.262.753-.015.013-.767-.628-.752-.643.487-.524 1.054-.903 1.761-1.085a.055.055 0 0 0 .04-.063c-.047-.26-.084-.518-.148-.773a8.286 8.286 0 0 0-.859-2.162c-.193-.332-.413-.649-.618-.973-.05-.077-.114-.092-.2-.087a1.45 1.45 0 0 1-1.18-.457 1.444 1.444 0 0 1-.41-1.11c.006-.087-.017-.12-.093-.157-.532-.262-1.062-.531-1.591-.798-.02-.01.425-.903.448-.89.361.182.71.359 1.061.533.183.093.366.19.552.277a.144.144 0 0 0 .124-.015c.299-.257.645-.369 1.034-.369h1.299c.024 0 .012.998-.018.998-.433 0-.866-.003-1.298 0-.347.002-.572.26-.522.588a.482.482 0 0 0 .487.407c.425.005.848 0 1.274 0h.144c.03 0 .054.025.054.055 0 .294-.002.578.002.86 0 .065.03.162.065.217.65 1.06 1.108 2.198 1.318 3.43.02.122.04.244.057.367.01.064.028.094.104.107.745.13 1.37.461 1.794 1.11.111.17.193.356.29.543a.054.054 0 0 1-.028.075c-.316.132-.63.26-.94.394a39 39 0 0 0-4.404 2.255.417.417 0 0 1-.21.057c-2.291.003-4.585.003-6.876.003-.076 0-.118.002-.138.102-.25 1.22-1.203 2.16-2.417 2.355-1.334.214-2.549-.447-3.115-1.57-.134-.264-.22-.55-.332-.847a.054.054 0 0 0-.05-.035H.979a.055.055 0 0 1-.055-.055c-.002-.172-.007-.334.003-.499.077-1.28.388-2.479 1.21-3.497.591-.733 1.363-1.17 2.28-1.349.097-.02.194-.035.298-.05.034-.005.054-.042.042-.075a1.398 1.398 0 0 0-.596-.676c-.394-.234-.83-.284-1.272-.289-.76-.005-1.517-.003-2.276 0H.495a.055.055 0 0 1-.054-.055V.577c0-.03.025-.055.054-.055h8.79c.03 0 .055.025.055.055v.108c0 2.23 0 4.46-.002 6.69 0 .101.067.191.163.221.735.215 1.163.838 1.302 1.581.054.297-.035.564-.09.843-.074.372-.118.746-.042 1.123.104.524.352.775.886.83.57.058 1.116-.027 1.613-.341.48-.307.762-.761.945-1.285.225-.638.287-1.302.275-1.973-.01-.419-.042-.84-.067-1.28 0-.02.965-.141.967-.119.025.24.06.471.065.703.01.49.027.98-.003 1.47-.054.895-.264 1.753-.791 2.499-.508.718-1.203 1.14-2.064 1.282-.457.075-.918.087-1.373-.025-.826-.207-1.291-.8-1.43-1.611a3.798 3.798 0 0 1 .099-1.652c.084-.309-.007-.563-.166-.805-.168-.257-.435-.337-.72-.337-1.18-.008-2.358-.003-3.538-.003-.01.003-.012.008-.022.018Zm.027-6.941v2.895c0 .02-.99.02-.99 0V1.573a.055.055 0 0 0-.054-.055H1.483a.055.055 0 0 0-.055.055V7.44c0 .03.025.055.055.055h6.806c.03 0 .054-.025.054-.055V1.573a.055.055 0 0 0-.054-.055H5.426c-.03 0-.052.025-.052.055Zm-1.83 13.41c-.035 0-.062.036-.053.068a1.965 1.965 0 0 0 2.13 1.414c.77-.087 1.619-.835 1.653-1.426a.054.054 0 0 0-.054-.058H3.543v.003ZM15.555 15.732c-.007-.017 0-.04.017-.047.27-.122.54-.242.814-.364a.052.052 0 0 1 .07.025c.28.553.71.93 1.311 1.08.51.127 1.007.06 1.467-.21.812-.474 1.287-1.544.78-2.636a.053.053 0 0 1 .022-.07c.252-.14.507-.28.774-.424a.052.052 0 0 1 .074.025c.443.925.473 1.858-.012 2.763-.614 1.148-1.606 1.682-2.892 1.594-1.104-.08-2.044-.83-2.425-1.736Z"})))}),"fillByFill"),Et=Ke((function(e){return s.createElement("svg",ve({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),he||(he=s.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),wt=Ke((function(e){return s.createElement("svg",xe({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},e),ye||(ye=s.createElement("path",{d:"M13.335 19.811a.973.973 0 0 1-1.12-.87l-.588-6.25a.942.942 0 0 0-.656-.811l-.064-.02-.074-.026-.095-.036a3.817 3.817 0 0 1-.518-.255 2.849 2.849 0 0 1-.563-.44 1.981 1.981 0 0 1-.418-.625c-.103-.238-.124-.511-.177-.795a31.06 31.06 0 0 1-.132-.9c-.022-.156-.04-.316-.058-.477-.02-.161-.036-.325-.053-.49a27.022 27.022 0 0 1-.124-3.003c.006-.321.02-.633.037-.93.01-.148.02-.292.033-.433.013-.14.024-.275.038-.406l.044-.375c.014-.119.033-.233.048-.34.014-.106.033-.207.049-.3l.023-.133.024-.122c.023-.121.05-.241.078-.36l.033-.13.1-.385c.125-.485.608-.802 1.097-.696a.927.927 0 0 1 .717.744l1.55 8.784 1.564 8.873.01.055c.094.538-.266 1.068-.805 1.152ZM6.606 2.067c-.002-.138-.002-.263-.006-.375l-.018-.539a.406.406 0 0 0-.812-.015l-.001.007-.019.244-.021.278c-.008.108-.022.229-.034.361-.013.132-.026.276-.045.427-.018.15-.035.31-.058.474-.023.164-.044.334-.07.506-.028.172-.053.347-.083.52-.031.174-.06.348-.093.519l-.048.253-.05.246c-.032.162-.068.317-.1.465l-.06.255a.302.302 0 0 1-.593-.106L5.05.951a.409.409 0 0 0-.355-.453.416.416 0 0 0-.449.325L3.182 5.38a.275.275 0 0 1-.542-.094L2.674 5c.02-.15.04-.307.064-.47l.037-.249.042-.254c.026-.172.06-.345.09-.519.03-.174.067-.346.1-.517.034-.17.072-.338.107-.5.035-.162.074-.317.108-.466.033-.148.07-.287.103-.416.034-.128.062-.247.092-.35l.075-.27.066-.234.003-.012a.407.407 0 0 0-.77-.26l-.093.234-.108.267c-.042.104-.085.222-.134.35-.048.128-.102.267-.153.416-.052.148-.11.304-.164.467-.054.162-.112.33-.167.502-.053.173-.11.347-.162.523-.052.176-.106.352-.153.526l-.072.259-.067.254c-.044.167-.083.33-.121.483a28.633 28.633 0 0 0-.18.807c-.024.111-.105.81-.078.892-.082 1.184.508 2.261 1.45 2.718L.575 18.621a.972.972 0 1 0 1.914.338L3.825 9.4c1.065-.11 2.006-.956 2.314-2.137.043-.072.123-.418.137-.5.013-.08.03-.18.045-.291a20.175 20.175 0 0 0 .107-.82c.016-.158.036-.324.05-.496l.025-.262.02-.268c.016-.18.025-.363.037-.546.012-.183.017-.367.026-.547.008-.18.01-.358.016-.53.004-.17.003-.337.005-.494.003-.157 0-.306-.002-.443Z"})))}),"fillByFill"),Ot=Ke((function(e){return s.createElement("svg",Ee({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},e),be||(be=s.createElement("path",{d:"M12.207 3.586 9.414.793A1 1 0 0 0 8 .793L.293 8.5A.991.991 0 0 0 0 9.207V12a1 1 0 0 0 1 1h2.793a.992.992 0 0 0 .707-.293L12.207 5a1 1 0 0 0 0-1.414ZM1.207 9 6.5 3.707 7.543 4.75 2.25 10.043 1.207 9ZM1 10.207 2.793 12H1v-1.793Zm3 1.587L2.957 10.75 8.25 5.457 9.293 6.5 4 11.794Zm6-6L7.207 3l1.5-1.5L11.5 4.293l-1.5 1.5Z"})))}),"fillByFill"),Nt=Ke((function(e){return s.createElement("svg",Ne({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),we||(we=s.createElement("path",{d:"M8 4.87c-3.6 0-5.167-2.167-5.5-3h11c-.5.833-1.9 3-5.5 3Zm0 0v3m-3.5 6H2c0-2 1.2-6 6-6m0 0c4.8 0 6 4 6 6h-2.5m-3.5-.5 2.5-2"})),Oe||(Oe=s.createElement("circle",{cx:8,cy:13.37,r:1})))}),"fillByStroke"),Ct=Ke((function(e){return s.createElement("svg",Pe({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ce||(Ce=s.createElement("g",{clipPath:"url(#important_svg__a)",fill:"#FF3A44"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 20c5.52 0 10-4.48 10-10S15.52 0 10 0 0 4.48 0 10s4.48 10 10 10Z",fillOpacity:.25}),s.createElement("path",{d:"M10.71 14.71c-.19.18-.44.29-.71.29-.27 0-.53-.1-.71-.29-.18-.19-.29-.44-.29-.71 0-.27.1-.53.29-.71.19-.18.44-.29.71-.29.27 0 .53.1.71.29.18.19.29.44.29.71 0 .27-.1.53-.29.71ZM10 4.25a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V5a.75.75 0 0 1 .75-.75Z"}))),ke||(ke=s.createElement("defs",null,s.createElement("clipPath",{id:"important_svg__a"},s.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}),""),kt=Ke((function(e){return s.createElement("svg",Te({width:"1em",height:"1em",viewBox:"0 0 182 116",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Be||(Be=s.createElement("path",{d:"M84.57 19.329c0-4.477-.063-8.755.022-13.028.065-3.61 2.972-6.344 6.497-6.3 3.423.042 6.213 2.765 6.325 6.284.08 2.346.022 4.698.022 7.05v5.999H147.839c5.059 0 7.532 2.47 7.538 7.512.005 7.985.01 15.976 0 23.96-.006 4.645-2.575 7.18-7.254 7.19-4.962.01-9.925-.043-14.882.043-.998.016-2.13.323-2.956.866-10.456 6.91-20.859 13.9-31.304 20.819-1.11.737-1.588 1.496-1.577 2.884.07 8.927.053 17.854.021 26.781-.01 3.115-1.797 5.461-4.646 6.322-2.629.797-5.606-.129-7.012-2.566-.73-1.265-1.137-2.89-1.153-4.359-.102-8.722-.086-17.45-.016-26.173.01-1.372-.43-2.152-1.561-2.905-10.451-6.915-20.854-13.91-31.31-20.819-.826-.543-1.958-.845-2.956-.86-5.027-.087-10.054-.028-15.086-.044-4.4-.016-7.044-2.626-7.055-6.984-.021-8.255-.021-16.509 0-24.769.01-4.267 2.645-6.903 6.915-6.909 16.16-.016 32.319-.005 48.477-.005h2.549v.01Z",fill:"currentcolor"})),Ie||(Ie=s.createElement("path",{d:"M18.518 83.776c-3.803 0-7.21.016-10.617 0C3.523 83.754.88 81.128.88 76.759.868 55.677.868 34.6.873 13.53c0-4.15 2.613-7.034 6.342-7.082 3.803-.049 6.523 2.884 6.523 7.113.011 18.258 0 36.515 0 54.767v2.556h37.544c4.11 0 5.95 1.254 7.484 5.09 4.007 10.014 8.047 20.012 11.964 30.064.584 1.495.928 3.287.713 4.848-.392 2.889-2.908 4.886-5.708 5.09-2.865.21-5.381-1.383-6.567-4.315-3.487-8.637-6.969-17.273-10.349-25.947-.58-1.49-1.255-2.034-2.88-1.986-4.218.135-8.44.043-12.093.043-1.69 2.653-3.042 5.075-4.673 7.286-5.45 7.399-10.998 14.722-16.508 22.073-1.684 2.243-3.921 3.277-6.674 2.701-2.66-.554-4.345-2.282-4.968-4.961-.488-2.12.183-3.945 1.46-5.64 4.801-6.376 9.576-12.768 14.361-19.161.478-.635.934-1.286 1.669-2.303l.005.01ZM148.29 83.776c-4.078 0-8.697-.054-13.316.07-.563.016-1.347.92-1.62 1.587-3.536 8.685-6.98 17.407-10.494 26.103-1.422 3.519-4.587 5.155-7.854 4.192-3.895-1.147-5.644-4.962-4.045-9.008 3.326-8.41 6.706-16.8 10.059-25.199.821-2.05 1.652-4.1 2.462-6.156 1.197-3.04 3.429-4.487 6.68-4.487 11.867.01 23.734 0 35.601 0h2.484v-2.422c0-18.392-.016-36.784.011-55.17.005-4.929 4.367-8.093 8.728-6.42 2.479.953 4.094 3.272 4.126 6.113.043 4.095.016 8.19.016 12.285V76.21c0 5.096-2.441 7.555-7.495 7.56h-10.171c1.089 1.48 1.942 2.648 2.811 3.81 4.463 5.957 8.954 11.892 13.385 17.875 2.173 2.933 1.899 6.436-.552 8.761-2.897 2.749-7.222 2.281-9.813-1.147-5.858-7.764-11.701-15.534-17.473-23.364-1.282-1.737-2.227-3.723-3.53-5.93Z",fill:"currentcolor"})))}),"fillByStroke"),Pt=Ke((function(e){return s.createElement("svg",_e({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Se||(Se=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.514 8.532c-.01.155-.014.31-.014.468v.007c0-.16.005-.318.014-.475ZM9 16.5a7.5 7.5 0 0 0 0-15v15Zm0 .5A8 8 0 1 0 9 1a8 8 0 0 0 0 16Z",fill:"currentColor"})))}),"fillByStroke"),Bt=Ke((function(e){return s.createElement("svg",ze({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),je||(je=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.486 9.468c.01-.155.014-.31.014-.468v-.007c0 .16-.005.318-.014.475ZM9 1.5a7.5 7.5 0 1 0 0 15v-15ZM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1Z",fill:"currentColor"})))}),"fillByStroke"),It=Ke((function(e){return s.createElement("svg",Fe({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Le||(Le=s.createElement("g",{clipPath:"url(#wholeOption_svg__a)"},s.createElement("circle",{cx:8.333,cy:8,r:8}))),De||(De=s.createElement("defs",null,s.createElement("clipPath",{id:"wholeOption_svg__a"},s.createElement("path",{fill:"#fff",transform:"translate(.333)",d:"M0 0h16v16H0z"})))))}),"fillByFill"),Tt=Ke((function(e){return s.createElement("svg",Me({width:"1em",height:"1em",viewBox:"0 0 21 16",xmlns:"http://www.w3.org/2000/svg"},e),Ae||(Ae=s.createElement("path",{d:"M.9 4.1A3.3 3.3 0 0 1 4.2.8h12.6a3.3 3.3 0 0 1 3.3 3.3v7.8a3.3 3.3 0 0 1-3.3 3.3H4.2a3.3 3.3 0 0 1-3.3-3.3V4.1ZM2.1 8v3.9c0 1.159.94 2.1 2.1 2.1h2.7V8.848l-1.975 1.977a.6.6 0 1 1-.85-.85L6.051 8H2.1Zm1.522-1.2A2.4 2.4 0 0 1 6.9 3.52V2H4.2a2.1 2.1 0 0 0-2.1 2.1v2.7h1.522Zm2.078 0h1.2V5.6a1.2 1.2 0 1 0-1.2 1.2Zm2.4-1.2v1.2h1.2a1.2 1.2 0 1 0-1.2-1.2Zm3.278 1.2H18.9V4.1A2.1 2.1 0 0 0 16.8 2H8.1V3.52A2.4 2.4 0 0 1 11.378 6.8ZM8.948 8l1.977 1.975a.6.6 0 1 1-.85.85L8.1 8.848V14h8.7a2.1 2.1 0 0 0 2.1-2.1V8H8.948Z"})))}),"fillByFill");exports.CROP_MODE=void 0,(He=exports.CROP_MODE||(exports.CROP_MODE={}))[He.fill=0]="fill",He[He.pad=1]="pad",He[He.fit=2]="fit",He[He.mfit=3]="mfit",He[He.scale=4]="scale",He[He.limit=5]="limit",He[He.lpad=6]="lpad",He[He.mpad=7]="mpad",He[He.crop=8]="crop",He[He.fill_pad=9]="fill_pad",He[He.thumb=10]="thumb",exports.GRAVITY_MODE=void 0,(Re=exports.GRAVITY_MODE||(exports.GRAVITY_MODE={}))[Re.center=0]="center",Re[Re.north_east=1]="north_east",Re[Re.north=2]="north",Re[Re.north_west=3]="north_west",Re[Re.west=4]="west",Re[Re.south_west=5]="south_west",Re[Re.south=6]="south",Re[Re.south_east=7]="south_east",Re[Re.east=8]="east",Re[Re.liquid=9]="liquid",Re[Re.auto=10]="auto",exports.QUALITY_MODE=void 0,(qe=exports.QUALITY_MODE||(exports.QUALITY_MODE={}))[qe.best=1]="best",qe[qe.good=2]="good",qe[qe.eco=3]="eco",qe[qe.low=4]="low",qe[qe.custom=5]="custom",exports.CURRENCY=void 0,(Ze=exports.CURRENCY||(exports.CURRENCY={})).USD="$",Ze.EUR="€",Ze.GBP="£",Ze.UAH="₴",Ze.AED="د.",Ze.ILS="₪",Ze.JPY="¥",Ze.KZT="₸",Ze.RUB="₽",exports.DISCOUNT_TYPE=void 0,(Ve=exports.DISCOUNT_TYPE||(exports.DISCOUNT_TYPE={}))[Ve.common=0]="common",Ve[Ve.bonus=1]="bonus",exports.DELIVERY_TYPE=void 0,(Ye=exports.DELIVERY_TYPE||(exports.DELIVERY_TYPE={}))[Ye.delivery=1]="delivery",Ye[Ye.takeAway=2]="takeAway",Ye[Ye.virtualVenue=3]="virtualVenue",Ye[Ye.dinein=4]="dinein",exports.DISCOUNT_TARGET=void 0,(Ue=exports.DISCOUNT_TARGET||(exports.DISCOUNT_TARGET={}))[Ue.products=0]="products",Ue[Ue.delivery=1]="delivery";var St=function(e,t){return Object.keys(e).find((function(r){return e[r]===t}))},_t=function(e,t){var r="";return e&&(r=exports.CURRENCY[e]||e),(t||0===t)&&(r="".concat(t," ").concat(r)),r},jt={cutlery:{addCutlery:"Add cutlery",cutlery:"Cutlery"},checkoutFormItem:{change:"Change"},gift:{itsGift:"It's a gift",name:"Name",namePlaceholder:"Type the recipient name here",greeting:"Greeting",greetingPlaceholder:"Type greetings note to you order",phone:"Phone",phonePlaceholder:"Type the recipient's phone number here"},bagesPaymentsOrderSummary:{discount:"Discount",freeDelivery:"Free delivery",bonuses:"Bonuses"},tag:{vegan:"vegan",vegetarian:"vegetarian",spicy:"spicy",freeGluten:"free gluten"},errorConstructor:{selectOneOf:"Select one of options",selectAtLeast:"Select at least",for:"for",maximumAvailable:"Maximum avaliable to select is",minimumOption:"You should choose"},productConstructor:{ingredients:"Ingredietns",comments:"Comments",addName:"Add name",addComment:"Add comments",addCommentPlaceholder:"Add comments placeholder",addNamePlaceholder:"Add name placeholder",summary:"Summary",toppings:"Toppings",half:"Half",full:"Full",addToCart:"Add to cart",back:"Back",next:"Next",left:"left",right:"right",change:"Change",free:"free",upToOption:"You can choose up to {count}",freeOptions:"First {count} are free",portionSizeLabel:"Portion size",portionSizeLabelWeighed:"Portion size weighed",gr:"gr",weightProductAcceptable:"deviation is acceptable",weightAdditionalPayment:"additional payment up to {payment} is possible"},summary:{editProduct:"Edit",addRemovedOffer:"Add",removedOffer:"Remove",bonus:"Bonus",discount:"Discount",coupon:"Coupon",summary:"Payment Summary",subtotal:"Subtotal",deliveryCost:"Delivery Cost",deliveryCostBase:"Delivery Cost Base",deliveryCostFinal:"Delivery Cost Final",serviceFee:"Service Fee",minimumOrderCharge:"Minimum Order Charge",driverTip:"Driver Tip",invalidPromocode:"Promocode Invalid",placeholderPromocode:"Promocode Placeholder",paymentBalance:"Payment Balance",weightAdjustment:"Price buffer",weightAdjustmentTooltip:"Price buffer tooltip",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry",dinein:"Dinein",virtualVenue:"Gift"}},zt=e.createContext(jt),Lt=zt.Provider,Dt=function(t){var r=e.useContext(zt);return r[t]?r[t]:jt[t]},Ft=function(t){var r=t.accumulatedPurchaseBonus,n=void 0===r?0:r,o=t.discount,a=void 0===o?0:o,i=t.finalDeliveryPrice,l=void 0===i?0:i,c=t.currency,s=Dt("bagesPaymentsOrderSummary");return e.createElement("div",{className:"bagesPaymentSummary"},0===l&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(Et,{size:12,color:"#fff"})),e.createElement(bt,null),e.createElement("span",{className:"discountLabel"},s.freeDelivery)),a>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(Et,{size:12,color:"#fff"})),e.createElement(xt,null),e.createElement("span",{className:"discountLabel"},_t(c,a)," ",s.discount)),n>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(Et,{size:12,color:"#fff"})),e.createElement(yt,null),e.createElement("span",{className:"discountLabel"},n," ",s.bonuses)))};u(".orderSummary .summaryBody{background:#f8f8f8;border-radius:var(--border-radius,10px);padding:25px}.orderSummary .summaryBody .head{display:inline-block;font-size:24px;font-weight:600;margin:0 0 20px}.orderSummary .summaryBody .summaryItem{display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 20px}.orderSummary .summaryBody .summaryItem:last-child{margin:0}.orderSummary .summaryBody .summaryItem.totalPrice{font-size:20px}.orderSummary .summaryBody .summaryItem .disabled{opacity:.5}.orderSummary .summaryBody .summaryItem .inlineValue{align-items:center;display:flex;gap:5px}.orderSummary .summaryBody .summaryItem.customDiscount .price{background:#fff;border:1px solid #dedede;border-radius:5px;padding:0 5px}.orderSummary .summaryBody .summaryItem.customDiscount input{border:none;font-size:16px;font-weight:600;height:36px;margin:0 5px 0 0;outline:none;text-align:right;width:65px}.orderSummary .summaryBody .summaryItem.customDiscount input:active,.orderSummary .summaryBody .summaryItem.customDiscount input:focus{border:none;outline:none}.orderSummary .summaryBody .summaryItem.item-question>span{align-items:center;display:flex}.orderSummary .summaryBody .summaryItem .price,.orderSummary .summaryBody .summaryItem .total{font-weight:600}.orderSummary .summaryBody .summaryItem .price.priceBlue,.orderSummary .summaryBody .summaryItem .total.priceBlue{color:var(--main-color,#007aff)}.orderSummary .summaryBody .itemDiscount .itemName{align-items:center;display:flex;gap:7px}.orderSummary .summaryBody .itemDiscount .itemName .icon{margin:0 5px}.orderSummary .summaryBody .itemDiscount .controlOffer{color:#ccc;cursor:pointer;font-size:14px}.orderSummary .summaryBody .itemDiscount .discount{align-items:baseline;display:flex;flex-direction:row;justify-content:center}.orderSummary .summaryBody .itemDiscount .discount .discount-name{color:#d6d1d1;font-size:16px;text-transform:uppercase}.orderSummary .summaryBody .itemDiscount .discountPart{display:flex;flex-direction:column;justify-content:center}.orderSummary .summaryBody .question{align-items:center;background:#ccc;border-radius:100px;color:var(--warning,#fe7171);display:inline-flex;font-size:16px;height:20px;justify-content:center;margin:0 5px;width:20px}.orderSummary .summaryBody .minimal-order{color:var(--warning,#fe7171)!important}.orderSummary .summaryBody .hr{background:#cfd1d4;height:1px;margin:0 0 20px;width:100%}.orderSummary .promocode{color:var(--main-color,#007aff);cursor:pointer;display:inline-block;margin-bottom:15px;width:100%}.orderSummary .promocode .invalidCoupon{color:var(--warning,#fe7171);display:block}.orderSummary .promocode .inputArea{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:flex;height:40px;justify-content:space-between;padding:0 10px}.orderSummary .promocode .inputArea .labelInput{height:100%;padding:0}.orderSummary .promocode .inputArea .labelInput,.orderSummary .promocode .inputArea input{width:100%}.orderSummary .confirmButton{background:var(--main-color,#007aff);border-radius:var(--border-radius,10px);color:#fff;cursor:pointer;font-size:16px;margin:10px 0 0;padding:15px 5px;text-align:center;width:100%}.orderSummary .confirmButton.disable{opacity:.5;pointer-events:none}");u(".labelInput{align-items:center;background:#f8f8f8;border-radius:var(--border-radius,5px);display:inline-flex;height:44px;overflow:hidden;padding:0 13px}.labelInput .icon{height:25px;margin:0 10px 0 0;width:25px}.labelInput input{background:none;border:none;height:100%;outline:none;width:100%}.labelInput input::-webkit-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-moz-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-ms-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::placeholder{color:#747474;font-size:14px;font-weight:400}.rtl .labelInput .icon{margin:0 0 0 10px}");var At=function(r){var n=r.icon,o=r.onChange,a=p(r,["icon","onChange"]);return e.createElement("label",{className:"labelInput"},n&&n,e.createElement(t.DebounceInput,m({debounceTimeout:a.debounce},a,{onChange:o})))};u('@charset "UTF-8";.customCheckbox{border:1px solid #ccc;border-radius:3px;cursor:pointer;display:inline-block;height:15px;position:relative;width:15px}.customCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.customCheckbox.selected:before{color:#fff;content:"✔";font-size:12px;left:1px;position:absolute;top:-1px;z-index:9}.customCheckbox.disabled{opacity:.5;pointer-events:none}');var Mt=function(t){var n=t.value,o=t.disabled,a=t.onChange;return e.createElement("div",{className:r("customCheckbox",{selected:n,disabled:o}),onClick:function(){return!o&&a(!n)}})},Ht=function(t){var o=t.customConfirmButton,a=t.accumulatedPurchaseBonus,i=t.discount,l=t.finalDeliveryPrice,c=t.currency,s=t.offerType,u=t.coupon,m=t.fullPrice,p=t.discounts,d=t.deliveryType,f=t.deliveryPrice,g=t.serviceFee,h=t.topupToMinimum,v=t.driverTip,y=t.hideCoupon,x=t.paymentBalance,b=t.weightAdjustmentPriceBuffer,E=t.finalPrice,w=t.setCoupon,O=t.disabledConfirm,N=t.onConfirm,C=t.customDiscount,k=t.customDiscountValue,P=t.setCustomDiscountValue,B=t.customFields,I=t.finalCharge,T=t.canceledOfferIds,S=t.toggleOffer,_=t.recalculateDiscounts,j=t.disableRecalculateDiscounts,z=t.showRecalculateDiscounts,L=t.onChangeRecalculateDiscounts,D=t.canManageDiscount,F=t.debounce,A=Dt("summary"),M=e.useState(!1),H=M[0],R=M[1],q=function(t){var r=null==T?void 0:T.includes(t.offer_id);return e.createElement("div",{key:t.offer_id,className:"itemDiscount summaryItem"},e.createElement("span",{className:"itemName"},e.createElement("div",{className:"discount"},e.createElement("div",{className:"discountPart"},t.discount_type===exports.DISCOUNT_TYPE.bonus?A.bonus:2===t.offer_type?A.coupon:A.discount,t.offer_name&&e.createElement("div",{className:"discount-name"},t.offer_name)),!!t.coupon&&2===t.offer_type&&e.createElement(lt,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return w("")}}))),e.createElement("div",{className:"inlineValue"},t.discount_type===exports.DISCOUNT_TYPE.common&&D&&e.createElement("div",{onClick:function(){return S(t.offer_id)},className:"controlOffer"},r?A.addRemovedOffer:A.removedOffer),!r&&e.createElement("div",{className:"priceBlue price"},"-",_t(c,t.discount))))};e.useEffect((function(){R(!!(null==u?void 0:u.length))}),[u]);return e.createElement("div",{className:"orderSummary"},e.createElement("div",{className:"summaryBody"},e.createElement("span",{className:"head"},A.summary),!!B&&B.map((function(t){return e.createElement("div",{className:"summaryItem customFields",key:t.label},e.createElement("span",{className:"label"},t.label),e.createElement("span",{className:"value"},t.value))})),e.createElement("div",{className:"summaryItem subtotal"},e.createElement("span",null,A.subtotal),e.createElement("span",{className:"price"},_t(c,m))),!!p&&p.filter((function(e){return e.discount_target===exports.DISCOUNT_TARGET.products&&e.discount_type===exports.DISCOUNT_TYPE.common})).map(q),d===exports.DELIVERY_TYPE.delivery&&e.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},e.createElement("span",null,f===l?A.deliveryCost:A.deliveryCostBase),e.createElement("span",{className:"price"},_t(c,f||l))),C&&e.createElement("div",{className:"summaryItem customDiscount"},e.createElement("span",null,A.discount),e.createElement("span",{className:"price"},e.createElement("input",{type:"number",value:k,onChange:function(e){var t=e.target;return P(t.value)}}),_t(c))),!!p&&p.filter((function(e){return e.discount_target===exports.DISCOUNT_TARGET.delivery})).map(q),d===exports.DELIVERY_TYPE.delivery&&f!==l&&e.createElement("div",{className:"summaryItem deliveryCostFinal"},e.createElement("span",null,A.deliveryCostFinal),e.createElement("span",{className:"price"},_t(c,l))),!!p&&p.filter((function(e){return e.discount_target===exports.DISCOUNT_TARGET.products&&e.discount_type===exports.DISCOUNT_TYPE.bonus})).map(q),!!g&&e.createElement("div",{className:"summaryItem serviceFee"},e.createElement("span",{className:"tooltip-container tooltipServiceFee"},A.serviceFee," ",e.createElement("span",{className:"question"},"?")),e.createElement(n.Tooltip,{anchorSelect:".tooltipServiceFee"},A.serviceFeeTooltip),e.createElement("span",{className:"price"},_t(c,g))),!!h&&e.createElement("div",{className:"summaryItem item-question minimal-order"},e.createElement("span",{className:"tooltip-container tooltipMinimumOrderCharge"},A.minimumOrderCharge," ",e.createElement("span",{className:"question"},"?")),e.createElement(n.Tooltip,{anchorSelect:".tooltipMinimumOrderCharge"},A.minimumOrderChargeTooltip),e.createElement("span",{className:"price"},_t(c,h))),!!v&&e.createElement("div",{className:"summaryItem item-question"},e.createElement("span",{className:"tooltip-container tooltipDriverTip"},e.createElement("span",null,A.driverTip),e.createElement("span",{className:"question"},"?")),e.createElement(n.Tooltip,{anchorSelect:".tooltipDriverTip"},A.driverTooltip),e.createElement("span",{className:"price"},_t(c,v))),!!b&&e.createElement("div",{className:"summaryItem item-question weightAdjustment"},e.createElement("span",{className:"tooltip-container weight-addjustmant"},e.createElement("span",null,A.weightAdjustment),e.createElement("span",{className:"question"},"?")),e.createElement(n.Tooltip,{anchorSelect:".weight-addjustmant"},A.weightAdjustmentTooltip),e.createElement("span",{className:"price"},_t(c,b))),!y&&p&&!p.some((function(e){return e.coupon&&2===e.offer_type}))&&e.createElement("span",{className:"promocode"},!!u.trim().length&&2!==s&&e.createElement("span",{className:"invalidCoupon"},A.invalidPromocode),H?e.createElement("span",{className:"inputArea"},e.createElement(At,{autoFocus:!0,value:u,onChange:function(e){return w(e.target.value)},debounce:F||1e3,placeholder:A.promocodePlachedolderInput||""}),e.createElement(lt,{size:15,onClick:function(){w(""),R(!1)},color:"var(--warning, #FE7171)"})):e.createElement("span",{onClick:function(){return R(!0)}},A.placeholderPromocode)),z&&e.createElement("div",{className:"summaryItem"},e.createElement("span",{className:r({disabled:j})},A.recalculateDiscounts),e.createElement("span",{className:"price"},e.createElement(Mt,{value:_,onChange:L,disabled:j}))),null!==x&&e.createElement("div",{className:"summaryItem"},e.createElement("span",null,A.paymentBalance),e.createElement("span",{className:"price"},_t(c,x))),e.createElement("div",{className:"hr"}),e.createElement("div",{className:"summaryItem totalPrice"},e.createElement("span",{className:"total"},A.total),e.createElement("span",{className:"price priceBlue"},_t(c,E)))),e.createElement(Ft,{currency:c,discount:i,accumulatedPurchaseBonus:a,finalDeliveryPrice:l}),e.createElement("div",{onClick:N,className:r("confirmButton",{disable:O})},o||"".concat(A.confirm," ").concat(I?_t(c,I):"").trim()))};u(".checkoutFormItem .checkoutFormItemLabel{align-items:center;display:flex;font-size:22px;font-weight:600}.checkoutFormItem .checkoutFormItemLabel .change{font-size:14px}.checkoutFormItem .checkoutFormItemData{align-items:center;display:flex;font-size:18px;margin:5px 0 0}.checkoutFormItem .change{color:var(--main-color,#007aff);cursor:pointer;font-size:18px;font-weight:600;margin:0 0 0 20px}");u(".counterButton{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:grid;grid-template-columns:1fr 1fr 1fr;height:45px;justify-items:center;text-align:center}.counterButton .disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.counterButton .count{border:none;font-size:16px;height:100%;outline:none;text-align:center;width:100%}.counterButton input[type=number]{-moz-appearance:textfield}.counterButton input::-webkit-inner-spin-button,.counterButton input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}");var Rt=function(t){var n=t.count,o=t.isRemoveDisable,a=t.isAddDisable,i=t.onAdd,l=t.onRemove,c=t.onChangeQuantity;return e.createElement("div",{className:"counterButton"},e.createElement(ht,{color:"var(--main-color, #007aff)",onClick:l,className:r("control",{disable:o})}),e.createElement("input",{className:"control count",type:"number",step:1,value:n.toString(),onChange:function(e){var t=e.target,r=parseInt(t.value);c(r||0)}}),e.createElement(gt,{color:"var(--main-color, #007aff)",onClick:i,className:r("control",{disable:a})}))};u(".cutleryButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;gap:10px;height:45px;overflow:hidden;padding:0 10px}.cutleryButton .icon{margin:0 10px 0 0}.cutleryButton .counterButton .icon{height:20px;margin:0;width:20px}.cutleryButton .counterButton .count{margin:0 10px}.cutleryButton.hasItem{border:none}.cutleryButton.hasItem .counterButton{margin:0 0 0 20px}");u(".deliveryControl{align-items:center;display:flex;justify-content:flex-start}.deliveryControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);border-radius:5px;color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;margin:0 20px 0 0;padding:10px 15px}.deliveryControl .control.disable{opacity:.5;pointer-events:none}.deliveryControl .control .icon{margin:0 10px 0 0}.deliveryControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.deliveryControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.deliveryControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.deliveryControl .control .icon{height:20px;width:20px}}");u(".ingredients{align-items:center;display:flex;flex-direction:column}.ingredients .ingredient{border:1px solid #ccc;border-radius:100px;color:var(--main-color,#007aff);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;margin:0 0 10px;max-width:250px;min-width:200px;padding:10px 20px;transition:all .3s}.ingredients .ingredient:last-child{margin:0}.ingredients .ingredient:hover{opacity:.9}.ingredients .ingredient.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}");u(".quantityDescription{color:#717173;font-size:14px;margin:0 10px 5px;text-align:start;width:100%}.quantityDescription span{color:var(--main-color)}");var qt=function(t){var r=t.free_budget,n=t.max,o=Dt("productConstructor");return(!!n||!!r)&&e.createElement("div",{className:"quantityDescription"},!!n&&o.upToOption.replace("{count}",n.toString()),!!r&&", ",!!r&&e.createElement("span",null,o.freeOptions.replace("{count}",r.toString())))},Zt=function(t){var n=t.ingredients,o=t.onSelect;return e.createElement("div",{className:"ingredients"},e.createElement(qt,{max:n.length,free_budget:0}),n.map((function(t){return e.createElement("div",{key:t.id,onClick:(n=t.id,function(){return o(n)}),className:r("ingredient",{selected:!!t.quantity})},t.name);var n})))};u(".mediaWrapper{aspect-ratio:5/3;border-radius:var(--border-radius,5px);overflow:hidden;width:100%}.mediaWrapper img,.mediaWrapper video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.videoControl{height:100%;position:relative;width:100%}.videoControl .videoControls{left:10px;position:absolute;top:10px;z-index:1}.videoControl .videoControls .control{background:#fff;border-radius:100px;cursor:pointer;margin:0 5px 0 0;padding:3px}");var Vt={fill:i.fill,pad:i.pad,fit:i.fit,mfit:i.minimumFit,scale:i.scale,limit:i.limitFit,lpad:i.limitPad,mpad:i.minimumPad,crop:i.crop,fill_pad:i.fillPad,thumb:i.thumbnail},Yt=function(t){var r=t.src,n=t.alt,i=t.width,l=t.height,c=t.quality,s=t.gravity,u=t.crop,m=t.id,p=r[0],d=r.slice(3).join("/").split(/\.(?=[^.]*$)/)[0],f=new o.Cloudinary({cloud:{cloudName:p}}).image(d),g=Vt[u]().width(i).height(l);return g&&g.gravity?f.resize(g.gravity(s)):f.resize(g),f.quality(c),e.createElement(a.AdvancedImage,{id:m,cldImg:f,alt:n})},Ut=function(t){var r=t.autoPlay,n=t.onStart,o=t.id,a=t.src,i=t.onEnd,l=t.controls,c=e.useState({playing:!1,muted:!1}),s=c[0],u=c[1],p=e.useRef(),d=function(){p.current.paused?(p.current.play(),u((function(e){return m(m({},e),{playing:!0})}))):(p.current.pause(),u((function(e){return m(m({},e),{playing:!1})})))},f=function(){p.current.muted=!p.current.muted,u((function(e){return m(m({},e),{muted:p.current.muted})}))};return e.createElement("div",{className:"videoControl"},l&&e.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!s.playing&&e.createElement(mt,{color:"var(--main-color)",className:"control",onClick:d}),s.playing&&e.createElement(pt,{color:"var(--main-color)",className:"control",onClick:d}),s.muted&&e.createElement(dt,{color:"var(--main-color)",className:"control",onClick:f}),!s.muted&&e.createElement(ft,{color:"var(--main-color)",className:"control",onClick:f})),e.createElement(Gt,{autoPlay:r,src:a,onPlay:function(){n&&n(),u((function(e){return m(m({},e),{playing:!0})}))},onEnded:function(){i&&i()},videoRef:p,id:o}))},Gt=function(t){var r=t.videoRef,n=t.src,o=t.id,a=t.onPlay,i=t.onEnded,l=t.autoPlay;return e.createElement("video",{ref:r,src:n,id:o,onPlay:function(){a&&a()},autoPlay:l,onEnded:function(){i&&i()}})},Qt=function(t){var r=t.src,n=t.settings,o=t.alt,a=t.id,i=p(t,["src","settings","alt","id"]),l=e.useRef(null),c=e.useState({width:0,height:0}),s=c[0],u=c[1],d=r.includes("/image/"),f=r.includes("/video/"),g=r.replace("https://res.cloudinary.com/","").split("/");e.useEffect((function(){s.width!==l.current.offsetWidth&&s.height!==l.current.offsetHeight&&u({width:l.current.offsetWidth||0,height:l.current.offsetHeight||0})}));var h=function(){return n?n.quality_mode===exports.QUALITY_MODE.custom?n.quality.toString():n.quality_mode===exports.QUALITY_MODE.eco?"auto:".concat(St(exports.QUALITY_MODE,exports.QUALITY_MODE.eco)):"auto:".concat(St(exports.QUALITY_MODE,n.quality_mode)):"90"};return e.createElement("div",{ref:l,className:"mediaWrapper"},d&&e.createElement(Yt,m({},i,{height:s.height?s.height:250,width:s.width?s.width:400,quality:h(),gravity:St(exports.GRAVITY_MODE,(null==n?void 0:n.gravity_mode)||0),crop:St(exports.CROP_MODE,(null==n?void 0:n.crop_mode)||0),src:g,alt:o,id:a})),f&&e.createElement(Ut,m({},i,{height:s.height?s.height:250,width:s.width?s.width:400,quality:h(),gravity:St(exports.GRAVITY_MODE,(null==n?void 0:n.gravity_mode)||0),crop:St(exports.CROP_MODE,(null==n?void 0:n.crop_mode)||0),id:a,src:r})))};u(".productConstructor .content{margin:0 0 20px}.productConstructor .productTag{background:var(--product-tag,#ffb000);border-radius:0 0 var(--border-radius) var(--border-radius);color:#fff;font-size:14px;font-weight:500;left:20px;padding:3px 5px;position:absolute}.productConstructor .warning{border-color:var(--main-color);color:var(--main-color)}.productConstructor .warning .icon{stroke:var(--main-color)!important}.productConstructor .steps .step{height:11px!important;width:11px!important}.productConstructor .headProduct{align-items:center;display:flex;justify-content:space-between;padding:20px 20px 10px}.productConstructor .headProduct .name{font-size:24px;font-weight:600}.productConstructor .headProduct .priceControl{align-items:center;display:flex;font-size:16px}.productConstructor .headProduct .priceControl .oldPrice{margin:0 5px;text-decoration:line-through}.productConstructor .headProduct .priceControl .price{color:var(--main-color,#007aff)}.productConstructor .description{color:#747474;font-size:16px;font-weight:400;padding:0 20px}.productConstructor .stepper{padding:0 20px}.productConstructor .stepper .productCommentSection,.productConstructor .stepper .productSummary{text-align:left}.productConstructor .footerControls{bottom:0;margin:20px 0 0;position:sticky}");u(".footerControls{align-items:center;background:#fff;border-top:1px solid #ccc;display:flex;justify-content:center;padding:20px}.footerControls.summary{display:grid;gap:10px;grid-template-columns:2fr 3fr}.footerControls.summary .addLabel{align-items:center;display:flex}.footerControls.summary .addLabel .icon{margin:0 5px}.footerControls.summary .button.major{align-items:center;display:flex;justify-content:space-around;margin:0;width:100%}.footerControls .button{align-items:center;border:1px solid var(--main-color);border-radius:var(--border-radius,5px);color:var(--main-color);cursor:pointer;display:flex;height:45px;justify-content:center;transition:all .3s;width:40%}.footerControls .button:hover{opacity:.9}.footerControls .button.major{background:var(--main-color,#007aff);color:#fff;margin:0 0 0 10px}.footerControls .button.disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (max-width:600px){.footerControls .button,.footerControls .counterButton{font-size:14px;height:35px}.footerControls .button svg,.footerControls .counterButton svg{height:20px;width:20px}}");u('.lds-dual-ring{display:inline-block;height:30px;width:30px}.lds-dual-ring:after{-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite;border-color:#fff transparent;border-radius:50%;border-style:solid;border-width:4px;content:" ";display:block;height:18px;margin:4px;width:18px}@-webkit-keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}');var Wt=function(){return e.createElement("div",{className:"lds-dual-ring"})},Kt=function(t){var n=t.isSummary,o=t.isLoading,a=t.isDisableNext,i=t.isDisablePrev,l=t.amount,c=t.currency,s=t.onPrev,u=t.onNext,m=t.count,p=t.isAddDisable,d=t.isRemoveDisable,f=t.onAdd,g=t.onRemove,h=t.onAddToCart,v=t.onChangeQuantity,y=Dt("productConstructor");return e.createElement("div",{className:r("footerControls",{summary:n})},n?e.createElement(e.Fragment,null,e.createElement(Rt,{count:m,isRemoveDisable:d||o,isAddDisable:p||o,onAdd:f,onRemove:g,onChangeQuantity:v}),e.createElement("div",{onClick:h,className:r("button major",{disable:o})},o?e.createElement(Wt,null):e.createElement(e.Fragment,null,e.createElement("div",{className:"addLabel"},e.createElement(ot,{color:"#fff",size:"small"}),y.addToCart),e.createElement("div",null,_t(c,l))))):e.createElement(e.Fragment,null,e.createElement("div",{onClick:s,className:r("button",{disable:i||o})},y.back),e.createElement("div",{onClick:u,className:r("button major",{disable:a||o})},o?e.createElement(Wt,null):e.createElement(e.Fragment,null,y.next," ",_t(c,l)))))};u(".stepper{text-align:center}.stepper .stepperHeader{font-size:20px;font-weight:600}.stepper .steps{align-items:center;display:flex;justify-content:center;margin:10px 0}.stepper .steps .step{border:1px solid #ccc;border-radius:100px;height:14px;transition:all .3s;width:14px}.stepper .steps .step.active{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.stepper .steps .line{background:#ccc;height:1px;width:28px}");var Xt=function(t){var n=t.steps,o=t.currentStep,a=n[o].component,i=n[o].name;return e.createElement("div",{className:"stepper"},e.createElement("div",{className:"stepperHeader"},i),e.createElement("div",{className:"steps"},Array(n.length).fill(0).map((function(t,a){return e.createElement(e.Fragment,{key:a},e.createElement("div",{className:r("step",{active:a===o})}),a!==n.length-1&&e.createElement("div",{className:"line"}))}))),a)};u(".suboptionMultiSelector .suboption{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.suboptionMultiSelector .suboption .suboptionName{text-align:left}.suboptionMultiSelector .suboption .suboptionName.selected{color:var(--main-color,#007aff)}.suboptionMultiSelector .suboption .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}.suboptionMultiSelector .suboption .counterSection{align-items:center;display:flex}.suboptionMultiSelector .suboption .counterButton{height:35px;margin:0 0 0 10px;width:150px}.suboptionMultiSelector .suboption .counterButton svg{height:15px;width:15px}");var $t,Jt=function(t){var r=t.free,n=t.amount,o=t.currency,a=t.freeLabel;return r?e.createElement("span",{className:"suboptionPrice"},a):n?e.createElement("span",{className:"suboptionPrice"},"+",_t(o,n)):e.createElement("span",{className:"suboptionPrice"})},er={0:e.createElement(It,{size:20,color:"var(--main-color)"}),1:e.createElement(Pt,{size:20,color:"var(--main-color)"}),2:e.createElement(Bt,{size:20,color:"var(--main-color)"})},tr="#INGREDIENTS",rr="#HALF_SELECTOR",nr="#HALF_SELECTOR_HALF";exports.HALF_OPTION=void 0,($t=exports.HALF_OPTION||(exports.HALF_OPTION={}))[$t.none=0]="none",$t[$t.left=1]="left",$t[$t.right=2]="right";var or=function(t,r,n,o,a,i){var l,c=[],s=0;if(null==a?void 0:a.unit_weight){var u=parseInt((a.unit_weight*a.weight_range*a.quantity).toString()),m="".concat(i.weightAdditionalPayment.replace("{payment}",_t(a.currency,a.amountDiff))),p="";p=(null==a?void 0:a.weighed)?"".concat(i.weightProductAcceptable,", +/-").concat(u," ").concat(i.gr):"".concat(a.unit_weight," ").concat(i.gr),c.push({weightProduct:!0,name:a.weighed?i.portionSizeLabelWeighed:i.portionSizeLabel,index:null,value:p,tooltip:(null==a?void 0:a.weighed)?m:null})}if((null===(l=null==t?void 0:t.suboptions)||void 0===l?void 0:l.length)&&c.push({name:i.ingredients,value:lr(t.suboptions),index:s++}),r.forEach((function(t){var r,n;c.push({name:t.name,value:(r=t.suboptions,n=r.filter((function(e){return e.quantity})),e.createElement("div",null,!!n.length&&n.map((function(t,r){return e.createElement("div",{key:"".concat(r,"-").concat(t.id),className:"summarySuboption"},e.createElement("span",null,t.name),(t.halfOption||0===t.halfOption)&&er[t.halfOption])})),!n.length&&"-")),index:s++})})),n.length){var d=n.some((function(e){return e.half===exports.HALF_OPTION.right}));c.push({name:i.toppings,value:d?i.half:i.full,index:s++})}return n.forEach((function(e){c.push({name:e.name,value:ar(e.suboptions),index:s++})})),o&&c.push({name:i.comments,value:o,index:s++}),c},ar=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},ir=function(e,t){return e.name+(e.half===exports.HALF_OPTION.right?t.right:"")+(e.half===exports.HALF_OPTION.left?t.left:"")},lr=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},cr=function(e,t){if(!e.respectTo)return!0;var r=t.flatMap((function(e){return e.suboptions})).find((function(t){return t.id===e.respectTo}));return!(!r||!r.quantity)},sr=function(e,t){return e>0?t.quantity?t.fullPrice||t.full_price?{free:!1,amount:t.fullPrice||t.full_price}:{free:!0,amount:null}:{free:!1,amount:null}:t.price>0?{free:!1,amount:t.price}:{free:!1,amount:null}},ur=function(t){var n=t.suboptions,o=t.onChangeQuantity,a=t.currency,i=t.limitByMax,l=t.freeLabel,c=t.max,s=t.freeBudget,u=function(e,t){return function(){return o(e,t)}},m=function(e){var t;return!!i&&(null!==(t=e.quantity)&&void 0!==t?t:0)===e.max};return e.createElement("div",{className:"suboptionMultiSelector"},e.createElement(qt,{max:c,free_budget:s}),n.map((function(t){return e.createElement("div",{className:"suboption",key:t.id},e.createElement("span",{className:r("suboptionName",{selected:!!t.quantity})},t.name,t.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:" "+t.description}})),e.createElement("div",{className:"counterSection"},e.createElement(Jt,{free:sr(s,t).free,amount:sr(s,t).amount,currency:a,freeLabel:l}),e.createElement(Rt,{count:t.quantity||0,isAddDisable:m(t),isRemoveDisable:!t.quantity,onAdd:u(t.id,(t.quantity||0)+1),onRemove:u(t.id,(t.quantity||0)-1),onChangeQuantity:function(e){return u(t.id,e)()}})))})))};u('.extrasRadio{align-items:center;display:flex;flex-direction:column}.extrasRadio .extra{border:1px solid #ccc;border-radius:100px;cursor:pointer;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:7px 10px;transition:all .3s}.extrasRadio .extra,.extrasRadio .extra .extraName{align-items:center;display:flex}.extrasRadio .extra .extraName:before{border:1px solid #ccc;border-radius:100px;box-sizing:border-box;content:"";display:block;flex:1 0 24px;height:24px;margin:0 10px 0 0;transition:all .1s;width:24px}.extrasRadio .extra .extraName .extraDescription{color:#ccc;font-size:13px;margin:0 3px}.extrasRadio .extra:last-child{margin:0}.extrasRadio .extra:hover{opacity:.9}.extrasRadio .extra:hover .extraName:before{border:3px solid var(--main-color,#007aff)}.extrasRadio .extra.selected .extraName:before{border:7px solid var(--main-color,#007aff);box-sizing:border-box}');var mr=function(t){var n=t.max,o=t.freeLabel,a=t.ingredients,i=t.onSelect,l=t.currency,c=t.freeBudget;return e.createElement("div",{className:"extrasRadio"},e.createElement(qt,{max:n,free_budget:c}),a.map((function(t){return e.createElement("div",{key:t.id,onClick:(n=t.id,a=t.quantity||1,function(){return i(n,a)}),className:r("extra",{selected:!!t.quantity})},e.createElement("span",{className:"extraName"},t.name,t.description&&e.createElement("span",{className:"extraDescription",dangerouslySetInnerHTML:{__html:" "+t.description}})),e.createElement(Jt,{freeLabel:o,free:sr(c,t).free,amount:sr(c,t).amount,currency:l}));var n,a})))};u(".warning{align-items:center;background:#fff;border:2px solid var(--warning,#fe7171);border-left:none;border-right:none;color:var(--warning,#fe7171);display:flex;font-size:16px;font-weight:600;padding:10px 20px;position:sticky;top:0;z-index:1}.warning .icon{margin:0 10px 0 0}");var pr=function(t){var r=t.message;return e.createElement("div",{className:"warning"},e.createElement(vt,{size:"small",color:"var(--warning, #fe7171)"})," ",r)};u(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var dr=function(t){var r=t.name,n=t.comment,o=t.onCommentChange,a=t.onNameChange,i=Dt("productConstructor");return e.createElement("div",{className:"productCommentSection"},e.createElement("span",{className:"inputName"},i.addName),e.createElement(At,{onChange:function(e){var t;a(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addNamePlaceholder,value:r}),e.createElement("span",{className:"inputName"},i.addComment),e.createElement(At,{onChange:function(e){var t;o(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addCommentPlaceholder,value:n}))};u(".productSummary .line{color:#0e1328;display:grid;font-size:14px;gap:10px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .weightButton{color:#747474}.productSummary .line .name.weightName{color:var(--main-color,#007aff);display:flex;gap:10px}.productSummary .line .button{align-items:center;background:var(--main-color);border-radius:var(--border-radius,5px);color:var(--typography-on-main,#fff);cursor:pointer;display:flex;font-size:14px;height:30px;justify-content:center;transition:all .3s}.productSummary .line .button:hover{opacity:.9}.productSummary .line .value{color:#747474;white-space:break-spaces}.productSummary .line .value .summarySuboption{display:flex;gap:5px;justify-content:space-between;margin-bottom:5px}.productSummary .line .value .summarySuboption .icon{flex-shrink:0}.productSummary .line .value.weighed{align-items:center;display:flex;gap:10px;grid-column:2/4;min-height:30px}");var fr=function(t){var o=t.summary,a=t.onClickChange,i=Dt("productConstructor");return e.createElement("div",{className:"productSummary"},o.map((function(t){return e.createElement("div",{className:"line",key:t.name+t.index},e.createElement("div",{className:r("name",{weightName:t.weightProduct})},t.name,t.weightProduct&&e.createElement(Nt,{size:16,color:"var(--main-color, #007aff)"})),e.createElement("div",{className:r("value",{weighed:t.weightProduct})},t.value,t.tooltip&&e.createElement(e.Fragment,null,e.createElement(Ct,{className:"importantWeight",size:20}),e.createElement(n.Tooltip,{className:"custom-class-tooltip",anchorSelect:".importantWeight"},t.tooltip))),!t.weightProduct&&e.createElement("div",{onClick:function(){return a(t.index)},className:"button"},i.change))})))};u(".suboptionsCheckbox{align-items:center;display:flex;flex-direction:column}.suboptionsCheckbox .suboptionCheckbox{align-items:center;border:1px solid #ccc;border-radius:100px;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:10px 20px;transition:all .3s}.suboptionsCheckbox .suboptionCheckbox:last-child{margin:0}.suboptionsCheckbox .suboptionCheckbox:hover{opacity:.9}.suboptionsCheckbox .suboptionCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}.suboptionsCheckbox .suboptionCheckbox .suboptionName{margin:0 5px 0 0}.suboptionsCheckbox .suboptionCheckbox .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}");var gr=function(t){var n=t.suboptions,o=t.max,a=t.onSelect,i=t.currency,l=t.freeBudget,c=t.freeLabel;return e.createElement("div",{className:"suboptionsCheckbox"},e.createElement(qt,{max:o,free_budget:l}),n.map((function(t){return e.createElement("div",{key:t.id,onClick:(n=t.id,o=t.quantity?0:1,function(){return a(n,o)}),className:r("suboptionCheckbox",{selected:!!t.quantity})},e.createElement("span",{className:"suboptionName"},t.name,t.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:" "+t.description}})),e.createElement(Jt,{free:sr(l,t).free,amount:sr(l,t).amount,currency:i,freeLabel:c}));var n,o})))};u(".suboptionPizzaSelector{width:100%}.suboptionPizzaSelector .pizzaOption{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:10px}.suboptionPizzaSelector .pizzaOption .halfOptions{align-items:center;display:flex;gap:10px}.suboptionPizzaSelector .pizzaOption .pizzaOptionName{align-items:flex-start;display:flex;flex-direction:column}.suboptionPizzaSelector .pizzaOption .pizzaOptionDescription{color:#747474}");var hr=function(t){var r=t.currency,n=t.max,o=t.freeBudget,a=t.suboptions,i=t.onChangeOption,l=function(e,t){var r=e===t.halfOption?0:1;i(t.id,r,m(m({},t),{halfOption:e===t.halfOption?null:e}))};return e.createElement("div",{className:"suboptionPizzaSelector"},e.createElement(qt,{max:n,free_budget:o}),a.map((function(t){return e.createElement("div",{key:t.id,className:"pizzaOption"},e.createElement("div",{className:"pizzaOptionName"},e.createElement("span",null,t.name),!!t.description&&e.createElement("div",{className:"pizzaOptionDescription",dangerouslySetInnerHTML:{__html:t.description}})),e.createElement("div",{className:"halfOptions"},!!t.price&&e.createElement("span",null,t.price," ",_t(r)),e.createElement(It,{onClick:function(){return l(exports.HALF_OPTION.none,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.none?"var(--main-color)":"#747474"}),e.createElement(Bt,{onClick:function(){return l(exports.HALF_OPTION.right,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.right?"var(--main-color)":"#747474"}),e.createElement(Pt,{onClick:function(){return l(exports.HALF_OPTION.left,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.left?"var(--main-color)":"#747474"})))})))};u(".productPreview{cursor:pointer;display:grid;gap:10px;grid-template-columns:300px 1fr}.productPreview .productReviewBody{display:flex;flex-direction:column;justify-content:space-between}.productPreview .productReviewBody .title{color:#1a1d1b;font-size:20px;font-weight:500;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .title .weightBlock{color:var(--main-color,#007aff);margin:0 10px}.productPreview .productReviewBody .header{align-items:center;display:flex}.productPreview .productReviewBody .description{color:#747474;font-size:16px;font-weight:400;height:125px;overflow:hidden}.productPreview .productReviewFooter{align-items:center;display:flex;justify-content:space-between}.productPreview .productReviewFooter .priceBlock{align-items:center;display:flex;font-size:16px;font-weight:600}.productPreview .productReviewFooter .priceBlock .oldPrice{margin:0 5px}.productPreview .productReviewFooter .priceBlock .currentPrice{color:#007aff}.productPreview .productReviewFooter .priceBlock .newPrice{color:#fe7171}@media (max-width:800px){.productPreview{grid-template-columns:250px 1fr}.productPreview .productReviewBody .description{height:100px}}@media (max-width:650px){.productPreview{grid-template-columns:200px 1fr}.productPreview .tagLabel{display:none}.productPreview .productReviewBody .description{height:65px}}@media (max-width:500px){.productPreview{grid-template-columns:150px 1fr}.productPreview .productReviewBody .description{height:40px}}@media (max-width:400px){.productPreview{grid-template-columns:100px 1fr}.productPreview .productReviewBody .description{height:40px}}");u(".productTags{align-items:center;display:flex;gap:5px}.productTags .additionsNew{background:#016a2b}.productTags .additionVegetarian{background:#9cc653}.productTags .additionVegan{background:#688437}.productTags .additionSpicy{background:#c8313e}.productTags .additionNoGluten{background:#ff7426}");u(".tag{align-items:center;background:#000;border-radius:100px;color:#fff;display:flex;font-size:12px;font-weight:500;gap:5px;height:20px;padding:3px 13px}.tag .icon{fill:#fff;height:15px;width:15px}");var vr=function(t){var r=t.className,n=void 0===r?"":r,o=t.label,a=t.icon;return e.createElement("div",{className:"tag "+n||""},e.createElement("span",{className:"tagLabel"},o),a)},yr=function(t){var r=t.vegan,n=t.vegetarian,o=t.isNew,a=t.spicy,i=t.glutenFree,l=Dt("tag"),c=function(){return o?e.createElement(vr,{label:"new",className:"additionItem",icon:e.createElement($e,null)}):null},s=function(){return r?e.createElement(vr,{label:l.vegan,className:"additionVegan",icon:e.createElement(e.Fragment,null,e.createElement(et,null),e.createElement(et,null))}):n?e.createElement(vr,{label:l.vegetarian,className:"additionVegetarian",icon:e.createElement(et,null)}):null},u=function(){return a?e.createElement(vr,{label:l.spicy,className:"additionSpicy",icon:e.createElement(e.Fragment,null,Array(a).fill(0).map((function(t,r){return e.createElement(tt,{key:r})})))}):null},m=function(){return i?e.createElement(vr,{label:l.glutenFree,className:"additionNoGluten",icon:e.createElement(rt,null)}):null};return c()||s()||u()||m()?e.createElement("div",{className:"productTags"},c(),s(),u(),m()):null},xr=function(t){var n=t.id,o=t.currency,a=t.name,i=t.description,l=t.price,c=t.oldPrice,s=t.image,u=t.trashIcon,m=void 0!==u&&u,p=t.onClickTrash,d=t.onClick,f=t.vegetarian,g=t.vegan,h=t.isNew,v=t.spicy,y=t.glutenFree,x=t.quantity,b=t.weight,E=Dt("productConstructor");return e.createElement("div",{className:"productPreview",onClick:function(){null==d||d(n)}},e.createElement(Qt,{src:s.src,alt:s.alt,settings:s.settings}),e.createElement("div",{className:"productReviewBody"},e.createElement("div",{className:"productReviewHead"},e.createElement("div",{className:"header"},e.createElement("div",{className:"title"},a,b>0&&e.createElement("span",{className:"weightBlock"},e.createElement(Nt,{size:16,color:"var(--main-color, #007aff)"})," ",b," ",e.createElement("span",null,E.gr))),m&&e.createElement(Xe,{onClick:function(e){e.stopPropagation(),null==p||p(n)},width:20,height:20})),e.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:i}})),e.createElement("div",{className:"productReviewFooter"},e.createElement("div",{className:"options"},e.createElement(yr,{isNew:h,spicy:v,vegan:g,glutenFree:y,vegetarian:f})),e.createElement("div",{className:"priceBlock"},!!c&&e.createElement("div",{className:r("oldPrice",{lineThrough:!x})},_t(o,c)),!!x&&e.createElement("span",{className:"quantity"}," x",x," "),!!l&&e.createElement("div",{className:r("currentPrice",{newPrice:!!c&&!x})},_t(o,l))))))};u(".productPreviewList .category .categoryName{color:#0e1328;font-size:24px;font-weight:600;margin:30px 0 20px}.productPreviewList .category .productPreview{border-bottom:1px solid #ccc;padding:16px 0}");u(".restaurantHeader .restaurantHeaderTop{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName{align-items:center;color:#007aff;display:flex;font-size:32px;font-weight:700}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName .icon{margin:0 0 0 12px}.restaurantHeader .restaurantHeaderTop .topLeft{align-items:center;display:flex}.restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 0 0 10px}.restaurantHeader .restaurantHeaderBottom{align-items:center;display:flex;justify-content:space-between}.restaurantHeader .restaurantHeaderBottom .bottomRight{align-items:center;display:flex;gap:10px}.rtl .restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 10px 0 0}.rtl .restaurantHeader .restaurantHeaderName icon{margin:0 12px 0 0}");u(".restaurantTags{align-items:center;display:flex;gap:10px}.restaurantTags .restaurantTagNew{background:#007aff;color:#fff}.restaurantTags .restaurantTagScore{background:#fff;border:1px solid #007aff;color:#007aff}.restaurantTags .restaurantTagScore .icon{fill:#007aff!important}.restaurantTags .restaurantTagKosher{background:#000;color:#fff}");var br=function(t){var r=t.score,n=t.isNew,o=t.kosher;return e.createElement("div",{className:"restaurantTags"},!!n&&e.createElement(vr,{label:"new",className:"restaurantTagNew"}),!!r&&r>0&&e.createElement(vr,{label:r.toFixed(1),className:"restaurantTagScore",icon:e.createElement($e,null)}),!!o&&e.createElement(vr,{label:"kosher",className:"restaurantTagKosher"}))};u(".headerCartButton{align-items:center;background:var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:#fff;cursor:pointer;display:flex;height:45px;justify-content:space-between;padding:0 20px}.headerCartButton .icon{fill:#fff;margin:0 10px 0 0}.headerCartButton .label{margin:0 50px 0 0}.rtl .headerCartButton .icon{margin:0 0 0 10px}.rtl .headerCartButton .label{margin:0 0 0 50px}");var Er=function(t){var r=t.currency,n=t.amount,o=t.onClick;return e.createElement("div",{className:"headerCartButton",onClick:o},e.createElement(ot,{className:"icon"}),e.createElement("span",{className:"label"},"Checkout"),e.createElement("span",{className:"price"},_t(r,n)))};u(".footer{justify-content:flex-start!important;width:100%}.footer .icon{height:20px;width:20px}@media (max-width:600px){.footer{height:30px!important}.footer .footer{padding:0!important}}.footer .footer{padding:0}.footer .footer-item{align-items:center;color:#747474;display:flex!important;font-size:14px;margin:0 13px 0 0;white-space:nowrap}.footer .footer-item:nth-last-child(2){margin:0!important}.footer .footer-item .icon,.footer .footer-item .title{margin-right:4px}@media (max-width:500px){.footer .footer-item{margin:0 5px 0 0}.footer .footer-item .title{display:none}}@media (min-width:1600px){.footer .footer-item{font-size:12px!important}}@media (max-width:600px){.footer .footer-item{font-size:12px}.footer .footer-item .icon{display:none!important}}.footer .footer-item.delivery-price .freeDelivery{align-items:center;background:var(--main-color);border-radius:100px;color:#fff;display:flex;justify-content:center;padding:3px 7px}.footer .footer-item.delivery-price .freeDelivery .icon{margin:0}@media (max-width:800px){.footer .footer-item.delivery-price span{display:none}}.footer .footer-item .clock,.footer .footer-item .marker,.footer .footer-item .scooterDelivery{background-color:#9d9d9d;height:24px;-webkit-transform:translate(0);transform:translate(0);width:24px}.rtl .footer .footer-item,.rtl .footer .footer-item:nth-last-child(2){margin:0 13px 0 0!important}.rtl .footer .footer-item:first-child{margin:0!important}.rtl .footer .footer-item .icon,.rtl .footer .footer-item .title{margin-left:4px;margin-right:0}");var wr=function(t){var n=t.dontHide,o=t.minimum,a=t.isPickUp,i=t.withTitle,c=t.estimationRangeMax,s=t.estimationRangeMin,u=t.estimationTime,m=t.distance,p=t.deliveryPrice,d=t.currency,f=t.deliveryToLocation,g=e.useState([]),h=g[0],v=g[1];return e.useEffect((function(){var t=[];o&&t.push(e.createElement("div",{className:r("footer-item mini-order")},e.createElement(ot,null),i&&e.createElement("span",{className:r("title")},"Min order"),_t(d,o))),m&&!a&&t.push(e.createElement("span",{className:r("footer-item")},e.createElement(ct,null),i&&e.createElement("div",{className:r("title")},"Distance"),"distanceKm ",m)),(c||s)&&t.push(e.createElement("div",{className:r("time footer-item")},a?e.createElement(it,null):e.createElement(st,null),i&&e.createElement("div",{className:r("title")},a?"Pickup time":"Delivery time"),s,"-",c," min")),!a&&f&&t.push(e.createElement("div",{className:r("footer-item delivery-price")},e.createElement(at,null),i&&e.createElement("span",{className:r("title")},"deliveryPrice"),p?_t(d,p):e.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",e.createElement(ut,null)," "))),0===c&&0===s&&u&&t.push(e.createElement("div",{className:r("time footer-item")},a?e.createElement(st,null):e.createElement(it,null),"up_to ",u," min")),v(t)}),[o,a,c,s,u,m,p,d,f]),e.createElement(l.OverflowList,{className:"footer benefitsData",minVisibleItems:n?h.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:h})};u(".giftControl .giftControlButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;margin:0 0 15px;padding:0 10px}.giftControl .giftControlButton .icon{margin:0 10px 0 0}.giftControl .giftControlButton.selected{background:var(--main-color,#007aff);border-color:#fff;color:#fff}.giftControl .giftControlForm .formItem{display:flex;flex-direction:column;margin:0 0 15px}.giftControl .giftControlForm .formItem:last-child{margin:0}.giftControl .giftControlForm .formItem .formItemHeader{display:inline-block;margin:0 0 5px}.giftControl .giftControlForm .formItem textarea{background:#f8f8f8;border:none;border-radius:var(--border-radius,5px);height:100px;padding:5px 15px;resize:none}.giftControl .giftControlForm .formItem textarea:focus{outline:none}");u(".summaryBlock{align-self:start;background:#f8f8f8;border-radius:var(--border-radius,10px)}.summaryBlock .headerContent{display:inline-block;font-size:24px;font-weight:600;margin:0!important;padding:25px 25px 0}.summaryBlock .products{padding:20px 25px}.summaryBlock .products .product{border-bottom:1px solid #cfd1d4;cursor:pointer;display:flex;flex-direction:column;font-size:16px;font-weight:600;gap:10px;justify-content:space-between;margin:0 0 15px;padding:0 0 15px}.summaryBlock .products .product:last-child{margin:0}.summaryBlock .products .product .productBottom,.summaryBlock .products .product .productTop{display:flex;gap:10px}.summaryBlock .products .product .productTop{align-items:center}.summaryBlock .products .product .productTop .price{margin:0 0 0 auto}.summaryBlock .products .product .productTop .mediaWrapper{border-radius:5px;flex-shrink:0;width:55px}.summaryBlock .products .product .productName{align-items:center;display:flex}.summaryBlock .products .product .productName .icon{margin:0 5px}.summaryBlock .products .product .productDescription,.summaryBlock .products .product .quantityAndPrice{color:#747474}.summaryBlock .products .product .productDescription{font-weight:400}.summaryBlock .products .product .productBottom{align-items:center;justify-content:space-between}.summaryBlock .products .product .productBottom .icon{fill:#747474!important}.summaryBlock .products .product .productBottom .counterButton{border-color:#747474;border-radius:100px;flex-shrink:0;height:26px;width:100px}.summaryBlock .products .product .productBottom .counterButton .icon{fill:#747474!important;height:15px;width:15px}.summaryBlock .products .product .productBottom .counterButton input{background:none;color:#747474}.summaryBlock .products .product .totalLabel{color:#747474;font-weight:500}.summaryBlock .products .product .price{align-items:center;display:flex;gap:20px}.summaryBlock .summaryBody{padding-top:0!important}.summaryBlock .summaryBody .head{display:none!important}");u(".tabsControl{align-items:center;display:flex;justify-content:flex-start}.tabsControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;padding:10px 15px}.tabsControl .control:first-child{border-radius:10px 0 0 10px}.tabsControl .control:last-child{border-radius:0 10px 10px 0}.tabsControl .control.disable{opacity:.5;pointer-events:none}.tabsControl .control .icon{margin:0 10px 0 0}.tabsControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.tabsControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.tabsControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.tabsControl .control .icon{height:20px;width:20px}}");exports.BagesPaymentsOrderSummary=Ft,exports.Checkbox=Mt,exports.CheckoutFormItem=function(t){var r=t.label,n=t.data,o=t.changeInLabel,a=void 0!==o&&o,i=t.hideChange,l=void 0!==i&&i,c=t.onChangeClick,s=Dt("checkoutFormItem"),u=Array.isArray(n);return e.createElement("div",{className:"checkoutFormItem"},e.createElement("div",{className:"checkoutFormItemLabel"},r,a&&!l&&e.createElement("span",{className:"change",onClick:c},s.change)),e.createElement("div",{className:"checkoutFormItemData"},u&&e.createElement("div",{className:"arrayData"},n.map((function(t,r){return e.createElement("div",{key:r,className:"checkoutFormItemDataItem"},t)}))),!u&&e.createElement("div",{className:"checkoutFormItemDataItem"},n),!a&&!l&&e.createElement("span",{className:"change",onClick:c},s.change)))},exports.CounterButton=Rt,exports.CutleryButton=function(t){var n=t.cutlery,o=t.onAdd,a=t.onRemove,i=Dt("cutlery");return e.createElement("div",{onClick:function(){0===n&&o(1)},className:r("cutleryButton",{hasItem:!!n})},!n&&e.createElement(e.Fragment,null,e.createElement(wt,{color:"var(--main-color, #007AFF)",size:20})," ",i.addCutlery),!!n&&e.createElement(e.Fragment,null,e.createElement(wt,{size:20,color:"var(--main-color, #007AFF)"}),i.cutlery,e.createElement(Rt,{count:n,isAddDisable:!1,isRemoveDisable:!1,onAdd:function(){return o(n+1)},onRemove:function(){return a(n-1)},onChangeQuantity:function(e){o(e<=0?0:e)}})))},exports.DeliveryControl=function(t){var n=t.type,o=t.onChange,a=t.disableDelivery,i=t.disableDinein,l=t.showDinein,c=t.disableTakeAway,s=t.showVirtualVenue,u=t.disableVirtualVenue,m=Dt("deliveryControl");return e.createElement("div",{className:"deliveryControl"},e.createElement("div",{className:r("control",{selected:exports.DELIVERY_TYPE.takeAway===n,disable:c}),onClick:function(){return o(exports.DELIVERY_TYPE.takeAway)}},e.createElement(st,{size:30,color:n===exports.DELIVERY_TYPE.takeAway?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,m.pickUp)),l&&e.createElement("div",{className:r("control",{selected:exports.DELIVERY_TYPE.dinein===n,disable:i}),onClick:function(){return o(exports.DELIVERY_TYPE.dinein)}},e.createElement(kt,{size:30,color:n===exports.DELIVERY_TYPE.dinein?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,m.dinein)),s&&e.createElement("div",{className:r("control",{selected:exports.DELIVERY_TYPE.virtualVenue===n,disable:u}),onClick:function(){return o(exports.DELIVERY_TYPE.virtualVenue)}},e.createElement(Tt,{size:30,color:n===exports.DELIVERY_TYPE.virtualVenue?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,m.virtualVenue)),e.createElement("div",{className:r("control",{selected:exports.DELIVERY_TYPE.delivery===n,disable:a}),onClick:function(){return o(exports.DELIVERY_TYPE.delivery)}},e.createElement(bt,{size:30,color:n===exports.DELIVERY_TYPE.delivery?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,m.delivery)))},exports.GiftControl=function(t){var n=t.isGift,o=t.onChange,a=t.name,i=t.phone,l=t.greeting,c=t.isReadonly,s=t.onToggleGift,u=Dt("gift"),m=function(e,t){var r;o(((r={name:a,phone:i,greeting:l})[e]=t,r))};return e.createElement("div",{className:"giftControl"},e.createElement("div",{className:r("giftControlButton",{selected:n}),onClick:function(){return!c&&s()}},e.createElement(yt,{color:n?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,u.itsGift)),n&&e.createElement("div",{className:"giftControlForm"},e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.name),e.createElement(At,{readOnly:c,value:a,onChange:function(e){var t=e.target;return m("name",t.value)},placeholder:u.namePlaceholder})),e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.phone),e.createElement(At,{readOnly:c,value:i,onChange:function(e){var t=e.target;return m("phone",t.value)},placeholder:u.phonePlaceholder})),e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.greeting),e.createElement("textarea",{readOnly:c,value:l,onChange:function(e){var t=e.target;return m("greeting",t.value)},placeholder:u.greetingPlaceholder}))))},exports.INGREDIENTS=tr,exports.IconBicycle=at,exports.IconCart=ot,exports.IconClockAfternoon=it,exports.IconClose=lt,exports.IconCutlery=wt,exports.IconDinein=kt,exports.IconDone=Et,exports.IconEditPen=Ot,exports.IconGift=yt,exports.IconGiftCard=Tt,exports.IconImportant=Ct,exports.IconLeftOption=Pt,exports.IconMapPin=ct,exports.IconMinus=ht,exports.IconMoto=bt,exports.IconMute=dt,exports.IconNoGluten=rt,exports.IconPause=pt,exports.IconPercent=xt,exports.IconPersonSimpleWalk=st,exports.IconPlay=mt,exports.IconPlus=gt,exports.IconRightOption=Bt,exports.IconSearch=nt,exports.IconSparkle=ut,exports.IconSpicy=tt,exports.IconStar=$e,exports.IconStarBorder=Je,exports.IconTrash=Xe,exports.IconUnmute=ft,exports.IconVegan=et,exports.IconWarning=vt,exports.IconWeighted=Nt,exports.IconWholeOption=It,exports.IngredientsSelector=Zt,exports.Input=At,exports.Media=Qt,exports.OrderSummary=Ht,exports.OrderSummaryWithProducts=function(t){var r=Dt("summary");return e.createElement("div",{className:"summaryBlock"},e.createElement("div",{className:"headerContent"},r.summary),e.createElement("div",{className:"products"},t.products.map((function(r,n){var o;return e.createElement("div",{className:"product",key:"".concat(r.id,"-summaryEdit"),onClick:function(){return t.onClickProduct(n)}},e.createElement("div",{className:"productTop"},(null===(o=null==r?void 0:r.image)||void 0===o?void 0:o.src)&&e.createElement(Qt,{src:r.image.src,alt:r.image.alt,settings:r.image.settings}),e.createElement("div",{className:"productName"},r.name),e.createElement("div",{className:"price"},e.createElement("span",{className:"finalPrice"},r.full_price," ",_t(t.currency)),e.createElement(Ot,{color:"var(--main-color)",size:"small"}))),e.createElement("div",{className:"productBottom",onClick:function(e){return e.stopPropagation()}},e.createElement("div",{className:"productDescription"},r.description),e.createElement(Rt,{count:r.quantity,isAddDisable:!!r.max&&r.max<=r.quantity,isRemoveDisable:!!r.min&&r.quantity<=r.min,onAdd:function(){return t.onChangeQuantity(r.quantity+1,r,n)},onRemove:function(){return t.onChangeQuantity(r.quantity-1,r,n)},onChangeQuantity:function(e){return t.onChangeQuantity(e,r,n)}})))}))),e.createElement(Ht,m({},t)))},exports.ProductConstructor=function(t){var r=t.name,n=t.tag,o=t.media,a=t.currency,i=t.price,l=t.oldPrice,c=t.description,s=t.totalPrice,u=t.allowComments,p=t.options,f=t.optionsHalf,g=t.max,h=t.unit_weight,v=t.weight_range,y=t.amountDiff,x=t.weighed,b=t.quantity,E=t.ingredients,w=t.nameOnBox,O=t.comments,N=t.isLoading,C=t.isHalf,k=t.summaryOpen,P=t.onChangeIngredients,B=t.onChangeOption,I=t.onChangeOptionHalf,T=t.onChangeNameOnBox,S=t.onChangeComment,_=t.onAdd,j=t.onRemove,z=t.onAddToCart,L=t.onChangeIsHalf,D=t.disableAutoScroll,F=t.updateOptionOfActualData,A=t.onChangeQuantity,M=Dt("errorConstructor"),H=Dt("productConstructor"),R=e.useState(null),q=R[0],Z=R[1],V=e.useState([]),Y=V[0],U=V[1],G=e.useState(0),Q=G[0],W=G[1],K=e.useState(!0),X=K[0],$=K[1],J=e.useRef(),ee=e.useRef(),te=function(e){W(e),re()},re=function(){D||setTimeout((function(){(null==J?void 0:J.current.scrollTop)<=20&&J.current.scrollTo({top:((null==ee?void 0:ee.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};e.useEffect((function(){var e=d(d([],p,!0),f,!0),t=function(e,t,r,n){var o=e.filter((function(e){return e.enabled})),a=t.filter((function(e){return e.enabled}));if(a.length){var i={name:n.toppings,pizzaOption:!1,freeBudget:0,enabled:!0,max:1,min:1,id:rr,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:exports.HALF_OPTION.none,allowSuboptionQuantity:!1,suboptions:[{name:n.full,halfOption:exports.HALF_OPTION.none,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!r)},{name:n.half,halfOption:exports.HALF_OPTION.none,enabled:!0,max:1,id:nr,quantity:Number(r)}]};o.push(i)}return[].concat(o).concat(a)}(p.filter((function(t){return cr(t,e)})),f.filter((function(t){return cr(t,e)})),C,H);if(U(t),E.length&&Z(function(e,t){return{id:tr,freeBudget:0,min:0,respectTo:null,half:exports.HALF_OPTION.none,pizzaOption:!1,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return m(m({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(E,H)),X&&k){var r=0;t.length&&(r+=t.length),E.length&&(r+=1),u&&(r+=1),W(r)}$(!1)}),[E,p,f,C]);var ne=function(){var e=ae()[Q];return!!(null==e?void 0:e.id)&&function(e,t){var r=e.suboptions.reduce((function(e,t){var r;return(null!==(r=t.quantity)&&void 0!==r?r:0)+e}),0);if(e.min>r)return"".concat(t.minimumOption,": ").concat(e.name)}(e,M)},oe=function(t){var r=F(t),n=1===r.max&&1===r.min,o=r.max>1&&r.allowSuboptionQuantity,i=function(e,t,n){!function(e){return e===rr}(r.id)?r.withHalfOption&&!r.pizzaOption?I(r.id,e,r.half,t):B(r.id,e,t,n):L(function(e){return e===nr}(e))},l=t.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return t.pizzaOption&&t.withHalfOption?e.createElement(hr,{max:t.max,freeBudget:t.freeBudget,key:r.id,currency:a,onChangeOption:i,suboptions:r.suboptions}):n?e.createElement(mr,{max:t.max,key:r.id,currency:a,ingredients:r.suboptions,onSelect:i,freeBudget:t.freeBudget,freeLabel:H.free}):o?e.createElement(ur,{max:t.max,key:r.id,currency:a,suboptions:r.suboptions,onChangeQuantity:i,limitByMax:r.limitSuboptionsByMax,freeBudget:t.freeBudget,freeLabel:H.free}):e.createElement(gr,{max:t.max,key:r.id,currency:a,suboptions:r.suboptions,onSelect:i,freeBudget:t.freeBudget,totalQuantity:l,freeLabel:H.free})},ae=function(){var t=[];return q&&t.push({name:H.ingredients,component:e.createElement(Zt,{ingredients:q.suboptions,onSelect:P})}),t.push.apply(t,Y.filter((function(e){return cr(e,Y)})).map((function(e){return m(m({},e),{name:"".concat(ir(e,H)),component:oe(e)})}))),u&&t.push({name:H.comments,component:e.createElement(dr,{name:w,comment:O,onNameChange:T,onCommentChange:S})}),(q||Y.length||u||x)&&t.push({name:H.summary,component:e.createElement(fr,{summary:or(q,Y.filter((function(e){return!e.withHalfOption||e.pizzaOption})).filter((function(e){return e.id!=rr})),Y.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).filter((function(e){return e.id!=rr})),u?"".concat(O||"-"," | ").concat(w||"-"):null,{weighed:x,unit_weight:h,quantity:b,weight_range:v,currency:a,amountDiff:y},H),onClickChange:function(e){return W(e)}})}),t.push({name:H.summary,component:e.createElement(fr,{summary:or(q,Y.filter((function(e){return!e.withHalfOption||e.pizzaOption})).filter((function(e){return e.id!=rr})),Y.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).filter((function(e){return e.id!=rr})),u?"".concat(O||"-"," | ").concat(w||"-"):null,{weighed:x,unit_weight:h,quantity:b,weight_range:v,currency:a,amountDiff:y},H),onClickChange:function(e){return W(e)}})}),t};return e.createElement("div",{className:"productConstructor",ref:J},e.createElement("div",{className:"content",style:{position:"relative"}},!!o&&e.createElement("div",{ref:ee},e.createElement(Qt,m({},o))),!!n&&e.createElement("div",{className:"productTag"},n),e.createElement("div",{className:"headProduct"},e.createElement("div",{className:"name"},r),e.createElement("div",{className:"priceControl"},!!l&&e.createElement("div",{className:"oldPrice"},_t(a,l)),!!i&&e.createElement("div",{className:"price"},_t(a,i)))),e.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:c}})),ne()&&e.createElement(pr,{message:ne().toString()}),!!ae().length&&e.createElement(Xt,{steps:ae(),currentStep:Q}),e.createElement(Kt,{isLoading:N,isSummary:Q===ae().length-1,isDisableNext:!!ne(),isDisablePrev:0===Q,currency:a,onPrev:function(){return te(Q-1)},onNext:function(){return te(Q+1)},onAddToCart:z,amount:s,count:b,onRemove:j,onAdd:_,isAddDisable:!!g&&b===g,isRemoveDisable:0===b,onChangeQuantity:function(e){A(e<=0?0:e)}}))},exports.ProductPreview=xr,exports.ProductPreviewList=function(t){var r=t.categories,n=t.onClickProduct;return e.createElement("div",{className:"productPreviewList"},r.map((function(t){return e.createElement("div",{key:t.name,className:"category"},e.createElement("div",{id:t.name,className:"categoryName"},t.name),t.products.map((function(r){return e.createElement(xr,m({key:r.id},r,{onClick:function(e){return n(t.id,e)}}))})))})))},exports.ProductTags=yr,exports.QuantityDescription=qt,exports.RestaurantHeader=function(t){var r=t.name,n=t.isFavorite,o=t.isNew,a=t.kosher,i=t.score,l=t.cartAmount,c=t.alternativeView,s=t.currency,u=t.searchValue,m=t.onSearch,p=t.onCartClick;return e.createElement("div",{className:"restaurantHeader"},e.createElement("div",{className:"restaurantHeaderTop"},e.createElement("div",{className:"topLeft"},e.createElement("div",{className:"restaurantHeaderName"},r,n?e.createElement($e,null):e.createElement(Je,null)),(!!l||c)&&e.createElement(br,{isNew:o,kosher:a,score:i})),e.createElement("div",{className:"topRight"},!!l&&!c&&e.createElement(Er,{onClick:p,amount:l,currency:s}))),e.createElement("div",{className:"restaurantHeaderBottom"},!c&&!l&&e.createElement(br,{isNew:o,kosher:a,score:i}),e.createElement("div",{className:"benefits"},e.createElement(wr,{deliveryToLocation:1,currency:s,minimum:10})),!!l&&c&&e.createElement("div",{className:"bottomRight"},e.createElement(At,{className:"input",placeholder:"Search in menu...",icon:e.createElement(nt,null),value:u,onChange:m}),e.createElement(Er,{onClick:p,amount:l,currency:s}))))},exports.Stepper=Xt,exports.SuboptionMultiSelector=ur,exports.SuboptionRadioSelector=mr,exports.TabsControl=function(t){var n=t.type,o=t.onChange,a=t.disabled,i=void 0!==a&&a,l=t.items;return e.createElement("div",{className:"tabsControl"},l.map((function(t){return e.createElement("div",{key:"tabs-control-"+t.text,className:r("control",{selected:t.type===n,disable:t.disabled||i}),onClick:function(){return o(t.type)}},t.icon&&e.createElement("div",{className:"icon"},t.icon()),e.createElement("span",null,t.text))})))},exports.TranslationUIProvider=Lt,exports.Warning=pr,exports.checkRespectTo=cr,exports.convertToServerModelOptions=function(e){return e.map((function(e){return{id:e.id,name:e.name,suboptions:e.suboptions.filter((function(e){return!!e.quantity})).map((function(t){var r;return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:null!==(r=t.halfOption)&&void 0!==r?r:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},exports.mergeOption=function(e,t){var r,n,o,a=null;if(!e.withHalfOption||e.pizzaOption)a=null===(r=null==t?void 0:t.product)||void 0===r?void 0:r.options.find((function(t){return t.id===e.id}));else{var i=(null==e?void 0:e.half)||exports.HALF_OPTION.none;a=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id&&t.suboptions.every((function(e){return e.half_option===i}))}))}return e.suboptions=null===(o=null==e?void 0:e.suboptions)||void 0===o?void 0:o.map((function(e){var t,r=null===(t=null==a?void 0:a.suboptions)||void 0===t?void 0:t.find((function(t){return t.id===e.id}));if(r){var n=m(m(m({},r),e),{fullPrice:r.fullPrice||r.full_price});return n.quantity=e.quantity,n}return m({},e)})),e},exports.mergeProduct=function(e,t,r){var n={comments:e.product.comment,nameOnBox:e.product.name_on_box,finalPrice:e.full_price,quantity:e.product.quantity,ingredients:[],options:[],optionsHalf:[],isHalf:!1};return n.options=t.filter((function(e){return!e.withHalfOption||e.pizzaOption})).map((function(t){var r=e.product.options.find((function(e){return e.id===t.id}));return m(m({},t),{suboptions:t.suboptions.map((function(e){var t=null==r?void 0:r.suboptions.find((function(t){return t.id===e.id}));return m(m({},e),{halfOption:t?t.half_option:null,quantity:t?t.quantity:0})}))})})),n.optionsHalf=t.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).flatMap((function(t){var r=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.none}))})),o=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.left}))})),a=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.right}))}));return r?m(m({},t),{half:exports.HALF_OPTION.none,suboptions:t.suboptions.map((function(e){var t=r.suboptions.find((function(t){return t.id===e.id}));return m(m({},e),{half:exports.HALF_OPTION.none,quantity:t?t.quantity:0})}))}):n.isHalf||o&&a?(n.isHalf=!0,[m(m({},t),{half:exports.HALF_OPTION.left,suboptions:t.suboptions.map((function(e){var t=o.suboptions.find((function(t){return t.id===e.id}));return m(m({},e),{half:exports.HALF_OPTION.left,quantity:t?t.quantity:0})}))}),m(m({},t),{half:exports.HALF_OPTION.right,suboptions:t.suboptions.map((function(e){var t=a.suboptions.find((function(t){return t.id===e.id}));return m(m({},e),{half:exports.HALF_OPTION.right,quantity:t?t.quantity:0})}))})]):[t]})),(null==r?void 0:r.length)&&r.forEach((function(t){var r=e.product.ingredients.find((function(e){return e===t.id}));n.ingredients.push(m(m({},t),{quantity:r?0:1}))})),n},exports.prepareHalfOptions=function(e,t){var r=[],n=e.filter((function(e){return e.half===exports.HALF_OPTION.none||e.half===exports.HALF_OPTION.left}));return t?n.forEach((function(e){r.push(m(m({},e),{half:exports.HALF_OPTION.left})),r.push(m(m({},e),{half:exports.HALF_OPTION.right}))})):n.forEach((function(e){r.push(m(m({},e),{half:exports.HALF_OPTION.none}))})),r};
|
|
1
|
+
"use strict";var e=require("react"),t=require("react-debounce-input"),r=require("classnames"),n=require("react-tooltip"),o=require("@cloudinary/url-gen"),a=require("@cloudinary/react"),i=require("@cloudinary/url-gen/actions/resize"),l=require("react-overflow-list");function c(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var s=c(e);function u(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}u(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:Montserrat,sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");u(".bagesPaymentSummary{align-items:center;display:flex;justify-content:space-around;position:relative}.bagesPaymentSummary .discountItem{align-items:center;border-right:2px solid #cfd1d4;display:flex;flex-direction:column;justify-content:center;margin:20px 0 0;padding:5px 0 0;width:100%}.bagesPaymentSummary .discountItem:last-child{border-right:none}.bagesPaymentSummary .discountItem .doneBg{align-items:center;background:var(--main-color);border-radius:100px;display:flex;height:15px;justify-content:center;position:absolute;top:15px;-webkit-transform:translateX(15px);transform:translateX(15px);width:15px;z-index:2}.bagesPaymentSummary .discountLabel{display:inline-block;font-size:12px;font-weight:500;margin:5px 0 0;text-align:center}");var m=function(){return m=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},m.apply(this,arguments)};function p(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function d(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}var f;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}u(".iconsPreview{display:grid;gap:20px;grid-template-columns:repeat(6,1fr);justify-items:center}.iconsPreview .previewIcon{align-items:center;display:flex;flex-direction:column;font-size:14px;justify-content:center}.iconsPreview .previewIcon span{display:inline-block;margin:0 0 5px}.fillByFill{fill:#000}.fillByStroke{stroke:#000}");var h;function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v.apply(this,arguments)}var y;function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},x.apply(this,arguments)}var b;function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},E.apply(this,arguments)}var w;function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},O.apply(this,arguments)}var N;function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C.apply(this,arguments)}var k;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P.apply(this,arguments)}var B;function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I.apply(this,arguments)}var S,T,_;function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}var z,L;function D(){return D=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},D.apply(this,arguments)}var F;function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},A.apply(this,arguments)}var M,H;function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},R.apply(this,arguments)}var q;function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Z.apply(this,arguments)}var V,Y;function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}var G;function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q.apply(this,arguments)}var W;function K(){return K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},K.apply(this,arguments)}var X;function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$.apply(this,arguments)}var J;function ee(){return ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ee.apply(this,arguments)}var te;function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},re.apply(this,arguments)}var ne;function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oe.apply(this,arguments)}var ae,ie;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},le.apply(this,arguments)}var ce,se;function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ue.apply(this,arguments)}var me,pe;function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},de.apply(this,arguments)}var fe;function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ge.apply(this,arguments)}var he;function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ve.apply(this,arguments)}var ye;function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xe.apply(this,arguments)}var be;function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ee.apply(this,arguments)}var we,Oe;function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ne.apply(this,arguments)}var Ce,ke;function Pe(){return Pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pe.apply(this,arguments)}var Be,Ie;function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Se.apply(this,arguments)}var Te;function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_e.apply(this,arguments)}var je;function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ze.apply(this,arguments)}var Le,De;function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fe.apply(this,arguments)}var Ae;function Me(){return Me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Me.apply(this,arguments)}var He,Re;function qe(){return qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qe.apply(this,arguments)}var Ze;function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ve.apply(this,arguments)}var Ye,Ue,Ge,Qe,We,Ke,Xe,$e=20,Je=25,et=30,tt=function(t,r){return function(n){var o=function(e){var t=e.className,r=e.props,n={};return r.color&&t.includes("Fill")&&(n.fill=r.color),r.color&&t.includes("Stroke")&&(n.stroke=r.color),n}({className:r,props:n}),a=function(e){return"small"===e?$e:"big"===e?et:e||Je}(n.size);return e.createElement(t,m({width:a,height:a},n,{style:o,className:"icon ".concat(n.className||""," ").concat(r||"")}))}},rt=tt((function(e){return s.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},e),f||(f=s.createElement("path",{d:"M28 6a4 4 0 0 0-4 4v2h-.4L10 14v3h44v-3l-13.6-2H40v-2a4 4 0 0 0-4-4h-8zm0 4h8v2h-8v-2zm-16 9 2.701 33.322A4.002 4.002 0 0 0 18.69 56h26.623a3.999 3.999 0 0 0 3.987-3.676L51.924 20 12 19zm8 7a2 2 0 0 1 2 2v23h-3l-1-23a2 2 0 0 1 2-2zm12 0a3 3 0 0 1 3 3v22h-6V29a3 3 0 0 1 3-3zm12 0a2 2 0 0 1 2 2l-1 23h-3V28a2 2 0 0 1 2-2z"})))}),"fillByFill"),nt=tt((function(e){return s.createElement("svg",v({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),h||(h=s.createElement("path",{d:"m13.547 5.247-4.196-.639L7.474.625a.52.52 0 0 0-.949 0L4.65 4.608l-4.196.639a.52.52 0 0 0-.303.16.569.569 0 0 0 .01.785l3.037 3.1-.718 4.378a.577.577 0 0 0 .031.302.55.55 0 0 0 .18.24.514.514 0 0 0 .556.04L7 12.187l3.754 2.067a.504.504 0 0 0 .335.055.551.551 0 0 0 .432-.638l-.717-4.378 3.036-3.1a.563.563 0 0 0 .154-.317.549.549 0 0 0-.447-.628Z"})))}),"fillByFill"),ot=tt((function(e){return s.createElement("svg",x({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},e),y||(y=s.createElement("path",{d:"m30.164 12.064-9.035-1.369L17.09 2.16a1.158 1.158 0 0 0-.516-.538c-.562-.289-1.245-.048-1.526.538l-4.039 8.535-9.035 1.369a1.12 1.12 0 0 0-.65.345c-.212.226-.328.53-.324.845.004.315.128.615.344.835l6.537 6.643-1.544 9.38c-.036.22-.013.444.067.649.08.205.213.383.385.513a1.099 1.099 0 0 0 1.199.09l8.081-4.43 8.081 4.429c.22.122.477.163.723.119.619-.112 1.035-.724.928-1.37l-1.544-9.38 6.537-6.643c.178-.182.295-.42.33-.679.097-.649-.337-1.25-.96-1.346Z"})))}),"fillByStroke"),at=tt((function(e){return s.createElement("svg",E({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},e),b||(b=s.createElement("path",{d:"M11.688 1.167c.711-.08 1.385.438 1.385 1.153 0 6.778-3.783 9.856-8.448 9.856-.724 0-1.313-.619-1.153-1.325.317-1.39 1.014-2.424 2.347-3.604.847-.75.776-1.182.358-.934-2.875 1.711-4.303 4.023-4.366 7.715a.263.263 0 0 1-.263.26h-.44a.683.683 0 0 1-.692-.706 12.9 12.9 0 0 1 .152-1.505c.045-.276.049-.557.01-.834-.118-.859-.177-1.956-.177-3.29A7.04 7.04 0 0 1 7.44.912c1.156 0 2.312.474 4.247.254Z"})))}),"fillByFill"),it=tt((function(e){return s.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),w||(w=s.createElement("path",{d:"M49.1 11c-2.8 5-2.5 9.4.7 9.8 2.8.4 2.9 3.2.2 3.2-1.2 0-3.5-.7-5.1-1.6-3.3-1.7-4.5-1.4-3.6 1.1.4.8 2.6 2 5.1 2.7 4.4 1.2 5.3 2.8 1.6 2.8-1.2 0-2.9 1.9-4.9 5.4-3.8 6.8-9.2 12.1-15.6 15.3-2.7 1.4-5.3 3-5.6 3.5-.3.5-3 .8-6 .6l-5.4-.3 3.1-1.7C21.4 47.6 30.7 35.9 35 25c2.2-5.4 3.3-6.8 6.3-8.3 4.1-2.1 4-4.2-.2-3.2-4 1-6.7 4.1-9 10.4C28.6 33.7 21 43 10.5 50.6c-2.5 1.9-2.8 2.5-1.9 4 1 1.6 2.4 1.9 10.2 1.8 7.6 0 9.8-.4 14.5-2.8 7.2-3.5 12.9-10 17.8-20 4.4-9.1 4.8-12.2 1.8-16.1-2.1-2.5-2.1-2.9-.6-6 1.4-3 1.4-4.5-.3-4.5-.3 0-1.6 1.8-2.9 4z"})))}),"fillByFill"),lt=tt((function(e){return s.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),N||(N=s.createElement("path",{d:"M5.4 6.1c-.4.7 10 11.8 25.2 27 20.5 20.5 26.1 25.6 27.2 24.7 1.1-.9-.1-2.6-6.2-8.7-6.6-6.7-7.4-7.8-6.4-9.6.6-1.1 2-2.6 3-3.3 2.5-1.8 4.8-6.5 4.8-10 0-1.6.7-4.6 1.5-6.5.8-2 1.5-5.5 1.5-7.7V8h-4c-2.2 0-5.7.7-7.7 1.5-1.9.8-4.9 1.5-6.5 1.5-3.5 0-8.2 2.3-10 4.8-.7 1.1-2.2 2.4-3.4 3-1.8 1-2.9.3-9.5-6.4C10.9 8.3 7.2 5 6.8 5c-.4 0-1 .5-1.4 1.1zM52 13.4c0 2.8-2.3 7.7-4 8.6-1 .6-3 1-4.4 1-2.1 0-2.6-.5-2.6-2.4 0-3.9 1.1-5.7 4.4-7.2 4-1.7 6.6-1.7 6.6 0zm-14 3.3c0 3.6-2.1 9.1-4.1 10.9-2 1.8-2.1 1.8-3.5-.1-2.2-3-1.7-6.4 1.5-9.6 3.3-3.3 6.1-3.8 6.1-1.2zm10.7 11c.7 1.9-5.2 7.3-7.9 7.3-1.3 0-3.3-.6-4.4-1.4-1.9-1.5-1.9-1.5.2-3.6 3.4-3.4 11.3-4.9 12.1-2.3zM13.8 29c-7.6 6.2-7.7 14.4-.5 21.7 7.3 7.2 15.5 7.1 21.7-.5 2.8-3.4 2.8-3.7 1.3-5.4-.9-1-3-1.8-4.8-1.8-4.1 0-6.3-2.3-4.5-4.5.7-.9 1-1.8.7-2.2-.4-.3-1.3 0-2.2.7-2.2 1.8-4.5-.4-4.5-4.5 0-1.8-.8-3.9-1.8-4.8-1.7-1.5-2-1.5-5.4 1.3zm4.8 5.3c1.8 7.2-1.9 14.6-5.2 10.3-2-2.8-1.7-6.9.7-10 2.5-3.2 3.7-3.3 4.5-.3zM31 46c1.3.9 1.1 1.4-1.3 3.5-5.3 4.7-15.3 1.5-10.5-3.3 1.5-1.5 9.7-1.6 11.8-.2z"})))}),"fillByFill"),ct=tt((function(e){return s.createElement("svg",P({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},e),k||(k=s.createElement("path",{d:"m20.998 20.038-5.236-5.445a8.854 8.854 0 0 0 2.084-5.71C17.846 3.984 13.86 0 8.963 0S.081 3.985.081 8.882c0 4.898 3.984 8.883 8.882 8.883 1.839 0 3.591-.555 5.09-1.607l5.275 5.487c.22.229.517.355.835.355a1.16 1.16 0 0 0 .835-1.962ZM8.963 2.319a6.573 6.573 0 0 1 6.566 6.564 6.573 6.573 0 0 1-6.566 6.566 6.573 6.573 0 0 1-6.565-6.566 6.573 6.573 0 0 1 6.565-6.565Z"})))}),"fillByFill"),st=tt((function(e){return s.createElement("svg",I({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},e),B||(B=s.createElement("path",{d:"M6.574 8.57c0-.73-.002-1.41 0-2.09C6.587 2.742 9.586-.137 13.32.005c3.286.125 6.037 2.919 6.104 6.21.016.767.002 1.537.002 2.352h.376c1.618.001 3.235 0 4.853.002.825.002 1.276.519 1.185 1.332-.357 3.18-.706 6.36-1.063 9.54-.26 2.316-.497 4.635-.796 6.946-.26 2.007-2.022 3.556-4.053 3.596-1.584.031-3.169.01-4.753.01H6.47c-2.536 0-4.264-1.59-4.53-4.108-.329-3.127-.694-6.25-1.042-9.375-.247-2.215-.496-4.432-.74-6.648C.073 9.086.537 8.57 1.32 8.57c1.618-.003 3.236 0 4.854 0h.4Zm12.87 4.262c.114.029.213.047.307.078.492.16.803.635.745 1.136-.057.496-.476.928-.979.943-.768.023-1.54.02-2.309 0-.48-.012-.884-.397-.977-.867-.091-.465.16-.961.6-1.16.139-.062.291-.093.43-.137V10.73H8.734v2.1c.116.03.215.049.31.08.486.16.797.642.738 1.14-.06.5-.475.924-.983.938-.769.023-1.539.024-2.308.002-.506-.015-.924-.444-.982-.94a1.065 1.065 0 0 1 .739-1.138c.102-.034.208-.057.3-.08v-2.103H2.421c.034.327.064.634.098.941.258 2.304.517 4.609.773 6.914.273 2.46.535 4.92.818 7.38.126 1.095 1.019 1.882 2.126 1.884 4.507.008 9.015.008 13.522.002 1.107-.001 2-.78 2.132-1.88.222-1.848.413-3.7.62-5.55l.773-6.948.3-2.74h-4.138v2.1ZM8.662 8.545h8.625c0-.736.006-1.45-.001-2.162-.023-2.19-1.672-3.981-3.885-4.224-2.069-.227-4.12 1.19-4.537 3.273-.2 1.002-.142 2.057-.202 3.113Z"})))}),"fillByFill"),ut=tt((function(e){return s.createElement("svg",j({width:"1em",height:"1em",stroke:"#000",strokeWidth:1.3,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),S||(S=s.createElement("path",{d:"M19.5 7.5A1.5 1.5 0 0 0 18 6h-3.75l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),T||(T=s.createElement("path",{d:"M19.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 6h2.625l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),_||(_=s.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),mt=tt((function(e){return s.createElement("svg",D({width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),z||(z=s.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),L||(L=s.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),pt=tt((function(e){return s.createElement("svg",A({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},e),F||(F=s.createElement("path",{d:"m17.857 15.825-6.495-6.494 6.495-6.495A1.531 1.531 0 0 0 15.692.672L9.197 7.166 2.703.672A1.53 1.53 0 0 0 .538 2.836l6.494 6.495-6.494 6.495a1.53 1.53 0 0 0 2.165 2.164l6.494-6.494 6.495 6.494a1.531 1.531 0 0 0 2.165-2.164Z"})))}),"fillByFill"),dt=tt((function(e){return s.createElement("svg",R({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},e),M||(M=s.createElement("path",{d:"M12 12.75a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeLinecap:"round",strokeLinejoin:"round"})),H||(H=s.createElement("path",{d:"M19.5 9.75c0 6.75-7.5 12-7.5 12s-7.5-5.25-7.5-12a7.5 7.5 0 0 1 15 0Z",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),ft=tt((function(e){return s.createElement("svg",Z({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),q||(q=s.createElement("path",{d:"M14.25 7.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5ZM4.5 12.5s5.25-5.25 8.25-2.475c1.678 1.547 3 3.975 6.75 3.975M12.234 9.632 6.75 22.25M14.25 22.25V17l-3.984-2.84",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),gt=tt((function(e){return s.createElement("svg",U({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},e),V||(V=s.createElement("path",{d:"m8.669 10.969-1.2 3.256a.5.5 0 0 1-.938 0l-1.2-3.256a.506.506 0 0 0-.3-.3l-3.256-1.2a.5.5 0 0 1 0-.938l3.256-1.2a.506.506 0 0 0 .3-.3l1.2-3.256a.5.5 0 0 1 .938 0l1.2 3.256a.506.506 0 0 0 .3.3l3.256 1.2a.5.5 0 0 1 0 .938l-3.256 1.2a.506.506 0 0 0-.3.3Z"})),Y||(Y=s.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),ht=tt((function(e){return s.createElement("svg",Q({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),G||(G=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.528 5.118a1 1 0 0 1 1.027.05l9 6a1 1 0 0 1 0 1.664l-9 6A1 1 0 0 1 8 18V6a1 1 0 0 1 .528-.882ZM10 7.868v8.263L16.197 12 10 7.869Z"})))}),"fillByFill"),vt=tt((function(e){return s.createElement("svg",K({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},e),W||(W=s.createElement("path",{d:"M5.92 24.096q0 .832.576 1.408t1.44.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576H7.936q-.832 0-1.44.576t-.576 1.44v16.16zm12.096 0q0 .832.608 1.408t1.408.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576h-4.032q-.832 0-1.408.576t-.608 1.44v16.16z"})))}),"fillByFill"),yt=tt((function(e){return s.createElement("svg",$({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),X||(X=s.createElement("path",{d:"m89.752 59.582 251.583 251.583 5.433 5.432 49.472 49.474v-.001l30.862 30.86h-.001l25.317 25.318-30.17 30.17-187.832-187.833v164.103l-110.729-85.459h-81.02V172.563h80.895l10.538-8.293-74.518-74.518 30.17-30.17Zm314.213 28.014c67.74 75.64 82.499 181.38 44.28 270.137l-32.95-32.95c23.87-71.004 8.998-151.973-44.615-210.559l33.285-26.628Zm-84.385 67.51c28.626 31.924 41.555 72.769 38.788 112.752l-49.237-49.236c-4.823-12.915-12.148-25.121-21.976-35.884l-.9-.974 33.325-26.659Zm-85.163-69.773-.001 58.574-32.78-32.78 32.78-25.794Z",fillRule:"evenodd"})))}),"fillByFill"),xt=tt((function(e){return s.createElement("svg",ee({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),J||(J=s.createElement("path",{d:"m403.966 426.944-33.285-26.629c74.193-81.076 74.193-205.016-.001-286.091l33.285-26.628c86.612 96.713 86.61 242.636.001 339.348ZM319.58 155.105l-33.325 26.66c39.796 42.567 39.795 108.443.002 151.01l33.324 26.66c52.204-58.222 52.204-146.11-.001-204.33Zm-85.163-69.772-110.855 87.23H42.667v170.666h81.02l110.73 85.459V85.333Z",fillRule:"evenodd"})))}),"fillByFill"),bt=tt((function(e){return s.createElement("svg",oe({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},e),ne||(ne=s.createElement("path",{d:"M12.598 20.946v-8.25h8.25a1.375 1.375 0 0 0 0-2.75h-8.25v-8.25a1.375 1.375 0 0 0-2.75 0v8.25h-8.25a1.375 1.375 0 0 0 0 2.75h8.25v8.25a1.375 1.375 0 1 0 2.75 0Z"})))}),"fillByFill"),Et=tt((function(e){return s.createElement("svg",re({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},e),te||(te=s.createElement("path",{d:"M20.848 3.696H1.598a1.375 1.375 0 0 1 0-2.75h19.25a1.375 1.375 0 0 1 0 2.75Z"})))}),"fillByFill"),wt=tt((function(e){return s.createElement("svg",le({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},e),ae||(ae=s.createElement("path",{d:"M12.271 22.34c5.523 0 10-4.476 10-10 0-5.522-4.477-10-10-10-5.522 0-10 4.478-10 10 0 5.524 4.478 10 10 10Z",strokeWidth:2})),ie||(ie=s.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),Ot=tt((function(e){return s.createElement("svg",ue({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},e),ce||(ce=s.createElement("g",{clipPath:"url(#gift_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},s.createElement("path",{d:"M1.4 6.207a.1.1 0 0 0-.1.1v3a.1.1 0 0 0 .1.1h16.5a.1.1 0 0 0 .1-.1v-3a.1.1 0 0 0-.1-.1H1.4Zm-1.4.1a1.4 1.4 0 0 1 1.4-1.4h16.5a1.4 1.4 0 0 1 1.4 1.4v3a1.4 1.4 0 0 1-1.4 1.4H1.4a1.4 1.4 0 0 1-1.4-1.4v-3Z"}),s.createElement("path",{d:"M2.15 9.407a.65.65 0 0 1 .65.65v6.75a.1.1 0 0 0 .1.1h13.5a.1.1 0 0 0 .1-.1v-6.75a.65.65 0 0 1 1.3 0v6.75a1.4 1.4 0 0 1-1.4 1.4H2.9a1.4 1.4 0 0 1-1.4-1.4v-6.75a.65.65 0 0 1 .65-.65Z"}),s.createElement("path",{d:"M9.65 4.907a.65.65 0 0 1 .65.65v12a.65.65 0 1 1-1.3 0v-12a.65.65 0 0 1 .65-.65Z"}),s.createElement("path",{d:"M11.17 1.769c-.162.163-.32.452-.456.86a7.639 7.639 0 0 0-.288 1.297c-.05.35-.08.681-.098.954.272-.019.603-.049.953-.099a7.632 7.632 0 0 0 1.296-.288c.409-.135.698-.294.861-.456a1.604 1.604 0 0 0-2.268-2.268ZM9.65 5.557H9v-.043l.002-.11a14.514 14.514 0 0 1 .137-1.66c.07-.487.176-1.026.341-1.524.162-.488.4-.997.768-1.367L10.25.85a2.904 2.904 0 1 1 4.107 4.106l-.002.002c-.371.368-.88.606-1.368.768a8.914 8.914 0 0 1-1.523.341 14.517 14.517 0 0 1-1.77.139H9.65l-.001-.65Zm0 0v.65a.65.65 0 0 1-.65-.65h.65Z"}),s.createElement("path",{d:"M4.943.85a2.904 2.904 0 0 1 4.107 0l.002.003c.368.37.606.88.768 1.367.165.498.271 1.037.34 1.523a14.57 14.57 0 0 1 .14 1.77V5.557l-.65.001v.65h-.043l-.111-.002a14.518 14.518 0 0 1-1.66-.137 8.914 8.914 0 0 1-1.524-.341c-.487-.162-.996-.4-1.367-.768l-.002-.002a2.904 2.904 0 0 1 0-4.106ZM9.65 5.558v.65a.65.65 0 0 0 .65-.65h-.65Zm-.678-.678a12.958 12.958 0 0 0-.098-.953 7.634 7.634 0 0 0-.288-1.296c-.136-.409-.295-.698-.456-.861A1.604 1.604 0 0 0 5.86 4.037c.164.162.453.32.861.456.399.133.855.225 1.297.288.35.05.68.08.953.099Z"}))),se||(se=s.createElement("defs",null,s.createElement("clipPath",{id:"gift_svg__a"},s.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),Nt=tt((function(e){return s.createElement("svg",de({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},e),me||(me=s.createElement("g",{clipPath:"url(#percent_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},s.createElement("path",{d:"M15.32 1.18c.24.24.24.63 0 .87L2.55 14.82a.615.615 0 0 1-.87-.87L14.45 1.18c.24-.24.63-.24.87 0ZM4 1.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM.5 3.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0ZM13 10.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM9.5 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z"}))),pe||(pe=s.createElement("defs",null,s.createElement("clipPath",{id:"percent_svg__a"},s.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),Ct=tt((function(e){return s.createElement("svg",ge({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},e),fe||(fe=s.createElement("path",{d:"M5.347 8.514c.047.072.109.142.146.222.106.227.208.459.297.693.025.063.047.1.114.108 1.212.15 2.085.813 2.731 1.82.285.444.492.926.668 1.44.008.02-.928.336-.935.316-.035-.092-.064-.18-.099-.267-.235-.6-.532-1.16-1-1.61a2.535 2.535 0 0 0-1.62-.727c-.648-.047-1.272.04-1.858.34-.621.316-1.042.823-1.346 1.441-.255.517-.396 1.068-.48 1.636-.005.033.022.06.054.06h6.717c2.091 0 4.182 0 6.272-.002a.508.508 0 0 0 .243-.063 41.67 41.67 0 0 1 4.04-2.07c.04-.017.042-.075.005-.097a1.95 1.95 0 0 0-1.368-.222c-.507.097-.9.394-1.262.753-.015.013-.767-.628-.752-.643.487-.524 1.054-.903 1.761-1.085a.055.055 0 0 0 .04-.063c-.047-.26-.084-.518-.148-.773a8.286 8.286 0 0 0-.859-2.162c-.193-.332-.413-.649-.618-.973-.05-.077-.114-.092-.2-.087a1.45 1.45 0 0 1-1.18-.457 1.444 1.444 0 0 1-.41-1.11c.006-.087-.017-.12-.093-.157-.532-.262-1.062-.531-1.591-.798-.02-.01.425-.903.448-.89.361.182.71.359 1.061.533.183.093.366.19.552.277a.144.144 0 0 0 .124-.015c.299-.257.645-.369 1.034-.369h1.299c.024 0 .012.998-.018.998-.433 0-.866-.003-1.298 0-.347.002-.572.26-.522.588a.482.482 0 0 0 .487.407c.425.005.848 0 1.274 0h.144c.03 0 .054.025.054.055 0 .294-.002.578.002.86 0 .065.03.162.065.217.65 1.06 1.108 2.198 1.318 3.43.02.122.04.244.057.367.01.064.028.094.104.107.745.13 1.37.461 1.794 1.11.111.17.193.356.29.543a.054.054 0 0 1-.028.075c-.316.132-.63.26-.94.394a39 39 0 0 0-4.404 2.255.417.417 0 0 1-.21.057c-2.291.003-4.585.003-6.876.003-.076 0-.118.002-.138.102-.25 1.22-1.203 2.16-2.417 2.355-1.334.214-2.549-.447-3.115-1.57-.134-.264-.22-.55-.332-.847a.054.054 0 0 0-.05-.035H.979a.055.055 0 0 1-.055-.055c-.002-.172-.007-.334.003-.499.077-1.28.388-2.479 1.21-3.497.591-.733 1.363-1.17 2.28-1.349.097-.02.194-.035.298-.05.034-.005.054-.042.042-.075a1.398 1.398 0 0 0-.596-.676c-.394-.234-.83-.284-1.272-.289-.76-.005-1.517-.003-2.276 0H.495a.055.055 0 0 1-.054-.055V.577c0-.03.025-.055.054-.055h8.79c.03 0 .055.025.055.055v.108c0 2.23 0 4.46-.002 6.69 0 .101.067.191.163.221.735.215 1.163.838 1.302 1.581.054.297-.035.564-.09.843-.074.372-.118.746-.042 1.123.104.524.352.775.886.83.57.058 1.116-.027 1.613-.341.48-.307.762-.761.945-1.285.225-.638.287-1.302.275-1.973-.01-.419-.042-.84-.067-1.28 0-.02.965-.141.967-.119.025.24.06.471.065.703.01.49.027.98-.003 1.47-.054.895-.264 1.753-.791 2.499-.508.718-1.203 1.14-2.064 1.282-.457.075-.918.087-1.373-.025-.826-.207-1.291-.8-1.43-1.611a3.798 3.798 0 0 1 .099-1.652c.084-.309-.007-.563-.166-.805-.168-.257-.435-.337-.72-.337-1.18-.008-2.358-.003-3.538-.003-.01.003-.012.008-.022.018Zm.027-6.941v2.895c0 .02-.99.02-.99 0V1.573a.055.055 0 0 0-.054-.055H1.483a.055.055 0 0 0-.055.055V7.44c0 .03.025.055.055.055h6.806c.03 0 .054-.025.054-.055V1.573a.055.055 0 0 0-.054-.055H5.426c-.03 0-.052.025-.052.055Zm-1.83 13.41c-.035 0-.062.036-.053.068a1.965 1.965 0 0 0 2.13 1.414c.77-.087 1.619-.835 1.653-1.426a.054.054 0 0 0-.054-.058H3.543v.003ZM15.555 15.732c-.007-.017 0-.04.017-.047.27-.122.54-.242.814-.364a.052.052 0 0 1 .07.025c.28.553.71.93 1.311 1.08.51.127 1.007.06 1.467-.21.812-.474 1.287-1.544.78-2.636a.053.053 0 0 1 .022-.07c.252-.14.507-.28.774-.424a.052.052 0 0 1 .074.025c.443.925.473 1.858-.012 2.763-.614 1.148-1.606 1.682-2.892 1.594-1.104-.08-2.044-.83-2.425-1.736Z"})))}),"fillByFill"),kt=tt((function(e){return s.createElement("svg",ve({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),he||(he=s.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Pt=tt((function(e){return s.createElement("svg",xe({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},e),ye||(ye=s.createElement("path",{d:"M13.335 19.811a.973.973 0 0 1-1.12-.87l-.588-6.25a.942.942 0 0 0-.656-.811l-.064-.02-.074-.026-.095-.036a3.817 3.817 0 0 1-.518-.255 2.849 2.849 0 0 1-.563-.44 1.981 1.981 0 0 1-.418-.625c-.103-.238-.124-.511-.177-.795a31.06 31.06 0 0 1-.132-.9c-.022-.156-.04-.316-.058-.477-.02-.161-.036-.325-.053-.49a27.022 27.022 0 0 1-.124-3.003c.006-.321.02-.633.037-.93.01-.148.02-.292.033-.433.013-.14.024-.275.038-.406l.044-.375c.014-.119.033-.233.048-.34.014-.106.033-.207.049-.3l.023-.133.024-.122c.023-.121.05-.241.078-.36l.033-.13.1-.385c.125-.485.608-.802 1.097-.696a.927.927 0 0 1 .717.744l1.55 8.784 1.564 8.873.01.055c.094.538-.266 1.068-.805 1.152ZM6.606 2.067c-.002-.138-.002-.263-.006-.375l-.018-.539a.406.406 0 0 0-.812-.015l-.001.007-.019.244-.021.278c-.008.108-.022.229-.034.361-.013.132-.026.276-.045.427-.018.15-.035.31-.058.474-.023.164-.044.334-.07.506-.028.172-.053.347-.083.52-.031.174-.06.348-.093.519l-.048.253-.05.246c-.032.162-.068.317-.1.465l-.06.255a.302.302 0 0 1-.593-.106L5.05.951a.409.409 0 0 0-.355-.453.416.416 0 0 0-.449.325L3.182 5.38a.275.275 0 0 1-.542-.094L2.674 5c.02-.15.04-.307.064-.47l.037-.249.042-.254c.026-.172.06-.345.09-.519.03-.174.067-.346.1-.517.034-.17.072-.338.107-.5.035-.162.074-.317.108-.466.033-.148.07-.287.103-.416.034-.128.062-.247.092-.35l.075-.27.066-.234.003-.012a.407.407 0 0 0-.77-.26l-.093.234-.108.267c-.042.104-.085.222-.134.35-.048.128-.102.267-.153.416-.052.148-.11.304-.164.467-.054.162-.112.33-.167.502-.053.173-.11.347-.162.523-.052.176-.106.352-.153.526l-.072.259-.067.254c-.044.167-.083.33-.121.483a28.633 28.633 0 0 0-.18.807c-.024.111-.105.81-.078.892-.082 1.184.508 2.261 1.45 2.718L.575 18.621a.972.972 0 1 0 1.914.338L3.825 9.4c1.065-.11 2.006-.956 2.314-2.137.043-.072.123-.418.137-.5.013-.08.03-.18.045-.291a20.175 20.175 0 0 0 .107-.82c.016-.158.036-.324.05-.496l.025-.262.02-.268c.016-.18.025-.363.037-.546.012-.183.017-.367.026-.547.008-.18.01-.358.016-.53.004-.17.003-.337.005-.494.003-.157 0-.306-.002-.443Z"})))}),"fillByFill"),Bt=tt((function(e){return s.createElement("svg",Ee({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},e),be||(be=s.createElement("path",{d:"M12.207 3.586 9.414.793A1 1 0 0 0 8 .793L.293 8.5A.991.991 0 0 0 0 9.207V12a1 1 0 0 0 1 1h2.793a.992.992 0 0 0 .707-.293L12.207 5a1 1 0 0 0 0-1.414ZM1.207 9 6.5 3.707 7.543 4.75 2.25 10.043 1.207 9ZM1 10.207 2.793 12H1v-1.793Zm3 1.587L2.957 10.75 8.25 5.457 9.293 6.5 4 11.794Zm6-6L7.207 3l1.5-1.5L11.5 4.293l-1.5 1.5Z"})))}),"fillByFill"),It=tt((function(e){return s.createElement("svg",Ne({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),we||(we=s.createElement("path",{d:"M8 4.87c-3.6 0-5.167-2.167-5.5-3h11c-.5.833-1.9 3-5.5 3Zm0 0v3m-3.5 6H2c0-2 1.2-6 6-6m0 0c4.8 0 6 4 6 6h-2.5m-3.5-.5 2.5-2"})),Oe||(Oe=s.createElement("circle",{cx:8,cy:13.37,r:1})))}),"fillByStroke"),St=tt((function(e){return s.createElement("svg",Pe({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ce||(Ce=s.createElement("g",{clipPath:"url(#important_svg__a)",fill:"#FF3A44"},s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 20c5.52 0 10-4.48 10-10S15.52 0 10 0 0 4.48 0 10s4.48 10 10 10Z",fillOpacity:.25}),s.createElement("path",{d:"M10.71 14.71c-.19.18-.44.29-.71.29-.27 0-.53-.1-.71-.29-.18-.19-.29-.44-.29-.71 0-.27.1-.53.29-.71.19-.18.44-.29.71-.29.27 0 .53.1.71.29.18.19.29.44.29.71 0 .27-.1.53-.29.71ZM10 4.25a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V5a.75.75 0 0 1 .75-.75Z"}))),ke||(ke=s.createElement("defs",null,s.createElement("clipPath",{id:"important_svg__a"},s.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}),""),Tt=tt((function(e){return s.createElement("svg",Se({width:"1em",height:"1em",viewBox:"0 0 182 116",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Be||(Be=s.createElement("path",{d:"M84.57 19.329c0-4.477-.063-8.755.022-13.028.065-3.61 2.972-6.344 6.497-6.3 3.423.042 6.213 2.765 6.325 6.284.08 2.346.022 4.698.022 7.05v5.999H147.839c5.059 0 7.532 2.47 7.538 7.512.005 7.985.01 15.976 0 23.96-.006 4.645-2.575 7.18-7.254 7.19-4.962.01-9.925-.043-14.882.043-.998.016-2.13.323-2.956.866-10.456 6.91-20.859 13.9-31.304 20.819-1.11.737-1.588 1.496-1.577 2.884.07 8.927.053 17.854.021 26.781-.01 3.115-1.797 5.461-4.646 6.322-2.629.797-5.606-.129-7.012-2.566-.73-1.265-1.137-2.89-1.153-4.359-.102-8.722-.086-17.45-.016-26.173.01-1.372-.43-2.152-1.561-2.905-10.451-6.915-20.854-13.91-31.31-20.819-.826-.543-1.958-.845-2.956-.86-5.027-.087-10.054-.028-15.086-.044-4.4-.016-7.044-2.626-7.055-6.984-.021-8.255-.021-16.509 0-24.769.01-4.267 2.645-6.903 6.915-6.909 16.16-.016 32.319-.005 48.477-.005h2.549v.01Z",fill:"currentcolor"})),Ie||(Ie=s.createElement("path",{d:"M18.518 83.776c-3.803 0-7.21.016-10.617 0C3.523 83.754.88 81.128.88 76.759.868 55.677.868 34.6.873 13.53c0-4.15 2.613-7.034 6.342-7.082 3.803-.049 6.523 2.884 6.523 7.113.011 18.258 0 36.515 0 54.767v2.556h37.544c4.11 0 5.95 1.254 7.484 5.09 4.007 10.014 8.047 20.012 11.964 30.064.584 1.495.928 3.287.713 4.848-.392 2.889-2.908 4.886-5.708 5.09-2.865.21-5.381-1.383-6.567-4.315-3.487-8.637-6.969-17.273-10.349-25.947-.58-1.49-1.255-2.034-2.88-1.986-4.218.135-8.44.043-12.093.043-1.69 2.653-3.042 5.075-4.673 7.286-5.45 7.399-10.998 14.722-16.508 22.073-1.684 2.243-3.921 3.277-6.674 2.701-2.66-.554-4.345-2.282-4.968-4.961-.488-2.12.183-3.945 1.46-5.64 4.801-6.376 9.576-12.768 14.361-19.161.478-.635.934-1.286 1.669-2.303l.005.01ZM148.29 83.776c-4.078 0-8.697-.054-13.316.07-.563.016-1.347.92-1.62 1.587-3.536 8.685-6.98 17.407-10.494 26.103-1.422 3.519-4.587 5.155-7.854 4.192-3.895-1.147-5.644-4.962-4.045-9.008 3.326-8.41 6.706-16.8 10.059-25.199.821-2.05 1.652-4.1 2.462-6.156 1.197-3.04 3.429-4.487 6.68-4.487 11.867.01 23.734 0 35.601 0h2.484v-2.422c0-18.392-.016-36.784.011-55.17.005-4.929 4.367-8.093 8.728-6.42 2.479.953 4.094 3.272 4.126 6.113.043 4.095.016 8.19.016 12.285V76.21c0 5.096-2.441 7.555-7.495 7.56h-10.171c1.089 1.48 1.942 2.648 2.811 3.81 4.463 5.957 8.954 11.892 13.385 17.875 2.173 2.933 1.899 6.436-.552 8.761-2.897 2.749-7.222 2.281-9.813-1.147-5.858-7.764-11.701-15.534-17.473-23.364-1.282-1.737-2.227-3.723-3.53-5.93Z",fill:"currentcolor"})))}),"fillByStroke"),_t=tt((function(e){return s.createElement("svg",_e({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Te||(Te=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.514 8.532c-.01.155-.014.31-.014.468v.007c0-.16.005-.318.014-.475ZM9 16.5a7.5 7.5 0 0 0 0-15v15Zm0 .5A8 8 0 1 0 9 1a8 8 0 0 0 0 16Z",fill:"currentColor"})))}),"fillByStroke"),jt=tt((function(e){return s.createElement("svg",ze({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),je||(je=s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.486 9.468c.01-.155.014-.31.014-.468v-.007c0 .16-.005.318-.014.475ZM9 1.5a7.5 7.5 0 1 0 0 15v-15ZM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1Z",fill:"currentColor"})))}),"fillByStroke"),zt=tt((function(e){return s.createElement("svg",Fe({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Le||(Le=s.createElement("g",{clipPath:"url(#wholeOption_svg__a)"},s.createElement("circle",{cx:8.333,cy:8,r:8}))),De||(De=s.createElement("defs",null,s.createElement("clipPath",{id:"wholeOption_svg__a"},s.createElement("path",{fill:"#fff",transform:"translate(.333)",d:"M0 0h16v16H0z"})))))}),"fillByFill"),Lt=tt((function(e){return s.createElement("svg",Me({width:"1em",height:"1em",viewBox:"0 0 21 16",xmlns:"http://www.w3.org/2000/svg"},e),Ae||(Ae=s.createElement("path",{d:"M.9 4.1A3.3 3.3 0 0 1 4.2.8h12.6a3.3 3.3 0 0 1 3.3 3.3v7.8a3.3 3.3 0 0 1-3.3 3.3H4.2a3.3 3.3 0 0 1-3.3-3.3V4.1ZM2.1 8v3.9c0 1.159.94 2.1 2.1 2.1h2.7V8.848l-1.975 1.977a.6.6 0 1 1-.85-.85L6.051 8H2.1Zm1.522-1.2A2.4 2.4 0 0 1 6.9 3.52V2H4.2a2.1 2.1 0 0 0-2.1 2.1v2.7h1.522Zm2.078 0h1.2V5.6a1.2 1.2 0 1 0-1.2 1.2Zm2.4-1.2v1.2h1.2a1.2 1.2 0 1 0-1.2-1.2Zm3.278 1.2H18.9V4.1A2.1 2.1 0 0 0 16.8 2H8.1V3.52A2.4 2.4 0 0 1 11.378 6.8ZM8.948 8l1.977 1.975a.6.6 0 1 1-.85.85L8.1 8.848V14h8.7a2.1 2.1 0 0 0 2.1-2.1V8H8.948Z"})))}),"fillByFill"),Dt=tt((function(e){return s.createElement("svg",qe({width:"1em",height:"1em",viewBox:"0 0 18 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),He||(He=s.createElement("path",{d:"M10.333 3.667a1.333 1.333 0 1 0 0-2.667 1.333 1.333 0 0 0 0 2.667ZM2.334 25l4-5.334M14.333 25l-2.667-5.334-4-4 1.333-8"})),Re||(Re=s.createElement("path",{d:"m1 13 2.667-4L9 7.667l4 4L17 13"})))}),"fillByStroke"),Ft=tt((function(e){return s.createElement("svg",Ve({width:"1em",height:"1em",viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ze||(Ze=s.createElement("path",{d:"M20.571 15.918a3.633 3.633 0 0 1-1.905-.534 3.235 3.235 0 0 1-1.262-1.421 2.943 2.943 0 0 1-.195-1.83 3.1 3.1 0 0 1 .938-1.622 3.524 3.524 0 0 1 1.755-.866 3.692 3.692 0 0 1 1.981.18c.627.24 1.162.646 1.539 1.166.377.521.578 1.133.578 1.76a3.054 3.054 0 0 1-1.006 2.238 3.582 3.582 0 0 1-2.423.93Zm0-4.75c-.339 0-.67.092-.952.266a1.617 1.617 0 0 0-.631.71c-.13.29-.164.609-.098.916.066.307.23.59.47.81.239.222.544.373.877.434.332.061.677.03.99-.09.314-.12.581-.323.77-.583.188-.26.289-.567.289-.88 0-.42-.182-.822-.503-1.12a1.79 1.79 0 0 0-1.212-.464ZM18.857.082h-5.143v1.584h5.143c.227 0 .445.083.606.232.161.148.251.35.251.56 0 .21-.09.41-.25.56a.894.894 0 0 1-.607.231h-2.571a.917.917 0 0 0-.367.076.852.852 0 0 0-.296.214.771.771 0 0 0-.168.31.734.734 0 0 0-.01.347l.793 3.66-2.152 3.311h-2.305l-2.205-6.79a1.58 1.58 0 0 0-.617-.817 1.8 1.8 0 0 0-1.025-.31H3.429v1.583h4.505l.514 1.583H4.286c-1.137.002-2.226.42-3.03 1.161C.454 8.32.002 9.326 0 10.375v1.584c0 .21.09.411.251.56.16.148.379.232.606.232h.857c0 .84.362 1.645 1.004 2.24a3.578 3.578 0 0 0 2.425.927c.91 0 1.781-.334 2.424-.928a3.05 3.05 0 0 0 1.004-2.24h6a.912.912 0 0 0 .422-.102.83.83 0 0 0 .313-.281l2.571-3.96a.74.74 0 0 0 .106-.562l-.652-3.012h1.526c.682 0 1.336-.25 1.818-.696.483-.445.754-1.05.754-1.68 0-.63-.271-1.234-.754-1.68a2.683 2.683 0 0 0-1.818-.695ZM5.143 14.334a1.79 1.79 0 0 1-1.212-.464 1.526 1.526 0 0 1-.502-1.12h3.428c0 .42-.181.823-.502 1.12a1.79 1.79 0 0 1-1.212.464Zm-3.429-3.167v-.792c.001-.63.272-1.233.754-1.679A2.686 2.686 0 0 1 4.286 8h4.676l1.029 3.167H1.714Z"})))}),"fillByFill");exports.CROP_MODE=void 0,(Ye=exports.CROP_MODE||(exports.CROP_MODE={}))[Ye.fill=0]="fill",Ye[Ye.pad=1]="pad",Ye[Ye.fit=2]="fit",Ye[Ye.mfit=3]="mfit",Ye[Ye.scale=4]="scale",Ye[Ye.limit=5]="limit",Ye[Ye.lpad=6]="lpad",Ye[Ye.mpad=7]="mpad",Ye[Ye.crop=8]="crop",Ye[Ye.fill_pad=9]="fill_pad",Ye[Ye.thumb=10]="thumb",exports.GRAVITY_MODE=void 0,(Ue=exports.GRAVITY_MODE||(exports.GRAVITY_MODE={}))[Ue.center=0]="center",Ue[Ue.north_east=1]="north_east",Ue[Ue.north=2]="north",Ue[Ue.north_west=3]="north_west",Ue[Ue.west=4]="west",Ue[Ue.south_west=5]="south_west",Ue[Ue.south=6]="south",Ue[Ue.south_east=7]="south_east",Ue[Ue.east=8]="east",Ue[Ue.liquid=9]="liquid",Ue[Ue.auto=10]="auto",exports.QUALITY_MODE=void 0,(Ge=exports.QUALITY_MODE||(exports.QUALITY_MODE={}))[Ge.best=1]="best",Ge[Ge.good=2]="good",Ge[Ge.eco=3]="eco",Ge[Ge.low=4]="low",Ge[Ge.custom=5]="custom",exports.CURRENCY=void 0,(Qe=exports.CURRENCY||(exports.CURRENCY={})).USD="$",Qe.EUR="€",Qe.GBP="£",Qe.UAH="₴",Qe.AED="د.",Qe.ILS="₪",Qe.JPY="¥",Qe.KZT="₸",Qe.RUB="₽",exports.DISCOUNT_TYPE=void 0,(We=exports.DISCOUNT_TYPE||(exports.DISCOUNT_TYPE={}))[We.common=0]="common",We[We.bonus=1]="bonus",exports.DELIVERY_TYPE=void 0,(Ke=exports.DELIVERY_TYPE||(exports.DELIVERY_TYPE={}))[Ke.delivery=1]="delivery",Ke[Ke.takeAway=2]="takeAway",Ke[Ke.virtualVenue=3]="virtualVenue",Ke[Ke.dinein=4]="dinein",exports.DISCOUNT_TARGET=void 0,(Xe=exports.DISCOUNT_TARGET||(exports.DISCOUNT_TARGET={}))[Xe.products=0]="products",Xe[Xe.delivery=1]="delivery";var At=function(e,t){return Object.keys(e).find((function(r){return e[r]===t}))},Mt=function(e,t){var r="";return e&&(r=exports.CURRENCY[e]||e),(t||0===t)&&(r="".concat(t," ").concat(r)),r},Ht={cutlery:{addCutlery:"Add cutlery",cutlery:"Cutlery"},checkoutFormItem:{change:"Change"},gift:{itsGift:"It's a gift",name:"Name",namePlaceholder:"Type the recipient name here",greeting:"Greeting",greetingPlaceholder:"Type greetings note to you order",phone:"Phone",phonePlaceholder:"Type the recipient's phone number here"},bagesPaymentsOrderSummary:{discount:"Discount",freeDelivery:"Free delivery",bonuses:"Bonuses"},tag:{vegan:"vegan",vegetarian:"vegetarian",spicy:"spicy",freeGluten:"free gluten"},errorConstructor:{selectOneOf:"Select one of options",selectAtLeast:"Select at least",for:"for",maximumAvailable:"Maximum avaliable to select is",minimumOption:"You should choose"},productConstructor:{ingredients:"Ingredietns",comments:"Comments",addName:"Add name",addComment:"Add comments",addCommentPlaceholder:"Add comments placeholder",addNamePlaceholder:"Add name placeholder",summary:"Summary",toppings:"Toppings",half:"Half",full:"Full",addToCart:"Add to cart",back:"Back",next:"Next",left:"left",right:"right",change:"Change",free:"free",upToOption:"You can choose up to {count}",freeOptions:"First {count} are free",portionSizeLabel:"Portion size",portionSizeLabelWeighed:"Portion size weighed",gr:"gr",weightProductAcceptable:"deviation is acceptable",weightAdditionalPayment:"additional payment up to {payment} is possible"},summary:{editProduct:"Edit",addRemovedOffer:"Add",removedOffer:"Remove",bonus:"Bonus",discount:"Discount",coupon:"Coupon",summary:"Payment Summary",subtotal:"Subtotal",deliveryCost:"Delivery Cost",deliveryCostBase:"Delivery Cost Base",deliveryCostFinal:"Delivery Cost Final",serviceFee:"Service Fee",minimumOrderCharge:"Minimum Order Charge",driverTip:"Driver Tip",invalidPromocode:"Promocode Invalid",placeholderPromocode:"Promocode Placeholder",paymentBalance:"Payment Balance",weightAdjustment:"Price buffer",weightAdjustmentTooltip:"Price buffer tooltip",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry",dinein:"Dinein",virtualVenue:"Gift"}},Rt=e.createContext(Ht),qt=Rt.Provider,Zt=function(t){var r=e.useContext(Rt);return r[t]?r[t]:Ht[t]},Vt=function(t){var r=t.accumulatedPurchaseBonus,n=void 0===r?0:r,o=t.discount,a=void 0===o?0:o,i=t.finalDeliveryPrice,l=void 0===i?0:i,c=t.currency,s=Zt("bagesPaymentsOrderSummary");return e.createElement("div",{className:"bagesPaymentSummary"},0===l&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(kt,{size:12,color:"#fff"})),e.createElement(Ct,null),e.createElement("span",{className:"discountLabel"},s.freeDelivery)),a>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(kt,{size:12,color:"#fff"})),e.createElement(Nt,null),e.createElement("span",{className:"discountLabel"},Mt(c,a)," ",s.discount)),n>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(kt,{size:12,color:"#fff"})),e.createElement(Ot,null),e.createElement("span",{className:"discountLabel"},n," ",s.bonuses)))};u(".orderSummary .summaryBody{background:#f8f8f8;border-radius:var(--border-radius,10px);padding:25px}.orderSummary .summaryBody .head{display:inline-block;font-size:24px;font-weight:600;margin:0 0 20px}.orderSummary .summaryBody .summaryItem{display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 20px}.orderSummary .summaryBody .summaryItem:last-child{margin:0}.orderSummary .summaryBody .summaryItem.totalPrice{font-size:20px}.orderSummary .summaryBody .summaryItem .disabled{opacity:.5}.orderSummary .summaryBody .summaryItem .inlineValue{align-items:center;display:flex;gap:5px}.orderSummary .summaryBody .summaryItem.customDiscount .price{background:#fff;border:1px solid #dedede;border-radius:5px;padding:0 5px}.orderSummary .summaryBody .summaryItem.customDiscount input{border:none;font-size:16px;font-weight:600;height:36px;margin:0 5px 0 0;outline:none;text-align:right;width:65px}.orderSummary .summaryBody .summaryItem.customDiscount input:active,.orderSummary .summaryBody .summaryItem.customDiscount input:focus{border:none;outline:none}.orderSummary .summaryBody .summaryItem.item-question>span{align-items:center;display:flex}.orderSummary .summaryBody .summaryItem .price,.orderSummary .summaryBody .summaryItem .total{font-weight:600}.orderSummary .summaryBody .summaryItem .price.priceBlue,.orderSummary .summaryBody .summaryItem .total.priceBlue{color:var(--main-color,#007aff)}.orderSummary .summaryBody .itemDiscount .itemName{align-items:center;display:flex;gap:7px}.orderSummary .summaryBody .itemDiscount .itemName .icon{margin:0 5px}.orderSummary .summaryBody .itemDiscount .controlOffer{color:#ccc;cursor:pointer;font-size:14px}.orderSummary .summaryBody .itemDiscount .discount{align-items:baseline;display:flex;flex-direction:row;justify-content:center}.orderSummary .summaryBody .itemDiscount .discount .discount-name{color:#d6d1d1;font-size:16px;text-transform:uppercase}.orderSummary .summaryBody .itemDiscount .discountPart{display:flex;flex-direction:column;justify-content:center}.orderSummary .summaryBody .question{align-items:center;background:#ccc;border-radius:100px;color:var(--warning,#fe7171);display:inline-flex;font-size:16px;height:20px;justify-content:center;margin:0 5px;width:20px}.orderSummary .summaryBody .minimal-order{color:var(--warning,#fe7171)!important}.orderSummary .summaryBody .hr{background:#cfd1d4;height:1px;margin:0 0 20px;width:100%}.orderSummary .promocode{color:var(--main-color,#007aff);cursor:pointer;display:inline-block;margin-bottom:15px;width:100%}.orderSummary .promocode .invalidCoupon{color:var(--warning,#fe7171);display:block}.orderSummary .promocode .inputArea{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:flex;height:40px;justify-content:space-between;padding:0 10px}.orderSummary .promocode .inputArea .labelInput{height:100%;padding:0}.orderSummary .promocode .inputArea .labelInput,.orderSummary .promocode .inputArea input{width:100%}.orderSummary .confirmButton{background:var(--main-color,#007aff);border-radius:var(--border-radius,10px);color:#fff;cursor:pointer;font-size:16px;margin:10px 0 0;padding:15px 5px;text-align:center;width:100%}.orderSummary .confirmButton.disable{opacity:.5;pointer-events:none}");u(".labelInput{align-items:center;background:#f8f8f8;border-radius:var(--border-radius,5px);display:inline-flex;height:44px;overflow:hidden;padding:0 13px}.labelInput .icon{height:25px;margin:0 10px 0 0;width:25px}.labelInput input{background:none;border:none;height:100%;outline:none;width:100%}.labelInput input::-webkit-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-moz-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-ms-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::placeholder{color:#747474;font-size:14px;font-weight:400}.rtl .labelInput .icon{margin:0 0 0 10px}");var Yt=function(r){var n=r.icon,o=r.onChange,a=p(r,["icon","onChange"]);return e.createElement("label",{className:"labelInput"},n&&n,e.createElement(t.DebounceInput,m({debounceTimeout:a.debounce},a,{onChange:o})))};u('@charset "UTF-8";.customCheckbox{border:1px solid #ccc;border-radius:3px;cursor:pointer;display:inline-block;height:15px;position:relative;width:15px}.customCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.customCheckbox.selected:before{color:#fff;content:"✔";font-size:12px;left:1px;position:absolute;top:-1px;z-index:9}.customCheckbox.disabled{opacity:.5;pointer-events:none}');var Ut=function(t){var n=t.value,o=t.disabled,a=t.onChange;return e.createElement("div",{className:r("customCheckbox",{selected:n,disabled:o}),onClick:function(){return!o&&a(!n)}})},Gt=function(t){var o,a=t.customConfirmButton,i=t.accumulatedPurchaseBonus,l=t.discount,c=t.finalDeliveryPrice,s=t.currency,u=t.offerType,m=t.coupon,p=t.fullPrice,d=t.discounts,f=t.deliveryType,g=t.deliveryPrice,h=t.serviceFee,v=t.topupToMinimum,y=t.driverTip,x=t.hideCoupon,b=t.paymentBalance,E=t.weightAdjustmentPriceBuffer,w=t.finalPrice,O=t.setCoupon,N=t.disabledConfirm,C=t.onConfirm,k=t.customDiscount,P=t.customDiscountValue,B=t.setCustomDiscountValue,I=t.customFields,S=t.finalCharge,T=t.canceledOfferIds,_=t.toggleOffer,j=t.recalculateDiscounts,z=t.disableRecalculateDiscounts,L=t.showRecalculateDiscounts,D=t.onChangeRecalculateDiscounts,F=t.canManageDiscount,A=t.debounce,M=Zt("summary"),H=e.useState(!1),R=H[0],q=H[1],Z=function(t){var r=null==T?void 0:T.includes(t.offer_id);return e.createElement("div",{key:t.offer_id,className:"itemDiscount summaryItem"},e.createElement("span",{className:"itemName"},e.createElement("div",{className:"discount"},e.createElement("div",{className:"discountPart"},t.discount_type===exports.DISCOUNT_TYPE.bonus?M.bonus:2===t.offer_type?M.coupon:M.discount,t.offer_name&&e.createElement("div",{className:"discount-name"},t.offer_name)),!!t.coupon&&2===t.offer_type&&e.createElement(pt,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return O("")}}))),e.createElement("div",{className:"inlineValue"},t.discount_type===exports.DISCOUNT_TYPE.common&&F&&e.createElement("div",{onClick:function(){return _(t.offer_id)},className:"controlOffer"},r?M.addRemovedOffer:M.removedOffer),!r&&e.createElement("div",{className:"priceBlue price"},"-",Mt(s,t.discount))))};e.useEffect((function(){q(!!(null==m?void 0:m.length))}),[m]);return e.createElement("div",{className:"orderSummary"},e.createElement("div",{className:"summaryBody"},e.createElement("span",{className:"head"},M.summary),!!I&&I.map((function(t){return e.createElement("div",{className:"summaryItem customFields",key:t.label},e.createElement("span",{className:"label"},t.label),e.createElement("span",{className:"value"},t.value))})),e.createElement("div",{className:"summaryItem subtotal"},e.createElement("span",null,M.subtotal),e.createElement("span",{className:"price"},Mt(s,p))),!!d&&d.filter((function(e){return e.discount_target===exports.DISCOUNT_TARGET.products&&e.discount_type===exports.DISCOUNT_TYPE.common})).map(Z),f===exports.DELIVERY_TYPE.delivery&&e.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},e.createElement("span",null,g===c?M.deliveryCost:M.deliveryCostBase),e.createElement("span",{className:"price"},Mt(s,g||c))),k&&e.createElement("div",{className:"summaryItem customDiscount"},e.createElement("span",null,M.discount),e.createElement("span",{className:"price"},e.createElement("input",{type:"number",value:P,onChange:function(e){var t=e.target;return B(t.value)}}),Mt(s))),!!d&&d.filter((function(e){return e.discount_target===exports.DISCOUNT_TARGET.delivery})).map(Z),f===exports.DELIVERY_TYPE.delivery&&g!==c&&e.createElement("div",{className:"summaryItem deliveryCostFinal"},e.createElement("span",null,M.deliveryCostFinal),e.createElement("span",{className:"price"},Mt(s,c))),!!d&&d.filter((function(e){return e.discount_target===exports.DISCOUNT_TARGET.products&&e.discount_type===exports.DISCOUNT_TYPE.bonus})).map(Z),!!h&&e.createElement("div",{className:"summaryItem serviceFee"},e.createElement("span",{className:"tooltip-container tooltipServiceFee"},M.serviceFee," ",e.createElement("span",{className:"question"},"?")),e.createElement(n.Tooltip,{anchorSelect:".tooltipServiceFee"},M.serviceFeeTooltip),e.createElement("span",{className:"price"},Mt(s,h))),!!v&&e.createElement("div",{className:"summaryItem item-question minimal-order"},e.createElement("span",{className:"tooltip-container tooltipMinimumOrderCharge"},M.minimumOrderCharge," ",e.createElement("span",{className:"question"},"?")),e.createElement(n.Tooltip,{anchorSelect:".tooltipMinimumOrderCharge"},null===(o=M.minimumOrderChargeTooltip)||void 0===o?void 0:o.replace("{minimumOrderPrice}",v.toString())),e.createElement("span",{className:"price"},Mt(s,v))),!!y&&e.createElement("div",{className:"summaryItem item-question"},e.createElement("span",{className:"tooltip-container tooltipDriverTip"},e.createElement("span",null,M.driverTip),e.createElement("span",{className:"question"},"?")),e.createElement(n.Tooltip,{anchorSelect:".tooltipDriverTip"},M.driverTooltip),e.createElement("span",{className:"price"},Mt(s,y))),!!E&&e.createElement("div",{className:"summaryItem item-question weightAdjustment"},e.createElement("span",{className:"tooltip-container weight-addjustmant"},e.createElement("span",null,M.weightAdjustment),e.createElement("span",{className:"question"},"?")),e.createElement(n.Tooltip,{anchorSelect:".weight-addjustmant"},M.weightAdjustmentTooltip),e.createElement("span",{className:"price"},Mt(s,E))),!x&&d&&!d.some((function(e){return e.coupon&&2===e.offer_type}))&&e.createElement("span",{className:"promocode"},!!m.trim().length&&2!==u&&e.createElement("span",{className:"invalidCoupon"},M.invalidPromocode),R?e.createElement("span",{className:"inputArea"},e.createElement(Yt,{autoFocus:!0,value:m,onChange:function(e){return O(e.target.value)},debounce:A||1e3,placeholder:M.promocodePlachedolderInput||""}),e.createElement(pt,{size:15,onClick:function(){O(""),q(!1)},color:"var(--warning, #FE7171)"})):e.createElement("span",{onClick:function(){return q(!0)}},M.placeholderPromocode)),L&&e.createElement("div",{className:"summaryItem"},e.createElement("span",{className:r({disabled:z})},M.recalculateDiscounts),e.createElement("span",{className:"price"},e.createElement(Ut,{value:j,onChange:D,disabled:z}))),null!==b&&e.createElement("div",{className:"summaryItem"},e.createElement("span",null,M.paymentBalance),e.createElement("span",{className:"price"},Mt(s,b))),e.createElement("div",{className:"hr"}),e.createElement("div",{className:"summaryItem totalPrice"},e.createElement("span",{className:"total"},M.total),e.createElement("span",{className:"price priceBlue"},Mt(s,w)))),e.createElement(Vt,{currency:s,discount:l,accumulatedPurchaseBonus:i,finalDeliveryPrice:c}),e.createElement("div",{onClick:C,className:r("confirmButton",{disable:N})},a||"".concat(M.confirm," ").concat(S?Mt(s,S):"").trim()))};u(".checkoutFormItem .checkoutFormItemLabel{align-items:center;display:flex;font-size:22px;font-weight:600}.checkoutFormItem .checkoutFormItemLabel .change{font-size:14px}.checkoutFormItem .checkoutFormItemData{align-items:center;display:flex;font-size:18px;margin:5px 0 0}.checkoutFormItem .change{color:var(--main-color,#007aff);cursor:pointer;font-size:18px;font-weight:600;margin:0 0 0 20px}");u(".counterButton{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:grid;grid-template-columns:1fr 1fr 1fr;height:45px;justify-items:center;text-align:center}.counterButton .disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.counterButton .count{border:none;font-size:16px;height:100%;outline:none;text-align:center;width:100%}.counterButton input[type=number]{-moz-appearance:textfield}.counterButton input::-webkit-inner-spin-button,.counterButton input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}");var Qt=function(t){var n=t.count,o=t.isRemoveDisable,a=t.isAddDisable,i=t.onAdd,l=t.onRemove,c=t.onChangeQuantity;return e.createElement("div",{className:"counterButton"},e.createElement(Et,{color:"var(--main-color, #007aff)",onClick:l,className:r("control",{disable:o})}),e.createElement("input",{className:"control count",type:"number",step:1,value:n.toString(),onChange:function(e){var t=e.target,r=parseInt(t.value);c(r||0)}}),e.createElement(bt,{color:"var(--main-color, #007aff)",onClick:i,className:r("control",{disable:a})}))};u(".cutleryButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;gap:10px;height:45px;overflow:hidden;padding:0 10px}.cutleryButton .icon{margin:0 10px 0 0}.cutleryButton .counterButton .icon{height:20px;margin:0;width:20px}.cutleryButton .counterButton .count{margin:0 10px}.cutleryButton.hasItem{border:none}.cutleryButton.hasItem .counterButton{margin:0 0 0 20px}");u(".deliveryControl{align-items:center;display:flex;justify-content:flex-start}.deliveryControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);border-radius:5px;color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;margin:0 20px 0 0;padding:10px 15px}.deliveryControl .control.disable{opacity:.5;pointer-events:none}.deliveryControl .control .icon{margin:0 10px 0 0}.deliveryControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.deliveryControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.deliveryControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.deliveryControl .control .icon{height:20px;width:20px}}");u(".ingredients{align-items:center;display:flex;flex-direction:column}.ingredients .ingredient{border:1px solid #ccc;border-radius:100px;color:var(--main-color,#007aff);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;margin:0 0 10px;max-width:250px;min-width:200px;padding:10px 20px;transition:all .3s}.ingredients .ingredient:last-child{margin:0}.ingredients .ingredient:hover{opacity:.9}.ingredients .ingredient.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}");u(".quantityDescription{color:#717173;font-size:14px;margin:0 10px 5px;text-align:start;width:100%}.quantityDescription span{color:var(--main-color)}");var Wt=function(t){var r=t.free_budget,n=t.max,o=Zt("productConstructor");return(!!n||!!r)&&e.createElement("div",{className:"quantityDescription"},!!n&&o.upToOption.replace("{count}",n.toString()),!!r&&", ",!!r&&e.createElement("span",null,o.freeOptions.replace("{count}",r.toString())))},Kt=function(t){var n=t.ingredients,o=t.onSelect;return e.createElement("div",{className:"ingredients"},e.createElement(Wt,{max:n.length,free_budget:0}),n.map((function(t){return e.createElement("div",{key:t.id,onClick:(n=t.id,function(){return o(n)}),className:r("ingredient",{selected:!!t.quantity})},t.name);var n})))};u(".mediaWrapper{aspect-ratio:5/3;border-radius:var(--border-radius,5px);overflow:hidden;width:100%}.mediaWrapper img,.mediaWrapper video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.videoControl{height:100%;position:relative;width:100%}.videoControl .videoControls{left:10px;position:absolute;top:10px;z-index:1}.videoControl .videoControls .control{background:#fff;border-radius:100px;cursor:pointer;margin:0 5px 0 0;padding:3px}");var Xt={fill:i.fill,pad:i.pad,fit:i.fit,mfit:i.minimumFit,scale:i.scale,limit:i.limitFit,lpad:i.limitPad,mpad:i.minimumPad,crop:i.crop,fill_pad:i.fillPad,thumb:i.thumbnail},$t=function(t){var r=t.src,n=t.alt,i=t.width,l=t.height,c=t.quality,s=t.gravity,u=t.crop,m=t.id,p=r[0],d=r.slice(3).join("/").split(/\.(?=[^.]*$)/)[0],f=new o.Cloudinary({cloud:{cloudName:p}}).image(d),g=Xt[u]().width(i).height(l);return g&&g.gravity?f.resize(g.gravity(s)):f.resize(g),f.quality(c),e.createElement(a.AdvancedImage,{id:m,cldImg:f,alt:n})},Jt=function(t){var r=t.autoPlay,n=t.onStart,o=t.id,a=t.src,i=t.onEnd,l=t.controls,c=e.useState({playing:!1,muted:!1}),s=c[0],u=c[1],p=e.useRef(),d=function(){p.current.paused?(p.current.play(),u((function(e){return m(m({},e),{playing:!0})}))):(p.current.pause(),u((function(e){return m(m({},e),{playing:!1})})))},f=function(){p.current.muted=!p.current.muted,u((function(e){return m(m({},e),{muted:p.current.muted})}))};return e.createElement("div",{className:"videoControl"},l&&e.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!s.playing&&e.createElement(ht,{color:"var(--main-color)",className:"control",onClick:d}),s.playing&&e.createElement(vt,{color:"var(--main-color)",className:"control",onClick:d}),s.muted&&e.createElement(yt,{color:"var(--main-color)",className:"control",onClick:f}),!s.muted&&e.createElement(xt,{color:"var(--main-color)",className:"control",onClick:f})),e.createElement(er,{autoPlay:r,src:a,onPlay:function(){n&&n(),u((function(e){return m(m({},e),{playing:!0})}))},onEnded:function(){i&&i()},videoRef:p,id:o}))},er=function(t){var r=t.videoRef,n=t.src,o=t.id,a=t.onPlay,i=t.onEnded,l=t.autoPlay;return e.createElement("video",{ref:r,src:n,id:o,onPlay:function(){a&&a()},autoPlay:l,onEnded:function(){i&&i()}})},tr=function(t){var r=t.src,n=t.settings,o=t.alt,a=t.id,i=p(t,["src","settings","alt","id"]),l=e.useRef(null),c=e.useState({width:0,height:0}),s=c[0],u=c[1],d=r.includes("/image/"),f=r.includes("/video/"),g=r.replace("https://res.cloudinary.com/","").split("/");e.useEffect((function(){s.width!==l.current.offsetWidth&&s.height!==l.current.offsetHeight&&u({width:l.current.offsetWidth||0,height:l.current.offsetHeight||0})}));var h=function(){return n?n.quality_mode===exports.QUALITY_MODE.custom?n.quality.toString():n.quality_mode===exports.QUALITY_MODE.eco?"auto:".concat(At(exports.QUALITY_MODE,exports.QUALITY_MODE.eco)):"auto:".concat(At(exports.QUALITY_MODE,n.quality_mode)):"90"};return e.createElement("div",{ref:l,className:"mediaWrapper"},d&&e.createElement($t,m({},i,{height:s.height?s.height:250,width:s.width?s.width:400,quality:h(),gravity:At(exports.GRAVITY_MODE,(null==n?void 0:n.gravity_mode)||0),crop:At(exports.CROP_MODE,(null==n?void 0:n.crop_mode)||0),src:g,alt:o,id:a})),f&&e.createElement(Jt,m({},i,{height:s.height?s.height:250,width:s.width?s.width:400,quality:h(),gravity:At(exports.GRAVITY_MODE,(null==n?void 0:n.gravity_mode)||0),crop:At(exports.CROP_MODE,(null==n?void 0:n.crop_mode)||0),id:a,src:r})))};u(".productConstructor .content{margin:0 0 20px}.productConstructor .productTag{background:var(--product-tag,#ffb000);border-radius:0 0 var(--border-radius) var(--border-radius);color:#fff;font-size:14px;font-weight:500;left:20px;padding:3px 5px;position:absolute}.productConstructor .warning{border-color:var(--main-color);color:var(--main-color)}.productConstructor .warning .icon{stroke:var(--main-color)!important}.productConstructor .steps .step{height:11px!important;width:11px!important}.productConstructor .headProduct{align-items:center;display:flex;justify-content:space-between;padding:20px 20px 10px}.productConstructor .headProduct .name{font-size:24px;font-weight:600}.productConstructor .headProduct .priceControl{align-items:center;display:flex;font-size:16px}.productConstructor .headProduct .priceControl .oldPrice{margin:0 5px;text-decoration:line-through}.productConstructor .headProduct .priceControl .price{color:var(--main-color,#007aff)}.productConstructor .description{color:#747474;font-size:16px;font-weight:400;padding:0 20px}.productConstructor .stepper{padding:0 20px}.productConstructor .stepper .productCommentSection,.productConstructor .stepper .productSummary{text-align:left}.productConstructor .footerControls{bottom:0;margin:20px 0 0;position:sticky}");u(".footerControls{align-items:center;background:#fff;border-top:1px solid #ccc;display:flex;justify-content:center;padding:20px}.footerControls.summary{display:grid;gap:10px;grid-template-columns:2fr 3fr}.footerControls.summary .addLabel{align-items:center;display:flex}.footerControls.summary .addLabel .icon{margin:0 5px}.footerControls.summary .button.major{align-items:center;display:flex;justify-content:space-around;margin:0;width:100%}.footerControls .button{align-items:center;border:1px solid var(--main-color);border-radius:var(--border-radius,5px);color:var(--main-color);cursor:pointer;display:flex;height:45px;justify-content:center;transition:all .3s;width:40%}.footerControls .button:hover{opacity:.9}.footerControls .button.major{background:var(--main-color,#007aff);color:#fff;margin:0 0 0 10px}.footerControls .button.disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (max-width:600px){.footerControls .button,.footerControls .counterButton{font-size:14px;height:35px}.footerControls .button svg,.footerControls .counterButton svg{height:20px;width:20px}}");u('.lds-dual-ring{display:inline-block;height:30px;width:30px}.lds-dual-ring:after{-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite;border-color:#fff transparent;border-radius:50%;border-style:solid;border-width:4px;content:" ";display:block;height:18px;margin:4px;width:18px}@-webkit-keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}');var rr=function(){return e.createElement("div",{className:"lds-dual-ring"})},nr=function(t){var n=t.isSummary,o=t.isLoading,a=t.isDisableNext,i=t.isDisablePrev,l=t.amount,c=t.currency,s=t.onPrev,u=t.onNext,m=t.count,p=t.isAddDisable,d=t.isRemoveDisable,f=t.onAdd,g=t.onRemove,h=t.onAddToCart,v=t.onChangeQuantity,y=Zt("productConstructor");return e.createElement("div",{className:r("footerControls",{summary:n})},n?e.createElement(e.Fragment,null,e.createElement(Qt,{count:m,isRemoveDisable:d||o,isAddDisable:p||o,onAdd:f,onRemove:g,onChangeQuantity:v}),e.createElement("div",{onClick:h,className:r("button major",{disable:o})},o?e.createElement(rr,null):e.createElement(e.Fragment,null,e.createElement("div",{className:"addLabel"},e.createElement(st,{color:"#fff",size:"small"}),y.addToCart),e.createElement("div",null,Mt(c,l))))):e.createElement(e.Fragment,null,e.createElement("div",{onClick:s,className:r("button",{disable:i||o})},y.back),e.createElement("div",{onClick:u,className:r("button major",{disable:a||o})},o?e.createElement(rr,null):e.createElement(e.Fragment,null,y.next," ",Mt(c,l)))))};u(".stepper{text-align:center}.stepper .stepperHeader{font-size:20px;font-weight:600}.stepper .steps{align-items:center;display:flex;justify-content:center;margin:10px 0}.stepper .steps .step{border:1px solid #ccc;border-radius:100px;height:14px;transition:all .3s;width:14px}.stepper .steps .step.active{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.stepper .steps .line{background:#ccc;height:1px;width:28px}");var or=function(t){var n=t.steps,o=t.currentStep,a=n[o].component,i=n[o].name;return e.createElement("div",{className:"stepper"},e.createElement("div",{className:"stepperHeader"},i),e.createElement("div",{className:"steps"},Array(n.length).fill(0).map((function(t,a){return e.createElement(e.Fragment,{key:a},e.createElement("div",{className:r("step",{active:a===o})}),a!==n.length-1&&e.createElement("div",{className:"line"}))}))),a)};u(".suboptionMultiSelector .suboption{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.suboptionMultiSelector .suboption .suboptionName{text-align:left}.suboptionMultiSelector .suboption .suboptionName.selected{color:var(--main-color,#007aff)}.suboptionMultiSelector .suboption .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}.suboptionMultiSelector .suboption .counterSection{align-items:center;display:flex}.suboptionMultiSelector .suboption .counterButton{height:35px;margin:0 0 0 10px;width:150px}.suboptionMultiSelector .suboption .counterButton svg{height:15px;width:15px}");var ar,ir=function(t){var r=t.free,n=t.amount,o=t.currency,a=t.freeLabel;return r?e.createElement("span",{className:"suboptionPrice"},a):n?e.createElement("span",{className:"suboptionPrice"},"+",Mt(o,n)):e.createElement("span",{className:"suboptionPrice"})},lr={0:e.createElement(zt,{size:20,color:"var(--main-color)"}),1:e.createElement(_t,{size:20,color:"var(--main-color)"}),2:e.createElement(jt,{size:20,color:"var(--main-color)"})},cr="#INGREDIENTS",sr="#HALF_SELECTOR",ur="#HALF_SELECTOR_HALF";exports.HALF_OPTION=void 0,(ar=exports.HALF_OPTION||(exports.HALF_OPTION={}))[ar.none=0]="none",ar[ar.left=1]="left",ar[ar.right=2]="right";var mr=function(t,r,n,o,a,i){var l,c=[],s=0;if(null==a?void 0:a.unit_weight){var u=parseInt((a.unit_weight*a.weight_range*a.quantity).toString()),m="".concat(i.weightAdditionalPayment.replace("{payment}",Mt(a.currency,a.amountDiff))),p="";p=(null==a?void 0:a.weighed)?"".concat(i.weightProductAcceptable,", +/-").concat(u," ").concat(i.gr):"".concat(a.unit_weight," ").concat(i.gr),c.push({weightProduct:!0,name:a.weighed?i.portionSizeLabelWeighed:i.portionSizeLabel,index:null,value:p,tooltip:(null==a?void 0:a.weighed)?m:null})}if((null===(l=null==t?void 0:t.suboptions)||void 0===l?void 0:l.length)&&c.push({name:i.ingredients,value:fr(t.suboptions),index:s++}),r.forEach((function(t){var r,n;c.push({name:t.name,value:(r=t.suboptions,n=r.filter((function(e){return e.quantity})),e.createElement("div",null,!!n.length&&n.map((function(t,r){return e.createElement("div",{key:"".concat(r,"-").concat(t.id),className:"summarySuboption"},e.createElement("span",null,t.name),(t.halfOption||0===t.halfOption)&&lr[t.halfOption])})),!n.length&&"-")),index:s++})})),n.length){var d=n.some((function(e){return e.half===exports.HALF_OPTION.right}));c.push({name:i.toppings,value:d?i.half:i.full,index:s++})}return n.forEach((function(e){c.push({name:e.name,value:pr(e.suboptions),index:s++})})),o&&c.push({name:i.comments,value:o,index:s++}),c},pr=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},dr=function(e,t){return e.name+(e.half===exports.HALF_OPTION.right?t.right:"")+(e.half===exports.HALF_OPTION.left?t.left:"")},fr=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},gr=function(e,t){if(!e.respectTo)return!0;var r=t.flatMap((function(e){return e.suboptions})).find((function(t){return t.id===e.respectTo}));return!(!r||!r.quantity)},hr=function(e,t){return e>0?t.quantity?t.fullPrice||t.full_price?{free:!1,amount:t.fullPrice||t.full_price}:{free:!0,amount:null}:{free:!1,amount:null}:t.price>0?{free:!1,amount:t.price}:{free:!1,amount:null}},vr=function(t){var n=t.suboptions,o=t.onChangeQuantity,a=t.currency,i=t.limitByMax,l=t.freeLabel,c=t.max,s=t.freeBudget,u=function(e,t){return function(){return o(e,t)}},m=function(e){var t;return!!i&&(null!==(t=e.quantity)&&void 0!==t?t:0)===e.max};return e.createElement("div",{className:"suboptionMultiSelector"},e.createElement(Wt,{max:c,free_budget:s}),n.map((function(t){return e.createElement("div",{className:"suboption",key:t.id},e.createElement("span",{className:r("suboptionName",{selected:!!t.quantity})},t.name,t.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:" "+t.description}})),e.createElement("div",{className:"counterSection"},e.createElement(ir,{free:hr(s,t).free,amount:hr(s,t).amount,currency:a,freeLabel:l}),e.createElement(Qt,{count:t.quantity||0,isAddDisable:m(t),isRemoveDisable:!t.quantity,onAdd:u(t.id,(t.quantity||0)+1),onRemove:u(t.id,(t.quantity||0)-1),onChangeQuantity:function(e){return u(t.id,e)()}})))})))};u('.extrasRadio{align-items:center;display:flex;flex-direction:column}.extrasRadio .extra{border:1px solid #ccc;border-radius:100px;cursor:pointer;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:7px 10px;transition:all .3s}.extrasRadio .extra,.extrasRadio .extra .extraName{align-items:center;display:flex}.extrasRadio .extra .extraName:before{border:1px solid #ccc;border-radius:100px;box-sizing:border-box;content:"";display:block;flex:1 0 24px;height:24px;margin:0 10px 0 0;transition:all .1s;width:24px}.extrasRadio .extra .extraName .extraDescription{color:#ccc;font-size:13px;margin:0 3px}.extrasRadio .extra:last-child{margin:0}.extrasRadio .extra:hover{opacity:.9}.extrasRadio .extra:hover .extraName:before{border:3px solid var(--main-color,#007aff)}.extrasRadio .extra.selected .extraName:before{border:7px solid var(--main-color,#007aff);box-sizing:border-box}');var yr=function(t){var n=t.max,o=t.freeLabel,a=t.ingredients,i=t.onSelect,l=t.currency,c=t.freeBudget;return e.createElement("div",{className:"extrasRadio"},e.createElement(Wt,{max:n,free_budget:c}),a.map((function(t){return e.createElement("div",{key:t.id,onClick:(n=t.id,a=t.quantity||1,function(){return i(n,a)}),className:r("extra",{selected:!!t.quantity})},e.createElement("span",{className:"extraName"},t.name,t.description&&e.createElement("span",{className:"extraDescription",dangerouslySetInnerHTML:{__html:" "+t.description}})),e.createElement(ir,{freeLabel:o,free:hr(c,t).free,amount:hr(c,t).amount,currency:l}));var n,a})))};u(".warning{align-items:center;background:#fff;border:2px solid var(--warning,#fe7171);border-left:none;border-right:none;color:var(--warning,#fe7171);display:flex;font-size:16px;font-weight:600;padding:10px 20px;position:sticky;top:0;z-index:1}.warning .icon{margin:0 10px 0 0}");var xr=function(t){var r=t.message;return e.createElement("div",{className:"warning"},e.createElement(wt,{size:"small",color:"var(--warning, #fe7171)"})," ",r)};u(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var br=function(t){var r=t.name,n=t.comment,o=t.onCommentChange,a=t.onNameChange,i=Zt("productConstructor");return e.createElement("div",{className:"productCommentSection"},e.createElement("span",{className:"inputName"},i.addName),e.createElement(Yt,{onChange:function(e){var t;a(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addNamePlaceholder,value:r}),e.createElement("span",{className:"inputName"},i.addComment),e.createElement(Yt,{onChange:function(e){var t;o(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addCommentPlaceholder,value:n}))};u(".productSummary .line{color:#0e1328;display:grid;font-size:14px;gap:10px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .weightButton{color:#747474}.productSummary .line .name.weightName{color:var(--main-color,#007aff);display:flex;gap:10px}.productSummary .line .button{align-items:center;background:var(--main-color);border-radius:var(--border-radius,5px);color:var(--typography-on-main,#fff);cursor:pointer;display:flex;font-size:14px;height:30px;justify-content:center;transition:all .3s}.productSummary .line .button:hover{opacity:.9}.productSummary .line .value{color:#747474;white-space:break-spaces}.productSummary .line .value .summarySuboption{display:flex;gap:5px;justify-content:space-between;margin-bottom:5px}.productSummary .line .value .summarySuboption .icon{flex-shrink:0}.productSummary .line .value.weighed{align-items:center;display:flex;gap:10px;grid-column:2/4;min-height:30px}");var Er=function(t){var o=t.summary,a=t.onClickChange,i=Zt("productConstructor");return e.createElement("div",{className:"productSummary"},o.map((function(t){return e.createElement("div",{className:"line",key:t.name+t.index},e.createElement("div",{className:r("name",{weightName:t.weightProduct})},t.name,t.weightProduct&&e.createElement(It,{size:16,color:"var(--main-color, #007aff)"})),e.createElement("div",{className:r("value",{weighed:t.weightProduct})},t.value,t.tooltip&&e.createElement(e.Fragment,null,e.createElement(St,{className:"importantWeight",size:20}),e.createElement(n.Tooltip,{className:"custom-class-tooltip",anchorSelect:".importantWeight"},t.tooltip))),!t.weightProduct&&e.createElement("div",{onClick:function(){return a(t.index)},className:"button"},i.change))})))};u(".suboptionsCheckbox{align-items:center;display:flex;flex-direction:column}.suboptionsCheckbox .suboptionCheckbox{align-items:center;border:1px solid #ccc;border-radius:100px;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:10px 20px;transition:all .3s}.suboptionsCheckbox .suboptionCheckbox:last-child{margin:0}.suboptionsCheckbox .suboptionCheckbox:hover{opacity:.9}.suboptionsCheckbox .suboptionCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}.suboptionsCheckbox .suboptionCheckbox .suboptionName{margin:0 5px 0 0}.suboptionsCheckbox .suboptionCheckbox .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}");var wr=function(t){var n=t.suboptions,o=t.max,a=t.onSelect,i=t.currency,l=t.freeBudget,c=t.freeLabel;return e.createElement("div",{className:"suboptionsCheckbox"},e.createElement(Wt,{max:o,free_budget:l}),n.map((function(t){return e.createElement("div",{key:t.id,onClick:(n=t.id,o=t.quantity?0:1,function(){return a(n,o)}),className:r("suboptionCheckbox",{selected:!!t.quantity})},e.createElement("span",{className:"suboptionName"},t.name,t.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:" "+t.description}})),e.createElement(ir,{free:hr(l,t).free,amount:hr(l,t).amount,currency:i,freeLabel:c}));var n,o})))};u(".suboptionPizzaSelector{width:100%}.suboptionPizzaSelector .pizzaOption{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:10px}.suboptionPizzaSelector .pizzaOption .halfOptions{align-items:center;display:flex;gap:10px}.suboptionPizzaSelector .pizzaOption .pizzaOptionName{align-items:flex-start;display:flex;flex-direction:column}.suboptionPizzaSelector .pizzaOption .pizzaOptionDescription{color:#747474}");var Or=function(t){var r=t.currency,n=t.max,o=t.freeBudget,a=t.suboptions,i=t.onChangeOption,l=function(e,t){var r=e===t.halfOption?0:1;i(t.id,r,m(m({},t),{halfOption:e===t.halfOption?null:e}))};return e.createElement("div",{className:"suboptionPizzaSelector"},e.createElement(Wt,{max:n,free_budget:o}),a.map((function(t){return e.createElement("div",{key:t.id,className:"pizzaOption"},e.createElement("div",{className:"pizzaOptionName"},e.createElement("span",null,t.name),!!t.description&&e.createElement("div",{className:"pizzaOptionDescription",dangerouslySetInnerHTML:{__html:t.description}})),e.createElement("div",{className:"halfOptions"},!!t.price&&e.createElement("span",null,t.price," ",Mt(r)),e.createElement(zt,{onClick:function(){return l(exports.HALF_OPTION.none,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.none?"var(--main-color)":"#747474"}),e.createElement(jt,{onClick:function(){return l(exports.HALF_OPTION.right,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.right?"var(--main-color)":"#747474"}),e.createElement(_t,{onClick:function(){return l(exports.HALF_OPTION.left,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.left?"var(--main-color)":"#747474"})))})))};u(".productPreview{cursor:pointer;display:grid;gap:10px;grid-template-columns:300px 1fr}.productPreview .productReviewBody{display:flex;flex-direction:column;justify-content:space-between}.productPreview .productReviewBody .title{color:#1a1d1b;font-size:20px;font-weight:500;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .title .weightBlock{color:var(--main-color,#007aff);margin:0 10px}.productPreview .productReviewBody .header{align-items:center;display:flex}.productPreview .productReviewBody .description{color:#747474;font-size:16px;font-weight:400;height:125px;overflow:hidden}.productPreview .productReviewFooter{align-items:center;display:flex;justify-content:space-between}.productPreview .productReviewFooter .priceBlock{align-items:center;display:flex;font-size:16px;font-weight:600}.productPreview .productReviewFooter .priceBlock .oldPrice{margin:0 5px}.productPreview .productReviewFooter .priceBlock .currentPrice{color:#007aff}.productPreview .productReviewFooter .priceBlock .newPrice{color:#fe7171}@media (max-width:800px){.productPreview{grid-template-columns:250px 1fr}.productPreview .productReviewBody .description{height:100px}}@media (max-width:650px){.productPreview{grid-template-columns:200px 1fr}.productPreview .tagLabel{display:none}.productPreview .productReviewBody .description{height:65px}}@media (max-width:500px){.productPreview{grid-template-columns:150px 1fr}.productPreview .productReviewBody .description{height:40px}}@media (max-width:400px){.productPreview{grid-template-columns:100px 1fr}.productPreview .productReviewBody .description{height:40px}}");u(".productTags{align-items:center;display:flex;gap:5px}.productTags .additionsNew{background:#016a2b}.productTags .additionVegetarian{background:#9cc653}.productTags .additionVegan{background:#688437}.productTags .additionSpicy{background:#c8313e}.productTags .additionNoGluten{background:#ff7426}");u(".tag{align-items:center;background:#000;border-radius:100px;color:#fff;display:flex;font-size:12px;font-weight:500;gap:5px;height:20px;padding:3px 13px}.tag .icon{fill:#fff;height:15px;width:15px}");var Nr=function(t){var r=t.className,n=void 0===r?"":r,o=t.label,a=t.icon;return e.createElement("div",{className:"tag "+n||""},e.createElement("span",{className:"tagLabel"},o),a)},Cr=function(t){var r=t.vegan,n=t.vegetarian,o=t.isNew,a=t.spicy,i=t.glutenFree,l=Zt("tag"),c=function(){return o?e.createElement(Nr,{label:"new",className:"additionItem",icon:e.createElement(nt,null)}):null},s=function(){return r?e.createElement(Nr,{label:l.vegan,className:"additionVegan",icon:e.createElement(e.Fragment,null,e.createElement(at,null),e.createElement(at,null))}):n?e.createElement(Nr,{label:l.vegetarian,className:"additionVegetarian",icon:e.createElement(at,null)}):null},u=function(){return a?e.createElement(Nr,{label:l.spicy,className:"additionSpicy",icon:e.createElement(e.Fragment,null,Array(a).fill(0).map((function(t,r){return e.createElement(it,{key:r})})))}):null},m=function(){return i?e.createElement(Nr,{label:l.glutenFree,className:"additionNoGluten",icon:e.createElement(lt,null)}):null};return c()||s()||u()||m()?e.createElement("div",{className:"productTags"},c(),s(),u(),m()):null},kr=function(t){var n=t.id,o=t.currency,a=t.name,i=t.description,l=t.price,c=t.oldPrice,s=t.image,u=t.trashIcon,m=void 0!==u&&u,p=t.onClickTrash,d=t.onClick,f=t.vegetarian,g=t.vegan,h=t.isNew,v=t.spicy,y=t.glutenFree,x=t.quantity,b=t.weight,E=Zt("productConstructor");return e.createElement("div",{className:"productPreview",onClick:function(){null==d||d(n)}},e.createElement(tr,{src:s.src,alt:s.alt,settings:s.settings}),e.createElement("div",{className:"productReviewBody"},e.createElement("div",{className:"productReviewHead"},e.createElement("div",{className:"header"},e.createElement("div",{className:"title"},a,b>0&&e.createElement("span",{className:"weightBlock"},e.createElement(It,{size:16,color:"var(--main-color, #007aff)"})," ",b," ",e.createElement("span",null,E.gr))),m&&e.createElement(rt,{onClick:function(e){e.stopPropagation(),null==p||p(n)},width:20,height:20})),e.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:i}})),e.createElement("div",{className:"productReviewFooter"},e.createElement("div",{className:"options"},e.createElement(Cr,{isNew:h,spicy:v,vegan:g,glutenFree:y,vegetarian:f})),e.createElement("div",{className:"priceBlock"},!!c&&e.createElement("div",{className:r("oldPrice",{lineThrough:!x})},Mt(o,c)),!!x&&e.createElement("span",{className:"quantity"}," x",x," "),!!l&&e.createElement("div",{className:r("currentPrice",{newPrice:!!c&&!x})},Mt(o,l))))))};u(".productPreviewList .category .categoryName{color:#0e1328;font-size:24px;font-weight:600;margin:30px 0 20px}.productPreviewList .category .productPreview{border-bottom:1px solid #ccc;padding:16px 0}");u(".restaurantHeader .restaurantHeaderTop{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName{align-items:center;color:#007aff;display:flex;font-size:32px;font-weight:700}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName .icon{margin:0 0 0 12px}.restaurantHeader .restaurantHeaderTop .topLeft{align-items:center;display:flex}.restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 0 0 10px}.restaurantHeader .restaurantHeaderBottom{align-items:center;display:flex;justify-content:space-between}.restaurantHeader .restaurantHeaderBottom .bottomRight{align-items:center;display:flex;gap:10px}.rtl .restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 10px 0 0}.rtl .restaurantHeader .restaurantHeaderName icon{margin:0 12px 0 0}");u(".restaurantTags{align-items:center;display:flex;gap:10px}.restaurantTags .restaurantTagNew{background:#007aff;color:#fff}.restaurantTags .restaurantTagScore{background:#fff;border:1px solid #007aff;color:#007aff}.restaurantTags .restaurantTagScore .icon{fill:#007aff!important}.restaurantTags .restaurantTagKosher{background:#000;color:#fff}");var Pr=function(t){var r=t.score,n=t.isNew,o=t.kosher;return e.createElement("div",{className:"restaurantTags"},!!n&&e.createElement(Nr,{label:"new",className:"restaurantTagNew"}),!!r&&r>0&&e.createElement(Nr,{label:r.toFixed(1),className:"restaurantTagScore",icon:e.createElement(nt,null)}),!!o&&e.createElement(Nr,{label:"kosher",className:"restaurantTagKosher"}))};u(".headerCartButton{align-items:center;background:var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:#fff;cursor:pointer;display:flex;height:45px;justify-content:space-between;padding:0 20px}.headerCartButton .icon{fill:#fff;margin:0 10px 0 0}.headerCartButton .label{margin:0 50px 0 0}.rtl .headerCartButton .icon{margin:0 0 0 10px}.rtl .headerCartButton .label{margin:0 0 0 50px}");var Br=function(t){var r=t.currency,n=t.amount,o=t.onClick;return e.createElement("div",{className:"headerCartButton",onClick:o},e.createElement(st,{className:"icon"}),e.createElement("span",{className:"label"},"Checkout"),e.createElement("span",{className:"price"},Mt(r,n)))};u(".footer{justify-content:flex-start!important;width:100%}.footer .icon{height:20px;width:20px}@media (max-width:600px){.footer{height:30px!important}.footer .footer{padding:0!important}}.footer .footer{padding:0}.footer .footer-item{align-items:center;color:#747474;display:flex!important;font-size:14px;margin:0 13px 0 0;white-space:nowrap}.footer .footer-item:nth-last-child(2){margin:0!important}.footer .footer-item .icon,.footer .footer-item .title{margin-right:4px}@media (max-width:500px){.footer .footer-item{margin:0 5px 0 0}.footer .footer-item .title{display:none}}@media (min-width:1600px){.footer .footer-item{font-size:12px!important}}@media (max-width:600px){.footer .footer-item{font-size:12px}.footer .footer-item .icon{display:none!important}}.footer .footer-item.delivery-price .freeDelivery{align-items:center;background:var(--main-color);border-radius:100px;color:#fff;display:flex;justify-content:center;padding:3px 7px}.footer .footer-item.delivery-price .freeDelivery .icon{margin:0}@media (max-width:800px){.footer .footer-item.delivery-price span{display:none}}.footer .footer-item .clock,.footer .footer-item .marker,.footer .footer-item .scooterDelivery{background-color:#9d9d9d;height:24px;-webkit-transform:translate(0);transform:translate(0);width:24px}.rtl .footer .footer-item,.rtl .footer .footer-item:nth-last-child(2){margin:0 13px 0 0!important}.rtl .footer .footer-item:first-child{margin:0!important}.rtl .footer .footer-item .icon,.rtl .footer .footer-item .title{margin-left:4px;margin-right:0}");var Ir=function(t){var n=t.dontHide,o=t.minimum,a=t.isPickUp,i=t.withTitle,c=t.estimationRangeMax,s=t.estimationRangeMin,u=t.estimationTime,m=t.distance,p=t.deliveryPrice,d=t.currency,f=t.deliveryToLocation,g=e.useState([]),h=g[0],v=g[1];return e.useEffect((function(){var t=[];o&&t.push(e.createElement("div",{className:r("footer-item mini-order")},e.createElement(st,null),i&&e.createElement("span",{className:r("title")},"Min order"),Mt(d,o))),m&&!a&&t.push(e.createElement("span",{className:r("footer-item")},e.createElement(dt,null),i&&e.createElement("div",{className:r("title")},"Distance"),"distanceKm ",m)),(c||s)&&t.push(e.createElement("div",{className:r("time footer-item")},a?e.createElement(mt,null):e.createElement(ft,null),i&&e.createElement("div",{className:r("title")},a?"Pickup time":"Delivery time"),s,"-",c," min")),!a&&f&&t.push(e.createElement("div",{className:r("footer-item delivery-price")},e.createElement(ut,null),i&&e.createElement("span",{className:r("title")},"deliveryPrice"),p?Mt(d,p):e.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",e.createElement(gt,null)," "))),0===c&&0===s&&u&&t.push(e.createElement("div",{className:r("time footer-item")},a?e.createElement(ft,null):e.createElement(mt,null),"up_to ",u," min")),v(t)}),[o,a,c,s,u,m,p,d,f]),e.createElement(l.OverflowList,{className:"footer benefitsData",minVisibleItems:n?h.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:h})};u(".giftControl .giftControlButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;margin:0 0 15px;padding:0 10px}.giftControl .giftControlButton .icon{margin:0 10px 0 0}.giftControl .giftControlButton.selected{background:var(--main-color,#007aff);border-color:#fff;color:#fff}.giftControl .giftControlForm .formItem{display:flex;flex-direction:column;margin:0 0 15px}.giftControl .giftControlForm .formItem:last-child{margin:0}.giftControl .giftControlForm .formItem .formItemHeader{display:inline-block;margin:0 0 5px}.giftControl .giftControlForm .formItem textarea{background:#f8f8f8;border:none;border-radius:var(--border-radius,5px);height:100px;padding:5px 15px;resize:none}.giftControl .giftControlForm .formItem textarea:focus{outline:none}");u(".summaryBlock{align-self:start;background:#f8f8f8;border-radius:var(--border-radius,10px)}.summaryBlock .headerContent{display:inline-block;font-size:24px;font-weight:600;margin:0!important;padding:25px 25px 0}.summaryBlock .products{padding:20px 25px}.summaryBlock .products .product{border-bottom:1px solid #cfd1d4;cursor:pointer;display:flex;flex-direction:column;font-size:16px;font-weight:600;gap:10px;justify-content:space-between;margin:0 0 15px;padding:0 0 15px}.summaryBlock .products .product:last-child{margin:0}.summaryBlock .products .product .productBottom,.summaryBlock .products .product .productTop{display:flex;gap:10px}.summaryBlock .products .product .productTop{align-items:center}.summaryBlock .products .product .productTop .price{margin:0 0 0 auto}.summaryBlock .products .product .productTop .mediaWrapper{border-radius:5px;flex-shrink:0;width:55px}.summaryBlock .products .product .productName{align-items:center;display:flex}.summaryBlock .products .product .productName .icon{margin:0 5px}.summaryBlock .products .product .productDescription,.summaryBlock .products .product .quantityAndPrice{color:#747474}.summaryBlock .products .product .productDescription{font-weight:400}.summaryBlock .products .product .productBottom{align-items:center;justify-content:space-between}.summaryBlock .products .product .productBottom .icon{fill:#747474!important}.summaryBlock .products .product .productBottom .counterButton{border-color:#747474;border-radius:100px;flex-shrink:0;height:26px;width:100px}.summaryBlock .products .product .productBottom .counterButton .icon{fill:#747474!important;height:15px;width:15px}.summaryBlock .products .product .productBottom .counterButton input{background:none;color:#747474}.summaryBlock .products .product .totalLabel{color:#747474;font-weight:500}.summaryBlock .products .product .price{align-items:center;display:flex;gap:20px}.summaryBlock .summaryBody{padding-top:0!important}.summaryBlock .summaryBody .head{display:none!important}");u(".tabsControl{align-items:center;display:flex;justify-content:flex-start}.tabsControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;padding:10px 15px}.tabsControl .control:first-child{border-radius:10px 0 0 10px}.tabsControl .control:last-child{border-radius:0 10px 10px 0}.tabsControl .control.disable{opacity:.5;pointer-events:none}.tabsControl .control .icon{margin:0 10px 0 0}.tabsControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.tabsControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.tabsControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.tabsControl .control .icon{height:20px;width:20px}}");exports.BagesPaymentsOrderSummary=Vt,exports.Checkbox=Ut,exports.CheckoutFormItem=function(t){var r=t.label,n=t.data,o=t.changeInLabel,a=void 0!==o&&o,i=t.hideChange,l=void 0!==i&&i,c=t.onChangeClick,s=Zt("checkoutFormItem"),u=Array.isArray(n);return e.createElement("div",{className:"checkoutFormItem"},e.createElement("div",{className:"checkoutFormItemLabel"},r,a&&!l&&e.createElement("span",{className:"change",onClick:c},s.change)),e.createElement("div",{className:"checkoutFormItemData"},u&&e.createElement("div",{className:"arrayData"},n.map((function(t,r){return e.createElement("div",{key:r,className:"checkoutFormItemDataItem"},t)}))),!u&&e.createElement("div",{className:"checkoutFormItemDataItem"},n),!a&&!l&&e.createElement("span",{className:"change",onClick:c},s.change)))},exports.CounterButton=Qt,exports.CutleryButton=function(t){var n=t.cutlery,o=t.onAdd,a=t.onRemove,i=Zt("cutlery");return e.createElement("div",{onClick:function(){0===n&&o(1)},className:r("cutleryButton",{hasItem:!!n})},!n&&e.createElement(e.Fragment,null,e.createElement(Pt,{color:"var(--main-color, #007AFF)",size:20})," ",i.addCutlery),!!n&&e.createElement(e.Fragment,null,e.createElement(Pt,{size:20,color:"var(--main-color, #007AFF)"}),i.cutlery,e.createElement(Qt,{count:n,isAddDisable:!1,isRemoveDisable:!1,onAdd:function(){return o(n+1)},onRemove:function(){return a(n-1)},onChangeQuantity:function(e){o(e<=0?0:e)}})))},exports.DeliveryControl=function(t){var n=t.type,o=t.onChange,a=t.disableDelivery,i=t.disableDinein,l=t.showDinein,c=t.disableTakeAway,s=t.showVirtualVenue,u=t.disableVirtualVenue,m=Zt("deliveryControl");return e.createElement("div",{className:"deliveryControl"},e.createElement("div",{className:r("control",{selected:exports.DELIVERY_TYPE.takeAway===n,disable:c}),onClick:function(){return o(exports.DELIVERY_TYPE.takeAway)}},e.createElement(ft,{size:30,color:n===exports.DELIVERY_TYPE.takeAway?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,m.pickUp)),l&&e.createElement("div",{className:r("control",{selected:exports.DELIVERY_TYPE.dinein===n,disable:i}),onClick:function(){return o(exports.DELIVERY_TYPE.dinein)}},e.createElement(Tt,{size:30,color:n===exports.DELIVERY_TYPE.dinein?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,m.dinein)),s&&e.createElement("div",{className:r("control",{selected:exports.DELIVERY_TYPE.virtualVenue===n,disable:u}),onClick:function(){return o(exports.DELIVERY_TYPE.virtualVenue)}},e.createElement(Lt,{size:30,color:n===exports.DELIVERY_TYPE.virtualVenue?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,m.virtualVenue)),e.createElement("div",{className:r("control",{selected:exports.DELIVERY_TYPE.delivery===n,disable:a}),onClick:function(){return o(exports.DELIVERY_TYPE.delivery)}},e.createElement(Ft,{size:30,color:n===exports.DELIVERY_TYPE.delivery?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,m.delivery)))},exports.GiftControl=function(t){var n=t.isGift,o=t.onChange,a=t.name,i=t.phone,l=t.greeting,c=t.isReadonly,s=t.onToggleGift,u=Zt("gift"),m=function(e,t){var r;o(((r={name:a,phone:i,greeting:l})[e]=t,r))};return e.createElement("div",{className:"giftControl"},e.createElement("div",{className:r("giftControlButton",{selected:n}),onClick:function(){return!c&&s()}},e.createElement(Ot,{color:n?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,u.itsGift)),n&&e.createElement("div",{className:"giftControlForm"},e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.name),e.createElement(Yt,{readOnly:c,value:a,onChange:function(e){var t=e.target;return m("name",t.value)},placeholder:u.namePlaceholder})),e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.phone),e.createElement(Yt,{readOnly:c,value:i,onChange:function(e){var t=e.target;return m("phone",t.value)},placeholder:u.phonePlaceholder})),e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.greeting),e.createElement("textarea",{readOnly:c,value:l,onChange:function(e){var t=e.target;return m("greeting",t.value)},placeholder:u.greetingPlaceholder}))))},exports.INGREDIENTS=cr,exports.IconBicycle=ut,exports.IconCarbonScooter=Ft,exports.IconCart=st,exports.IconClockAfternoon=mt,exports.IconClose=pt,exports.IconCutlery=Pt,exports.IconDinein=Tt,exports.IconDone=kt,exports.IconEditPen=Bt,exports.IconGift=Ot,exports.IconGiftCard=Lt,exports.IconImportant=St,exports.IconLeftOption=_t,exports.IconMan=Dt,exports.IconMapPin=dt,exports.IconMinus=Et,exports.IconMoto=Ct,exports.IconMute=yt,exports.IconNoGluten=lt,exports.IconPause=vt,exports.IconPercent=Nt,exports.IconPersonSimpleWalk=ft,exports.IconPlay=ht,exports.IconPlus=bt,exports.IconRightOption=jt,exports.IconSearch=ct,exports.IconSparkle=gt,exports.IconSpicy=it,exports.IconStar=nt,exports.IconStarBorder=ot,exports.IconTrash=rt,exports.IconUnmute=xt,exports.IconVegan=at,exports.IconWarning=wt,exports.IconWeighted=It,exports.IconWholeOption=zt,exports.IngredientsSelector=Kt,exports.Input=Yt,exports.Media=tr,exports.OrderSummary=Gt,exports.OrderSummaryWithProducts=function(t){var r=Zt("summary");return e.createElement("div",{className:"summaryBlock"},e.createElement("div",{className:"headerContent"},r.summary),e.createElement("div",{className:"products"},t.products.map((function(r,n){var o;return e.createElement("div",{className:"product",key:"".concat(r.id,"-summaryEdit"),onClick:function(){return t.onClickProduct(n)}},e.createElement("div",{className:"productTop"},(null===(o=null==r?void 0:r.image)||void 0===o?void 0:o.src)&&e.createElement(tr,{src:r.image.src,alt:r.image.alt,settings:r.image.settings}),e.createElement("div",{className:"productName"},r.name),e.createElement("div",{className:"price"},e.createElement("span",{className:"finalPrice"},r.full_price," ",Mt(t.currency)),e.createElement(Bt,{color:"var(--main-color)",size:"small"}))),e.createElement("div",{className:"productBottom",onClick:function(e){return e.stopPropagation()}},e.createElement("div",{className:"productDescription"},r.description),e.createElement(Qt,{count:r.quantity,isAddDisable:!!r.max&&r.max<=r.quantity,isRemoveDisable:!!r.min&&r.quantity<=r.min,onAdd:function(){return t.onChangeQuantity(r.quantity+1,r,n)},onRemove:function(){return t.onChangeQuantity(r.quantity-1,r,n)},onChangeQuantity:function(e){return t.onChangeQuantity(e,r,n)}})))}))),e.createElement(Gt,m({},t)))},exports.ProductConstructor=function(t){var r=t.name,n=t.tag,o=t.media,a=t.currency,i=t.price,l=t.oldPrice,c=t.description,s=t.totalPrice,u=t.allowComments,p=t.options,f=t.optionsHalf,g=t.max,h=t.unit_weight,v=t.weight_range,y=t.amountDiff,x=t.weighed,b=t.quantity,E=t.ingredients,w=t.nameOnBox,O=t.comments,N=t.isLoading,C=t.isHalf,k=t.summaryOpen,P=t.onChangeIngredients,B=t.onChangeOption,I=t.onChangeOptionHalf,S=t.onChangeNameOnBox,T=t.onChangeComment,_=t.onAdd,j=t.onRemove,z=t.onAddToCart,L=t.onChangeIsHalf,D=t.disableAutoScroll,F=t.updateOptionOfActualData,A=t.onChangeQuantity,M=Zt("errorConstructor"),H=Zt("productConstructor"),R=e.useState(null),q=R[0],Z=R[1],V=e.useState([]),Y=V[0],U=V[1],G=e.useState(0),Q=G[0],W=G[1],K=e.useState(!0),X=K[0],$=K[1],J=e.useRef(),ee=e.useRef(),te=function(e){W(e),re()},re=function(){D||setTimeout((function(){(null==J?void 0:J.current.scrollTop)<=20&&J.current.scrollTo({top:((null==ee?void 0:ee.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};e.useEffect((function(){var e=d(d([],p,!0),f,!0),t=function(e,t,r,n){var o=e.filter((function(e){return e.enabled})),a=t.filter((function(e){return e.enabled}));if(a.length){var i={name:n.toppings,pizzaOption:!1,freeBudget:0,enabled:!0,max:1,min:1,id:sr,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:exports.HALF_OPTION.none,allowSuboptionQuantity:!1,suboptions:[{name:n.full,halfOption:exports.HALF_OPTION.none,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!r)},{name:n.half,halfOption:exports.HALF_OPTION.none,enabled:!0,max:1,id:ur,quantity:Number(r)}]};o.push(i)}return[].concat(o).concat(a)}(p.filter((function(t){return gr(t,e)})),f.filter((function(t){return gr(t,e)})),C,H);if(U(t),E.length&&Z(function(e,t){return{id:cr,freeBudget:0,min:0,respectTo:null,half:exports.HALF_OPTION.none,pizzaOption:!1,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return m(m({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(E,H)),X&&k){var r=0;t.length&&(r+=t.length),E.length&&(r+=1),u&&(r+=1),W(r)}$(!1)}),[E,p,f,C]);var ne=function(){var e=ae()[Q];return!!(null==e?void 0:e.id)&&function(e,t){var r=e.suboptions.reduce((function(e,t){var r;return(null!==(r=t.quantity)&&void 0!==r?r:0)+e}),0);if(e.min>r)return"".concat(t.minimumOption,": ").concat(e.name)}(e,M)},oe=function(t){var r=F(t),n=1===r.max&&1===r.min,o=r.max>1&&r.allowSuboptionQuantity,i=function(e,t,n){!function(e){return e===sr}(r.id)?r.withHalfOption&&!r.pizzaOption?I(r.id,e,r.half,t):B(r.id,e,t,n):L(function(e){return e===ur}(e))},l=t.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return t.pizzaOption&&t.withHalfOption?e.createElement(Or,{max:t.max,freeBudget:t.freeBudget,key:r.id,currency:a,onChangeOption:i,suboptions:r.suboptions}):n?e.createElement(yr,{max:t.max,key:r.id,currency:a,ingredients:r.suboptions,onSelect:i,freeBudget:t.freeBudget,freeLabel:H.free}):o?e.createElement(vr,{max:t.max,key:r.id,currency:a,suboptions:r.suboptions,onChangeQuantity:i,limitByMax:r.limitSuboptionsByMax,freeBudget:t.freeBudget,freeLabel:H.free}):e.createElement(wr,{max:t.max,key:r.id,currency:a,suboptions:r.suboptions,onSelect:i,freeBudget:t.freeBudget,totalQuantity:l,freeLabel:H.free})},ae=function(){var t=[];return q&&t.push({name:H.ingredients,component:e.createElement(Kt,{ingredients:q.suboptions,onSelect:P})}),t.push.apply(t,Y.filter((function(e){return gr(e,Y)})).map((function(e){return m(m({},e),{name:"".concat(dr(e,H)),component:oe(e)})}))),u&&t.push({name:H.comments,component:e.createElement(br,{name:w,comment:O,onNameChange:S,onCommentChange:T})}),(q||Y.length||u||x)&&t.push({name:H.summary,component:e.createElement(Er,{summary:mr(q,Y.filter((function(e){return!e.withHalfOption||e.pizzaOption})).filter((function(e){return e.id!=sr})),Y.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).filter((function(e){return e.id!=sr})),u?"".concat(O||"-"," | ").concat(w||"-"):null,{weighed:x,unit_weight:h,quantity:b,weight_range:v,currency:a,amountDiff:y},H),onClickChange:function(e){return W(e)}})}),t.push({name:H.summary,component:e.createElement(Er,{summary:mr(q,Y.filter((function(e){return!e.withHalfOption||e.pizzaOption})).filter((function(e){return e.id!=sr})),Y.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).filter((function(e){return e.id!=sr})),u?"".concat(O||"-"," | ").concat(w||"-"):null,{weighed:x,unit_weight:h,quantity:b,weight_range:v,currency:a,amountDiff:y},H),onClickChange:function(e){return W(e)}})}),t};return e.createElement("div",{className:"productConstructor",ref:J},e.createElement("div",{className:"content",style:{position:"relative"}},!!o&&e.createElement("div",{ref:ee},e.createElement(tr,m({},o))),!!n&&e.createElement("div",{className:"productTag"},n),e.createElement("div",{className:"headProduct"},e.createElement("div",{className:"name"},r),e.createElement("div",{className:"priceControl"},!!l&&e.createElement("div",{className:"oldPrice"},Mt(a,l)),!!i&&e.createElement("div",{className:"price"},Mt(a,i)))),e.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:c}})),ne()&&e.createElement(xr,{message:ne().toString()}),!!ae().length&&e.createElement(or,{steps:ae(),currentStep:Q}),e.createElement(nr,{isLoading:N,isSummary:Q===ae().length-1,isDisableNext:!!ne(),isDisablePrev:0===Q,currency:a,onPrev:function(){return te(Q-1)},onNext:function(){return te(Q+1)},onAddToCart:z,amount:s,count:b,onRemove:j,onAdd:_,isAddDisable:!!g&&b===g,isRemoveDisable:0===b,onChangeQuantity:function(e){A(e<=0?0:e)}}))},exports.ProductPreview=kr,exports.ProductPreviewList=function(t){var r=t.categories,n=t.onClickProduct;return e.createElement("div",{className:"productPreviewList"},r.map((function(t){return e.createElement("div",{key:t.name,className:"category"},e.createElement("div",{id:t.name,className:"categoryName"},t.name),t.products.map((function(r){return e.createElement(kr,m({key:r.id},r,{onClick:function(e){return n(t.id,e)}}))})))})))},exports.ProductTags=Cr,exports.QuantityDescription=Wt,exports.RestaurantHeader=function(t){var r=t.name,n=t.isFavorite,o=t.isNew,a=t.kosher,i=t.score,l=t.cartAmount,c=t.alternativeView,s=t.currency,u=t.searchValue,m=t.onSearch,p=t.onCartClick;return e.createElement("div",{className:"restaurantHeader"},e.createElement("div",{className:"restaurantHeaderTop"},e.createElement("div",{className:"topLeft"},e.createElement("div",{className:"restaurantHeaderName"},r,n?e.createElement(nt,null):e.createElement(ot,null)),(!!l||c)&&e.createElement(Pr,{isNew:o,kosher:a,score:i})),e.createElement("div",{className:"topRight"},!!l&&!c&&e.createElement(Br,{onClick:p,amount:l,currency:s}))),e.createElement("div",{className:"restaurantHeaderBottom"},!c&&!l&&e.createElement(Pr,{isNew:o,kosher:a,score:i}),e.createElement("div",{className:"benefits"},e.createElement(Ir,{deliveryToLocation:1,currency:s,minimum:10})),!!l&&c&&e.createElement("div",{className:"bottomRight"},e.createElement(Yt,{className:"input",placeholder:"Search in menu...",icon:e.createElement(ct,null),value:u,onChange:m}),e.createElement(Br,{onClick:p,amount:l,currency:s}))))},exports.Stepper=or,exports.SuboptionMultiSelector=vr,exports.SuboptionRadioSelector=yr,exports.TabsControl=function(t){var n=t.type,o=t.onChange,a=t.disabled,i=void 0!==a&&a,l=t.items;return e.createElement("div",{className:"tabsControl"},l.map((function(t){return e.createElement("div",{key:"tabs-control-"+t.text,className:r("control",{selected:t.type===n,disable:t.disabled||i}),onClick:function(){return o(t.type)}},t.icon&&e.createElement("div",{className:"icon"},t.icon()),e.createElement("span",null,t.text))})))},exports.TranslationUIProvider=qt,exports.Warning=xr,exports.checkRespectTo=gr,exports.convertToServerModelOptions=function(e){return e.map((function(e){return{id:e.id,name:e.name,suboptions:e.suboptions.filter((function(e){return!!e.quantity})).map((function(t){var r;return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:null!==(r=t.halfOption)&&void 0!==r?r:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},exports.mergeOption=function(e,t){var r,n,o,a=null;if(!e.withHalfOption||e.pizzaOption)a=null===(r=null==t?void 0:t.product)||void 0===r?void 0:r.options.find((function(t){return t.id===e.id}));else{var i=(null==e?void 0:e.half)||exports.HALF_OPTION.none;a=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id&&t.suboptions.every((function(e){return e.half_option===i}))}))}return e.suboptions=null===(o=null==e?void 0:e.suboptions)||void 0===o?void 0:o.map((function(e){var t,r=null===(t=null==a?void 0:a.suboptions)||void 0===t?void 0:t.find((function(t){return t.id===e.id}));if(r){var n=m(m(m({},r),e),{fullPrice:r.fullPrice||r.full_price});return n.quantity=e.quantity,n}return m({},e)})),e},exports.mergeProduct=function(e,t,r){var n={comments:e.product.comment,nameOnBox:e.product.name_on_box,finalPrice:e.full_price,quantity:e.product.quantity,ingredients:[],options:[],optionsHalf:[],isHalf:!1};return n.options=t.filter((function(e){return!e.withHalfOption||e.pizzaOption})).map((function(t){var r=e.product.options.find((function(e){return e.id===t.id}));return m(m({},t),{suboptions:t.suboptions.map((function(e){var t=null==r?void 0:r.suboptions.find((function(t){return t.id===e.id}));return m(m({},e),{halfOption:t?t.half_option:null,quantity:t?t.quantity:0})}))})})),n.optionsHalf=t.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).flatMap((function(t){var r=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.none}))})),o=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.left}))})),a=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.right}))}));return r?m(m({},t),{half:exports.HALF_OPTION.none,suboptions:t.suboptions.map((function(e){var t=r.suboptions.find((function(t){return t.id===e.id}));return m(m({},e),{half:exports.HALF_OPTION.none,quantity:t?t.quantity:0})}))}):n.isHalf||o&&a?(n.isHalf=!0,[m(m({},t),{half:exports.HALF_OPTION.left,suboptions:t.suboptions.map((function(e){var t=o.suboptions.find((function(t){return t.id===e.id}));return m(m({},e),{half:exports.HALF_OPTION.left,quantity:t?t.quantity:0})}))}),m(m({},t),{half:exports.HALF_OPTION.right,suboptions:t.suboptions.map((function(e){var t=a.suboptions.find((function(t){return t.id===e.id}));return m(m({},e),{half:exports.HALF_OPTION.right,quantity:t?t.quantity:0})}))})]):[t]})),(null==r?void 0:r.length)&&r.forEach((function(t){var r=e.product.ingredients.find((function(e){return e===t.id}));n.ingredients.push(m(m({},t),{quantity:r?0:1}))})),n},exports.prepareHalfOptions=function(e,t){var r=[],n=e.filter((function(e){return e.half===exports.HALF_OPTION.none||e.half===exports.HALF_OPTION.left}));return t?n.forEach((function(e){r.push(m(m({},e),{half:exports.HALF_OPTION.left})),r.push(m(m({},e),{half:exports.HALF_OPTION.right}))})):n.forEach((function(e){r.push(m(m({},e),{half:exports.HALF_OPTION.none}))})),r};
|
|
@@ -37,3 +37,5 @@ export declare const IconLeftOption: (props: IconProps) => React.JSX.Element;
|
|
|
37
37
|
export declare const IconRightOption: (props: IconProps) => React.JSX.Element;
|
|
38
38
|
export declare const IconWholeOption: (props: IconProps) => React.JSX.Element;
|
|
39
39
|
export declare const IconGiftCard: (props: IconProps) => React.JSX.Element;
|
|
40
|
+
export declare const IconMan: (props: IconProps) => React.JSX.Element;
|
|
41
|
+
export declare const IconCarbonScooter: (props: IconProps) => React.JSX.Element;
|