PageSourceSearch

https://www.gastronom.ru/assets/chunks/chunk-3bdb3063.js

js gastronom.ru collected 2026-10-02 05:16:57 UTC 19,908 bytes, 1 lines download raw bytes

1import{Z as P,Y as ke,ax as G,au as R,at as w,aL as Oe,_ as h,aa as T,aj as E,ak as j,ao as K,a9 as A,ap as k,ai as x,ac as m,a0 as N,$ as Y,ag as z,a1 as Ie,az as Le,ad as Ee,af as Me,U as je,av as Pe}from"./chunk-ca037795.js";import{P as Ue}from"./chunk-7708fbb9.js";import{A as B,a as D}from"./chunk-129301cf.js";import{M as Re,L as S,l as Fe}from"./chunk-94069a37.js";import{M as Be}from"./chunk-0b639b4e.js";import{c as De,b as te,_ as U,h as W,B as Ve,d as xe}from"./chunk-2d83ac2c.js";import{u as Ge}from"./chunk-d79849b6.js";import{b as Ke}from"./chunk-d7b572d7.js";import{g as re}from"./chunk-cbd15fc7.js";import{s as ne}from"./chunk-3ced1be8.js";import{B as Ne}from"./chunk-bad3d79e.js";import{B as ze}from"./chunk-7a12a1b9.js";import{B as He}from"./chunk-6da10e60.js";import{c as Ye,_ as We,a as qe,b as Xe}from"./chunk-48abdb19.js";import{c as Qe}from"./chunk-c3db9bae.js";import{j as Ze,h as q,k as ge,l as fe,b as Je,d as et,i as tt}from"./chunk-e3c665d9.js";import{_ as _e,a as rt,b as be,c as nt}from"./chunk-f5a109a5.js";import{g as ot,i as X,_ as st,a as at,d as Q,c as it}from"./chunk-afd97290.js";import{k as ve,a as me,b as ct,c as he,d as lt,e as ut,s as pt,f as dt,g as gt}from"./chunk-ebde3e43.js";import{i as ft}from"./chunk-820b64ce.js";import{_ as _t}from"./chunk-c2cfda03.js";const bt={key:0},vt=["content"],mt=P({__name:"PagePreviewCardList",props:{items:{},listType:{},branding:{},showAdversting:{type:Boolean},pageType:{},isTablet:{type:Boolean}},emits:["clickCard","view"],setup(e,{emit:t}){const r=t,n=e,{isMobile:s}=ke(),o=G(),{getCovers:l}=Ge(),u=R(()=>({[o[`${n.listType}`]]:!0})),c=w(),d=Oe(De(c)),b=a=>{let p;if(d.width<=528)switch(n.listType){case S.GRID:{p=2;break}case S.GROUP:case S.LIST:{p=1;break}}else if(d.width<=735)switch(n.listType){case S.GRID:{p=3;break}case S.GROUP:{p=2;break}case S.LIST:{p=1;break}}else if(d.width<=894)switch(n.listType){case S.GRID:{p=4;break}case S.GROUP:{p=3;break}case S.LIST:{p=2;break}}else switch(n.listType){case S.GRID:{p=5;break}case S.GROUP:{p=4;break}case S.LIST:{p=3;break}}if(p)return{positionX:a%p,positionY:Math.floor(a/p)}},_=a=>{var p,g,v;if(((p=a==null?void 0:a.previewContent)==null?void 0:p.type)===Ue.RECIPE)return(v=(g=a.previewContent)==null?void 0:g.typeSpecificData)==null?void 0:v.cookingTime},i=(a,p)=>({...a,bannerOptions:{...a.bannerOptions,containerId:`${a.bannerOptions.containerId}_${p}`}}),C=new Set,y=async(a,p,g,v,M)=>{r("clickCard",b(a),a,p);const L=M!=null?M:re(g).publicId;C.has(String(L))||(C.add(String(L)),await Ke({pagePublicId:L,pageType:(v==null?void 0:v.length)>0?v:re(g).pageType,pageUrl:`https://www.gastronom.ru${g}`,sourcePageUrl:window.location.href}))},I=(a,p,g,v)=>{r("view",a,p,g,v)};return(a,p)=>(h(),T("div",{ref_key:"container",ref:c,class:m(a.$style.root)},[E("div",{class:m(u.value)},[(h(!0),T(j,null,K(a.items,(g,v)=>(h(),T(j,{key:v},[(!a.branding||a.branding&&!a.branding[A(te).DISABLE_ADV])&&a.isTablet&&v===2?(h(),T("div",bt,[k(D,{config:A(B).materialMiddleDesktop,branding:a.branding,placement:"materialMiddleDesktop"},null,8,["config","branding"]),k(D,{config:A(B).materialMiddleMobile,branding:a.branding,placement:"materialMiddleMobile"},null,8,["config","branding"])])):x("",!0),v!==0&&v%(A(s)?8:12)===0&&a.showAdversting&&(!n.branding||n.branding&&!n.branding[A(te).DISABLE_ADV])?(h(),T(j,{key:1},[k(D,{config:i(A(B).materialMiddleDesktop,v),branding:a.branding,class:m(a.$style.adversting),placement:"materialMiddleDesktop"},null,8,["config","branding","class"]),k(D,{config:i(A(B).materialMiddleMobile,v),branding:a.branding,class:m(a.$style.adversting),placement:"materialMiddleMobile"},null,8,["config","branding","class"])],64)):x("",!0),k(Re,{link:g.previewContent.link,title:g.previewContent.title,cover:A(l)({material:g.previewContent,desktopListType:a.listType,mobileListType:a.listType}).cover,"double-size-cover":A(l)({material:g.previewContent,desktopListType:a.listType,mobileListType:a.listType}).doubleSizeCover,"preview-content-item":g.previewContent,description:g.previewContent.description,"type-desktop":a.listType,"type-mobile":a.listType,"user-favorite":g.userFavorite,"page-type":g.type,"material-id":g.publicId,"can-be-favorited":"",itemprop:"itemListElement",itemscope:"",itemtype:"http://schema.org/ListItem",onView:M=>{var L;return I(v,g.name,Boolean((L=g.userFavorite)==null?void 0:L.id),g)},onClick:M=>y(v,g.name,g.previewContent.link,g.previewContent.type,g.publicId)},{meta:N(()=>[E("meta",{itemprop:"position",content:String(v+1)},null,8,vt)]),extra:N(()=>[k(Be,{"rating-data":g.rating,"cooking-time":_(g)},null,8,["rating-data","cooking-time"])]),_:2},1032,["link","title","cover","double-size-cover","preview-content-item","description","type-desktop","type-mobile","user-favorite","page-type","material-id","onView","onClick"])],64))),128))],2)],2))}}),ht="_root_1ips0_2",$t="_group_1ips0_8",yt="_adversting_1ips0_17",Tt="_grid_1ips0_26",Ct="_list_1ips0_35",St={root:ht,group:$t,adversting:yt,grid:Tt,list:Ct},At={$style:St},Ma=U(mt,[["__cssModules",At]]),wt=P({__name:"ListTypeSelect",props:{type:{}},emits:["select"],setup(e){const t=e,r=G(),n=s=>({[r.button]:!0,[r.button_selected]:t.type===s});return(s,o)=>(h(),T("div",{class:m(s.$style.root)},[(h(!0),T(j,null,K(A(Fe),(l,u)=>(h(),Y(Ve,{key:l,class:m(n(l)),icon:"",onClick:c=>s.$emit("select",l,u)},{default:N(()=>[k(W,{icon:l},null,8,["icon"])]),_:2},1032,["class","onClick"]))),128))],2))}}),kt="_root_1yuzi_2",Ot="_button_1yuzi_9",It="_button_selected_1yuzi_14",Lt={root:kt,button:Ot,button_selected:It},Et={$style:Lt},Mt=U(wt,[["__cssModules",Et]]),jt=P({__name:"PagePreviewCardListType",props:{listType:{}},emits:["onUpdateListType"],setup(e,{emit:t}){const r=t,n=s=>{r("onUpdateListType",s)};return(s,o)=>(h(),Y(Mt,{type:s.listType,onSelect:n},null,8,["type"]))}}),Pt="_root_1jmw7_2",Ut={root:Pt},Rt={$style:Ut},ja=U(jt,[["__cssModules",Rt]]),Ft=["search","ingredients_as_text","ingredients_as_text__exclude","cooking_time__interval","cuisines_new"],Bt=(e,t)=>
1{var s,o,l,u;const r=new URLSearchParams,n=c=>t?Object.prototype.hasOwnProperty.call(t,c)||Ft.includes(c):!0;for(const c of e.keys()){if(!n(c))continue;let d=[];if(c==="ingredients_as_text"||c==="ingredients_as_text__exclude")d=(o=(s=e.get(c))==null?void 0:s.split(","))!=null?o:[];else{const b=(u=(l=e.get(c))==null?void 0:l.split(/,(?! )/))!=null?u:[];b&&(d=b)}for(const b of d){const _=b.trim();_&&_!=="0"&&r.append(c,_)}}return r},Pa=({filterListType:e,filterOrdering:t,paginationPage:r,pageType:n,facets:s,sendClickCardListTypeAnalyticEvent:o,sendClickOrderingAnalyticEvent:l,isHaveRecipeFilterParametersInitial:u=!1},c)=>{const d=w(48),b=w(e),_=w(t),i=w(r),C=w(u),y=w(new URLSearchParams),I=w(!1);return{listType:b,ordering:_,pagination:i,defaultPageSize:d,isHaveRecipeFilterParameters:C,isShowMobileFilter:I,recipeSearchParameters:y,onUpdateOrdering:$=>{l&&l($),_.value=$,ne("ordering",String(_.value),!0),c()},onUpdateListType:$=>{b.value=$,ne("listType",String($),!0),o&&o($)},checkRecipeFilterParameters:()=>{s&&(C.value=Bt(new URLSearchParams(window.location.search),s).toString()!=="")},onUpdateRecipeFilter:$=>{y.value=$,c()},onResetRecipeFilterMobile:()=>{y.value=new URLSearchParams;const $=new URLSearchParams,O=new URLSearchParams(window.location.search);O.has("pageType")&&n&&$.set("pageType",n),O.has("listType")&&$.set("listType",b.value),O.has("page")&&$.set("page",String(r)),O.has("ordering")&&$.set("ordering",_.value),window.history.replaceState({},"",`${location.pathname}?${$.toString()}`),c()},getSearchParametersWithDefault:$=>{const O=new URLSearchParams($);return O.set("page","1"),O.set("page_size",d.value.toString()),_.value&&O.set("ordering",_.value),O}}};var Dt=(e=>(e.TypeDish="typeDish",e.CookingMethod="cookingMethod",e.Occasion="occasion",e.CookingTime="cookingTime",e.CatDish="catDish",e.Co
1okingComplexity="cookingComplexity",e.Vegetarianism="vegetarianism",e.AuthorRecipe="authorRecipe",e.CookingDevices="cookingDevices",e.ForChildren="forChildren",e.IngrInclude="ingrInclude",e.IngrExclude="ingrExclude",e.Rubrics="rubrics",e.Tags="tags",e.Search="search",e.Kitchen="kitchen",e))(Dt||{});const Ua={types:"typeDish",technologies:"cookingMethod",reasons:"occasion",cookingTime:"cookingTime",forChildren:"forChildren",complexity:"cookingComplexity",vegetarianism:"vegetarianism",cookingDevices:"cookingDevices",authors:"authorRecipe",groups:"catDish",includedIngredients:"ingrInclude",excludedIngredients:"ingrExclude",search:"search",cuisines:"kitchen",rubrics:"rubrics",tags:"tags"},Vt=P({__name:"ExpansionPanel",props:{label:{}},setup(e){const t=G(),r=w(!0),n=R(()=>({[t.root]:!0,[t.root_expanded]:r.value})),s=()=>{r.value=!r.value};return(o,l)=>(h(),T("div",{class:m(n.value)},[E("button",{class:m(o.$style.header),"data-testid":"header",onClick:s},[E("p",{class:m(o.$style.title)},z(o.label),3),k(W,{class:m(o.$style.icon_arrow),icon:"arrow-down"},null,8,["class"])],2),r.value?(h(),T("div",{key:0,class:m(o.$style.content)},[Ie(o.$slots,"default")],2)):x("",!0)],2))}}),xt="_root_1t2dy_2",Gt="_icon_arrow_1t2dy_9",Kt="_root_expanded_1t2dy_13",Nt="_header_1t2dy_21",zt="_title_1t2dy_30",Ht="_icon_1t2dy_9",Yt={root:xt,icon_arrow:Gt,root_expanded:Kt,header:Nt,title:zt,icon:Ht},Wt={$style:Yt},Ra=U(Vt,[["__cssModules",Wt]]),qt=P({__name:"RecipeFilterAutocompl
1ite",props:{modelValue:{},items:{},negative:{type:Boolean}},emits:["update:modelValue","removeTag"],setup(e,{emit:t}){const r=t,n=e,s=Le(),o=u=>{const c=[...n.modelValue],d=n.items.find(b=>u===b.value);d&&(c.push(d),r("update:modelValue",c))},l=u=>{const c=[...n.modelValue],d=c.findIndex(b=>b.value===u);c.splice(d,1),r("update:modelValue",c),r("removeTag",u)};return(u,c)=>(h(),T("div",{class:m(u.$style.root)},[k(Ne,Ee({items:u.items},A(s),{onSelect:o}),null,16,["items"]),E("div",{class:m(u.$style.tags)},[(h(!0),T(j,null,K(u.modelValue,d=>(h(),Y(ze,{key:d.value,label:d.label.toString(),tertiary:!u.negative,negative:u.negative,onClose:b=>l(d.value)},null,8,["label","tertiary","negative","onClose"]))),128))],2)],2))}}),Xt="_root_dce66_2",Qt="_tags_dce66_9",Zt={root:Xt,tags:Qt},Jt={$style:Zt},Fa=U(qt,[["__cssModules",Jt]]),er=P({__name:"RecipeFilterCheckboxes",props:{items:{},value:{default:()=>[]},disabled:{type:Boolean}},emits:["onChange","showAllClick"],setup(e,{emit:t}){const r=G(),n=e,s=t,o=w(!1),l=R(()=>({[r.root]:!0,[r.root_expanded]:o.value})),u=i=>i.upperBound||i.lowerBound?n.value.includes(`${i.lowerBound||""}-${i.upperBound||""}`):n.value.includes(i.key),c=R(()=>o.value?"\u0421\u043A\u0440\u044B\u0442\u044C":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0441\u0435"),d=R(()=>o.value?"minus":"plus"),b=()=>{o.value=!o.value,o.value&&s("showAllClick")},_=i=>{i.lowerBound||i.upperBound?s("onChange",`${i.lowerBound||""}-${i.upperBound||""}`):s("onChange",i.key)};return(i,C)=>(h(),T("div",{class:m(l.value)},[E("div",{class:m(i.$style.list)},[(h(!0),T(j,null,K(i.items,y=>(h(),T("div",{key:y.key,class:m(i.$style.item)},[k(He,{disabled:i.disabled,"model-value":u(y),label:A(Ye)(String(y.key)),"onUpdate:modelValue":I=>_(y)},null,8,["disabled","model-value","label","onUpdate:modelValue"]),E("p",{class:m(i.$style.count)},z(y.docCount),3)],2))),128))],2),i.items.length>3?(h(),T("button",{key:0,class:m(i.$style.button),onClick:b},[k(W,{class:m(i.$style.icon),icon:d.value},null,8,["class","icon"]),Me(" "+z(c.value),1)],2)):x("",!0)],2))}}),tr="_root_43c8t_2",rr="_item_43c8t_8",nr="_list_43c8t_13",or="_count_43c8t_21",sr="_button_43c8t_29",ar="_icon_43c8t_41",ir="_root_expanded_43c8t_45",cr={root:tr,item:rr,list:nr,count:or,button:sr,icon:ar,root_expanded:ir},lr={$style:cr},Ba=U(er,[["__cssModules",lr]]);function ur(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var pr=ur,dr=_e,gr=ot,fr=Object.prototype,_r=fr.hasOwnProperty;function br(e,t,r){var n=e[t];(!(_r.call(e,t)&&gr(n,r))||r===void 0&&!(t in e))&&dr(e,t,r)}var $e=br,vr=$e,mr=_e;function hr(e,t,r,n){var s=!r;r||(r={});for(var o=-1,l=t.length;++o<l;){var u=t[o],c=n?n(r[u],e[u],u,r,e):void 0;c===void 0&&(c=e[u]),s?mr(r,u,c):vr(r,u,c)}return r}var F=hr,$r=F,yr=ve;function Tr(e,t){return e&&$r(t,yr(t),e)}var Cr=Tr;function Sr(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Ar=Sr,wr=X,kr=me,Or=Ar,Ir=Object.prototype,Lr=Ir.hasOwnProperty;function Er(e){if(!wr(e))return Or(e);var t=kr(e),r=[];for(var n in e)n=="constructor"&&(t||!Lr.call(e,n))||r.push(n);return r}var Mr=Er,jr=ct,Pr=Mr,Ur=ft;function Rr(e){return Ur(e)?jr(e,!0):Pr(e)}var Z=Rr,Fr=F,Br=Z;function Dr(e,t){return e&&Fr(t,Br(t),e)}var Vr=Dr,H={exports:{}};(function(e,t){var r=st,n=t&&!t.nodeType&&t,s=n&&!0&&e&&!e.nodeType&&e,o=s&&s.exports===n,l=o?r.Buffer:void 0,u=l?l.allocUnsafe:void 0;function c(d,b){if(b)return d.slice();var _=d.length,i=u?u(_):new d.constructor(_);return d.copy(i),i}e.exports=c})(H,H.exports);var xr=F,Gr=he;function Kr(e,t){return xr(e,Gr(e),t)}var Nr=Kr,zr=lt,Hr=zr(Object.getPrototypeOf,Object),J=Hr,Yr=ut,Wr=J,qr=he,Xr=pt,Qr=Object.getOwnPropertySymbols,Zr=Qr?function(e){for(var t=[];e;)Yr(t,qr(e)),e=Wr(e);return t}:Xr,ye=Zr,Jr=F,en=ye;function tn(e,t){return Jr(e,en(e),t)}var rn=tn,nn=dt,on=ye,sn=Z;function an(e){return nn(e,sn,on)}var Te=an,cn=Object.prototype,ln=cn.hasOwnProperty;function un(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&ln.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var pn=un,oe=Ze;function dn(e){var t=new e.constructor(e.byteLength);return new oe(t).set(new oe(e)),t}var ee=dn,gn=ee;function fn(e,t){var r=t?gn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var _n=fn,bn=/\w*$/;function vn(e){var t=new e.constructor(e.source,bn.exec(e));return t.lastIndex=e.lastIndex,t}var mn=vn,se=at,ae=se?se.prototype:void 0,ie=ae?ae.valueOf:void 0;function hn(e){return ie?Object(ie.call(e)):{}}var $n=hn,yn=ee;function Tn(e,t){var r=t?yn(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Cn=Tn,Sn=ee,An=_n,wn=mn,kn=$n,On=Cn,In="[object Boolean]",Ln="[object Date]",En="[object Map]",Mn="[object Number]",jn="[object RegExp]",Pn="[object Set]",Un="[object String]",Rn="[object Symbol]",Fn="[object ArrayBuffer]",Bn="[object DataView]",Dn="[object Float32Array]",Vn="[object Float64Array
1]",xn="[object Int8Array]",Gn="[object Int16Array]",Kn="[object Int32Array]",Nn="[object Uint8Array]",zn="[object Uint8ClampedArray]",Hn="[object Uint16Array]",Yn="[object Uint32Array]";function Wn(e,t,r){var n=e.constructor;switch(t){case Fn:return Sn(e);case In:case Ln:return new n(+e);case Bn:return An(e,r);case Dn:case Vn:case xn:case Gn:case Kn:case Nn:case zn:case Hn:case Yn:return On(e,r);case En:return new n;case Mn:case Un:return new n(e);case jn:return wn(e);case Pn:return new n;case Rn:return kn(e)}}var qn=Wn,Xn=X,ce=Object.create,Qn=function(){function e(){}return function(t){if(!Xn(t))return{};if(ce)return ce(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),Zn=Qn,Jn=Zn,eo=J,to=me;function ro(e){return typeof e.constructor=="function"&&!to(e)?Jn(eo(e)):{}}var no=ro,oo=q,so=Q,ao="[object Map]";function io(e){return so(e)&&oo(e)==ao}var co=io,lo=co,uo=fe,le=ge.exports,ue=le&&le.isMap,po=ue?uo(ue):lo,go=po,fo=q,_o=Q,bo="[object Set]";function vo(e){return _o(e)&&fo(e)==bo}var mo=vo,ho=mo,$o=fe,pe=ge.exports,de=pe&&pe.isSet,yo=de?$o(de):ho,To=yo,Co=Je,So=pr,Ao=$e,wo=Cr,ko=Vr,Oo=H.exports,Io=_t,Lo=Nr,Eo=rn,Mo=gt,jo=Te,Po=q,Uo=pn,Ro=qn,Fo=no,Bo=tt,Do=et.exports,Vo=go,xo=X,Go=To,Ko=ve,No=Z,zo=1,Ho=2,Yo=4,Ce="[object Arguments]",Wo="[object Array]",qo="[object Boolean]",Xo="[object Date]",Qo="[object Error]",Se="[object Function]",Zo="[object GeneratorFunction]",Jo="[object Map]",es="[object Number]",Ae="[object Object]",ts="[object RegExp]",rs="[object Set]",ns="[object String]",os="[object Symbol]",ss="[object WeakMap]",as="[object ArrayBuffer]",is="[object DataView]",cs="[object Float32Array]",ls="[object Float64Array]",us="[object Int8Array]",ps="[object Int16Array]",ds="[object Int32Array]",gs="[object Uint8Array]",fs="[object Uint8ClampedArray]",_s="[object Uint16Array]",bs="[object Uint32Array]",f={};f[Ce]=f[Wo]=f[as]=f[is]=f[qo]=f[Xo]=f[cs]=f[ls]=f[us]=f[ps]=f[ds]=f[Jo]=f[es]=f[Ae]=f[ts]=f[rs]=f[ns]=f[os]=f[gs]=f[fs]=f[_s]=f[bs]=!0;f[Qo]=f[Se]=f[ss]=!1;function V(e,t,r,n,s,o){var l,u=t&zo,c=t&Ho,d=t&Yo;if(r&&(l=s?r(e,n,s,o):r(e)),l!==void 0)return l;if(!xo(e))return e;var b=Bo(e);if(b){if(l=Uo(e),!u)return Io(e,l)}else{var _=Po(e),i=_==Se||_==Zo;if(Do(e))return Oo(e,u);if(_==Ae||_==Ce||i&&!s){if(l=c||i?{}:Fo(e),!u)return c?Eo(e,ko(l,e)):Lo(e,wo(l,e))}else{if(!f[_])return s?e:{};l=Ro(e,_,u)}}o||(o=new Co);var C=o.get(e);if(C)return C;o.set(e,l),Go(e)?e.forEach(function(a){l.add(V(a,t,r,a,e,o))}):Vo(e)&&e.forEach(function(a,p){l.set(p,V(a,t,r,p,e,o))});var y=d?c?jo:Mo:c?No:Ko,I=b?void 0:y(e);return So(I||e,function(a,p){I&&(p=a,a=e[p]),Ao(l,p,V(a,t,r,p,e,o))}),l}var vs=V;function ms(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var hs=ms;function $s(e,t,r){var n=-1,s=e.length;t<0&&(t=-t>s?0:s+t),r=r>s?s:r,r<0&&(r+=s),s=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(s);++n<s;)o[n]=e[n+t];return o}var ys=$s,Ts=rt,Cs=ys;function Ss(e,t){return t.length<2?e:Ts(e,Cs(t,0,-1))}var As=Ss,ws=be,ks=hs,Os=As,Is=nt;function Ls(e,t){return t=ws(t,e),e=Os(e,t),e==null||delete e[Is(ks(t))]}var Es=Ls,Ms=it,js=J,Ps=Q,Us="[object Object]",Rs=Function.prototype,Fs=Object.prototype,we=Rs.toString,Bs=Fs.hasOwnProperty,Ds=we.call(Object);function Vs(e){if(!Ps(e)||Ms(e)!=Us)return!1;var t=js(e);if(t===null)return!0;var r=Bs.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&we.call(r)==Ds}var xs=Vs,Gs=xs;function Ks(e){return Gs(e)?void 0:e}var Ns=Ks,zs=We;function Hs(e){var t=e==null?0:e.length;return t?zs(e,1):[]}var Ys=Hs,Ws=Ys,qs=qe,Xs=Xe;function Qs(e){return Xs(qs(e,void 0,Ws),e+"")}var Zs=Qs,Js=Qe,ea=vs,ta=Es,ra=be,na=F,oa=Ns,sa=Zs,aa=Te,ia=1,ca=2,la=4,ua=sa(function(e,t){var r={};if(e==null)return r;var n=!1;t=Js(t,function(o){return o=ra(o,e),n||(n=o.length>1),o}),na(e,aa(e),r),n&&(r=ea(r,ia|ca|la,oa));for(var s=t.length;s--;)ta(r,t[s]);return r}),Da=ua;const Va=({analytics:e,root:t})=>{const{send:r}=je(),n=w(!1),s=xe(t),o=()=>{!(e!=null&&e.chapter)||!(e!=null&&e.page)||r("Filter:View",{options:{chapter:e.chapter,page:e.page,eventName:`${e.chapter}_${e.page}_filter_view`}})};return Pe(s,i=>{i&&!n.value&&(o(),n.value=!0)}
1),{sendCheckboxClickAnalyticEvent:({filterBlock:i,filterVariant:C,active:y})=>{!(e!=null&&e.chapter)||!(e!=null&&e.page)||r("Filter:Checkbox:Click",{options:{chapter:e.chapter,page:e.page,eventName:`${e.chapter}_${e.page}_filter_checkBox_click`,filterBlock:i,filterVariant:C,active:y}})},sendTextFieldClickAnalyticEvent:i=>{!(e!=null&&e.chapter)||!(e!=null&&e.page)||r("Filter:TextField:Click",{options:{chapter:e.chapter,page:e.page,eventName:`${e.chapter}_${e.page}_filter_textField_click`,filterBlock:i}})},sendShowAllClickAnalyticEvent:i=>{!(e!=null&&e.chapter)||!(e!=null&&e.page)||r("Filter:ShowAll:Click",{options:{chapter:e.chapter,page:e.page,eventName:`${e.chapter}_${e.page}_filter_showAll_click`,filterBlock:i}})},sendVariantExcludeClickAnalyticEvent:({filterVariant:i,filterBlock:C})=>{!(e!=null&&e.chapter)||!(e!=null&&e.page)||r("Filter:VarExclude:Click",{options:{chapter:e.chapter,page:e.page,eventName:`${e.chapter}_${e.page}_filter_varExclude_click`,filterBlock:C,filterVariant:i}})},sendShowOptionsClickAnalyticEvent:()=>{!(e!=null&&e.chapter)||!(e!=null&&e.page)||r("Filter:ShowOptions:Click",{options:{chapter:e.chapter,page:e.page,eventName:`${e.chapter}_${e.page}_filter_showOptions_click`}})},sendHideOptionsClickAnalyticEvent:()=>{!(e!=null&&e.chapter)||!(e!=null&&e.page)||r("Filter:HideOptions:Click",{options:{chapter:e.chapter,page:e.page,eventName:`${e.chapter}_${e.page}_filter_hideOptions_click`}})}}};export{Dt as A,Ra as E,ja as P,Ba as R,Fa as a,Ft as b,Pa as c,Ma as d,Ua as f,Bt as g,Da as o,Va as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.