wineater-bot 4.24.3 → 4.25.0
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/wineater-chatbot.mjs +13 -38
- package/dist/wineater-chatbot.umd.js +13 -38
- package/package.json +4 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var Wa=Object.defineProperty,Ei=e=>{throw TypeError(e)},Ea=(e,t,n)=>t in e?Wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ze=(e,t,n)=>Ea(e,typeof t!="symbol"?t+"":t,n),Rr=(e,t,n)=>t.has(e)||Ei("Cannot "+n),p=(e,t,n)=>(Rr(e,t,"read from private field"),n?n.call(e):t.get(e)),V=(e,t,n)=>t.has(e)?Ei("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),B=(e,t,n,r)=>(Rr(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),G=(e,t,n)=>(Rr(e,t,"access private method"),n);const Aa="5";var Ai;typeof window<"u"&&((Ai=window.__svelte??(window.__svelte={})).v??(Ai.v=new Set)).add(Aa);const Di=1,Mi=2,Ii=4,Da=8,Ma=16,Ia=1,Ra=2,za=4,Ba=8,La=16,Ri=1,ja=2,ke=Symbol(),Na="http://www.w3.org/1999/xhtml",qa=!1;var zr=Array.isArray,Oa=Array.prototype.indexOf,Br=Array.from,$a=Object.defineProperty,cn=Object.getOwnPropertyDescriptor,Ua=Object.getOwnPropertyDescriptors,Fa=Object.prototype,Va=Array.prototype,zi=Object.getPrototypeOf,Bi=Object.isExtensible;function Ha(e){for(var t=0;t<e.length;t++)e[t]()}function Li(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}function Ga(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const me=2,Lr=4,jr=8,wt=16,mt=32,Ht=64,sr=128,Qe=512,_e=1024,Ae=2048,yt=4096,je=8192,bt=16384,Nr=32768,Gt=65536,ji=1<<17,Ni=1<<18,un=1<<19,Ya=1<<20,Yt=32768,qr=1<<21,Or=1<<22,Dt=1<<23,Kt=Symbol("$state"),Ka=Symbol("legacy props"),Ja=Symbol(""),dn=new class extends Error{constructor(){super(...arguments),Ze(this,"name","StaleReactionError"),Ze(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Za(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Qa(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Xa(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function es(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ts(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ns(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function rs(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function is(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function os(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function as(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ss(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ls(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function cs(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function qi(e){return e===this.v}function us(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Oi(e){return!us(e,this.v)}let pn=!1,ds=!1;function ps(){pn=!0}let he=null;function hn(e){he=e}function at(e,t=!1,n){he={p:he,i:!1,c:null,e:null,s:e,x:null,l:pn&&!t?{s:null,u:null,$:[]}:null}}function st(e){var t=he,n=t.e;if(n!==null){t.e=null;for(var r of n)co(r)}return e!==void 0&&(t.x=e),t.i=!0,he=t.p,e??{}}function zn(){return!pn||he!==null&&he.l===null}let Jt=[];function $i(){var e=Jt;Jt=[],Ha(e)}function fn(e){if(Jt.length===0&&!Bn){var t=Jt;queueMicrotask(()=>{t===Jt&&$i()})}Jt.push(e)}function hs(){for(;Jt.length>0;)$i()}function Ui(e){var t=X;if(t===null)return J.f|=Dt,e;if(t.f&Nr)vn(e,t);else{if(!(t.f&sr))throw e;t.b.error(e)}}function vn(e,t){for(;t!==null;){if(t.f&sr)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const lr=new Set;let ee=null,cr=null,Se=null,Ue=[],ur=null,$r=!1,Bn=!1;var Ln,jn,Mt,It,Nn,qn,On,De,Ur,Zt,Fr,Fi,Vi;const fs=class _i{constructor(){V(this,De),Ze(this,"committed",!1),Ze(this,"current",new Map),Ze(this,"previous",new Map),V(this,Ln,new Set),V(this,jn,new Set),V(this,Mt,0),V(this,It,0),V(this,Nn,null),V(this,qn,[]),V(this,On,[]),Ze(this,"skipped_effects",new Set),Ze(this,"is_fork",!1)}is_deferred(){return this.is_fork||p(this,It)>0}process(t){var n;Ue=[],cr=null,this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of t)G(this,De,Ur).call(this,i,r);this.is_fork||G(this,De,Fi).call(this),this.is_deferred()?(G(this,De,Zt).call(this,r.effects),G(this,De,Zt).call(this,r.render_effects),G(this,De,Zt).call(this,r.block_effects)):(cr=this,ee=null,Gi(r.render_effects),Gi(r.effects),cr=null,(n=p(this,Nn))==null||n.resolve()),Se=null}capture(t,n){this.previous.has(t)||this.previous.set(t,n),t.f&Dt||(this.current.set(t,t.v),Se?.set(t,t.v))}activate(){ee=this,this.apply()}deactivate(){ee===this&&(ee=null,Se=null)}flush(){if(this.activate(),Ue.length>0){if(Hi(),ee!==null&&ee!==this)return}else p(this,Mt)===0&&this.process([]);this.deactivate()}discard(){for(const t of p(this,jn))t(this);p(this,jn).clear()}increment(t){B(this,Mt,p(this,Mt)+1),t&&B(this,It,p(this,It)+1)}decrement(t){B(this,Mt,p(this,Mt)-1),t&&B(this,It,p(this,It)-1),this.revive()}revive(){for(const t of p(this,qn))Ce(t,Ae),Xt(t);for(const t of p(this,On))Ce(t,yt),Xt(t);B(this,qn,[]),B(this,On,[]),this.flush()}oncommit(t){p(this,Ln).add(t)}ondiscard(t){p(this,jn).add(t)}settled(){return(p(this,Nn)??B(this,Nn,Li())).promise}static ensure(){if(ee===null){const t=ee=new _i;lr.add(ee),Bn||_i.enqueue(()=>{ee===t&&t.flush()})}return ee}static enqueue(t){fn(t)}apply(){}};Ln=new WeakMap,jn=new WeakMap,Mt=new WeakMap,It=new WeakMap,Nn=new WeakMap,qn=new WeakMap,On=new WeakMap,De=new WeakSet,Ur=function(e,t){var n;e.f^=_e;for(var r=e.first;r!==null;){var i=r.f,o=(i&(mt|Ht))!==0,s=o&&(i&_e)!==0,c=s||(i&je)!==0||this.skipped_effects.has(r);if(r.f&sr&&(n=r.b)!=null&&n.is_pending()&&(t={parent:t,effect:r,effects:[],render_effects:[],block_effects:[]}),!c&&r.fn!==null){o?r.f^=_e:i&Lr?t.effects.push(r):Hn(r)&&(r.f&wt&&t.block_effects.push(r),Gn(r));var l=r.first;if(l!==null){r=l;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)u===t.effect&&(G(this,De,Zt).call(this,t.effects),G(this,De,Zt).call(this,t.render_effects),G(this,De,Zt).call(this,t.block_effects),t=t.parent),r=u.next,u=u.parent}},Zt=function(e){for(const t of e)(t.f&Ae?p(this,qn):p(this,On)).push(t),G(this,De,Fr).call(this,t.deps),Ce(t,_e)},Fr=function(e){if(e!==null)for(const t of e)!(t.f&me)||!(t.f&Yt)||(t.f^=Yt,G(this,De,Fr).call(this,t.deps))},Fi=function(){if(p(this,It)===0){for(const e of p(this,Ln))e();p(this,Ln).clear()}p(this,Mt)===0&&G(this,De,Vi).call(this)},Vi=function(){var e;if(lr.size>1){this.previous.clear();var t=Se,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const o of lr){if(o===this){n=!1;continue}const s=[];for(const[l,u]of this.current){if(o.current.has(l))if(n&&u!==o.current.get(l))o.current.set(l,u);else continue;s.push(l)}if(s.length===0)continue;const c=[...o.current.keys()].filter(l=>!this.current.has(l));if(c.length>0){var i=Ue;Ue=[];const l=new Set,u=new Map;for(const f of s)Yi(f,c,l,u);if(Ue.length>0){ee=o,o.apply();for(const f of Ue)G(e=o,De,Ur).call(e,f,r);o.deactivate()}Ue=i}}ee=null,Se=t}this.committed=!0,lr.delete(this)};let Qt=fs;function vs(e){var t=Bn;Bn=!0;try{for(var n;;){if(hs(),Ue.length===0&&(ee?.flush(),Ue.length===0))return ur=null,n;Hi()}}finally{Bn=t}}function Hi(){var e=jt;$r=!0;var t=null;try{var n=0;for(mr(!0);Ue.length>0;){var r=Qt.ensure();if(n++>1e3){var i,o;gs()}r.process(Ue),Lt.clear()}}finally{$r=!1,mr(e),ur=null}}function gs(){try{ns()}catch(e){vn(e,ur)}}let lt=null;function Gi(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&(bt|je))&&Hn(r)&&(lt=new Set,Gn(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?fo(r):r.fn=null),lt?.size>0)){Lt.clear();for(const i of lt){if(i.f&(bt|je))continue;const o=[i];let s=i.parent;for(;s!==null;)lt.has(s)&&(lt.delete(s),o.push(s)),s=s.parent;for(let c=o.length-1;c>=0;c--){const l=o[c];l.f&(bt|je)||Gn(l)}}lt.clear()}}lt=null}}function Yi(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const o=i.f;o&me?Yi(i,t,n,r):o&(Or|wt)&&!(o&Ae)&&Ki(i,t,r)&&(Ce(i,Ae),Xt(i))}}function Ki(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if(i.f&me&&Ki(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Xt(e){for(var t=ur=e;t.parent!==null;){t=t.parent;var n=t.f;if($r&&t===X&&n&wt&&!(n&Ni))return;if(n&(Ht|mt)){if(!(n&_e))return;t.f^=_e}}Ue.push(t)}function ws(e){let t=0,n=rn(0),r;return()=>{gr()&&(a(n),Xr(()=>(t===0&&(r=Yn(()=>e(()=>$n(n)))),t+=1,()=>{fn(()=>{t-=1,t===0&&(r?.(),r=void 0,$n(n))})})))}}var ms=Gt|un|sr;function ys(e,t,n){new ks(e,t,n)}var Xe,et,Ji,xt,gn,kt,tt,Ne,_t,Rt,en,tn,zt,wn,nn,Vr,Fe,bs,xs,Hr,dr,pr,Gr;class ks{constructor(t,n,r){V(this,Fe),Ze(this,"parent"),V(this,Xe,!1),V(this,et),V(this,Ji,null),V(this,xt),V(this,gn),V(this,kt),V(this,tt,null),V(this,Ne,null),V(this,_t,null),V(this,Rt,null),V(this,en,null),V(this,tn,0),V(this,zt,0),V(this,wn,!1),V(this,nn,null),V(this,Vr,ws(()=>(B(this,nn,rn(p(this,tn))),()=>{B(this,nn,null)}))),B(this,et,t),B(this,xt,n),B(this,gn,r),this.parent=X.b,B(this,Xe,!!p(this,xt).pending),B(this,kt,wr(()=>{X.b=this;{var i=G(this,Fe,Hr).call(this);try{B(this,tt,Ve(()=>r(i)))}catch(o){this.error(o)}p(this,zt)>0?G(this,Fe,pr).call(this):B(this,Xe,!1)}return()=>{var o;(o=p(this,en))==null||o.remove()}},ms))}is_pending(){return p(this,Xe)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!p(this,xt).pending}update_pending_count(t){G(this,Fe,Gr).call(this,t),B(this,tn,p(this,tn)+t),p(this,nn)&&yn(p(this,nn),p(this,tn))}get_effect_pending(){return p(this,Vr).call(this),a(p(this,nn))}error(t){var n=p(this,xt).onerror;let r=p(this,xt).failed;if(p(this,wn)||!n&&!r)throw t;p(this,tt)&&(Me(p(this,tt)),B(this,tt,null)),p(this,Ne)&&(Me(p(this,Ne)),B(this,Ne,null)),p(this,_t)&&(Me(p(this,_t)),B(this,_t,null));var i=!1,o=!1;const s=()=>{if(i){cs();return}i=!0,o&&ss(),Qt.ensure(),B(this,tn,0),p(this,_t)!==null&&bn(p(this,_t),()=>{B(this,_t,null)}),B(this,Xe,this.has_pending_snippet()),B(this,tt,G(this,Fe,dr).call(this,()=>(B(this,wn,!1),Ve(()=>p(this,gn).call(this,p(this,et)))))),p(this,zt)>0?G(this,Fe,pr).call(this):B(this,Xe,!1)};var c=J;try{Ie(null),o=!0,n?.(t,s),o=!1}catch(l){vn(l,p(this,kt)&&p(this,kt).parent)}finally{Ie(c)}r&&fn(()=>{B(this,_t,G(this,Fe,dr).call(this,()=>{Qt.ensure(),B(this,wn,!0);try{return Ve(()=>{r(p(this,et),()=>t,()=>s)})}catch(l){return vn(l,p(this,kt).parent),null}finally{B(this,wn,!1)}}))})}}Xe=new WeakMap,et=new WeakMap,Ji=new WeakMap,xt=new WeakMap,gn=new WeakMap,kt=new WeakMap,tt=new WeakMap,Ne=new WeakMap,_t=new WeakMap,Rt=new WeakMap,en=new WeakMap,tn=new WeakMap,zt=new WeakMap,wn=new WeakMap,nn=new WeakMap,Vr=new WeakMap,Fe=new WeakSet,bs=function(){try{B(this,tt,Ve(()=>p(this,gn).call(this,p(this,et))))}catch(e){this.error(e)}B(this,Xe,!1)},xs=function(){const e=p(this,xt).pending;e&&(B(this,Ne,Ve(()=>e(p(this,et)))),Qt.enqueue(()=>{var t=G(this,Fe,Hr).call(this);B(this,tt,G(this,Fe,dr).call(this,()=>(Qt.ensure(),Ve(()=>p(this,gn).call(this,t))))),p(this,zt)>0?G(this,Fe,pr).call(this):(bn(p(this,Ne),()=>{B(this,Ne,null)}),B(this,Xe,!1))}))},Hr=function(){var e=p(this,et);return p(this,Xe)&&(B(this,en,St()),p(this,et).before(p(this,en)),e=p(this,en)),e},dr=function(e){var t=X,n=J,r=he;dt(p(this,kt)),Ie(p(this,kt)),hn(p(this,kt).ctx);try{return e()}catch(i){return Ui(i),null}finally{dt(t),Ie(n),hn(r)}},pr=function(){const e=p(this,xt).pending;p(this,tt)!==null&&(B(this,Rt,document.createDocumentFragment()),p(this,Rt).append(p(this,en)),wo(p(this,tt),p(this,Rt))),p(this,Ne)===null&&B(this,Ne,Ve(()=>e(p(this,et))))},Gr=function(e){var t;if(!this.has_pending_snippet()){this.parent&&G(t=this.parent,Fe,Gr).call(t,e);return}B(this,zt,p(this,zt)+e),p(this,zt)===0&&(B(this,Xe,!1),p(this,Ne)&&bn(p(this,Ne),()=>{B(this,Ne,null)}),p(this,Rt)&&(p(this,et).before(p(this,Rt)),B(this,Rt,null)))};function mn(e,t){return t}function _s(e,t,n){for(var r=[],i=t.length,o=0;o<i;o++)ei(t[o].e,r,!0);vo(r,()=>{var s=r.length===0&&n!==null;if(s){var c=n,l=c.parentNode;Rs(l),l.append(c),e.items.clear(),ct(e,t[0].prev,t[i-1].next)}for(var u=0;u<i;u++){var f=t[u];s||(e.items.delete(f.k),ct(e,f.prev,f.next)),Me(f.e,!s)}e.first===t[0]&&(e.first=t[0].prev)})}function Bt(e,t,n,r,i,o=null){var s=e,c=new Map,l=null,u=(t&Ii)!==0,f=(t&Di)!==0,y=(t&Mi)!==0;if(u){var h=e;s=h.appendChild(St())}var d=null,g=Kr(()=>{var v=n();return zr(v)?v:v==null?[]:Br(v)}),w,C=!0;function T(){Ss(F,w,s,t,r),d!==null&&(w.length===0?(d.fragment?(s.before(d.fragment),d.fragment=null):ti(d.effect),M.first=d.effect):bn(d.effect,()=>{d=null}))}var M=wr(()=>{w=a(g);for(var v=w.length,k=new Set,E=ee,b=null,P=so(),j=0;j<v;j+=1){var H=w[j],O=r(H,j),$=C?null:c.get(O);$?(f&&yn($.v,H),y?yn($.i,j):$.i=j,P&&E.skipped_effects.delete($.e)):($=Cs(C?s:null,b,H,O,j,i,t,n),C&&($.o=!0,b===null?l=$:b.next=$,b=$),c.set(O,$)),k.add(O)}if(v===0&&o&&!d)if(C)d={fragment:null,effect:Ve(()=>o(s))};else{var re=document.createDocumentFragment(),ne=St();re.append(ne),d={fragment:re,effect:Ve(()=>o(ne))}}if(!C)if(P){for(const[oe,ve]of c)k.has(oe)||E.skipped_effects.add(ve.e);E.oncommit(T),E.ondiscard(()=>{})}else T();a(g)}),F={effect:M,items:c,first:l};C=!1}function Ss(e,t,n,r,i){var o,s,c,l,u=(r&Da)!==0,f=t.length,y=e.items,h=e.first,d,g=null,w,C=[],T=[],M,F,v,k;if(u)for(k=0;k<f;k+=1)M=t[k],F=i(M,k),v=y.get(F),(o=v.a)==null||o.measure(),(w??(w=new Set)).add(v);for(k=0;k<f;k+=1){if(M=t[k],F=i(M,k),v=y.get(F),e.first??(e.first=v),!v.o){v.o=!0;var E=g?g.next:h;ct(e,g,v),ct(e,v,E),Yr(v,E,n),g=v,C=[],T=[],h=g.next;continue}if(v.e.f&je&&(ti(v.e),u&&((s=v.a)==null||s.unfix(),(w??(w=new Set)).delete(v))),v!==h){if(d!==void 0&&d.has(v)){if(C.length<T.length){var b=T[0],P;g=b.prev;var j=C[0],H=C[C.length-1];for(P=0;P<C.length;P+=1)Yr(C[P],b,n);for(P=0;P<T.length;P+=1)d.delete(T[P]);ct(e,j.prev,H.next),ct(e,g,j),ct(e,H,b),h=b,g=H,k-=1,C=[],T=[]}else d.delete(v),Yr(v,h,n),ct(e,v.prev,v.next),ct(e,v,g===null?e.first:g.next),ct(e,g,v),g=v;continue}for(C=[],T=[];h!==null&&h.k!==F;)h.e.f&je||(d??(d=new Set)).add(h),T.push(h),h=h.next;if(h===null)continue;v=h}C.push(v),g=v,h=v.next}if(h!==null||d!==void 0){for(var O=d===void 0?[]:Br(d);h!==null;)h.e.f&je||O.push(h),h=h.next;var $=O.length;if($>0){var re=r&Ii&&f===0?n:null;if(u){for(k=0;k<$;k+=1)(c=O[k].a)==null||c.measure();for(k=0;k<$;k+=1)(l=O[k].a)==null||l.fix()}_s(e,O,re)}}u&&fn(()=>{var ne;if(w!==void 0)for(v of w)(ne=v.a)==null||ne.apply()})}function Cs(e,t,n,r,i,o,s,c){var l=(s&Di)!==0,u=(s&Ma)===0,f=l?u?As(n,!1,!1):rn(n):n,y=s&Mi?rn(i):i,h={i:y,v:f,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var d=document.createDocumentFragment();d.append(e=St())}return h.e=Ve(()=>o(e,f,y,c)),t!==null&&(t.next=h),h}finally{}}function Yr(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,o=e.e.nodes_start;o!==null&&o!==r;){var s=Un(o);i.before(o),o=s}}function ct(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Ps(e,t,n,r){const i=zn()?fr:Kr;if(n.length===0&&e.length===0){r(t.map(i));return}var o=ee,s=X,c=Ts();function l(){Promise.all(n.map(u=>Ws(u))).then(u=>{c();try{r([...t.map(i),...u])}catch(f){s.f&bt||vn(f,s)}o?.deactivate(),hr()}).catch(u=>{vn(u,s)})}e.length>0?Promise.all(e).then(()=>{c();try{return l()}finally{o?.deactivate(),hr()}}):l()}function Ts(){var e=X,t=J,n=he,r=ee;return function(i=!0){dt(e),Ie(t),hn(n),i&&r?.activate()}}function hr(){dt(null),Ie(null),hn(null)}function fr(e){var t=me|Ae,n=J!==null&&J.f&me?J:null;return X!==null&&(X.f|=un),{ctx:he,deps:null,effects:null,equals:qi,f:t,fn:e,reactions:null,rv:0,v:ke,wv:0,parent:n??X,ac:null}}function Ws(e,t){let n=X;n===null&&Qa();var r=n.b,i=void 0,o=rn(ke),s=!J,c=new Map;return qs(()=>{var l,u=Li();i=u.promise;try{Promise.resolve(e()).then(u.resolve,u.reject).then(()=>{f===ee&&f.committed&&f.deactivate(),hr()})}catch(d){u.reject(d),hr()}var f=ee;if(s){var y=!r.is_pending();r.update_pending_count(1),f.increment(y),(l=c.get(f))==null||l.reject(dn),c.delete(f),c.set(f,u)}const h=(d,g=void 0)=>{if(f.activate(),g)g!==dn&&(o.f|=Dt,yn(o,g));else{o.f&Dt&&(o.f^=Dt),yn(o,d);for(const[w,C]of c){if(c.delete(w),w===f)break;C.reject(dn)}}s&&(r.update_pending_count(-1),f.decrement(y))};u.promise.then(h,d=>h(null,d||"unknown"))}),Qr(()=>{for(const l of c.values())l.reject(dn)}),new Promise(l=>{function u(f){function y(){f===i?l(o):u(i)}f.then(y,y)}u(i)})}function Z(e){const t=fr(e);return yo(t),t}function Kr(e){const t=fr(e);return t.equals=Oi,t}function Zi(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)Me(t[n])}}function Es(e){for(var t=e.parent;t!==null;){if(!(t.f&me))return t.f&bt?null:t;t=t.parent}return null}function Jr(e){var t,n=X;dt(Es(e));try{e.f&=~Yt,Zi(e),t=So(e)}finally{dt(n)}return t}function Qi(e){var t=Jr(e);if(e.equals(t)||(ee!=null&&ee.is_fork||(e.v=t),e.wv=ko()),!on)if(Se!==null)gr()&&Se.set(e,t);else{var n=e.f&Qe?_e:yt;Ce(e,n)}}let Zr=new Set;const Lt=new Map;let Xi=!1;function rn(e,t){var n={f:0,v:e,reactions:null,equals:qi,rv:0,wv:0};return n}function K(e,t){const n=rn(e);return yo(n),n}function As(e,t=!1,n=!0){var r;const i=rn(e);return t||(i.equals=Oi),pn&&n&&he!==null&&he.l!==null&&((r=he.l).s??(r.s=[])).push(i),i}function m(e,t,n=!1){J!==null&&(!ut||J.f&ji)&&zn()&&J.f&(me|wt|Or|ji)&&!(He!=null&&He.includes(e))&&as();let r=n?qe(t):t;return yn(e,r)}function yn(e,t){if(!e.equals(t)){var n=e.v;on?Lt.set(e,t):Lt.set(e,n),e.v=t;var r=Qt.ensure();r.capture(e,n),e.f&me&&(e.f&Ae&&Jr(e),Ce(e,e.f&Qe?_e:yt)),e.wv=ko(),to(e,Ae),zn()&&X!==null&&X.f&_e&&!(X.f&(mt|Ht))&&(Ge===null?Us([e]):Ge.push(e)),!r.is_fork&&Zr.size>0&&!Xi&&Ds()}return t}function Ds(){Xi=!1;var e=jt;mr(!0);const t=Array.from(Zr);try{for(const n of t)n.f&_e&&Ce(n,yt),Hn(n)&&Gn(n)}finally{mr(e)}Zr.clear()}function eo(e,t=1){var n=a(e),r=t===1?n++:n--;return m(e,n),r}function $n(e){m(e,e.v+1)}function to(e,t){var n=e.reactions;if(n!==null)for(var r=zn(),i=n.length,o=0;o<i;o++){var s=n[o],c=s.f;if(!(!r&&s===X)){var l=(c&Ae)===0;if(l&&Ce(s,t),c&me){var u=s;Se?.delete(u),c&Yt||(c&Qe&&(s.f|=Yt),to(u,yt))}else l&&(c&wt&<!==null&<.add(s),Xt(s))}}}function qe(e){if(typeof e!="object"||e===null||Kt in e)return e;const t=zi(e);if(t!==Fa&&t!==Va)return e;var n=new Map,r=zr(e),i=K(0),o=an,s=c=>{if(an===o)return c();var l=J,u=an;Ie(null),xo(o);var f=c();return Ie(l),xo(u),f};return r&&n.set("length",K(e.length)),new Proxy(e,{defineProperty(c,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&is();var f=n.get(l);return f===void 0?f=s(()=>{var y=K(u.value);return n.set(l,y),y}):m(f,u.value,!0),!0},deleteProperty(c,l){var u=n.get(l);if(u===void 0){if(l in c){const f=s(()=>K(ke));n.set(l,f),$n(i)}}else m(u,ke),$n(i);return!0},get(c,l,u){var f;if(l===Kt)return e;var y=n.get(l),h=l in c;if(y===void 0&&(!h||(f=cn(c,l))!=null&&f.writable)&&(y=s(()=>{var g=qe(h?c[l]:ke),w=K(g);return w}),n.set(l,y)),y!==void 0){var d=a(y);return d===ke?void 0:d}return Reflect.get(c,l,u)},getOwnPropertyDescriptor(c,l){var u=Reflect.getOwnPropertyDescriptor(c,l);if(u&&"value"in u){var f=n.get(l);f&&(u.value=a(f))}else if(u===void 0){var y=n.get(l),h=y?.v;if(y!==void 0&&h!==ke)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return u},has(c,l){var u;if(l===Kt)return!0;var f=n.get(l),y=f!==void 0&&f.v!==ke||Reflect.has(c,l);if(f!==void 0||X!==null&&(!y||(u=cn(c,l))!=null&&u.writable)){f===void 0&&(f=s(()=>{var d=y?qe(c[l]):ke,g=K(d);return g}),n.set(l,f));var h=a(f);if(h===ke)return!1}return y},set(c,l,u,f){var y,h=n.get(l),d=l in c;if(r&&l==="length")for(var g=u;g<h.v;g+=1){var w=n.get(g+"");w!==void 0?m(w,ke):g in c&&(w=s(()=>K(ke)),n.set(g+"",w))}if(h===void 0)(!d||(y=cn(c,l))!=null&&y.writable)&&(h=s(()=>K(void 0)),m(h,qe(u)),n.set(l,h));else{d=h.v!==ke;var C=s(()=>qe(u));m(h,C)}var T=Reflect.getOwnPropertyDescriptor(c,l);if(T!=null&&T.set&&T.set.call(f,u),!d){if(r&&typeof l=="string"){var M=n.get("length"),F=Number(l);Number.isInteger(F)&&F>=M.v&&m(M,F+1)}$n(i)}return!0},ownKeys(c){a(i);var l=Reflect.ownKeys(c).filter(y=>{var h=n.get(y);return h===void 0||h.v!==ke});for(var[u,f]of n)f.v!==ke&&!(u in c)&&l.push(u);return l},setPrototypeOf(){os()}})}function no(e){try{if(e!==null&&typeof e=="object"&&Kt in e)return e[Kt]}catch{}return e}function Ms(e,t){return Object.is(no(e),no(t))}var ro,io,oo,ao;function Is(){if(ro===void 0){ro=window,io=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;oo=cn(t,"firstChild").get,ao=cn(t,"nextSibling").get,Bi(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Bi(n)&&(n.__t=void 0)}}function St(e=""){return document.createTextNode(e)}function Ct(e){return oo.call(e)}function Un(e){return ao.call(e)}function W(e,t){return Ct(e)}function fe(e,t=!1){{var n=Ct(e);return n instanceof Comment&&n.data===""?Un(n):n}}function A(e,t=1,n=!1){let r=e;for(;t--;)r=Un(r);return r}function Rs(e){e.textContent=""}function so(){return!1}let lo=!1;function zs(){lo||(lo=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function vr(e){var t=J,n=X;Ie(null),dt(null);try{return e()}finally{Ie(t),dt(n)}}function Bs(e,t,n,r=n){e.addEventListener(t,()=>vr(n));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),zs()}function Ls(e){X===null&&(J===null&&ts(),es()),on&&Xa()}function js(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Pt(e,t,n){var r=X;r!==null&&r.f&je&&(e|=je);var i={ctx:he,deps:null,nodes_start:null,nodes_end:null,f:e|Ae|Qe,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Gn(i),i.f|=Nr}catch(c){throw Me(i),c}else t!==null&&Xt(i);var o=i;if(n&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&!(o.f&un)&&(o=o.first,e&wt&&e&Gt&&o!==null&&(o.f|=Gt)),o!==null&&(o.parent=r,r!==null&&js(o,r),J!==null&&J.f&me&&!(e&Ht))){var s=J;(s.effects??(s.effects=[])).push(o)}return i}function gr(){return J!==null&&!ut}function Qr(e){const t=Pt(jr,null,!1);return Ce(t,_e),t.teardown=e,t}function Fn(e){Ls();var t=X.f,n=!J&&(t&mt)!==0&&(t&Nr)===0;if(n){var r=he;(r.e??(r.e=[])).push(e)}else return co(e)}function co(e){return Pt(Lr|Ya,e,!1)}function Ns(e){Qt.ensure();const t=Pt(Ht|un,e,!0);return(n={})=>new Promise(r=>{n.outro?bn(t,()=>{Me(t),r(void 0)}):(Me(t),r(void 0))})}function uo(e){return Pt(Lr,e,!1)}function qs(e){return Pt(Or|un,e,!0)}function Xr(e,t=0){return Pt(jr|t,e,!0)}function z(e,t=[],n=[],r=[]){Ps(r,t,n,i=>{Pt(jr,()=>e(...i.map(a)),!0)})}function wr(e,t=0){var n=Pt(wt|t,e,!0);return n}function Ve(e){return Pt(mt|un,e,!0)}function po(e){var t=e.teardown;if(t!==null){const n=on,r=J;mo(!0),Ie(null);try{t.call(null)}finally{mo(n),Ie(r)}}}function ho(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&vr(()=>{i.abort(dn)});var r=n.next;n.f&Ht?n.parent=null:Me(n,t),n=r}}function Os(e){for(var t=e.first;t!==null;){var n=t.next;t.f&mt||Me(t),t=n}}function Me(e,t=!0){var n=!1;(t||e.f&Ni)&&e.nodes_start!==null&&e.nodes_end!==null&&($s(e.nodes_start,e.nodes_end),n=!0),ho(e,t&&!n),yr(e,0),Ce(e,bt);var r=e.transitions;if(r!==null)for(const o of r)o.stop();po(e);var i=e.parent;i!==null&&i.first!==null&&fo(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function $s(e,t){for(;e!==null;){var n=e===t?null:Un(e);e.remove(),e=n}}function fo(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function bn(e,t,n=!0){var r=[];ei(e,r,!0),vo(r,()=>{n&&Me(e),t&&t()})}function vo(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function ei(e,t,n){if(!(e.f&je)){if(e.f^=je,e.transitions!==null)for(const s of e.transitions)(s.is_global||n)&&t.push(s);for(var r=e.first;r!==null;){var i=r.next,o=(r.f&Gt)!==0||(r.f&mt)!==0&&(e.f&wt)!==0;ei(r,t,o?n:!1),r=i}}}function ti(e){go(e,!0)}function go(e,t){if(e.f&je){e.f^=je,e.f&_e||(Ce(e,Ae),Xt(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Gt)!==0||(n.f&mt)!==0;go(n,i?t:!1),n=r}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}function wo(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:Un(n);t.append(n),n=i}}let jt=!1;function mr(e){jt=e}let on=!1;function mo(e){on=e}let J=null,ut=!1;function Ie(e){J=e}let X=null;function dt(e){X=e}let He=null;function yo(e){J!==null&&(He===null?He=[e]:He.push(e))}let Ee=null,Oe=0,Ge=null;function Us(e){Ge=e}let bo=1,Vn=0,an=Vn;function xo(e){an=e}function ko(){return++bo}function Hn(e){var t=e.f;if(t&Ae)return!0;if(t&me&&(e.f&=~Yt),t&yt){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var o=n[i];if(Hn(o)&&Qi(o),o.wv>e.wv)return!0}t&Qe&&Se===null&&Ce(e,_e)}return!1}function _o(e,t,n=!0){var r=e.reactions;if(r!==null&&!(He!=null&&He.includes(e)))for(var i=0;i<r.length;i++){var o=r[i];o.f&me?_o(o,t,!1):t===o&&(n?Ce(o,Ae):o.f&_e&&Ce(o,yt),Xt(o))}}function So(e){var t,n=Ee,r=Oe,i=Ge,o=J,s=He,c=he,l=ut,u=an,f=e.f;Ee=null,Oe=0,Ge=null,J=f&(mt|Ht)?null:e,He=null,hn(e.ctx),ut=!1,an=++Vn,e.ac!==null&&(vr(()=>{e.ac.abort(dn)}),e.ac=null);try{e.f|=qr;var y=e.fn,h=y(),d=e.deps;if(Ee!==null){var g;if(yr(e,Oe),d!==null&&Oe>0)for(d.length=Oe+Ee.length,g=0;g<Ee.length;g++)d[Oe+g]=Ee[g];else e.deps=d=Ee;if(jt&&gr()&&e.f&Qe)for(g=Oe;g<d.length;g++)((t=d[g]).reactions??(t.reactions=[])).push(e)}else d!==null&&Oe<d.length&&(yr(e,Oe),d.length=Oe);if(zn()&&Ge!==null&&!ut&&d!==null&&!(e.f&(me|yt|Ae)))for(g=0;g<Ge.length;g++)_o(Ge[g],e);return o!==null&&o!==e&&(Vn++,Ge!==null&&(i===null?i=Ge:i.push(...Ge))),e.f&Dt&&(e.f^=Dt),h}catch(w){return Ui(w)}finally{e.f^=qr,Ee=n,Oe=r,Ge=i,J=o,He=s,hn(c),ut=l,an=u}}function Fs(e,t){let n=t.reactions;if(n!==null){var r=Oa.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&t.f&me&&(Ee===null||!Ee.includes(t))&&(Ce(t,yt),t.f&Qe&&(t.f^=Qe,t.f&=~Yt),Zi(t),yr(t,0))}function yr(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Fs(e,n[r])}function Gn(e){var t=e.f;if(!(t&bt)){Ce(e,_e);var n=X,r=jt;X=e,jt=!0;try{t&wt?Os(e):ho(e),po(e);var i=So(e);e.teardown=typeof i=="function"?i:null,e.wv=bo;var o;qa&&ds&&e.f&Ae&&e.deps}finally{jt=r,X=n}}}async function Vs(){await Promise.resolve(),vs()}function a(e){var t=e.f,n=(t&me)!==0;if(J!==null&&!ut){var r=X!==null&&(X.f&bt)!==0;if(!r&&!(He!=null&&He.includes(e))){var i=J.deps;if(J.f&qr)e.rv<Vn&&(e.rv=Vn,Ee===null&&i!==null&&i[Oe]===e?Oe++:Ee===null?Ee=[e]:Ee.includes(e)||Ee.push(e));else{(J.deps??(J.deps=[])).push(e);var o=e.reactions;o===null?e.reactions=[J]:o.includes(J)||o.push(J)}}}if(on){if(Lt.has(e))return Lt.get(e);if(n){var s=e,c=s.v;return(!(s.f&_e)&&s.reactions!==null||Po(s))&&(c=Jr(s)),Lt.set(s,c),c}}else n&&!(Se!=null&&Se.has(e))&&(s=e,Hn(s)&&Qi(s),jt&&gr()&&!(s.f&Qe)&&Co(s));if(Se!=null&&Se.has(e))return Se.get(e);if(e.f&Dt)throw e.v;return e.v}function Co(e){if(e.deps!==null){e.f^=Qe;for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),t.f&me&&!(t.f&Qe)&&Co(t)}}function Po(e){if(e.v===ke)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Lt.has(t)||t.f&me&&Po(t))return!0;return!1}function Yn(e){var t=ut;try{return ut=!0,e()}finally{ut=t}}const Hs=-7169;function Ce(e,t){e.f=e.f&Hs|t}const To=new Set,ni=new Set;function Gs(e,t,n,r={}){function i(o){if(r.capture||Kn.call(t,o),!o.cancelBubble)return vr(()=>n?.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?fn(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function pt(e,t,n,r,i){var o={capture:r,passive:i},s=Gs(e,t,n,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Qr(()=>{t.removeEventListener(e,s,o)})}function br(e){for(var t=0;t<e.length;t++)To.add(e[t]);for(var n of ni)n(e)}let Wo=null;function Kn(e){var t,n=this,r=n.ownerDocument,i=e.type,o=((t=e.composedPath)==null?void 0:t.call(e))||[],s=o[0]||e.target;Wo=e;var c=0,l=Wo===e&&e.__root;if(l){var u=o.indexOf(l);if(u!==-1&&(n===document||n===window)){e.__root=n;return}var f=o.indexOf(n);if(f===-1)return;u<=f&&(c=u)}if(s=o[c]||e.target,s!==n){$a(e,"currentTarget",{configurable:!0,get(){return s||r}});var y=J,h=X;Ie(null),dt(null);try{for(var d,g=[];s!==null;){var w=s.assignedSlot||s.parentNode||s.host||null;try{var C=s["__"+i];C!=null&&(!s.disabled||e.target===s)&&C.call(s,e)}catch(T){d?g.push(T):d=T}if(e.cancelBubble||w===n||w===null)break;s=w}if(d){for(let T of g)queueMicrotask(()=>{throw T});throw d}}finally{e.__root=n,delete e.currentTarget,Ie(y),dt(h)}}}function Eo(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function xn(e,t){var n=X;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function L(e,t){var n=(t&Ri)!==0,r=(t&ja)!==0,i,o=!e.startsWith("<!>");return()=>{i===void 0&&(i=Eo(o?e:"<!>"+e),n||(i=Ct(i)));var s=r||io?document.importNode(i,!0):i.cloneNode(!0);if(n){var c=Ct(s),l=s.lastChild;xn(c,l)}else xn(s,s);return s}}function Ys(e,t,n="svg"){var r=!e.startsWith("<!>"),i=(t&Ri)!==0,o=`<${n}>${r?e:"<!>"+e}</${n}>`,s;return()=>{if(!s){var c=Eo(o),l=Ct(c);if(i)for(s=document.createDocumentFragment();Ct(l);)s.appendChild(Ct(l));else s=Ct(l)}var u=s.cloneNode(!0);if(i){var f=Ct(u),y=u.lastChild;xn(f,y)}else xn(u,u);return u}}function Nt(e,t){return Ys(e,t,"svg")}function Tt(e=""){{var t=St(e+"");return xn(t,t),t}}function Ye(){var e=document.createDocumentFragment(),t=document.createComment(""),n=St();return e.append(t,n),xn(t,n),e}function S(e,t){e!==null&&e.before(t)}const Ks=["touchstart","touchmove"];function Js(e){return Ks.includes(e)}function N(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n+"")}function Zs(e,t){return Qs(e,t)}const kn=new Map;function Qs(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0}){Is();var c=new Set,l=y=>{for(var h=0;h<y.length;h++){var d=y[h];if(!c.has(d)){c.add(d);var g=Js(d);t.addEventListener(d,Kn,{passive:g});var w=kn.get(d);w===void 0?(document.addEventListener(d,Kn,{passive:g}),kn.set(d,1)):kn.set(d,w+1)}}};l(Br(To)),ni.add(l);var u=void 0,f=Ns(()=>{var y=n??t.appendChild(St());return ys(y,{pending:()=>{}},h=>{if(o){at({});var d=he;d.c=o}i&&(r.$$events=i),u=e(h,r)||{},o&&st()}),()=>{var h;for(var d of c){t.removeEventListener(d,Kn);var g=kn.get(d);--g===0?(document.removeEventListener(d,Kn),kn.delete(d)):kn.set(d,g)}ni.delete(l),y!==n&&((h=y.parentNode)==null||h.removeChild(y))}});return Xs.set(u,f),u}let Xs=new WeakMap;var ht,Wt,Ke,_n,xr,kr,ri;class Ao{constructor(t,n=!0){Ze(this,"anchor"),V(this,ht,new Map),V(this,Wt,new Map),V(this,Ke,new Map),V(this,_n,new Set),V(this,xr,!0),V(this,kr,()=>{var r=ee;if(p(this,ht).has(r)){var i=p(this,ht).get(r),o=p(this,Wt).get(i);if(o)ti(o),p(this,_n).delete(i);else{var s=p(this,Ke).get(i);s&&(p(this,Wt).set(i,s.effect),p(this,Ke).delete(i),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),o=s.effect)}for(const[c,l]of p(this,ht)){if(p(this,ht).delete(c),c===r)break;const u=p(this,Ke).get(l);u&&(Me(u.effect),p(this,Ke).delete(l))}for(const[c,l]of p(this,Wt)){if(c===i||p(this,_n).has(c))continue;const u=()=>{if(Array.from(p(this,ht).values()).includes(c)){var f=document.createDocumentFragment();wo(l,f),f.append(St()),p(this,Ke).set(c,{effect:l,fragment:f})}else Me(l);p(this,_n).delete(c),p(this,Wt).delete(c)};p(this,xr)||!o?(p(this,_n).add(c),bn(l,u,!1)):u()}}}),V(this,ri,r=>{p(this,ht).delete(r);const i=Array.from(p(this,ht).values());for(const[o,s]of p(this,Ke))i.includes(o)||(Me(s.effect),p(this,Ke).delete(o))}),this.anchor=t,B(this,xr,n)}ensure(t,n){var r=ee,i=so();if(n&&!p(this,Wt).has(t)&&!p(this,Ke).has(t))if(i){var o=document.createDocumentFragment(),s=St();o.append(s),p(this,Ke).set(t,{effect:Ve(()=>n(s)),fragment:o})}else p(this,Wt).set(t,Ve(()=>n(this.anchor)));if(p(this,ht).set(r,t),i){for(const[c,l]of p(this,Wt))c===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[c,l]of p(this,Ke))c===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(p(this,kr)),r.ondiscard(p(this,ri))}else p(this,kr).call(this)}}ht=new WeakMap,Wt=new WeakMap,Ke=new WeakMap,_n=new WeakMap,xr=new WeakMap,kr=new WeakMap,ri=new WeakMap;function ii(e){he===null&&Za(),pn&&he.l!==null?el(he).m.push(e):Fn(()=>{const t=Yn(e);if(typeof t=="function")return t})}function el(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}function U(e,t,n=!1){var r=new Ao(e),i=n?Gt:0;function o(s,c){r.ensure(s,c)}wr(()=>{var s=!1;t((c,l=!0)=>{s=!0,o(l,c)}),s||o(!1,null)},i)}function Do(e,t,n,r,i){var o,s=(o=t.$$slots)==null?void 0:o[n],c=!1;s===!0&&(s=t.children,c=!0),s===void 0||s(e,c?()=>r:r)}function Mo(e,t,n){var r=new Ao(e);wr(()=>{var i=t()??null;r.ensure(i,i&&(o=>n(o,i)))},Gt)}function ft(e,t){uo(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Io(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Io(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function tl(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Io(e))&&(r&&(r+=" "),r+=t);return r}function Sn(e){return typeof e=="object"?tl(e):e??""}const Ro=[...`
|
|
2
|
-
\r\f\xA0\v\uFEFF`];function nl(e,t,n){var r=e==null?"":""+e;if(t&&(r=r?r+" "+t:t),n){for(var i in n)if(n[i])r=r?r+" "+i:i;else if(r.length)for(var o=i.length,s=0;(s=r.indexOf(i,s))>=0;){var c=s+o;(s===0||Ro.includes(r[s-1]))&&(c===r.length||Ro.includes(r[c]))?r=(s===0?"":r.substring(0,s))+r.substring(c+1):s=c}}return r===""?null:r}function vt(e,t,n,r,i,o){var s=e.__className;if(s!==n||s===void 0){var c=nl(n,r,o);c==null?e.removeAttribute("class"):t?e.className=c:e.setAttribute("class",c),e.__className=n}else if(o&&i!==o)for(var l in o){var u=!!o[l];(i==null||u!==!!i[l])&&e.classList.toggle(l,u)}return o}function zo(e,t,n=!1){if(e.multiple){if(t==null)return;if(!zr(t))return ls();for(var r of e.options)r.selected=t.includes(Bo(r));return}for(r of e.options){var i=Bo(r);if(Ms(i,t)){r.selected=!0;return}}(!n||t!==void 0)&&(e.selectedIndex=-1)}function rl(e){var t=new MutationObserver(()=>{zo(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Qr(()=>{t.disconnect()})}function Bo(e){return"__value"in e?e.__value:e.value}const il=Symbol("is custom element"),ol=Symbol("is html");function al(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function D(e,t,n,r){var i=sl(e);i[t]!==(i[t]=n)&&(t==="loading"&&(e[Ja]=n),n==null?e.removeAttribute(t):typeof n!="string"&&ll(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function sl(e){return e.__attributes??(e.__attributes={[il]:e.nodeName.includes("-"),[ol]:e.namespaceURI===Na})}var Lo=new Map;function ll(e){var t=e.getAttribute("is")||e.nodeName,n=Lo.get(t);if(n)return n;Lo.set(t,n=[]);for(var r,i=e,o=Element.prototype;o!==i;){r=Ua(i);for(var s in r)r[s].set&&n.push(s);i=zi(i)}return n}function cl(e,t,n=t){var r=new WeakSet;Bs(e,"input",async i=>{var o=i?e.defaultValue:e.value;if(o=oi(e)?ai(o):o,n(o),ee!==null&&r.add(ee),await Vs(),o!==(o=t())){var s=e.selectionStart,c=e.selectionEnd,l=e.value.length;if(e.value=o??"",c!==null){var u=e.value.length;s===c&&c===l&&u>l?(e.selectionStart=u,e.selectionEnd=u):(e.selectionStart=s,e.selectionEnd=Math.min(c,u))}}}),Yn(t)==null&&e.value&&(n(oi(e)?ai(e.value):e.value),ee!==null&&r.add(ee)),Xr(()=>{var i=t();if(e===document.activeElement){var o=cr??ee;if(r.has(o))return}oi(e)&&i===ai(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function oi(e){var t=e.type;return t==="number"||t==="range"}function ai(e){return e===""?null:+e}function jo(e,t){return e===t||e?.[Kt]===t}function ul(e={},t,n,r){return uo(()=>{var i,o;return Xr(()=>{i=o,o=[],Yn(()=>{e!==n(...o)&&(t(e,...o),i&&jo(n(...i),e)&&t(null,...i))})}),()=>{fn(()=>{o&&jo(n(...o),e)&&t(null,...o)})}}),e}let _r=!1;function dl(e){var t=_r;try{return _r=!1,[e(),_r]}finally{_r=t}}function Re(e,t,n,r){var i,o=!pn||(n&Ra)!==0,s=(n&Ba)!==0,c=(n&La)!==0,l=r,u=!0,f=()=>(u&&(u=!1,l=c?Yn(r):r),l),y;if(s){var h=Kt in e||Ka in e;y=((i=cn(e,t))==null?void 0:i.set)??(h&&t in e?v=>e[t]=v:void 0)}var d,g=!1;s?[d,g]=dl(()=>e[t]):d=e[t],d===void 0&&r!==void 0&&(d=f(),y&&(o&&rs(),y(d)));var w;if(o?w=()=>{var v=e[t];return v===void 0?f():(u=!0,v)}:w=()=>{var v=e[t];return v!==void 0&&(l=void 0),v===void 0?l:v},o&&!(n&za))return w;if(y){var C=e.$$legacy;return function(v,k){return arguments.length>0?((!o||!k||C||g)&&y(k?w():v),v):w()}}var T=!1,M=(n&Ia?fr:Kr)(()=>(T=!1,w()));s&&a(M);var F=X;return function(v,k){if(arguments.length>0){const E=k?a(M):o&&s?qe(v):v;return m(M,E),T=!0,l!==void 0&&(l=E),v}return on&&T||F.f&bt?M.v:a(M)}}const No="wineater_consent",pl=["wineater_uid","uniqueUserID","sessionID"];function hl(){try{const e=window.localStorage.getItem(No);return e==="granted"||e==="denied"?e:null}catch{return null}}let si=K(qe(hl())),Sr=K(null),Cr=null;function fl(e){Cr=e}function vl(e){m(Sr,e,!0)}function qo(){var e;return((e=window?.wineaterData)==null?void 0:e.requireConsent)===!0?!0:a(Sr)===!0}function gl(){return Cr?!1:a(Sr)!==null&&qo()&&a(si)===null}function Oo(){var e;return((e=window?.wineaterData)==null?void 0:e.tracking)===!1?!1:Cr?Cr():a(Sr)===null?!1:qo()?a(si)==="granted":!0}function wl(){for(const e of pl){try{window.localStorage.removeItem(e)}catch{}try{document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`}catch{}}}const li=new Set;function ml(e){return li.add(e),()=>li.delete(e)}function $o(e){m(si,e,!0);try{window.localStorage.setItem(No,e)}catch{}e==="denied"&&wl();for(const t of li)t(e)}const yl=/^[a-z0-9][a-z0-9-]*\.myshopify\.com$/;function bl(e){if(!e||typeof e!="object")return null;const t=e,n=String(t.shop??"").trim().toLowerCase();if(!yl.test(n))return null;const r=typeof t.root=="string"&&t.root.startsWith("/")?t.root:"/";return{shop:n,locale:typeof t.locale=="string"&&t.locale?t.locale:null,currency:typeof t.currency=="string"&&t.currency?t.currency:null,root:r.endsWith("/")?r:`${r}/`,config:t.config&&typeof t.config=="object"?t.config:null,color:typeof t.color=="string"&&/^#[0-9a-f]{3,8}$/i.test(t.color)?t.color:null}}let ci;function nt(){var e;return ci===void 0&&(ci=typeof window>"u"?null:bl((e=window.wineaterData)==null?void 0:e.shopify)),ci}function Uo(e){var t;const n=(t=/[?&]variant=(\d+)/.exec(e.url??""))==null?void 0:t[1];if(n)return n;const r=String(e.itemId??"").trim();return/^\d+$/.test(r)?r:null}function xl(e,t,n){const r=i=>(i??"").toLowerCase().split("-")[0];for(const i of[r(e),r(t)])if(i&&n.includes(i))return i;return"en"}function kl(e,t){return e===429&&t?.code==="quota_exceeded"}class Fo extends Error{constructor(){super("quota_exceeded"),this.name="QuotaExceededError"}}let ui=null;function Vo(){var e,t;if(ui)return ui;let n=null;try{n=window.sessionStorage.getItem("wineater_sf_session")}catch{}if(!n){n=((t=(e=globalThis.crypto)==null?void 0:e.randomUUID)==null?void 0:t.call(e))??`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;try{window.sessionStorage.setItem("wineater_sf_session",n)}catch{}}return ui=n,n}function _l(){var e;try{const t=(e=window.Shopify)==null?void 0:e.customerPrivacy;if(t&&typeof t.analyticsProcessingAllowed=="function")return t.analyticsProcessingAllowed()===!0}catch{}return!1}function Sl(){try{const e=window.Shopify;if(e!=null&&e.customerPrivacy||typeof e?.loadFeatures!="function")return;e.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],()=>{})}catch{}}function Ho(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}function di(e,t,n){let r="";if(n){const i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3),r="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+r+"; path=/; secure; samesite=strict"}function pi(e){const t=e+"=",n=document.cookie.split(";");for(let r=0;r<n.length;r++){let i=n[r];for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null}function Cl(){const e="uniqueUserID";let t=pi(e);return t||(t=Ho(),di(e,t,365)),t}function ze(e,t,n={},r={}){var i;const o=(i=nt())==null?void 0:i.shop,s=o?"https://api.wineater.com/shopify/storefront/events":"https://api.wineater.com/api/widget-events",c=o?{shop:o}:{},l=new Date().toISOString(),u=navigator.language.split("-")[1]||null,f=navigator.language.split("-")[0]||"en";if(!Oo()){const w={...c,event_type:e,store_id:t,event_time:l,data:n,meta:{...r,anonymous:!0},device_info:{device:window.innerWidth<768?"mobile":"desktop"},region:u,language:f};return fetch(s,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(w),keepalive:!0}).catch(C=>{console.debug("[wineater] anonymous event failed:",C?.message)})}let y=pi("uniqueUserID");y||(y=Cl());const h={user_agent:navigator.userAgent,screen_width:window.screen.width,screen_height:window.screen.height,language:navigator.language,platform:navigator.platform};let d=pi("sessionID");d||(d=Ho(),di("sessionID",d,1));const g={...c,event_type:e,store_id:t,session_id:d,event_time:l,data:n,meta:{...r,user_id:y},device_info:h,region:u,language:f};return fetch(s,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(g),keepalive:!!o}).then(w=>w.ok?w.json():w.json().then(C=>{throw new Error(C.message||"Failed to track widget event")})).catch(w=>{throw console.error("Widget event tracking error:",w),w})}function Pl(e){return{id:String(e.ID),appellation:e.Appellation||null,country:e.Country||null,grape:e.Grape,image:e.Image,price:Number(e.Price),producer:e.Producer||null,region:e.Region,score:e.Score?Number(e.Score):null,shortDescription:e["Short Description"]||null,store:e.Store,storeId:e.Store_id||null,tags:Array.isArray(e.Tags)?e.Tags.map(String):[],title:e.Title,type:e.Type,url:e.Url||null,vintage:e.Vintage?Number(e.Vintage):null,pairingRecommendation:e.pairing_recommendation||null,total:e.Total?Number(e.Total):null,itemId:e.item_id||null,isPromote:e.is_promote?!!e.is_promote:null,stock:e.stock?Number(e.stock):null,byTheGlass:!!e.by_the_glass,glassPrice:e.glass_price!=null?Number(e.glass_price):null}}function Jn(e){return{id:String(e.id),title:String(e.title),description:String(e.description),region:String(e.region),price:Number(e.price),grape:String(e.grape),appellation:e.appellation?String(e.appellation):null,url:e.url?String(e.url):null,store:String(e.store),storeId:e.storeId?String(e.storeId):null,image:String(e.image),country:e.country?String(e.country):null,vintage:e.vintage?Number(e.vintage):null,tags:Array.isArray(e.tags)?e.tags.map(String):[],score:e.score?Number(e.score):null,total:e.total?Number(e.total):null,isPromote:e.is_promote?!!e.is_promote:null,stock:e.stock?Number(e.stock):null,distance:Number(e.distance),reason:String(e.reason),type:String(e.type),byTheGlass:!!e.by_the_glass,glassPrice:e.glass_price!=null?Number(e.glass_price):null}}function Tl(e){return{recommendations:(e.recommendations||[]).filter(Boolean).map(Jn),hasMore:!!e.has_more}}const Zn="wineater_uid",Wl=365;let Pr=null;function Go(){const e=globalThis.crypto;if(e!=null&&e.randomUUID)return e.randomUUID();const t=new Uint8Array(16);if(e!=null&&e.getRandomValues)e.getRandomValues(t);else for(let r=0;r<16;r++)t[r]=Math.random()*256|0;t[6]=t[6]&15|64,t[8]=t[8]&63|128;const n=Array.from(t,r=>r.toString(16).padStart(2,"0")).join("");return`${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20)}`}const Yo=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function Ko(e){try{const t=e+"=";for(const n of document.cookie.split(";")){const r=n.trim();if(r.startsWith(t))return decodeURIComponent(r.slice(t.length))}}catch{}return null}function El(e,t){try{const n=new Date(Date.now()+Wl*864e5).toUTCString();document.cookie=`${e}=${encodeURIComponent(t)}; expires=${n}; path=/; SameSite=Lax; Secure`}catch{}}function Jo(){return Oo()}ml(e=>{e==="denied"&&(Pr=null)});function hi(){if(!Jo())return null;if(Pr)return Pr;let e=null;try{e=window.localStorage.getItem(Zn)}catch{}(!e||!Yo.test(e))&&(e=Ko(Zn)),(!e||!Yo.test(e))&&(e=Go());try{window.localStorage.setItem(Zn,e)}catch{}return Ko(Zn)!==e&&El(Zn,e),Pr=e,e}function Zo(){return Go()}const Al=2e3,Qo=100;let Tr=null,Cn=[],Qn=null,Xo=!1;function Dl(e){Tr=e,!(Xo||typeof document>"u")&&(Xo=!0,document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Xn()}),window.addEventListener("pagehide",()=>void Xn()))}function sn(e){var t;if(!(!Jo()||!Tr)&&!(!((t=e.sku_ids)!=null&&t.length)&&e.type!=="more")){if(Cn.push(e),Cn.length>=Qo){Xn();return}Qn||(Qn=setTimeout(()=>void Xn(),Al))}}async function Xn(){if(Qn&&(clearTimeout(Qn),Qn=null),!Tr||Cn.length===0)return;const e=hi();if(!e){Cn=[];return}const t=Cn.splice(0,Qo);try{await Tr({uid:e,events:t})}catch(n){console.debug("[wineater] feedback flush failed:",n?.message)}Cn.length>0&&Xn()}const Ml="X-Wineater-Uid";class ea extends Error{constructor(t,n){super(`API call failed with status ${t}: ${n?.message||"No additional error information"}`),Ze(this,"status"),Ze(this,"data"),this.status=t,this.data=n}}var er,Wr,Pn,tr,nr,Pe,fi,qt,vi,gi,ta;class Il{constructor(t,n="1"){V(this,Pe),V(this,er,"https://api.wineater.com/"),V(this,Wr),V(this,Pn),V(this,tr,!1),V(this,nr,null),B(this,Wr,t),B(this,Pn,n)}async getInstantRecommendations(){var t;try{const n=(t=nt())==null?void 0:t.shop,r=n?"shopify/storefront/instant":p(this,Pn)==="2"?"dish/recommendations/instant/v2":"dish/recommendations/instant",{data:i,headers:o}=await G(this,Pe,vi).call(this,r,n?G(this,Pe,gi).call(this,{}):{});return{wines:i.filter(Boolean).map(Pl),profileHash:o.get("X-Wineater-Profile")||null}}catch(n){throw new Error(`Error in getInstantRecommendations: ${n.message}`)}}async getWineRecommendationsSearch(t,n){if(nt())return G(this,Pe,ta).call(this,t,n);try{const r=p(this,Pn)==="2"?"dish/recommendations/search/v2":"dish/recommendations/search";return(await G(this,Pe,qt).call(this,r,n?{text:t,query_id:n}:{text:t})).filter(Boolean).map(Jn)}catch(r){throw new Error(`Error in getWineRecommendations: ${r.message}`)}}async searchStream(t,n,r){const i=()=>this.getWineRecommendationsSearch(t,n);if(p(this,Pn)!=="2"||nt())return i();let o;try{o=await fetch(`${p(this,er)}dish/recommendations/search/v2/stream`,{method:"POST",headers:G(this,Pe,fi).call(this),body:JSON.stringify(n?{text:t,query_id:n}:{text:t})})}catch{return i()}if(!o.ok||!o.body)return i();const s=o.body.getReader(),c=new TextDecoder;let l="",u=null;const f=y=>(y??[]).filter(Boolean).map(Jn);try{for(;;){const{done:y,value:h}=await s.read();h&&(l+=c.decode(h,{stream:!0}));const d=l.split(`
|
|
3
|
-
`);l=y?"":d.pop()??"";for(const g of y?d.filter(Boolean):d){if(!g.trim())continue;const w=JSON.parse(g);if(w.type==="wines")u=f(w.recommendations).map(C=>({...C,reason:""})),r(u);else{if(w.type==="final")return f(w.recommendations);if(w.type==="error")return u||i()}}if(y)break}}catch{return u||i()}return u??i()}async getMoreWineRecommendations(t,n){try{const r=await G(this,Pe,qt).call(this,"dish/recommendations/search/v2/more",{text:t,exclude_ids:n});return Tl(r)}catch(r){throw new Error(`Error in getMoreWineRecommendations: ${r.message}`)}}async getSimilarWines(t){try{return(await G(this,Pe,qt).call(this,"dish/recommendations/similar",{id:t})).filter(Boolean).map(Jn)}catch(n){throw new Error(`Error in getSimilarWines: ${n.message}`)}}async postEvents(t){await G(this,Pe,qt).call(this,"events",t,{keepalive:!0})}setLanguage(t){B(this,nr,t)}async getShopifyConfig(){const t=nt().shop;return G(this,Pe,qt).call(this,`shopify/storefront/config?shop=${encodeURIComponent(t)}`,void 0,{method:"GET"})}async getStoreConfig(){try{return await G(this,Pe,qt).call(this,"stores/store",{})}catch(t){throw console.error("Error fetching store configuration:",t),t}}}er=new WeakMap,Wr=new WeakMap,Pn=new WeakMap,tr=new WeakMap,nr=new WeakMap,Pe=new WeakSet,fi=function(){const e={"Content-Type":"application/json",Authorization:`Bearer ${p(this,Wr)}`};if(!p(this,tr)){const t=hi();t&&(e[Ml]=t)}return e},qt=async function(e,t,n={}){return(await G(this,Pe,vi).call(this,e,t,n)).data},vi=async function(e,t,n={}){const r=()=>({method:n.method??"POST",headers:G(this,Pe,fi).call(this),body:t===void 0?void 0:JSON.stringify(t),keepalive:n.keepalive});let i;try{i=await fetch(`${p(this,er)}${e}`,r())}catch(c){if(p(this,tr)||!hi())throw c;B(this,tr,!0),i=await fetch(`${p(this,er)}${e}`,r())}const o=await i.text();let s=null;try{s=o?JSON.parse(o):null}catch{if(i.ok)throw new Error("API returned invalid JSON")}if(!i.ok)throw new ea(i.status,s);return{data:s,headers:i.headers}},gi=function(e){const t=nt().shop;return p(this,nr)?{...e,shop:t,language:p(this,nr)}:{...e,shop:t}},ta=async function(e,t){try{const n=G(this,Pe,gi).call(this,{text:e,session_id:Vo(),...t?{query_id:t}:{}});return(await G(this,Pe,qt).call(this,"shopify/storefront/search",n)??[]).filter(Boolean).map(Jn)}catch(n){throw n instanceof ea&&kl(n.status,n.data)?new Fo:new Error(`Error in getWineRecommendations: ${n.message}`)}};const Rl="HeUw6IXuhvz6tRuXdPEGEbj3SGQ3Q2YtEc1Z8jd41Kg9LtyPb4Epu0to31SYIadG";var na;const ra=((na=window?.wineaterData)==null?void 0:na.CLIENT_TOKEN)||Rl;var ia;const wi=String(((ia=window?.wineaterData)==null?void 0:ia.apiVersion)||"1"),Et=new Il(ra,wi);Dl(e=>Et.postEvents(e));function zl(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n)|0;return(t>>>0).toString(36)}const mi=`${zl(ra)}:${wi}`,oa="wineater:v1:";function yi(e,t){try{const n=window.localStorage.getItem(oa+e);if(!n)return null;const r=JSON.parse(n);return Date.now()-r.savedAt>t?null:r.value}catch{return null}}function bi(e,t){try{const n={savedAt:Date.now(),value:t};window.localStorage.setItem(oa+e,JSON.stringify(n))}catch{}}const Be={WIDGET_INITIALIZED:"widget_initialized",WIDGET_LOADED:"widget_loaded",SEARCH_PERFORMED:"search_performed",SEARCH_RESULTS_DISPLAYED:"search_results_displayed",NO_RESULTS_FOUND:"no_results_found",WINE_CARD_HOVER:"wine_card_hover",WINE_CARD_CLICK:"wine_card_click",WINE_DETAILS_VIEWED:"wine_details_viewed",WINE_DETAILS_CLOSED:"wine_details_closed",BUY_BUTTON_CLICKED:"buy_button_clicked",SHOW_MORE_CLICKED:"show_more_clicked",SIMILAR_WINES_CLICKED:"similar_wines_clicked",FILTER_APPLIED:"filter_applied",LANGUAGE_CHANGED:"language_changed",ERROR_OCCURRED:"error_occurred",MOBILE_VIEW_ACTIVATED:"mobile_view_activated"},Bl={lang:"fr",welcomeMessage:"Quel plat allez-vous d\xE9guster ? D\xE9crivez-le-moi et je vous proposerai le vin qui l'accompagnera parfaitement.",noResultsFound:"Aucun r\xE9sultat trouv\xE9.",somethingWentWrong:"D\xE9sol\xE9, quelque chose a mal tourn\xE9.",chatButton1:"Trouvez l'accord parfait",chatButton2:"Associez le vin",chatButton3:"Obtenez des conseils",chatTitle:"Accord Mets & Vins \u{1F377}",chatSubtitle:"D\xE9crivez votre plat et obtenez une recommandation en 30 secondes",inputPlaceholder:"ex., Salade de thon",sendButton:"Accorder",poweredBy:"Propuls\xE9 par",price:"Prix",region:"R\xE9gion",type:"Type",reason:"Suggestion",moreInfo:"Plus d'infos",tryAgain:"R\xE9essayer",similarWines:"Vins similaires",byTheGlass:"Au verre",winePairingIntro:"Pour ce vin, voici quelques suggestions de plats :",askForDinner:"Que voulez-vous manger ce soir?",clearChatButton:"Effacer le chat",widgetTitle:"TROUVEZ VOTRE VIN PARFAIT",widgetSubtitle:"Partagez tout ce que vous avez en t\xEAte\u2014votre repas, humeur, budget ou occasion\u2014et notre sommelier IA vous recommandera le vin parfait en quelques secondes",searchPlaceholder:"Entrez un mot-cl\xE9 ou une description","wineDetails.reason":"Raison","wineDetails.price":"Prix","wineDetails.region":"R\xE9gion","wineDetails.type":"Type","wineDetails.moreInfo":"Plus d'infos","wineDetails.code":"Code","wineDetails.buy":"Acheter",searchButton:"Rechercher",priceRange:"Gamme de prix",wineColor:"Couleur du vin",intensity:"Intensit\xE9",red:"Rouge",white:"Blanc",rose:"Ros\xE9",light:"L\xE9ger",medium:"Moyen",full:"Puissant",barTitle:"S\xE9lection du bar",barSubtitle:"Choisissez vos plats ci-dessous et cliquez sur \xABEnvoyer\xBB",barSendButton:"Envoyer",barResetButton:"R\xE9initialiser",barName:"Nom du bar",barNotesPlaceholder:"Entrez vos souhaits ici...",placeholderSuggestions:["Vin pour les p\xE2tes","Parfait avec du poisson","Recommand\xE9 pour une soir\xE9e"],headerLine1:"Partagez tout ce qui vous passe par la t\xEAte \u2014",headerLine2:"\u2014 et obtenez des recommandations de vin parfait en quelques secondes",headerMeal:"repas",headerMood:"humeur",headerBudget:"budget",headerOccasion:"occasion",headerOr:"ou",errorMessage:"Une erreur est survenue. Veuillez r\xE9essayer plus tard.",noResultsMessage:"Aucun r\xE9sultat trouv\xE9 pour votre recherche. Veuillez essayer une autre requ\xEAte.",ai_sommelier:"AI sommelier",consentText:"L'assistant vin enregistre un identifiant anonyme sur cet appareil pour apprendre vos go\xFBts et am\xE9liorer ses recommandations. Vous pouvez l'utiliser sans accepter.",consentAccept:"Accepter",consentDecline:"Refuser",consentPrivacy:"Politique de confidentialit\xE9",addToCart:"Ajouter au panier",addedToCart:"Ajout\xE9",sommelierResting:"Notre sommelier se repose. D\xE9couvrez notre s\xE9lection ci-dessous."},Ll={lang:"es",welcomeMessage:"\xBFQu\xE9 vas a comer? Cu\xE9ntame tu plato y te recomendar\xE9 el maridaje perfecto.",noResultsFound:"No se encontraron resultados.",somethingWentWrong:"Lo sentimos, algo sali\xF3 mal.",chatButton1:"Encuentra tu maridaje",chatButton2:"Combina vino ya",chatButton3:"Recibe asesor\xEDa ahora",chatTitle:"Maridaje de Vinos \u{1F377}",chatSubtitle:"Describe tu comida y obt\xE9n una recomendaci\xF3n en 30 segundos",inputPlaceholder:"ej., Ensalada de at\xFAn",sendButton:"Combinar",poweredBy:"Desarrollado por",price:"Precio",region:"Regi\xF3n",type:"Tipo",reason:"Sugerencia",moreInfo:"M\xE1s info",tryAgain:"Probar otra vez",similarWines:"Vinos similares",byTheGlass:"Por copa",winePairingIntro:"Para este vino, aqu\xED tienes algunas sugerencias de platos:",askForDinner:"\xBFQu\xE9 te gustar\xEDa cenar?",clearChatButton:"Limpiar el chat",widgetTitle:"ENCUENTRA TU VINO PERFECTO",widgetSubtitle:"Comparte cualquier cosa que tengas en mente\u2014tu comida, estado de \xE1nimo, presupuesto o evento\u2014y nuestro sommelier de IA te recomendar\xE1 el vino perfecto en segundos",searchPlaceholder:"Escribe una palabra clave o descripci\xF3n","wineDetails.reason":"Raz\xF3n","wineDetails.price":"Precio","wineDetails.region":"Regi\xF3n","wineDetails.type":"Tipo","wineDetails.code":"C\xF3digo","wineDetails.moreInfo":"M\xE1s informaci\xF3n","wineDetails.buy":"Comprar",searchButton:"Buscar",priceRange:"Rango de precios",wineColor:"Color del vino",intensity:"Intensidad",red:"Tinto",white:"Blanco",rose:"Rosado",light:"Ligero",medium:"Medio",full:"Intenso",barTitle:"Platos de Bar",barSubtitle:"Selecciona de la lista y presiona \xABEnviar\xBB",barSendButton:"Enviar",barResetButton:"Reiniciar",barName:"Nombre del bar",barNotesPlaceholder:"Agrega tus comentarios aqu\xED...",placeholderSuggestions:["Vino para pasta","Perfecto con pescado","Recomendado para una fiesta"],headerLine1:"Comparte cualquier cosa que tengas en mente \u2014",headerLine2:"\u2014 y obt\xE9n recomendaciones del vino perfecto en cuesti\xF3n de segundos",headerMeal:"comida",headerMood:"estado de \xE1nimo",headerBudget:"presupuesto",headerOccasion:"ocasi\xF3n",headerOr:"o",errorMessage:"Algo sali\xF3 mal. Por favor, int\xE9ntalo de nuevo m\xE1s tarde.",noResultsMessage:"No se encontraron resultados para tu b\xFAsqueda. Por favor, intenta con otra consulta.",ai_sommelier:"AI sommelier",consentText:"El asistente de vinos guarda un identificador an\xF3nimo en este dispositivo para conocer tus gustos y mejorar las recomendaciones. Puedes usarlo sin aceptar.",consentAccept:"Aceptar",consentDecline:"Rechazar",consentPrivacy:"Pol\xEDtica de privacidad",addToCart:"A\xF1adir al carrito",addedToCart:"A\xF1adido",sommelierResting:"Nuestro sumiller est\xE1 descansando. Descubre nuestra selecci\xF3n."},jl={lang:"en",welcomeMessage:"What are you planning to eat? Share your dish and I'll recommend the perfect wine pairing for your meal.",noResultsFound:"No results found.",somethingWentWrong:"Sorry, something went wrong.",chatButton1:"Find Your Pairing",chatButton2:"Pair Wine Now",chatButton3:"Get Wine Advice",chatTitle:"Wine Pairing Assistant \u{1F377}",chatSubtitle:"Describe your meal and get a recommendation in 30 seconds",inputPlaceholder:"e.g., Tuna salad",sendButton:"Match",poweredBy:"Powered by",price:"Price",region:"Region",type:"Type",reason:"Suggestion",moreInfo:"More info",tryAgain:"Try again",similarWines:"Similar wines",byTheGlass:"By the glass",winePairingIntro:"For this wine, here are some suggested dishes:",askForDinner:"What would you like to have for dinner?",clearChatButton:"Clear Chat",widgetTitle:"FIND YOUR PERFECT WINE",widgetSubtitle:"Share anything on your mind\u2014your meal, mood, budget, or occasion\u2014and our AI sommelier will recommend the perfect wine in seconds",searchPlaceholder:"Enter a keyword or description","wineDetails.price":"Price","wineDetails.region":"Region","wineDetails.type":"Type","wineDetails.moreInfo":"More info","wineDetails.reason":"Reason","wineDetails.code":"Code","wineDetails.buy":"Buy",searchButton:"Search",priceRange:"Price Range",wineColor:"Wine Color",intensity:"Intensity",red:"Red",white:"White",rose:"Ros\xE9",light:"Light",medium:"Medium",full:"Full",barTitle:"Bar Dishes",barSubtitle:"Select dishes below and click 'Send'",barSendButton:"Send",barResetButton:"Reset",barName:"Bar Name",barNotesPlaceholder:"Add your wishes here...",placeholderSuggestions:["Wine for pasta","Perfect with fish","Recommended for a party"],headerLine1:"Share anything on your mind \u2014",headerLine2:"\u2014 and get recommendations of the perfect wine in seconds",headerMeal:"meal",headerMood:"mood",headerBudget:"budget",headerOccasion:"occasion",headerOr:"or",errorMessage:"Something went wrong. Please try again later.",noResultsMessage:"No results found for your search. Please try a different query.",ai_sommelier:"AI sommelier",consentText:"The wine assistant stores an anonymous identifier on this device to learn your taste and improve recommendations. You can use it without accepting.",consentAccept:"Accept",consentDecline:"Decline",consentPrivacy:"Privacy policy",addToCart:"Add to cart",addedToCart:"Added",sommelierResting:"Our sommelier is resting. Browse our picks below."},Nl={lang:"sr",welcomeMessage:"\u0160ta planirate da jedete? Podelite svoje jelo i preporu\u010Di\u0107u vam savr\u0161eno vino uz obrok.",noResultsFound:"Nema rezultata.",somethingWentWrong:"Izvinite, ne\u0161to je po\u0161lo po zlu.",chatButton1:"Prona\u0111i vino",chatButton2:"Upari vino sada",chatButton3:"Zatra\u017Ei preporuku",chatTitle:"Asistent za uparivanje vina \u{1F377}",chatSubtitle:"Opi\u0161ite svoj obrok i dobijte preporuku za 30 sekundi",inputPlaceholder:"npr. Tuna salata",sendButton:"Upari",poweredBy:"Pokre\u0107e",price:"Cena",region:"Regija",type:"Tip",reason:"Preporuka",moreInfo:"Vi\u0161e informacija",tryAgain:"Poku\u0161aj ponovo",similarWines:"Sli\u010Dna vina",byTheGlass:"Na \u010Da\u0161u",winePairingIntro:"Za ovo vino, preporu\u010Duju se slede\u0107a jela:",askForDinner:"\u0160ta biste \u017Eeleli za ve\u010Deru?",clearChatButton:"Obri\u0161i razgovor",widgetTitle:"PRONA\u0110ITE SAVR\u0160ENO VINO",widgetSubtitle:"Podelite bilo \u0161ta \u2014 obrok, raspolo\u017Eenje, bud\u017Eet ili priliku \u2014 i na\u0161 AI somelijer \u0107e vam za par sekundi preporu\u010Diti vino",searchPlaceholder:"Unesite klju\u010Dnu re\u010D ili opis","wineDetails.price":"Cena","wineDetails.region":"Regija","wineDetails.type":"Tip","wineDetails.moreInfo":"Vi\u0161e informacija","wineDetails.reason":"Razlog","wineDetails.code":"\u0160ifra","wineDetails.buy":"Kupi",searchButton:"Pretraga",priceRange:"Cenovni raspon",wineColor:"Boja vina",intensity:"Intenzitet",red:"Crveno",white:"Belo",rose:"Roze",light:"Lako",medium:"Srednje",full:"Puno",barTitle:"Jela iz bara",barSubtitle:"Izaberite jela ispod i kliknite 'Po\u0161alji'",barSendButton:"Po\u0161alji",barResetButton:"Resetuj",barName:"Naziv bara",barNotesPlaceholder:"Dodajte svoje \u017Eelje ovde...",placeholderSuggestions:["Vino uz pastu","Savr\u0161eno uz ribu","Preporuka za \u017Eurku"],headerLine1:"Podelite bilo \u0161ta \u0161to vam je na umu \u2014",headerLine2:"\u2014 i dobijte preporuke za savr\u0161eno vino za par sekundi",headerMeal:"obrok",headerMood:"raspolo\u017Eenje",headerBudget:"bud\u017Eet",headerOccasion:"prilika",headerOr:"ili",errorMessage:"Ne\u0161to je po\u0161lo po zlu. Molimo poku\u0161ajte ponovo kasnije.",noResultsMessage:"Nema rezultata za va\u0161u pretragu. Molimo poku\u0161ajte sa druga\u010Dijim upitom.",ai_sommelier:"AI sommelier",consentText:"Vinski asistent \u010Duva anonimni identifikator na ovom ure\u0111aju kako bi upoznao va\u0161 ukus i pobolj\u0161ao preporuke. Mo\u017Eete ga koristiti i bez prihvatanja.",consentAccept:"Prihvati",consentDecline:"Odbij",consentPrivacy:"Politika privatnosti",addToCart:"Dodaj u korpu",addedToCart:"Dodato",sommelierResting:"Na\u0161 somelijer se odmara. Pogledajte na\u0161 izbor ispod."},ql={lang:"de",welcomeMessage:"Was m\xF6chten Sie essen? Beschreiben Sie Ihr Gericht und ich empfehle Ihnen den perfekten Wein dazu.",noResultsFound:"Keine Ergebnisse gefunden.",somethingWentWrong:"Entschuldigung, etwas ist schief gelaufen.",chatButton1:"Finde Dein Pairing",chatButton2:"Wein jetzt w\xE4hlen",chatButton3:"Erhalte Weinberatung",chatTitle:"Wein & Speisen \u{1F377}",chatSubtitle:"Beschreiben Sie Ihr Gericht und erhalten Sie in 30 Sekunden eine Empfehlung",inputPlaceholder:"z.B., Thunfischsalat",sendButton:"Kombinieren",poweredBy:"Unterst\xFCtzt von",price:"Preis",region:"Region",type:"Typ",reason:"Anregung",moreInfo:"Mehr Info",tryAgain:"Nochmal versuchen",similarWines:"\xC4hnliche Weine",byTheGlass:"Glasweise",winePairingIntro:"F\xFCr diesen Wein gibt es folgende Essensvorschl\xE4ge:",askForDinner:"Was m\xF6chten Sie zum Abendessen essen?",clearChatButton:"Chat l\xF6schen",widgetTitle:"FINDEN SIE IHREN PERFEKTEN WEIN",widgetSubtitle:"Teilen Sie alles, was Ihnen in den Sinn kommt\u2014Ihre Mahlzeit, Stimmung, Ihr Budget oder Anlass\u2014und unser KI-Sommelier empfiehlt Ihnen in Sekunden den perfekten Wein",placeholderSuggestions:["Wein f\xFCr Pasta","Perfekt zu Fisch","Empfohlen f\xFCr eine Party"],searchPlaceholder:"Geben Sie ein Stichwort oder eine Beschreibung ein","wineDetails.price":"Preis","wineDetails.region":"Region","wineDetails.type":"Typ","wineDetails.moreInfo":"Mehr Info","wineDetails.reason":"Grund","wineDetails.code":"Code","wineDetails.buy":"Kaufen",searchButton:"Suche",priceRange:"Preisspanne",wineColor:"Weinfarbe",intensity:"Intensit\xE4t",red:"Rot",white:"Wei\xDF",rose:"Ros\xE9",light:"Leicht",medium:"Mittel",full:"Voll",barTitle:"Bar-Auswahl",barSubtitle:"W\xE4hlen Sie Ihre Gerichte und klicken Sie auf 'Senden'",barSendButton:"Senden",barResetButton:"Zur\xFCcksetzen",barName:"Name der Bar",headerLine1:"Teilen Sie alles, was Ihnen durch den Kopf geht \u2014",headerLine2:"\u2014 und erhalten Sie in Sekundenschnelle Empfehlungen f\xFCr den perfekten Wein",headerMeal:"Mahlzeit",headerMood:"Stimmung",headerBudget:"Budget",headerOccasion:"Anlass",headerOr:"oder",errorMessage:"Etwas ist schief gelaufen. Bitte versuchen Sie es sp\xE4ter erneut.",noResultsMessage:"Keine Ergebnisse f\xFCr Ihre Suche gefunden. Bitte versuchen Sie es mit einer anderen Anfrage.",ai_sommelier:"AI sommelier",consentText:"Der Weinassistent speichert eine anonyme Kennung auf diesem Ger\xE4t, um Ihren Geschmack kennenzulernen und Empfehlungen zu verbessern. Sie k\xF6nnen ihn auch ohne Zustimmung nutzen.",consentAccept:"Akzeptieren",consentDecline:"Ablehnen",consentPrivacy:"Datenschutzerkl\xE4rung",addToCart:"In den Warenkorb",addedToCart:"Hinzugef\xFCgt",sommelierResting:"Unser Sommelier macht gerade Pause. Entdecken Sie unsere Auswahl."},Ol={lang:"ukr",welcomeMessage:"\u0429\u043E \u0432\u0438 \u0437\u0431\u0438\u0440\u0430\u0454\u0442\u0435\u0441\u044C \u0457\u0441\u0442\u0438? \u041E\u043F\u0438\u0448\u0456\u0442\u044C \u0441\u0432\u043E\u044E \u0441\u0442\u0440\u0430\u0432\u0443, \u0456 \u044F \u043F\u043E\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u044E \u0432\u0430\u043C \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u0432\u0438\u043D\u043E.",noResultsFound:"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E.",somethingWentWrong:"\u0412\u0438\u0431\u0430\u0447\u0442\u0435, \u0449\u043E\u0441\u044C \u043F\u0456\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",chatButton1:"\u0417\u043D\u0430\u0439\u0442\u0438 \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u043F\u043E\u0454\u0434\u043D\u0430\u043D\u043D\u044F",chatButton2:"\u041F\u0456\u0434\u0456\u0431\u0440\u0430\u0442\u0438 \u0432\u0438\u043D\u043E",chatButton3:"\u041E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043F\u043E\u0440\u0430\u0434\u0443",chatTitle:"\u0421\u043E\u043C\u0435\u043B\u044C\u0454-\u043F\u043E\u043C\u0456\u0447\u043D\u0438\u043A \u{1F377}",chatSubtitle:"\u041E\u043F\u0438\u0448\u0456\u0442\u044C \u0441\u0432\u043E\u044E \u0441\u0442\u0440\u0430\u0432\u0443 \u0456 \u043E\u0442\u0440\u0438\u043C\u0430\u0439\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u044E \u0437\u0430 30 \u0441\u0435\u043A\u0443\u043D\u0434",inputPlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, \u0422\u0443\u043D\u0435\u0446\u044C \u0456\u0437 \u0441\u0430\u043B\u0430\u0442\u043E\u043C",sendButton:"\u041F\u0456\u0434\u0456\u0431\u0440\u0430\u0442\u0438",poweredBy:"\u0420\u043E\u0437\u0440\u043E\u0431\u043B\u0435\u043D\u043E \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0456",price:"\u0426\u0456\u043D\u0430",region:"\u0420\u0435\u0433\u0456\u043E\u043D",type:"\u0422\u0438\u043F",reason:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u044F",moreInfo:"\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435",tryAgain:"\u0421\u043F\u0440\u043E\u0431\u0443\u0432\u0430\u0442\u0438 \u0449\u0435",similarWines:"\u0421\u0445\u043E\u0436\u0456 \u0432\u0438\u043D\u0430",byTheGlass:"\u041D\u0430 \u043A\u0435\u043B\u0438\u0445",winePairingIntro:"\u0414\u043E \u0446\u044C\u043E\u0433\u043E \u0432\u0438\u043D\u0430 \u043F\u0456\u0434\u0445\u043E\u0434\u044F\u0442\u044C \u0442\u0430\u043A\u0456 \u0441\u0442\u0440\u0430\u0432\u0438:",askForDinner:"\u0429\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u043D\u0430 \u0432\u0435\u0447\u0435\u0440\u044E?",clearChatButton:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0447\u0430\u0442",widgetTitle:"\u0417\u041D\u0410\u0419\u0414\u0406\u0422\u042C \u0406\u0414\u0415\u0410\u041B\u042C\u041D\u0415 \u0412\u0418\u041D\u041E",widgetSubtitle:"\u041F\u043E\u0434\u0456\u043B\u0456\u0442\u044C\u0441\u044F \u0442\u0438\u043C, \u0449\u043E \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0434\u0443\u043C\u0446\u0456\u2014\u0457\u0436\u0430, \u043D\u0430\u0441\u0442\u0440\u0456\u0439, \u0431\u044E\u0434\u0436\u0435\u0442 \u0447\u0438 \u043F\u043E\u0434\u0456\u044F\u2014\u0456 \u043D\u0430\u0448 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0454 \u043F\u043E\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454 \u0432\u0430\u043C \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u0432\u0438\u043D\u043E \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",searchPlaceholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043B\u044E\u0447\u043E\u0432\u0435 \u0441\u043B\u043E\u0432\u043E \u0430\u0431\u043E \u043E\u043F\u0438\u0441","wineDetails.reason":"\u041F\u0440\u0438\u0447\u0438\u043D\u0430","wineDetails.price":"\u0426\u0456\u043D\u0430","wineDetails.region":"\u0420\u0435\u0433\u0456\u043E\u043D","wineDetails.type":"\u0422\u0438\u043F","wineDetails.moreInfo":"\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u041A\u0443\u043F\u0438\u0442\u0438",searchButton:"\u041F\u043E\u0448\u0443\u043A",priceRange:"\u0414\u0456\u0430\u043F\u0430\u0437\u043E\u043D \u0446\u0456\u043D",wineColor:"\u041A\u043E\u043B\u0456\u0440 \u0432\u0438\u043D\u0430",intensity:"\u0406\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u0456\u0441\u0442\u044C",red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0435",white:"\u0411\u0456\u043B\u0435",rose:"\u0420\u043E\u0436\u0435\u0432\u0435",light:"\u041B\u0435\u0433\u043A\u0435",medium:"\u0421\u0435\u0440\u0435\u0434\u043D\u0454",full:"\u041F\u043E\u0432\u043D\u0435",barTitle:"\u0417\u0430\u043A\u0443\u0441\u043A\u0438 \u0434\u043E \u0432\u0438\u043D\u0430",barSubtitle:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0441\u0442\u0440\u0430\u0432\u0438 \u043D\u0438\u0436\u0447\u0435 \u0442\u0430 \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \xAB\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438\xBB",barSendButton:"\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438",barResetButton:"\u0421\u043A\u0438\u043D\u0443\u0442\u0438",barName:"\u041D\u0430\u0437\u0432\u0430 \u0431\u0430\u0440\u0443",barNotesPlaceholder:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0432\u0430\u0448\u0456 \u043F\u043E\u0431\u0430\u0436\u0430\u043D\u043D\u044F \u0442\u0443\u0442...",placeholderSuggestions:["\u0412\u0438\u043D\u043E \u0434\u043E \u043F\u0430\u0441\u0442\u0438","\u0406\u0434\u0435\u0430\u043B\u044C\u043D\u043E \u0434\u043E \u0440\u0438\u0431\u0438","\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454\u043C\u043E \u0434\u043B\u044F \u0432\u0435\u0447\u0456\u0440\u043A\u0438"],headerLine1:"\u041F\u043E\u0434\u0456\u043B\u0456\u0442\u044C\u0441\u044F \u0431\u0443\u0434\u044C-\u044F\u043A\u0438\u043C\u0438 \u0432\u0430\u0448\u0438\u043C\u0438 \u0434\u0443\u043C\u043A\u0430\u043C\u0438 \u2014",headerLine2:"\u2014 \u0456 \u043E\u0442\u0440\u0438\u043C\u0430\u0439\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u0457 \u0449\u043E\u0434\u043E \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043D\u0430 \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",headerMeal:"\u0441\u0442\u0440\u0430\u0432\u0430",headerMood:"\u043D\u0430\u0441\u0442\u0440\u0456\u0439",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u043F\u043E\u0434\u0456\u044F",headerOr:"\u0430\u0431\u043E",errorMessage:"\u0429\u043E\u0441\u044C \u043F\u0456\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A. \u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435.",noResultsMessage:"\u0417\u0430 \u0432\u0430\u0448\u0438\u043C \u0437\u0430\u043F\u0438\u0442\u043E\u043C \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442.",ai_sommelier:"AI sommelier",consentText:"\u0412\u0438\u043D\u043D\u0438\u0439 \u043F\u043E\u043C\u0456\u0447\u043D\u0438\u043A \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u043D\u0430 \u0446\u044C\u043E\u043C\u0443 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457 \u0430\u043D\u043E\u043D\u0456\u043C\u043D\u0438\u0439 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440, \u0449\u043E\u0431 \u0432\u0440\u0430\u0445\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0432\u0430\u0448 \u0441\u043C\u0430\u043A \u0456 \u043F\u043E\u043A\u0440\u0430\u0449\u0443\u0432\u0430\u0442\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u0457. \u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043C\u043E\u0436\u043D\u0430 \u0439 \u0431\u0435\u0437 \u0437\u0433\u043E\u0434\u0438.",consentAccept:"\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438",consentDecline:"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438",consentPrivacy:"\u041F\u043E\u043B\u0456\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456",addToCart:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0432 \u043A\u043E\u0448\u0438\u043A",addedToCart:"\u0414\u043E\u0434\u0430\u043D\u043E",sommelierResting:"\u041D\u0430\u0448 \u0441\u043E\u043C\u0435\u043B\u044C\u0454 \u0432\u0456\u0434\u043F\u043E\u0447\u0438\u0432\u0430\u0454. \u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u044C\u0442\u0435 \u043D\u0430\u0448\u0443 \u0434\u043E\u0431\u0456\u0440\u043A\u0443 \u043D\u0438\u0436\u0447\u0435."},$l={lang:"ru",welcomeMessage:"\u0427\u0442\u043E \u0432\u044B \u043F\u043B\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u043F\u043E\u0435\u0441\u0442\u044C? \u041D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0431\u043B\u044E\u0434\u043E, \u0438 \u044F \u043F\u043E\u0434\u0431\u0435\u0440\u0443 \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0438\u043D\u043E \u043A \u043D\u0435\u043C\u0443.",noResultsFound:"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B.",somethingWentWrong:"\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0447\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",chatButton1:"\u041D\u0430\u0439\u0442\u0438 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435",chatButton2:"\u041F\u043E\u0434\u043E\u0431\u0440\u0430\u0442\u044C \u0432\u0438\u043D\u043E",chatButton3:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0441\u043E\u0432\u0435\u0442",chatTitle:"\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u043F\u043E \u043F\u043E\u0434\u0431\u043E\u0440\u0443 \u0432\u0438\u043D\u0430 \u{1F377}",chatSubtitle:"\u041E\u043F\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0431\u043B\u044E\u0434\u043E \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u044E \u0437\u0430 30 \u0441\u0435\u043A\u0443\u043D\u0434",inputPlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0422\u0443\u043D\u0435\u0446 \u0441 \u0441\u0430\u043B\u0430\u0442\u043E\u043C",sendButton:"\u041F\u043E\u0434\u043E\u0431\u0440\u0430\u0442\u044C",poweredBy:"Powered by",price:"\u0426\u0435\u043D\u0430",region:"\u0420\u0435\u0433\u0438\u043E\u043D",type:"\u0422\u0438\u043F",reason:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u044F",moreInfo:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435",tryAgain:"\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0451",similarWines:"\u041F\u043E\u0445\u043E\u0436\u0438\u0435 \u0432\u0438\u043D\u0430",byTheGlass:"\u041F\u043E \u0431\u043E\u043A\u0430\u043B\u0430\u043C",winePairingIntro:"\u041A \u044D\u0442\u043E\u043C\u0443 \u0432\u0438\u043D\u0443 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0431\u043B\u044E\u0434\u0430:",askForDinner:"\u0427\u0442\u043E \u0431\u044B \u0432\u044B \u0445\u043E\u0442\u0435\u043B\u0438 \u043D\u0430 \u0443\u0436\u0438\u043D?",clearChatButton:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0447\u0430\u0442",widgetTitle:"\u041D\u0410\u0419\u0414\u0418\u0422\u042C \u0418\u0414\u0415\u0410\u041B\u042C\u041D\u041E\u0415 \u0412\u0418\u041D\u041E",widgetSubtitle:"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u0432\u0430\u0448\u0438\u043C\u0438 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0435\u043D\u0438\u044F\u043C\u0438 \u2014 \u0431\u043B\u044E\u0434\u043E\u043C, \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435\u043C, \u0431\u044E\u0434\u0436\u0435\u0442\u043E\u043C \u0438\u043B\u0438 \u0441\u043B\u0443\u0447\u0430\u0435\u043C \u2014 \u0438 \u043D\u0430\u0448 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u043F\u043E\u0434\u0431\u0435\u0440\u0451\u0442 \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0438\u043D\u043E \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",searchPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043B\u044E\u0447\u0435\u0432\u043E\u0435 \u0441\u043B\u043E\u0432\u043E \u0438\u043B\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435","wineDetails.price":"\u0426\u0435\u043D\u0430","wineDetails.region":"\u0420\u0435\u0433\u0438\u043E\u043D","wineDetails.type":"\u0422\u0438\u043F","wineDetails.moreInfo":"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435","wineDetails.reason":"\u041F\u0440\u0438\u0447\u0438\u043D\u0430","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u041A\u0443\u043F\u0438\u0442\u044C",searchButton:"\u041F\u043E\u0438\u0441\u043A",priceRange:"\u0414\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0446\u0435\u043D",wineColor:"\u0426\u0432\u0435\u0442 \u0432\u0438\u043D\u0430",intensity:"\u0418\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u043E\u0441\u0442\u044C",red:"\u041A\u0440\u0430\u0441\u043D\u043E\u0435",white:"\u0411\u0435\u043B\u043E\u0435",rose:"\u0420\u043E\u0437\u043E\u0432\u043E\u0435",light:"\u041B\u0451\u0433\u043A\u043E\u0435",medium:"\u0421\u0440\u0435\u0434\u043D\u0435\u0435",full:"\u041F\u043E\u043B\u043D\u043E\u0435",barTitle:"\u0417\u0430\u043A\u0443\u0441\u043A\u0438 \u043A \u0432\u0438\u043D\u0443",barSubtitle:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0431\u043B\u044E\u0434\u0430 \u043D\u0438\u0436\u0435 \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 '\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'",barSendButton:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",barResetButton:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C",barName:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u0440\u0430",barNotesPlaceholder:"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0432\u0430\u0448\u0438 \u043F\u043E\u0436\u0435\u043B\u0430\u043D\u0438\u044F \u0437\u0434\u0435\u0441\u044C...",placeholderSuggestions:["\u0412\u0438\u043D\u043E \u0434\u043B\u044F \u043F\u0430\u0441\u0442\u044B","\u0418\u0434\u0435\u0430\u043B\u044C\u043D\u043E \u043A \u0440\u044B\u0431\u0435","\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u0434\u043B\u044F \u0432\u0435\u0447\u0435\u0440\u0438\u043D\u043A\u0438"],headerLine1:"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u043B\u044E\u0431\u044B\u043C\u0438 \u0432\u0430\u0448\u0438\u043C\u0438 \u043C\u044B\u0441\u043B\u044F\u043C\u0438 \u2014",headerLine2:"\u2014 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u043F\u043E \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u0432\u0438\u043D\u0443 \u0437\u0430 \u0441\u0447\u0438\u0442\u0430\u043D\u043D\u044B\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",headerMeal:"\u0431\u043B\u044E\u0434\u043E",headerMood:"\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u0441\u043B\u0443\u0447\u0430\u0439",headerOr:"\u0438\u043B\u0438",errorMessage:"\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.",noResultsMessage:"\u041F\u043E \u0432\u0430\u0448\u0435\u043C\u0443 \u0437\u0430\u043F\u0440\u043E\u0441\u0443 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0437\u0430\u043F\u0440\u043E\u0441.",ai_sommelier:"AI sommelier",consentText:"\u0412\u0438\u043D\u043D\u044B\u0439 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0435\u0442 \u043D\u0430 \u044D\u0442\u043E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435 \u0430\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u0439 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u0447\u0442\u043E\u0431\u044B \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448 \u0432\u043A\u0443\u0441 \u0438 \u0443\u043B\u0443\u0447\u0448\u0430\u0442\u044C \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438. \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u043C\u043E\u0436\u043D\u043E \u0438 \u0431\u0435\u0437 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u044F.",consentAccept:"\u041F\u0440\u0438\u043D\u044F\u0442\u044C",consentDecline:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C",consentPrivacy:"\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438",addToCart:"\u0412 \u043A\u043E\u0440\u0437\u0438\u043D\u0443",addedToCart:"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E",sommelierResting:"\u041D\u0430\u0448 \u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u043E\u0442\u0434\u044B\u0445\u0430\u0435\u0442. \u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043D\u0430\u0448\u0443 \u043F\u043E\u0434\u0431\u043E\u0440\u043A\u0443 \u043D\u0438\u0436\u0435."},Ul={lang:"kk",welcomeMessage:"\u0421\u0456\u0437 \u043D\u0435 \u0436\u0435\u0433\u0456\u04A3\u0456\u0437 \u043A\u0435\u043B\u0435\u0434\u0456? \u0422\u0430\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u04A3\u044B\u0437, \u043C\u0435\u043D \u043E\u0493\u0430\u043D \u043A\u0435\u0440\u0435\u043C\u0435\u0442 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u0430\u043C\u044B\u043D.",noResultsFound:"\u041D\u04D9\u0442\u0438\u0436\u0435\u043B\u0435\u0440 \u0442\u0430\u0431\u044B\u043B\u043C\u0430\u0434\u044B.",somethingWentWrong:"\u041A\u0435\u0448\u0456\u0440\u0456\u04A3\u0456\u0437, \u0431\u0456\u0440\u0434\u0435\u04A3\u0435 \u0434\u04B1\u0440\u044B\u0441 \u0431\u043E\u043B\u043C\u0430\u0434\u044B.",chatButton1:"\u0421\u04D9\u0439\u043A\u0435\u0441\u0442\u0456\u043A \u0442\u0430\u0431\u0443",chatButton2:"\u0428\u0430\u0440\u0430\u043F \u0442\u0430\u04A3\u0434\u0430\u0443",chatButton3:"\u041A\u0435\u04A3\u0435\u0441 \u0430\u043B\u0443",chatTitle:"\u0428\u0430\u0440\u0430\u043F \u0442\u0430\u04A3\u0434\u0430\u0443\u0448\u044B \u043A\u04E9\u043C\u0435\u043A\u0448\u0456 \u{1F377}",chatSubtitle:"\u0422\u0430\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u04A3\u044B\u0437 \u2014 30 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u04B1\u0441\u044B\u043D\u044B\u0441 \u0430\u043B\u044B\u04A3\u044B\u0437",inputPlaceholder:"\u043C\u044B\u0441\u0430\u043B\u044B, \u0442\u0443\u043D\u0435\u0446 \u0441\u0430\u043B\u0430\u0442\u044B\u043C\u0435\u043D",sendButton:"\u0422\u0430\u04A3\u0434\u0430\u0443",poweredBy:"Powered by",price:"\u0411\u0430\u0493\u0430\u0441\u044B",region:"\u04E8\u04A3\u0456\u0440",type:"\u0422\u04AF\u0440\u0456",reason:"\u04B0\u0441\u044B\u043D\u044B\u0441",moreInfo:"\u0422\u043E\u043B\u044B\u0493\u044B\u0440\u0430\u049B",tryAgain:"\u049A\u0430\u0439\u0442\u0430 \u043A\u04E9\u0440\u0443",similarWines:"\u04B0\u049B\u0441\u0430\u0441 \u0448\u0430\u0440\u0430\u043F\u0442\u0430\u0440",byTheGlass:"\u0411\u043E\u043A\u0430\u043B\u043C\u0435\u043D",winePairingIntro:"\u0411\u04B1\u043B \u0448\u0430\u0440\u0430\u043F\u049B\u0430 \u043A\u0435\u043B\u0435\u0441\u0456 \u0442\u0430\u0493\u0430\u043C\u0434\u0430\u0440 \u0441\u04D9\u0439\u043A\u0435\u0441 \u043A\u0435\u043B\u0435\u0434\u0456:",askForDinner:"\u041A\u0435\u0448\u043A\u0456 \u0430\u0441\u049B\u0430 \u043D\u0435 \u049B\u0430\u043B\u0430\u0439\u0441\u044B\u0437?",clearChatButton:"\u0427\u0430\u0442\u0442\u044B \u0442\u0430\u0437\u0430\u043B\u0430\u0443",widgetTitle:"\u041A\u0415\u0420\u0415\u041C\u0415\u0422 \u0428\u0410\u0420\u0410\u041F\u0422\u042B \u0422\u0410\u0411\u042B\u04A2\u042B\u0417",widgetSubtitle:"\u0422\u0430\u04A3\u0434\u0430\u0443\u043B\u0430\u0440\u044B\u04A3\u044B\u0437\u0434\u044B \u0431\u04E9\u043B\u0456\u0441\u0456\u04A3\u0456\u0437 \u2014 \u0442\u0430\u0493\u0430\u043C, \u043A\u04E9\u04A3\u0456\u043B-\u043A\u04AF\u0439, \u0431\u044E\u0434\u0436\u0435\u0442 \u043D\u0435\u043C\u0435\u0441\u0435 \u0436\u0430\u0493\u0434\u0430\u0439 \u2014 \u0436\u04D9\u043D\u0435 \u0431\u0456\u0437\u0434\u0456\u04A3 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u0441\u0456\u0437\u0433\u0435 \u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u0430\u0434\u044B",searchPlaceholder:"\u041A\u0456\u043B\u0442 \u0441\u04E9\u0437\u0434\u0456 \u043D\u0435\u043C\u0435\u0441\u0435 \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u043C\u0430\u043D\u044B \u0435\u043D\u0433\u0456\u0437\u0456\u04A3\u0456\u0437","wineDetails.price":"\u0411\u0430\u0493\u0430\u0441\u044B","wineDetails.region":"\u04E8\u04A3\u0456\u0440","wineDetails.type":"\u0422\u04AF\u0440\u0456","wineDetails.moreInfo":"\u0422\u043E\u043B\u044B\u0493\u044B\u0440\u0430\u049B","wineDetails.reason":"\u0421\u0435\u0431\u0435\u0431\u0456","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u0421\u0430\u0442\u044B\u043F \u0430\u043B\u0443",searchButton:"\u0406\u0437\u0434\u0435\u0443",priceRange:"\u0411\u0430\u0493\u0430 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u044B",wineColor:"\u0428\u0430\u0440\u0430\u043F \u0442\u04AF\u0441\u0456",intensity:"\u049A\u0430\u043D\u044B\u049B\u0442\u044B\u043B\u044B\u049B",red:"\u049A\u044B\u0437\u044B\u043B",white:"\u0410\u049B",rose:"\u0420\u043E\u0437\u0430\u043B\u044B\u049B",light:"\u0416\u0435\u04A3\u0456\u043B",medium:"\u041E\u0440\u0442\u0430\u0448\u0430",full:"\u0422\u043E\u043B\u044B\u049B",barTitle:"\u0428\u0430\u0440\u0430\u043F\u049B\u0430 \u0430\u0440\u043D\u0430\u043B\u0493\u0430\u043D \u0442\u0456\u0441\u043A\u0435\u0431\u0430\u0441\u0430\u0440\u043B\u0430\u0440",barSubtitle:"\u0422\u04E9\u043C\u0435\u043D\u0434\u0435\u0433\u0456 \u0442\u0430\u0493\u0430\u043C\u0434\u0430\u0440\u0434\u044B \u0442\u0430\u04A3\u0434\u0430\u04A3\u044B\u0437 \u0436\u04D9\u043D\u0435 '\u0416\u0456\u0431\u0435\u0440\u0443' \u0431\u0430\u0442\u044B\u0440\u043C\u0430\u0441\u044B\u043D \u0431\u0430\u0441\u044B\u04A3\u044B\u0437",barSendButton:"\u0416\u0456\u0431\u0435\u0440\u0443",barResetButton:"\u049A\u0430\u043B\u043F\u044B\u043D\u0430 \u043A\u0435\u043B\u0442\u0456\u0440\u0443",barName:"\u0411\u0430\u0440 \u0430\u0442\u0430\u0443\u044B",barNotesPlaceholder:"\u041C\u04B1\u043D\u0434\u0430 \u04E9\u0437 \u0442\u0456\u043B\u0435\u043A\u0442\u0435\u0440\u0456\u04A3\u0456\u0437\u0434\u0456 \u0436\u0430\u0437\u044B\u04A3\u044B\u0437...",placeholderSuggestions:["\u041F\u0430\u0441\u0442\u0430\u0493\u0430 \u0430\u0440\u043D\u0430\u043B\u0493\u0430\u043D \u0448\u0430\u0440\u0430\u043F","\u0411\u0430\u043B\u044B\u049B\u049B\u0430 \u0442\u0430\u043C\u0430\u0448\u0430 \u04AF\u0439\u043B\u0435\u0441\u0435\u0434\u0456","\u041A\u0435\u0448\u043A\u0435 \u04B1\u0441\u044B\u043D\u0443\u0493\u0430 \u0431\u043E\u043B\u0430\u0434\u044B"],headerLine1:"\u041E\u0439\u043B\u0430\u0440\u044B\u04A3\u044B\u0437\u0431\u0435\u043D \u0431\u04E9\u043B\u0456\u0441\u0456\u04A3\u0456\u0437 \u2014",headerLine2:"\u2014 \u0436\u04D9\u043D\u0435 \u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u043C\u0456\u043D\u0441\u0456\u0437 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u044B\u0441\u044B\u043D \u0430\u043B\u044B\u04A3\u044B\u0437",headerMeal:"\u0442\u0430\u0493\u0430\u043C",headerMood:"\u043A\u04E9\u04A3\u0456\u043B-\u043A\u04AF\u0439",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u0436\u0430\u0493\u0434\u0430\u0439",headerOr:"\u043D\u0435\u043C\u0435\u0441\u0435",errorMessage:"\u0411\u0456\u0440\u0434\u0435\u04A3\u0435 \u0434\u04B1\u0440\u044B\u0441 \u0431\u043E\u043B\u043C\u0430\u0434\u044B. \u041A\u0435\u0439\u0456\u043D\u0456\u0440\u0435\u043A \u049B\u0430\u0439\u0442\u0430 \u043A\u04E9\u0440\u0456\u04A3\u0456\u0437.",noResultsMessage:"\u0406\u0437\u0434\u0435\u0443\u0456\u04A3\u0456\u0437\u0433\u0435 \u0441\u04D9\u0439\u043A\u0435\u0441 \u043D\u04D9\u0442\u0438\u0436\u0435 \u0442\u0430\u0431\u044B\u043B\u043C\u0430\u0434\u044B. \u0411\u0430\u0441\u049B\u0430 \u0441\u04B1\u0440\u0430\u0443 \u049B\u043E\u043B\u0434\u0430\u043D\u044B\u043F \u043A\u04E9\u0440\u0456\u04A3\u0456\u0437.",ai_sommelier:"AI sommelier",consentText:"\u0428\u0430\u0440\u0430\u043F \u043A\u04E9\u043C\u0435\u043A\u0448\u0456\u0441\u0456 \u0441\u0456\u0437\u0434\u0456\u04A3 \u0442\u0430\u043B\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0435\u0441\u043A\u0435\u0440\u0456\u043F, \u04B1\u0441\u044B\u043D\u044B\u0441\u0442\u0430\u0440\u0434\u044B \u0436\u0430\u049B\u0441\u0430\u0440\u0442\u0443 \u04AF\u0448\u0456\u043D \u043E\u0441\u044B \u049B\u04B1\u0440\u044B\u043B\u0493\u044B\u0434\u0430 \u0430\u043D\u043E\u043D\u0438\u043C\u0434\u0456 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0441\u0430\u049B\u0442\u0430\u0439\u0434\u044B. \u041A\u0435\u043B\u0456\u0441\u0456\u043C\u0441\u0456\u0437 \u0434\u0435 \u043F\u0430\u0439\u0434\u0430\u043B\u0430\u043D\u0430 \u0430\u043B\u0430\u0441\u044B\u0437.",consentAccept:"\u049A\u0430\u0431\u044B\u043B\u0434\u0430\u0443",consentDecline:"\u0411\u0430\u0441 \u0442\u0430\u0440\u0442\u0443",consentPrivacy:"\u049A\u04B1\u043F\u0438\u044F\u043B\u044B\u043B\u044B\u049B \u0441\u0430\u044F\u0441\u0430\u0442\u044B",addToCart:"\u0421\u0435\u0431\u0435\u0442\u043A\u0435 \u049B\u043E\u0441\u0443",addedToCart:"\u049A\u043E\u0441\u044B\u043B\u0434\u044B",sommelierResting:"\u0411\u0456\u0437\u0434\u0456\u04A3 \u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u0434\u0435\u043C\u0430\u043B\u044B\u043F \u0436\u0430\u0442\u044B\u0440. \u0422\u04E9\u043C\u0435\u043D\u0434\u0435\u0433\u0456 \u0442\u0430\u04A3\u0434\u0430\u0443\u044B\u043C\u044B\u0437\u0434\u044B \u049B\u0430\u0440\u0430\u04A3\u044B\u0437."},Fl={lang:"pt",welcomeMessage:"O que voc\xEA planeja comer? Descreva seu prato e eu recomendarei a harmoniza\xE7\xE3o perfeita.",noResultsFound:"Nenhum resultado encontrado.",somethingWentWrong:"Desculpe, algo deu errado.",chatButton1:"Encontre sua harmoniza\xE7\xE3o",chatButton2:"Harmonizar vinho agora",chatButton3:"Receber conselho de vinho",chatTitle:"Assistente de Harmoniza\xE7\xE3o de Vinhos \u{1F377}",chatSubtitle:"Descreva sua refei\xE7\xE3o e receba uma recomenda\xE7\xE3o em 30 segundos",inputPlaceholder:"ex., Salada de atum",sendButton:"Harmonizar",poweredBy:"Desenvolvido por",price:"Pre\xE7o",region:"Regi\xE3o",type:"Tipo",reason:"Sugest\xE3o",moreInfo:"Mais informa\xE7\xF5es",tryAgain:"Tentar de novo",similarWines:"Vinhos semelhantes",byTheGlass:"Por ta\xE7a",winePairingIntro:"Para este vinho, aqui est\xE3o algumas sugest\xF5es de pratos:",askForDinner:"O que voc\xEA gostaria de jantar?",clearChatButton:"Limpar chat",widgetTitle:"ENCONTRE SEU VINHO PERFEITO",widgetSubtitle:"Compartilhe o que tiver em mente \u2014 sua refei\xE7\xE3o, humor, or\xE7amento ou ocasi\xE3o \u2014 e nosso sommelier de IA recomendar\xE1 o vinho perfeito em segundos",searchPlaceholder:"Digite uma palavra-chave ou descri\xE7\xE3o","wineDetails.reason":"Motivo","wineDetails.price":"Pre\xE7o","wineDetails.region":"Regi\xE3o","wineDetails.type":"Tipo","wineDetails.moreInfo":"Mais informa\xE7\xF5es","wineDetails.code":"C\xF3digo","wineDetails.buy":"Comprar",searchButton:"Pesquisar",priceRange:"Faixa de pre\xE7o",wineColor:"Cor do vinho",intensity:"Intensidade",red:"Tinto",white:"Branco",rose:"Ros\xE9",light:"Leve",medium:"M\xE9dio",full:"Encorpado",barTitle:"Pratos do bar",barSubtitle:"Selecione os pratos abaixo e clique em 'Enviar'",barSendButton:"Enviar",barResetButton:"Resetar",barName:"Nome do bar",barNotesPlaceholder:"Adicione seus desejos aqui...",placeholderSuggestions:["Vinho para massa","Perfeito com peixe","Recomendado para uma festa"],headerLine1:"Compartilhe o que tiver em mente \u2014",headerLine2:"\u2014 e receba recomenda\xE7\xF5es do vinho perfeito em segundos",headerMeal:"refei\xE7\xE3o",headerMood:"humor",headerBudget:"or\xE7amento",headerOccasion:"ocasi\xE3o",headerOr:"ou",errorMessage:"Algo deu errado. Por favor, tente novamente mais tarde.",noResultsMessage:"Nenhum resultado encontrado para sua pesquisa. Por favor, tente uma consulta diferente.",ai_sommelier:"AI sommelier",consentText:"O assistente de vinhos guarda um identificador an\xF3nimo neste dispositivo para conhecer o seu gosto e melhorar as recomenda\xE7\xF5es. Pode us\xE1-lo sem aceitar.",consentAccept:"Aceitar",consentDecline:"Recusar",consentPrivacy:"Pol\xEDtica de privacidade",addToCart:"Adicionar ao carrinho",addedToCart:"Adicionado",sommelierResting:"Nosso sommelier est\xE1 descansando. Veja nossas sugest\xF5es abaixo."},aa={fr:Bl,es:Ll,en:jl,sr:Nl,de:ql,ukr:Ol,ru:$l,kk:Ul,pt:Fl};function Vl(e){return{id:String(e.id),lang:e.lang,available_languages:e.available_languages?e.available_languages:[e.lang],open_ai_key:e.open_ai_key??null,currency:e.currency,title:e.title,requires_cookie_consent:e.requires_cookie_consent===!0}}const Hl={0:{logoUrl:null,brandColor:"#7B2BEB"},29:{logoUrl:"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/plou_logo.jpg",brandColor:"#e6c6bb"},25:{logoUrl:null,brandColor:"#000000",wineaterColor:"#000000",buttonUppercase:!0,customCss:`
|
|
1
|
+
var $a=Object.defineProperty,ji=e=>{throw TypeError(e)},Ua=(e,t,n)=>t in e?$a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ve=(e,t,n)=>Ua(e,typeof t!="symbol"?t+"":t,n),$r=(e,t,n)=>t.has(e)||ji("Cannot "+n),d=(e,t,n)=>($r(e,t,"read from private field"),n?n.call(e):t.get(e)),U=(e,t,n)=>t.has(e)?ji("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),q=(e,t,n,r)=>($r(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),K=(e,t,n)=>($r(e,t,"access private method"),n);const Fa="5";var Ni;typeof window<"u"&&((Ni=window.__svelte??(window.__svelte={})).v??(Ni.v=new Set)).add(Fa);const Ha=1,Ga=2,qi=4,Va=8,Ya=16,Ka=1,Ja=2,Za=4,Qa=8,Xa=16,Oi=1,es=2,we=Symbol(),$i="http://www.w3.org/1999/xhtml",ts=!1;var Ur=Array.isArray,ns=Array.prototype.indexOf,hn=Array.prototype.includes,fr=Array.from,rs=Object.defineProperty,fn=Object.getOwnPropertyDescriptor,is=Object.getOwnPropertyDescriptors,os=Object.prototype,as=Array.prototype,Ui=Object.getPrototypeOf,Fi=Object.isExtensible;const ss=()=>{};function ls(e){for(var t=0;t<e.length;t++)e[t]()}function Hi(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}function cs(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const me=2,zn=4,vr=8,Gi=1<<24,vt=16,Ye=32,Gt=64,Fr=128,ze=512,ve=1024,ye=2048,Ke=4096,Ie=8192,gt=16384,Vt=32768,Yt=65536,Vi=1<<17,Yi=1<<18,vn=1<<19,us=1<<20,wt=1<<25,Kt=65536,Hr=1<<21,Gr=1<<22,It=1<<23,Jt=Symbol("$state"),ds=Symbol("legacy props"),ps=Symbol(""),Zt=new class extends Error{constructor(){super(...arguments),Ve(this,"name","StaleReactionError"),Ve(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function hs(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function fs(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function vs(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function gs(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ws(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ms(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ys(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function bs(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function ks(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function xs(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ss(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function _s(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Cs(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Ts(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Ki(e){return e===this.v}function Ps(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ji(e){return!Ps(e,this.v)}let gn=!1,Ws=!1;function Ds(){gn=!0}let ue=null;function wn(e){ue=e}function it(e,t=!1,n){ue={p:ue,i:!1,c:null,e:null,s:e,x:null,l:gn&&!t?{s:null,u:null,$:[]}:null}}function ot(e){var t=ue,n=t.e;if(n!==null){t.e=null;for(var r of n)xo(r)}return e!==void 0&&(t.x=e),t.i=!0,ue=t.p,e??{}}function Ln(){return!gn||ue!==null&&ue.l===null}let Qt=[];function Zi(){var e=Qt;Qt=[],ls(e)}function mt(e){if(Qt.length===0&&!jn){var t=Qt;queueMicrotask(()=>{t===Qt&&Zi()})}Qt.push(e)}function Es(){for(;Qt.length>0;)Zi()}function Qi(e){var t=J;if(t===null)return V.f|=It,e;if(!(t.f&Vt)&&!(t.f&zn))throw e;Mt(e,t)}function Mt(e,t){for(;t!==null;){if(t.f&Fr){if(!(t.f&Vt))throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const As=-7169;function le(e,t){e.f=e.f&As|t}function Vr(e){e.f&ze||e.deps===null?le(e,ve):le(e,Ke)}function Xi(e){if(e!==null)for(const t of e)!(t.f&me)||!(t.f&Kt)||(t.f^=Kt,Xi(t.deps))}function eo(e,t,n){e.f&ye?t.add(e):e.f&Ke&&n.add(e),Xi(e.deps),le(e,ve)}const gr=new Set;let Y=null,Yr=null,Se=null,_e=[],wr=null,Kr=!1,jn=!1;var Nn,qn,Rt,Xt,On,$n,en,yt,Un,bt,Jr,Zr,Qr,to;const Is=class Aa{constructor(){U(this,bt),Ve(this,"current",new Map),Ve(this,"previous",new Map),U(this,Nn,new Set),U(this,qn,new Set),U(this,Rt,0),U(this,Xt,0),U(this,On,null),U(this,$n,new Set),U(this,en,new Set),U(this,yt,new Map),Ve(this,"is_fork",!1),U(this,Un,!1)}skip_effect(t){d(this,yt).has(t)||d(this,yt).set(t,{d:[],m:[]})}unskip_effect(t){var n=d(this,yt).get(t);if(n){d(this,yt).delete(t);for(var r of n.d)le(r,ye),Je(r);for(r of n.m)le(r,Ke),Je(r)}}process(t){var n;_e=[],this.apply();var r=[],i=[];for(const o of t)K(this,bt,Zr).call(this,o,r,i);if(K(this,bt,Jr).call(this)){K(this,bt,Qr).call(this,i),K(this,bt,Qr).call(this,r);for(const[o,s]of d(this,yt))ao(o,s)}else{for(const o of d(this,Nn))o();d(this,Nn).clear(),d(this,Rt)===0&&K(this,bt,to).call(this),Yr=this,Y=null,ro(i),ro(r),d(this,$n).clear(),d(this,en).clear(),Yr=null,(n=d(this,On))==null||n.resolve()}Se=null}capture(t,n){n!==we&&!this.previous.has(t)&&this.previous.set(t,n),t.f&It||(this.current.set(t,t.v),Se?.set(t,t.v))}activate(){Y=this,this.apply()}deactivate(){Y===this&&(Y=null,Se=null)}flush(){if(this.activate(),_e.length>0){if(no(),Y!==null&&Y!==this)return}else d(this,Rt)===0&&this.process([]);this.deactivate()}discard(){for(const t of d(this,qn))t(this);d(this,qn).clear()}increment(t){q(this,Rt,d(this,Rt)+1),t&&q(this,Xt,d(this,Xt)+1)}decrement(t){q(this,Rt,d(this,Rt)-1),t&&q(this,Xt,d(this,Xt)-1),!d(this,Un)&&(q(this,Un,!0),mt(()=>{q(this,Un,!1),K(this,bt,Jr).call(this)?_e.length>0&&this.flush():this.revive()}))}revive(){for(const t of d(this,$n))d(this,en).delete(t),le(t,ye),Je(t);for(const t of d(this,en))le(t,Ke),Je(t);this.flush()}oncommit(t){d(this,Nn).add(t)}ondiscard(t){d(this,qn).add(t)}settled(){return(d(this,On)??q(this,On,Hi())).promise}static ensure(){if(Y===null){const t=Y=new Aa;gr.add(Y),jn||mt(()=>{Y===t&&t.flush()})}return Y}apply(){}};Nn=new WeakMap,qn=new WeakMap,Rt=new WeakMap,Xt=new WeakMap,On=new WeakMap,$n=new WeakMap,en=new WeakMap,yt=new WeakMap,Un=new WeakMap,bt=new WeakSet,Jr=function(){return this.is_fork||d(this,Xt)>0},Zr=function(e,t,n){e.f^=ve;for(var r=e.first;r!==null;){var i=r.f,o=(i&(Ye|Gt))!==0,s=o&&(i&ve)!==0,l=s||(i&Ie)!==0||d(this,yt).has(r);if(!l&&r.fn!==null){o?r.f^=ve:i&zn?t.push(r):Kn(r)&&(i&vt&&d(this,en).add(r),xn(r));var c=r.first;if(c!==null){r=c;continue}}for(;r!==null;){var u=r.next;if(u!==null){r=u;break}r=r.parent}}},Qr=function(e){for(var t=0;t<e.length;t+=1)eo(e[t],d(this,$n),d(this,en))},to=function(){var e;if(gr.size>1){this.previous.clear();var t=Se,n=!0;for(const i of gr){if(i===this){n=!1;continue}const o=[];for(const[l,c]of this.current){if(i.current.has(l))if(n&&c!==i.current.get(l))i.current.set(l,c);else continue;o.push(l)}if(o.length===0)continue;const s=[...i.current.keys()].filter(l=>!this.current.has(l));if(s.length>0){var r=_e;_e=[];const l=new Set,c=new Map;for(const u of o)io(u,s,l,c);if(_e.length>0){Y=i,i.apply();for(const u of _e)K(e=i,bt,Zr).call(e,u,[],[]);i.deactivate()}_e=r}}Y=null,Se=t}d(this,yt).clear(),gr.delete(this)};let mn=Is;function Ms(e){var t=jn;jn=!0;try{for(var n;;){if(Es(),_e.length===0&&(Y?.flush(),_e.length===0))return wr=null,n;no()}}finally{jn=t}}function no(){Kr=!0;var e=null;try{for(var t=0;_e.length>0;){var n=mn.ensure();if(t++>1e3){var r,i;Rs()}n.process(_e),jt.clear()}}finally{_e=[],Kr=!1,wr=null}}function Rs(){try{ys()}catch(e){Mt(e,wr)}}let at=null;function ro(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&(gt|Ie))&&Kn(r)&&(at=new Set,xn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Co(r),at?.size>0)){jt.clear();for(const i of at){if(i.f&(gt|Ie))continue;const o=[i];let s=i.parent;for(;s!==null;)at.has(s)&&(at.delete(s),o.push(s)),s=s.parent;for(let l=o.length-1;l>=0;l--){const c=o[l];c.f&(gt|Ie)||xn(c)}}at.clear()}}at=null}}function io(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const o=i.f;o&me?io(i,t,n,r):o&(Gr|vt)&&!(o&ye)&&oo(i,t,r)&&(le(i,ye),Je(i))}}function oo(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(hn.call(t,i))return!0;if(i.f&me&&oo(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Je(e){var t=wr=e,n=t.b;if(n!=null&&n.is_pending&&e.f&(zn|vr|Gi)&&!(e.f&Vt)){n.defer_effect(e);return}for(;t.parent!==null;){t=t.parent;var r=t.f;if(Kr&&t===J&&r&vt&&!(r&Yi)&&r&Vt)return;if(r&(Gt|Ye)){if(!(r&ve))return;t.f^=ve}}_e.push(t)}function ao(e,t){if(!(e.f&Ye&&e.f&ve)){e.f&ye?t.d.push(e):e.f&Ke&&t.m.push(e),le(e,ve);for(var n=e.first;n!==null;)ao(n,t),n=n.next}}function Bs(e){let t=0,n=nn(0),r;return()=>{ai()&&(a(n),li(()=>(t===0&&(r=Zn(()=>e(()=>Vn(n)))),t+=1,()=>{mt(()=>{t-=1,t===0&&(r?.(),r=void 0,Vn(n))})})))}}var zs=Yt|vn;function Ls(e,t,n,r){new Os(e,t,n,r)}var Ze,so,kt,yn,Me,xt,Le,st,Bt,tn,zt,Fn,Hn,Gn,Lt,Xr,je,js,Ns,qs,ei,mr,yr,ti;class Os{constructor(t,n,r,i){U(this,je),Ve(this,"parent"),Ve(this,"is_pending",!1),Ve(this,"transform_error"),U(this,Ze),U(this,so,null),U(this,kt),U(this,yn),U(this,Me),U(this,xt,null),U(this,Le,null),U(this,st,null),U(this,Bt,null),U(this,tn,0),U(this,zt,0),U(this,Fn,!1),U(this,Hn,new Set),U(this,Gn,new Set),U(this,Lt,null),U(this,Xr,Bs(()=>(q(this,Lt,nn(d(this,tn))),()=>{q(this,Lt,null)})));var o;q(this,Ze,t),q(this,kt,n),q(this,yn,s=>{var l=J;l.b=this,l.f|=Fr,r(s)}),this.parent=J.b,this.transform_error=i??((o=this.parent)==null?void 0:o.transform_error)??(s=>s),q(this,Me,xr(()=>{K(this,je,ei).call(this)},zs))}defer_effect(t){eo(t,d(this,Hn),d(this,Gn))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!d(this,kt).pending}update_pending_count(t){K(this,je,ti).call(this,t),q(this,tn,d(this,tn)+t),!(!d(this,Lt)||d(this,Fn))&&(q(this,Fn,!0),mt(()=>{q(this,Fn,!1),d(this,Lt)&&bn(d(this,Lt),d(this,tn))}))}get_effect_pending(){return d(this,Xr).call(this),a(d(this,Lt))}error(t){var n=d(this,kt).onerror;let r=d(this,kt).failed;if(!n&&!r)throw t;d(this,xt)&&(Ce(d(this,xt)),q(this,xt,null)),d(this,Le)&&(Ce(d(this,Le)),q(this,Le,null)),d(this,st)&&(Ce(d(this,st)),q(this,st,null));var i=!1,o=!1;const s=()=>{if(i){Ts();return}i=!0,o&&_s(),d(this,st)!==null&&rn(d(this,st),()=>{q(this,st,null)}),K(this,je,yr).call(this,()=>{mn.ensure(),K(this,je,ei).call(this)})},l=c=>{try{o=!0,n?.(c,s),o=!1}catch(u){Mt(u,d(this,Me)&&d(this,Me).parent)}r&&q(this,st,K(this,je,yr).call(this,()=>{mn.ensure();try{return Ne(()=>{var u=J;u.b=this,u.f|=Fr,r(d(this,Ze),()=>c,()=>s)})}catch(u){return Mt(u,d(this,Me).parent),null}}))};mt(()=>{var c;try{c=this.transform_error(t)}catch(u){Mt(u,d(this,Me)&&d(this,Me).parent);return}c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(l,u=>Mt(u,d(this,Me)&&d(this,Me).parent)):l(c)})}}Ze=new WeakMap,so=new WeakMap,kt=new WeakMap,yn=new WeakMap,Me=new WeakMap,xt=new WeakMap,Le=new WeakMap,st=new WeakMap,Bt=new WeakMap,tn=new WeakMap,zt=new WeakMap,Fn=new WeakMap,Hn=new WeakMap,Gn=new WeakMap,Lt=new WeakMap,Xr=new WeakMap,je=new WeakSet,js=function(){try{q(this,xt,Ne(()=>d(this,yn).call(this,d(this,Ze))))}catch(e){this.error(e)}},Ns=function(e){const t=d(this,kt).failed;t&&q(this,st,Ne(()=>{t(d(this,Ze),()=>e,()=>()=>{})}))},qs=function(){const e=d(this,kt).pending;e&&(this.is_pending=!0,q(this,Le,Ne(()=>e(d(this,Ze)))),mt(()=>{var t=q(this,Bt,document.createDocumentFragment()),n=St();t.append(n),q(this,xt,K(this,je,yr).call(this,()=>(mn.ensure(),Ne(()=>d(this,yn).call(this,n))))),d(this,zt)===0&&(d(this,Ze).before(t),q(this,Bt,null),rn(d(this,Le),()=>{q(this,Le,null)}),K(this,je,mr).call(this))}))},ei=function(){try{if(this.is_pending=this.has_pending_snippet(),q(this,zt,0),q(this,tn,0),q(this,xt,Ne(()=>{d(this,yn).call(this,d(this,Ze))})),d(this,zt)>0){var e=q(this,Bt,document.createDocumentFragment());Wo(d(this,xt),e);const t=d(this,kt).pending;q(this,Le,Ne(()=>t(d(this,Ze))))}else K(this,je,mr).call(this)}catch(t){this.error(t)}},mr=function(){this.is_pending=!1;for(const e of d(this,Hn))le(e,ye),Je(e);for(const e of d(this,Gn))le(e,Ke),Je(e);d(this,Hn).clear(),d(this,Gn).clear()},yr=function(e){var t=J,n=V,r=ue;lt(d(this,Me)),qe(d(this,Me)),wn(d(this,Me).ctx);try{return e()}catch(i){return Qi(i),null}finally{lt(t),qe(n),wn(r)}},ti=function(e){var t;if(!this.has_pending_snippet()){this.parent&&K(t=this.parent,je,ti).call(t,e);return}q(this,zt,d(this,zt)+e),d(this,zt)===0&&(K(this,je,mr).call(this),d(this,Le)&&rn(d(this,Le),()=>{q(this,Le,null)}),d(this,Bt)&&(d(this,Ze).before(d(this,Bt)),q(this,Bt,null)))};function $s(e,t,n,r){const i=Ln()?br:ri;var o=e.filter(g=>!g.settled);if(n.length===0&&o.length===0){r(t.map(i));return}var s=J,l=Us(),c=o.length===1?o[0].promise:o.length>1?Promise.all(o.map(g=>g.promise)):null;function u(g){l();try{r(g)}catch(v){s.f>||Mt(v,s)}ni()}if(n.length===0){c.then(()=>u(t.map(i)));return}function h(){l(),Promise.all(n.map(g=>Hs(g))).then(g=>u([...t.map(i),...g])).catch(g=>Mt(g,s))}c?c.then(h):h()}function Us(){var e=J,t=V,n=ue,r=Y;return function(i=!0){lt(e),qe(t),wn(n),i&&r?.activate()}}function ni(e=!0){lt(null),qe(null),wn(null),e&&Y?.deactivate()}function Fs(){var e=J.b,t=Y,n=e.is_rendered();return e.update_pending_count(1),t.increment(n),()=>{e.update_pending_count(-1),t.decrement(n)}}function br(e){var t=me|ye,n=V!==null&&V.f&me?V:null;return J!==null&&(J.f|=vn),{ctx:ue,deps:null,effects:null,equals:Ki,f:t,fn:e,reactions:null,rv:0,v:we,wv:0,parent:n??J,ac:null}}function Hs(e,t,n){J===null&&fs();var r=void 0,i=nn(we),o=!V,s=new Map;return ol(()=>{var l,c=Hi();r=c.promise;try{Promise.resolve(e()).then(c.resolve,c.reject).finally(ni)}catch(v){c.reject(v),ni()}var u=Y;if(o){var h=Fs();(l=s.get(u))==null||l.reject(Zt),s.delete(u),s.set(u,c)}const g=(v,f=void 0)=>{if(u.activate(),f)f!==Zt&&(i.f|=It,bn(i,f));else{i.f&It&&(i.f^=It),bn(i,v);for(const[k,p]of s){if(s.delete(k),k===u)break;p.reject(Zt)}}h&&h()};c.promise.then(g,v=>g(null,v||"unknown"))}),si(()=>{for(const l of s.values())l.reject(Zt)}),new Promise(l=>{function c(u){function h(){u===r?l(i):c(r)}u.then(h,h)}c(r)})}function F(e){const t=br(e);return Eo(t),t}function ri(e){const t=br(e);return t.equals=Ji,t}function Gs(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)Ce(t[n])}}function Vs(e){for(var t=e.parent;t!==null;){if(!(t.f&me))return t.f>?null:t;t=t.parent}return null}function ii(e){var t,n=J;lt(Vs(e));try{e.f&=~Kt,Gs(e),t=Bo(e)}finally{lt(n)}return t}function lo(e){var t=ii(e);if(!e.equals(t)&&(e.wv=Mo(),(!(Y!=null&&Y.is_fork)||e.deps===null)&&(e.v=t,e.deps===null))){le(e,ve);return}Nt||(Se!==null?(ai()||Y!=null&&Y.is_fork)&&Se.set(e,t):Vr(e))}function Ys(e){var t,n;if(e.effects!==null)for(const r of e.effects)(r.teardown||r.ac)&&((t=r.teardown)==null||t.call(r),(n=r.ac)==null||n.abort(Zt),r.teardown=ss,r.ac=null,Jn(r,0),ci(r))}function co(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&xn(t)}let oi=new Set;const jt=new Map;let uo=!1;function nn(e,t){var n={f:0,v:e,reactions:null,equals:Ki,rv:0,wv:0};return n}function G(e,t){const n=nn(e);return Eo(n),n}function Ks(e,t=!1,n=!0){var r;const i=nn(e);return t||(i.equals=Ji),gn&&n&&ue!==null&&ue.l!==null&&((r=ue.l).s??(r.s=[])).push(i),i}function m(e,t,n=!1){V!==null&&(!Xe||V.f&Vi)&&Ln()&&V.f&(me|vt|Gr|Vi)&&(Oe===null||!hn.call(Oe,e))&&Ss();let r=n?Re(t):t;return bn(e,r)}function bn(e,t){if(!e.equals(t)){var n=e.v;Nt?jt.set(e,t):jt.set(e,n),e.v=t;var r=mn.ensure();if(r.capture(e,n),e.f&me){const i=e;e.f&ye&&ii(i),Vr(i)}e.wv=Mo(),ho(e,ye),Ln()&&J!==null&&J.f&ve&&!(J.f&(Ye|Gt))&&($e===null?ll([e]):$e.push(e)),!r.is_fork&&oi.size>0&&!uo&&Js()}return t}function Js(){uo=!1;for(const e of oi)e.f&ve&&le(e,Ke),Kn(e)&&xn(e);oi.clear()}function po(e,t=1){var n=a(e),r=t===1?n++:n--;return m(e,n),r}function Vn(e){m(e,e.v+1)}function ho(e,t){var n=e.reactions;if(n!==null)for(var r=Ln(),i=n.length,o=0;o<i;o++){var s=n[o],l=s.f;if(!(!r&&s===J)){var c=(l&ye)===0;if(c&&le(s,t),l&me){var u=s;Se?.delete(u),l&Kt||(l&ze&&(s.f|=Kt),ho(u,Ke))}else c&&(l&vt&&at!==null&&at.add(s),Je(s))}}}function Re(e){if(typeof e!="object"||e===null||Jt in e)return e;const t=Ui(e);if(t!==os&&t!==as)return e;var n=new Map,r=Ur(e),i=G(0),o=an,s=l=>{if(an===o)return l();var c=V,u=an;qe(null),Io(o);var h=l();return qe(c),Io(u),h};return r&&n.set("length",G(e.length)),new Proxy(e,{defineProperty(l,c,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&ks();var h=n.get(c);return h===void 0?s(()=>{var g=G(u.value);return n.set(c,g),g}):m(h,u.value,!0),!0},deleteProperty(l,c){var u=n.get(c);if(u===void 0){if(c in l){const h=s(()=>G(we));n.set(c,h),Vn(i)}}else m(u,we),Vn(i);return!0},get(l,c,u){var h;if(c===Jt)return e;var g=n.get(c),v=c in l;if(g===void 0&&(!v||(h=fn(l,c))!=null&&h.writable)&&(g=s(()=>{var k=Re(v?l[c]:we),p=G(k);return p}),n.set(c,g)),g!==void 0){var f=a(g);return f===we?void 0:f}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var h=n.get(c);h&&(u.value=a(h))}else if(u===void 0){var g=n.get(c),v=g?.v;if(g!==void 0&&v!==we)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return u},has(l,c){var u;if(c===Jt)return!0;var h=n.get(c),g=h!==void 0&&h.v!==we||Reflect.has(l,c);if(h!==void 0||J!==null&&(!g||(u=fn(l,c))!=null&&u.writable)){h===void 0&&(h=s(()=>{var f=g?Re(l[c]):we,k=G(f);return k}),n.set(c,h));var v=a(h);if(v===we)return!1}return g},set(l,c,u,h){var g,v=n.get(c),f=c in l;if(r&&c==="length")for(var k=u;k<v.v;k+=1){var p=n.get(k+"");p!==void 0?m(p,we):k in l&&(p=s(()=>G(we)),n.set(k+"",p))}if(v===void 0)(!f||(g=fn(l,c))!=null&&g.writable)&&(v=s(()=>G(void 0)),m(v,Re(u)),n.set(c,v));else{f=v.v!==we;var E=s(()=>Re(u));m(v,E)}var y=Reflect.getOwnPropertyDescriptor(l,c);if(y!=null&&y.set&&y.set.call(h,u),!f){if(r&&typeof c=="string"){var P=n.get("length"),B=Number(c);Number.isInteger(B)&&B>=P.v&&m(P,B+1)}Vn(i)}return!0},ownKeys(l){a(i);var c=Reflect.ownKeys(l).filter(g=>{var v=n.get(g);return v===void 0||v.v!==we});for(var[u,h]of n)h.v!==we&&!(u in l)&&c.push(u);return c},setPrototypeOf(){xs()}})}function fo(e){try{if(e!==null&&typeof e=="object"&&Jt in e)return e[Jt]}catch{}return e}function Zs(e,t){return Object.is(fo(e),fo(t))}var vo,go,wo,mo;function Qs(){if(vo===void 0){vo=window,go=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;wo=fn(t,"firstChild").get,mo=fn(t,"nextSibling").get,Fi(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Fi(n)&&(n.__t=void 0)}}function St(e=""){return document.createTextNode(e)}function _t(e){return wo.call(e)}function Yn(e){return mo.call(e)}function A(e,t){return _t(e)}function Qe(e,t=!1){{var n=_t(e);return n instanceof Comment&&n.data===""?Yn(n):n}}function M(e,t=1,n=!1){let r=e;for(;t--;)r=Yn(r);return r}function Xs(e){e.textContent=""}function yo(){return!1}function bo(e,t,n){return document.createElementNS($i,e,void 0)}let ko=!1;function el(){ko||(ko=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function kr(e){var t=V,n=J;qe(null),lt(null);try{return e()}finally{qe(t),lt(n)}}function tl(e,t,n,r=n){e.addEventListener(t,()=>kr(n));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),el()}function nl(e){J===null&&(V===null&&ms(),ws()),Nt&&gs()}function rl(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Ct(e,t,n){var r=J;r!==null&&r.f&Ie&&(e|=Ie);var i={ctx:ue,deps:null,nodes:null,f:e|ye|ze,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{xn(i)}catch(l){throw Ce(i),l}else t!==null&&Je(i);var o=i;if(n&&o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&!(o.f&vn)&&(o=o.first,e&vt&&e&Yt&&o!==null&&(o.f|=Yt)),o!==null&&(o.parent=r,r!==null&&rl(o,r),V!==null&&V.f&me&&!(e&Gt))){var s=V;(s.effects??(s.effects=[])).push(o)}return i}function ai(){return V!==null&&!Xe}function si(e){const t=Ct(vr,null,!1);return le(t,ve),t.teardown=e,t}function kn(e){nl();var t=J.f,n=!V&&(t&Ye)!==0&&(t&Vt)===0;if(n){var r=ue;(r.e??(r.e=[])).push(e)}else return xo(e)}function xo(e){return Ct(zn|us,e,!1)}function il(e){mn.ensure();const t=Ct(Gt|vn,e,!0);return(n={})=>new Promise(r=>{n.outro?rn(t,()=>{Ce(t),r(void 0)}):(Ce(t),r(void 0))})}function So(e){return Ct(zn,e,!1)}function ol(e){return Ct(Gr|vn,e,!0)}function li(e,t=0){return Ct(vr|t,e,!0)}function L(e,t=[],n=[],r=[]){$s(r,t,n,i=>{Ct(vr,()=>e(...i.map(a)),!0)})}function xr(e,t=0){var n=Ct(vt|t,e,!0);return n}function Ne(e){return Ct(Ye|vn,e,!0)}function _o(e){var t=e.teardown;if(t!==null){const n=Nt,r=V;Do(!0),qe(null);try{t.call(null)}finally{Do(n),qe(r)}}}function ci(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&kr(()=>{i.abort(Zt)});var r=n.next;n.f&Gt?n.parent=null:Ce(n,t),n=r}}function al(e){for(var t=e.first;t!==null;){var n=t.next;t.f&Ye||Ce(t),t=n}}function Ce(e,t=!0){var n=!1;(t||e.f&Yi)&&e.nodes!==null&&e.nodes.end!==null&&(sl(e.nodes.start,e.nodes.end),n=!0),ci(e,t&&!n),Jn(e,0),le(e,gt);var r=e.nodes&&e.nodes.t;if(r!==null)for(const o of r)o.stop();_o(e);var i=e.parent;i!==null&&i.first!==null&&Co(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function sl(e,t){for(;e!==null;){var n=e===t?null:Yn(e);e.remove(),e=n}}function Co(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function rn(e,t,n=!0){var r=[];To(e,r,!0);var i=()=>{n&&Ce(e),t&&t()},o=r.length;if(o>0){var s=()=>--o||i();for(var l of r)l.out(s)}else i()}function To(e,t,n){if(!(e.f&Ie)){e.f^=Ie;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var o=i.next,s=(i.f&Yt)!==0||(i.f&Ye)!==0&&(e.f&vt)!==0;To(i,t,s?n:!1),i=o}}}function ui(e){Po(e,!0)}function Po(e,t){if(e.f&Ie){e.f^=Ie,e.f&ve||(le(e,ye),Je(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Yt)!==0||(n.f&Ye)!==0;Po(n,i?t:!1),n=r}var o=e.nodes&&e.nodes.t;if(o!==null)for(const s of o)(s.is_global||t)&&s.in()}}function Wo(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Yn(n);t.append(n),n=i}}let Sr=!1,Nt=!1;function Do(e){Nt=e}let V=null,Xe=!1;function qe(e){V=e}let J=null;function lt(e){J=e}let Oe=null;function Eo(e){V!==null&&(Oe===null?Oe=[e]:Oe.push(e))}let Te=null,Be=0,$e=null;function ll(e){$e=e}let Ao=1,on=0,an=on;function Io(e){an=e}function Mo(){return++Ao}function Kn(e){var t=e.f;if(t&ye)return!0;if(t&me&&(e.f&=~Kt),t&Ke){for(var n=e.deps,r=n.length,i=0;i<r;i++){var o=n[i];if(Kn(o)&&lo(o),o.wv>e.wv)return!0}t&ze&&Se===null&&le(e,ve)}return!1}function Ro(e,t,n=!0){var r=e.reactions;if(r!==null&&!(Oe!==null&&hn.call(Oe,e)))for(var i=0;i<r.length;i++){var o=r[i];o.f&me?Ro(o,t,!1):t===o&&(n?le(o,ye):o.f&ve&&le(o,Ke),Je(o))}}function Bo(e){var t,n=Te,r=Be,i=$e,o=V,s=Oe,l=ue,c=Xe,u=an,h=e.f;Te=null,Be=0,$e=null,V=h&(Ye|Gt)?null:e,Oe=null,wn(e.ctx),Xe=!1,an=++on,e.ac!==null&&(kr(()=>{e.ac.abort(Zt)}),e.ac=null);try{e.f|=Hr;var g=e.fn,v=g();e.f|=Vt;var f=e.deps,k=Y?.is_fork;if(Te!==null){var p;if(k||Jn(e,Be),f!==null&&Be>0)for(f.length=Be+Te.length,p=0;p<Te.length;p++)f[Be+p]=Te[p];else e.deps=f=Te;if(ai()&&e.f&ze)for(p=Be;p<f.length;p++)((t=f[p]).reactions??(t.reactions=[])).push(e)}else!k&&f!==null&&Be<f.length&&(Jn(e,Be),f.length=Be);if(Ln()&&$e!==null&&!Xe&&f!==null&&!(e.f&(me|Ke|ye)))for(p=0;p<$e.length;p++)Ro($e[p],e);if(o!==null&&o!==e){if(on++,o.deps!==null)for(let E=0;E<r;E+=1)o.deps[E].rv=on;if(n!==null)for(const E of n)E.rv=on;$e!==null&&(i===null?i=$e:i.push(...$e))}return e.f&It&&(e.f^=It),v}catch(E){return Qi(E)}finally{e.f^=Hr,Te=n,Be=r,$e=i,V=o,Oe=s,wn(l),Xe=c,an=u}}function cl(e,t){let n=t.reactions;if(n!==null){var r=ns.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&me&&(Te===null||!hn.call(Te,t))){var o=t;o.f&ze&&(o.f^=ze,o.f&=~Kt),Vr(o),Ys(o),Jn(o,0)}}function Jn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)cl(e,n[r])}function xn(e){var t=e.f;if(!(t>)){le(e,ve);var n=J,r=Sr;J=e,Sr=!0;try{t&(vt|Gi)?al(e):ci(e),_o(e);var i=Bo(e);e.teardown=typeof i=="function"?i:null,e.wv=Ao;var o;ts&&Ws&&e.f&ye&&e.deps}finally{Sr=r,J=n}}}async function ul(){await Promise.resolve(),Ms()}function a(e){var t=e.f,n=(t&me)!==0;if(V!==null&&!Xe){var r=J!==null&&(J.f>)!==0;if(!r&&(Oe===null||!hn.call(Oe,e))){var i=V.deps;if(V.f&Hr)e.rv<on&&(e.rv=on,Te===null&&i!==null&&i[Be]===e?Be++:Te===null?Te=[e]:Te.push(e));else{(V.deps??(V.deps=[])).push(e);var o=e.reactions;o===null?e.reactions=[V]:hn.call(o,V)||o.push(V)}}}if(Nt&&jt.has(e))return jt.get(e);if(n){var s=e;if(Nt){var l=s.v;return(!(s.f&ve)&&s.reactions!==null||Lo(s))&&(l=ii(s)),jt.set(s,l),l}var c=(s.f&ze)===0&&!Xe&&V!==null&&(Sr||(V.f&ze)!==0),u=(s.f&Vt)===0;Kn(s)&&(c&&(s.f|=ze),lo(s)),c&&!u&&(co(s),zo(s))}if(Se!=null&&Se.has(e))return Se.get(e);if(e.f&It)throw e.v;return e.v}function zo(e){if(e.f|=ze,e.deps!==null)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),t.f&me&&!(t.f&ze)&&(co(t),zo(t))}function Lo(e){if(e.v===we)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(jt.has(t)||t.f&me&&Lo(t))return!0;return!1}function Zn(e){var t=Xe;try{return Xe=!0,e()}finally{Xe=t}}const Sn=Symbol("events"),jo=new Set,di=new Set;function dl(e,t,n,r={}){function i(o){if(r.capture||pi.call(t,o),!o.cancelBubble)return kr(()=>n?.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?mt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function ct(e,t,n,r,i){var o={capture:r,passive:i},s=dl(e,t,n,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&si(()=>{t.removeEventListener(e,s,o)})}function sn(e,t,n){(t[Sn]??(t[Sn]={}))[e]=n}function _r(e){for(var t=0;t<e.length;t++)jo.add(e[t]);for(var n of di)n(e)}let No=null;function pi(e){var t,n,r=this,i=r.ownerDocument,o=e.type,s=((t=e.composedPath)==null?void 0:t.call(e))||[],l=s[0]||e.target;No=e;var c=0,u=No===e&&e[Sn];if(u){var h=s.indexOf(u);if(h!==-1&&(r===document||r===window)){e[Sn]=r;return}var g=s.indexOf(r);if(g===-1)return;h<=g&&(c=h)}if(l=s[c]||e.target,l!==r){rs(e,"currentTarget",{configurable:!0,get(){return l||i}});var v=V,f=J;qe(null),lt(null);try{for(var k,p=[];l!==null;){var E=l.assignedSlot||l.parentNode||l.host||null;try{var y=(n=l[Sn])==null?void 0:n[o];y!=null&&(!l.disabled||e.target===l)&&y.call(l,e)}catch(P){k?p.push(P):k=P}if(e.cancelBubble||E===r||E===null)break;l=E}if(k){for(let P of p)queueMicrotask(()=>{throw P});throw k}}finally{e[Sn]=r,delete e.currentTarget,qe(v),lt(f)}}}var qo;const Oo=((qo=globalThis?.window)==null?void 0:qo.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function pl(e){return Oo?.createHTML(e)??e}function $o(e){var t=bo("template");return t.innerHTML=pl(e.replaceAll("<!>","<!---->")),t.content}function _n(e,t){var n=J;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function j(e,t){var n=(t&Oi)!==0,r=(t&es)!==0,i,o=!e.startsWith("<!>");return()=>{i===void 0&&(i=$o(o?e:"<!>"+e),n||(i=_t(i)));var s=r||go?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=_t(s),c=s.lastChild;_n(l,c)}else _n(s,s);return s}}function hl(e,t,n="svg"){var r=!e.startsWith("<!>"),i=(t&Oi)!==0,o=`<${n}>${r?e:"<!>"+e}</${n}>`,s;return()=>{if(!s){var l=$o(o),c=_t(l);if(i)for(s=document.createDocumentFragment();_t(c);)s.appendChild(_t(c));else s=_t(c)}var u=s.cloneNode(!0);if(i){var h=_t(u),g=u.lastChild;_n(h,g)}else _n(u,u);return u}}function qt(e,t){return hl(e,t,"svg")}function Tt(e=""){{var t=St(e+"");return _n(t,t),t}}function Cr(){var e=document.createDocumentFragment(),t=document.createComment(""),n=St();return e.append(t,n),_n(t,n),e}function D(e,t){e!==null&&e.before(t)}const fl=["touchstart","touchmove"];function vl(e){return fl.includes(e)}function O(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=`${n}`)}function gl(e,t){return wl(e,t)}const Tr=new Map;function wl(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0,transformError:l}){Qs();var c=void 0,u=il(()=>{var h=n??t.appendChild(St());Ls(h,{pending:()=>{}},f=>{it({});var k=ue;o&&(k.c=o),i&&(r.$$events=i),c=e(f,r)||{},ot()},l);var g=new Set,v=f=>{for(var k=0;k<f.length;k++){var p=f[k];if(!g.has(p)){g.add(p);var E=vl(p);for(const B of[t,document]){var y=Tr.get(B);y===void 0&&(y=new Map,Tr.set(B,y));var P=y.get(p);P===void 0?(B.addEventListener(p,pi,{passive:E}),y.set(p,1)):y.set(p,P+1)}}}};return v(fr(jo)),di.add(v),()=>{var f;for(var k of g)for(const y of[t,document]){var p=Tr.get(y),E=p.get(k);--E==0?(y.removeEventListener(k,pi),p.delete(k),p.size===0&&Tr.delete(y)):p.set(k,E)}di.delete(v),h!==n&&((f=h.parentNode)==null||f.removeChild(h))}});return ml.set(c,u),c}let ml=new WeakMap;var ut,Pt,Ue,Cn,Pr,Wr,hi;class Uo{constructor(t,n=!0){Ve(this,"anchor"),U(this,ut,new Map),U(this,Pt,new Map),U(this,Ue,new Map),U(this,Cn,new Set),U(this,Pr,!0),U(this,Wr,()=>{var r=Y;if(d(this,ut).has(r)){var i=d(this,ut).get(r),o=d(this,Pt).get(i);if(o)ui(o),d(this,Cn).delete(i);else{var s=d(this,Ue).get(i);s&&(d(this,Pt).set(i,s.effect),d(this,Ue).delete(i),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),o=s.effect)}for(const[l,c]of d(this,ut)){if(d(this,ut).delete(l),l===r)break;const u=d(this,Ue).get(c);u&&(Ce(u.effect),d(this,Ue).delete(c))}for(const[l,c]of d(this,Pt)){if(l===i||d(this,Cn).has(l))continue;const u=()=>{if(Array.from(d(this,ut).values()).includes(l)){var h=document.createDocumentFragment();Wo(c,h),h.append(St()),d(this,Ue).set(l,{effect:c,fragment:h})}else Ce(c);d(this,Cn).delete(l),d(this,Pt).delete(l)};d(this,Pr)||!o?(d(this,Cn).add(l),rn(c,u,!1)):u()}}}),U(this,hi,r=>{d(this,ut).delete(r);const i=Array.from(d(this,ut).values());for(const[o,s]of d(this,Ue))i.includes(o)||(Ce(s.effect),d(this,Ue).delete(o))}),this.anchor=t,q(this,Pr,n)}ensure(t,n){var r=Y,i=yo();if(n&&!d(this,Pt).has(t)&&!d(this,Ue).has(t))if(i){var o=document.createDocumentFragment(),s=St();o.append(s),d(this,Ue).set(t,{effect:Ne(()=>n(s)),fragment:o})}else d(this,Pt).set(t,Ne(()=>n(this.anchor)));if(d(this,ut).set(r,t),i){for(const[l,c]of d(this,Pt))l===t?r.unskip_effect(c):r.skip_effect(c);for(const[l,c]of d(this,Ue))l===t?r.unskip_effect(c.effect):r.skip_effect(c.effect);r.oncommit(d(this,Wr)),r.ondiscard(d(this,hi))}else d(this,Wr).call(this)}}ut=new WeakMap,Pt=new WeakMap,Ue=new WeakMap,Cn=new WeakMap,Pr=new WeakMap,Wr=new WeakMap,hi=new WeakMap;function fi(e){ue===null&&hs(),gn&&ue.l!==null?yl(ue).m.push(e):kn(()=>{const t=Zn(e);if(typeof t=="function")return t})}function yl(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}function Z(e,t,n=!1){var r=new Uo(e),i=n?Yt:0;function o(s,l){r.ensure(s,l)}xr(()=>{var s=!1;t((l,c=0)=>{s=!0,o(c,l)}),s||o(!1,null)},i)}function Tn(e,t){return t}function bl(e,t,n){for(var r=[],i=t.length,o,s=t.length,l=0;l<i;l++){let g=t[l];rn(g,()=>{if(o){if(o.pending.delete(g),o.done.add(g),o.pending.size===0){var v=e.outrogroups;vi(fr(o.done)),v.delete(o),v.size===0&&(e.outrogroups=null)}}else s-=1},!1)}if(s===0){var c=r.length===0&&n!==null;if(c){var u=n,h=u.parentNode;Xs(h),h.append(u),e.items.clear()}vi(t,!c)}else o={pending:new Set(t),done:new Set},(e.outrogroups??(e.outrogroups=new Set)).add(o)}function vi(e,t=!0){for(var n=0;n<e.length;n++)Ce(e[n],t)}var Dr;function Ot(e,t,n,r,i,o=null){var s=e,l=new Map,c=(t&qi)!==0;if(c){var u=e;s=u.appendChild(St())}var h=null,g=ri(()=>{var y=n();return Ur(y)?y:y==null?[]:fr(y)}),v,f=!0;function k(){E.fallback=h,kl(E,v,s,t,r),h!==null&&(v.length===0?h.f&wt?(h.f^=wt,Xn(h,null,s)):ui(h):rn(h,()=>{h=null}))}var p=xr(()=>{v=a(g);for(var y=v.length,P=new Set,B=Y,C=yo(),_=0;_<y;_+=1){var W=v[_],w=r(W,_),T=f?null:l.get(w);T?(T.v&&bn(T.v,W),T.i&&bn(T.i,_),C&&B.unskip_effect(T.e)):(T=xl(l,f?s:Dr??(Dr=St()),W,w,_,i,t,n),f||(T.e.f|=wt),l.set(w,T)),P.add(w)}if(y===0&&o&&!h&&(f?h=Ne(()=>o(s)):(h=Ne(()=>o(Dr??(Dr=St()))),h.f|=wt)),y>P.size&&vs(),!f)if(C){for(const[x,N]of l)P.has(x)||B.skip_effect(N.e);B.oncommit(k),B.ondiscard(()=>{})}else k();a(g)}),E={effect:p,items:l,outrogroups:null,fallback:h};f=!1}function Qn(e){for(;e!==null&&!(e.f&Ye);)e=e.next;return e}function kl(e,t,n,r,i){var o,s,l,c,u,h,g,v,f,k=(r&Va)!==0,p=t.length,E=e.items,y=Qn(e.effect.first),P,B=null,C,_=[],W=[],w,T,x,N;if(k)for(N=0;N<p;N+=1)w=t[N],T=i(w,N),x=E.get(T).e,x.f&wt||((s=(o=x.nodes)==null?void 0:o.a)==null||s.measure(),(C??(C=new Set)).add(x));for(N=0;N<p;N+=1){if(w=t[N],T=i(w,N),x=E.get(T).e,e.outrogroups!==null)for(const ke of e.outrogroups)ke.pending.delete(x),ke.done.delete(x);if(x.f&wt)if(x.f^=wt,x===y)Xn(x,null,n);else{var ne=B?B.next:y;x===e.effect.last&&(e.effect.last=x.prev),x.prev&&(x.prev.next=x.next),x.next&&(x.next.prev=x.prev),$t(e,B,x),$t(e,x,ne),Xn(x,ne,n),B=x,_=[],W=[],y=Qn(B.next);continue}if(x.f&Ie&&(ui(x),k&&((c=(l=x.nodes)==null?void 0:l.a)==null||c.unfix(),(C??(C=new Set)).delete(x))),x!==y){if(P!==void 0&&P.has(x)){if(_.length<W.length){var te=W[0],re;B=te.prev;var ge=_[0],pe=_[_.length-1];for(re=0;re<_.length;re+=1)Xn(_[re],te,n);for(re=0;re<W.length;re+=1)P.delete(W[re]);$t(e,ge.prev,pe.next),$t(e,B,ge),$t(e,pe,te),y=te,B=pe,N-=1,_=[],W=[]}else P.delete(x),Xn(x,y,n),$t(e,x.prev,x.next),$t(e,x,B===null?e.effect.first:B.next),$t(e,B,x),B=x;continue}for(_=[],W=[];y!==null&&y!==x;)(P??(P=new Set)).add(y),W.push(y),y=Qn(y.next);if(y===null)continue}x.f&wt||_.push(x),B=x,y=Qn(x.next)}if(e.outrogroups!==null){for(const ke of e.outrogroups)ke.pending.size===0&&(vi(fr(ke.done)),(u=e.outrogroups)==null||u.delete(ke));e.outrogroups.size===0&&(e.outrogroups=null)}if(y!==null||P!==void 0){var ce=[];if(P!==void 0)for(x of P)x.f&Ie||ce.push(x);for(;y!==null;)!(y.f&Ie)&&y!==e.fallback&&ce.push(y),y=Qn(y.next);var se=ce.length;if(se>0){var Ft=r&qi&&p===0?n:null;if(k){for(N=0;N<se;N+=1)(g=(h=ce[N].nodes)==null?void 0:h.a)==null||g.measure();for(N=0;N<se;N+=1)(f=(v=ce[N].nodes)==null?void 0:v.a)==null||f.fix()}bl(e,ce,Ft)}}k&&mt(()=>{var ke,Dt;if(C!==void 0)for(x of C)(Dt=(ke=x.nodes)==null?void 0:ke.a)==null||Dt.apply()})}function xl(e,t,n,r,i,o,s,l){var c=s&Ha?s&Ya?nn(n):Ks(n,!1,!1):null,u=s&Ga?nn(i):null;return{v:c,i:u,e:Ne(()=>(o(t,c??n,u??i,l),()=>{e.delete(r)}))}}function Xn(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,o=t&&!(t.f&wt)?t.nodes.start:n;r!==null;){var s=Yn(r);if(o.before(r),r===i)return;r=s}}function $t(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Fo(e,t,n,r,i){var o,s=(o=t.$$slots)==null?void 0:o[n],l=!1;s===!0&&(s=t.children,l=!0),s===void 0||s(e,l?()=>r:r)}function Ho(e,t,n){var r=new Uo(e);xr(()=>{var i=t()??null;r.ensure(i,i&&(o=>n(o,i)))},Yt)}function dt(e,t){So(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=bo("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Go(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Go(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Sl(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Go(e))&&(r&&(r+=" "),r+=t);return r}function Pn(e){return typeof e=="object"?Sl(e):e??""}const Vo=[...`
|
|
2
|
+
\r\f\xA0\v\uFEFF`];function _l(e,t,n){var r=e==null?"":""+e;if(t&&(r=r?r+" "+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+" "+i:i;else if(r.length)for(var o=i.length,s=0;(s=r.indexOf(i,s))>=0;){var l=s+o;(s===0||Vo.includes(r[s-1]))&&(l===r.length||Vo.includes(r[l]))?r=(s===0?"":r.substring(0,s))+r.substring(l+1):s=l}}return r===""?null:r}function pt(e,t,n,r,i,o){var s=e.__className;if(s!==n||s===void 0){var l=_l(n,r,o);l==null?e.removeAttribute("class"):t?e.className=l:e.setAttribute("class",l),e.__className=n}else if(o&&i!==o)for(var c in o){var u=!!o[c];(i==null||u!==!!i[c])&&e.classList.toggle(c,u)}return o}function Yo(e,t,n=!1){if(e.multiple){if(t==null)return;if(!Ur(t))return Cs();for(var r of e.options)r.selected=t.includes(Ko(r));return}for(r of e.options){var i=Ko(r);if(Zs(i,t)){r.selected=!0;return}}(!n||t!==void 0)&&(e.selectedIndex=-1)}function Cl(e){var t=new MutationObserver(()=>{Yo(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),si(()=>{t.disconnect()})}function Ko(e){return"__value"in e?e.__value:e.value}const Tl=Symbol("is custom element"),Pl=Symbol("is html");function Wl(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function R(e,t,n,r){var i=Dl(e);i[t]!==(i[t]=n)&&(t==="loading"&&(e[ps]=n),n==null?e.removeAttribute(t):typeof n!="string"&&El(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Dl(e){return e.__attributes??(e.__attributes={[Tl]:e.nodeName.includes("-"),[Pl]:e.namespaceURI===$i})}var Jo=new Map;function El(e){var t=e.getAttribute("is")||e.nodeName,n=Jo.get(t);if(n)return n;Jo.set(t,n=[]);for(var r,i=e,o=Element.prototype;o!==i;){r=is(i);for(var s in r)r[s].set&&n.push(s);i=Ui(i)}return n}function Al(e,t,n=t){var r=new WeakSet;tl(e,"input",async i=>{var o=i?e.defaultValue:e.value;if(o=gi(e)?wi(o):o,n(o),Y!==null&&r.add(Y),await ul(),o!==(o=t())){var s=e.selectionStart,l=e.selectionEnd,c=e.value.length;if(e.value=o??"",l!==null){var u=e.value.length;s===l&&l===c&&u>c?(e.selectionStart=u,e.selectionEnd=u):(e.selectionStart=s,e.selectionEnd=Math.min(l,u))}}}),Zn(t)==null&&e.value&&(n(gi(e)?wi(e.value):e.value),Y!==null&&r.add(Y)),li(()=>{var i=t();if(e===document.activeElement){var o=Yr??Y;if(r.has(o))return}gi(e)&&i===wi(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function gi(e){var t=e.type;return t==="number"||t==="range"}function wi(e){return e===""?null:+e}function Zo(e,t){return e===t||e?.[Jt]===t}function Il(e={},t,n,r){return So(()=>{var i,o;return li(()=>{i=o,o=[],Zn(()=>{e!==n(...o)&&(t(e,...o),i&&Zo(n(...i),e)&&t(null,...i))})}),()=>{mt(()=>{o&&Zo(n(...o),e)&&t(null,...o)})}}),e}let Er=!1;function Ml(e){var t=Er;try{return Er=!1,[e(),Er]}finally{Er=t}}function Pe(e,t,n,r){var i,o=!gn||(n&Ja)!==0,s=(n&Qa)!==0,l=(n&Xa)!==0,c=r,u=!0,h=()=>(u&&(u=!1,c=l?Zn(r):r),c),g;if(s){var v=Jt in e||ds in e;g=((i=fn(e,t))==null?void 0:i.set)??(v&&t in e?C=>e[t]=C:void 0)}var f,k=!1;s?[f,k]=Ml(()=>e[t]):f=e[t],f===void 0&&r!==void 0&&(f=h(),g&&(o&&bs(),g(f)));var p;if(o?p=()=>{var C=e[t];return C===void 0?h():(u=!0,C)}:p=()=>{var C=e[t];return C!==void 0&&(c=void 0),C===void 0?c:C},o&&!(n&Za))return p;if(g){var E=e.$$legacy;return function(C,_){return arguments.length>0?((!o||!_||E||k)&&g(_?p():C),C):p()}}var y=!1,P=(n&Ka?br:ri)(()=>(y=!1,p()));s&&a(P);var B=J;return function(C,_){if(arguments.length>0){const W=_?a(P):o&&s?Re(C):C;return m(P,W),y=!0,c!==void 0&&(c=W),C}return Nt&&y||B.f>?P.v:a(P)}}const Qo="wineater_consent",Rl=["wineater_uid","uniqueUserID","sessionID"];function Bl(){try{const e=window.localStorage.getItem(Qo);return e==="granted"||e==="denied"?e:null}catch{return null}}let mi=G(Re(Bl())),Ar=G(null),Ir=null;function zl(e){Ir=e}function Ll(e){m(Ar,e,!0)}function Xo(){var e;return((e=window?.wineaterData)==null?void 0:e.requireConsent)===!0?!0:a(Ar)===!0}function jl(){return Ir?!1:a(Ar)!==null&&Xo()&&a(mi)===null}function ea(){var e;return((e=window?.wineaterData)==null?void 0:e.tracking)===!1?!1:Ir?Ir():a(Ar)===null?!1:Xo()?a(mi)==="granted":!0}function Nl(){for(const e of Rl){try{window.localStorage.removeItem(e)}catch{}try{document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`}catch{}}}const yi=new Set;function ql(e){return yi.add(e),()=>yi.delete(e)}function ta(e){m(mi,e,!0);try{window.localStorage.setItem(Qo,e)}catch{}e==="denied"&&Nl();for(const t of yi)t(e)}const Ol=/^[a-z0-9][a-z0-9-]*\.myshopify\.com$/;function $l(e){if(!e||typeof e!="object")return null;const t=e,n=String(t.shop??"").trim().toLowerCase();if(!Ol.test(n))return null;const r=typeof t.root=="string"&&t.root.startsWith("/")?t.root:"/";return{shop:n,locale:typeof t.locale=="string"&&t.locale?t.locale:null,currency:typeof t.currency=="string"&&t.currency?t.currency:null,root:r.endsWith("/")?r:`${r}/`,config:t.config&&typeof t.config=="object"?t.config:null,color:typeof t.color=="string"&&/^#[0-9a-f]{3,8}$/i.test(t.color)?t.color:null}}let bi;function et(){var e;return bi===void 0&&(bi=typeof window>"u"?null:$l((e=window.wineaterData)==null?void 0:e.shopify)),bi}function na(e){var t;const n=(t=/[?&]variant=(\d+)/.exec(e.url??""))==null?void 0:t[1];if(n)return n;const r=String(e.itemId??"").trim();return/^\d+$/.test(r)?r:null}function Ul(e,t,n){const r=i=>(i??"").toLowerCase().split("-")[0];for(const i of[r(e),r(t)])if(i&&n.includes(i))return i;return"en"}function Fl(e,t){return e===429&&t?.code==="quota_exceeded"}class ra extends Error{constructor(){super("quota_exceeded"),this.name="QuotaExceededError"}}let ki=null;function ia(){var e,t;if(ki)return ki;let n=null;try{n=window.sessionStorage.getItem("wineater_sf_session")}catch{}if(!n){n=((t=(e=globalThis.crypto)==null?void 0:e.randomUUID)==null?void 0:t.call(e))??`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;try{window.sessionStorage.setItem("wineater_sf_session",n)}catch{}}return ki=n,n}function Hl(){var e;try{const t=(e=window.Shopify)==null?void 0:e.customerPrivacy;if(t&&typeof t.analyticsProcessingAllowed=="function")return t.analyticsProcessingAllowed()===!0}catch{}return!1}function Gl(){try{const e=window.Shopify;if(e!=null&&e.customerPrivacy||typeof e?.loadFeatures!="function")return;e.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],()=>{})}catch{}}const oa="4.25.0";function aa(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}function xi(e,t,n){let r="";if(n){const i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3),r="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+r+"; path=/; secure; samesite=strict"}function Si(e){const t=e+"=",n=document.cookie.split(";");for(let r=0;r<n.length;r++){let i=n[r];for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null}function Vl(){const e="uniqueUserID";let t=Si(e);return t||(t=aa(),xi(e,t,365)),t}function We(e,t,n={},r={}){var i;const o=(i=et())==null?void 0:i.shop,s=o?"https://api.wineater.com/shopify/storefront/events":"https://api.wineater.com/api/widget-events",l=o?{shop:o}:{},c=new Date().toISOString(),u=navigator.language.split("-")[1]||null,h=navigator.language.split("-")[0]||"en";if(!ea()){const p={...l,event_type:e,store_id:t,event_time:c,data:n,meta:{...r,anonymous:!0,widget_version:oa},device_info:{device:window.innerWidth<768?"mobile":"desktop"},region:u,language:h};return fetch(s,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(p),keepalive:!0}).catch(E=>{console.debug("[wineater] anonymous event failed:",E?.message)})}let g=Si("uniqueUserID");g||(g=Vl());const v={user_agent:navigator.userAgent,screen_width:window.screen.width,screen_height:window.screen.height,language:navigator.language,platform:navigator.platform};let f=Si("sessionID");f||(f=aa(),xi("sessionID",f,1));const k={...l,event_type:e,store_id:t,session_id:f,event_time:c,data:n,meta:{...r,user_id:g,widget_version:oa},device_info:v,region:u,language:h};return fetch(s,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(k),keepalive:!!o}).then(p=>p.ok?p.json():p.json().then(E=>{throw new Error(E.message||"Failed to track widget event")})).catch(p=>{throw console.error("Widget event tracking error:",p),p})}function Yl(e){return{id:String(e.ID),appellation:e.Appellation||null,country:e.Country||null,grape:e.Grape,image:e.Image,price:Number(e.Price),producer:e.Producer||null,region:e.Region,score:e.Score?Number(e.Score):null,shortDescription:e["Short Description"]||null,store:e.Store,storeId:e.Store_id||null,tags:Array.isArray(e.Tags)?e.Tags.map(String):[],title:e.Title,type:e.Type,url:e.Url||null,vintage:e.Vintage?Number(e.Vintage):null,pairingRecommendation:e.pairing_recommendation||null,total:e.Total?Number(e.Total):null,itemId:e.item_id||null,isPromote:e.is_promote?!!e.is_promote:null,stock:e.stock?Number(e.stock):null,byTheGlass:!!e.by_the_glass,glassPrice:e.glass_price!=null?Number(e.glass_price):null}}function er(e){return{id:String(e.id),title:String(e.title),description:String(e.description),region:String(e.region),price:Number(e.price),grape:String(e.grape),appellation:e.appellation?String(e.appellation):null,url:e.url?String(e.url):null,store:String(e.store),storeId:e.storeId?String(e.storeId):null,image:String(e.image),country:e.country?String(e.country):null,vintage:e.vintage?Number(e.vintage):null,tags:Array.isArray(e.tags)?e.tags.map(String):[],score:e.score?Number(e.score):null,total:e.total?Number(e.total):null,isPromote:e.is_promote?!!e.is_promote:null,stock:e.stock?Number(e.stock):null,distance:Number(e.distance),reason:String(e.reason),type:String(e.type),byTheGlass:!!e.by_the_glass,glassPrice:e.glass_price!=null?Number(e.glass_price):null}}function Kl(e){return{recommendations:(e.recommendations||[]).filter(Boolean).map(er),hasMore:!!e.has_more}}const tr="wineater_uid",Jl=365;let Mr=null;function sa(){const e=globalThis.crypto;if(e!=null&&e.randomUUID)return e.randomUUID();const t=new Uint8Array(16);if(e!=null&&e.getRandomValues)e.getRandomValues(t);else for(let r=0;r<16;r++)t[r]=Math.random()*256|0;t[6]=t[6]&15|64,t[8]=t[8]&63|128;const n=Array.from(t,r=>r.toString(16).padStart(2,"0")).join("");return`${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20)}`}const la=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function ca(e){try{const t=e+"=";for(const n of document.cookie.split(";")){const r=n.trim();if(r.startsWith(t))return decodeURIComponent(r.slice(t.length))}}catch{}return null}function Zl(e,t){try{const n=new Date(Date.now()+Jl*864e5).toUTCString();document.cookie=`${e}=${encodeURIComponent(t)}; expires=${n}; path=/; SameSite=Lax; Secure`}catch{}}function ua(){return ea()}ql(e=>{e==="denied"&&(Mr=null)});function _i(){if(!ua())return null;if(Mr)return Mr;let e=null;try{e=window.localStorage.getItem(tr)}catch{}(!e||!la.test(e))&&(e=ca(tr)),(!e||!la.test(e))&&(e=sa());try{window.localStorage.setItem(tr,e)}catch{}return ca(tr)!==e&&Zl(tr,e),Mr=e,e}function da(){return sa()}const Ql=2e3,pa=100;let Rr=null,Wn=[],nr=null,ha=!1;function Xl(e){Rr=e,!(ha||typeof document>"u")&&(ha=!0,document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&rr()}),window.addEventListener("pagehide",()=>void rr()))}function ln(e){var t;if(!(!ua()||!Rr)&&!(!((t=e.sku_ids)!=null&&t.length)&&e.type!=="more")){if(Wn.push(e),Wn.length>=pa){rr();return}nr||(nr=setTimeout(()=>void rr(),Ql))}}async function rr(){if(nr&&(clearTimeout(nr),nr=null),!Rr||Wn.length===0)return;const e=_i();if(!e){Wn=[];return}const t=Wn.splice(0,pa);try{await Rr({uid:e,events:t})}catch(n){console.debug("[wineater] feedback flush failed:",n?.message)}Wn.length>0&&rr()}const fa=24;function va(e,t,n){return e!=="bar"||!t||!n||t===n?null:t}function Ci(e,t){return t?{...e,language:t}:e}function ec(e,t){const n=t?.translations;return e.map(r=>{const i=n&&typeof n=="object"?n[r.id]:null,o={};if(i&&typeof i.shortDescription=="string"&&i.shortDescription.trim()&&(o.shortDescription=i.shortDescription),i&&Array.isArray(i.tags)){const s=i.tags.filter(l=>typeof l=="string"&&l.trim());s.length&&(o.tags=s)}return o})}async function tc(e,t,n){const r=[...new Set(t.filter(Boolean))];if(!r.length||!n)return null;const i={};let o=!1;for(let s=0;s<r.length;s+=fa)try{const l=await e({ids:r.slice(s,s+fa),language:n});l&&typeof l.translations=="object"&&l.translations&&(Object.assign(i,l.translations),o=!0)}catch{}return o?{language:n,translations:i}:null}const nc="X-Wineater-Uid";class ga extends Error{constructor(t,n){super(`API call failed with status ${t}: ${n?.message||"No additional error information"}`),Ve(this,"status"),Ve(this,"data"),this.status=t,this.data=n}}var ir,Br,cn,or,ar,Dn,be,Ti,Wt,Pi,Wi,wa;class rc{constructor(t,n="1"){U(this,be),U(this,ir,"https://api.wineater.com/"),U(this,Br),U(this,cn),U(this,or,!1),U(this,ar,null),U(this,Dn,null),q(this,Br,t),q(this,cn,n)}async getInstantRecommendations(){var t;try{const n=(t=et())==null?void 0:t.shop,r=n?"shopify/storefront/instant":d(this,cn)==="2"?"dish/recommendations/instant/v2":"dish/recommendations/instant",{data:i,headers:o}=await K(this,be,Pi).call(this,r,n?K(this,be,Wi).call(this,{}):{});return{wines:i.filter(Boolean).map(Yl),profileHash:o.get("X-Wineater-Profile")||null}}catch(n){throw new Error(`Error in getInstantRecommendations: ${n.message}`)}}async getWineRecommendationsSearch(t,n){if(et())return K(this,be,wa).call(this,t,n);try{const r=d(this,cn)==="2"?"dish/recommendations/search/v2":"dish/recommendations/search",i=n?{text:t,query_id:n}:{text:t};return(await K(this,be,Wt).call(this,r,d(this,cn)==="2"?Ci(i,d(this,Dn)):i)).filter(Boolean).map(er)}catch(r){throw new Error(`Error in getWineRecommendations: ${r.message}`)}}async searchStream(t,n,r){const i=()=>this.getWineRecommendationsSearch(t,n);if(d(this,cn)!=="2"||et())return i();let o;try{o=await fetch(`${d(this,ir)}dish/recommendations/search/v2/stream`,{method:"POST",headers:K(this,be,Ti).call(this),body:JSON.stringify(Ci(n?{text:t,query_id:n}:{text:t},d(this,Dn)))})}catch{return i()}if(!o.ok||!o.body)return i();const s=o.body.getReader(),l=new TextDecoder;let c="",u=null;const h=g=>(g??[]).filter(Boolean).map(er);try{for(;;){const{done:g,value:v}=await s.read();v&&(c+=l.decode(v,{stream:!0}));const f=c.split(`
|
|
3
|
+
`);c=g?"":f.pop()??"";for(const k of g?f.filter(Boolean):f){if(!k.trim())continue;const p=JSON.parse(k);if(p.type==="wines")u=h(p.recommendations).map(E=>({...E,reason:""})),r(u);else{if(p.type==="final")return h(p.recommendations);if(p.type==="error")return u||i()}}if(g)break}}catch{return u||i()}return u??i()}async getMoreWineRecommendations(t,n){try{const r=await K(this,be,Wt).call(this,"dish/recommendations/search/v2/more",Ci({text:t,exclude_ids:n},d(this,Dn)));return Kl(r)}catch(r){throw new Error(`Error in getMoreWineRecommendations: ${r.message}`)}}async getSimilarWines(t){try{return(await K(this,be,Wt).call(this,"dish/recommendations/similar",{id:t})).filter(Boolean).map(er)}catch(n){throw new Error(`Error in getSimilarWines: ${n.message}`)}}async postEvents(t){await K(this,be,Wt).call(this,"events",t,{keepalive:!0})}setVisitorLanguage(t){q(this,Dn,t)}async getWineTranslations(t,n){return tc(r=>K(this,be,Wt).call(this,"wines/translations",r).catch(()=>null),t,n)}setLanguage(t){q(this,ar,t)}async getShopifyConfig(){const t=et().shop;return K(this,be,Wt).call(this,`shopify/storefront/config?shop=${encodeURIComponent(t)}`,void 0,{method:"GET"})}async getStoreConfig(){try{return await K(this,be,Wt).call(this,"stores/store",{})}catch(t){throw console.error("Error fetching store configuration:",t),t}}}ir=new WeakMap,Br=new WeakMap,cn=new WeakMap,or=new WeakMap,ar=new WeakMap,Dn=new WeakMap,be=new WeakSet,Ti=function(){const e={"Content-Type":"application/json",Authorization:`Bearer ${d(this,Br)}`};if(!d(this,or)){const t=_i();t&&(e[nc]=t)}return e},Wt=async function(e,t,n={}){return(await K(this,be,Pi).call(this,e,t,n)).data},Pi=async function(e,t,n={}){const r=()=>({method:n.method??"POST",headers:K(this,be,Ti).call(this),body:t===void 0?void 0:JSON.stringify(t),keepalive:n.keepalive});let i;try{i=await fetch(`${d(this,ir)}${e}`,r())}catch(l){if(d(this,or)||!_i())throw l;q(this,or,!0),i=await fetch(`${d(this,ir)}${e}`,r())}const o=await i.text();let s=null;try{s=o?JSON.parse(o):null}catch{if(i.ok)throw new Error("API returned invalid JSON")}if(!i.ok)throw new ga(i.status,s);return{data:s,headers:i.headers}},Wi=function(e){const t=et().shop;return d(this,ar)?{...e,shop:t,language:d(this,ar)}:{...e,shop:t}},wa=async function(e,t){try{const n=K(this,be,Wi).call(this,{text:e,session_id:ia(),...t?{query_id:t}:{}});return(await K(this,be,Wt).call(this,"shopify/storefront/search",n)??[]).filter(Boolean).map(er)}catch(n){throw n instanceof ga&&Fl(n.status,n.data)?new ra:new Error(`Error in getWineRecommendations: ${n.message}`)}};const ic="HeUw6IXuhvz6tRuXdPEGEbj3SGQ3Q2YtEc1Z8jd41Kg9LtyPb4Epu0to31SYIadG";var ma;const ya=((ma=window?.wineaterData)==null?void 0:ma.CLIENT_TOKEN)||ic;var ba;const Di=String(((ba=window?.wineaterData)==null?void 0:ba.apiVersion)||"1"),tt=new rc(ya,Di);Xl(e=>tt.postEvents(e));function oc(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n)|0;return(t>>>0).toString(36)}const Ei=`${oc(ya)}:${Di}`,ka="wineater:v1:";function Ai(e,t){try{const n=window.localStorage.getItem(ka+e);if(!n)return null;const r=JSON.parse(n);return Date.now()-r.savedAt>t?null:r.value}catch{return null}}function Ii(e,t){try{const n={savedAt:Date.now(),value:t};window.localStorage.setItem(ka+e,JSON.stringify(n))}catch{}}const De={WIDGET_INITIALIZED:"widget_initialized",WIDGET_LOADED:"widget_loaded",SEARCH_PERFORMED:"search_performed",SEARCH_RESULTS_DISPLAYED:"search_results_displayed",NO_RESULTS_FOUND:"no_results_found",WINE_CARD_HOVER:"wine_card_hover",WINE_CARD_CLICK:"wine_card_click",WINE_DETAILS_VIEWED:"wine_details_viewed",WINE_DETAILS_CLOSED:"wine_details_closed",BUY_BUTTON_CLICKED:"buy_button_clicked",SHOW_MORE_CLICKED:"show_more_clicked",SIMILAR_WINES_CLICKED:"similar_wines_clicked",FILTER_APPLIED:"filter_applied",LANGUAGE_CHANGED:"language_changed",ERROR_OCCURRED:"error_occurred",MOBILE_VIEW_ACTIVATED:"mobile_view_activated"},ac={lang:"fr",welcomeMessage:"Quel plat allez-vous d\xE9guster ? D\xE9crivez-le-moi et je vous proposerai le vin qui l'accompagnera parfaitement.",noResultsFound:"Aucun r\xE9sultat trouv\xE9.",somethingWentWrong:"D\xE9sol\xE9, quelque chose a mal tourn\xE9.",chatButton1:"Trouvez l'accord parfait",chatButton2:"Associez le vin",chatButton3:"Obtenez des conseils",chatTitle:"Accord Mets & Vins \u{1F377}",chatSubtitle:"D\xE9crivez votre plat et obtenez une recommandation en 30 secondes",inputPlaceholder:"ex., Salade de thon",sendButton:"Accorder",poweredBy:"Propuls\xE9 par",price:"Prix",region:"R\xE9gion",type:"Type",reason:"Suggestion",moreInfo:"Plus d'infos",tryAgain:"R\xE9essayer",similarWines:"Vins similaires",byTheGlass:"Au verre",winePairingIntro:"Pour ce vin, voici quelques suggestions de plats :",askForDinner:"Que voulez-vous manger ce soir?",clearChatButton:"Effacer le chat",widgetTitle:"TROUVEZ VOTRE VIN PARFAIT",widgetSubtitle:"Partagez tout ce que vous avez en t\xEAte\u2014votre repas, humeur, budget ou occasion\u2014et notre sommelier IA vous recommandera le vin parfait en quelques secondes",searchPlaceholder:"Entrez un mot-cl\xE9 ou une description","wineDetails.reason":"Raison","wineDetails.price":"Prix","wineDetails.region":"R\xE9gion","wineDetails.type":"Type","wineDetails.moreInfo":"Plus d'infos","wineDetails.code":"Code","wineDetails.buy":"Acheter",searchButton:"Rechercher",priceRange:"Gamme de prix",wineColor:"Couleur du vin",intensity:"Intensit\xE9",red:"Rouge",white:"Blanc",rose:"Ros\xE9",light:"L\xE9ger",medium:"Moyen",full:"Puissant",barTitle:"S\xE9lection du bar",barSubtitle:"Choisissez vos plats ci-dessous et cliquez sur \xABEnvoyer\xBB",barSendButton:"Envoyer",barResetButton:"R\xE9initialiser",barName:"Nom du bar",barNotesPlaceholder:"Entrez vos souhaits ici...",placeholderSuggestions:["Vin pour les p\xE2tes","Parfait avec du poisson","Recommand\xE9 pour une soir\xE9e"],headerLine1:"Partagez tout ce qui vous passe par la t\xEAte \u2014",headerLine2:"\u2014 et obtenez des recommandations de vin parfait en quelques secondes",headerMeal:"repas",headerMood:"humeur",headerBudget:"budget",headerOccasion:"occasion",headerOr:"ou",errorMessage:"Une erreur est survenue. Veuillez r\xE9essayer plus tard.",noResultsMessage:"Aucun r\xE9sultat trouv\xE9 pour votre recherche. Veuillez essayer une autre requ\xEAte.",ai_sommelier:"AI sommelier",consentText:"L'assistant vin enregistre un identifiant anonyme sur cet appareil pour apprendre vos go\xFBts et am\xE9liorer ses recommandations. Vous pouvez l'utiliser sans accepter.",consentAccept:"Accepter",consentDecline:"Refuser",consentPrivacy:"Politique de confidentialit\xE9",addToCart:"Ajouter au panier",addedToCart:"Ajout\xE9",sommelierResting:"Notre sommelier se repose. D\xE9couvrez notre s\xE9lection ci-dessous."},sc={lang:"es",welcomeMessage:"\xBFQu\xE9 vas a comer? Cu\xE9ntame tu plato y te recomendar\xE9 el maridaje perfecto.",noResultsFound:"No se encontraron resultados.",somethingWentWrong:"Lo sentimos, algo sali\xF3 mal.",chatButton1:"Encuentra tu maridaje",chatButton2:"Combina vino ya",chatButton3:"Recibe asesor\xEDa ahora",chatTitle:"Maridaje de Vinos \u{1F377}",chatSubtitle:"Describe tu comida y obt\xE9n una recomendaci\xF3n en 30 segundos",inputPlaceholder:"ej., Ensalada de at\xFAn",sendButton:"Combinar",poweredBy:"Desarrollado por",price:"Precio",region:"Regi\xF3n",type:"Tipo",reason:"Sugerencia",moreInfo:"M\xE1s info",tryAgain:"Probar otra vez",similarWines:"Vinos similares",byTheGlass:"Por copa",winePairingIntro:"Para este vino, aqu\xED tienes algunas sugerencias de platos:",askForDinner:"\xBFQu\xE9 te gustar\xEDa cenar?",clearChatButton:"Limpiar el chat",widgetTitle:"ENCUENTRA TU VINO PERFECTO",widgetSubtitle:"Comparte cualquier cosa que tengas en mente\u2014tu comida, estado de \xE1nimo, presupuesto o evento\u2014y nuestro sommelier de IA te recomendar\xE1 el vino perfecto en segundos",searchPlaceholder:"Escribe una palabra clave o descripci\xF3n","wineDetails.reason":"Raz\xF3n","wineDetails.price":"Precio","wineDetails.region":"Regi\xF3n","wineDetails.type":"Tipo","wineDetails.code":"C\xF3digo","wineDetails.moreInfo":"M\xE1s informaci\xF3n","wineDetails.buy":"Comprar",searchButton:"Buscar",priceRange:"Rango de precios",wineColor:"Color del vino",intensity:"Intensidad",red:"Tinto",white:"Blanco",rose:"Rosado",light:"Ligero",medium:"Medio",full:"Intenso",barTitle:"Platos de Bar",barSubtitle:"Selecciona de la lista y presiona \xABEnviar\xBB",barSendButton:"Enviar",barResetButton:"Reiniciar",barName:"Nombre del bar",barNotesPlaceholder:"Agrega tus comentarios aqu\xED...",placeholderSuggestions:["Vino para pasta","Perfecto con pescado","Recomendado para una fiesta"],headerLine1:"Comparte cualquier cosa que tengas en mente \u2014",headerLine2:"\u2014 y obt\xE9n recomendaciones del vino perfecto en cuesti\xF3n de segundos",headerMeal:"comida",headerMood:"estado de \xE1nimo",headerBudget:"presupuesto",headerOccasion:"ocasi\xF3n",headerOr:"o",errorMessage:"Algo sali\xF3 mal. Por favor, int\xE9ntalo de nuevo m\xE1s tarde.",noResultsMessage:"No se encontraron resultados para tu b\xFAsqueda. Por favor, intenta con otra consulta.",ai_sommelier:"AI sommelier",consentText:"El asistente de vinos guarda un identificador an\xF3nimo en este dispositivo para conocer tus gustos y mejorar las recomendaciones. Puedes usarlo sin aceptar.",consentAccept:"Aceptar",consentDecline:"Rechazar",consentPrivacy:"Pol\xEDtica de privacidad",addToCart:"A\xF1adir al carrito",addedToCart:"A\xF1adido",sommelierResting:"Nuestro sumiller est\xE1 descansando. Descubre nuestra selecci\xF3n."},lc={lang:"en",welcomeMessage:"What are you planning to eat? Share your dish and I'll recommend the perfect wine pairing for your meal.",noResultsFound:"No results found.",somethingWentWrong:"Sorry, something went wrong.",chatButton1:"Find Your Pairing",chatButton2:"Pair Wine Now",chatButton3:"Get Wine Advice",chatTitle:"Wine Pairing Assistant \u{1F377}",chatSubtitle:"Describe your meal and get a recommendation in 30 seconds",inputPlaceholder:"e.g., Tuna salad",sendButton:"Match",poweredBy:"Powered by",price:"Price",region:"Region",type:"Type",reason:"Suggestion",moreInfo:"More info",tryAgain:"Try again",similarWines:"Similar wines",byTheGlass:"By the glass",winePairingIntro:"For this wine, here are some suggested dishes:",askForDinner:"What would you like to have for dinner?",clearChatButton:"Clear Chat",widgetTitle:"FIND YOUR PERFECT WINE",widgetSubtitle:"Share anything on your mind\u2014your meal, mood, budget, or occasion\u2014and our AI sommelier will recommend the perfect wine in seconds",searchPlaceholder:"Enter a keyword or description","wineDetails.price":"Price","wineDetails.region":"Region","wineDetails.type":"Type","wineDetails.moreInfo":"More info","wineDetails.reason":"Reason","wineDetails.code":"Code","wineDetails.buy":"Buy",searchButton:"Search",priceRange:"Price Range",wineColor:"Wine Color",intensity:"Intensity",red:"Red",white:"White",rose:"Ros\xE9",light:"Light",medium:"Medium",full:"Full",barTitle:"Bar Dishes",barSubtitle:"Select dishes below and click 'Send'",barSendButton:"Send",barResetButton:"Reset",barName:"Bar Name",barNotesPlaceholder:"Add your wishes here...",placeholderSuggestions:["Wine for pasta","Perfect with fish","Recommended for a party"],headerLine1:"Share anything on your mind \u2014",headerLine2:"\u2014 and get recommendations of the perfect wine in seconds",headerMeal:"meal",headerMood:"mood",headerBudget:"budget",headerOccasion:"occasion",headerOr:"or",errorMessage:"Something went wrong. Please try again later.",noResultsMessage:"No results found for your search. Please try a different query.",ai_sommelier:"AI sommelier",consentText:"The wine assistant stores an anonymous identifier on this device to learn your taste and improve recommendations. You can use it without accepting.",consentAccept:"Accept",consentDecline:"Decline",consentPrivacy:"Privacy policy",addToCart:"Add to cart",addedToCart:"Added",sommelierResting:"Our sommelier is resting. Browse our picks below."},cc={lang:"sr",welcomeMessage:"\u0160ta planirate da jedete? Podelite svoje jelo i preporu\u010Di\u0107u vam savr\u0161eno vino uz obrok.",noResultsFound:"Nema rezultata.",somethingWentWrong:"Izvinite, ne\u0161to je po\u0161lo po zlu.",chatButton1:"Prona\u0111i vino",chatButton2:"Upari vino sada",chatButton3:"Zatra\u017Ei preporuku",chatTitle:"Asistent za uparivanje vina \u{1F377}",chatSubtitle:"Opi\u0161ite svoj obrok i dobijte preporuku za 30 sekundi",inputPlaceholder:"npr. Tuna salata",sendButton:"Upari",poweredBy:"Pokre\u0107e",price:"Cena",region:"Regija",type:"Tip",reason:"Preporuka",moreInfo:"Vi\u0161e informacija",tryAgain:"Poku\u0161aj ponovo",similarWines:"Sli\u010Dna vina",byTheGlass:"Na \u010Da\u0161u",winePairingIntro:"Za ovo vino, preporu\u010Duju se slede\u0107a jela:",askForDinner:"\u0160ta biste \u017Eeleli za ve\u010Deru?",clearChatButton:"Obri\u0161i razgovor",widgetTitle:"PRONA\u0110ITE SAVR\u0160ENO VINO",widgetSubtitle:"Podelite bilo \u0161ta \u2014 obrok, raspolo\u017Eenje, bud\u017Eet ili priliku \u2014 i na\u0161 AI somelijer \u0107e vam za par sekundi preporu\u010Diti vino",searchPlaceholder:"Unesite klju\u010Dnu re\u010D ili opis","wineDetails.price":"Cena","wineDetails.region":"Regija","wineDetails.type":"Tip","wineDetails.moreInfo":"Vi\u0161e informacija","wineDetails.reason":"Razlog","wineDetails.code":"\u0160ifra","wineDetails.buy":"Kupi",searchButton:"Pretraga",priceRange:"Cenovni raspon",wineColor:"Boja vina",intensity:"Intenzitet",red:"Crveno",white:"Belo",rose:"Roze",light:"Lako",medium:"Srednje",full:"Puno",barTitle:"Jela iz bara",barSubtitle:"Izaberite jela ispod i kliknite 'Po\u0161alji'",barSendButton:"Po\u0161alji",barResetButton:"Resetuj",barName:"Naziv bara",barNotesPlaceholder:"Dodajte svoje \u017Eelje ovde...",placeholderSuggestions:["Vino uz pastu","Savr\u0161eno uz ribu","Preporuka za \u017Eurku"],headerLine1:"Podelite bilo \u0161ta \u0161to vam je na umu \u2014",headerLine2:"\u2014 i dobijte preporuke za savr\u0161eno vino za par sekundi",headerMeal:"obrok",headerMood:"raspolo\u017Eenje",headerBudget:"bud\u017Eet",headerOccasion:"prilika",headerOr:"ili",errorMessage:"Ne\u0161to je po\u0161lo po zlu. Molimo poku\u0161ajte ponovo kasnije.",noResultsMessage:"Nema rezultata za va\u0161u pretragu. Molimo poku\u0161ajte sa druga\u010Dijim upitom.",ai_sommelier:"AI sommelier",consentText:"Vinski asistent \u010Duva anonimni identifikator na ovom ure\u0111aju kako bi upoznao va\u0161 ukus i pobolj\u0161ao preporuke. Mo\u017Eete ga koristiti i bez prihvatanja.",consentAccept:"Prihvati",consentDecline:"Odbij",consentPrivacy:"Politika privatnosti",addToCart:"Dodaj u korpu",addedToCart:"Dodato",sommelierResting:"Na\u0161 somelijer se odmara. Pogledajte na\u0161 izbor ispod."},uc={lang:"de",welcomeMessage:"Was m\xF6chten Sie essen? Beschreiben Sie Ihr Gericht und ich empfehle Ihnen den perfekten Wein dazu.",noResultsFound:"Keine Ergebnisse gefunden.",somethingWentWrong:"Entschuldigung, etwas ist schief gelaufen.",chatButton1:"Finde Dein Pairing",chatButton2:"Wein jetzt w\xE4hlen",chatButton3:"Erhalte Weinberatung",chatTitle:"Wein & Speisen \u{1F377}",chatSubtitle:"Beschreiben Sie Ihr Gericht und erhalten Sie in 30 Sekunden eine Empfehlung",inputPlaceholder:"z.B., Thunfischsalat",sendButton:"Kombinieren",poweredBy:"Unterst\xFCtzt von",price:"Preis",region:"Region",type:"Typ",reason:"Anregung",moreInfo:"Mehr Info",tryAgain:"Nochmal versuchen",similarWines:"\xC4hnliche Weine",byTheGlass:"Glasweise",winePairingIntro:"F\xFCr diesen Wein gibt es folgende Essensvorschl\xE4ge:",askForDinner:"Was m\xF6chten Sie zum Abendessen essen?",clearChatButton:"Chat l\xF6schen",widgetTitle:"FINDEN SIE IHREN PERFEKTEN WEIN",widgetSubtitle:"Teilen Sie alles, was Ihnen in den Sinn kommt\u2014Ihre Mahlzeit, Stimmung, Ihr Budget oder Anlass\u2014und unser KI-Sommelier empfiehlt Ihnen in Sekunden den perfekten Wein",placeholderSuggestions:["Wein f\xFCr Pasta","Perfekt zu Fisch","Empfohlen f\xFCr eine Party"],searchPlaceholder:"Geben Sie ein Stichwort oder eine Beschreibung ein","wineDetails.price":"Preis","wineDetails.region":"Region","wineDetails.type":"Typ","wineDetails.moreInfo":"Mehr Info","wineDetails.reason":"Grund","wineDetails.code":"Code","wineDetails.buy":"Kaufen",searchButton:"Suche",priceRange:"Preisspanne",wineColor:"Weinfarbe",intensity:"Intensit\xE4t",red:"Rot",white:"Wei\xDF",rose:"Ros\xE9",light:"Leicht",medium:"Mittel",full:"Voll",barTitle:"Bar-Auswahl",barSubtitle:"W\xE4hlen Sie Ihre Gerichte und klicken Sie auf 'Senden'",barSendButton:"Senden",barResetButton:"Zur\xFCcksetzen",barName:"Name der Bar",headerLine1:"Teilen Sie alles, was Ihnen durch den Kopf geht \u2014",headerLine2:"\u2014 und erhalten Sie in Sekundenschnelle Empfehlungen f\xFCr den perfekten Wein",headerMeal:"Mahlzeit",headerMood:"Stimmung",headerBudget:"Budget",headerOccasion:"Anlass",headerOr:"oder",errorMessage:"Etwas ist schief gelaufen. Bitte versuchen Sie es sp\xE4ter erneut.",noResultsMessage:"Keine Ergebnisse f\xFCr Ihre Suche gefunden. Bitte versuchen Sie es mit einer anderen Anfrage.",ai_sommelier:"AI sommelier",consentText:"Der Weinassistent speichert eine anonyme Kennung auf diesem Ger\xE4t, um Ihren Geschmack kennenzulernen und Empfehlungen zu verbessern. Sie k\xF6nnen ihn auch ohne Zustimmung nutzen.",consentAccept:"Akzeptieren",consentDecline:"Ablehnen",consentPrivacy:"Datenschutzerkl\xE4rung",addToCart:"In den Warenkorb",addedToCart:"Hinzugef\xFCgt",sommelierResting:"Unser Sommelier macht gerade Pause. Entdecken Sie unsere Auswahl."},dc={lang:"ukr",welcomeMessage:"\u0429\u043E \u0432\u0438 \u0437\u0431\u0438\u0440\u0430\u0454\u0442\u0435\u0441\u044C \u0457\u0441\u0442\u0438? \u041E\u043F\u0438\u0448\u0456\u0442\u044C \u0441\u0432\u043E\u044E \u0441\u0442\u0440\u0430\u0432\u0443, \u0456 \u044F \u043F\u043E\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u044E \u0432\u0430\u043C \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u0432\u0438\u043D\u043E.",noResultsFound:"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E.",somethingWentWrong:"\u0412\u0438\u0431\u0430\u0447\u0442\u0435, \u0449\u043E\u0441\u044C \u043F\u0456\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",chatButton1:"\u0417\u043D\u0430\u0439\u0442\u0438 \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u043F\u043E\u0454\u0434\u043D\u0430\u043D\u043D\u044F",chatButton2:"\u041F\u0456\u0434\u0456\u0431\u0440\u0430\u0442\u0438 \u0432\u0438\u043D\u043E",chatButton3:"\u041E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043F\u043E\u0440\u0430\u0434\u0443",chatTitle:"\u0421\u043E\u043C\u0435\u043B\u044C\u0454-\u043F\u043E\u043C\u0456\u0447\u043D\u0438\u043A \u{1F377}",chatSubtitle:"\u041E\u043F\u0438\u0448\u0456\u0442\u044C \u0441\u0432\u043E\u044E \u0441\u0442\u0440\u0430\u0432\u0443 \u0456 \u043E\u0442\u0440\u0438\u043C\u0430\u0439\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u044E \u0437\u0430 30 \u0441\u0435\u043A\u0443\u043D\u0434",inputPlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, \u0422\u0443\u043D\u0435\u0446\u044C \u0456\u0437 \u0441\u0430\u043B\u0430\u0442\u043E\u043C",sendButton:"\u041F\u0456\u0434\u0456\u0431\u0440\u0430\u0442\u0438",poweredBy:"\u0420\u043E\u0437\u0440\u043E\u0431\u043B\u0435\u043D\u043E \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0456",price:"\u0426\u0456\u043D\u0430",region:"\u0420\u0435\u0433\u0456\u043E\u043D",type:"\u0422\u0438\u043F",reason:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u044F",moreInfo:"\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435",tryAgain:"\u0421\u043F\u0440\u043E\u0431\u0443\u0432\u0430\u0442\u0438 \u0449\u0435",similarWines:"\u0421\u0445\u043E\u0436\u0456 \u0432\u0438\u043D\u0430",byTheGlass:"\u041D\u0430 \u043A\u0435\u043B\u0438\u0445",winePairingIntro:"\u0414\u043E \u0446\u044C\u043E\u0433\u043E \u0432\u0438\u043D\u0430 \u043F\u0456\u0434\u0445\u043E\u0434\u044F\u0442\u044C \u0442\u0430\u043A\u0456 \u0441\u0442\u0440\u0430\u0432\u0438:",askForDinner:"\u0429\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u043D\u0430 \u0432\u0435\u0447\u0435\u0440\u044E?",clearChatButton:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0447\u0430\u0442",widgetTitle:"\u0417\u041D\u0410\u0419\u0414\u0406\u0422\u042C \u0406\u0414\u0415\u0410\u041B\u042C\u041D\u0415 \u0412\u0418\u041D\u041E",widgetSubtitle:"\u041F\u043E\u0434\u0456\u043B\u0456\u0442\u044C\u0441\u044F \u0442\u0438\u043C, \u0449\u043E \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0434\u0443\u043C\u0446\u0456\u2014\u0457\u0436\u0430, \u043D\u0430\u0441\u0442\u0440\u0456\u0439, \u0431\u044E\u0434\u0436\u0435\u0442 \u0447\u0438 \u043F\u043E\u0434\u0456\u044F\u2014\u0456 \u043D\u0430\u0448 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0454 \u043F\u043E\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454 \u0432\u0430\u043C \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u0432\u0438\u043D\u043E \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",searchPlaceholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043B\u044E\u0447\u043E\u0432\u0435 \u0441\u043B\u043E\u0432\u043E \u0430\u0431\u043E \u043E\u043F\u0438\u0441","wineDetails.reason":"\u041F\u0440\u0438\u0447\u0438\u043D\u0430","wineDetails.price":"\u0426\u0456\u043D\u0430","wineDetails.region":"\u0420\u0435\u0433\u0456\u043E\u043D","wineDetails.type":"\u0422\u0438\u043F","wineDetails.moreInfo":"\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u041A\u0443\u043F\u0438\u0442\u0438",searchButton:"\u041F\u043E\u0448\u0443\u043A",priceRange:"\u0414\u0456\u0430\u043F\u0430\u0437\u043E\u043D \u0446\u0456\u043D",wineColor:"\u041A\u043E\u043B\u0456\u0440 \u0432\u0438\u043D\u0430",intensity:"\u0406\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u0456\u0441\u0442\u044C",red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0435",white:"\u0411\u0456\u043B\u0435",rose:"\u0420\u043E\u0436\u0435\u0432\u0435",light:"\u041B\u0435\u0433\u043A\u0435",medium:"\u0421\u0435\u0440\u0435\u0434\u043D\u0454",full:"\u041F\u043E\u0432\u043D\u0435",barTitle:"\u0417\u0430\u043A\u0443\u0441\u043A\u0438 \u0434\u043E \u0432\u0438\u043D\u0430",barSubtitle:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0441\u0442\u0440\u0430\u0432\u0438 \u043D\u0438\u0436\u0447\u0435 \u0442\u0430 \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \xAB\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438\xBB",barSendButton:"\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438",barResetButton:"\u0421\u043A\u0438\u043D\u0443\u0442\u0438",barName:"\u041D\u0430\u0437\u0432\u0430 \u0431\u0430\u0440\u0443",barNotesPlaceholder:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0432\u0430\u0448\u0456 \u043F\u043E\u0431\u0430\u0436\u0430\u043D\u043D\u044F \u0442\u0443\u0442...",placeholderSuggestions:["\u0412\u0438\u043D\u043E \u0434\u043E \u043F\u0430\u0441\u0442\u0438","\u0406\u0434\u0435\u0430\u043B\u044C\u043D\u043E \u0434\u043E \u0440\u0438\u0431\u0438","\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454\u043C\u043E \u0434\u043B\u044F \u0432\u0435\u0447\u0456\u0440\u043A\u0438"],headerLine1:"\u041F\u043E\u0434\u0456\u043B\u0456\u0442\u044C\u0441\u044F \u0431\u0443\u0434\u044C-\u044F\u043A\u0438\u043C\u0438 \u0432\u0430\u0448\u0438\u043C\u0438 \u0434\u0443\u043C\u043A\u0430\u043C\u0438 \u2014",headerLine2:"\u2014 \u0456 \u043E\u0442\u0440\u0438\u043C\u0430\u0439\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u0457 \u0449\u043E\u0434\u043E \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043D\u0430 \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",headerMeal:"\u0441\u0442\u0440\u0430\u0432\u0430",headerMood:"\u043D\u0430\u0441\u0442\u0440\u0456\u0439",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u043F\u043E\u0434\u0456\u044F",headerOr:"\u0430\u0431\u043E",errorMessage:"\u0429\u043E\u0441\u044C \u043F\u0456\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A. \u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435.",noResultsMessage:"\u0417\u0430 \u0432\u0430\u0448\u0438\u043C \u0437\u0430\u043F\u0438\u0442\u043E\u043C \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442.",ai_sommelier:"AI sommelier",consentText:"\u0412\u0438\u043D\u043D\u0438\u0439 \u043F\u043E\u043C\u0456\u0447\u043D\u0438\u043A \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u043D\u0430 \u0446\u044C\u043E\u043C\u0443 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457 \u0430\u043D\u043E\u043D\u0456\u043C\u043D\u0438\u0439 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440, \u0449\u043E\u0431 \u0432\u0440\u0430\u0445\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0432\u0430\u0448 \u0441\u043C\u0430\u043A \u0456 \u043F\u043E\u043A\u0440\u0430\u0449\u0443\u0432\u0430\u0442\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u0457. \u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043C\u043E\u0436\u043D\u0430 \u0439 \u0431\u0435\u0437 \u0437\u0433\u043E\u0434\u0438.",consentAccept:"\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438",consentDecline:"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438",consentPrivacy:"\u041F\u043E\u043B\u0456\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456",addToCart:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0432 \u043A\u043E\u0448\u0438\u043A",addedToCart:"\u0414\u043E\u0434\u0430\u043D\u043E",sommelierResting:"\u041D\u0430\u0448 \u0441\u043E\u043C\u0435\u043B\u044C\u0454 \u0432\u0456\u0434\u043F\u043E\u0447\u0438\u0432\u0430\u0454. \u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u044C\u0442\u0435 \u043D\u0430\u0448\u0443 \u0434\u043E\u0431\u0456\u0440\u043A\u0443 \u043D\u0438\u0436\u0447\u0435."},pc={lang:"ru",welcomeMessage:"\u0427\u0442\u043E \u0432\u044B \u043F\u043B\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u043F\u043E\u0435\u0441\u0442\u044C? \u041D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0431\u043B\u044E\u0434\u043E, \u0438 \u044F \u043F\u043E\u0434\u0431\u0435\u0440\u0443 \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0438\u043D\u043E \u043A \u043D\u0435\u043C\u0443.",noResultsFound:"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B.",somethingWentWrong:"\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0447\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",chatButton1:"\u041D\u0430\u0439\u0442\u0438 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435",chatButton2:"\u041F\u043E\u0434\u043E\u0431\u0440\u0430\u0442\u044C \u0432\u0438\u043D\u043E",chatButton3:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0441\u043E\u0432\u0435\u0442",chatTitle:"\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u043F\u043E \u043F\u043E\u0434\u0431\u043E\u0440\u0443 \u0432\u0438\u043D\u0430 \u{1F377}",chatSubtitle:"\u041E\u043F\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0431\u043B\u044E\u0434\u043E \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u044E \u0437\u0430 30 \u0441\u0435\u043A\u0443\u043D\u0434",inputPlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0422\u0443\u043D\u0435\u0446 \u0441 \u0441\u0430\u043B\u0430\u0442\u043E\u043C",sendButton:"\u041F\u043E\u0434\u043E\u0431\u0440\u0430\u0442\u044C",poweredBy:"Powered by",price:"\u0426\u0435\u043D\u0430",region:"\u0420\u0435\u0433\u0438\u043E\u043D",type:"\u0422\u0438\u043F",reason:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u044F",moreInfo:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435",tryAgain:"\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0451",similarWines:"\u041F\u043E\u0445\u043E\u0436\u0438\u0435 \u0432\u0438\u043D\u0430",byTheGlass:"\u041F\u043E \u0431\u043E\u043A\u0430\u043B\u0430\u043C",winePairingIntro:"\u041A \u044D\u0442\u043E\u043C\u0443 \u0432\u0438\u043D\u0443 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0431\u043B\u044E\u0434\u0430:",askForDinner:"\u0427\u0442\u043E \u0431\u044B \u0432\u044B \u0445\u043E\u0442\u0435\u043B\u0438 \u043D\u0430 \u0443\u0436\u0438\u043D?",clearChatButton:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0447\u0430\u0442",widgetTitle:"\u041D\u0410\u0419\u0414\u0418\u0422\u042C \u0418\u0414\u0415\u0410\u041B\u042C\u041D\u041E\u0415 \u0412\u0418\u041D\u041E",widgetSubtitle:"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u0432\u0430\u0448\u0438\u043C\u0438 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0435\u043D\u0438\u044F\u043C\u0438 \u2014 \u0431\u043B\u044E\u0434\u043E\u043C, \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435\u043C, \u0431\u044E\u0434\u0436\u0435\u0442\u043E\u043C \u0438\u043B\u0438 \u0441\u043B\u0443\u0447\u0430\u0435\u043C \u2014 \u0438 \u043D\u0430\u0448 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u043F\u043E\u0434\u0431\u0435\u0440\u0451\u0442 \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0438\u043D\u043E \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",searchPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043B\u044E\u0447\u0435\u0432\u043E\u0435 \u0441\u043B\u043E\u0432\u043E \u0438\u043B\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435","wineDetails.price":"\u0426\u0435\u043D\u0430","wineDetails.region":"\u0420\u0435\u0433\u0438\u043E\u043D","wineDetails.type":"\u0422\u0438\u043F","wineDetails.moreInfo":"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435","wineDetails.reason":"\u041F\u0440\u0438\u0447\u0438\u043D\u0430","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u041A\u0443\u043F\u0438\u0442\u044C",searchButton:"\u041F\u043E\u0438\u0441\u043A",priceRange:"\u0414\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0446\u0435\u043D",wineColor:"\u0426\u0432\u0435\u0442 \u0432\u0438\u043D\u0430",intensity:"\u0418\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u043E\u0441\u0442\u044C",red:"\u041A\u0440\u0430\u0441\u043D\u043E\u0435",white:"\u0411\u0435\u043B\u043E\u0435",rose:"\u0420\u043E\u0437\u043E\u0432\u043E\u0435",light:"\u041B\u0451\u0433\u043A\u043E\u0435",medium:"\u0421\u0440\u0435\u0434\u043D\u0435\u0435",full:"\u041F\u043E\u043B\u043D\u043E\u0435",barTitle:"\u0417\u0430\u043A\u0443\u0441\u043A\u0438 \u043A \u0432\u0438\u043D\u0443",barSubtitle:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0431\u043B\u044E\u0434\u0430 \u043D\u0438\u0436\u0435 \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 '\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'",barSendButton:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",barResetButton:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C",barName:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u0440\u0430",barNotesPlaceholder:"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0432\u0430\u0448\u0438 \u043F\u043E\u0436\u0435\u043B\u0430\u043D\u0438\u044F \u0437\u0434\u0435\u0441\u044C...",placeholderSuggestions:["\u0412\u0438\u043D\u043E \u0434\u043B\u044F \u043F\u0430\u0441\u0442\u044B","\u0418\u0434\u0435\u0430\u043B\u044C\u043D\u043E \u043A \u0440\u044B\u0431\u0435","\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u0434\u043B\u044F \u0432\u0435\u0447\u0435\u0440\u0438\u043D\u043A\u0438"],headerLine1:"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u043B\u044E\u0431\u044B\u043C\u0438 \u0432\u0430\u0448\u0438\u043C\u0438 \u043C\u044B\u0441\u043B\u044F\u043C\u0438 \u2014",headerLine2:"\u2014 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u043F\u043E \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u0432\u0438\u043D\u0443 \u0437\u0430 \u0441\u0447\u0438\u0442\u0430\u043D\u043D\u044B\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",headerMeal:"\u0431\u043B\u044E\u0434\u043E",headerMood:"\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u0441\u043B\u0443\u0447\u0430\u0439",headerOr:"\u0438\u043B\u0438",errorMessage:"\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.",noResultsMessage:"\u041F\u043E \u0432\u0430\u0448\u0435\u043C\u0443 \u0437\u0430\u043F\u0440\u043E\u0441\u0443 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0437\u0430\u043F\u0440\u043E\u0441.",ai_sommelier:"AI sommelier",consentText:"\u0412\u0438\u043D\u043D\u044B\u0439 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0435\u0442 \u043D\u0430 \u044D\u0442\u043E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435 \u0430\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u0439 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u0447\u0442\u043E\u0431\u044B \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448 \u0432\u043A\u0443\u0441 \u0438 \u0443\u043B\u0443\u0447\u0448\u0430\u0442\u044C \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438. \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u043C\u043E\u0436\u043D\u043E \u0438 \u0431\u0435\u0437 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u044F.",consentAccept:"\u041F\u0440\u0438\u043D\u044F\u0442\u044C",consentDecline:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C",consentPrivacy:"\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438",addToCart:"\u0412 \u043A\u043E\u0440\u0437\u0438\u043D\u0443",addedToCart:"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E",sommelierResting:"\u041D\u0430\u0448 \u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u043E\u0442\u0434\u044B\u0445\u0430\u0435\u0442. \u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043D\u0430\u0448\u0443 \u043F\u043E\u0434\u0431\u043E\u0440\u043A\u0443 \u043D\u0438\u0436\u0435."},hc={lang:"kk",welcomeMessage:"\u0421\u0456\u0437 \u043D\u0435 \u0436\u0435\u0433\u0456\u04A3\u0456\u0437 \u043A\u0435\u043B\u0435\u0434\u0456? \u0422\u0430\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u04A3\u044B\u0437, \u043C\u0435\u043D \u043E\u0493\u0430\u043D \u043A\u0435\u0440\u0435\u043C\u0435\u0442 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u0430\u043C\u044B\u043D.",noResultsFound:"\u041D\u04D9\u0442\u0438\u0436\u0435\u043B\u0435\u0440 \u0442\u0430\u0431\u044B\u043B\u043C\u0430\u0434\u044B.",somethingWentWrong:"\u041A\u0435\u0448\u0456\u0440\u0456\u04A3\u0456\u0437, \u0431\u0456\u0440\u0434\u0435\u04A3\u0435 \u0434\u04B1\u0440\u044B\u0441 \u0431\u043E\u043B\u043C\u0430\u0434\u044B.",chatButton1:"\u0421\u04D9\u0439\u043A\u0435\u0441\u0442\u0456\u043A \u0442\u0430\u0431\u0443",chatButton2:"\u0428\u0430\u0440\u0430\u043F \u0442\u0430\u04A3\u0434\u0430\u0443",chatButton3:"\u041A\u0435\u04A3\u0435\u0441 \u0430\u043B\u0443",chatTitle:"\u0428\u0430\u0440\u0430\u043F \u0442\u0430\u04A3\u0434\u0430\u0443\u0448\u044B \u043A\u04E9\u043C\u0435\u043A\u0448\u0456 \u{1F377}",chatSubtitle:"\u0422\u0430\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u04A3\u044B\u0437 \u2014 30 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u04B1\u0441\u044B\u043D\u044B\u0441 \u0430\u043B\u044B\u04A3\u044B\u0437",inputPlaceholder:"\u043C\u044B\u0441\u0430\u043B\u044B, \u0442\u0443\u043D\u0435\u0446 \u0441\u0430\u043B\u0430\u0442\u044B\u043C\u0435\u043D",sendButton:"\u0422\u0430\u04A3\u0434\u0430\u0443",poweredBy:"Powered by",price:"\u0411\u0430\u0493\u0430\u0441\u044B",region:"\u04E8\u04A3\u0456\u0440",type:"\u0422\u04AF\u0440\u0456",reason:"\u04B0\u0441\u044B\u043D\u044B\u0441",moreInfo:"\u0422\u043E\u043B\u044B\u0493\u044B\u0440\u0430\u049B",tryAgain:"\u049A\u0430\u0439\u0442\u0430 \u043A\u04E9\u0440\u0443",similarWines:"\u04B0\u049B\u0441\u0430\u0441 \u0448\u0430\u0440\u0430\u043F\u0442\u0430\u0440",byTheGlass:"\u0411\u043E\u043A\u0430\u043B\u043C\u0435\u043D",winePairingIntro:"\u0411\u04B1\u043B \u0448\u0430\u0440\u0430\u043F\u049B\u0430 \u043A\u0435\u043B\u0435\u0441\u0456 \u0442\u0430\u0493\u0430\u043C\u0434\u0430\u0440 \u0441\u04D9\u0439\u043A\u0435\u0441 \u043A\u0435\u043B\u0435\u0434\u0456:",askForDinner:"\u041A\u0435\u0448\u043A\u0456 \u0430\u0441\u049B\u0430 \u043D\u0435 \u049B\u0430\u043B\u0430\u0439\u0441\u044B\u0437?",clearChatButton:"\u0427\u0430\u0442\u0442\u044B \u0442\u0430\u0437\u0430\u043B\u0430\u0443",widgetTitle:"\u041A\u0415\u0420\u0415\u041C\u0415\u0422 \u0428\u0410\u0420\u0410\u041F\u0422\u042B \u0422\u0410\u0411\u042B\u04A2\u042B\u0417",widgetSubtitle:"\u0422\u0430\u04A3\u0434\u0430\u0443\u043B\u0430\u0440\u044B\u04A3\u044B\u0437\u0434\u044B \u0431\u04E9\u043B\u0456\u0441\u0456\u04A3\u0456\u0437 \u2014 \u0442\u0430\u0493\u0430\u043C, \u043A\u04E9\u04A3\u0456\u043B-\u043A\u04AF\u0439, \u0431\u044E\u0434\u0436\u0435\u0442 \u043D\u0435\u043C\u0435\u0441\u0435 \u0436\u0430\u0493\u0434\u0430\u0439 \u2014 \u0436\u04D9\u043D\u0435 \u0431\u0456\u0437\u0434\u0456\u04A3 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u0441\u0456\u0437\u0433\u0435 \u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u0430\u0434\u044B",searchPlaceholder:"\u041A\u0456\u043B\u0442 \u0441\u04E9\u0437\u0434\u0456 \u043D\u0435\u043C\u0435\u0441\u0435 \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u043C\u0430\u043D\u044B \u0435\u043D\u0433\u0456\u0437\u0456\u04A3\u0456\u0437","wineDetails.price":"\u0411\u0430\u0493\u0430\u0441\u044B","wineDetails.region":"\u04E8\u04A3\u0456\u0440","wineDetails.type":"\u0422\u04AF\u0440\u0456","wineDetails.moreInfo":"\u0422\u043E\u043B\u044B\u0493\u044B\u0440\u0430\u049B","wineDetails.reason":"\u0421\u0435\u0431\u0435\u0431\u0456","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u0421\u0430\u0442\u044B\u043F \u0430\u043B\u0443",searchButton:"\u0406\u0437\u0434\u0435\u0443",priceRange:"\u0411\u0430\u0493\u0430 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u044B",wineColor:"\u0428\u0430\u0440\u0430\u043F \u0442\u04AF\u0441\u0456",intensity:"\u049A\u0430\u043D\u044B\u049B\u0442\u044B\u043B\u044B\u049B",red:"\u049A\u044B\u0437\u044B\u043B",white:"\u0410\u049B",rose:"\u0420\u043E\u0437\u0430\u043B\u044B\u049B",light:"\u0416\u0435\u04A3\u0456\u043B",medium:"\u041E\u0440\u0442\u0430\u0448\u0430",full:"\u0422\u043E\u043B\u044B\u049B",barTitle:"\u0428\u0430\u0440\u0430\u043F\u049B\u0430 \u0430\u0440\u043D\u0430\u043B\u0493\u0430\u043D \u0442\u0456\u0441\u043A\u0435\u0431\u0430\u0441\u0430\u0440\u043B\u0430\u0440",barSubtitle:"\u0422\u04E9\u043C\u0435\u043D\u0434\u0435\u0433\u0456 \u0442\u0430\u0493\u0430\u043C\u0434\u0430\u0440\u0434\u044B \u0442\u0430\u04A3\u0434\u0430\u04A3\u044B\u0437 \u0436\u04D9\u043D\u0435 '\u0416\u0456\u0431\u0435\u0440\u0443' \u0431\u0430\u0442\u044B\u0440\u043C\u0430\u0441\u044B\u043D \u0431\u0430\u0441\u044B\u04A3\u044B\u0437",barSendButton:"\u0416\u0456\u0431\u0435\u0440\u0443",barResetButton:"\u049A\u0430\u043B\u043F\u044B\u043D\u0430 \u043A\u0435\u043B\u0442\u0456\u0440\u0443",barName:"\u0411\u0430\u0440 \u0430\u0442\u0430\u0443\u044B",barNotesPlaceholder:"\u041C\u04B1\u043D\u0434\u0430 \u04E9\u0437 \u0442\u0456\u043B\u0435\u043A\u0442\u0435\u0440\u0456\u04A3\u0456\u0437\u0434\u0456 \u0436\u0430\u0437\u044B\u04A3\u044B\u0437...",placeholderSuggestions:["\u041F\u0430\u0441\u0442\u0430\u0493\u0430 \u0430\u0440\u043D\u0430\u043B\u0493\u0430\u043D \u0448\u0430\u0440\u0430\u043F","\u0411\u0430\u043B\u044B\u049B\u049B\u0430 \u0442\u0430\u043C\u0430\u0448\u0430 \u04AF\u0439\u043B\u0435\u0441\u0435\u0434\u0456","\u041A\u0435\u0448\u043A\u0435 \u04B1\u0441\u044B\u043D\u0443\u0493\u0430 \u0431\u043E\u043B\u0430\u0434\u044B"],headerLine1:"\u041E\u0439\u043B\u0430\u0440\u044B\u04A3\u044B\u0437\u0431\u0435\u043D \u0431\u04E9\u043B\u0456\u0441\u0456\u04A3\u0456\u0437 \u2014",headerLine2:"\u2014 \u0436\u04D9\u043D\u0435 \u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u043C\u0456\u043D\u0441\u0456\u0437 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u044B\u0441\u044B\u043D \u0430\u043B\u044B\u04A3\u044B\u0437",headerMeal:"\u0442\u0430\u0493\u0430\u043C",headerMood:"\u043A\u04E9\u04A3\u0456\u043B-\u043A\u04AF\u0439",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u0436\u0430\u0493\u0434\u0430\u0439",headerOr:"\u043D\u0435\u043C\u0435\u0441\u0435",errorMessage:"\u0411\u0456\u0440\u0434\u0435\u04A3\u0435 \u0434\u04B1\u0440\u044B\u0441 \u0431\u043E\u043B\u043C\u0430\u0434\u044B. \u041A\u0435\u0439\u0456\u043D\u0456\u0440\u0435\u043A \u049B\u0430\u0439\u0442\u0430 \u043A\u04E9\u0440\u0456\u04A3\u0456\u0437.",noResultsMessage:"\u0406\u0437\u0434\u0435\u0443\u0456\u04A3\u0456\u0437\u0433\u0435 \u0441\u04D9\u0439\u043A\u0435\u0441 \u043D\u04D9\u0442\u0438\u0436\u0435 \u0442\u0430\u0431\u044B\u043B\u043C\u0430\u0434\u044B. \u0411\u0430\u0441\u049B\u0430 \u0441\u04B1\u0440\u0430\u0443 \u049B\u043E\u043B\u0434\u0430\u043D\u044B\u043F \u043A\u04E9\u0440\u0456\u04A3\u0456\u0437.",ai_sommelier:"AI sommelier",consentText:"\u0428\u0430\u0440\u0430\u043F \u043A\u04E9\u043C\u0435\u043A\u0448\u0456\u0441\u0456 \u0441\u0456\u0437\u0434\u0456\u04A3 \u0442\u0430\u043B\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0435\u0441\u043A\u0435\u0440\u0456\u043F, \u04B1\u0441\u044B\u043D\u044B\u0441\u0442\u0430\u0440\u0434\u044B \u0436\u0430\u049B\u0441\u0430\u0440\u0442\u0443 \u04AF\u0448\u0456\u043D \u043E\u0441\u044B \u049B\u04B1\u0440\u044B\u043B\u0493\u044B\u0434\u0430 \u0430\u043D\u043E\u043D\u0438\u043C\u0434\u0456 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0441\u0430\u049B\u0442\u0430\u0439\u0434\u044B. \u041A\u0435\u043B\u0456\u0441\u0456\u043C\u0441\u0456\u0437 \u0434\u0435 \u043F\u0430\u0439\u0434\u0430\u043B\u0430\u043D\u0430 \u0430\u043B\u0430\u0441\u044B\u0437.",consentAccept:"\u049A\u0430\u0431\u044B\u043B\u0434\u0430\u0443",consentDecline:"\u0411\u0430\u0441 \u0442\u0430\u0440\u0442\u0443",consentPrivacy:"\u049A\u04B1\u043F\u0438\u044F\u043B\u044B\u043B\u044B\u049B \u0441\u0430\u044F\u0441\u0430\u0442\u044B",addToCart:"\u0421\u0435\u0431\u0435\u0442\u043A\u0435 \u049B\u043E\u0441\u0443",addedToCart:"\u049A\u043E\u0441\u044B\u043B\u0434\u044B",sommelierResting:"\u0411\u0456\u0437\u0434\u0456\u04A3 \u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u0434\u0435\u043C\u0430\u043B\u044B\u043F \u0436\u0430\u0442\u044B\u0440. \u0422\u04E9\u043C\u0435\u043D\u0434\u0435\u0433\u0456 \u0442\u0430\u04A3\u0434\u0430\u0443\u044B\u043C\u044B\u0437\u0434\u044B \u049B\u0430\u0440\u0430\u04A3\u044B\u0437."},fc={lang:"pt",welcomeMessage:"O que voc\xEA planeja comer? Descreva seu prato e eu recomendarei a harmoniza\xE7\xE3o perfeita.",noResultsFound:"Nenhum resultado encontrado.",somethingWentWrong:"Desculpe, algo deu errado.",chatButton1:"Encontre sua harmoniza\xE7\xE3o",chatButton2:"Harmonizar vinho agora",chatButton3:"Receber conselho de vinho",chatTitle:"Assistente de Harmoniza\xE7\xE3o de Vinhos \u{1F377}",chatSubtitle:"Descreva sua refei\xE7\xE3o e receba uma recomenda\xE7\xE3o em 30 segundos",inputPlaceholder:"ex., Salada de atum",sendButton:"Harmonizar",poweredBy:"Desenvolvido por",price:"Pre\xE7o",region:"Regi\xE3o",type:"Tipo",reason:"Sugest\xE3o",moreInfo:"Mais informa\xE7\xF5es",tryAgain:"Tentar de novo",similarWines:"Vinhos semelhantes",byTheGlass:"Por ta\xE7a",winePairingIntro:"Para este vinho, aqui est\xE3o algumas sugest\xF5es de pratos:",askForDinner:"O que voc\xEA gostaria de jantar?",clearChatButton:"Limpar chat",widgetTitle:"ENCONTRE SEU VINHO PERFEITO",widgetSubtitle:"Compartilhe o que tiver em mente \u2014 sua refei\xE7\xE3o, humor, or\xE7amento ou ocasi\xE3o \u2014 e nosso sommelier de IA recomendar\xE1 o vinho perfeito em segundos",searchPlaceholder:"Digite uma palavra-chave ou descri\xE7\xE3o","wineDetails.reason":"Motivo","wineDetails.price":"Pre\xE7o","wineDetails.region":"Regi\xE3o","wineDetails.type":"Tipo","wineDetails.moreInfo":"Mais informa\xE7\xF5es","wineDetails.code":"C\xF3digo","wineDetails.buy":"Comprar",searchButton:"Pesquisar",priceRange:"Faixa de pre\xE7o",wineColor:"Cor do vinho",intensity:"Intensidade",red:"Tinto",white:"Branco",rose:"Ros\xE9",light:"Leve",medium:"M\xE9dio",full:"Encorpado",barTitle:"Pratos do bar",barSubtitle:"Selecione os pratos abaixo e clique em 'Enviar'",barSendButton:"Enviar",barResetButton:"Resetar",barName:"Nome do bar",barNotesPlaceholder:"Adicione seus desejos aqui...",placeholderSuggestions:["Vinho para massa","Perfeito com peixe","Recomendado para uma festa"],headerLine1:"Compartilhe o que tiver em mente \u2014",headerLine2:"\u2014 e receba recomenda\xE7\xF5es do vinho perfeito em segundos",headerMeal:"refei\xE7\xE3o",headerMood:"humor",headerBudget:"or\xE7amento",headerOccasion:"ocasi\xE3o",headerOr:"ou",errorMessage:"Algo deu errado. Por favor, tente novamente mais tarde.",noResultsMessage:"Nenhum resultado encontrado para sua pesquisa. Por favor, tente uma consulta diferente.",ai_sommelier:"AI sommelier",consentText:"O assistente de vinhos guarda um identificador an\xF3nimo neste dispositivo para conhecer o seu gosto e melhorar as recomenda\xE7\xF5es. Pode us\xE1-lo sem aceitar.",consentAccept:"Aceitar",consentDecline:"Recusar",consentPrivacy:"Pol\xEDtica de privacidade",addToCart:"Adicionar ao carrinho",addedToCart:"Adicionado",sommelierResting:"Nosso sommelier est\xE1 descansando. Veja nossas sugest\xF5es abaixo."},xa={fr:ac,es:sc,en:lc,sr:cc,de:uc,ukr:dc,ru:pc,kk:hc,pt:fc};function vc(e){return{id:String(e.id),lang:e.lang,available_languages:e.available_languages?e.available_languages:[e.lang],currency:e.currency,title:e.title,requires_cookie_consent:e.requires_cookie_consent===!0}}const gc={0:{logoUrl:null,brandColor:"#7B2BEB"},29:{logoUrl:"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/plou_logo.jpg",brandColor:"#e6c6bb"},25:{logoUrl:null,brandColor:"#000000",wineaterColor:"#000000",buttonUppercase:!0,customCss:`
|
|
4
4
|
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;600;700&display=swap');
|
|
5
5
|
:root { --wineater-font-primary: 'Roboto', sans-serif; }
|
|
6
6
|
#wr-Custom {
|
|
@@ -101,46 +101,21 @@ var Wa=Object.defineProperty,Ei=e=>{throw TypeError(e)},Ea=(e,t,n)=>t in e?Wa(e,
|
|
|
101
101
|
background-color: #8bae98;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
`}};function
|
|
104
|
+
`}};function Sa(e){const t={logoUrl:null,brandColor:"#7B2BEB",wineaterColor:"#7B2BEB",customCss:`
|
|
105
105
|
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');
|
|
106
106
|
:root { --wineater-font-primary: 'Bricolage Grotesque', serif; }
|
|
107
|
-
`},n=
|
|
108
|
-
You are a professional translator.
|
|
109
|
-
|
|
110
|
-
The input texts are written in language with code "${e}". Your task is to translate them strictly to the target language with code "${t}".
|
|
111
|
-
|
|
112
|
-
\u26A0\uFE0F DO NOT leave the original text.
|
|
113
|
-
\u26A0\uFE0F DO NOT skip any entry.
|
|
114
|
-
\u26A0\uFE0F Preserve the original order and keys exactly.
|
|
115
|
-
|
|
116
|
-
Translate only the "text" fields of the JSON array. Return an array of the same length and structure, like this:
|
|
117
|
-
|
|
118
|
-
Input:
|
|
119
|
-
[
|
|
120
|
-
{ "key": "shortDescription", "text": "Red wine with rich cherry notes." },
|
|
121
|
-
{ "key": "tags", "text": "fruity, dry, elegant" }
|
|
122
|
-
]
|
|
123
|
-
|
|
124
|
-
Output:
|
|
125
|
-
[
|
|
126
|
-
{ "key": "shortDescription", "text": "..." },
|
|
127
|
-
{ "key": "tags", "text": "..." }
|
|
128
|
-
]
|
|
129
|
-
|
|
130
|
-
Now translate the following input:
|
|
131
|
-
${JSON.stringify(f,null,2)}
|
|
132
|
-
`,h=JSON.stringify({model:"gpt-3.5-turbo",messages:[{role:"system",content:"You are a professional translator."},{role:"user",content:y}],temperature:.2,max_tokens:1e3});try{const d=await(await fetch(l,{method:"POST",headers:u,body:h})).json(),g=(c=(s=(o=(i=d?.choices)==null?void 0:i[0])==null?void 0:o.message)==null?void 0:s.content)==null?void 0:c.trim();if(!g)throw new Error("No response from OpenAI");const w=JSON.parse(g),C={};return w.forEach(T=>{T.key&&T.text!==void 0&&(C[T.key]=T.text)}),{...n,...C}}catch(d){return console.error("Error translating texts:",d),n}}ps();var Ql=Nt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path d="M10.036 4.96326H28.2826L34.3648 14.0865L19.1593 33.8537L3.95381 14.0865L10.036 4.96326Z" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17.6388 4.96326L13.0771 14.0865L19.1593 33.8537L25.2415 14.0865L20.6799 4.96326" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.95381 14.0867H34.3648" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function la(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=Ql();z(()=>{vt(i,0,Sn(n())),D(i,"width",r()),D(i,"height",r())}),S(e,i)}var Xl=Nt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path d="M29.533 21.4034C31.7986 19.1834 34.0946 16.5224 34.0946 13.0404C34.0946 10.8224 33.2135 8.69521 31.6451 7.12684C30.0768 5.55847 27.9496 4.67737 25.7316 4.67737C23.0554 4.67737 21.1699 5.43764 18.8891 7.71847C16.6083 5.43764 14.7228 4.67737 12.0467 4.67737C9.82865 4.67737 7.70148 5.55847 6.13311 7.12684C4.56474 8.69521 3.68364 10.8224 3.68364 13.0404C3.68364 16.5376 5.96446 19.1986 8.24528 21.4034L18.8891 32.0472L29.533 21.4034Z" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18.8891 19.8829L17.3686 18.3623L20.4097 15.3212L15.848 10.7596L18.8891 7.71851" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function ca(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=Xl();z(()=>{vt(i,0,Sn(n())),D(i,"width",r()),D(i,"height",r())}),S(e,i)}var ec=Nt('<svg viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="M19.57 17.655a3.801 3.801 0 1 0 0-7.602 3.801 3.801 0 0 0 0 7.602Z"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="M19.57 3.97a9.884 9.884 0 0 0-9.458 6.995c-1.673 4.76-1.186 5.93-4.835 9.245a4.562 4.562 0 0 0 2.889 8.09c6.082 0 12.772-2.738 17.334-6.54a9.885 9.885 0 0 0-5.93-17.79Z"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="m28.693 10.053 3.33 6.842c.316.983.475 2.009.471 3.041a9.867 9.867 0 0 1-3.953 7.907c-4.562 3.801-11.252 6.538-17.334 6.538a4.562 4.562 0 0 1-4.075-2.524l-2.92-5.839"></path></svg>');function xi(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=ec();z(()=>{vt(i,0,Sn(n())),D(i,"width",r()),D(i,"height",r())}),S(e,i)}var tc=Nt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34" fill="none"><path d="M9.03846 17.0001C10.3456 12.1888 15.9077 8.65686 20.858 8.65686C25.8083 8.65686 29.2846 12.1888 30.5917 17.0001C29.2846 21.8252 25.8083 25.3432 20.858 25.3432C15.9077 25.3432 10.3456 21.8252 9.03846 17.0001Z" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M25.0296 17V17.6953" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.2485 25.2457C20.4397 22.8774 19.4599 19.98 19.4599 16.9999C19.4599 14.0198 20.4397 11.1224 22.2485 8.75403" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.73372 15.1506C9.73372 11.4379 7.75916 8.6151 3.79615 7.96155C2.40562 10.0473 2.40562 14.9142 4.11597 17C2.39171 19.0858 2.39171 23.9527 3.79615 26.0385C7.75916 25.3849 9.73372 22.5621 9.73372 18.8494" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14.545 10.4089C14.1834 8.48998 12.7512 6.20951 11.1243 4.48525H19.1893C19.8491 4.4828 20.4883 4.71502 20.9927 5.14042C21.497 5.56582 21.8337 6.15668 21.9426 6.80744L22.2624 8.75418" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.2624 25.2459L21.9426 27.1926C21.8337 27.8434 21.497 28.4342 20.9927 28.8596C20.4883 29.285 19.8491 29.5172 19.1893 29.5148H13.2101C14.5573 27.9873 15.2948 26.0172 15.2819 23.9805" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function ua(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=tc();z(()=>{vt(i,0,Sn(n())),D(i,"width",r()),D(i,"height",r())}),S(e,i)}var nc=L('<span><!></span><span class="wr-Header-label svelte-oiwvqb"> </span>',1),rc=L('<!><span class="wr-Header-label svelte-oiwvqb"> </span>',1),ic=L('<!><span class="wr-Header-label svelte-oiwvqb"> </span>',1),oc=L('<h1 class="wr-Header-title svelte-oiwvqb"></h1>'),ac=L('<h1 class="wr-Header-title svelte-oiwvqb"> <span><!></span> <span class="wr-Header-label svelte-oiwvqb"> </span>, <!> <span class="wr-Header-label svelte-oiwvqb"> </span> <br/> <!> <span class="wr-Header-label svelte-oiwvqb"> </span> </h1>'),sc=L('<div class="wr-Header"><!></div>');const lc={hash:"svelte-oiwvqb",code:`.wr-Header-title.svelte-oiwvqb {font-weight:600;font-size:24px;margin:0 auto;line-height:1.3;color:#333;text-align:center;
|
|
107
|
+
`},n=gc[e]||{};return{...t,...n}}function wc(e){const t=e.color||"#7B2BEB";return{...Sa(""),brandColor:t,wineaterColor:t,customCss:""}}const mc=24*60*60*1e3;let ee=Re({storeConfig:null,currentLanguage:"en",isConfigLoaded:!1,uiConfig:null,searchAvailable:!0});const de={getLanguageFromURL(){return et()?null:new URLSearchParams(window.location.search).get("lang")},getAppLanguage(){return ee?.currentLanguage??"en"},getStoreLanguage(){var e;return((e=ee.storeConfig)==null?void 0:e.lang)??null},getStoreId(){var e;return((e=ee.storeConfig)==null?void 0:e.id)??null},setStoreLanguage(e){if(ee.storeConfig&&ee.storeConfig.available_languages.includes(e)){if(ee.currentLanguage=e,et()){tt.setLanguage(e);return}const t=new URLSearchParams(window.location.search);t.set("lang",e);const n=`${window.location.pathname}?${t.toString()}`;window.history.replaceState({},"",n)}else throw new Error(`Language ${e} is not available in store configuration.`)},getSupportedLanguages(){var e;return((e=ee.storeConfig)==null?void 0:e.available_languages)??["en"]},getConsentRequired(){var e;return((e=ee.storeConfig)==null?void 0:e.requires_cookie_consent)===!0},getCurrency(){var e;return((e=ee.storeConfig)==null?void 0:e.currency)??"USD"},applyStoreConfig(e){ee.storeConfig=vc(e),ee.currentLanguage=ee.storeConfig.lang;const t=this.getLanguageFromURL();t&&ee.storeConfig.available_languages.includes(t)?this.setStoreLanguage(t):this.setStoreLanguage(ee.storeConfig.lang);const n=et();this.setUiConfig(n?{...wc(n),titleText:ee.storeConfig.title||null}:Sa(ee.storeConfig.id)),Ll(ee.storeConfig.requires_cookie_consent),ee.isConfigLoaded=!0},async initializeStore(){const e=et();if(e)return this.initializeShopify(e);const t=`${Ei}:store-config:v2`,n=async()=>{const r=await tt.getStoreConfig();return Ii(t,r),r};try{const r=Ai(t,mc);if(r)try{this.applyStoreConfig(r),n().catch(()=>{});return}catch(i){console.warn("Ignoring invalid cached store config:",i)}this.applyStoreConfig(await n())}catch(r){console.error("Failed to initialize store:",r),ee.isConfigLoaded=!1}},async initializeShopify(e){var t;zl(Hl),Gl();try{const n=(t=e.config)!=null&&t.lang?e.config:await tt.getShopifyConfig(),r=Object.keys(xa),i=Ul(e.locale,n?.lang,r);this.applyStoreConfig({id:`shopify:${e.shop}`,type:n?.widget_type??"store",lang:i,available_languages:[i],currency:e.currency||n?.currency||"USD",title:n?.title??"",requires_cookie_consent:!0}),ee.searchAvailable=n?.search_available!==!1}catch(n){console.error("Failed to initialize store:",n),ee.isConfigLoaded=!1}},isSearchAvailable(){return ee.searchAvailable},setSearchAvailable(e){ee.searchAvailable=e},isInitialized(){return ee.isConfigLoaded},getUiConfig(){return ee.uiConfig},setUiConfig(e){ee.uiConfig=e}},yc={en:"en-US",de:"de-DE",fr:"fr-FR",es:"es-ES",it:"it-IT",ja:"ja-JP",zh:"zh-CN",ru:"ru-RU",kk:"kk-KZ",pt:"pt-PT"};function bc(e,t,n="en"){try{return new Intl.NumberFormat(yc[n]||"en-US",{style:"currency",currency:t,currencyDisplay:"narrowSymbol"}).format(e)}catch{return e.toString()}}function ae({key:e,lang:t}){const n=xa,r=de.getUiConfig(),i=r?.translations||{};if(i[t]&&i[t][e])return i[t][e];if(n[t]&&n[t][e])return n[t][e];throw new Error(`Translation for key "${e}" not found in language "${t}".`)}Ds();var kc=qt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path d="M10.036 4.96326H28.2826L34.3648 14.0865L19.1593 33.8537L3.95381 14.0865L10.036 4.96326Z" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17.6388 4.96326L13.0771 14.0865L19.1593 33.8537L25.2415 14.0865L20.6799 4.96326" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.95381 14.0867H34.3648" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function _a(e,t){let n=Pe(t,"className",8,""),r=Pe(t,"size",8,20);var i=kc();L(()=>{pt(i,0,Pn(n())),R(i,"width",r()),R(i,"height",r())}),D(e,i)}var xc=qt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path d="M29.533 21.4034C31.7986 19.1834 34.0946 16.5224 34.0946 13.0404C34.0946 10.8224 33.2135 8.69521 31.6451 7.12684C30.0768 5.55847 27.9496 4.67737 25.7316 4.67737C23.0554 4.67737 21.1699 5.43764 18.8891 7.71847C16.6083 5.43764 14.7228 4.67737 12.0467 4.67737C9.82865 4.67737 7.70148 5.55847 6.13311 7.12684C4.56474 8.69521 3.68364 10.8224 3.68364 13.0404C3.68364 16.5376 5.96446 19.1986 8.24528 21.4034L18.8891 32.0472L29.533 21.4034Z" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18.8891 19.8829L17.3686 18.3623L20.4097 15.3212L15.848 10.7596L18.8891 7.71851" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Ca(e,t){let n=Pe(t,"className",8,""),r=Pe(t,"size",8,20);var i=xc();L(()=>{pt(i,0,Pn(n())),R(i,"width",r()),R(i,"height",r())}),D(e,i)}var Sc=qt('<svg viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="M19.57 17.655a3.801 3.801 0 1 0 0-7.602 3.801 3.801 0 0 0 0 7.602Z"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="M19.57 3.97a9.884 9.884 0 0 0-9.458 6.995c-1.673 4.76-1.186 5.93-4.835 9.245a4.562 4.562 0 0 0 2.889 8.09c6.082 0 12.772-2.738 17.334-6.54a9.885 9.885 0 0 0-5.93-17.79Z"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="m28.693 10.053 3.33 6.842c.316.983.475 2.009.471 3.041a9.867 9.867 0 0 1-3.953 7.907c-4.562 3.801-11.252 6.538-17.334 6.538a4.562 4.562 0 0 1-4.075-2.524l-2.92-5.839"></path></svg>');function Mi(e,t){let n=Pe(t,"className",8,""),r=Pe(t,"size",8,20);var i=Sc();L(()=>{pt(i,0,Pn(n())),R(i,"width",r()),R(i,"height",r())}),D(e,i)}var _c=qt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34" fill="none"><path d="M9.03846 17.0001C10.3456 12.1888 15.9077 8.65686 20.858 8.65686C25.8083 8.65686 29.2846 12.1888 30.5917 17.0001C29.2846 21.8252 25.8083 25.3432 20.858 25.3432C15.9077 25.3432 10.3456 21.8252 9.03846 17.0001Z" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M25.0296 17V17.6953" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.2485 25.2457C20.4397 22.8774 19.4599 19.98 19.4599 16.9999C19.4599 14.0198 20.4397 11.1224 22.2485 8.75403" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.73372 15.1506C9.73372 11.4379 7.75916 8.6151 3.79615 7.96155C2.40562 10.0473 2.40562 14.9142 4.11597 17C2.39171 19.0858 2.39171 23.9527 3.79615 26.0385C7.75916 25.3849 9.73372 22.5621 9.73372 18.8494" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14.545 10.4089C14.1834 8.48998 12.7512 6.20951 11.1243 4.48525H19.1893C19.8491 4.4828 20.4883 4.71502 20.9927 5.14042C21.497 5.56582 21.8337 6.15668 21.9426 6.80744L22.2624 8.75418" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.2624 25.2459L21.9426 27.1926C21.8337 27.8434 21.497 28.4342 20.9927 28.8596C20.4883 29.285 19.8491 29.5172 19.1893 29.5148H13.2101C14.5573 27.9873 15.2948 26.0172 15.2819 23.9805" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Ta(e,t){let n=Pe(t,"className",8,""),r=Pe(t,"size",8,20);var i=_c();L(()=>{pt(i,0,Pn(n())),R(i,"width",r()),R(i,"height",r())}),D(e,i)}var Cc=j('<span><!></span><span class="wr-Header-label svelte-oiwvqb"> </span>',1),Tc=j('<!><span class="wr-Header-label svelte-oiwvqb"> </span>',1),Pc=j('<!><span class="wr-Header-label svelte-oiwvqb"> </span>',1),Wc=j('<h1 class="wr-Header-title svelte-oiwvqb"></h1>'),Dc=j('<h1 class="wr-Header-title svelte-oiwvqb"> <span><!></span> <span class="wr-Header-label svelte-oiwvqb"> </span>, <!> <span class="wr-Header-label svelte-oiwvqb"> </span> <br/> <!> <span class="wr-Header-label svelte-oiwvqb"> </span> </h1>'),Ec=j('<div class="wr-Header"><!></div>');const Ac={hash:"svelte-oiwvqb",code:`.wr-Header-title.svelte-oiwvqb {font-weight:600;font-size:24px;margin:0 auto;line-height:1.3;color:#333;text-align:center;
|
|
133
108
|
|
|
134
109
|
/* TODO: add wineater-color to svg */}.wr-Header-icon {display:inline-block;vertical-align:middle;color:var(--wr-wineater-color);}.wr-Header-label.svelte-oiwvqb {color:var(--wr-wineater-color);font-weight:500;}
|
|
135
110
|
|
|
136
111
|
@media screen and (max-width: 768px) {.wr-Header-title.svelte-oiwvqb {display:none;}
|
|
137
|
-
}`};function
|
|
112
|
+
}`};function Ic(e,t){it(t,!0),dt(e,Ac);let n=F(()=>de.getAppLanguage()),r=F(()=>de.getUiConfig()),i=F(()=>{var v,f;return((v=window?.wineaterData)==null?void 0:v.TITLE_TEXT)||((f=a(r))==null?void 0:f.titleText)||null}),o=G(Re(Mi));function s(v){return v.split(/(meal|mood|occasion)/gi).map(f=>({keyword:/^(meal|mood|occasion)$/i.test(f)?f.toLowerCase():null,text:f}))}let l=F(()=>a(i)?s(a(i)):null);var c=Ec(),u=A(c);{var h=v=>{var f=Wc();Ot(f,21,()=>a(l),Tn,(k,p)=>{var E=Cr(),y=Qe(E);{var P=W=>{var w=Cc(),T=Qe(w),x=A(T);Ho(x,()=>a(o),(te,re)=>{re(te,{className:"wr-Header-icon",size:"28"})});var N=M(T),ne=A(N);L(()=>O(ne,a(p).text)),ct("mouseenter",T,()=>m(o,Ta,!0)),ct("mouseleave",T,()=>m(o,Mi,!0)),D(W,w)},B=W=>{var w=Tc(),T=Qe(w);Ca(T,{className:"wr-Header-icon",size:"28"});var x=M(T),N=A(x);L(()=>O(N,a(p).text)),D(W,w)},C=W=>{var w=Pc(),T=Qe(w);_a(T,{className:"wr-Header-icon",size:"28"});var x=M(T),N=A(x);L(()=>O(N,a(p).text)),D(W,w)},_=W=>{var w=Tt();L(()=>O(w,a(p).text)),D(W,w)};Z(y,W=>{a(p).keyword==="meal"?W(P):a(p).keyword==="mood"?W(B,1):a(p).keyword==="occasion"?W(C,2):W(_,!1)})}D(k,E)}),D(v,f)},g=v=>{var f=Dc(),k=A(f),p=M(k),E=A(p);Ho(E,()=>a(o),(ne,te)=>{te(ne,{className:"wr-Header-icon",size:"28"})});var y=M(p,2),P=A(y),B=M(y,2);Ca(B,{className:"wr-Header-icon",size:"28"});var C=M(B,2),_=A(C),W=M(C,3),w=M(W);_a(w,{className:"wr-Header-icon",size:"28"});var T=M(w,2),x=A(T),N=M(T);L((ne,te,re,ge,pe,ce)=>{O(k,`${ne??""} `),O(P,te),O(_,re),O(W,` ${ge??""} `),O(x,pe),O(N,` ${ce??""}`)},[()=>ae({key:"headerLine1",lang:a(n)}),()=>ae({key:"headerMeal",lang:a(n)}),()=>ae({key:"headerMood",lang:a(n)}),()=>ae({key:"headerOr",lang:a(n)}),()=>ae({key:"headerOccasion",lang:a(n)}),()=>ae({key:"headerLine2",lang:a(n)})]),ct("mouseenter",p,()=>m(o,Ta,!0)),ct("mouseleave",p,()=>m(o,Mi,!0)),D(v,f)};Z(u,v=>{a(l)?v(h):v(g,!1)})}D(e,c),ot()}var Mc=j('<option class="wr-Footer-lang"> </option>'),Rc=j('<select class="wr-Footer-dropdown svelte-1sr6y3t"></select>'),Bc=j('<footer class="wr-Footer svelte-1sr6y3t"><div class="wr-Footer-center svelte-1sr6y3t"><a href="https://wineater.com" class="wr-Footer-link svelte-1sr6y3t" target="_blank"><span class="wr-Footer-text"> </span> <img class="wr-Footer-logo svelte-1sr6y3t" alt="Wineater Logo" loading="lazy" decoding="async"/> <span class="wr-Footer-text wr-Footer-text--sommelier svelte-1sr6y3t"> </span></a></div> <!></footer>');const zc={hash:"svelte-1sr6y3t",code:`.wr-Footer.svelte-1sr6y3t {position:relative;border-top:2px solid #f6f7fd;font-weight:200;padding:12px 24px;min-height:40px;}.wr-Footer-center.svelte-1sr6y3t {position:absolute;left:50%;transform:translateX(-50%);text-align:center;}.wr-Footer-dropdown.svelte-1sr6y3t {position:absolute;right:0px;top:50%;transform:translateY(-50%);padding:4px;border-radius:6px;border:2px solid var(--wr-brand-color);background-color:white;color:var(--wr-brand-color);font-weight:500;font-size:12px;cursor:pointer;transition:all 0.2s ease;}.wr-Footer-dropdown.svelte-1sr6y3t:hover {box-shadow:0 4px 8px rgba(123, 43, 235, 0.2);}.wr-Footer-link.svelte-1sr6y3t {text-decoration:none;display:flex;align-items:center;white-space:nowrap;gap:8px;color:#a8a8a8;font-size:12px;line-height:16px;transition:opacity 0.2s ease;}.wr-Footer-link.svelte-1sr6y3t:hover {opacity:0.8;}.wr-Footer-logo.svelte-1sr6y3t {height:16px;width:auto;color:#a8a8a8;}
|
|
138
113
|
|
|
139
114
|
@media screen and (max-width: 768px) {.wr-Footer-text--sommelier.svelte-1sr6y3t {display:none;}
|
|
140
|
-
}`};function
|
|
115
|
+
}`};function Lc(e,t){it(t,!0),dt(e,zc);let n=Pe(t,"countryCode",3,null),r=F(()=>de.getAppLanguage()),i=F(()=>de.getSupportedLanguages()),o=F(()=>de.getStoreId());function s(y){const P=y.target.value;We(De.LANGUAGE_CHANGED,a(o),{from_language:a(r),to_language:P}),de.setStoreLanguage(P)}var l=Bc(),c=A(l),u=A(c),h=A(u),g=A(h),v=M(h,2),f=M(v,2),k=A(f),p=M(c,2);{var E=y=>{var P=Rc();Ot(P,21,()=>a(i),Tn,(C,_)=>{var W=Mc(),w=A(W),T={};L(x=>{Wl(W,a(_)===a(r)),O(w,x),T!==(T=a(_))&&(W.value=(W.__value=a(_))??"")},[()=>a(_).toUpperCase()]),D(C,W)});var B;Cl(P),L(()=>{B!==(B=a(r))&&(P.value=(P.__value=a(r))??"",Yo(P,a(r)))}),sn("change",P,s),D(y,P)};Z(p,y=>{a(i).length>1&&y(E)})}L((y,P)=>{O(g,y),R(v,"src",n()==="ru"?"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/divino_logo.svg?x=5":"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/logo_medium_gray.svg"),O(k,P)},[()=>ae({key:"poweredBy",lang:a(r)}),()=>ae({key:"ai_sommelier",lang:a(r)})]),D(e,l),ot()}_r(["change"]);var jc=j('<a rel="noopener noreferrer"><!></a>'),Nc=j("<button><!></button>");const qc={hash:"svelte-8cxv3l",code:`.wr-Action.svelte-8cxv3l {background:transparent;border:none;font-family:inherit;cursor:pointer;display:block;text-decoration:none;transition:background 0.2s,
|
|
141
116
|
color 0.2s,
|
|
142
|
-
box-shadow 0.2s;}.wr-Action.primary.svelte-8cxv3l {background:var(--wr-brand-color);color:#fff;border-radius:6px;padding:8px 16px;font-size:14px;font-weight:500;&:hover {opacity:0.8;}}.wr-Action.outlined.svelte-8cxv3l {background:transparent;color:var(--wr-brand-color);border:2px solid var(--wr-brand-color);border-radius:6px;padding:8px 16px;font-size:14px;font-weight:500;&:hover {box-shadow:0 4px 8px rgba(123, 43, 235, 0.25);background-color:var(--wr-brand-color);color:#fff;}}.wr-Action--uppercase.svelte-8cxv3l {text-transform:uppercase;}`};function
|
|
143
|
-
opacity 0.3s ease-in-out;}.wr-Search-input.svelte-1wah7ro:focus {border-color:var(--wr-brand-color);}.wr-Search-input.svelte-1wah7ro:focus::placeholder {opacity:0.5;}`};function
|
|
117
|
+
box-shadow 0.2s;}.wr-Action.primary.svelte-8cxv3l {background:var(--wr-brand-color);color:#fff;border-radius:6px;padding:8px 16px;font-size:14px;font-weight:500;&:hover {opacity:0.8;}}.wr-Action.outlined.svelte-8cxv3l {background:transparent;color:var(--wr-brand-color);border:2px solid var(--wr-brand-color);border-radius:6px;padding:8px 16px;font-size:14px;font-weight:500;&:hover {box-shadow:0 4px 8px rgba(123, 43, 235, 0.25);background-color:var(--wr-brand-color);color:#fff;}}.wr-Action--uppercase.svelte-8cxv3l {text-transform:uppercase;}`};function Ut(e,t){it(t,!0),dt(e,qc);let n=Pe(t,"type",3,"button"),r=Pe(t,"variant",3,"primary"),i=Pe(t,"target",3,"_self"),o=de.getUiConfig(),s=`wr-Action ${r()} ${t.className||""} ${o.buttonUppercase?"wr-Action--uppercase":""}`.trim();var l=Cr(),c=Qe(l);{var u=g=>{var v=jc(),f=A(v);Fo(f,t,"default",{}),L(()=>{pt(v,1,Pn(s),"svelte-8cxv3l"),R(v,"href",t.href),R(v,"id",t.id),R(v,"target",i())}),sn("click",v,function(...k){var p;(p=t.handleClick)==null||p.apply(this,k)}),D(g,v)},h=g=>{var v=Nc(),f=A(v);Fo(f,t,"default",{}),L(()=>{pt(v,1,Pn(s),"svelte-8cxv3l"),R(v,"type",n()),R(v,"id",t.id)}),sn("click",v,function(...k){var p;(p=t.handleClick)==null||p.apply(this,k)}),D(g,v)};Z(c,g=>{t.href?g(u):g(h,!1)})}D(e,l),ot()}_r(["click"]);var Oc=j('<form class="wr-Search svelte-1wah7ro"><span class="wr-Search-icon svelte-1wah7ro"></span> <input class="wr-Search-input svelte-1wah7ro" type="text"/> <!></form>');const $c={hash:"svelte-1wah7ro",code:`.wr-Search.svelte-1wah7ro {position:relative;margin:12px auto;padding:0 6px;display:flex;align-items:center;border:2px solid #d5d9ee;border-radius:10px;}.wr-Search-icon.svelte-1wah7ro {left:12px;width:24px;height:24px;flex:0 0 auto;background-image:url("data:image/svg+xml,%3Csvg%20width=%2224%22%20height=%2225%22%20viewBox=%220%200%2024%2025%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M11%2019.3884C15.4183%2019.3884%2019%2015.8067%2019%2011.3884C19%206.97015%2015.4183%203.38843%2011%203.38843C6.58172%203.38843%203%206.97015%203%2011.3884C3%2015.8067%206.58172%2019.3884%2011%2019.3884Z%22%20stroke=%22%238250D2%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M21%2021.3884L16.7%2017.0884%22%20stroke=%22%238250D2%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;z-index:2;}.wr-Search-input.svelte-1wah7ro {flex:1 1 0%;min-width:0;padding:12px;font-size:16px;border:none;border-radius:10px;outline:none;transition:border 0.2s ease;}.wr-Search-input.svelte-1wah7ro::placeholder {color:var(--wr-wineater-color);opacity:1;transition:color 0.3s ease,
|
|
118
|
+
opacity 0.3s ease-in-out;}.wr-Search-input.svelte-1wah7ro:focus {border-color:var(--wr-brand-color);}.wr-Search-input.svelte-1wah7ro:focus::placeholder {opacity:0.5;}`};function Uc(e,t){it(t,!0),dt(e,$c);let n=Pe(t,"searchQuery",15),r,i=G(!1),o=G(0),s=G(0),l=G(!0),c=G(!1),u=F(()=>de.getAppLanguage()),h=0;function g(){return r}function v(){const C=++h,_=ae({key:"placeholderSuggestions",lang:a(u)});if(!r||!_.length)return;m(c,!0);const W=()=>{if(C!==h||!r||!a(c)||a(i)||n().length)return;const w=_[a(o)];if(a(l)){if(r.placeholder=w.substring(0,po(s)),a(s)>w.length){m(l,!1),setTimeout(W,1600);return}setTimeout(W,90)}else{if(r.placeholder=w.substring(0,po(s,-1)),a(s)<0){m(l,!0),m(o,(a(o)+1)%_.length),setTimeout(W,450);return}setTimeout(W,45)}};W()}function f(){m(c,!1)}function k(){m(i,!0),f(),r&&(r.placeholder="")}function p(){m(i,!1),m(s,0),m(l,!0),m(c,!1)}kn(()=>{if(!r||n().length>0)return;h++,m(c,!1),m(o,0),m(s,0),m(l,!0);const C=ae({key:"placeholderSuggestions",lang:a(u)});C&&C.length?r.placeholder=C[0]:r.placeholder=ae({key:"searchPlaceholder",lang:a(u)})}),kn(()=>{r&&t.initialized&&!a(i)&&!n().length&&!a(c)&&v(),n().length>0&&a(c)&&(m(c,!1),h++)}),fi(()=>{});var E={getSearchElement:g},y=Oc(),P=M(A(y),2);Il(P,C=>r=C,()=>r);var B=M(P,2);return Ut(B,{className:"wr-Search-button",type:"submit",variant:"primary",children:(C,_)=>{var W=Tt();L(w=>O(W,w),[()=>ae({key:"searchButton",lang:a(u)})]),D(C,W)},$$slots:{default:!0}}),ct("submit",y,function(...C){var _;(_=t.onSubmit)==null||_.apply(this,C)}),ct("focus",P,k),ct("blur",P,p),Al(P,n),D(e,y),ot(E)}var Fc=j('<div class="wr-Skeleton-tile svelte-f6xbvk"><div class="wr-Skeleton-block wr-Skeleton-image svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-price svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-title svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-title wr-Skeleton-title--short svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-button svelte-f6xbvk"></div></div>'),Hc=j('<div class="wr-Skeleton svelte-f6xbvk" aria-hidden="true"></div>');const Gc={hash:"svelte-f6xbvk",code:`.wr-Skeleton.svelte-f6xbvk {display:grid;grid-template-columns:repeat(4, 1fr);}.wr-Skeleton-tile.svelte-f6xbvk {display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 8px;border-right:2px solid #f6f7fd;}.wr-Skeleton-tile.svelte-f6xbvk:last-child {border-right:none;}.wr-Skeleton-block.svelte-f6xbvk {border-radius:6px;background:linear-gradient(90deg, #f1f2f8 25%, #f8f9fc 50%, #f1f2f8 75%);background-size:200% 100%;
|
|
144
119
|
animation: svelte-f6xbvk-wr-shimmer 1.2s linear infinite;}.wr-Skeleton-image.svelte-f6xbvk {width:60%;height:200px;margin-bottom:6px;}.wr-Skeleton-price.svelte-f6xbvk {width:40px;height:16px;}.wr-Skeleton-title.svelte-f6xbvk {width:80%;height:14px;}.wr-Skeleton-title--short.svelte-f6xbvk {width:55%;}.wr-Skeleton-button.svelte-f6xbvk {width:96px;height:36px;margin-top:14px;border-radius:10px;}
|
|
145
120
|
|
|
146
121
|
@keyframes svelte-f6xbvk-wr-shimmer {
|
|
@@ -157,7 +132,7 @@ ${JSON.stringify(f,null,2)}
|
|
|
157
132
|
}
|
|
158
133
|
|
|
159
134
|
@media screen and (max-width: 768px) {.wr-Skeleton.svelte-f6xbvk {display:flex;gap:8px;overflow:hidden;padding:8px 0;}.wr-Skeleton-tile.svelte-f6xbvk {flex:0 0 240px;}
|
|
160
|
-
}`};function da(e){ft(e,_c);var t=kc();Bt(t,4,()=>[0,1,2,3],n=>n,(n,r)=>{var i=xc();S(n,i)}),S(e,t)}var Sc=L('<p class="wr-WinePopup-desc wr-WinePopup-text svelte-17gehox"> </p>'),Cc=L('<div class="wr-WinePopup-reason svelte-17gehox"> </div>'),Pc=L('<p class="wr-WinePopup-pairing wr-WinePopup-text svelte-17gehox"> </p>'),Tc=L('<span class="wr-WinePopup-tag svelte-17gehox"> </span>'),Wc=L('<div class="wr-WinePopup-tags svelte-17gehox"></div>'),Ec=L('<div class="wr-WinePopupMobile svelte-17gehox"><div class="wr-WinePopupMobile-overlay svelte-17gehox"></div> <div class="wr-WinePopupMobile-wrapper svelte-17gehox"><div class="wr-WinePopup js-WinePopup svelte-17gehox"><div class="wr-WinePopup-header svelte-17gehox"><h2 class="wr-WinePopup-title svelte-17gehox"> </h2> <button class="wr-WinePopup-close js-WinePopupClose svelte-17gehox">×</button></div> <!> <!> <!></div></div></div>'),Ac=L('<p class="wr-WinePopup-desc wr-WinePopup-text svelte-17gehox"> </p>'),Dc=L('<div class="wr-WinePopup-reason svelte-17gehox"> </div>'),Mc=L('<p class="wr-WinePopup-pairing wr-WinePopup-text svelte-17gehox"> </p>'),Ic=L('<span class="wr-WinePopup-tag svelte-17gehox"> </span>'),Rc=L('<div class="wr-WinePopup-tags svelte-17gehox"></div>'),zc=L('<div class="wr-WinePopup svelte-17gehox"><div class="wr-WinePopup-header svelte-17gehox"><h2 class="wr-WinePopup-title svelte-17gehox"> </h2> <button class="wr-WinePopup-close svelte-17gehox">×</button></div> <!> <!> <!></div>');const Bc={hash:"svelte-17gehox",code:".wr-WinePopup.svelte-17gehox {position:absolute;width:100%;background-color:white;padding:16px;border-radius:16px;box-shadow:0 6px 30px rgba(0, 0, 0, 0.2);text-align:left;font-size:14px;box-sizing:border-box;display:flex;flex-direction:column;}.wr-WinePopup-text.svelte-17gehox {margin:5px 0;}.wr-WinePopup-header.svelte-17gehox {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}.wr-WinePopup-title.svelte-17gehox {font-size:16px;font-weight:600;margin:0;flex:1;line-height:1.3;}.wr-WinePopup-close.svelte-17gehox {font-size:20px;font-weight:bold;cursor:pointer;color:#999;border:none;background:transparent;line-height:1;}.wr-WinePopup-close.svelte-17gehox:hover {color:#000;}.wr-WinePopup-desc.svelte-17gehox {margin-top:8px;}.wr-WinePopup-reason.svelte-17gehox {font-size:14px;font-weight:400;color:#333;margin-top:8px;}.wr-WinePopup-pairing.svelte-17gehox {margin-top:8px;}.wr-WinePopup-tags.svelte-17gehox {display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;justify-content:center;}.wr-WinePopup-tag.svelte-17gehox {display:inline-block;padding:4px 8px;border-radius:12px;background-color:#f5f0ff;border:1px solid #ddd;font-size:13px;color:#333;text-transform:capitalize;}.wr-WinePopupMobile.svelte-17gehox {position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;}.wr-WinePopupMobile-overlay.svelte-17gehox {position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.5);}.wr-WinePopupMobile-wrapper.svelte-17gehox {position:absolute;width:100%;height:100%;top:50%;left:50%;transform:translate(-50%, -50%);max-width:90%;max-height:80%;overflow-y:auto;background:transparent;}"};function pa(e,t){at(t,!0),ft(e,Bc);const n=!!t.isMobile;var r=Ye(),i=fe(r);{var o=c=>{var l=Ec(),u=W(l);u.__click=function(...b){var P;(P=t.onClose)==null||P.apply(this,b)};var f=A(u,2),y=W(f),h=W(y),d=W(h),g=W(d),w=A(d,2);w.__click=function(...b){var P;(P=t.onClose)==null||P.apply(this,b)};var C=A(h,2);{var T=b=>{var P=Sc(),j=W(P);z(()=>N(j,t.shortDescription)),S(b,P)};U(C,b=>{t.shortDescription&&b(T)})}var M=A(C,2);{var F=b=>{var P=Cc(),j=W(P);z(()=>N(j,t.reason)),S(b,P)},v=b=>{var P=Ye(),j=fe(P);{var H=O=>{var $=Pc(),re=W($);z(()=>N(re,t.pairing)),S(O,$)};U(j,O=>{t.pairing&&O(H)},!0)}S(b,P)};U(M,b=>{t.reason?b(F):b(v,!1)})}var k=A(M,2);{var E=b=>{var P=Wc();Bt(P,21,()=>t.tags,mn,(j,H)=>{var O=Tc(),$=W(O);z(()=>N($,a(H))),S(j,O)}),S(b,P)};U(k,b=>{t.tags&&t.tags.length&&b(E)})}z(()=>N(g,t.title)),S(c,l)},s=c=>{var l=zc(),u=W(l),f=W(u),y=W(f),h=A(f,2);h.__click=function(...v){var k;(k=t.onClose)==null||k.apply(this,v)};var d=A(u,2);{var g=v=>{var k=Ac(),E=W(k);z(()=>N(E,t.shortDescription)),S(v,k)};U(d,v=>{t.shortDescription&&v(g)})}var w=A(d,2);{var C=v=>{var k=Dc(),E=W(k);z(()=>N(E,t.reason)),S(v,k)},T=v=>{var k=Ye(),E=fe(k);{var b=P=>{var j=Mc(),H=W(j);z(()=>N(H,t.pairing)),S(P,j)};U(E,P=>{t.pairing&&P(b)},!0)}S(v,k)};U(w,v=>{t.reason?v(C):v(T,!1)})}var M=A(w,2);{var F=v=>{var k=Rc();Bt(k,21,()=>t.tags,mn,(E,b)=>{var P=Ic(),j=W(P);z(()=>N(j,a(b))),S(E,P)}),S(v,k)};U(M,v=>{t.tags&&t.tags.length&&v(F)})}z(()=>N(y,t.title)),S(c,l)};U(i,c=>{n?c(o):c(s,!1)})}S(e,r),st()}br(["click"]);const Lc={red:{glass:"#3b1230",foil:"#7a1f3d",accent:"#7a1f3d",shoulder:"bordeaux"},white:{glass:"#a9b568",foil:"#c9b458",accent:"#8a8f3c",shoulder:"flute"},rose:{glass:"#d98a9d",foil:"#e8a3b4",accent:"#b8566f",shoulder:"burgundy"},sparkling:{glass:"#5f6b3a",foil:"#d9c26a",accent:"#b89b2e",shoulder:"champagne"},sweet:{glass:"#b8862e",foil:"#d9a441",accent:"#9a6a1c",shoulder:"flute"},fortified:{glass:"#4a2a1a",foil:"#8a5a2b",accent:"#8a5a2b",shoulder:"port"}},jc={flute:{body:"M17 4h10v34c0 6 8 10 8 24v56c0 3-2 5-5 5H14c-3 0-5-2-5-5V62c0-14 8-18 8-24z",cap:{x:16,y:2,w:12,h:20},label:{x:9,y:72,w:26,h:34},shine:"M12 66c0 18 0 40 0 52"},burgundy:{body:"M17 4h10v30c0 10 11 14 11 30v54c0 3-2 5-5 5H11c-3 0-5-2-5-5V64c0-16 11-20 11-30z",cap:{x:16,y:2,w:12,h:20},label:{x:8,y:72,w:28,h:34},shine:"M11 68c0 18 0 38 0 50"},bordeaux:{body:"M17 4h10v32c0 4 1 6 4 9 4 4 6 7 6 14v59c0 3-2 5-5 5H12c-3 0-5-2-5-5V59c0-7 2-10 6-14 3-3 4-5 4-9z",cap:{x:16,y:2,w:12,h:20},label:{x:9,y:72,w:26,h:34},shine:"M12 64c0 18 0 40 0 54"},champagne:{body:"M17 4h10v34c0 12 15 18 15 42v35c0 5-3 8-7 8H9c-4 0-7-3-7-8V80c0-24 15-30 15-42z",cap:{x:15,y:2,w:14,h:34},label:{x:6,y:78,w:32,h:36},shine:"M8 82c0 14 0 28 0 36"},port:{body:"M16 4h12v16c0 3-2 4-2 7s3 4 3 8c0 6 9 6 9 18v65c0 3-2 5-5 5H11c-3 0-5-2-5-5V53c0-12 9-12 9-18 0-4 3-5 3-8s-2-4-2-7z",cap:{x:15,y:2,w:14,h:15},label:{x:8,y:66,w:28,h:42},shine:"M11 60c0 20 0 40 0 56"}},Nc=[[20,58,1.5],[26,50,1.1],[23,44,.8],[14,66,1.2],[30,63,1.7],[9,86,1.1],[34,92,1.3],[8,106,1.6],[35,112,1],[25,70,.9],[17,73,.7]];function qc(e){const t=(e??"").toLowerCase().normalize("NFD").replace(/[̀-ͯ]/g,"");return/(spark|champ|cava|prosecco|cremant|brut|pet.?nat|espum|petillant)/.test(t)?"sparkling":/(rose|pink|rosado)/.test(t)?"rose":/(fortif|port|sherry|madeira|marsala)/.test(t)?"fortified":/(sweet|dessert|late|sauternes|ice|moelleux|dulce)/.test(t)?"sweet":/(red|rouge|tinto|rosso|krasn)/.test(t)?"red":"white"}function Oc(e){const t=(e??"").trim();return!!t&&t!=="null"&&t!=="undefined"}var $c=Nt("<circle></circle>"),Uc=Nt('<path d="M16.5 10h11l1.5 26h-14z"></path><rect x="14" y="2" width="16" height="9" rx="3.5"></rect><rect x="14" y="8" width="16" height="2.4" fill="#000" opacity="0.12"></rect><path d="M16 15h12M15.6 20h12.8M15.2 25h13.6M14.8 30h14.4M22 11v21" stroke="#8a6d12" stroke-opacity="0.55" stroke-width="0.9" fill="none"></path><circle cx="22" cy="33" r="1.6" fill="none" stroke="#8a6d12" stroke-opacity="0.55" stroke-width="0.9"></circle><g fill="#fff" opacity="0.4"></g>',1),Fc=Nt('<rect rx="2.5"></rect><rect height="2.5" fill="#000" opacity="0.12"></rect>',1),Vc=Nt('<svg class="wr-WineBottle svelte-1duzdpv" viewBox="0 0 44 130" aria-hidden="true" focusable="false"><defs><linearGradient x1="0" x2="1" y1="0" y2="0"><stop offset="0" stop-opacity="0.78"></stop><stop offset="0.45"></stop><stop offset="1" stop-opacity="0.88"></stop></linearGradient></defs><path></path><!><rect rx="2.5" fill="#fffdf8" opacity="0.94"></rect><rect height="2.4" rx="1.2"></rect><rect height="1.8" rx="0.9" opacity="0.5"></rect><rect height="1.8" rx="0.9" opacity="0.5"></rect><path stroke="#fff" stroke-opacity="0.22" stroke-width="2.2" stroke-linecap="round" fill="none"></path></svg>');const Hc={hash:"svelte-1duzdpv",code:".wr-WineBottle.svelte-1duzdpv {display:block;height:100%;width:auto;margin:0 auto;}"};function Gc(e,t){at(t,!0),ft(e,Hc);const n=Z(()=>qc(t.type)),r=Z(()=>Lc[a(n)]),i=Z(()=>jc[a(r).shoulder]),o=`wr-bottle-${Math.random().toString(36).slice(2,8)}`;var s=Vc(),c=W(s),l=W(c),u=W(l),f=A(u),y=A(f),h=A(c),d=A(h);{var g=k=>{var E=Uc(),b=fe(E),P=A(b),j=A(P,4);Bt(j,21,()=>Nc,([H,O,$])=>`${H}-${O}`,(H,O)=>{var $=Z(()=>Ga(a(O),3));let re=()=>a($)[0],ne=()=>a($)[1],oe=()=>a($)[2];var ve=$c();z(()=>{D(ve,"cx",re()),D(ve,"cy",ne()),D(ve,"r",oe())}),S(H,ve)}),z(()=>{D(b,"fill",a(r).foil),D(P,"fill",a(r).foil)}),S(k,E)},w=k=>{var E=Fc(),b=fe(E),P=A(b);z(()=>{D(b,"x",a(i).cap.x),D(b,"y",a(i).cap.y),D(b,"width",a(i).cap.w),D(b,"height",a(i).cap.h),D(b,"fill",a(r).foil),D(P,"x",a(i).cap.x),D(P,"y",a(i).cap.y+a(i).cap.h-3),D(P,"width",a(i).cap.w)}),S(k,E)};U(d,k=>{a(n)==="sparkling"?k(g):k(w,!1)})}var C=A(d),T=A(C),M=A(T),F=A(M),v=A(F);z(()=>{D(l,"id",o),D(u,"stop-color",a(r).glass),D(f,"stop-color",a(r).glass),D(y,"stop-color",a(r).glass),D(h,"d",a(i).body),D(h,"fill",`url(#${o})`),D(C,"x",a(i).label.x),D(C,"y",a(i).label.y),D(C,"width",a(i).label.w),D(C,"height",a(i).label.h),D(T,"x",a(i).label.x+a(i).label.w*.2),D(T,"y",a(i).label.y+8),D(T,"width",a(i).label.w*.6),D(T,"fill",a(r).accent),D(M,"x",a(i).label.x+a(i).label.w*.3),D(M,"y",a(i).label.y+14),D(M,"width",a(i).label.w*.4),D(M,"fill",a(r).accent),D(F,"x",a(i).label.x+a(i).label.w*.3),D(F,"y",a(i).label.y+19),D(F,"width",a(i).label.w*.4),D(F,"fill",a(r).accent),D(v,"d",a(i).shine)}),S(e,s),st()}var Yc=L('<img class="wr-WineTile-image svelte-yk3emv" decoding="async"/>'),Kc=L('<div class="wr-WineTile-image wr-WineTile-bottle svelte-yk3emv"><!></div>'),Jc=L('<div class="wr-WineTile-price svelte-yk3emv"> </div>'),Zc=L('<div class="wr-WineTile-glass svelte-yk3emv"> </div>'),Qc=L('<h3 class="wr-WineTile-title svelte-yk3emv"><a class="wr-WineTile-titleLink js-WineTileAction svelte-yk3emv"> </a></h3>'),Xc=L('<h3 class="wr-WineTile-title svelte-yk3emv"> </h3>'),eu=L('<div class="wr-WineTile-params svelte-yk3emv"> </div>'),tu=L('<div class="wr-WineTilePopup-reason svelte-yk3emv"> </div>'),nu=L('<span class="wr-WineTilePopup-tag svelte-yk3emv"> </span>'),ru=L('<div class="wr-WineTilePopup-tags svelte-yk3emv"></div>'),iu=L("<div><!> <!></div>"),ou=L('<article><header class="wr-WineTile-header svelte-yk3emv"><!> <!> <!> <!></header> <!> <footer class="wr-WineTile-footer svelte-yk3emv"><div class="wr-WineTile-actions svelte-yk3emv"><!> <!></div></footer> <!> <!></article> <!>',1);const au={hash:"svelte-yk3emv",code:`.wr-WineTile.svelte-yk3emv {display:flex;flex-direction:column;align-items:center;text-align:center;box-sizing:border-box;padding:16px 8px;border-right:2px solid #f6f7fd;position:relative;transform:translateY(0);opacity:1;transition:transform 180ms cubic-bezier(0.22, 0.61, 0.36, 1),
|
|
135
|
+
}`};function Pa(e){dt(e,Gc);var t=Hc();Ot(t,4,()=>[0,1,2,3],n=>n,(n,r)=>{var i=Fc();D(n,i)}),D(e,t)}var Vc=j('<p class="wr-WinePopup-desc wr-WinePopup-text svelte-17gehox"> </p>'),Yc=j('<div class="wr-WinePopup-reason svelte-17gehox"> </div>'),Kc=j('<p class="wr-WinePopup-pairing wr-WinePopup-text svelte-17gehox"> </p>'),Jc=j('<span class="wr-WinePopup-tag svelte-17gehox"> </span>'),Zc=j('<div class="wr-WinePopup-tags svelte-17gehox"></div>'),Qc=j('<div class="wr-WinePopupMobile svelte-17gehox"><div class="wr-WinePopupMobile-overlay svelte-17gehox"></div> <div class="wr-WinePopupMobile-wrapper svelte-17gehox"><div class="wr-WinePopup js-WinePopup svelte-17gehox"><div class="wr-WinePopup-header svelte-17gehox"><h2 class="wr-WinePopup-title svelte-17gehox"> </h2> <button class="wr-WinePopup-close js-WinePopupClose svelte-17gehox">×</button></div> <!> <!> <!></div></div></div>'),Xc=j('<p class="wr-WinePopup-desc wr-WinePopup-text svelte-17gehox"> </p>'),eu=j('<div class="wr-WinePopup-reason svelte-17gehox"> </div>'),tu=j('<p class="wr-WinePopup-pairing wr-WinePopup-text svelte-17gehox"> </p>'),nu=j('<span class="wr-WinePopup-tag svelte-17gehox"> </span>'),ru=j('<div class="wr-WinePopup-tags svelte-17gehox"></div>'),iu=j('<div class="wr-WinePopup svelte-17gehox"><div class="wr-WinePopup-header svelte-17gehox"><h2 class="wr-WinePopup-title svelte-17gehox"> </h2> <button class="wr-WinePopup-close svelte-17gehox">×</button></div> <!> <!> <!></div>');const ou={hash:"svelte-17gehox",code:".wr-WinePopup.svelte-17gehox {position:absolute;width:100%;background-color:white;padding:16px;border-radius:16px;box-shadow:0 6px 30px rgba(0, 0, 0, 0.2);text-align:left;font-size:14px;box-sizing:border-box;display:flex;flex-direction:column;}.wr-WinePopup-text.svelte-17gehox {margin:5px 0;}.wr-WinePopup-header.svelte-17gehox {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}.wr-WinePopup-title.svelte-17gehox {font-size:16px;font-weight:600;margin:0;flex:1;line-height:1.3;}.wr-WinePopup-close.svelte-17gehox {font-size:20px;font-weight:bold;cursor:pointer;color:#999;border:none;background:transparent;line-height:1;}.wr-WinePopup-close.svelte-17gehox:hover {color:#000;}.wr-WinePopup-desc.svelte-17gehox {margin-top:8px;}.wr-WinePopup-reason.svelte-17gehox {font-size:14px;font-weight:400;color:#333;margin-top:8px;}.wr-WinePopup-pairing.svelte-17gehox {margin-top:8px;}.wr-WinePopup-tags.svelte-17gehox {display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;justify-content:center;}.wr-WinePopup-tag.svelte-17gehox {display:inline-block;padding:4px 8px;border-radius:12px;background-color:#f5f0ff;border:1px solid #ddd;font-size:13px;color:#333;text-transform:capitalize;}.wr-WinePopupMobile.svelte-17gehox {position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;}.wr-WinePopupMobile-overlay.svelte-17gehox {position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.5);}.wr-WinePopupMobile-wrapper.svelte-17gehox {position:absolute;width:100%;height:100%;top:50%;left:50%;transform:translate(-50%, -50%);max-width:90%;max-height:80%;overflow-y:auto;background:transparent;}"};function Wa(e,t){it(t,!0),dt(e,ou);const n=!!t.isMobile;var r=Cr(),i=Qe(r);{var o=l=>{var c=Qc(),u=A(c),h=M(u,2),g=A(h),v=A(g),f=A(v),k=A(f),p=M(f,2),E=M(v,2);{var y=w=>{var T=Vc(),x=A(T);L(()=>O(x,t.shortDescription)),D(w,T)};Z(E,w=>{t.shortDescription&&w(y)})}var P=M(E,2);{var B=w=>{var T=Yc(),x=A(T);L(()=>O(x,t.reason)),D(w,T)},C=w=>{var T=Kc(),x=A(T);L(()=>O(x,t.pairing)),D(w,T)};Z(P,w=>{t.reason?w(B):t.pairing&&w(C,1)})}var _=M(P,2);{var W=w=>{var T=Zc();Ot(T,21,()=>t.tags,Tn,(x,N)=>{var ne=Jc(),te=A(ne);L(()=>O(te,a(N))),D(x,ne)}),D(w,T)};Z(_,w=>{t.tags&&t.tags.length&&w(W)})}L(()=>O(k,t.title)),sn("click",u,function(...w){var T;(T=t.onClose)==null||T.apply(this,w)}),sn("click",p,function(...w){var T;(T=t.onClose)==null||T.apply(this,w)}),D(l,c)},s=l=>{var c=iu(),u=A(c),h=A(u),g=A(h),v=M(h,2),f=M(u,2);{var k=C=>{var _=Xc(),W=A(_);L(()=>O(W,t.shortDescription)),D(C,_)};Z(f,C=>{t.shortDescription&&C(k)})}var p=M(f,2);{var E=C=>{var _=eu(),W=A(_);L(()=>O(W,t.reason)),D(C,_)},y=C=>{var _=tu(),W=A(_);L(()=>O(W,t.pairing)),D(C,_)};Z(p,C=>{t.reason?C(E):t.pairing&&C(y,1)})}var P=M(p,2);{var B=C=>{var _=ru();Ot(_,21,()=>t.tags,Tn,(W,w)=>{var T=nu(),x=A(T);L(()=>O(x,a(w))),D(W,T)}),D(C,_)};Z(P,C=>{t.tags&&t.tags.length&&C(B)})}L(()=>O(g,t.title)),sn("click",v,function(...C){var _;(_=t.onClose)==null||_.apply(this,C)}),D(l,c)};Z(i,l=>{n?l(o):l(s,!1)})}D(e,r),ot()}_r(["click"]);const au={red:{glass:"#3b1230",foil:"#7a1f3d",accent:"#7a1f3d",shoulder:"bordeaux"},white:{glass:"#a9b568",foil:"#c9b458",accent:"#8a8f3c",shoulder:"flute"},rose:{glass:"#d98a9d",foil:"#e8a3b4",accent:"#b8566f",shoulder:"burgundy"},sparkling:{glass:"#5f6b3a",foil:"#d9c26a",accent:"#b89b2e",shoulder:"champagne"},sweet:{glass:"#b8862e",foil:"#d9a441",accent:"#9a6a1c",shoulder:"flute"},fortified:{glass:"#4a2a1a",foil:"#8a5a2b",accent:"#8a5a2b",shoulder:"port"}},su={flute:{body:"M17 4h10v34c0 6 8 10 8 24v56c0 3-2 5-5 5H14c-3 0-5-2-5-5V62c0-14 8-18 8-24z",cap:{x:16,y:2,w:12,h:20},label:{x:9,y:72,w:26,h:34},shine:"M12 66c0 18 0 40 0 52"},burgundy:{body:"M17 4h10v30c0 10 11 14 11 30v54c0 3-2 5-5 5H11c-3 0-5-2-5-5V64c0-16 11-20 11-30z",cap:{x:16,y:2,w:12,h:20},label:{x:8,y:72,w:28,h:34},shine:"M11 68c0 18 0 38 0 50"},bordeaux:{body:"M17 4h10v32c0 4 1 6 4 9 4 4 6 7 6 14v59c0 3-2 5-5 5H12c-3 0-5-2-5-5V59c0-7 2-10 6-14 3-3 4-5 4-9z",cap:{x:16,y:2,w:12,h:20},label:{x:9,y:72,w:26,h:34},shine:"M12 64c0 18 0 40 0 54"},champagne:{body:"M17 4h10v34c0 12 15 18 15 42v35c0 5-3 8-7 8H9c-4 0-7-3-7-8V80c0-24 15-30 15-42z",cap:{x:15,y:2,w:14,h:34},label:{x:6,y:78,w:32,h:36},shine:"M8 82c0 14 0 28 0 36"},port:{body:"M16 4h12v16c0 3-2 4-2 7s3 4 3 8c0 6 9 6 9 18v65c0 3-2 5-5 5H11c-3 0-5-2-5-5V53c0-12 9-12 9-18 0-4 3-5 3-8s-2-4-2-7z",cap:{x:15,y:2,w:14,h:15},label:{x:8,y:66,w:28,h:42},shine:"M11 60c0 20 0 40 0 56"}},lu=[[20,58,1.5],[26,50,1.1],[23,44,.8],[14,66,1.2],[30,63,1.7],[9,86,1.1],[34,92,1.3],[8,106,1.6],[35,112,1],[25,70,.9],[17,73,.7]];function cu(e){const t=(e??"").toLowerCase().normalize("NFD").replace(/[̀-ͯ]/g,"");return/(spark|champ|cava|prosecco|cremant|brut|pet.?nat|espum|petillant)/.test(t)?"sparkling":/(rose|pink|rosado)/.test(t)?"rose":/(fortif|port|sherry|madeira|marsala)/.test(t)?"fortified":/(sweet|dessert|late|sauternes|ice|moelleux|dulce)/.test(t)?"sweet":/(red|rouge|tinto|rosso|krasn)/.test(t)?"red":"white"}function uu(e){const t=(e??"").trim();return!!t&&t!=="null"&&t!=="undefined"}var du=qt("<circle></circle>"),pu=qt('<path d="M16.5 10h11l1.5 26h-14z"></path><rect x="14" y="2" width="16" height="9" rx="3.5"></rect><rect x="14" y="8" width="16" height="2.4" fill="#000" opacity="0.12"></rect><path d="M16 15h12M15.6 20h12.8M15.2 25h13.6M14.8 30h14.4M22 11v21" stroke="#8a6d12" stroke-opacity="0.55" stroke-width="0.9" fill="none"></path><circle cx="22" cy="33" r="1.6" fill="none" stroke="#8a6d12" stroke-opacity="0.55" stroke-width="0.9"></circle><g fill="#fff" opacity="0.4"></g>',1),hu=qt('<rect rx="2.5"></rect><rect height="2.5" fill="#000" opacity="0.12"></rect>',1),fu=qt('<svg class="wr-WineBottle svelte-1duzdpv" viewBox="0 0 44 130" aria-hidden="true" focusable="false"><defs><linearGradient x1="0" x2="1" y1="0" y2="0"><stop offset="0" stop-opacity="0.78"></stop><stop offset="0.45"></stop><stop offset="1" stop-opacity="0.88"></stop></linearGradient></defs><path></path><!><rect rx="2.5" fill="#fffdf8" opacity="0.94"></rect><rect height="2.4" rx="1.2"></rect><rect height="1.8" rx="0.9" opacity="0.5"></rect><rect height="1.8" rx="0.9" opacity="0.5"></rect><path stroke="#fff" stroke-opacity="0.22" stroke-width="2.2" stroke-linecap="round" fill="none"></path></svg>');const vu={hash:"svelte-1duzdpv",code:".wr-WineBottle.svelte-1duzdpv {display:block;height:100%;width:auto;margin:0 auto;}"};function gu(e,t){it(t,!0),dt(e,vu);const n=F(()=>cu(t.type)),r=F(()=>au[a(n)]),i=F(()=>su[a(r).shoulder]),o=`wr-bottle-${Math.random().toString(36).slice(2,8)}`;var s=fu(),l=A(s),c=A(l),u=A(c),h=M(u),g=M(h),v=M(l),f=M(v);{var k=_=>{var W=pu(),w=Qe(W),T=M(w),x=M(T,4);Ot(x,21,()=>lu,([N,ne,te])=>`${N}-${ne}`,(N,ne)=>{var te=F(()=>cs(a(ne),3));let re=()=>a(te)[0],ge=()=>a(te)[1],pe=()=>a(te)[2];var ce=du();L(()=>{R(ce,"cx",re()),R(ce,"cy",ge()),R(ce,"r",pe())}),D(N,ce)}),L(()=>{R(w,"fill",a(r).foil),R(T,"fill",a(r).foil)}),D(_,W)},p=_=>{var W=hu(),w=Qe(W),T=M(w);L(()=>{R(w,"x",a(i).cap.x),R(w,"y",a(i).cap.y),R(w,"width",a(i).cap.w),R(w,"height",a(i).cap.h),R(w,"fill",a(r).foil),R(T,"x",a(i).cap.x),R(T,"y",a(i).cap.y+a(i).cap.h-3),R(T,"width",a(i).cap.w)}),D(_,W)};Z(f,_=>{a(n)==="sparkling"?_(k):_(p,!1)})}var E=M(f),y=M(E),P=M(y),B=M(P),C=M(B);L(()=>{R(c,"id",o),R(u,"stop-color",a(r).glass),R(h,"stop-color",a(r).glass),R(g,"stop-color",a(r).glass),R(v,"d",a(i).body),R(v,"fill",`url(#${o})`),R(E,"x",a(i).label.x),R(E,"y",a(i).label.y),R(E,"width",a(i).label.w),R(E,"height",a(i).label.h),R(y,"x",a(i).label.x+a(i).label.w*.2),R(y,"y",a(i).label.y+8),R(y,"width",a(i).label.w*.6),R(y,"fill",a(r).accent),R(P,"x",a(i).label.x+a(i).label.w*.3),R(P,"y",a(i).label.y+14),R(P,"width",a(i).label.w*.4),R(P,"fill",a(r).accent),R(B,"x",a(i).label.x+a(i).label.w*.3),R(B,"y",a(i).label.y+19),R(B,"width",a(i).label.w*.4),R(B,"fill",a(r).accent),R(C,"d",a(i).shine)}),D(e,s),ot()}var wu=j('<img class="wr-WineTile-image svelte-yk3emv" decoding="async"/>'),mu=j('<div class="wr-WineTile-image wr-WineTile-bottle svelte-yk3emv"><!></div>'),yu=j('<div class="wr-WineTile-price svelte-yk3emv"> </div>'),bu=j('<div class="wr-WineTile-glass svelte-yk3emv"> </div>'),ku=j('<h3 class="wr-WineTile-title svelte-yk3emv"><a class="wr-WineTile-titleLink js-WineTileAction svelte-yk3emv"> </a></h3>'),xu=j('<h3 class="wr-WineTile-title svelte-yk3emv"> </h3>'),Su=j('<div class="wr-WineTile-params svelte-yk3emv"> </div>'),_u=j('<div class="wr-WineTilePopup-reason svelte-yk3emv"> </div>'),Cu=j('<span class="wr-WineTilePopup-tag svelte-yk3emv"> </span>'),Tu=j('<div class="wr-WineTilePopup-tags svelte-yk3emv"></div>'),Pu=j("<div><!> <!></div>"),Wu=j('<article><header class="wr-WineTile-header svelte-yk3emv"><!> <!> <!> <!></header> <!> <footer class="wr-WineTile-footer svelte-yk3emv"><div class="wr-WineTile-actions svelte-yk3emv"><!> <!></div></footer> <!> <!></article> <!>',1);const Du={hash:"svelte-yk3emv",code:`.wr-WineTile.svelte-yk3emv {display:flex;flex-direction:column;align-items:center;text-align:center;box-sizing:border-box;padding:16px 8px;border-right:2px solid #f6f7fd;position:relative;transform:translateY(0);opacity:1;transition:transform 180ms cubic-bezier(0.22, 0.61, 0.36, 1),
|
|
161
136
|
opacity 180ms cubic-bezier(0.22, 0.61, 0.36, 1);will-change:transform, opacity;}.wr-WineTile.svelte-yk3emv:last-child {border-right:none;}.wr-WineTile.ww-slide-up.svelte-yk3emv {transform:translateY(-28px);opacity:0;}.wr-WineTile-header.svelte-yk3emv {display:flex;flex-direction:column;align-items:center;justify-content:flex-start;}.wr-WineTile-image.svelte-yk3emv {height:200px;width:100%;max-width:100%;object-fit:contain;margin:0 auto 16px;display:block;}.wr-WineTile-bottle.svelte-yk3emv {padding:4px 0;box-sizing:border-box;}.wr-WineTile-title.svelte-yk3emv {font-size:15px;font-weight:500;margin:0 0 8px;min-height:3rem;line-height:1.2;text-align:center;color:#000;}.wr-WineTile-titleLink.svelte-yk3emv {color:inherit;text-decoration:none;}.wr-WineTile-titleLink.svelte-yk3emv:hover {text-decoration:underline;}.wr-WineTile-params.svelte-yk3emv {font-size:14px;color:#666;white-space:normal;text-align:center;}.wr-WineTile-footer.svelte-yk3emv {margin-top:auto;display:flex;align-items:center;gap:12px;justify-content:center;}.wr-WineTile-price.svelte-yk3emv {font-size:16px;font-weight:400;margin-bottom:8px;color:#333;}.wr-WineTile-glass.svelte-yk3emv {font-size:12px;font-weight:500;color:var(--wr-brand-color, #7b2beb);margin-bottom:8px;}.wr-WineTile-actions.svelte-yk3emv {margin:16px auto 0;display:flex;flex-direction:column;align-items:center;gap:8px;}
|
|
162
137
|
|
|
163
138
|
/* :global \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u0435\u043D \u2014 \u043A\u043B\u0430\u0441\u0441 \u0443\u0435\u0437\u0436\u0430\u0435\u0442 \u0432\u043D\u0443\u0442\u0440\u044C <Action>, \u0430 \u0441\u043A\u043E\u0443\u043F Svelte
|
|
@@ -181,9 +156,9 @@ ${JSON.stringify(f,null,2)}
|
|
|
181
156
|
}
|
|
182
157
|
|
|
183
158
|
@media screen and (max-width: 768px) {.wr-WineTile.svelte-yk3emv {flex:0 0 auto;scroll-snap-align:center;width:240px;text-align:center;}
|
|
184
|
-
}`};function
|
|
159
|
+
}`};function Eu(e,t){it(t,!0),dt(e,Du);const n=4;let r=F(()=>de.getAppLanguage()),i=G(!1),o=Pe(t,"addedToCart",3,!1);const s=(S,z)=>S[z]||S[z.charAt(0).toUpperCase()+z.slice(1)],l=(S,z)=>z.map(H=>s(S,H)).filter(Boolean).join(" \u2022 ");function c(S){var z;return bc(S,((z=de.getCurrency)==null?void 0:z.call(de))||"USD",a(r))}function u(S){return t.selectedWineId===S}function h(S){return!!(S.reason||S.shortDescription||S.tags)}function g(S,z){let H=S?.tags||z.tags;return H?(Array.isArray(H)&&(H=H.join(",")),typeof H!="string"?[]:H.split(",").map(Q=>Q.trim()).filter(Boolean)):[]}let v=G(!1),f=F(()=>!!t.onAddToCart&&!!na(t.wine)),k=G(!1);async function p(){var S;if(!(a(k)||o())){m(k,!0);try{await((S=t.onAddToCart)==null?void 0:S.call(t,t.wine,t.index))}finally{m(k,!1)}}}fi(()=>{const S=()=>{m(v,window.innerWidth<=768)};return S(),window.addEventListener("resize",S),()=>{window.removeEventListener("resize",S)}});var E=Wu(),y=Qe(E),P=A(y),B=A(P);{var C=S=>{var z=wu();L(()=>{R(z,"src",t.wine.image),R(z,"alt",t.wine.title),R(z,"loading",t.index<n?"eager":"lazy"),R(z,"fetchpriority",t.index<n?"high":"auto")}),ct("error",z,()=>m(i,!0)),D(S,z)},_=F(()=>uu(t.wine.image)&&!a(i)),W=S=>{var z=mu(),H=A(z);gu(H,{get type(){return t.wine.type}}),D(S,z)};Z(B,S=>{a(_)?S(C):S(W,!1)})}var w=M(B,2);{var T=S=>{var z=yu(),H=A(z);L(Q=>O(H,Q),[()=>c(t.wine.total)]),D(S,z)};Z(w,S=>{t.wine.total&&S(T)})}var x=M(w,2);{var N=S=>{var z=bu(),H=A(z);L((Q,he)=>O(H,`${Q??""}${he??""}`),[()=>ae({key:"byTheGlass",lang:a(r)}),()=>t.wine.glassPrice?` \u2014 ${c(t.wine.glassPrice)}`:""]),D(S,z)};Z(x,S=>{t.wine.byTheGlass&&S(N)})}var ne=M(x,2);{var te=S=>{var z=ku(),H=A(z),Q=A(H);L(()=>{R(H,"href",t.wine.url),O(Q,t.wine.title)}),D(S,z)},re=S=>{var z=xu(),H=A(z);L(()=>O(H,t.wine.title)),D(S,z)};Z(ne,S=>{a(f)&&t.wine.url?S(te):S(re,!1)})}var ge=M(P,2);{var pe=S=>{var z=Su(),H=A(z);L(Q=>O(H,Q),[()=>l(t.wine,["type","country","region","grape"])]),D(S,z)},ce=F(()=>l(t.wine,["type","country","region","grape"]));Z(ge,S=>{a(ce)&&S(pe)})}var se=M(ge,2),Ft=A(se),ke=A(Ft);{var Dt=S=>{{let z=F(()=>o()?"outlined":"primary");Ut(S,{handleClick:p,get variant(){return a(z)},className:"wr-WineTile-action wr-WineTile-action--cart js-WineTileAction",children:(H,Q)=>{var he=Tt();L(ie=>O(he,ie),[()=>ae({key:o()?"addedToCart":"addToCart",lang:a(r)})]),D(H,he)},$$slots:{default:!0}})}},nt=S=>{Ut(S,{get href(){return t.wine.url},handleClick:()=>t.onBuyLinkClick(t.wine,t.index),className:"wr-WineTile-action wr-WineTile-action--link js-WineTileAction",target:"_blank",variant:"outlined",children:(z,H)=>{var Q=Tt();L(he=>O(Q,he),[()=>ae({key:"wineDetails.buy",lang:a(r)})]),D(z,Q)},$$slots:{default:!0}})},sr=S=>{Ut(S,{handleClick:()=>t.onBuyClick(t.wine,t.index),variant:"outlined",className:"wr-WineTile-action wr-WineTile-action--button js-WineTileAction",children:(z,H)=>{var Q=Tt();L(he=>O(Q,he),[()=>ae({key:"moreInfo",lang:a(r)})]),D(z,Q)},$$slots:{default:!0}})};Z(ke,S=>{a(f)?S(Dt):t.wine.url?S(nt,1):S(sr,!1)})}var xe=M(ke,2);{var lr=S=>{Ut(S,{handleClick:()=>t.onSimilarClick(t.wine),variant:"text",className:"wr-WineTile-action wr-WineTile-action--similar js-WineTileAction",children:(z,H)=>{var Q=Tt();L(he=>O(Q,he),[()=>ae({key:"similarWines",lang:a(r)})]),D(z,Q)},$$slots:{default:!0}})};Z(xe,S=>{t.onSimilarClick&&S(lr)})}var Fe=M(se,2);{var zr=S=>{{let z=F(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.shortDescription)||t.wine.shortDescription}),H=F(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.reason)||t.wine.reason}),Q=F(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.pairingRecommendation)||t.wine.pairingRecommendation}),he=F(()=>g(t.translatedPopup,t.wine));Wa(S,{get title(){return t.wine.title},get shortDescription(){return a(z)},get reason(){return a(H)},get pairing(){return a(Q)},get tags(){return a(he)},get onClose(){return t.onPopupClose},isMobile:!1})}},En=F(()=>u(t.wine.id)&&!a(v));Z(Fe,S=>{a(En)&&S(zr)})}var cr=M(Fe,2);{var Lr=S=>{var z=Pu(),H=A(z);{var Q=ht=>{var Ee=_u(),He=A(Ee);L(()=>{var un,Et;return O(He,((un=t.translatedPopup)==null?void 0:un.reason)||((Et=t.translatedPopup)==null?void 0:Et.shortDescription)||t.wine.reason||t.wine.shortDescription)}),D(ht,Ee)};Z(H,ht=>{var Ee,He;((Ee=t.translatedPopup)!=null&&Ee.reason||(He=t.translatedPopup)!=null&&He.shortDescription||t.wine.reason||t.wine.shortDescription)&&ht(Q)})}var he=M(H,2);{var ie=ht=>{var Ee=Tu();Ot(Ee,21,()=>g(t.translatedPopup,t.wine),Tn,(He,un)=>{var Et=Cu(),ur=A(Et);L(()=>O(ur,a(un))),D(He,Et)}),D(ht,Ee)};Z(he,ht=>{var Ee,He;((Ee=t.translatedPopup)!=null&&Ee.tags||(He=t.translatedPopup)!=null&&He.Tags||t.wine.tags)&&ht(ie)})}L(()=>pt(z,1,`wr-WineTilePopup ${t.hoveredWineId===t.wine.id?"slide-in visible":""}`,"svelte-yk3emv")),D(S,z)},jr=F(()=>h(t.wine));Z(cr,S=>{a(jr)&&S(Lr)})}var Nr=M(y,2);{var An=S=>{{let z=F(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.shortDescription)||t.wine.shortDescription}),H=F(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.reason)||t.wine.reason}),Q=F(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.pairingRecommendation)||t.wine.pairingRecommendation}),he=F(()=>g(t.translatedPopup,t.wine));Wa(S,{get title(){return t.wine.title},get shortDescription(){return a(z)},get reason(){return a(H)},get pairing(){return a(Q)},get tags(){return a(he)},get onClose(){return t.onPopupClose},isMobile:!0})}},qr=F(()=>u(t.wine.id)&&a(v));Z(Nr,S=>{a(qr)&&S(An)})}L(()=>pt(y,1,`wr-WineTile ${t.isAnimating?"ww-slide-up":""}`,"svelte-yk3emv")),ct("mouseenter",y,()=>t.onTileEnter(t.wine)),ct("mouseleave",y,()=>t.onTileLeave(t.wine)),sn("click",y,S=>t.onTileClick(S,t.wine)),D(e,E),ot()}_r(["click"]);var Au=j('<a class="wr-Consent-link svelte-dqnzo8" target="_blank" rel="noopener noreferrer"> </a>'),Iu=j('<div class="wr-Consent svelte-dqnzo8" role="region" aria-label="Cookies"><p class="wr-Consent-text svelte-dqnzo8"> <!></p> <div class="wr-Consent-actions svelte-dqnzo8"><!> <!></div></div>');const Mu={hash:"svelte-dqnzo8",code:`.wr-Consent.svelte-dqnzo8 {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 0;padding:12px 16px;border-radius:12px;background:#f6f4f2;font-size:13px;line-height:1.4;color:#333;}.wr-Consent-text.svelte-dqnzo8 {margin:0;flex:1;}.wr-Consent-link.svelte-dqnzo8 {color:inherit;text-decoration:underline;margin-left:4px;}.wr-Consent-actions.svelte-dqnzo8 {display:flex;gap:8px;flex-shrink:0;}
|
|
185
160
|
@media (max-width: 640px) {.wr-Consent.svelte-dqnzo8 {flex-direction:column;align-items:stretch;}.wr-Consent-actions.svelte-dqnzo8 {justify-content:flex-end;}
|
|
186
|
-
}`};function
|
|
161
|
+
}`};function Ru(e,t){var n;it(t,!0),dt(e,Mu);const r=(n=window?.wineaterData)==null?void 0:n.PRIVACY_URL,i=f=>ae({key:f,lang:t.lang});var o=Iu(),s=A(o),l=A(s),c=M(l);{var u=f=>{var k=Au(),p=A(k);L(E=>{R(k,"href",r),O(p,E)},[()=>i("consentPrivacy")]),D(f,k)};Z(c,f=>{r&&f(u)})}var h=M(s,2),g=A(h);Ut(g,{variant:"outlined",handleClick:()=>ta("denied"),children:(f,k)=>{var p=Tt();L(E=>O(p,E),[()=>i("consentDecline")]),D(f,p)},$$slots:{default:!0}});var v=M(g,2);Ut(v,{variant:"primary",handleClick:()=>ta("granted"),children:(f,k)=>{var p=Tt();L(E=>O(p,E),[()=>i("consentAccept")]),D(f,p)},$$slots:{default:!0}}),L(f=>O(l,`${f??""} `),[()=>i("consentText")]),D(e,o),ot()}const Bu=/@import\s+url\(\s*['"]?([^'")]+)['"]?\s*\)\s*;?/g;function Ri(e,t,n=!1){const r=document.createElement("link");r.rel=e,r.href=t,n&&(r.crossOrigin="anonymous"),document.head.appendChild(r)}function zu(){document.querySelector('link[rel="preconnect"][href="https://fonts.googleapis.com"]')||(Ri("preconnect","https://fonts.googleapis.com"),Ri("preconnect","https://fonts.gstatic.com",!0))}function Lu(e){if(!e)return"";const t="custom-ui-config-style";if(document.getElementById(t))return;const n=e.replace(Bu,(i,o)=>(Ri("stylesheet",o),"")),r=document.createElement("style");return r.id=t,r.innerHTML=n,document.head.appendChild(r),t}const Da="_wineater_session";function ju(e,t){fetch(`${e}cart/update.js`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({attributes:{[Da]:t}}),keepalive:!0}).catch(()=>{})}function Nu(){return["cart-drawer","cart-icon-bubble","cart-notification-product","cart-notification-button","cart-live-region-text"].filter(e=>e==="cart-drawer"||e==="cart-icon-bubble"||document.getElementById(e))}function qu(e){var t;const n=document.querySelector("cart-drawer");if(n&&typeof n.renderContents=="function"){n.classList.remove("is-empty"),n.renderContents(e);return}const r=document.querySelector("cart-notification");if(r&&typeof r.renderContents=="function"){r.renderContents(e);return}const i=document.getElementById("cart-icon-bubble");if(i&&(t=e?.sections)!=null&&t["cart-icon-bubble"]){const o=new DOMParser().parseFromString(e.sections["cart-icon-bubble"],"text/html");i.innerHTML=(o.querySelector(".shopify-section")||o.body).innerHTML}document.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0})),document.documentElement.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0}))}async function Ou(e){var t,n,r;const i=(t=window.Shopify)==null?void 0:t.actions;if(!i||typeof i.updateCart!="function")return!1;const o=await i.updateCart({lines:[{merchandiseId:`gid://shopify/ProductVariant/${e}`,quantity:1}]});if((n=o?.userErrors)!=null&&n.length)throw new Error(((r=o.userErrors[0])==null?void 0:r.message)||"cart rejected the line");if(typeof i.openCart=="function")try{await i.openCart()}catch{}return!0}async function $u(e,t){const n=await fetch(`${t}cart/add.js`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:[{id:Number(e),quantity:1}],sections:Nu(),sections_url:window.location.pathname})});return n.ok?(qu(await n.json().catch(()=>null)),!0):!1}function Uu(){const e=document.querySelector("cart-drawer, cart-notification");return!!e&&typeof e.renderContents=="function"}async function Fu(e,t){const n=[["actions",()=>Ou(e)],["ajax",()=>$u(e,t.root)]];Uu()&&n.reverse();for(const[r,i]of n)try{if(await i())return ju(t.root,t.sessionId),{ok:!0,via:r}}catch(o){console.debug(`[wineater] cart ${r} failed:`,o?.message)}return window.location.href=`${t.root}cart/${e}:1?storefront=true&attributes[${Da}]=${encodeURIComponent(t.sessionId)}`,{ok:!1,via:"permalink"}}var Hu=j('<div class="wr-App-picture svelte-1n46o8q"><img class="wr-App-logo svelte-1n46o8q" alt=""/></div>'),Gu=j('<p class="wr-App-resting svelte-1n46o8q" role="status"> </p>'),Vu=j('<div class="wr-App-error svelte-1n46o8q"><p> </p></div>'),Yu=j('<div class="wr-App-showMore svelte-1n46o8q"><!></div>'),Ku=j('<div class="wr-App-placeholder svelte-1n46o8q"></div> <!>',1),Ju=j('<div id="wr-Custom"><!> <!> <!> <div class="wr-App-content svelte-1n46o8q"><!> <!></div> <!> <!></div>'),Zu=j('<div aria-busy="true"><div class="wr-App-loadingTop svelte-1n46o8q"></div> <!></div>');const Qu={hash:"svelte-1n46o8q",code:`
|
|
187
162
|
/* ===================== 1) CSS Variables ===================== */:root {--wineater-corp-color: #0044ff;
|
|
188
163
|
/* --wr-brand-color is set dynamically from uiConfig.brandColor */--wr-brand-color: #7b2beb; /* fallback value */}
|
|
189
164
|
|
|
@@ -198,4 +173,4 @@ ${JSON.stringify(f,null,2)}
|
|
|
198
173
|
|
|
199
174
|
/* ===================== 13) Mobile Styles ===================== */
|
|
200
175
|
@media screen and (max-width: 768px) {.wr-App.svelte-1n46o8q {flex-direction:column;padding:0px 16px;min-width:100vw;}.wr-App.wr-App--embedded.svelte-1n46o8q {min-width:0;padding:0 12px 12px;}.wr-App-placeholder.svelte-1n46o8q {display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 0;width:calc(100vw - 32px);min-width:calc(100vw - 32px);}
|
|
201
|
-
}`};function
|
|
176
|
+
}`};function Xu(e,t){var n,r,i,o,s,l,c;it(t,!0),dt(e,Qu);const u=et();function h(){var b;xi("chatbotToken",((b=window.wineaterData)==null?void 0:b.CLIENT_TOKEN)||g,365)}const g="HeUw6IXuhvz6tRuXdPEGEbj3SGQ3Q2YtEc1Z8jd41Kg9LtyPb4Epu0to31SYIadG";u||(h(),zu());const v=6*60*60*1e3,f=60*60*1e3,k=`${Ei}:instant-profile`,p=b=>`${Ei}:instant${b?`:${b}`:""}`,E=((n=window?.wineaterData)==null?void 0:n.WIDGET_TYPE)||"store",y=((r=window?.wineaterData)==null?void 0:r.COUNTRY_CODE)||null;(i=window?.wineaterData)!=null&&i.WIDGET_WRAPPER;let P=G(!1),B=G(!1),C=!1,_=G(!1),W=G(!1),w=G(Re([])),T=G(null),x=G(""),N=G(null),ne=G(!1),te=G(null),re=G(Re([])),ge=G(""),pe=G(!1),ce=G(Re([])),se=null,Ft=G(Re([])),ke=G(!1);function Dt(b,I){b!=null&&b.length&&ln({type:"shown",query_id:se??void 0,sku_ids:b.map($=>$.id),text:I||void 0})}let nt=F(()=>de.getAppLanguage()),sr=F(()=>de.getStoreLanguage()),xe=F(()=>de.getStoreId()),lr=F(()=>de.isInitialized()),Fe=F(()=>de.getUiConfig()),zr=F(()=>de.isSearchAvailable());function En(){m(N,ae({key:"errorMessage",lang:a(nt)}),!0)}const cr=()=>m(N,null);async function Lr(b){const I=va(E,a(nt),a(sr));if(!I||!b.length)return b.map(()=>({}));const $=await tt.getWineTranslations(b.map(oe=>oe.id),I);return ec(b,$)}kn(()=>{tt.setVisitorLanguage(va(E,a(nt),a(sr)))});async function jr(b){const I=Ai(k,2592e6),$=Ai(p(I),I?f:v),oe=!!($!=null&&$.length);oe?m(w,$,!0):m(_,!0);try{const{wines:Ae,profileHash:ft}=await tt.getInstantRecommendations();Ae.length>0&&(Ii(p(ft),Ae),Ii(k,ft)),!oe&&!C&&m(w,Ae,!0)}catch(Ae){console.error("[wineater] instant recommendations error:",Ae),!oe&&!C&&(await b,En())}finally{C||m(_,!1)}}async function Nr(){m(ke,!0),de.setSearchAvailable(!1);try{const{wines:b}=await tt.getInstantRecommendations();m(w,b,!0),m(re,[],!0),m(pe,!1)}catch(b){console.error("[wineater] instant recommendations error:",b),m(w,[],!0)}}function An(b=220){return!a(w)||a(w).length===0?Promise.resolve():(m(ne,!0),new Promise(I=>{setTimeout(()=>{I()},b)}))}async function qr(b){b.preventDefault(),C=!0;let I="",$;try{m(_,!0),cr(),I=a(x).trim()+";",m(ge,I,!0),se=da(),$=se;try{We(De.SEARCH_PERFORMED,a(xe),{query:I})}catch(fe){console.error("Error tracking search event:",fe)}let oe=!1,Ae=!1,ft=null;const dn=fe=>{if(!fe||fe.length===0){m(w,[],!0),m(re,[],!0),m(N,ae({key:"noResultsMessage",lang:a(nt)}),!0),We(De.NO_RESULTS_FOUND,a(xe),{query:I});return}m(w,fe,!0),m(_,!1),!Ae&&(Ae=!0,m(pe,Di==="2"&&!u&&fe.length>=4,!0),Dt(fe,I),We(De.SEARCH_RESULTS_DISPLAYED,a(xe),{results_count:fe.length,results:fe,query:I}))},dr=fe=>{$===se&&(oe?dn(fe):ft=fe)},In=tt.searchStream(I,se,dr);In.catch(()=>{}),await An(220),m(w,[],!0),m(ne,!1),m(pe,!1),m(ce,[],!0),oe=!0,ft&&dn(ft);const pn=await In;if($!==se)return;if(Ae&&pn.length===a(w).length&&pn.every((fe,rt)=>{var Ht;return fe.id===((Ht=a(w)[rt])==null?void 0:Ht.id)})){const fe=new Map(pn.map(rt=>[rt.id,rt]));m(w,a(w).map(rt=>{var Ht;return{...rt,reason:((Ht=fe.get(rt.id))==null?void 0:Ht.reason)??rt.reason}}),!0)}else dn(pn)}catch(oe){if($!==se)return;if(oe instanceof ra){await Nr();return}m(w,[],!0),console.error("[wineater] search error:",oe),We(De.ERROR_OCCURRED,a(xe),{error_message:oe?.message,query:I}),En()}finally{$===se&&m(_,!1)}}async function S(){if(a(W)||!a(pe))return;C=!0;const b=a(w);try{m(W,!0),m(_,!0),m(ce,[...new Set([...a(ce),...a(w).map(Ae=>Ae.id)])],!0);const I=tt.getMoreWineRecommendations(a(ge),a(ce));I.catch(()=>{}),await An(220),m(w,[],!0),m(ne,!1);const{recommendations:$,hasMore:oe}=await I;ln({type:"more",query_id:se??void 0,text:a(ge)||void 0}),Dt($,a(ge)),We(De.SHOW_MORE_CLICKED,a(xe),{query:a(ge),results_count:$.length}),m(w,$.length>0?$:b,!0),m(pe,oe,!0)}catch(I){console.error("[wineater] try again error:",I),m(w,b,!0),m(pe,!1)}finally{m(W,!1),m(_,!1)}}async function z(b){C=!0;try{m(_,!0),cr(),We(De.SIMILAR_WINES_CLICKED,a(xe),{wine_id:b.id,wine_title:b.title}),ln({type:"similar",query_id:se??void 0,sku_ids:[b.id]}),se=da();const I=tt.getSimilarWines(b.id);I.catch(()=>{}),await An(220),m(w,[],!0),m(ne,!1),m(pe,!1),m(T,null);const $=await I;m(x,b.title,!0),m(ge,""),!$||$.length===0?(m(w,[],!0),m(re,[],!0),m(N,ae({key:"noResultsMessage",lang:a(nt)}),!0)):(m(w,$,!0),Dt($,""))}catch(I){m(w,[],!0),console.error("[wineater] similar wines error:",I),En()}finally{m(_,!1)}}kn(async()=>{if(!a(w)||a(w).length===0){m(re,[],!0);return}const b=a(w);try{const I=await Lr(a(w));a(w)===b&&a(w).length>0&&m(re,I,!0)}catch(I){console.error("translatePopupContent failed",I)}});function H(b,I){a(T)&&a(T)!==b.id&&m(T,null),m(T,b.id,!0),ln({type:"click",query_id:se??void 0,sku_ids:[b.id],position:I}),We(De.WINE_DETAILS_VIEWED,a(xe),{wine_id:b.id,wine_title:b.title,is_mobile:window.innerWidth<=768})}function Q(b,I){ln({type:"buy_click",query_id:se??void 0,sku_ids:[b.id],position:I}),We(De.BUY_BUTTON_CLICKED,a(xe),{wine_id:b.id,wine_title:b.title,wine_url:b.url,is_mobile:window.innerWidth<=768})}async function he(b,I){const $=na(b);if(!u||!$)return;ln({type:"add_to_cart",query_id:se??void 0,sku_ids:[b.id],position:I}),We(De.BUY_BUTTON_CLICKED,a(xe),{action:"add_to_cart",wine_id:b.id,wine_title:b.title,wine_url:b.url,variant_id:$,query:a(ge)||void 0,is_mobile:window.innerWidth<=768});const oe=await Fu($,{root:u.root,sessionId:ia()});oe.ok&&(m(Ft,[...a(Ft),b.id],!0),window.dispatchEvent(new CustomEvent("wineater:added-to-cart",{detail:{variantId:$,via:oe.via}})))}function ie(){const b=a(w).find(I=>I.id===a(T));We(De.WINE_DETAILS_CLOSED,a(xe),{wine_id:a(T),wine_title:b.title}),m(T,null)}function ht(b){return!!(b.reason||b.shortDescription||b.tags)}function Ee(b){E==="store"&&ht(b)&&(m(te,b.id,!0),We(De.WINE_CARD_HOVER,a(xe),{wine_id:b.id,wine_title:b.title}))}function He(b){E==="store"&&a(te)===b.id&&m(te,null)}function un(b,I){b.target.closest(".js-WineTileAction")||b.target.closest(".js-WinePopupClose")||(ln({type:"click",query_id:se??void 0,sku_ids:[I.id],position:a(w).findIndex($=>$.id===I.id)}),We(De.WINE_CARD_CLICK,a(xe),{wine_id:I.id,wine_title:I.title}))}function Et(b){var I;const $=((I=b.composedPath)==null?void 0:I.call(b)[0])??b.target;$!=null&&$.closest&&($.closest(".js-WinePopup")||$.closest(".js-WineTileAction")||m(T,null))}const ur=((c=(l=(s=(o=window?.wineaterData)==null?void 0:o.mountTarget)==null?void 0:s.getRootNode)==null?void 0:l.call(s))==null?void 0:c.host)||document.documentElement;kn(()=>{var b,I;(b=a(Fe))!=null&&b.brandColor&&ur.style.setProperty("--wr-brand-color",a(Fe).brandColor),(I=a(Fe))!=null&&I.wineaterColor&&ur.style.setProperty("--wr-wineater-color",a(Fe).wineaterColor)}),fi(()=>(document.addEventListener("click",Et),(async()=>{const b=de.initializeStore();if(jr(b),await b,!a(lr)){m(B,!0);return}a(Fe).customCss&&Lu(a(Fe).customCss),m(P,!0),u&&!a(zr)&&m(ke,!0),We(De.WIDGET_INITIALIZED,a(xe))})(),()=>{document.removeEventListener("click",Et)}));var Bi=Cr(),Ia=Qe(Bi);{var Ma=b=>{var I=Ju();let $;var oe=A(I);{var Ae=X=>{var Ge=Hu(),At=A(Ge);L(()=>R(At,"src",a(Fe).logoUrl)),D(X,Ge)};Z(oe,X=>{a(Fe).logoUrl&&X(Ae)})}var ft=M(oe,2);Ic(ft,{});var dn=M(ft,2);Uc(dn,{onSubmit:qr,get initialized(){return a(P)},get searchQuery(){return a(x)},set searchQuery(X){m(x,X,!0)}});var dr=M(dn,2),In=A(dr);{var pn=X=>{var Ge=Gu(),At=A(Ge);L(Mn=>O(At,Mn),[()=>ae({key:"sommelierResting",lang:a(nt)})]),D(X,Ge)};Z(In,X=>{a(ke)&&!a(N)&&X(pn)})}var fe=M(In,2);{var rt=X=>{var Ge=Vu(),At=A(Ge),Mn=A(At);L(()=>O(Mn,a(N))),D(X,Ge)},Ht=X=>{var Ge=Ku(),At=Qe(Ge);Ot(At,21,()=>a(w),Tn,(Rn,Bn,pr)=>{{let Or=F(()=>u?he:void 0),Li=F(()=>a(Ft).includes(a(Bn).id)),hr=F(()=>u?void 0:z);Eu(Rn,{get wine(){return a(Bn)},index:pr,get hoveredWineId(){return a(te)},get selectedWineId(){return a(T)},get isAnimating(){return a(ne)},get translatedPopup(){return a(re)[pr]},onBuyClick:H,onBuyLinkClick:Q,get onAddToCart(){return a(Or)},get addedToCart(){return a(Li)},onPopupClose:ie,get onSimilarClick(){return a(hr)},onTileEnter:Ee,onTileLeave:He,onTileClick:un})}});var Mn=M(At,2);{var qa=Rn=>{var Bn=Yu(),pr=A(Bn);Ut(pr,{handleClick:S,variant:"outlined",children:(Or,Li)=>{var hr=Tt();L(Oa=>O(hr,Oa),[()=>ae({key:"tryAgain",lang:a(nt)})]),D(Or,hr)},$$slots:{default:!0}}),D(Rn,Bn)};Z(Mn,Rn=>{a(pe)&&Rn(qa)})}D(X,Ge)},Ba=X=>{Pa(X)};Z(fe,X=>{a(N)?X(rt):a(w)&&a(w).length>0?X(Ht,1):a(_)&&X(Ba,2)})}var zi=M(dr,2);{var za=X=>{Ru(X,{get lang(){return a(nt)}})},La=F(()=>jl());Z(zi,X=>{a(La)&&X(za)})}var ja=M(zi,2);{var Na=X=>{Lc(X,{get countryCode(){return y}})};Z(ja,X=>{u||X(Na)})}L(()=>$=pt(I,1,"wr-App svelte-1n46o8q",null,$,{"wr-App--embedded":!!u})),D(b,I)},Ra=b=>{var I=Zu();let $;var oe=M(A(I),2);Pa(oe),L(()=>$=pt(I,1,"wr-App wr-App--loading svelte-1n46o8q",null,$,{"wr-App--embedded":!!u})),D(b,I)};Z(Ia,b=>{a(lr)?b(Ma):a(B)||b(Ra,1)})}D(e,Bi),ot()}var Ea;const ed=((Ea=window.wineaterData)==null?void 0:Ea.mountTarget)||document.getElementById("wineater-widget-conteiner"),td=gl(Xu,{target:ed});export{td as default};
|