var A=Object.defineProperty,e=(e,t,r)=>(((e,t,r)=>{t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);import{_ as t,j as r,h as n,P as s,r as o,g as i,R as a,A as l,V as B,z as c,C as u,E as g,F as d,H as h,G as w}from"./react-B_SyE9nW.js";import{s as p,a as C,g as Q,c as f,e as F,o as U,n as x,m,aP as y,l as H,N as b,B as E,j as I,aW as v,aX as K,F as L,G as D,O as j,S,i as M,w as k,aq as T,aT as O,y as R,aY as P,aZ as G,aN as V,aj as N,x as X,Z as W,W as J,q as Y,aK as _,A as Z,a_ as z,au as q}from"./index-DVx3XUkT.js";import{d as $,I as AA,a as eA,B as tA,e as rA,A as nA}from"./EditSuccessModal-DknloC6l.js";import{S as sA}from"./ServicesModal-CZP4rIgG.js";import{B as oA,a as iA}from"./BusinessContext-DGcTXG3r.js";import{p as aA,u as lA,c as BA}from"./Switch-a8Hc4XU-.js";import{I as cA,E as uA,a as gA,W as dA}from"./index-B8y-0PJN.js";import{f as hA,g as wA,r as pA,v as CA,F as QA,b as fA,B as FA,P as UA,A as xA,a as mA}from"./BagIco-NRTShpWn.js";import{C as yA,F as HA,P as bA,S as EA}from"./PhotoUpIco-CBJj1q9f.js";import{L as IA,c as vA,M as KA,T as LA,a as DA,I as jA,B as SA,n as MA,f as kA,h as TA}from"./index-HT-5AD7E.js";import{S as OA}from"./SubTitle-CIQFjien.js";import{B as RA,R as PA,C as GA}from"./RatingPrice-p6_8TWOj.js";import{S as VA,B as NA}from"./Stack-DWxbwU3r.js";import{B as XA}from"./BtnGeneric-VNHvyqX_.js";import{C as WA}from"./ClaimSendConfirmation-YSHItvZB.js";import{B as JA,R as YA,F as _A,a as ZA}from"./FldRadio-B86iYBMu.js";import{B as zA,F as qA}from"./BtnRestart-Y6iH4BTJ.js";import{F as $A,a as Ae,b as ee,c as te,R as re,A as ne}from"./FldIngredients-BngvrW3W.js";import{F as se,M as oe,a as ie,b as ae}from"./FldCuisineType-DJPkWJ2_.js";import{S as le,F as Be,u as ce}from"./SearchRating-B2uAkqf5.js";import{D as ue}from"./Divider-CvF4q94n.js";import{G as ge}from"./Grid-DRA5GTmM.js";import{F as de,E as he,C as we,T as pe,B as Ce}from"./FldRadioSort-Bt-3y7YR.js";import{S as Qe,s as fe,B as Fe,a as Ue}from"./BusinessReviewStore-B1li4-uN.js";import{b as xe,H as me,I as ye,B as He,M as be,a as Ee,u as Ie,D as ve,c as Ke,U as Le,G as De,E as je}from"./DownDropDownArrow-BdSyyT6t.js";import{S as Se,C as Me,R as ke,B as Te,a as Oe,L as Re}from"./BtnSReply-6abPDBDT.js";import{D as Pe}from"./DownloadIco-Bl4GaAKy.js";import{C as Ge}from"./CircleCheckIco-BY245pyQ.js";import{M as Ve,T as Ne,G as Xe}from"./styles-Dr-0T67S.js";import{u as We}from"./embla-carousel-react.esm-NewS-kch.js";import{E as Je}from"./ErrorIco-9lrqXIPt.js";import{T as Ye,P as _e}from"./BaseTabPanel-DAJXWgoz.js";import{L as Ze,a as ze,T as qe,A as $e}from"./Address-D7cjbXj0.js";import{L as At,R as et}from"./RatingReviewTitle-BHMCdk_D.js";import{I as tt}from"./ImageIco-BTTHFJ5H.js";import{D as rt}from"./DeliveryIco-s-WO99Xm.js";import{A as nt,a as st}from"./AddFoodIco-CO0AqGpu.js";import{M as ot}from"./DownIco-B67nTPsD.js";import{P as it,a as at,S as lt,b as Bt}from"./RatingReview-1uOdijm5.js";import{s as ct}from"./PictureBox-DRdNsjma.js";import{A as ut}from"./ActivityBody-XkYu9mGa.js";import{B as gt}from"./BtnFilter-DYJK-nlF.js";import{B as dt,S as ht}from"./BtnSort-DkdbM27h.js";import{B as wt,R as pt}from"./ReviewsModal-CKQpmdmC.js";import{B as Ct}from"./BtnChip-FazAQ_kO.js";import{U as Qt}from"./Url-C6XTBQVE.js";import{W as ft}from"./WebsiteIco-DJQ5rMsn.js";import{A as Ft}from"./AddProductModal-WcvrLnlb.js";import{S as Ut,P as xt}from"./SortProductReview-DKz-At0i.js";import{U as mt,I as yt,C as Ht}from"./ItemLoading-B0qbhEL4.js";import{B as bt}from"./BtnIconRounded-CfwY9W7B.js";import{P as Et}from"./PublishIco-CTt5pd1e.js";import{A as It,a as vt,b as Kt}from"./AccordionSummary-BIfMWSAn.js";import{N as Lt}from"./NoFound-CkLZ6FHd.js";import{S as Dt}from"./SearchIco-DTCP2lIv.js";import{F as jt}from"./FldText-CoGyGXSJ.js";import{I as St}from"./HomeHeaderAuthWeb-CoV0pue7.js";import{I as Mt}from"./InputAdornment-CMJm1Szv.js";import{u as kt}from"./styled-components-D7wwngcN.js";import{E as Tt}from"./Statistics-_kjfnrnV.js";import{P as Ot}from"./styles-CouVAG0q.js";import{E as Rt}from"./EditIco-sjndGYzv.js";import{F as Pt}from"./FldAutocomplete-DdzXexOn.js";import{F as Gt,b as Vt,c as Nt,a as Xt,s as Wt}from"./AddBusinessModal-DG9-oryx.js";import{F as Jt}from"./FldTextArea-C8EQrgi3.js";import{T as Yt}from"./TrashIco-CXUipucv.js";import{F as _t}from"./FacebookIco-CJReqDRM.js";import{I as Zt}from"./InstagramIco-ByV7tgnR.js";import{T as zt}from"./TwitterIco-DhWIHfJt.js";import{L as qt}from"./LanguageIco-D0E9QSwS.js";import{_ as $t}from"./history-CBi_mSPs.js";import{t as Ar,w as er,x as tr,f as rr,g as nr,h as sr,y as or,z as ir,A as ar,k as lr,b as Br}from"./CalendarIco-1grwueIG.js";import{C as cr}from"./Checkbox-Ctz9c9jx.js";import{A as ur}from"./Avatar-BsiN2ezt.js";import gr from"./CelebrationIco-DzignSjF.js";import"./sentry-Br0bWdGN.js";import"./GenericAvatarHeader-DO7pCYOO.js";import"./WarningIco-BqWiG8sL.js";import"./BtnShadow-C8wlgmJV.js";import"./BackIco-8zMErfY7.js";import"./index-CWdensOV.js";import"./createSvgIcon-CRufxXOX.js";import"./BusinessIco-DqvV2WuT.js";import"./GoogleIdentityStoreContext-DPdR2OJT.js";import"./EnjBackdrop-CWn95p49.js";import"./index-eKDAOccZ.js";import"./colorManipulator-DR3Qv2hV.js";import"./SwitchBase-BkR_KtPc.js";import"./index-dbPBR86R.js";import"./SendIco-Bjm-vQBV.js";import"./BtnAccept-DuA7pTxU.js";import"./BtnCancel-B4o76N3R.js";import"./Autocomplete-B-M5Q-AZ.js";import"./usePreviousProps-GIwTB3Ki.js";import"./listItemButtonClasses-0sZQWNAV.js";import"./CoreServices-SqNJAolu.js";import"./index-SIfJKce9.js";import"./GlobalStyles-DQe6i-JI.js";import"./ActivityIco-DkU_vd49.js";import"./NoFoundIco-CCMbds0r.js";import"./Frame-lvZI9GSc.js";import"./PopperGoogle-CfjtFHGm.js";import"./NearIco-CYQYG08Z.js";import"./FldTextSelect-CYrn0aFm.js";import"./EditBusinessReview-PKZQ-ev3.js";import"./useSlot-48k3ed2d.js";import"./SearchTabs-BpVc-SZS.js";import"./HomeContext-BNcXqVuR.js";import"./PublishContext-BPIl0LWV.js";import"./BaseList-BS6_vFm0.js";import"./Tooltip-C3_xfLH8.js";import"./MessageIco-zMTCxxwJ.js";const dr=["props","ref"],hr=p(Ar)((({theme:A})=>({overflow:"hidden",minWidth:er,backgroundColor:(A.vars||A).palette.background.paper})));function wr(A){return Q("MuiTimePickerToolbar",A)}const pr=C("MuiTimePickerToolbar",["root","separator","hourMinuteLabel","hourMinuteLabelLandscape","hourMinuteLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]),Cr=["ampm","ampmInClock","value","isLandscape","onChange","view","onViewChange","views","disabled","readOnly","className"],Qr=A=>{const{theme:e,isLandscape:t,classes:r}=A,n={root:["root"],separator:["separator"],hourMinuteLabel:["hourMinuteLabel",t&&"hourMinuteLabelLandscape","rtl"===e.direction&&"hourMinuteLabelReverse"],ampmSelection:["ampmSelection",t&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return F(n,wr,r)},fr=p(rr,{name:"MuiTimePickerToolbar",slot:"Root",overridesResolver:(A,e)=>e.root})({}),Fr=p(hA,{name:"MuiTimePickerToolbar",slot:"Separator",overridesResolver:(A,e)=>e.separator})({outline:0,margin:"0 4px 0 2px",cursor:"default"}),Ur=p("div",{name:"MuiTimePickerToolbar",slot:"HourMinuteLabel",overridesResolver:(A,e)=>[{[`&.${pr.hourMinuteLabelLandscape}`]:e.hourMinuteLabelLandscape,[`&.${pr.hourMinuteLabelReverse}`]:e.hourMinuteLabelReverse},e.hourMinuteLabel]})((({theme:A})=>$t({display:"flex",justifyContent:"flex-end",alignItems:"flex-end"},"rtl"===A.direction&&{flexDirection:"row-reverse"},{variants:[{props:{isLandscape:!0},style:{marginTop:"auto"}}]})));Ur.propTypes={as:s.elementType,ownerState:s.object.isRequired,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])};const xr=p("div",{name:"MuiTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(A,e)=>[{[`.${pr.ampmLabel}`]:e.ampmLabel},{[`&.${pr.ampmLandscape}`]:e.ampmLandscape},e.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${pr.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",flexBasis:"100%"}}]});function mr(A){const e=f({props:A,name:"MuiTimePickerToolbar"}),{ampm:s,ampmInClock:o,value:i,isLandscape:a,onChange:l,view:B,onViewChange:c,views:u,disabled:g,readOnly:d,className:h}=e,w=t(e,Cr),p=nr(),C=sr(),Q=vA(),F=Boolean(s&&!o&&u.includes("hours")),{meridiemMode:U,handleMeridiemChange:x}=or(i,s,l),m=e,y=Qr($t({},m,{theme:Q})),H=r.jsx(Fr,{tabIndex:-1,value:":",variant:"h3",selected:!1,className:y.separator});return r.jsxs(fr,$t({landscapeDirection:"row",toolbarTitle:C.timePickerToolbarTitle,isLandscape:a,ownerState:m,className:n(y.root,h)},w,{children:[r.jsxs(Ur,{className:y.hourMinuteLabel,ownerState:m,children:[ir(u,"hours")&&r.jsx(wA,{tabIndex:-1,variant:"h3",onClick:()=>c("hours"),selected:"hours"===B,value:i?(b=i,s?p.format(b,"hours12h"):p.format(b,"hours24h")):"--"}),ir(u,["hours","minutes"])&&H,ir(u,"minutes")&&r.jsx(wA,{tabIndex:-1,variant:"h3",onClick:()=>c("minutes"),selected:"minutes"===B,value:i?p.format(i,"minutes"):"--"}),ir(u,["minutes","seconds"])&&H,ir(u,"seconds")&&r.jsx(wA,{variant:"h3",onClick:()=>c("seconds"),selected:"seconds"===B,value:i?p.format(i,"seconds"):"--"})]}),F&&r.jsxs(xr,{className:y.ampmSelection,ownerState:m,children:[r.jsx(wA,{disableRipple:!0,variant:"subtitle2",selected:"am"===U,typographyClassName:y.ampmLabel,value:ar(p,"am"),onClick:d?void 0:()=>x("am"),disabled:g}),r.jsx(wA,{disableRipple:!0,variant:"subtitle2",selected:"pm"===U,typographyClassName:y.ampmLabel,value:ar(p,"pm"),onClick:d?void 0:()=>x("pm"),disabled:g})]})]}));var b}xr.propTypes={as:s.elementType,ownerState:s.object.isRequired,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])};const yr=o.forwardRef((function(A,e){var s;const i=function(A,e){var t;const r=nr(),n=f({props:A,name:e}),s=n.ampm??r.is12HourCycleInCurrentLocale(),i=o.useMemo((()=>{var A;return null==(null==(A=n.localeText)?void 0:A.toolbarTitle)?n.localeText:$t({},n.localeText,{timePickerToolbarTitle:n.localeText.toolbarTitle})}),[n.localeText]);return $t({},n,{ampm:s,localeText:i},lr({views:n.views,openTo:n.openTo,defaultViews:["hours","minutes"],defaultOpenTo:"hours"}),{disableFuture:n.disableFuture??!1,disablePast:n.disablePast??!1,slots:$t({toolbar:mr},n.slots),slotProps:$t({},n.slotProps,{toolbar:$t({ampm:s,ampmInClock:n.ampmInClock},null==(t=n.slotProps)?void 0:t.toolbar)})})}(A,"MuiStaticTimePicker"),a=i.displayStaticWrapperAs??"mobile",l=i.ampmInClock??"desktop"===a,B=$t({hours:pA,minutes:pA,seconds:pA},i.viewRenderers),c=$t({},i,{viewRenderers:B,displayStaticWrapperAs:a,ampmInClock:l,slotProps:$t({},i.slotProps,{toolbar:$t({hidden:"desktop"===a,ampmInClock:l},null==(s=i.slotProps)?void 0:s.toolbar)})}),{renderPicker:u}=(A=>{let{props:e,ref:s}=A,o=t(A,dr);const{localeText:i,slots:a,slotProps:l,className:B,sx:c,displayStaticWrapperAs:u,autoFocus:g}=e,{layoutProps:d,renderCurrentView:h}=tr($t({},o,{props:e,autoFocusView:g??!1,fieldRef:void 0,additionalViewProps:{},wrapperVariant:u})),w=(null==a?void 0:a.layout)??hr;return{renderPicker:()=>{var A,e,t;return r.jsx(IA,{localeText:i,children:r.jsx(w,$t({},d,null==l?void 0:l.layout,{slots:a,slotProps:l,sx:[...Array.isArray(c)?c:[c],...Array.isArray(null==(A=null==l?void 0:l.layout)?void 0:A.sx)?l.layout.sx:[null==(e=null==l?void 0:l.layout)?void 0:e.sx]],className:n(B,null==(t=null==l?void 0:l.layout)?void 0:t.className),ref:s,children:h()}))})}}})({props:c,valueManager:Br,valueType:"time",validator:CA,ref:e});return u()}));yr.propTypes={ampm:s.bool,ampmInClock:s.bool,autoFocus:s.bool,className:s.string,defaultValue:s.object,disabled:s.bool,disableFuture:s.bool,disableIgnoringDatePartForTimeValidation:s.bool,disablePast:s.bool,displayStaticWrapperAs:s.oneOf(["desktop","mobile"]),localeText:s.object,maxTime:s.object,minTime:s.object,minutesStep:s.number,onAccept:s.func,onChange:s.func,onClose:s.func,onError:s.func,onViewChange:s.func,openTo:s.oneOf(["hours","minutes","seconds"]),orientation:s.oneOf(["landscape","portrait"]),readOnly:s.bool,reduceAnimations:s.bool,referenceDate:s.object,shouldDisableTime:s.func,slotProps:s.object,slots:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),timezone:s.string,value:s.object,view:s.oneOf(["hours","minutes","seconds"]),viewRenderers:s.shape({hours:s.func,minutes:s.func,seconds:s.func}),views:s.arrayOf(s.oneOf(["hours","minutes","seconds"]).isRequired)};const Hr=U((function(){const A=o.useContext(oA);return r.jsx(cA,{title:x(A.getCurrentIFrame,{count:3}),open:!!A.getUrl,iframeUrl:"",onClose:A.setIFrame})}));const br=U((function(){const A=o.useContext(iA),e=o.useContext(oA),t=m.isAddBusinessReview,{form:n,onClickAddBusinessReview:s,removeImage:i,onHandleUploadClick:a,onHandleImgClick:l,getImgsToCrop:B,getCurrentCropImage:c,onHandleSetCurrentImageToCrop:u,onHandleDelete:g,onHandleCropImage:d,onHandleClose:h}=A;o.useLayoutEffect((()=>{t&&(A.init(),n.review_date.onChange(y()))}),[t]);const w=o.useMemo((()=>B.find((A=>A.id===c))),[B,c]),p=parseInt("10");return r.jsxs(KA,{onClose:()=>{A.clear(),e.clearForm(),e.setBusinessReviewData(),H()},open:t,sx:{"@media(min-width:768px)":{".MuiDialog-container":{width:"479px",m:"auto",".MuiPaper-root":{maxWidth:"unset",width:"100%",".MuiDialogContent-root":{p:"0 42px"}}}}},children:[r.jsx(LA,{text:`${x("reviewBusiness")}:`,margin:"0 0 14px"}),r.jsxs(VA,{sx:{maxWidth:"270px",m:"auto","@media(min-width:768px)":{mt:"30px","& .MuiFormControl-root":{mb:"15px"}}},children:[r.jsx(RA,{label:x("service"),fieldState:n.service_rating}),r.jsx(RA,{label:x("local"),fieldState:n.venue_rating}),r.jsx(RA,{label:x("antiCovidMeasures"),fieldState:n.covid_rating}),r.jsx(PA,{}),r.jsx(OA,{text:x("visitDate")}),r.jsx(QA,{fieldState:n.review_date})]}),r.jsx(OA,{text:x("yourOpinion")}),r.jsx($,{fieldState:n.opinion}),r.jsx(fA,{images:A.getReviewImages,onRemove:i,disabled:A.isReviewImagesMax,onAdd:A=>a(A,p,"ADD_BUSINESS_REVIEW")}),r.jsx(yA,{onClose:h,onClickAccept:()=>l(p),src:w,extension:A.getExtension,images:B,onDelete:g,onChange:u,onCropImage:d,limit:p,uploaded:n.images.value.length}),r.jsx(FA,{onClick:async()=>{var A;const{hasError:t}=await n.review_date.validate();t||(await s(e.getSlug),null==(A=e.loadActivityData())||A.then())},sx:{"@media(min-width:768px)":{"&&.MuiButton-root":{mb:"46px"}}}})]})}));const Er=U((function(){const A=o.useContext(oA),{onClaimBusiness:e}=A;return r.jsxs(KA,{open:m.isClaimConfirm,onClose:H,children:[r.jsx(b,{children:x("claimConfirm")}),r.jsxs(E,{sx:{"&":{mt:"20px","& .MuiButton-root:last-of-type":{ml:"15px"}}},children:[r.jsx(XA,{onClick:e,children:x("yes")}),r.jsx(XA,{onClick:H,children:x("no")})]})]})})),Ir={"& label.MuiFormLabel-root":{color:I.gray50,fontSize:"18px",fontWeight:500,top:"-14px",left:"-14px"},"& div.MuiAutocomplete-root":{mb:"5px"},"& input":{"&::placeholder":{fontSize:"13px",fontStyle:"italic",opacity:.6}}};const vr=U((function(){const A=o.useContext(oA),{onApplySortFilters:e,onCloseSortFilter:t,onClickRestartSortFilter:n}=A;return r.jsx(KA,{sx:{"& .MuiDialogContent-root":{pb:0}},open:m.isFilterBusinessMenu,onClose:t,title:x("filters"),marginTitle:"0",footer:r.jsxs(E,{sx:{width:"100%",maxWidth:"100%",bgcolor:I.white,position:"sticky",bottom:0,zIndex:1,height:"76px"},children:[r.jsx(ue,{sx:{m:"5px 0 10px"}}),r.jsxs(E,{sx:{display:"inline-flex",mt:"10px",width:"100%"},children:[r.jsx(zA,{onClick:()=>n()}),r.jsx(JA,{onClick:()=>e(Boolean(A.getFilterCount)),count:A.getFilterCount,sx:{"&&.MuiButtonBase-root":{ml:"10px"}}})]})]}),children:r.jsxs(ge,{sx:Ir,children:[r.jsx(le,{fieldState:A.getRating}),r.jsx(ue,{sx:{m:"5px 0 10px"}}),r.jsx(Be,{min:A.getMinPrice,max:A.getMaxPrice}),r.jsx(ue,{sx:{m:"18px 0 10px"}}),r.jsx(se,{fieldState:A.getCuisineTags,required:!1,placeholderId:"kitchenTypeWant"}),r.jsx($A,{fieldState:A.getFoodTags,required:!1,placeholderId:"foodTypeWant"}),r.jsx(Ae,{fieldState:A.getDrinkTags,required:!1,placeholderId:"drinkTypeWant"}),r.jsx(ee,{fieldState:A.getIngredientTags,placeholderId:"ingredientsWant"}),r.jsx(te,{fieldState:A.getAllergenTags,labelId:"allergensToAvoid",placeholderId:"allergensWant"})]})})}));const Kr=U((function(){const A=o.useContext(oA),{onCloseMoreImg:e,onClickLikeImage:t,getProductStr:n}=A,s=n.getImageProductStr;return s.getSize&&!m.getPrevious.includes("WEB_MENU")&&A.isMore?r.jsx(AA.Provider,{value:{name:A.getBusiness.name},children:r.jsx(eA,{open:m.isImageDetailUser,images:s.getElements,onClickLikeImage:t,onCloseImageDetail:e,totalElements:s.getCount,onCallNextItem:A=>{!s.isLoading&&s.hasMore&&A>=s.offset&&s.loadData()}})}):r.jsx(r.Fragment,{})}));const Lr=U((function(){const A=o.useContext(oA),{onChangeSortBy:e,onChangeSortDirection:t,onApplySortFilters:n,onCloseSortFilter:s}=A;return r.jsxs(KA,{open:m.isSortBusinessMenuBy,onClose:s,sx:{"&& .MuiFormControlLabel-root span.MuiSwitch-root":{m:0}},children:[r.jsx(LA,{text:`${x("sortResultBy")}:`,margin:"8px 0 20px"}),r.jsx(de,{value:A.getSortDirection,onChange:t}),r.jsxs(YA,{sx:{my:"20px"},"aria-label":"sort-order",defaultValue:Qe.RATING,value:A.getSortBy,onChange:e,children:[r.jsx(_A,{value:Qe.RATING,label:x("review")}),r.jsx(_A,{value:Qe.PRICE,label:x("price")}),r.jsx(_A,{value:Qe.REVIEW,label:x("popularity")})]}),r.jsx(JA,{style:{margin:"20px 0"},onClick:()=>{A.setExpandAllCategories(!0),n()}})]})}));
/*!
 * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
 * Released under MIT License
 */
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var Dr=function(A,e){return(Dr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(A[t]=e[t])})(A,e)};function jr(A,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=A}Dr(A,e),A.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}var Sr=function(){return Sr=Object.assign||function(A){for(var e,t=1,r=arguments.length;t<r;t++)for(var n in e=arguments[t])Object.prototype.hasOwnProperty.call(e,n)&&(A[n]=e[n]);return A},Sr.apply(this,arguments)};function Mr(A,e,t,r){return new(t||(t=Promise))((function(e,n){function s(A){try{i(r.next(A))}catch(e){n(e)}}function o(A){try{i(r.throw(A))}catch(e){n(e)}}function i(A){var r;A.done?e(A.value):(r=A.value,r instanceof t?r:new t((function(A){A(r)}))).then(s,o)}i((r=r.apply(A,[])).next())}))}function kr(A,e){var t,r,n,s,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return s={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function i(s){return function(i){return function(s){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(n=2&s[0]?r.return:s[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;switch(r=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){o.label=s[1];break}if(6===s[0]&&o.label<n[1]){o.label=n[1],n=s;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(s);break}n[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(A,o)}catch(i){s=[6,i],r=0}finally{t=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,i])}}}function Tr(A,e,t){if(2===arguments.length)for(var r,n=0,s=e.length;n<s;n++)!r&&n in e||(r||(r=Array.prototype.slice.call(e,0,n)),r[n]=e[n]);return A.concat(r||e)}for(var Or=function(){function A(A,e,t,r){this.left=A,this.top=e,this.width=t,this.height=r}return A.prototype.add=function(e,t,r,n){return new A(this.left+e,this.top+t,this.width+r,this.height+n)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var r=Array.from(t).find((function(A){return 0!==A.width}));return r?new A(r.left+e.windowBounds.left,r.top+e.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),Rr=function(A,e){return Or.fromClientRect(A,e.getBoundingClientRect())},Pr=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var s=A.charCodeAt(t++);56320==(64512&s)?e.push(((1023&n)<<10)+(1023&s)+65536):(e.push(n),t--)}else e.push(n)}return e},Gr=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,s="";++n<t;){var o=A[n];o<=65535?r.push(o):(o-=65536,r.push(55296+(o>>10),o%1024+56320)),(n+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},Vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Nr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Xr=0;Xr<64;Xr++)Nr[Vr.charCodeAt(Xr)]=Xr;for(var Wr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Jr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Yr=0;Yr<64;Yr++)Jr[Wr.charCodeAt(Yr)]=Yr;for(var _r=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Zr=function(){function A(A,e,t,r,n,s){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=r,this.index=n,this.data=s}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),zr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qr="undefined"==typeof Uint8Array?[]:new Uint8Array(256),$r=0;$r<64;$r++)qr[zr.charCodeAt($r)]=$r;var An,en,tn,rn,nn,sn,on,an,ln=10,Bn=13,cn=15,un=17,gn=18,dn=19,hn=20,wn=21,pn=22,Cn=24,Qn=25,fn=26,Fn=27,Un=28,xn=30,mn=32,yn=33,Hn=34,bn=35,En=37,In=38,vn=39,Kn=40,Ln=42,Dn=[9001,65288],jn="×",Sn="÷",Mn=(rn=function(A){var e,t,r,n,s,o=.75*A.length,i=A.length,a=0;"="===A[A.length-1]&&(o--,"="===A[A.length-2]&&o--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),B=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<i;e+=4)t=Jr[A.charCodeAt(e)],r=Jr[A.charCodeAt(e+1)],n=Jr[A.charCodeAt(e+2)],s=Jr[A.charCodeAt(e+3)],B[a++]=t<<2|r>>4,B[a++]=(15&r)<<4|n>>2,B[a++]=(3&n)<<6|63&s;return l}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLA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AwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADA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BtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAU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EAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAE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4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwB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wBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwAr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FAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgA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FAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAl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AVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),nn=Array.isArray(rn)?function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t}(rn):new Uint32Array(rn),sn=Array.isArray(rn)?function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t}(rn):new Uint16Array(rn),on=_r(sn,12,nn[4]/2),an=2===nn[5]?_r(sn,(24+nn[4])/2):(An=nn,en=Math.ceil((24+nn[4])/4),An.slice?An.slice(en,tn):new Uint32Array(Array.prototype.slice.call(An,en,tn))),new Zr(nn[0],nn[1],nn[2],nn[3],on,an)),kn=[xn,36],Tn=[1,2,3,5],On=[ln,8],Rn=[Fn,fn],Pn=Tn.concat(On),Gn=[In,vn,Kn,Hn,bn],Vn=[cn,Bn],Nn=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?-1!==A.indexOf(n):A===n)for(var s=t;s<=r.length;){if((a=r[++s])===e)return!0;if(a!==ln)break}if(n===ln)for(s=t;s>0;){var o=r[--s];if(Array.isArray(A)?-1!==A.indexOf(o):A===o)for(var i=t;i<=r.length;){var a;if((a=r[++i])===e)return!0;if(a!==ln)break}if(o!==ln)break}return!1},Xn=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r!==ln)return r;t--}return 0},Wn=function(A,e,t,r,n){if(0===t[r])return jn;var s=r-1;if(Array.isArray(n)&&!0===n[s])return jn;var o=s-1,i=s+1,a=e[s],l=o>=0?e[o]:0,B=e[i];if(2===a&&3===B)return jn;if(-1!==Tn.indexOf(a))return"!";if(-1!==Tn.indexOf(B))return jn;if(-1!==On.indexOf(B))return jn;if(8===Xn(s,e))return Sn;if(11===Mn.get(A[s]))return jn;if((a===mn||a===yn)&&11===Mn.get(A[i]))return jn;if(7===a||7===B)return jn;if(9===a)return jn;if(-1===[ln,Bn,cn].indexOf(a)&&9===B)return jn;if(-1!==[un,gn,dn,Cn,Un].indexOf(B))return jn;if(Xn(s,e)===pn)return jn;if(Nn(23,pn,s,e))return jn;if(Nn([un,gn],wn,s,e))return jn;if(Nn(12,12,s,e))return jn;if(a===ln)return Sn;if(23===a||23===B)return jn;if(16===B||16===a)return Sn;if(-1!==[Bn,cn,wn].indexOf(B)||14===a)return jn;if(36===l&&-1!==Vn.indexOf(a))return jn;if(a===Un&&36===B)return jn;if(B===hn)return jn;if(-1!==kn.indexOf(B)&&a===Qn||-1!==kn.indexOf(a)&&B===Qn)return jn;if(a===Fn&&-1!==[En,mn,yn].indexOf(B)||-1!==[En,mn,yn].indexOf(a)&&B===fn)return jn;if(-1!==kn.indexOf(a)&&-1!==Rn.indexOf(B)||-1!==Rn.indexOf(a)&&-1!==kn.indexOf(B))return jn;if(-1!==[Fn,fn].indexOf(a)&&(B===Qn||-1!==[pn,cn].indexOf(B)&&e[i+1]===Qn)||-1!==[pn,cn].indexOf(a)&&B===Qn||a===Qn&&-1!==[Qn,Un,Cn].indexOf(B))return jn;if(-1!==[Qn,Un,Cn,un,gn].indexOf(B))for(var c=s;c>=0;){if((u=e[c])===Qn)return jn;if(-1===[Un,Cn].indexOf(u))break;c--}if(-1!==[Fn,fn].indexOf(B))for(c=-1!==[un,gn].indexOf(a)?o:s;c>=0;){var u;if((u=e[c])===Qn)return jn;if(-1===[Un,Cn].indexOf(u))break;c--}if(In===a&&-1!==[In,vn,Hn,bn].indexOf(B)||-1!==[vn,Hn].indexOf(a)&&-1!==[vn,Kn].indexOf(B)||-1!==[Kn,bn].indexOf(a)&&B===Kn)return jn;if(-1!==Gn.indexOf(a)&&-1!==[hn,fn].indexOf(B)||-1!==Gn.indexOf(B)&&a===Fn)return jn;if(-1!==kn.indexOf(a)&&-1!==kn.indexOf(B))return jn;if(a===Cn&&-1!==kn.indexOf(B))return jn;if(-1!==kn.concat(Qn).indexOf(a)&&B===pn&&-1===Dn.indexOf(A[i])||-1!==kn.concat(Qn).indexOf(B)&&a===gn)return jn;if(41===a&&41===B){for(var g=t[s],d=1;g>0&&41===e[--g];)d++;if(d%2!=0)return jn}return a===mn&&B===yn?jn:Sn},Jn=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=function(A,e){void 0===e&&(e="strict");var t=[],r=[],n=[];return A.forEach((function(A,s){var o=Mn.get(A);if(o>50?(n.push(!0),o-=50):n.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return r.push(s),t.push(16);if(4===o||11===o){if(0===s)return r.push(s),t.push(xn);var i=t[s-1];return-1===Pn.indexOf(i)?(r.push(r[s-1]),t.push(i)):(r.push(s),t.push(xn))}return r.push(s),31===o?t.push("strict"===e?wn:En):o===Ln||29===o?t.push(xn):43===o?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(En):t.push(xn):void t.push(o)})),[r,t,n]}(A,e.lineBreak),r=t[0],n=t[1],s=t[2];"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(n=n.map((function(A){return-1!==[Qn,xn,Ln].indexOf(A)?En:A})));var o="keep-all"===e.wordBreak?s.map((function(e,t){return e&&A[t]>=19968&&A[t]<=40959})):void 0;return[r,n,o]},Yn=function(){function A(A,e,t,r){this.codePoints=A,this.required="!"===e,this.start=t,this.end=r}return A.prototype.slice=function(){return Gr.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),_n=45,Zn=43,zn=-1,qn=function(A){return A>=48&&A<=57},$n=function(A){return qn(A)||A>=65&&A<=70||A>=97&&A<=102},As=function(A){return 10===A||9===A||32===A},es=function(A){return function(A){return function(A){return A>=97&&A<=122}(A)||function(A){return A>=65&&A<=90}(A)}(A)||function(A){return A>=128}(A)||95===A},ts=function(A){return es(A)||qn(A)||A===_n},rs=function(A){return A>=0&&A<=8||11===A||A>=14&&A<=31||127===A},ns=function(A,e){return 92===A&&10!==e},ss=function(A,e,t){return A===_n?es(e)||ns(e,t):!!es(A)||!(92!==A||!ns(A,e))},os=function(A,e,t){return A===Zn||A===_n?!!qn(e)||46===e&&qn(t):qn(46===A?e:A)},is=function(A){var e=0,t=1;A[e]!==Zn&&A[e]!==_n||(A[e]===_n&&(t=-1),e++);for(var r=[];qn(A[e]);)r.push(A[e++]);var n=r.length?parseInt(Gr.apply(void 0,r),10):0;46===A[e]&&e++;for(var s=[];qn(A[e]);)s.push(A[e++]);var o=s.length,i=o?parseInt(Gr.apply(void 0,s),10):0;69!==A[e]&&101!==A[e]||e++;var a=1;A[e]!==Zn&&A[e]!==_n||(A[e]===_n&&(a=-1),e++);for(var l=[];qn(A[e]);)l.push(A[e++]);var B=l.length?parseInt(Gr.apply(void 0,l),10):0;return t*(n+i*Math.pow(10,-o))*Math.pow(10,a*B)},as={type:2},ls={type:3},Bs={type:4},cs={type:13},us={type:8},gs={type:21},ds={type:9},hs={type:10},ws={type:11},ps={type:12},Cs={type:14},Qs={type:23},fs={type:1},Fs={type:25},Us={type:24},xs={type:26},ms={type:27},ys={type:28},Hs={type:29},bs={type:31},Es={type:32},Is=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(Pr(A))},A.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==Es;)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),r=this.peekCodePoint(2);if(ts(e)||ns(t,r)){var n=ss(e,t,r)?2:1;return{type:5,value:this.consumeName(),flags:n}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),cs;break;case 39:return this.consumeStringToken(39);case 40:return as;case 41:return ls;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Cs;break;case Zn:if(os(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return Bs;case _n:var s=A,o=this.peekCodePoint(0),i=this.peekCodePoint(1);if(os(s,o,i))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(ss(s,o,i))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===_n&&62===i)return this.consumeCodePoint(),this.consumeCodePoint(),Us;break;case 46:if(os(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var a=this.consumeCodePoint();if(42===a&&47===(a=this.consumeCodePoint()))return this.consumeToken();if(a===zn)return this.consumeToken()}break;case 58:return xs;case 59:return ms;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===_n&&this.peekCodePoint(2)===_n)return this.consumeCodePoint(),this.consumeCodePoint(),Fs;break;case 64:var l=this.peekCodePoint(0),B=this.peekCodePoint(1),c=this.peekCodePoint(2);if(ss(l,B,c))return{type:7,value:this.consumeName()};break;case 91:return ys;case 92:if(ns(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return Hs;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),us;break;case 123:return ws;case 125:return ps;case 117:case 85:var u=this.peekCodePoint(0),g=this.peekCodePoint(1);return u!==Zn||!$n(g)&&63!==g||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),ds;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),gs;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),hs;break;case zn:return Es}return As(A)?(this.consumeWhiteSpace(),bs):qn(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):es(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:Gr(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return void 0===A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();$n(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(Gr.apply(void 0,A.map((function(A){return 63===A?48:A}))),16),end:parseInt(Gr.apply(void 0,A.map((function(A){return 63===A?70:A}))),16)};var r=parseInt(Gr.apply(void 0,A),16);if(this.peekCodePoint(0)===_n&&$n(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var n=[];$n(e)&&n.length<6;)n.push(e),e=this.consumeCodePoint();return{type:30,start:r,end:parseInt(Gr.apply(void 0,n),16)}}return{type:30,start:r,end:r}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===zn)return{type:22,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===zn||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),Qs)}for(;;){var r=this.consumeCodePoint();if(r===zn||41===r)return{type:22,value:Gr.apply(void 0,A)};if(As(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===zn||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:Gr.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Qs);if(34===r||39===r||40===r||rs(r))return this.consumeBadUrlRemnants(),Qs;if(92===r){if(!ns(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Qs;A.push(this.consumeEscapedCodePoint())}else A.push(r)}},A.prototype.consumeWhiteSpace=function(){for(;As(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||A===zn)return;ns(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var e="";A>0;){var t=Math.min(5e4,A);e+=Gr.apply(void 0,this._value.splice(0,t)),A-=t}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){for(var e="",t=0;;){var r=this._value[t];if(r===zn||void 0===r||r===A)return{type:0,value:e+=this.consumeStringSlice(t)};if(10===r)return this._value.splice(0,t),fs;if(92===r){var n=this._value[t+1];n!==zn&&void 0!==n&&(10===n?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):ns(r,n)&&(e+=this.consumeStringSlice(t),e+=Gr(this.consumeEscapedCodePoint()),t=-1))}t++}},A.prototype.consumeNumber=function(){var A=[],e=4,t=this.peekCodePoint(0);for(t!==Zn&&t!==_n||A.push(this.consumeCodePoint());qn(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(46===t&&qn(r))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;qn(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((69===t||101===t)&&((r===Zn||r===_n)&&qn(n)||qn(r)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;qn(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[is(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);return ss(r,n,s)?{type:15,number:e,flags:t,unit:this.consumeName()}:37===r?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if($n(A)){for(var e=Gr(A);$n(this.peekCodePoint(0))&&e.length<6;)e+=Gr(this.consumeCodePoint());As(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||function(A){return A>=55296&&A<=57343}(t)||t>1114111?65533:t}return A===zn?65533:A},A.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(ts(e))A+=Gr(e);else{if(!ns(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=Gr(this.consumeEscapedCodePoint())}}},A}(),vs=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new Is;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(32===e.type)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},t=this.consumeToken();;){if(32===t.type||Os(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(32===t.type||3===t.type)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return void 0===A?Es:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),Ks=function(A){return 15===A.type},Ls=function(A){return 17===A.type},Ds=function(A){return 20===A.type},js=function(A){return 0===A.type},Ss=function(A,e){return Ds(A)&&A.value===e},Ms=function(A){return 31!==A.type},ks=function(A){return 31!==A.type&&4!==A.type},Ts=function(A){var e=[],t=[];return A.forEach((function(A){if(4===A.type){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}31!==A.type&&t.push(A)})),t.length&&e.push(t),e},Os=function(A,e){return 11===e&&12===A.type||(28===e&&29===A.type||2===e&&3===A.type)},Rs=function(A){return 17===A.type||15===A.type},Ps=function(A){return 16===A.type||Rs(A)},Gs=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Vs={type:17,number:0,flags:4},Ns={type:16,number:50,flags:4},Xs={type:16,number:100,flags:4},Ws=function(A,e,t){var r=A[0],n=A[1];return[Js(r,e),Js(void 0!==n?n:r,t)]},Js=function(A,e){if(16===A.type)return A.number/100*e;if(Ks(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},Ys="grad",_s="turn",Zs=function(A,e){if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case Ys:return Math.PI/200*e.number;case"rad":return e.number;case _s:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")},zs=function(A){return 15===A.type&&("deg"===A.unit||A.unit===Ys||"rad"===A.unit||A.unit===_s)},qs=function(A){switch(A.filter(Ds).map((function(A){return A.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Vs,Vs];case"to top":case"bottom":return $s(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Vs,Xs];case"to right":case"left":return $s(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Xs,Xs];case"to bottom":case"top":return $s(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Xs,Vs];case"to left":case"right":return $s(270)}return 0},$s=function(A){return Math.PI*A/180},Ao=function(A,e){if(18===e.type){var t=ao[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(5===e.type){if(3===e.value.length){var r=e.value.substring(0,1),n=e.value.substring(1,2),s=e.value.substring(2,3);return ro(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),1)}if(4===e.value.length){r=e.value.substring(0,1),n=e.value.substring(1,2),s=e.value.substring(2,3);var o=e.value.substring(3,4);return ro(parseInt(r+r,16),parseInt(n+n,16),parseInt(s+s,16),parseInt(o+o,16)/255)}if(6===e.value.length){r=e.value.substring(0,2),n=e.value.substring(2,4),s=e.value.substring(4,6);return ro(parseInt(r,16),parseInt(n,16),parseInt(s,16),1)}if(8===e.value.length){r=e.value.substring(0,2),n=e.value.substring(2,4),s=e.value.substring(4,6),o=e.value.substring(6,8);return ro(parseInt(r,16),parseInt(n,16),parseInt(s,16),parseInt(o,16)/255)}}if(20===e.type){var i=Bo[e.value.toUpperCase()];if(void 0!==i)return i}return Bo.TRANSPARENT},eo=function(A){return!(255&A)},to=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},ro=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(255*r))>>>0},no=function(A,e){if(17===A.type)return A.number;if(16===A.type){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},so=function(A,e){var t=e.filter(ks);if(3===t.length){var r=t.map(no),n=r[0],s=r[1],o=r[2];return ro(n,s,o,1)}if(4===t.length){var i=t.map(no),a=(n=i[0],s=i[1],o=i[2],i[3]);return ro(n,s,o,a)}return 0};function oo(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A}var io=function(A,e){var t=e.filter(ks),r=t[0],n=t[1],s=t[2],o=t[3],i=(17===r.type?$s(r.number):Zs(A,r))/(2*Math.PI),a=Ps(n)?n.number/100:0,l=Ps(s)?s.number/100:0,B=void 0!==o&&Ps(o)?Js(o,1):1;if(0===a)return ro(255*l,255*l,255*l,1);var c=l<=.5?l*(a+1):l+a-l*a,u=2*l-c,g=oo(u,c,i+1/3),d=oo(u,c,i),h=oo(u,c,i-1/3);return ro(255*g,255*d,255*h,B)},ao={hsl:io,hsla:io,rgb:so,rgba:so},lo=function(A,e){return Ao(A,vs.create(e).parseComponentValue())},Bo={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},co={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(Ds(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},uo={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},go=function(A,e){var t=Ao(A,e[0]),r=e[1];return r&&Ps(r)?{color:t,stop:r}:{color:t,stop:null}},ho=function(A,e){var t=A[0],r=A[A.length-1];null===t.stop&&(t.stop=Vs),null===r.stop&&(r.stop=Xs);for(var n=[],s=0,o=0;o<A.length;o++){var i=A[o].stop;if(null!==i){var a=Js(i,e);a>s?n.push(a):n.push(s),s=a}else n.push(null)}var l=null;for(o=0;o<n.length;o++){var B=n[o];if(null===B)null===l&&(l=o);else if(null!==l){for(var c=o-l,u=(B-n[l-1])/(c+1),g=1;g<=c;g++)n[l+g-1]=u*g;l=null}}return A.map((function(A,t){return{color:A.color,stop:Math.max(Math.min(1,n[t]/e),0)}}))},wo=function(A,e,t){var r="number"==typeof A?A:function(A,e,t){var r=e/2,n=t/2,s=Js(A[0],e)-r,o=n-Js(A[1],t);return(Math.atan2(o,s)+2*Math.PI)%(2*Math.PI)}(A,e,t),n=Math.abs(e*Math.sin(r))+Math.abs(t*Math.cos(r)),s=e/2,o=t/2,i=n/2,a=Math.sin(r-Math.PI/2)*i,l=Math.cos(r-Math.PI/2)*i;return[n,s-l,s+l,o-a,o+a]},po=function(A,e){return Math.sqrt(A*A+e*e)},Co=function(A,e,t,r,n){return[[0,0],[0,e],[A,0],[A,e]].reduce((function(A,e){var s=e[0],o=e[1],i=po(t-s,r-o);return(n?i<A.optimumDistance:i>A.optimumDistance)?{optimumCorner:e,optimumDistance:i}:A}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Qo=function(A,e){var t=$s(180),r=[];return Ts(e).forEach((function(e,n){if(0===n){var s=e[0];if(20===s.type&&-1!==["top","left","right","bottom"].indexOf(s.value))return void(t=qs(e));if(zs(s))return void(t=(Zs(A,s)+$s(270))%$s(360))}var o=go(A,e);r.push(o)})),{angle:t,stops:r,type:1}},fo="closest-side",Fo="farthest-side",Uo="closest-corner",xo="farthest-corner",mo="circle",yo="ellipse",Ho="cover",bo="contain",Eo=function(A,e){var t=0,r=3,n=[],s=[];return Ts(e).forEach((function(e,o){var i=!0;if(0===o?i=e.reduce((function(A,e){if(Ds(e))switch(e.value){case"center":return s.push(Ns),!1;case"top":case"left":return s.push(Vs),!1;case"right":case"bottom":return s.push(Xs),!1}else if(Ps(e)||Rs(e))return s.push(e),!1;return A}),i):1===o&&(i=e.reduce((function(A,e){if(Ds(e))switch(e.value){case mo:return t=0,!1;case yo:return t=1,!1;case bo:case fo:return r=0,!1;case Fo:return r=1,!1;case Uo:return r=2,!1;case Ho:case xo:return r=3,!1}else if(Rs(e)||Ps(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return A}),i)),i){var a=go(A,e);n.push(a)}})),{size:r,shape:t,stops:n,position:s,type:2}},Io=function(A,e){if(22===e.type){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){var r=Lo[e.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)};var vo,Ko,Lo={"linear-gradient":function(A,e){var t=$s(180),r=[];return Ts(e).forEach((function(e,n){if(0===n){var s=e[0];if(20===s.type&&"to"===s.value)return void(t=qs(e));if(zs(s))return void(t=Zs(A,s))}var o=go(A,e);r.push(o)})),{angle:t,stops:r,type:1}},"-moz-linear-gradient":Qo,"-ms-linear-gradient":Qo,"-o-linear-gradient":Qo,"-webkit-linear-gradient":Qo,"radial-gradient":function(A,e){var t=0,r=3,n=[],s=[];return Ts(e).forEach((function(e,o){var i=!0;if(0===o){var a=!1;i=e.reduce((function(A,e){if(a)if(Ds(e))switch(e.value){case"center":return s.push(Ns),A;case"top":case"left":return s.push(Vs),A;case"right":case"bottom":return s.push(Xs),A}else(Ps(e)||Rs(e))&&s.push(e);else if(Ds(e))switch(e.value){case mo:return t=0,!1;case yo:return t=1,!1;case"at":return a=!0,!1;case fo:return r=0,!1;case Ho:case Fo:return r=1,!1;case bo:case Uo:return r=2,!1;case xo:return r=3,!1}else if(Rs(e)||Ps(e))return Array.isArray(r)||(r=[]),r.push(e),!1;return A}),i)}if(i){var l=go(A,e);n.push(l)}})),{size:r,shape:t,stops:n,position:s,type:2}},"-moz-radial-gradient":Eo,"-ms-radial-gradient":Eo,"-o-radial-gradient":Eo,"-webkit-radial-gradient":Eo,"-webkit-gradient":function(A,e){var t=$s(180),r=[],n=1;return Ts(e).forEach((function(e,t){var s=e[0];if(0===t){if(Ds(s)&&"linear"===s.value)return void(n=1);if(Ds(s)&&"radial"===s.value)return void(n=2)}if(18===s.type)if("from"===s.name){var o=Ao(A,s.values[0]);r.push({stop:Vs,color:o})}else if("to"===s.name){o=Ao(A,s.values[0]);r.push({stop:Xs,color:o})}else if("color-stop"===s.name){var i=s.values.filter(ks);if(2===i.length){o=Ao(A,i[1]);var a=i[0];Ls(a)&&r.push({stop:{type:16,number:100*a.number,flags:a.flags},color:o})}}})),1===n?{angle:(t+$s(180))%$s(360),stops:r,type:n}:{size:3,shape:0,stops:r,position:[],type:n}}},Do={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter((function(A){return ks(A)&&function(A){return!(20===A.type&&"none"===A.value||18===A.type&&!Lo[A.name])}(A)})).map((function(e){return Io(A,e)}))}},jo={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(Ds(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},So={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Ts(e).map((function(A){return A.filter(Ps)})).map(Gs)}},Mo={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Ts(e).map((function(A){return A.filter(Ds).map((function(A){return A.value})).join(" ")})).map(ko)}},ko=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};(Ko=vo||(vo={})).AUTO="auto",Ko.CONTAIN="contain",Ko.COVER="cover";var To,Oo,Ro={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Ts(e).map((function(A){return A.filter(Po)}))}},Po=function(A){return Ds(A)||Ps(A)},Go=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Vo=Go("top"),No=Go("right"),Xo=Go("bottom"),Wo=Go("left"),Jo=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return Gs(e.filter(Ps))}}},Yo=Jo("top-left"),_o=Jo("top-right"),Zo=Jo("bottom-right"),zo=Jo("bottom-left"),qo=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},$o=qo("top"),Ai=qo("right"),ei=qo("bottom"),ti=qo("left"),ri=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Ks(e)?e.number:0}}},ni=ri("top"),si=ri("right"),oi=ri("bottom"),ii=ri("left"),ai={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},li={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return"rtl"===e?1:0}},Bi={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(Ds).reduce((function(A,e){return A|ci(e.value)}),0)}},ci=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},ui={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},gi={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};(Oo=To||(To={})).NORMAL="normal",Oo.STRICT="strict";var di,hi,wi={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"strict"===e?To.STRICT:To.NORMAL}},pi={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ci=function(A,e){return Ds(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:Ps(A)?Js(A,e):e},Qi={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:Io(A,e)}},fi={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return"inside"===e?0:1}},Fi={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},Ui=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},xi=Ui("top"),mi=Ui("right"),yi=Ui("bottom"),Hi=Ui("left"),bi={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(Ds).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},Ei={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"break-word"===e?"break-word":"normal"}},Ii=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},vi=Ii("top"),Ki=Ii("right"),Li=Ii("bottom"),Di=Ii("left"),ji={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Si={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Mi={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&Ss(e[0],"none")?[]:Ts(e).map((function(e){for(var t={color:Bo.TRANSPARENT,offsetX:Vs,offsetY:Vs,blur:Vs},r=0,n=0;n<e.length;n++){var s=e[n];Rs(s)?(0===r?t.offsetX=s:1===r?t.offsetY=s:t.blur=s,r++):t.color=Ao(A,s)}return t}))}},ki={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Ti={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(20===e.type&&"none"===e.value)return null;if(18===e.type){var t=Oi[e.name];if(void 0===t)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},Oi={matrix:function(A){var e=A.filter((function(A){return 17===A.type})).map((function(A){return A.number}));return 6===e.length?e:null},matrix3d:function(A){var e=A.filter((function(A){return 17===A.type})).map((function(A){return A.number})),t=e[0],r=e[1];e[2],e[3];var n=e[4],s=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var o=e[12],i=e[13];return e[14],e[15],16===e.length?[t,r,n,s,o,i]:null}},Ri={type:16,number:50,flags:4},Pi=[Ri,Ri],Gi={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(Ps);return 2!==t.length?Pi:[t[0],t[1]]}},Vi={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}};(hi=di||(di={})).NORMAL="normal",hi.BREAK_ALL="break-all",hi.KEEP_ALL="keep-all";for(var Ni={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return di.BREAK_ALL;case"keep-all":return di.KEEP_ALL;default:return di.NORMAL}}},Xi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(20===e.type)return{auto:!0,order:0};if(Ls(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Wi=function(A,e){if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")},Ji={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Ls(e)?e.number:1}},Yi={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_i={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(Ds).map((function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(A){return 0!==A}))}},Zi={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach((function(A){switch(A.type){case 20:case 0:t.push(A.value);break;case 17:t.push(A.number.toString());break;case 4:r.push(t.join(" ")),t.length=0}})),t.length&&r.push(t.join(" ")),r.map((function(A){return-1===A.indexOf(" ")?A:"'"+A+"'"}))}},zi={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},qi={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){return Ls(e)?e.number:Ds(e)&&"bold"===e.value?700:400}},$i={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(Ds).map((function(A){return A.value}))}},Aa={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},ea=function(A,e){return!!(A&e)},ta={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e}},ra={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;for(var r=[],n=e.filter(Ms),s=0;s<n.length;s++){var o=n[s],i=n[s+1];if(20===o.type){var a=i&&Ls(i)?i.number:1;r.push({counter:o.value,increment:a})}}return r}},na={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return[];for(var t=[],r=e.filter(Ms),n=0;n<r.length;n++){var s=r[n],o=r[n+1];if(Ds(s)&&"none"!==s.value){var i=o&&Ls(o)?o.number:0;t.push({counter:s.value,reset:i})}}return t}},sa={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(Ks).map((function(e){return Wi(A,e)}))}},oa={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;var r=[],n=e.filter(js);if(n.length%2!=0)return null;for(var s=0;s<n.length;s+=2){var o=n[s].value,i=n[s+1].value;r.push({open:o,close:i})}return r}},ia=function(A,e,t){if(!A)return"";var r=A[Math.min(e,A.length-1)];return r?t?r.open:r.close:""},aa={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&Ss(e[0],"none")?[]:Ts(e).map((function(e){for(var t={color:255,offsetX:Vs,offsetY:Vs,blur:Vs,spread:Vs,inset:!1},r=0,n=0;n<e.length;n++){var s=e[n];Ss(s,"inset")?t.inset=!0:Rs(s)?(0===r?t.offsetX=s:1===r?t.offsetY=s:2===r?t.blur=s:t.spread=s,r++):t.color=Ao(A,s)}return t}))}},la={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[];return e.filter(Ds).forEach((function(A){switch(A.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2)}})),[0,1,2].forEach((function(A){-1===t.indexOf(A)&&t.push(A)})),t}},Ba={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},ca={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return Ks(e)?e.number:0}},ua=function(){function A(A,e){var t,r;this.animationDuration=ha(A,sa,e.animationDuration),this.backgroundClip=ha(A,co,e.backgroundClip),this.backgroundColor=ha(A,uo,e.backgroundColor),this.backgroundImage=ha(A,Do,e.backgroundImage),this.backgroundOrigin=ha(A,jo,e.backgroundOrigin),this.backgroundPosition=ha(A,So,e.backgroundPosition),this.backgroundRepeat=ha(A,Mo,e.backgroundRepeat),this.backgroundSize=ha(A,Ro,e.backgroundSize),this.borderTopColor=ha(A,Vo,e.borderTopColor),this.borderRightColor=ha(A,No,e.borderRightColor),this.borderBottomColor=ha(A,Xo,e.borderBottomColor),this.borderLeftColor=ha(A,Wo,e.borderLeftColor),this.borderTopLeftRadius=ha(A,Yo,e.borderTopLeftRadius),this.borderTopRightRadius=ha(A,_o,e.borderTopRightRadius),this.borderBottomRightRadius=ha(A,Zo,e.borderBottomRightRadius),this.borderBottomLeftRadius=ha(A,zo,e.borderBottomLeftRadius),this.borderTopStyle=ha(A,$o,e.borderTopStyle),this.borderRightStyle=ha(A,Ai,e.borderRightStyle),this.borderBottomStyle=ha(A,ei,e.borderBottomStyle),this.borderLeftStyle=ha(A,ti,e.borderLeftStyle),this.borderTopWidth=ha(A,ni,e.borderTopWidth),this.borderRightWidth=ha(A,si,e.borderRightWidth),this.borderBottomWidth=ha(A,oi,e.borderBottomWidth),this.borderLeftWidth=ha(A,ii,e.borderLeftWidth),this.boxShadow=ha(A,aa,e.boxShadow),this.color=ha(A,ai,e.color),this.direction=ha(A,li,e.direction),this.display=ha(A,Bi,e.display),this.float=ha(A,ui,e.cssFloat),this.fontFamily=ha(A,Zi,e.fontFamily),this.fontSize=ha(A,zi,e.fontSize),this.fontStyle=ha(A,Aa,e.fontStyle),this.fontVariant=ha(A,$i,e.fontVariant),this.fontWeight=ha(A,qi,e.fontWeight),this.letterSpacing=ha(A,gi,e.letterSpacing),this.lineBreak=ha(A,wi,e.lineBreak),this.lineHeight=ha(A,pi,e.lineHeight),this.listStyleImage=ha(A,Qi,e.listStyleImage),this.listStylePosition=ha(A,fi,e.listStylePosition),this.listStyleType=ha(A,Fi,e.listStyleType),this.marginTop=ha(A,xi,e.marginTop),this.marginRight=ha(A,mi,e.marginRight),this.marginBottom=ha(A,yi,e.marginBottom),this.marginLeft=ha(A,Hi,e.marginLeft),this.opacity=ha(A,Ji,e.opacity);var n=ha(A,bi,e.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0],this.overflowWrap=ha(A,Ei,e.overflowWrap),this.paddingTop=ha(A,vi,e.paddingTop),this.paddingRight=ha(A,Ki,e.paddingRight),this.paddingBottom=ha(A,Li,e.paddingBottom),this.paddingLeft=ha(A,Di,e.paddingLeft),this.paintOrder=ha(A,la,e.paintOrder),this.position=ha(A,Si,e.position),this.textAlign=ha(A,ji,e.textAlign),this.textDecorationColor=ha(A,Yi,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=ha(A,_i,null!==(r=e.textDecorationLine)&&void 0!==r?r:e.textDecoration),this.textShadow=ha(A,Mi,e.textShadow),this.textTransform=ha(A,ki,e.textTransform),this.transform=ha(A,Ti,e.transform),this.transformOrigin=ha(A,Gi,e.transformOrigin),this.visibility=ha(A,Vi,e.visibility),this.webkitTextStrokeColor=ha(A,Ba,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=ha(A,ca,e.webkitTextStrokeWidth),this.wordBreak=ha(A,Ni,e.wordBreak),this.zIndex=ha(A,Xi,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return eo(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return ea(this.display,4)||ea(this.display,33554432)||ea(this.display,268435456)||ea(this.display,536870912)||ea(this.display,67108864)||ea(this.display,134217728)},A}(),ga=function(){return function(A,e){this.content=ha(A,ta,e.content),this.quotes=ha(A,oa,e.quotes)}}(),da=function(){return function(A,e){this.counterIncrement=ha(A,ra,e.counterIncrement),this.counterReset=ha(A,na,e.counterReset)}}(),ha=function(A,e,t){var r=new Is,n=null!=t?t.toString():e.initialValue;r.write(n);var s=new vs(r.read());switch(e.type){case 2:var o=s.parseComponentValue();return e.parse(A,Ds(o)?o.value:e.initialValue);case 0:return e.parse(A,s.parseComponentValue());case 1:return e.parse(A,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(e.format){case"angle":return Zs(A,s.parseComponentValue());case"color":return Ao(A,s.parseComponentValue());case"image":return Io(A,s.parseComponentValue());case"length":var i=s.parseComponentValue();return Rs(i)?i:Vs;case"length-percentage":var a=s.parseComponentValue();return Ps(a)?a:Vs;case"time":return Wi(A,s.parseComponentValue())}}},wa=function(A,e){var t=function(A){switch(A.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(A);return 1===t||e===t},pa=function(){return function(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,wa(e,3),this.styles=new ua(A,window.getComputedStyle(e,null)),Ul(e)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=Rr(this.context,e),wa(e,4)&&(this.flags|=16)}}(),Ca="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qa="undefined"==typeof Uint8Array?[]:new Uint8Array(256),fa=0;fa<64;fa++)Qa[Ca.charCodeAt(fa)]=fa;for(var Fa=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},Ua=function(){function A(A,e,t,r,n,s){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=r,this.index=n,this.data=s}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),xa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ma="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ya=0;ya<64;ya++)ma[xa.charCodeAt(ya)]=ya;var Ha,ba,Ea=8,Ia=9,va=11,Ka=12,La=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var r=[],n=-1,s="";++n<t;){var o=A[n];o<=65535?r.push(o):(o-=65536,r.push(55296+(o>>10),o%1024+56320)),(n+1===t||r.length>16384)&&(s+=String.fromCharCode.apply(String,r),r.length=0)}return s},Da=function(A,e){var t=function(A){var e,t,r,n,s,o=.75*A.length,i=A.length,a=0;"="===A[A.length-1]&&(o--,"="===A[A.length-2]&&o--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),B=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<i;e+=4)t=Qa[A.charCodeAt(e)],r=Qa[A.charCodeAt(e+1)],n=Qa[A.charCodeAt(e+2)],s=Qa[A.charCodeAt(e+3)],B[a++]=t<<2|r>>4,B[a++]=(15&r)<<4|n>>2,B[a++]=(3&n)<<6|63&s;return l}(A),r=Array.isArray(t)?function(A){for(var e=A.length,t=[],r=0;r<e;r+=4)t.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return t}(t):new Uint32Array(t),n=Array.isArray(t)?function(A){for(var e=A.length,t=[],r=0;r<e;r+=2)t.push(A[r+1]<<8|A[r]);return t}(t):new Uint16Array(t),s=Fa(n,12,r[4]/2),o=2===r[5]?Fa(n,(24+r[4])/2):function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))}(r,Math.ceil((24+r[4])/4));return new Ua(r[0],r[1],r[2],r[3],s,o)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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AIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAg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ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),ja="×",Sa=function(A){return Da.get(A)},Ma=function(A,e,t){var r=t-2,n=e[r],s=e[t-1],o=e[t];if(2===s&&3===o)return ja;if(2===s||3===s||4===s)return"÷";if(2===o||3===o||4===o)return"÷";if(s===Ea&&-1!==[Ea,Ia,va,Ka].indexOf(o))return ja;if(!(s!==va&&s!==Ia||o!==Ia&&10!==o))return ja;if((s===Ka||10===s)&&10===o)return ja;if(13===o||5===o)return ja;if(7===o)return ja;if(1===s)return ja;if(13===s&&14===o){for(;5===n;)n=e[--r];if(14===n)return ja}if(15===s&&15===o){for(var i=0;15===n;)i++,n=e[--r];if(i%2==0)return ja}return"÷"},ka=function(A){var e=function(A){for(var e=[],t=0,r=A.length;t<r;){var n=A.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var s=A.charCodeAt(t++);56320==(64512&s)?e.push(((1023&n)<<10)+(1023&s)+65536):(e.push(n),t--)}else e.push(n)}return e}(A),t=e.length,r=0,n=0,s=e.map(Sa);return{next:function(){if(r>=t)return{done:!0,value:null};for(var A=ja;r<t&&(A=Ma(0,s,++r))===ja;);if(A!==ja||r===t){var o=La.apply(null,e.slice(n,r));return n=r,{value:o,done:!1}}return{done:!0,value:null}}}},Ta=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Oa=function(A,e,t,r,n){var s="http://www.w3.org/2000/svg",o=document.createElementNS(s,"svg"),i=document.createElementNS(s,"foreignObject");return o.setAttributeNS(null,"width",A.toString()),o.setAttributeNS(null,"height",e.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",t.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(i),i.appendChild(n),o},Ra=function(A){return new Promise((function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Pa={get SUPPORT_RANGE_BOUNDS(){var A=function(A){if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var t=A.createElement("boundtest");t.style.height="123px",t.style.display="block",A.body.appendChild(t),e.selectNode(t);var r=e.getBoundingClientRect(),n=Math.round(r.height);if(A.body.removeChild(t),123===n)return!0}}return!1}(document);return Object.defineProperty(Pa,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Pa.SUPPORT_RANGE_BOUNDS&&function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";var r=e.firstChild,n=Pr(r.data).map((function(A){return Gr(A)})),s=0,o={},i=n.every((function(A,e){t.setStart(r,s),t.setEnd(r,s+A.length);var n=t.getBoundingClientRect();s+=A.length;var i=n.x>o.x||n.y>o.y;return o=n,0===e||i}));return A.body.removeChild(e),i}(document);return Object.defineProperty(Pa,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(e,0,0),t.toDataURL()}catch(n){return!1}return!0}(document);return Object.defineProperty(Pa,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"==typeof Array.from&&"function"==typeof window.fetch?function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,s=e.toDataURL();n.src=s;var o=Oa(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),Ra(o).then((function(e){r.drawImage(e,0,0);var n=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var o=A.createElement("div");return o.style.backgroundImage="url("+s+")",o.style.height=t+"px",Ta(n)?Ra(Oa(t,t,0,0,o)):Promise.reject(!1)})).then((function(A){return r.drawImage(A,0,0),Ta(r.getImageData(0,0,t,t).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(Pa,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=void 0!==(new Image).crossOrigin;return Object.defineProperty(Pa,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Pa,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Pa,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Pa,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Ga=function(){return function(A,e){this.text=A,this.bounds=e}}(),Va=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var s=Rr(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),s}}return Or.EMPTY},Na=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},Xa=function(A){if(Pa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map((function(A){return A.segment}))}return function(A){for(var e,t=ka(A),r=[];!(e=t.next()).done;)e.value&&r.push(e.value.slice());return r}(A)},Wa=function(A,e){return 0!==e.letterSpacing?Xa(A):function(A,e){if(Pa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map((function(A){return A.segment}))}return Ya(A,e)}(A,e)},Ja=[32,160,4961,65792,65793,4153,4241],Ya=function(A,e){for(var t,r=function(A,e){var t=Pr(A),r=Jn(t,e),n=r[0],s=r[1],o=r[2],i=t.length,a=0,l=0;return{next:function(){if(l>=i)return{done:!0,value:null};for(var A=jn;l<i&&(A=Wn(t,s,n,++l,o))===jn;);if(A!==jn||l===i){var e=new Yn(t,A,a,l);return a=l,{value:e,done:!1}}return{done:!0,value:null}}}}(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),n=[],s=function(){if(t.value){var A=t.value.slice(),e=Pr(A),r="";e.forEach((function(A){-1===Ja.indexOf(A)?r+=Gr(A):(r.length&&n.push(r),n.push(Gr(A)),r="")})),r.length&&n.push(r)}};!(t=r.next()).done;)s();return n},_a=function(){return function(A,e,t){this.text=Za(e.data,t.textTransform),this.textBounds=function(A,e,t,r){var n=Wa(e,t),s=[],o=0;return n.forEach((function(e){if(t.textDecorationLine.length||e.trim().length>0)if(Pa.SUPPORT_RANGE_BOUNDS){var n=Na(r,o,e.length).getClientRects();if(n.length>1){var i=Xa(e),a=0;i.forEach((function(e){s.push(new Ga(e,Or.fromDOMRectList(A,Na(r,a+o,e.length).getClientRects()))),a+=e.length}))}else s.push(new Ga(e,Or.fromDOMRectList(A,n)))}else{var l=r.splitText(e.length);s.push(new Ga(e,Va(A,r))),r=l}else Pa.SUPPORT_RANGE_BOUNDS||(r=r.splitText(e.length));o+=e.length})),s}(A,this.text,t,e)}}(),Za=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(za,qa);case 2:return A.toUpperCase();default:return A}},za=/(^|\s|:|-|\(|\))([a-z])/g,qa=function(A,e,t){return A.length>0?e+t.toUpperCase():A},$a=function(A){function e(e,t){var r=A.call(this,e,t)||this;return r.src=t.currentSrc||t.src,r.intrinsicWidth=t.naturalWidth,r.intrinsicHeight=t.naturalHeight,r.context.cache.addImage(r.src),r}return jr(e,A),e}(pa),Al=function(A){function e(e,t){var r=A.call(this,e,t)||this;return r.canvas=t,r.intrinsicWidth=t.width,r.intrinsicHeight=t.height,r}return jr(e,A),e}(pa),el=function(A){function e(e,t){var r=A.call(this,e,t)||this,n=new XMLSerializer,s=Rr(e,t);return t.setAttribute("width",s.width+"px"),t.setAttribute("height",s.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(t)),r.intrinsicWidth=t.width.baseVal.value,r.intrinsicHeight=t.height.baseVal.value,r.context.cache.addImage(r.svg),r}return jr(e,A),e}(pa),tl=function(A){function e(e,t){var r=A.call(this,e,t)||this;return r.value=t.value,r}return jr(e,A),e}(pa),rl=function(A){function e(e,t){var r=A.call(this,e,t)||this;return r.start=t.start,r.reversed="boolean"==typeof t.reversed&&!0===t.reversed,r}return jr(e,A),e}(pa),nl=[{type:15,flags:0,unit:"px",number:3}],sl=[{type:16,flags:0,number:50}],ol="checkbox",il="radio",al="password",ll=707406591,Bl=function(A){function e(e,t){var r,n,s,o=A.call(this,e,t)||this;switch(o.type=t.type.toLowerCase(),o.checked=t.checked,o.value=0===(n=(r=t).type===al?new Array(r.value.length+1).join("•"):r.value).length?r.placeholder||"":n,o.type!==ol&&o.type!==il||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=1,o.styles.backgroundClip=[0],o.styles.backgroundOrigin=[0],o.bounds=(s=o.bounds).width>s.height?new Or(s.left+(s.width-s.height)/2,s.top,s.height,s.height):s.width<s.height?new Or(s.left,s.top+(s.height-s.width)/2,s.width,s.width):s),o.type){case ol:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=nl;break;case il:o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=sl}return o}return jr(e,A),e}(pa),cl=function(A){function e(e,t){var r=A.call(this,e,t)||this,n=t.options[t.selectedIndex||0];return r.value=n&&n.text||"",r}return jr(e,A),e}(pa),ul=function(A){function e(e,t){var r=A.call(this,e,t)||this;return r.value=t.value,r}return jr(e,A),e}(pa),gl=function(A){function e(e,t){var r=A.call(this,e,t)||this;r.src=t.src,r.width=parseInt(t.width,10)||0,r.height=parseInt(t.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){r.tree=pl(e,t.contentWindow.document.documentElement);var n=t.contentWindow.document.documentElement?lo(e,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):Bo.TRANSPARENT,s=t.contentWindow.document.body?lo(e,getComputedStyle(t.contentWindow.document.body).backgroundColor):Bo.TRANSPARENT;r.backgroundColor=eo(n)?eo(s)?r.styles.backgroundColor:s:n}}catch(o){}return r}return jr(e,A),e}(pa),dl=["OL","UL","MENU"],hl=function(A,e,t,r){for(var n=e.firstChild,s=void 0;n;n=s)if(s=n.nextSibling,fl(n)&&n.data.trim().length>0)t.textNodes.push(new _a(A,n,t.styles));else if(Fl(n))if(Ml(n)&&n.assignedNodes)n.assignedNodes().forEach((function(e){return hl(A,e,t,r)}));else{var o=wl(A,n);o.styles.isVisible()&&(Cl(n,o,r)?o.flags|=4:Ql(o.styles)&&(o.flags|=2),-1!==dl.indexOf(n.tagName)&&(o.flags|=8),t.elements.push(o),n.slot,n.shadowRoot?hl(A,n.shadowRoot,o,r):jl(n)||bl(n)||Sl(n)||hl(A,n,o,r))}},wl=function(A,e){return Kl(e)?new $a(A,e):Il(e)?new Al(A,e):bl(e)?new el(A,e):ml(e)?new tl(A,e):yl(e)?new rl(A,e):Hl(e)?new Bl(A,e):Sl(e)?new cl(A,e):jl(e)?new ul(A,e):Ll(e)?new gl(A,e):new pa(A,e)},pl=function(A,e){var t=wl(A,e);return t.flags|=4,hl(A,e,t,t),t},Cl=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||El(A)&&t.styles.isTransparent()},Ql=function(A){return A.isPositioned()||A.isFloating()},fl=function(A){return A.nodeType===Node.TEXT_NODE},Fl=function(A){return A.nodeType===Node.ELEMENT_NODE},Ul=function(A){return Fl(A)&&void 0!==A.style&&!xl(A)},xl=function(A){return"object"==typeof A.className},ml=function(A){return"LI"===A.tagName},yl=function(A){return"OL"===A.tagName},Hl=function(A){return"INPUT"===A.tagName},bl=function(A){return"svg"===A.tagName},El=function(A){return"BODY"===A.tagName},Il=function(A){return"CANVAS"===A.tagName},vl=function(A){return"VIDEO"===A.tagName},Kl=function(A){return"IMG"===A.tagName},Ll=function(A){return"IFRAME"===A.tagName},Dl=function(A){return"STYLE"===A.tagName},jl=function(A){return"TEXTAREA"===A.tagName},Sl=function(A){return"SELECT"===A.tagName},Ml=function(A){return"SLOT"===A.tagName},kl=function(A){return A.tagName.indexOf("-")>0},Tl=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){var e=this.counters[A];return e||[]},A.prototype.pop=function(A){var e=this;A.forEach((function(A){return e.counters[A].pop()}))},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,r=A.counterReset,n=!0;null!==t&&t.forEach((function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(n=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)}));var s=[];return n&&r.forEach((function(A){var t=e.counters[A.counter];s.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)})),s},A}(),Ol={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Rl={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Pl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Gl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Vl=function(A,e,t,r,n,s){return A<e||A>t?ql(A,n,s.length>0):r.integers.reduce((function(e,t,n){for(;A>=t;)A-=t,e+=r.values[n];return e}),"")+s},Nl=function(A,e,t,r){var n="";do{t||A--,n=r(A)+n,A/=e}while(A*e>=e);return n},Xl=function(A,e,t,r,n){var s=t-e+1;return(A<0?"-":"")+(Nl(Math.abs(A),s,r,(function(A){return Gr(Math.floor(A%s)+e)}))+n)},Wl=function(A,e,t){void 0===t&&(t=". ");var r=e.length;return Nl(Math.abs(A),r,!1,(function(A){return e[Math.floor(A%r)]}))+t},Jl=function(A,e,t,r,n,s){if(A<-9999||A>9999)return ql(A,4,n.length>0);var o=Math.abs(A),i=n;if(0===o)return e[0]+i;for(var a=0;o>0&&a<=4;a++){var l=o%10;0===l&&ea(s,1)&&""!==i?i=e[l]+i:l>1||1===l&&0===a||1===l&&1===a&&ea(s,2)||1===l&&1===a&&ea(s,4)&&A>100||1===l&&a>1&&ea(s,8)?i=e[l]+(a>0?t[a-1]:"")+i:1===l&&a>0&&(i=t[a-1]+i),o=Math.floor(o/10)}return(A<0?r:"")+i},Yl="十百千萬",_l="拾佰仟萬",Zl="マイナス",zl="마이너스",ql=function(A,e,t){var r=t?". ":"",n=t?"、":"",s=t?", ":"",o=t?" ":"";switch(e){case 0:return"•"+o;case 1:return"◦"+o;case 2:return"◾"+o;case 5:var i=Xl(A,48,57,!0,r);return i.length<4?"0"+i:i;case 4:return Wl(A,"〇一二三四五六七八九",n);case 6:return Vl(A,1,3999,Ol,3,r).toLowerCase();case 7:return Vl(A,1,3999,Ol,3,r);case 8:return Xl(A,945,969,!1,r);case 9:return Xl(A,97,122,!1,r);case 10:return Xl(A,65,90,!1,r);case 11:return Xl(A,1632,1641,!0,r);case 12:case 49:return Vl(A,1,9999,Rl,3,r);case 35:return Vl(A,1,9999,Rl,3,r).toLowerCase();case 13:return Xl(A,2534,2543,!0,r);case 14:case 30:return Xl(A,6112,6121,!0,r);case 15:return Wl(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Wl(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Jl(A,"零一二三四五六七八九",Yl,"負",n,14);case 47:return Jl(A,"零壹貳參肆伍陸柒捌玖",_l,"負",n,15);case 42:return Jl(A,"零一二三四五六七八九",Yl,"负",n,14);case 41:return Jl(A,"零壹贰叁肆伍陆柒捌玖",_l,"负",n,15);case 26:return Jl(A,"〇一二三四五六七八九","十百千万",Zl,n,0);case 25:return Jl(A,"零壱弐参四伍六七八九","拾百千万",Zl,n,7);case 31:return Jl(A,"영일이삼사오육칠팔구","십백천만",zl,s,7);case 33:return Jl(A,"零一二三四五六七八九","十百千萬",zl,s,0);case 32:return Jl(A,"零壹貳參四五六七八九","拾百千",zl,s,7);case 18:return Xl(A,2406,2415,!0,r);case 20:return Vl(A,1,19999,Gl,3,r);case 21:return Xl(A,2790,2799,!0,r);case 22:return Xl(A,2662,2671,!0,r);case 22:return Vl(A,1,10999,Pl,3,r);case 23:return Wl(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Wl(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Xl(A,3302,3311,!0,r);case 28:return Wl(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Wl(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return Xl(A,3792,3801,!0,r);case 37:return Xl(A,6160,6169,!0,r);case 38:return Xl(A,4160,4169,!0,r);case 39:return Xl(A,2918,2927,!0,r);case 40:return Xl(A,1776,1785,!0,r);case 43:return Xl(A,3046,3055,!0,r);case 44:return Xl(A,3174,3183,!0,r);case 45:return Xl(A,3664,3673,!0,r);case 46:return Xl(A,3872,3881,!0,r);default:return Xl(A,48,57,!0,r)}},$l="data-html2canvas-ignore",AB=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new Tl,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,e){var t=this,r=rB(A,e);if(!r.contentWindow)return Promise.reject("Unable to find iframe window");var n=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,o=r.contentWindow,i=o.document,a=oB(r).then((function(){return Mr(t,0,void 0,(function(){var A,t;return kr(this,(function(n){switch(n.label){case 0:return this.scrolledElements.forEach(cB),o&&(o.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||o.scrollY===e.top&&o.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-e.left,o.scrollY-e.top,0,0))),A=this.options.onclone,void 0===(t=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:i.fonts&&i.fonts.ready?[4,i.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,sB(i)]:[3,4];case 3:n.sent(),n.label=4;case 4:return"function"==typeof A?[2,Promise.resolve().then((function(){return A(i,t)})).then((function(){return r}))]:[2,r]}}))}))}));return i.open(),i.write(lB(document.doctype)+"<html></html>"),BB(this.referenceElement.ownerDocument,n,s),i.replaceChild(i.adoptNode(this.documentElement),i.documentElement),i.close(),a},A.prototype.createElementClone=function(A){if(wa(A,2),Il(A))return this.createCanvasClone(A);if(vl(A))return this.createVideoClone(A);if(Dl(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return Kl(e)&&(Kl(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),kl(e)?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return aB(A.style,e),e},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce((function(A,e){return e&&"string"==typeof e.cssText?A+e.cssText:A}),""),r=A.cloneNode(!1);return r.textContent=t,r}}catch(n){if(this.context.logger.error("Unable to access cssRules property",n),"SecurityError"!==n.name)throw n}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(a){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var r=A.cloneNode(!1);try{r.width=A.width,r.height=A.height;var n=A.getContext("2d"),s=r.getContext("2d");if(s)if(!this.options.allowTaint&&n)s.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var o=null!==(e=A.getContext("webgl2"))&&void 0!==e?e:A.getContext("webgl");if(o){var i=o.getContextAttributes();!1===(null==i?void 0:i.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return r}catch(a){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return r},A.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch(n){this.context.logger.info("Unable to clone video as it is tainted",A)}var r=A.ownerDocument.createElement("canvas");return r.width=A.offsetWidth,r.height=A.offsetHeight,r},A.prototype.appendChildNode=function(A,e,t){Fl(e)&&("SCRIPT"===e.tagName||e.hasAttribute($l)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&Fl(e)&&Dl(e)||A.appendChild(this.cloneNode(e,t))},A.prototype.cloneChildNodes=function(A,e,t){for(var r=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(Fl(n)&&Ml(n)&&"function"==typeof n.assignedNodes){var s=n.assignedNodes();s.length&&s.forEach((function(A){return r.appendChildNode(e,A,t)}))}else this.appendChildNode(e,n,t)},A.prototype.cloneNode=function(A,e){if(fl(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&Fl(A)&&(Ul(A)||xl(A))){var r=this.createElementClone(A);r.style.transitionProperty="none";var n=t.getComputedStyle(A),s=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&Ul(r)&&(this.clonedReferenceElement=r),El(r)&&hB(r);var i=this.counters.parse(new da(this.context,n)),a=this.resolvePseudoContent(A,r,s,Ha.BEFORE);kl(A)&&(e=!0),vl(A)||this.cloneChildNodes(A,r,e),a&&r.insertBefore(a,r.firstChild);var l=this.resolvePseudoContent(A,r,o,Ha.AFTER);return l&&r.appendChild(l),this.counters.pop(i),(n&&(this.options.copyStyles||xl(A))&&!Ll(A)||e)&&aB(n,r),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([r,A.scrollLeft,A.scrollTop]),(jl(A)||Sl(A))&&(jl(r)||Sl(r))&&(r.value=A.value),r}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,r){var n=this;if(t){var s=t.content,o=e.ownerDocument;if(o&&s&&"none"!==s&&"-moz-alt-content"!==s&&"none"!==t.display){this.counters.parse(new da(this.context,t));var i=new ga(this.context,t),a=o.createElement("html2canvaspseudoelement");aB(t,a),i.content.forEach((function(e){if(0===e.type)a.appendChild(o.createTextNode(e.value));else if(22===e.type){var t=o.createElement("img");t.src=e.value,t.style.opacity="1",a.appendChild(t)}else if(18===e.type){if("attr"===e.name){var r=e.values.filter(Ds);r.length&&a.appendChild(o.createTextNode(A.getAttribute(r[0].value)||""))}else if("counter"===e.name){var s=e.values.filter(ks),l=s[0],B=s[1];if(l&&Ds(l)){var c=n.counters.getCounterValue(l.value),u=B&&Ds(B)?Fi.parse(n.context,B.value):3;a.appendChild(o.createTextNode(ql(c,u,!1)))}}else if("counters"===e.name){var g=e.values.filter(ks),d=(l=g[0],g[1]);B=g[2];if(l&&Ds(l)){var h=n.counters.getCounterValues(l.value),w=B&&Ds(B)?Fi.parse(n.context,B.value):3,p=d&&0===d.type?d.value:"",C=h.map((function(A){return ql(A,w,!1)})).join(p);a.appendChild(o.createTextNode(C))}}}else if(20===e.type)switch(e.value){case"open-quote":a.appendChild(o.createTextNode(ia(i.quotes,n.quoteDepth++,!0)));break;case"close-quote":a.appendChild(o.createTextNode(ia(i.quotes,--n.quoteDepth,!1)));break;default:a.appendChild(o.createTextNode(e.value))}})),a.className=uB+" "+gB;var l=r===Ha.BEFORE?" "+uB:" "+gB;return xl(e)?e.className.baseValue+=l:e.className+=l,a}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();(ba=Ha||(Ha={}))[ba.BEFORE=0]="BEFORE",ba[ba.AFTER=1]="AFTER";var eB,tB,rB=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute($l,"true"),A.body.appendChild(t),t},nB=function(A){return new Promise((function(e){A.complete?e():A.src?(A.onload=e,A.onerror=e):e()}))},sB=function(A){return Promise.all([].slice.call(A.images,0).map(nB))},oB=function(A){return new Promise((function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var t=setInterval((function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(t),e(A))}),50)}}))},iB=["all","d","content"],aB=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);-1===iB.indexOf(r)&&e.style.setProperty(r,A.getPropertyValue(r))}return e},lB=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},BB=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},cB=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},uB="___html2canvas___pseudoelement_before",gB="___html2canvas___pseudoelement_after",dB='{\n    content: "" !important;\n    display: none !important;\n}',hB=function(A){wB(A,"."+uB+":before"+dB+"\n         ."+gB+":after"+dB)},wB=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},pB=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),CB=function(){function A(A,e){this.context=A,this._options=e,this._cache={}}return A.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)?e:yB(A)||UB(A)?((this._cache[A]=this.loadImage(A)).catch((function(){})),e):e},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return Mr(this,0,void 0,(function(){var e,t,r,n,s=this;return kr(this,(function(o){switch(o.label){case 0:return e=pB.isSameOrigin(A),t=!xB(A)&&!0===this._options.useCORS&&Pa.SUPPORT_CORS_IMAGES&&!e,r=!xB(A)&&!e&&!yB(A)&&"string"==typeof this._options.proxy&&Pa.SUPPORT_CORS_XHR&&!t,e||!1!==this._options.allowTaint||xB(A)||yB(A)||r||t?(n=A,r?[4,this.proxy(n)]:[3,2]):[2];case 1:n=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise((function(A,e){var r=new Image;r.onload=function(){return A(r)},r.onerror=e,(mB(n)||t)&&(r.crossOrigin="anonymous"),r.src=n,!0===r.complete&&setTimeout((function(){return A(r)}),500),s._options.imageTimeout>0&&setTimeout((function(){return e("Timed out ("+s._options.imageTimeout+"ms) loading image")}),s._options.imageTimeout)}))];case 3:return[2,o.sent()]}}))}))},A.prototype.has=function(A){return void 0!==this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var r=A.substring(0,256);return new Promise((function(n,s){var o=Pa.SUPPORT_RESPONSE_TYPE?"blob":"text",i=new XMLHttpRequest;i.onload=function(){if(200===i.status)if("text"===o)n(i.response);else{var A=new FileReader;A.addEventListener("load",(function(){return n(A.result)}),!1),A.addEventListener("error",(function(A){return s(A)}),!1),A.readAsDataURL(i.response)}else s("Failed to proxy resource "+r+" with status code "+i.status)},i.onerror=s;var a=t.indexOf("?")>-1?"&":"?";if(i.open("GET",""+t+a+"url="+encodeURIComponent(A)+"&responseType="+o),"text"!==o&&i instanceof XMLHttpRequest&&(i.responseType=o),e._options.imageTimeout){var l=e._options.imageTimeout;i.timeout=l,i.ontimeout=function(){return s("Timed out ("+l+"ms) proxying "+r)}}i.send()}))},A}(),QB=/^data:image\/svg\+xml/i,fB=/^data:image\/.*;base64,/i,FB=/^data:image\/.*/i,UB=function(A){return Pa.SUPPORT_SVG_DRAWING||!HB(A)},xB=function(A){return FB.test(A)},mB=function(A){return fB.test(A)},yB=function(A){return"blob"===A.substr(0,4)},HB=function(A){return"svg"===A.substr(-3).toLowerCase()||QB.test(A)},bB=function(){function A(A,e){this.type=0,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),EB=function(A,e,t){return new bB(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},IB=function(){function A(A,e,t,r){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=r}return A.prototype.subdivide=function(e,t){var r=EB(this.start,this.startControl,e),n=EB(this.startControl,this.endControl,e),s=EB(this.endControl,this.end,e),o=EB(r,n,e),i=EB(n,s,e),a=EB(o,i,e);return t?new A(this.start,r,o,a):new A(a,i,s,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),vB=function(A){return 1===A.type},KB=function(){return function(A){var e=A.styles,t=A.bounds,r=Ws(e.borderTopLeftRadius,t.width,t.height),n=r[0],s=r[1],o=Ws(e.borderTopRightRadius,t.width,t.height),i=o[0],a=o[1],l=Ws(e.borderBottomRightRadius,t.width,t.height),B=l[0],c=l[1],u=Ws(e.borderBottomLeftRadius,t.width,t.height),g=u[0],d=u[1],h=[];h.push((n+i)/t.width),h.push((g+B)/t.width),h.push((s+d)/t.height),h.push((a+c)/t.height);var w=Math.max.apply(Math,h);w>1&&(n/=w,s/=w,i/=w,a/=w,B/=w,c/=w,g/=w,d/=w);var p=t.width-i,C=t.height-c,Q=t.width-B,f=t.height-d,F=e.borderTopWidth,U=e.borderRightWidth,x=e.borderBottomWidth,m=e.borderLeftWidth,y=Js(e.paddingTop,A.bounds.width),H=Js(e.paddingRight,A.bounds.width),b=Js(e.paddingBottom,A.bounds.width),E=Js(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||s>0?LB(t.left+m/3,t.top+F/3,n-m/3,s-F/3,eB.TOP_LEFT):new bB(t.left+m/3,t.top+F/3),this.topRightBorderDoubleOuterBox=n>0||s>0?LB(t.left+p,t.top+F/3,i-U/3,a-F/3,eB.TOP_RIGHT):new bB(t.left+t.width-U/3,t.top+F/3),this.bottomRightBorderDoubleOuterBox=B>0||c>0?LB(t.left+Q,t.top+C,B-U/3,c-x/3,eB.BOTTOM_RIGHT):new bB(t.left+t.width-U/3,t.top+t.height-x/3),this.bottomLeftBorderDoubleOuterBox=g>0||d>0?LB(t.left+m/3,t.top+f,g-m/3,d-x/3,eB.BOTTOM_LEFT):new bB(t.left+m/3,t.top+t.height-x/3),this.topLeftBorderDoubleInnerBox=n>0||s>0?LB(t.left+2*m/3,t.top+2*F/3,n-2*m/3,s-2*F/3,eB.TOP_LEFT):new bB(t.left+2*m/3,t.top+2*F/3),this.topRightBorderDoubleInnerBox=n>0||s>0?LB(t.left+p,t.top+2*F/3,i-2*U/3,a-2*F/3,eB.TOP_RIGHT):new bB(t.left+t.width-2*U/3,t.top+2*F/3),this.bottomRightBorderDoubleInnerBox=B>0||c>0?LB(t.left+Q,t.top+C,B-2*U/3,c-2*x/3,eB.BOTTOM_RIGHT):new bB(t.left+t.width-2*U/3,t.top+t.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=g>0||d>0?LB(t.left+2*m/3,t.top+f,g-2*m/3,d-2*x/3,eB.BOTTOM_LEFT):new bB(t.left+2*m/3,t.top+t.height-2*x/3),this.topLeftBorderStroke=n>0||s>0?LB(t.left+m/2,t.top+F/2,n-m/2,s-F/2,eB.TOP_LEFT):new bB(t.left+m/2,t.top+F/2),this.topRightBorderStroke=n>0||s>0?LB(t.left+p,t.top+F/2,i-U/2,a-F/2,eB.TOP_RIGHT):new bB(t.left+t.width-U/2,t.top+F/2),this.bottomRightBorderStroke=B>0||c>0?LB(t.left+Q,t.top+C,B-U/2,c-x/2,eB.BOTTOM_RIGHT):new bB(t.left+t.width-U/2,t.top+t.height-x/2),this.bottomLeftBorderStroke=g>0||d>0?LB(t.left+m/2,t.top+f,g-m/2,d-x/2,eB.BOTTOM_LEFT):new bB(t.left+m/2,t.top+t.height-x/2),this.topLeftBorderBox=n>0||s>0?LB(t.left,t.top,n,s,eB.TOP_LEFT):new bB(t.left,t.top),this.topRightBorderBox=i>0||a>0?LB(t.left+p,t.top,i,a,eB.TOP_RIGHT):new bB(t.left+t.width,t.top),this.bottomRightBorderBox=B>0||c>0?LB(t.left+Q,t.top+C,B,c,eB.BOTTOM_RIGHT):new bB(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=g>0||d>0?LB(t.left,t.top+f,g,d,eB.BOTTOM_LEFT):new bB(t.left,t.top+t.height),this.topLeftPaddingBox=n>0||s>0?LB(t.left+m,t.top+F,Math.max(0,n-m),Math.max(0,s-F),eB.TOP_LEFT):new bB(t.left+m,t.top+F),this.topRightPaddingBox=i>0||a>0?LB(t.left+Math.min(p,t.width-U),t.top+F,p>t.width+U?0:Math.max(0,i-U),Math.max(0,a-F),eB.TOP_RIGHT):new bB(t.left+t.width-U,t.top+F),this.bottomRightPaddingBox=B>0||c>0?LB(t.left+Math.min(Q,t.width-m),t.top+Math.min(C,t.height-x),Math.max(0,B-U),Math.max(0,c-x),eB.BOTTOM_RIGHT):new bB(t.left+t.width-U,t.top+t.height-x),this.bottomLeftPaddingBox=g>0||d>0?LB(t.left+m,t.top+Math.min(f,t.height-x),Math.max(0,g-m),Math.max(0,d-x),eB.BOTTOM_LEFT):new bB(t.left+m,t.top+t.height-x),this.topLeftContentBox=n>0||s>0?LB(t.left+m+E,t.top+F+y,Math.max(0,n-(m+E)),Math.max(0,s-(F+y)),eB.TOP_LEFT):new bB(t.left+m+E,t.top+F+y),this.topRightContentBox=i>0||a>0?LB(t.left+Math.min(p,t.width+m+E),t.top+F+y,p>t.width+m+E?0:i-m+E,a-(F+y),eB.TOP_RIGHT):new bB(t.left+t.width-(U+H),t.top+F+y),this.bottomRightContentBox=B>0||c>0?LB(t.left+Math.min(Q,t.width-(m+E)),t.top+Math.min(C,t.height+F+y),Math.max(0,B-(U+H)),c-(x+b),eB.BOTTOM_RIGHT):new bB(t.left+t.width-(U+H),t.top+t.height-(x+b)),this.bottomLeftContentBox=g>0||d>0?LB(t.left+m+E,t.top+f,Math.max(0,g-(m+E)),d-(x+b),eB.BOTTOM_LEFT):new bB(t.left+m+E,t.top+t.height-(x+b))}}();(tB=eB||(eB={}))[tB.TOP_LEFT=0]="TOP_LEFT",tB[tB.TOP_RIGHT=1]="TOP_RIGHT",tB[tB.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",tB[tB.BOTTOM_LEFT=3]="BOTTOM_LEFT";var LB=function(A,e,t,r,n){var s=(Math.sqrt(2)-1)/3*4,o=t*s,i=r*s,a=A+t,l=e+r;switch(n){case eB.TOP_LEFT:return new IB(new bB(A,l),new bB(A,l-i),new bB(a-o,e),new bB(a,e));case eB.TOP_RIGHT:return new IB(new bB(A,e),new bB(A+o,e),new bB(a,l-i),new bB(a,l));case eB.BOTTOM_RIGHT:return new IB(new bB(a,e),new bB(a,e+i),new bB(A+o,l),new bB(A,l));case eB.BOTTOM_LEFT:default:return new IB(new bB(a,l),new bB(a-o,l),new bB(A,e+i),new bB(A,e))}},DB=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},jB=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},SB=function(){return function(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6}}(),MB=function(){return function(A,e){this.path=A,this.target=e,this.type=1}}(),kB=function(){return function(A){this.opacity=A,this.type=2,this.target=6}}(),TB=function(A){return 1===A.type},OB=function(A,e){return A.length===e.length&&A.some((function(A,t){return A===e[t]}))},RB=function(){return function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),PB=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new KB(this.container),this.container.styles.opacity<1&&this.effects.push(new kB(this.container.styles.opacity)),null!==this.container.styles.transform){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new SB(t,r,n))}if(0!==this.container.styles.overflowX){var s=DB(this.curves),o=jB(this.curves);OB(s,o)?this.effects.push(new MB(s,6)):(this.effects.push(new MB(s,2)),this.effects.push(new MB(o,4)))}}return A.prototype.getEffects=function(A){for(var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,r=this.effects.slice(0);t;){var n=t.effects.filter((function(A){return!TB(A)}));if(e||0!==t.container.styles.position||!t.parent){if(r.unshift.apply(r,n),e=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var s=DB(t.curves),o=jB(t.curves);OB(s,o)||r.unshift(new MB(o,6))}}else r.unshift.apply(r,n);t=t.parent}return r.filter((function(e){return ea(e.target,A)}))},A}(),GB=function(A,e,t,r){A.container.elements.forEach((function(n){var s=ea(n.flags,4),o=ea(n.flags,2),i=new PB(n,A);ea(n.styles.display,2048)&&r.push(i);var a=ea(n.flags,8)?[]:r;if(s||o){var l=s||n.styles.isPositioned()?t:e,B=new RB(i);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var c=n.styles.zIndex.order;if(c<0){var u=0;l.negativeZIndex.some((function(A,e){return c>A.element.container.styles.zIndex.order?(u=e,!1):u>0})),l.negativeZIndex.splice(u,0,B)}else if(c>0){var g=0;l.positiveZIndex.some((function(A,e){return c>=A.element.container.styles.zIndex.order?(g=e+1,!1):g>0})),l.positiveZIndex.splice(g,0,B)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(B)}else n.styles.isFloating()?l.nonPositionedFloats.push(B):l.nonPositionedInlineLevel.push(B);GB(i,B,s?B:t,a)}else n.styles.isInlineLevel()?e.inlineLevel.push(i):e.nonInlineLevel.push(i),GB(i,e,t,a);ea(n.flags,8)&&VB(n,a)}))},VB=function(A,e){for(var t=A instanceof rl?A.start:1,r=A instanceof rl&&A.reversed,n=0;n<e.length;n++){var s=e[n];s.container instanceof tl&&"number"==typeof s.container.value&&0!==s.container.value&&(t=s.container.value),s.listValue=ql(t,s.container.styles.listStyleType,!0),t+=r?-1:1}},NB=function(A,e){switch(e){case 0:return WB(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return WB(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return WB(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return WB(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},XB=function(A,e){var t=[];return vB(A)?t.push(A.subdivide(.5,!1)):t.push(A),vB(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},WB=function(A,e,t,r){var n=[];return vB(A)?n.push(A.subdivide(.5,!1)):n.push(A),vB(t)?n.push(t.subdivide(.5,!0)):n.push(t),vB(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),vB(e)?n.push(e.subdivide(.5,!1).reverse()):n.push(e),n},JB=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},YB=function(A){var e=A.styles,t=A.bounds,r=Js(e.paddingLeft,t.width),n=Js(e.paddingRight,t.width),s=Js(e.paddingTop,t.width),o=Js(e.paddingBottom,t.width);return t.add(r+e.borderLeftWidth,s+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+r+n),-(e.borderTopWidth+e.borderBottomWidth+s+o))},_B=function(A,e,t){var r,n,s=(r=$B(A.styles.backgroundOrigin,e),n=A,0===r?n.bounds:2===r?YB(n):JB(n)),o=function(A,e){return 0===A?e.bounds:2===A?YB(e):JB(e)}($B(A.styles.backgroundClip,e),A),i=qB($B(A.styles.backgroundSize,e),t,s),a=i[0],l=i[1],B=Ws($B(A.styles.backgroundPosition,e),s.width-a,s.height-l);return[Ac($B(A.styles.backgroundRepeat,e),B,i,s,o),Math.round(s.left+B[0]),Math.round(s.top+B[1]),a,l]},ZB=function(A){return Ds(A)&&A.value===vo.AUTO},zB=function(A){return"number"==typeof A},qB=function(A,e,t){var r=e[0],n=e[1],s=e[2],o=A[0],i=A[1];if(!o)return[0,0];if(Ps(o)&&i&&Ps(i))return[Js(o,t.width),Js(i,t.height)];var a=zB(s);if(Ds(o)&&(o.value===vo.CONTAIN||o.value===vo.COVER))return zB(s)?t.width/t.height<s!=(o.value===vo.COVER)?[t.width,t.width/s]:[t.height*s,t.height]:[t.width,t.height];var l=zB(r),B=zB(n),c=l||B;if(ZB(o)&&(!i||ZB(i)))return l&&B?[r,n]:a||c?c&&a?[l?r:n*s,B?n:r/s]:[l?r:t.width,B?n:t.height]:[t.width,t.height];if(a){var u=0,g=0;return Ps(o)?u=Js(o,t.width):Ps(i)&&(g=Js(i,t.height)),ZB(o)?u=g*s:i&&!ZB(i)||(g=u/s),[u,g]}var d=null,h=null;if(Ps(o)?d=Js(o,t.width):i&&Ps(i)&&(h=Js(i,t.height)),null===d||i&&!ZB(i)||(h=l&&B?d/r*n:t.height),null!==h&&ZB(o)&&(d=l&&B?h/n*r:t.width),null!==d&&null!==h)return[d,h];throw new Error("Unable to calculate background-size for element")},$B=function(A,e){var t=A[e];return void 0===t?A[0]:t},Ac=function(A,e,t,r,n){var s=e[0],o=e[1],i=t[0],a=t[1];switch(A){case 2:return[new bB(Math.round(r.left),Math.round(r.top+o)),new bB(Math.round(r.left+r.width),Math.round(r.top+o)),new bB(Math.round(r.left+r.width),Math.round(a+r.top+o)),new bB(Math.round(r.left),Math.round(a+r.top+o))];case 3:return[new bB(Math.round(r.left+s),Math.round(r.top)),new bB(Math.round(r.left+s+i),Math.round(r.top)),new bB(Math.round(r.left+s+i),Math.round(r.height+r.top)),new bB(Math.round(r.left+s),Math.round(r.height+r.top))];case 1:return[new bB(Math.round(r.left+s),Math.round(r.top+o)),new bB(Math.round(r.left+s+i),Math.round(r.top+o)),new bB(Math.round(r.left+s+i),Math.round(r.top+o+a)),new bB(Math.round(r.left+s),Math.round(r.top+o+a))];default:return[new bB(Math.round(n.left),Math.round(n.top)),new bB(Math.round(n.left+n.width),Math.round(n.top)),new bB(Math.round(n.left+n.width),Math.round(n.height+n.top)),new bB(Math.round(n.left),Math.round(n.height+n.top))]}},ec="Hidden Text",tc=function(){function A(A){this._data={},this._document=A}return A.prototype.parseMetrics=function(A,e){var t=this._document.createElement("div"),r=this._document.createElement("img"),n=this._document.createElement("span"),s=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=e,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",s.appendChild(t),r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(ec)),t.appendChild(n),t.appendChild(r);var o=r.offsetTop-n.offsetTop+2;t.removeChild(n),t.appendChild(this._document.createTextNode(ec)),t.style.lineHeight="normal",r.style.verticalAlign="super";var i=r.offsetTop-t.offsetTop+2;return s.removeChild(t),{baseline:o,middle:i}},A.prototype.getMetrics=function(A,e){var t=A+" "+e;return void 0===this._data[t]&&(this._data[t]=this.parseMetrics(A,e)),this._data[t]},A}(),rc=function(){return function(A,e){this.context=A,this.options=e}}(),nc=function(A){function e(e,t){var r=A.call(this,e,t)||this;return r._activeEffects=[],r.canvas=t.canvas?t.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),t.canvas||(r.canvas.width=Math.floor(t.width*t.scale),r.canvas.height=Math.floor(t.height*t.scale),r.canvas.style.width=t.width+"px",r.canvas.style.height=t.height+"px"),r.fontMetrics=new tc(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-t.x,-t.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),r}return jr(e,A),e.prototype.applyEffects=function(A){for(var e=this;this._activeEffects.length;)this.popEffect();A.forEach((function(A){return e.applyEffect(A)}))},e.prototype.applyEffect=function(A){this.ctx.save(),function(A){return 2===A.type}(A)&&(this.ctx.globalAlpha=A.opacity),function(A){return 0===A.type}(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),TB(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(A){return Mr(this,0,void 0,(function(){return kr(this,(function(e){switch(e.label){case 0:return A.element.container.styles.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},e.prototype.renderNode=function(A){return Mr(this,0,void 0,(function(){return kr(this,(function(e){switch(e.label){case 0:return ea(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(A)];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},e.prototype.renderTextWithLetterSpacing=function(A,e,t){var r=this;0===e?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+t):Xa(A.text).reduce((function(e,n){return r.ctx.fillText(n,e,A.bounds.top+t),e+r.ctx.measureText(n).width}),A.bounds.left)},e.prototype.createFontStyle=function(A){var e=A.fontVariant.filter((function(A){return"normal"===A||"small-caps"===A})).join(""),t=lc(A.fontFamily).join(", "),r=Ks(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,e,A.fontWeight,r,t].join(" "),t,r]},e.prototype.renderTextNode=function(A,e){return Mr(this,0,void 0,(function(){var t,r,n,s,o,i,a,l,B=this;return kr(this,(function(c){return t=this.createFontStyle(e),r=t[0],n=t[1],s=t[2],this.ctx.font=r,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(n,s),i=o.baseline,a=o.middle,l=e.paintOrder,A.textBounds.forEach((function(A){l.forEach((function(t){switch(t){case 0:B.ctx.fillStyle=to(e.color),B.renderTextWithLetterSpacing(A,e.letterSpacing,i);var r=e.textShadow;r.length&&A.text.trim().length&&(r.slice(0).reverse().forEach((function(t){B.ctx.shadowColor=to(t.color),B.ctx.shadowOffsetX=t.offsetX.number*B.options.scale,B.ctx.shadowOffsetY=t.offsetY.number*B.options.scale,B.ctx.shadowBlur=t.blur.number,B.renderTextWithLetterSpacing(A,e.letterSpacing,i)})),B.ctx.shadowColor="",B.ctx.shadowOffsetX=0,B.ctx.shadowOffsetY=0,B.ctx.shadowBlur=0),e.textDecorationLine.length&&(B.ctx.fillStyle=to(e.textDecorationColor||e.color),e.textDecorationLine.forEach((function(e){switch(e){case 1:B.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top+i),A.bounds.width,1);break;case 2:B.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1);break;case 3:B.ctx.fillRect(A.bounds.left,Math.ceil(A.bounds.top+a),A.bounds.width,1)}})));break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(B.ctx.strokeStyle=to(e.webkitTextStrokeColor),B.ctx.lineWidth=e.webkitTextStrokeWidth,B.ctx.lineJoin=window.chrome?"miter":"round",B.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+i)),B.ctx.strokeStyle="",B.ctx.lineWidth=0,B.ctx.lineJoin="miter"}}))})),[2]}))}))},e.prototype.renderReplacedElement=function(A,e,t){if(t&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var r=YB(A),n=jB(e);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return Mr(this,0,void 0,(function(){var t,r,n,s,o,i,a,l,B,c,u,g,d,h,w,p,C,Q;return kr(this,(function(f){switch(f.label){case 0:this.applyEffects(A.getEffects(4)),t=A.container,r=A.curves,n=t.styles,s=0,o=t.textNodes,f.label=1;case 1:return s<o.length?(i=o[s],[4,this.renderTextNode(i,n)]):[3,4];case 2:f.sent(),f.label=3;case 3:return s++,[3,1];case 4:if(!(t instanceof $a))return[3,8];f.label=5;case 5:return f.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return w=f.sent(),this.renderReplacedElement(t,r,w),[3,8];case 7:return f.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Al&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof el))return[3,12];f.label=9;case 9:return f.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return w=f.sent(),this.renderReplacedElement(t,r,w),[3,12];case 11:return f.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof gl&&t.tree?[4,new e(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:a=f.sent(),t.width&&t.height&&this.ctx.drawImage(a,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),f.label=14;case 14:if(t instanceof Bl&&(l=Math.min(t.bounds.width,t.bounds.height),t.type===ol?t.checked&&(this.ctx.save(),this.path([new bB(t.bounds.left+.39363*l,t.bounds.top+.79*l),new bB(t.bounds.left+.16*l,t.bounds.top+.5549*l),new bB(t.bounds.left+.27347*l,t.bounds.top+.44071*l),new bB(t.bounds.left+.39694*l,t.bounds.top+.5649*l),new bB(t.bounds.left+.72983*l,t.bounds.top+.23*l),new bB(t.bounds.left+.84*l,t.bounds.top+.34085*l),new bB(t.bounds.left+.39363*l,t.bounds.top+.79*l)]),this.ctx.fillStyle=to(ll),this.ctx.fill(),this.ctx.restore()):t.type===il&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+l/2,t.bounds.top+l/2,l/4,0,2*Math.PI,!0),this.ctx.fillStyle=to(ll),this.ctx.fill(),this.ctx.restore())),sc(t)&&t.value.length){switch(B=this.createFontStyle(n),C=B[0],c=B[1],u=this.fontMetrics.getMetrics(C,c).baseline,this.ctx.font=C,this.ctx.fillStyle=to(n.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ic(t.styles.textAlign),Q=YB(t),g=0,t.styles.textAlign){case 1:g+=Q.width/2;break;case 2:g+=Q.width}d=Q.add(g,0,0,-Q.height/2+1),this.ctx.save(),this.path([new bB(Q.left,Q.top),new bB(Q.left+Q.width,Q.top),new bB(Q.left+Q.width,Q.top+Q.height),new bB(Q.left,Q.top+Q.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Ga(t.value,d),n.letterSpacing,u),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ea(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(h=t.styles.listStyleImage).type)return[3,18];w=void 0,p=h.url,f.label=15;case 15:return f.trys.push([15,17,,18]),[4,this.context.cache.match(p)];case 16:return w=f.sent(),this.ctx.drawImage(w,t.bounds.left-(w.width+10),t.bounds.top),[3,18];case 17:return f.sent(),this.context.logger.error("Error loading list-style-image "+p),[3,18];case 18:return[3,20];case 19:A.listValue&&-1!==t.styles.listStyleType&&(C=this.createFontStyle(n)[0],this.ctx.font=C,this.ctx.fillStyle=to(n.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Q=new Or(t.bounds.left,t.bounds.top+Js(t.styles.paddingTop,t.bounds.width),t.bounds.width,Ci(n.lineHeight,n.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Ga(A.listValue,Q),n.letterSpacing,Ci(n.lineHeight,n.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),f.label=20;case 20:return[2]}}))}))},e.prototype.renderStackContent=function(A){return Mr(this,0,void 0,(function(){var e,t,r,n,s,o,i,a,l,B,c,u,g,d,h;return kr(this,(function(w){switch(w.label){case 0:return ea(A.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:w.sent(),e=0,t=A.negativeZIndex,w.label=2;case 2:return e<t.length?(h=t[e],[4,this.renderStack(h)]):[3,5];case 3:w.sent(),w.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:w.sent(),r=0,n=A.nonInlineLevel,w.label=7;case 7:return r<n.length?(h=n[r],[4,this.renderNode(h)]):[3,10];case 8:w.sent(),w.label=9;case 9:return r++,[3,7];case 10:s=0,o=A.nonPositionedFloats,w.label=11;case 11:return s<o.length?(h=o[s],[4,this.renderStack(h)]):[3,14];case 12:w.sent(),w.label=13;case 13:return s++,[3,11];case 14:i=0,a=A.nonPositionedInlineLevel,w.label=15;case 15:return i<a.length?(h=a[i],[4,this.renderStack(h)]):[3,18];case 16:w.sent(),w.label=17;case 17:return i++,[3,15];case 18:l=0,B=A.inlineLevel,w.label=19;case 19:return l<B.length?(h=B[l],[4,this.renderNode(h)]):[3,22];case 20:w.sent(),w.label=21;case 21:return l++,[3,19];case 22:c=0,u=A.zeroOrAutoZIndexOrTransformedOrOpacity,w.label=23;case 23:return c<u.length?(h=u[c],[4,this.renderStack(h)]):[3,26];case 24:w.sent(),w.label=25;case 25:return c++,[3,23];case 26:g=0,d=A.positiveZIndex,w.label=27;case 27:return g<d.length?(h=d[g],[4,this.renderStack(h)]):[3,30];case 28:w.sent(),w.label=29;case 29:return g++,[3,27];case 30:return[2]}}))}))},e.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},e.prototype.formatPath=function(A){var e=this;A.forEach((function(A,t){var r=vB(A)?A.start:A;0===t?e.ctx.moveTo(r.x,r.y):e.ctx.lineTo(r.x,r.y),vB(A)&&e.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)}))},e.prototype.renderRepeat=function(A,e,t,r){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(t,r),this.ctx.fill(),this.ctx.translate(-t,-r)},e.prototype.resizeImage=function(A,e,t){var r;if(A.width===e&&A.height===t)return A;var n=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return n.width=Math.max(1,e),n.height=Math.max(1,t),n.getContext("2d").drawImage(A,0,0,A.width,A.height,0,0,e,t),n},e.prototype.renderBackgroundImage=function(A){return Mr(this,0,void 0,(function(){var e,t,r,n,s,o;return kr(this,(function(i){switch(i.label){case 0:e=A.styles.backgroundImage.length-1,t=function(t){var n,s,o,i,a,l,B,c,u,g,d,h,w,p,C,Q,f,F,U,x,m,y,H,b,E,I,v,K,L,D,j;return kr(this,(function(S){switch(S.label){case 0:if(0!==t.type)return[3,5];n=void 0,s=t.url,S.label=1;case 1:return S.trys.push([1,3,,4]),[4,r.context.cache.match(s)];case 2:return n=S.sent(),[3,4];case 3:return S.sent(),r.context.logger.error("Error loading background-image "+s),[3,4];case 4:return n&&(o=_B(A,e,[n.width,n.height,n.width/n.height]),Q=o[0],y=o[1],H=o[2],U=o[3],x=o[4],p=r.ctx.createPattern(r.resizeImage(n,U,x),"repeat"),r.renderRepeat(Q,p,y,H)),[3,6];case 5:1===t.type?(i=_B(A,e,[null,null,null]),Q=i[0],y=i[1],H=i[2],U=i[3],x=i[4],a=wo(t.angle,U,x),l=a[0],B=a[1],c=a[2],u=a[3],g=a[4],(d=document.createElement("canvas")).width=U,d.height=x,h=d.getContext("2d"),w=h.createLinearGradient(B,u,c,g),ho(t.stops,l).forEach((function(A){return w.addColorStop(A.stop,to(A.color))})),h.fillStyle=w,h.fillRect(0,0,U,x),U>0&&x>0&&(p=r.ctx.createPattern(d,"repeat"),r.renderRepeat(Q,p,y,H))):function(A){return 2===A.type}(t)&&(C=_B(A,e,[null,null,null]),Q=C[0],f=C[1],F=C[2],U=C[3],x=C[4],m=0===t.position.length?[Ns]:t.position,y=Js(m[0],U),H=Js(m[m.length-1],x),b=function(A,e,t,r,n){var s=0,o=0;switch(A.size){case 0:0===A.shape?s=o=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):1===A.shape&&(s=Math.min(Math.abs(e),Math.abs(e-r)),o=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(0===A.shape)s=o=Math.min(po(e,t),po(e,t-n),po(e-r,t),po(e-r,t-n));else if(1===A.shape){var i=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),a=Co(r,n,e,t,!0),l=a[0],B=a[1];o=i*(s=po(l-e,(B-t)/i))}break;case 1:0===A.shape?s=o=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):1===A.shape&&(s=Math.max(Math.abs(e),Math.abs(e-r)),o=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(0===A.shape)s=o=Math.max(po(e,t),po(e,t-n),po(e-r,t),po(e-r,t-n));else if(1===A.shape){i=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r));var c=Co(r,n,e,t,!1);l=c[0],B=c[1],o=i*(s=po(l-e,(B-t)/i))}}return Array.isArray(A.size)&&(s=Js(A.size[0],r),o=2===A.size.length?Js(A.size[1],n):s),[s,o]}(t,y,H,U,x),E=b[0],I=b[1],E>0&&I>0&&(v=r.ctx.createRadialGradient(f+y,F+H,0,f+y,F+H,E),ho(t.stops,2*E).forEach((function(A){return v.addColorStop(A.stop,to(A.color))})),r.path(Q),r.ctx.fillStyle=v,E!==I?(K=A.bounds.left+.5*A.bounds.width,L=A.bounds.top+.5*A.bounds.height,j=1/(D=I/E),r.ctx.save(),r.ctx.translate(K,L),r.ctx.transform(1,0,0,D,0,0),r.ctx.translate(-K,-L),r.ctx.fillRect(f,j*(F-L)+L,U,x*j),r.ctx.restore()):r.ctx.fill())),S.label=6;case 6:return e--,[2]}}))},r=this,n=0,s=A.styles.backgroundImage.slice(0).reverse(),i.label=1;case 1:return n<s.length?(o=s[n],[5,t(o)]):[3,4];case 2:i.sent(),i.label=3;case 3:return n++,[3,1];case 4:return[2]}}))}))},e.prototype.renderSolidBorder=function(A,e,t){return Mr(this,0,void 0,(function(){return kr(this,(function(r){return this.path(NB(t,e)),this.ctx.fillStyle=to(A),this.ctx.fill(),[2]}))}))},e.prototype.renderDoubleBorder=function(A,e,t,r){return Mr(this,0,void 0,(function(){var n,s;return kr(this,(function(o){switch(o.label){case 0:return e<3?[4,this.renderSolidBorder(A,t,r)]:[3,2];case 1:return o.sent(),[2];case 2:return n=function(A,e){switch(e){case 0:return WB(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return WB(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return WB(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return WB(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}}(r,t),this.path(n),this.ctx.fillStyle=to(A),this.ctx.fill(),s=function(A,e){switch(e){case 0:return WB(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return WB(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return WB(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return WB(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}}(r,t),this.path(s),this.ctx.fill(),[2]}}))}))},e.prototype.renderNodeBackgroundAndBorders=function(A){return Mr(this,0,void 0,(function(){var e,t,r,n,s,o,i,a,l=this;return kr(this,(function(B){switch(B.label){case 0:return this.applyEffects(A.getEffects(2)),e=A.container.styles,t=!eo(e.backgroundColor)||e.backgroundImage.length,r=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],n=oc($B(e.backgroundClip,0),A.curves),t||e.boxShadow.length?(this.ctx.save(),this.path(n),this.ctx.clip(),eo(e.backgroundColor)||(this.ctx.fillStyle=to(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:B.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach((function(e){l.ctx.save();var t,r,n,s,o,i=DB(A.curves),a=e.inset?0:1e4,B=(t=i,r=-a+(e.inset?1:-1)*e.spread.number,n=(e.inset?1:-1)*e.spread.number,s=e.spread.number*(e.inset?-2:2),o=e.spread.number*(e.inset?-2:2),t.map((function(A,e){switch(e){case 0:return A.add(r,n);case 1:return A.add(r+s,n);case 2:return A.add(r+s,n+o);case 3:return A.add(r,n+o)}return A})));e.inset?(l.path(i),l.ctx.clip(),l.mask(B)):(l.mask(i),l.ctx.clip(),l.path(B)),l.ctx.shadowOffsetX=e.offsetX.number+a,l.ctx.shadowOffsetY=e.offsetY.number,l.ctx.shadowColor=to(e.color),l.ctx.shadowBlur=e.blur.number,l.ctx.fillStyle=e.inset?to(e.color):"rgba(0,0,0,1)",l.ctx.fill(),l.ctx.restore()})),B.label=2;case 2:s=0,o=0,i=r,B.label=3;case 3:return o<i.length?0!==(a=i[o]).style&&!eo(a.color)&&a.width>0?2!==a.style?[3,5]:[4,this.renderDashedDottedBorder(a.color,a.width,s,A.curves,2)]:[3,11]:[3,13];case 4:return B.sent(),[3,11];case 5:return 3!==a.style?[3,7]:[4,this.renderDashedDottedBorder(a.color,a.width,s,A.curves,3)];case 6:return B.sent(),[3,11];case 7:return 4!==a.style?[3,9]:[4,this.renderDoubleBorder(a.color,a.width,s,A.curves)];case 8:return B.sent(),[3,11];case 9:return[4,this.renderSolidBorder(a.color,s,A.curves)];case 10:B.sent(),B.label=11;case 11:s++,B.label=12;case 12:return o++,[3,3];case 13:return[2]}}))}))},e.prototype.renderDashedDottedBorder=function(A,e,t,r,n){return Mr(this,0,void 0,(function(){var s,o,i,a,l,B,c,u,g,d,h,w,p,C,Q,f;return kr(this,(function(F){return this.ctx.save(),s=function(A,e){switch(e){case 0:return XB(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return XB(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return XB(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return XB(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}}(r,t),o=NB(r,t),2===n&&(this.path(o),this.ctx.clip()),vB(o[0])?(i=o[0].start.x,a=o[0].start.y):(i=o[0].x,a=o[0].y),vB(o[1])?(l=o[1].end.x,B=o[1].end.y):(l=o[1].x,B=o[1].y),c=0===t||2===t?Math.abs(i-l):Math.abs(a-B),this.ctx.beginPath(),3===n?this.formatPath(s):this.formatPath(o.slice(0,2)),u=e<3?3*e:2*e,g=e<3?2*e:e,3===n&&(u=e,g=e),d=!0,c<=2*u?d=!1:c<=2*u+g?(u*=h=c/(2*u+g),g*=h):(w=Math.floor((c+g)/(u+g)),p=(c-w*u)/(w-1),g=(C=(c-(w+1)*u)/w)<=0||Math.abs(g-p)<Math.abs(g-C)?p:C),d&&(3===n?this.ctx.setLineDash([0,u+g]):this.ctx.setLineDash([u,g])),3===n?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=to(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===n&&(vB(o[0])&&(Q=o[3],f=o[0],this.ctx.beginPath(),this.formatPath([new bB(Q.end.x,Q.end.y),new bB(f.start.x,f.start.y)]),this.ctx.stroke()),vB(o[1])&&(Q=o[1],f=o[2],this.ctx.beginPath(),this.formatPath([new bB(Q.end.x,Q.end.y),new bB(f.start.x,f.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},e.prototype.render=function(A){return Mr(this,0,void 0,(function(){var e;return kr(this,(function(t){switch(t.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=to(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=new PB(A,null),n=new RB(r),GB(r,n,n,s=[]),VB(r.container,s),e=n,[4,this.renderStack(e)];case 1:return t.sent(),this.applyEffects([]),[2,this.canvas]}var r,n,s}))}))},e}(rc),sc=function(A){return A instanceof ul||(A instanceof cl||A instanceof Bl&&A.type!==il&&A.type!==ol)},oc=function(A,e){switch(A){case 0:return DB(e);case 2:return function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]}(e);default:return jB(e)}},ic=function(A){switch(A){case 1:return"center";case 2:return"right";default:return"left"}},ac=["-apple-system","system-ui"],lc=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter((function(A){return-1===ac.indexOf(A)})):A},Bc=function(A){function e(e,t){var r=A.call(this,e,t)||this;return r.canvas=t.canvas?t.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=t,r.canvas.width=Math.floor(t.width*t.scale),r.canvas.height=Math.floor(t.height*t.scale),r.canvas.style.width=t.width+"px",r.canvas.style.height=t.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-t.x,-t.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),r}return jr(e,A),e.prototype.render=function(A){return Mr(this,0,void 0,(function(){var e,t;return kr(this,(function(r){switch(r.label){case 0:return e=Oa(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,cc(e)];case 1:return t=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=to(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(t,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},e}(rc),cc=function(A){return new Promise((function(e,t){var r=new Image;r.onload=function(){e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},uc=function(){function A(A){var e=A.id,t=A.enabled;this.id=e,this.enabled=t,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,Tr([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,Tr([this.id,this.getTime()+"ms"],A))},A.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,Tr([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,Tr([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.instances={},A}(),gc=function(){function A(e,t){var r;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new uc({id:this.instanceName,enabled:e.logging}),this.cache=null!==(r=e.cache)&&void 0!==r?r:new CB(this,e)}return A.instanceCount=1,A}();"undefined"!=typeof window&&pB.setContext(window);var dc=function(A,e){return Mr(void 0,0,void 0,(function(){var t,r,n,s,o,i,a,l,B,c,u,g,d,h,w,p,C,Q,f,F,U,x,m,y,H,b,E,I,v,K,L,D,j,S,M,k,T,O;return kr(this,(function(R){switch(R.label){case 0:if(!A||"object"!=typeof A)return[2,Promise.reject("Invalid element provided as first argument")];if(!(t=A.ownerDocument))throw new Error("Element is not attached to a Document");if(!(r=t.defaultView))throw new Error("Document is not attached to a Window");return n={allowTaint:null!==(x=e.allowTaint)&&void 0!==x&&x,imageTimeout:null!==(m=e.imageTimeout)&&void 0!==m?m:15e3,proxy:e.proxy,useCORS:null!==(y=e.useCORS)&&void 0!==y&&y},s=Sr({logging:null===(H=e.logging)||void 0===H||H,cache:e.cache},n),o={windowWidth:null!==(b=e.windowWidth)&&void 0!==b?b:r.innerWidth,windowHeight:null!==(E=e.windowHeight)&&void 0!==E?E:r.innerHeight,scrollX:null!==(I=e.scrollX)&&void 0!==I?I:r.pageXOffset,scrollY:null!==(v=e.scrollY)&&void 0!==v?v:r.pageYOffset},i=new Or(o.scrollX,o.scrollY,o.windowWidth,o.windowHeight),a=new gc(s,i),l=null!==(K=e.foreignObjectRendering)&&void 0!==K&&K,B={allowTaint:null!==(L=e.allowTaint)&&void 0!==L&&L,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:l,copyStyles:l},a.logger.debug("Starting document clone with size "+i.width+"x"+i.height+" scrolled to "+-i.left+","+-i.top),c=new AB(a,A,B),(u=c.clonedReferenceElement)?[4,c.toIFrame(t,i)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return g=R.sent(),d=El(u)||"HTML"===u.tagName?function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),n=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new Or(0,0,r,n)}(u.ownerDocument):Rr(a,u),h=d.width,w=d.height,p=d.left,C=d.top,Q=hc(a,u,e.backgroundColor),f={canvas:e.canvas,backgroundColor:Q,scale:null!==(j=null!==(D=e.scale)&&void 0!==D?D:r.devicePixelRatio)&&void 0!==j?j:1,x:(null!==(S=e.x)&&void 0!==S?S:0)+p,y:(null!==(M=e.y)&&void 0!==M?M:0)+C,width:null!==(k=e.width)&&void 0!==k?k:Math.ceil(h),height:null!==(T=e.height)&&void 0!==T?T:Math.ceil(w)},l?(a.logger.debug("Document cloned, using foreign object rendering"),[4,new Bc(a,f).render(u)]):[3,3];case 2:return F=R.sent(),[3,5];case 3:return a.logger.debug("Document cloned, element located at "+p+","+C+" with size "+h+"x"+w+" using computed rendering"),a.logger.debug("Starting DOM parsing"),U=pl(a,u),Q===U.styles.backgroundColor&&(U.styles.backgroundColor=Bo.TRANSPARENT),a.logger.debug("Starting renderer for element at "+f.x+","+f.y+" with size "+f.width+"x"+f.height),[4,new nc(a,f).render(U)];case 4:F=R.sent(),R.label=5;case 5:return(null===(O=e.removeContainer)||void 0===O||O)&&(AB.destroy(g)||a.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),a.logger.debug("Finished rendering"),[2,F]}}))}))},hc=function(A,e,t){var r=e.ownerDocument,n=r.documentElement?lo(A,getComputedStyle(r.documentElement).backgroundColor):Bo.TRANSPARENT,s=r.body?lo(A,getComputedStyle(r.body).backgroundColor):Bo.TRANSPARENT,o="string"==typeof t?lo(A,t):null===t?Bo.TRANSPARENT:4294967295;return e===r.documentElement?eo(n)?eo(s)?o:s:n:o};const wc=i(v());var pc=255,Cc=100,Qc=A=>{var{r:e,g:t,b:r,a:n}=A,s=Math.max(e,t,r),o=s-Math.min(e,t,r),i=o?s===e?(t-r)/o:s===t?2+(r-e)/o:4+(e-t)/o:0;return{h:60*(i<0?i+6:i),s:s?o/s*Cc:0,v:s/pc*Cc,a:n}},fc=A=>{var{h:e,s:t,l:r,a:n}=Fc(A);return"hsla("+e+", "+t+"%, "+r+"%, "+n+")"},Fc=A=>{var{h:e,s:t,v:r,a:n}=A,s=(200-t)*r/Cc;return{h:e,s:s>0&&s<200?t*r/Cc/(s<=Cc?s:200-s)*Cc:0,l:s/2,a:n}},Uc=A=>{var e,{r:t,g:r,b:n}=A;return"#"+(e=(t<<16|r<<8|n).toString(16),new Array(7-e.length).join("0")+e)},xc=A=>Qc(mc(A)),mc=A=>{var e=A.replace("#","");/^#?/.test(A)&&3===e.length&&(A="#"+e.charAt(0)+e.charAt(0)+e.charAt(1)+e.charAt(1)+e.charAt(2)+e.charAt(2));var t=new RegExp("[A-Za-z0-9]{2}","g"),[r,n,s=0,o]=A.match(t).map((A=>parseInt(A,16)));return{r:r,g:n,b:s,a:(null!=o?o:255)/pc}},yc=A=>{var{h:e,s:t,v:r,a:n}=A,s=e/60,o=t/Cc,i=r/Cc,a=Math.floor(s)%6,l=s-Math.floor(s),B=pc*i*(1-o),c=pc*i*(1-o*l),u=pc*i*(1-o*(1-l));i*=pc;var g={};switch(a){case 0:g.r=i,g.g=u,g.b=B;break;case 1:g.r=c,g.g=i,g.b=B;break;case 2:g.r=B,g.g=i,g.b=u;break;case 3:g.r=B,g.g=c,g.b=i;break;case 4:g.r=u,g.g=B,g.b=i;break;case 5:g.r=i,g.g=B,g.b=c}return g.r=Math.round(g.r),g.g=Math.round(g.g),g.b=Math.round(g.b),K({},g,{a:n})},Hc=A=>{var{r:e,g:t,b:r,a:n}=yc(A);return"rgba("+e+", "+t+", "+r+", "+n+")"},bc=A=>Uc(yc(A)),Ec=A=>{var e,t,r,n,s,o,i,a;return"string"==typeof A&&Ic(A)?(o=xc(A),i=A):"string"!=typeof A&&(o=A),o&&(r=(A=>{var{h:e,s:t,v:r}=A;return{h:e,s:t,v:r}})(o),s=Fc(o),a=(A=>{var{r:e,g:t,b:r,a:n}=A,s="number"==typeof n&&(255*n|256).toString(16).slice(1);return""+Uc({r:e,g:t,b:r,a:n})+(s||"")})(n=yc(o)),i=bc(o),t=(A=>{var{h:e,s:t,l:r}=A;return{h:e,s:t,l:r}})(s),e=(A=>{var{r:e,g:t,b:r}=A;return{r:e,g:t,b:r}})(n)),{rgb:e,hsl:t,hsv:r,rgba:n,hsla:s,hsva:o,hex:i,hexa:a}},Ic=A=>/^#?([A-Fa-f0-9]{3,4}){1,2}$/.test(A);function vc(A){var e=o.useRef(A);return o.useEffect((()=>{e.current=A})),o.useCallback(((A,t)=>e.current&&e.current(A,t)),[])}var Kc=A=>"touches"in A,Lc=A=>{!Kc(A)&&A.preventDefault&&A.preventDefault()},Dc=function(A,e,t){return void 0===e&&(e=0),void 0===t&&(t=1),A>t?t:A<e?e:A},jc=(A,e)=>{var t=A.getBoundingClientRect(),r=Kc(e)?e.touches[0]:e;return{left:Dc((r.pageX-(t.left+window.pageXOffset))/t.width),top:Dc((r.pageY-(t.top+window.pageYOffset))/t.height),width:t.width,height:t.height,x:r.pageX-(t.left+window.pageXOffset),y:r.pageY-(t.top+window.pageYOffset)}},Sc=["prefixCls","className","onMove","onDown"],Mc=a.forwardRef(((A,e)=>{var{prefixCls:t="w-color-interactive",className:n,onMove:s,onDown:i}=A,a=wc(A,Sc),l=o.useRef(null),B=o.useRef(!1),[c,u]=o.useState(!1),g=vc(s),d=vc(i),h=o.useCallback((A=>{Lc(A),(Kc(A)?A.touches.length>0:A.buttons>0)&&l.current?g&&g(jc(l.current,A),A):u(!1)}),[g]),w=o.useCallback((()=>u(!1)),[]),p=o.useCallback((A=>{var e=A?window.addEventListener:window.removeEventListener;e(B.current?"touchmove":"mousemove",h),e(B.current?"touchend":"mouseup",w)}),[]);o.useEffect((()=>(p(c),()=>{c&&p(!1)})),[c,p]);var C=o.useCallback((A=>{Lc(A.nativeEvent),(A=>!(B.current&&!Kc(A)||(B.current=Kc(A),0)))(A.nativeEvent)&&(d&&d(jc(l.current,A.nativeEvent),A.nativeEvent),u(!0))}),[d]);return r.jsx("div",K({},a,{className:[t,n||""].filter(Boolean).join(" "),style:K({},a.style,{touchAction:"none"}),ref:l,tabIndex:0,onMouseDown:C,onTouchStart:C}))}));Mc.displayName="Interactive";var kc=A=>{var{className:e,color:t,left:n,top:s,prefixCls:i}=A,a={position:"absolute",top:s,left:n},l={"--saturation-pointer-box-shadow":"rgb(255 255 255) 0px 0px 0px 1.5px, rgb(0 0 0 / 30%) 0px 0px 1px 1px inset, rgb(0 0 0 / 40%) 0px 0px 1px 2px",width:6,height:6,transform:"translate(-3px, -3px)",boxShadow:"var(--saturation-pointer-box-shadow)",borderRadius:"50%",backgroundColor:t};return o.useMemo((()=>r.jsx("div",{className:i+"-pointer "+(e||""),style:a,children:r.jsx("div",{className:i+"-fill",style:l})})),[s,n,t,e,i])},Tc=["prefixCls","radius","pointer","className","hue","style","hsva","onChange"],Oc=a.forwardRef(((A,e)=>{var t,{prefixCls:n="w-color-saturation",radius:s=0,pointer:i,className:a,hue:l=0,style:B,hsva:c,onChange:u}=A,g=wc(A,Tc),d=K({width:200,height:200,borderRadius:s},B,{position:"relative"}),h=(A,e)=>{u&&c&&u({h:c.h,s:100*A.left,v:100*(1-A.top),a:c.a})},w=o.useMemo((()=>{if(!c)return null;var A={top:100-c.v+"%",left:c.s+"%",color:fc(c)};return i&&"function"==typeof i?i(K({prefixCls:n},A)):r.jsx(kc,K({prefixCls:n},A))}),[c,i,n]);return r.jsx(Mc,K({className:[n,a||""].filter(Boolean).join(" ")},g,{style:K({position:"absolute",inset:0,cursor:"crosshair",backgroundImage:"linear-gradient(0deg, #000, transparent), linear-gradient(90deg, #fff, hsl("+(null!=(t=null==c?void 0:c.h)?t:l)+", 100%, 50%))"},d),ref:e,onMove:h,onDown:h,children:w}))}));Oc.displayName="Saturation";var Rc=["className","prefixCls","left","top","style","fillProps"],Pc=A=>{var{className:e,prefixCls:t,left:n,top:s,style:o,fillProps:i}=A,a=wc(A,Rc),l=K({},o,{position:"absolute",left:n,top:s}),B=K({width:18,height:18,boxShadow:"var(--alpha-pointer-box-shadow)",borderRadius:"50%",backgroundColor:"var(--alpha-pointer-background-color)"},null==i?void 0:i.style,{transform:n?"translate(-9px, -1px)":"translate(-1px, -9px)"});return r.jsx("div",K({className:t+"-pointer "+(e||""),style:l},a,{children:r.jsx("div",K({className:t+"-fill"},i,{style:B}))}))},Gc=["prefixCls","className","hsva","background","bgProps","innerProps","pointerProps","radius","width","height","direction","style","onChange","pointer"],Vc=a.forwardRef(((A,e)=>{var{prefixCls:t="w-color-alpha",className:n,hsva:s,background:o,bgProps:i={},innerProps:a={},pointerProps:l={},radius:B=0,width:c,height:u=16,direction:g="horizontal",style:d,onChange:h,pointer:w}=A,p=wc(A,Gc),C=A=>{h&&h(K({},s,{a:"horizontal"===g?A.left:A.top}),A)},Q=fc(Object.assign({},s,{a:1})),f="linear-gradient(to "+("horizontal"===g?"right":"bottom")+", rgba(244, 67, 54, 0) 0%, "+Q+" 100%)",F={};"horizontal"===g?F.left=100*s.a+"%":F.top=100*s.a+"%";var U=K({"--alpha-background-color":"#fff","--alpha-pointer-background-color":"rgb(248, 248, 248)","--alpha-pointer-box-shadow":"rgb(0 0 0 / 37%) 0px 1px 4px 0px",borderRadius:B,background:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==) left center",backgroundColor:"var(--alpha-background-color)"},{width:c,height:u},d,{position:"relative"}),x=w&&"function"==typeof w?w(K({prefixCls:t},l,F)):r.jsx(Pc,K({},l,{prefixCls:t},F));return r.jsxs("div",K({},p,{className:[t,t+"-"+g,n||""].filter(Boolean).join(" "),style:U,ref:e,children:[r.jsx("div",K({},i,{style:K({inset:0,position:"absolute",background:o||f,borderRadius:B},i.style)})),r.jsx(Mc,K({},a,{style:K({},a.style,{inset:0,zIndex:1,position:"absolute"}),onMove:C,onDown:C,children:x}))]}))}));Vc.displayName="Alpha";var Nc=["prefixCls","placement","label","value","className","style","labelStyle","inputStyle","onChange","onBlur"],Xc=a.forwardRef(((A,e)=>{var{prefixCls:t="w-color-editable-input",placement:n="bottom",label:s,value:i,className:a,style:l,labelStyle:B,inputStyle:c,onChange:u,onBlur:g}=A,d=wc(A,Nc),[h,w]=o.useState(i),p=o.useRef(!1);o.useEffect((()=>{A.value!==h&&(p.current||w(A.value))}),[A.value]);var C={};"bottom"===n&&(C.flexDirection="column"),"top"===n&&(C.flexDirection="column-reverse"),"left"===n&&(C.flexDirection="row-reverse");var Q=K({"--editable-input-label-color":"rgb(153, 153, 153)","--editable-input-box-shadow":"rgb(204 204 204) 0px 0px 0px 1px inset","--editable-input-color":"#666",position:"relative",alignItems:"center",display:"flex",fontSize:11},C,l),f=K({width:"100%",paddingTop:2,paddingBottom:2,paddingLeft:3,paddingRight:3,fontSize:11,background:"transparent",boxSizing:"border-box",border:"none",color:"var(--editable-input-color)",boxShadow:"var(--editable-input-box-shadow)"},c);return r.jsxs("div",{className:[t,a||""].filter(Boolean).join(" "),style:Q,children:[r.jsx("input",K({ref:e,value:h,onChange:function(A,e){var t=(e||A.target.value).trim().replace(/^#/,"");/^#?([A-Fa-f0-9]{3,4}){1,2}$/.test(t)&&u&&u(A,t);var r=(A=>Number(String(A).replace(/%/g,"")))(t);isNaN(r)||u&&u(A,r),w(t)},onBlur:function(e){p.current=!1,w(A.value),g&&g(e)},autoComplete:"off",onFocus:()=>p.current=!0},d,{style:f})),s&&r.jsx("span",{style:K({color:"var(--editable-input-label-color)",textTransform:"capitalize"},B),children:s})]})}));Xc.displayName="EditableInput";var Wc=["prefixCls","hsva","placement","rProps","gProps","bProps","aProps","className","style","onChange"],Jc=a.forwardRef(((A,e)=>{var{prefixCls:t="w-color-editable-input-rgba",hsva:n,placement:s="bottom",rProps:o={},gProps:i={},bProps:a={},aProps:l={},className:B,style:c,onChange:u}=A,g=wc(A,Wc),d=n?yc(n):{};function h(A){var e=Number(A.target.value);e&&e>255&&(A.target.value="255"),e&&e<0&&(A.target.value="0")}var w=(A,e,t)=>{"number"==typeof A&&("a"===e&&(A<0&&(A=0),A>100&&(A=100),u&&u(Ec(Qc(K({},d,{a:A/100}))))),A>255&&(A=255,t.target.value="255"),A<0&&(A=0,t.target.value="0"),"r"===e&&u&&u(Ec(Qc(K({},d,{r:A})))),"g"===e&&u&&u(Ec(Qc(K({},d,{g:A})))),"b"===e&&u&&u(Ec(Qc(K({},d,{b:A})))))};return r.jsxs("div",K({ref:e,className:[t,B||""].filter(Boolean).join(" ")},g,{style:K({fontSize:11,display:"flex"},c),children:[r.jsx(Xc,K({label:"R",value:d.r||0,onBlur:h,placement:s,onChange:(A,e)=>w(e,"r",A)},o,{style:K({},o.style)})),r.jsx(Xc,K({label:"G",value:d.g||0,onBlur:h,placement:s,onChange:(A,e)=>w(e,"g",A)},i,{style:K({marginLeft:5},o.style)})),r.jsx(Xc,K({label:"B",value:d.b||0,onBlur:h,placement:s,onChange:(A,e)=>w(e,"b",A)},a,{style:K({marginLeft:5},a.style)})),l&&r.jsx(Xc,K({label:"A",value:d.a?parseInt(String(100*d.a),10):0,onBlur:h,placement:s,onChange:(A,e)=>w(e,"a",A)},l,{style:K({marginLeft:5},l.style)}))]}))}));Jc.displayName="EditableInputRGBA";var Yc=["prefixCls","className","hue","onChange","direction"],_c=a.forwardRef(((A,e)=>{var{prefixCls:t="w-color-hue",className:n,hue:s=0,onChange:o,direction:i="horizontal"}=A,a=wc(A,Yc);return r.jsx(Vc,K({ref:e,className:t+" "+(n||"")},a,{direction:i,background:"linear-gradient(to "+("horizontal"===i?"right":"bottom")+", rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100%)",hsva:{h:s,s:100,v:100,a:s/360},onChange:(A,e)=>{o&&o({h:"horizontal"===i?360*e.left:360*e.top})}}))}));_c.displayName="Hue";var Zc=["prefixCls","className","color","colors","style","rectProps","onChange","addonAfter","addonBefore","rectRender"],zc=a.forwardRef(((A,e)=>{var{prefixCls:t="w-color-swatch",className:n,color:s,colors:i=[],style:l,rectProps:B={},onChange:c,addonAfter:u,addonBefore:g,rectRender:d}=A,h=wc(A,Zc),w=K({"--swatch-background-color":"rgb(144, 19, 254)",background:"var(--swatch-background-color)",height:15,width:15,marginRight:5,marginBottom:5,cursor:"pointer",position:"relative",outline:"none",borderRadius:2},B.style),p=(A,e)=>{c&&c(xc(A),Ec(xc(A)),e)};return r.jsxs("div",K({ref:e},h,{className:[t,n||""].filter(Boolean).join(" "),style:K({display:"flex",flexWrap:"wrap",position:"relative"},l),children:[g&&a.isValidElement(g)&&g,i&&Array.isArray(i)&&i.map(((A,e)=>{var t="",n="";"string"==typeof A&&(t=A,n=A),"object"==typeof A&&A.color&&(t=A.title||A.color,n=A.color);var i=s&&s.toLocaleLowerCase()===n.toLocaleLowerCase(),l=d&&d({title:t,color:n,checked:!!i,style:K({},w,{background:n}),onClick:A=>p(n,A)});if(l)return r.jsx(o.Fragment,{children:l},e);var c=B.children&&a.isValidElement(B.children)?a.cloneElement(B.children,{color:n,checked:i}):null;return r.jsx("div",K({tabIndex:0,title:t,onClick:A=>p(n,A)},B,{children:c,style:K({},w,{background:n})}),e)})),u&&a.isValidElement(u)&&u]}))}));zc.displayName="Swatch";var qc=["prefixCls","className","onChange","width","presetColors","color","editableDisable","disableAlpha","style"],$c=["#D0021B","#F5A623","#f8e61b","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"],Au=A=>r.jsx("div",{style:{boxShadow:"rgb(0 0 0 / 60%) 0px 0px 2px",width:4,top:1,bottom:1,left:A.left,borderRadius:1,position:"absolute",backgroundColor:"#fff"}}),eu=a.forwardRef(((A,e)=>{var{prefixCls:t="w-color-sketch",className:n,onChange:s,width:i=218,presetColors:a=$c,color:l,editableDisable:B=!0,disableAlpha:c=!1,style:u}=A,g=wc(A,qc),[d,h]=o.useState({h:209,s:36,v:90,a:1});o.useEffect((()=>{"string"==typeof l&&Ic(l)&&h(xc(l)),"object"==typeof l&&h(l)}),[l]);var w=A=>{h(A),s&&s(Ec(A))},p=K({"--sketch-background":"rgb(255, 255, 255)","--sketch-box-shadow":"rgb(0 0 0 / 15%) 0px 0px 0px 1px, rgb(0 0 0 / 15%) 0px 8px 16px","--sketch-swatch-box-shadow":"rgb(0 0 0 / 15%) 0px 0px 0px 1px inset","--sketch-alpha-box-shadow":"rgb(0 0 0 / 15%) 0px 0px 0px 1px inset, rgb(0 0 0 / 25%) 0px 0px 4px inset","--sketch-swatch-border-top":"1px solid rgb(238, 238, 238)",background:"var(--sketch-background)",borderRadius:4,boxShadow:"var(--sketch-box-shadow)",width:i},u),C={borderRadius:2,background:Hc(d),boxShadow:"var(--sketch-alpha-box-shadow)"};return r.jsxs("div",K({},g,{className:t+" "+(n||""),ref:e,style:p,children:[r.jsxs("div",{style:{padding:"10px 10px 8px"},children:[r.jsx(Oc,{hsva:d,style:{width:"auto",height:150},onChange:A=>w(K({},d,A,{a:d.a}))}),r.jsxs("div",{style:{display:"flex",marginTop:4},children:[r.jsxs("div",{style:{flex:1},children:[r.jsx(_c,{width:"auto",height:10,hue:d.h,pointer:Au,innerProps:{style:{marginLeft:1,marginRight:5}},onChange:A=>w(K({},d,A))}),!c&&r.jsx(Vc,{width:"auto",height:10,hsva:d,pointer:Au,style:{marginTop:4},innerProps:{style:{marginLeft:1,marginRight:5}},onChange:A=>w(K({},d,{a:A.a}))})]}),!c&&r.jsx(Vc,{width:24,height:24,hsva:d,radius:2,style:{marginLeft:4},bgProps:{style:{background:"transparent"}},innerProps:{style:C},pointer:()=>r.jsx(o.Fragment,{})})]})]}),B&&r.jsxs("div",{style:{display:"flex",margin:"0 10px 3px 10px"},children:[r.jsx(Xc,{label:"Hex",value:bc(d).replace(/^#/,"").toLocaleUpperCase(),onChange:(A,e)=>{var t;"string"==typeof(t=e)&&Ic(t)&&/(3|6)/.test(String(t.length))&&w(xc(t))},style:{minWidth:58}}),r.jsx(Jc,{hsva:d,style:{marginLeft:6},aProps:!c&&{},onChange:A=>w(A.hsva)})]}),a&&a.length>0&&r.jsx(zc,{style:{borderTop:"var(--sketch-swatch-border-top)",paddingTop:10,paddingLeft:10},colors:a,color:bc(d),onChange:A=>w(A),rectProps:{style:{marginRight:10,marginBottom:10,borderRadius:3,boxShadow:"var(--sketch-swatch-box-shadow)"}}})]}))}));eu.displayName="Sketch";const tu=({anchorEl:A,onChangeColor:e,onClose:t,color:n="#000000"})=>r.jsx(Ve,{anchorEl:A,open:!!A,onClose:t,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"},sx:{"& .MuiList-root":{p:0}},children:r.jsx(eu,{onChange:e,color:n})}),ru={"& .MuiDialog-paper":{width:"fit-content",maxWidth:"none"}},nu={display:"flex",flexDirection:"column",justifyContent:"start",alignItems:"center",width:"auto","@media(min-width:768px)":{width:"472px"}},su={display:"flex",justifyContent:"center",alignItems:"center",width:"100%",gap:"16px",marginTop:2},ou={margin:"0px auto 0px auto"};const iu=U((function(){var A;const e=o.useContext(oA),{slug:t}=e.getBusiness,n=o.useRef(null),{text:s,title:i="none",url:B}=o.useContext(Se),[c,u]=o.useState(!1),[g,d]=a.useState(null),[h,w]=o.useState({qr:"#000000",background:"#FFFFFF",text:"#000000"}),[p,C]=o.useState(null),[Q,f]=o.useState("data:image/png;base64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0HomeBQgXYOAu2arYVm8vwGXk5Zn+jog/8JhitvjFxQWpUhV15S7ujVnuiN4JD21IQM46dMRUeI4RXqlDVDiEEp2r/sWeEsKXEHgrD1YEHIpYStAxVCr83ehJ9g4wBWL0GkXTpW5zpWu3vHbVI7YjCNAu+44AEYunpQI5gPthU1XvmXEfOChXPA4g/TPKDWxxKgrAuCV0DXxe05Z7ghiMsew4LyTXEcHgmlOxlniUIlhgBfUEl4SDyLjjtP54qJ4/owzg41w0e6CIbbpR8kPJVrWrwWOh6h5bdTh4RitiZ5Xguf2DGspAmqEXNpDq+dnAZ0wdGTNTsopBQFdUJVeHQy8qmVZyZvkXpPFPddxXx231eZvaSgrF/zz17oBYDPiIAAAAAElFTkSuQmCC"),[F,U]=o.useState("www.enjoty.com"),y=o.useMemo((()=>{let A=B||window.location.href;return A.endsWith("/")&&(A=A.slice(0,-1)),A.endsWith(x("r.menu"))?A:`${A}/${x("r.menu")}`}),[window.location.href]),b=o.useMemo((()=>{var A;return null==(A=navigator.share)?void 0:A.bind(navigator)}),[]),v=async()=>{if(n.current){const r=await(A=n.current,void 0===e&&(e={}),dc(A,e)),s=await new Promise((A=>{r.toBlob((e=>A(e)),"image/png",5)}));if(s){return new File([s],`enjoty_${t.replaceAll("-","_")}_qr.png`,{lastModified:(new Date).getTime(),type:s.type})}}var A,e;return null},K=A=>e=>{d(e.currentTarget),C(A.toLowerCase())},j={margin:"-5px auto 0px auto",color:h.text},S=[{key:"colors",title:x("colors"),children:r.jsxs(E,{sx:{display:"flex",flexDirection:"column",gap:2},children:[r.jsxs(E,{sx:{display:"flex",justifyContent:"space-between"},children:[r.jsx(DA,{text:x("qrColor"),margin:"0"}),r.jsx(E,{sx:{height:"24px",width:"24px",backgroundColor:h.qr,border:"solid 1px #000",borderRadius:"50%"},onClick:K("QR")})]}),r.jsxs(E,{sx:{display:"flex",justifyContent:"space-between"},children:[r.jsx(DA,{text:x("bgColor"),margin:"0"}),r.jsx(E,{sx:{height:"24px",width:"24px",backgroundColor:h.background,border:"solid 1px #000",borderRadius:"50%"},onClick:K("BACKGROUND")})]}),r.jsxs(E,{sx:{display:"flex",justifyContent:"space-between"},children:[r.jsx(DA,{text:x("textColor"),margin:"0"}),r.jsx(E,{sx:{height:"24px",width:"24px",backgroundColor:h.text,border:"solid 1px #000",borderRadius:"50%"},onClick:K("TEXT")})]})]})},{key:"logo",title:x("logo"),children:r.jsxs(E,{sx:{display:"flex",flexDirection:"row",gap:2},children:[r.jsx(E,{sx:{p:1,border:`1px solid ${I.gray20}`,borderRadius:"8px",height:"104px",width:"104px"},children:r.jsx(E,{component:"img",src:Q,alt:"logo",sx:{objectFit:"cover",height:"88px",width:"88px"}})}),r.jsx(HA,{onChange:({target:A})=>{var e;const t=null==(e=null==A?void 0:A.files)?void 0:e[0];if(t){const A=URL.createObjectURL(t);f(A)}},children:r.jsx(NA,{size:"large",variant:"outlined",component:"span",fullWidth:!0,startIcon:r.jsx(bA,{}),children:x("uploadImage")})})]})},{key:"webPage",title:x("webPage"),children:r.jsx(E,{sx:{display:"flex",flexDirection:"column",gap:2},children:r.jsx(Ne,{label:x("url"),value:F,onChange:A=>{U(A.target.value)}})})}];return r.jsxs(r.Fragment,{children:[r.jsx(KA,{sx:ru,open:m.isQrMenu,onClose:H,children:r.jsxs(E,{sx:nu,children:[r.jsx(LA,{sx:ou,text:x("copyQr"),color:"gray"}),r.jsxs(E,{ref:n,sx:{p:4},children:[r.jsx(l,{size:240,value:y,fgColor:h.qr,bgColor:h.background,logoImage:Q,logoHeight:57,logoWidth:57}),r.jsx(DA,{sx:j,size:"minis",text:F,color:"red"})]}),("BUSINESS_PLAN_BASIC"!==(e.getBusiness.business_plan??"BUSINESS_PLAN_BASIC")||(null==(A=L.getUser)?void 0:A.is_staff))&&r.jsx(he,{items:S,singleExpand:!0}),r.jsxs(E,{sx:su,children:[r.jsx(NA,{sx:{width:D.isMobile?"default":"162px"},variant:b?"outlined":"contained",startIcon:r.jsx(Pe,{sx:{color:b?I.red:"white"}}),onClick:async()=>{if(n.current){const A=await v();A&&((A,e)=>{const t=URL.createObjectURL(A),r=document.createElement("a");r.href=t,r.download=e,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(t)})(A,`enjoty_${t.replaceAll("-","_")}_qr.png`)}},children:x("download")}),b?r.jsx(NA,{startIcon:r.jsx(ke,{sx:{color:"white"}}),onClick:async()=>{try{if(n.current){const A=await v();A&&await(null==b?void 0:b({files:[A]}))}await(null==b?void 0:b({text:s,title:x(i),url:y}))}catch(A){console.log("Error: ",A)}},sx:{width:D.isMobile?"default":"162px"},children:x("shareQr")}):r.jsx(NA,{variant:"outlined",startIcon:c?r.jsx(Ge,{sx:{color:I.yellow},height:"24px",width:"24px"}):r.jsx(Me,{height:"24px",width:"24px"}),sx:{width:D.isMobile?"130px":"default"},onClick:async()=>{u(!0);const A=await v();if(A){const e=new ClipboardItem({"image/png":A});await navigator.clipboard.write([e])}setTimeout((()=>{u(!1)}),1500)},children:x(D.isMobile?"copy":"copyImage")})]})]})}),r.jsx(tu,{anchorEl:g,onChangeColor:A=>{p&&w((e=>({...e,[p]:A.hex})))},onClose:()=>{d(null),C(null)},color:h[p??"qr"]})]})})),au={"& .enj-err-ico":{width:"auto",height:"150px",marginBottom:"10px"}};const lu=U((function(){return r.jsxs(KA,{open:m.isNoGeneratedText,onClose:H,sx:{zIndex:A=>A.zIndex.modal+3,...au},children:[r.jsx(Je,{className:"enj-err-ico"}),r.jsx(ge,{container:!0,width:"100%",sx:{"& span":{fontWeight:500}},children:r.jsx(o.Fragment,{children:r.jsx(b,{children:x("shareReviewError")})})})]})}));const Bu=U((function(){const A=o.useContext(oA),{slug:e,name:t,main_picture:n,is_bookmarked:s,num_reviews:i,enjoty_rating:a}=j((()=>A.getBusiness)).get();return r.jsx(Te,{is_bookmarked:s,listType:At.TYPE_BUSINESS,name:t,src:n,num_reviews:i,rating:a,item_identifier:e,sx:{position:"relative",top:"0",right:"0"},cb:A.onBookmarkCb})}));function cu(A){return r.jsx(S,{...A,children:r.jsx("path",{d:"m16.2 13.2-2.8-2.8 7-7a4 4 0 0 1 0 5.7l-4.2 4.1zm-6.8-1.8c-1.9.7-3.9.1-5.2-1.4-1.9-1.9-2.3-4.6-.8-6.1s4.2-1.1 6.1.8a5 5 0 0 1 1.4 5.3l9.3 9.4c.2.2.2.5 0 .8l-.7.7c-.2.2-.5.2-.7 0l-6.5-6.5-6.5 6.5c-.2.2-.5.2-.7 0l-.7-.7c-.2-.2-.2-.5 0-.8l6.5-6.5-1.5-1.5z"})})}function uu(A){return r.jsx(S,{...A,children:r.jsx("path",{d:"M18 22C17.1667 22 16.4583 21.7083 15.875 21.125C15.2917 20.5417 15 19.8333 15 19C15 18.8833 15.0083 18.7625 15.025 18.6375C15.0417 18.5125 15.0667 18.4 15.1 18.3L8.05 14.2C7.76667 14.45 7.45 14.6458 7.1 14.7875C6.75 14.9292 6.38333 15 6 15C5.16667 15 4.45833 14.7083 3.875 14.125C3.29167 13.5417 3 12.8333 3 12C3 11.1667 3.29167 10.4583 3.875 9.875C4.45833 9.29167 5.16667 9 6 9C6.38333 9 6.75 9.07083 7.1 9.2125C7.45 9.35417 7.76667 9.55 8.05 9.8L15.1 5.7C15.0667 5.6 15.0417 5.4875 15.025 5.3625C15.0083 5.2375 15 5.11667 15 5C15 4.16667 15.2917 3.45833 15.875 2.875C16.4583 2.29167 17.1667 2 18 2C18.8333 2 19.5417 2.29167 20.125 2.875C20.7083 3.45833 21 4.16667 21 5C21 5.83333 20.7083 6.54167 20.125 7.125C19.5417 7.70833 18.8333 8 18 8C17.6167 8 17.25 7.92917 16.9 7.7875C16.55 7.64583 16.2333 7.45 15.95 7.2L8.9 11.3C8.93333 11.4 8.95833 11.5125 8.975 11.6375C8.99167 11.7625 9 11.8833 9 12C9 12.1167 8.99167 12.2375 8.975 12.3625C8.95833 12.4875 8.93333 12.6 8.9 12.7L15.95 16.8C16.2333 16.55 16.55 16.3542 16.9 16.2125C17.25 16.0708 17.6167 16 18 16C18.8333 16 19.5417 16.2917 20.125 16.875C20.7083 17.4583 21 18.1667 21 19C21 19.8333 20.7083 20.5417 20.125 21.125C19.5417 21.7083 18.8333 22 18 22Z"})})}function gu(A){return r.jsx(S,{...A,children:r.jsx("path",{id:"qr_code",d:"M3 11V3H11V11H3ZM5 9H9V5H5V9ZM3 21V13H11V21H3ZM5 19H9V15H5V19ZM13 11V3H21V11H13ZM15 9H19V5H15V9ZM19 21V19H21V21H19ZM13 15V13H15V15H13ZM15 17V15H17V17H15ZM13 19V17H15V19H13ZM15 21V19H17V21H15ZM17 19V17H19V19H17ZM17 15V13H19V15H17ZM19 17V15H21V17H19Z",fill:"#D64300"})})}const du=p(Ve)`
  &.MuiMenu-root .MuiMenu-paper {
    & .MuiPaper-root {
      border-radius: 18px 0 18px 18px;
    }
  }
`;const hu=U((function({phone:A,onClickDelivery:e,address:t}){var n,s;const i=o.useContext(oA),[a,l]=o.useState(null),B=Boolean(a),c=()=>l(null),u=o.useMemo((()=>B?"true":void 0),[B]);return t||e||A?r.jsxs(r.Fragment,{children:[r.jsx(xe,{onClick:A=>l(A.currentTarget),id:"enj-header-more-icon-id","aria-controls":"enj-header-more-icon-menu","aria-haspopup":"true","aria-expanded":u,sx:{"&":{ml:"8px"}}}),r.jsxs(du,{id:"enj-header-more-icon-menu",MenuListProps:{"aria-labelledby":"enj-header-more-icon-id"},anchorEl:a,open:B,onClose:()=>c(),TransitionComponent:Xe,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"right"},sx:{"& .MuiPaper-root":{borderRadius:"18px 0 18px 18px"},"& .MuiSvgIcon-root":{marginRight:"12px"},"& li.MuiButtonBase-root":{color:I.red,fontSize:M.micro}},children:[A?r.jsxs(ot,{onClick:c,style:{minHeight:28,color:I.gray},children:[r.jsx(we,{})," ",x("call"),r.jsx(pe,{href:`tel:${String(A)}`})]}):null,e?r.jsxs(ot,{onClick:()=>{c(),null==e||e()},style:{minHeight:28,color:I.gray},children:[r.jsx(rt,{}),x("delivery")]}):null,t?r.jsxs(ot,{onClick:c,style:{minHeight:28,color:I.gray},children:[r.jsx(Ze,{}),x("goToAddress"),r.jsx(pe,{href:`https://www.google.com/maps/dir/?api=1&origin=&destination=${String(t||"")}`,target:"_blank"})]}):null,r.jsxs(ot,{onClick:()=>{k("QR_MENU"),c()},style:{minHeight:28,color:I.gray},children:[r.jsx(gu,{}),x("showQr")]}),r.jsxs(ot,{onClick:()=>{l(null),i.onClickAddDish()},style:{minHeight:28,color:I.gray},children:[r.jsx(nt,{}),x("addDish")]}),r.jsxs(ot,{onClick:()=>{l(null),i.onClickAddDrink()},style:{minHeight:28,color:I.gray},children:[r.jsx(st,{}),x("addDrink")]}),r.jsxs(ot,{onClick:()=>{l(null),i.setWebPict(!0)},style:{minHeight:28,color:I.gray},children:[r.jsx(cu,{}),x("addMenu")]}),L.isAuth?r.jsxs(ot,{onClick:()=>{var A,e;(null==(A=i.socialText)?void 0:A.products.length)||(null==(e=i.socialText)?void 0:e.business_info.reviews.length)?i.onClickGeneratedText():k("NO_GENERATED_TEXT"),c()},style:{minHeight:28,opacity:(null==(n=i.socialText)?void 0:n.products.length)||(null==(s=i.socialText)?void 0:s.business_info.reviews.length)?1:.5,color:I.gray},children:[r.jsx(uu,{}),x("shareReview")]}):r.jsx(r.Fragment,{}),i.getBusiness.is_verified?null:r.jsxs(ot,{onClick:()=>{l(null),i.onClickClaimBusiness()},style:{minHeight:28,color:I.gray},children:[r.jsx(Ge,{}),x("claim")]})]})]}):null})),wu=p(ge)`
  & {
    .MuiButtonBase-root {
      padding: 2px;

      &:first-child {
        margin-right: 7px;
      }
    }
  }
`,pu=p(b)`
  & {
    line-height: 16px;
    position: relative;
    bottom: -1px;
  }
`,Cu=p(NA)`
  &.MuiButtonBase-root {
    background-color: ${I.black36};
  }
`;const Qu=U((function(){const A=o.useContext(oA),{onClickDelivery:e,getImagesBusinessStr:t}=A,[n,s]=o.useState(void 0),[i,a]=o.useState(!1),{onClickViewImages:l,setCurrentImage:B}=t;return o.useLayoutEffect((()=>{a(!0),t.getImagesCurrent-1!==(null==n?void 0:n.selectedScrollSnap())&&(null==n||n.scrollTo(t.getImagesCurrent-1))}),[t.getImagesCurrent]),o.useLayoutEffect((()=>{a(!0)}),[t.getSize]),r.jsx(me,{isSticky:!1,onClickContainer:D.isMobile?l:void 0,suffix:r.jsxs(wu,{container:!0,display:"flex",flexWrap:"nowrap",alignItems:"center",justifyContent:"center",children:[r.jsx(Se.Provider,{value:{title:"shareBusiness",text:x("shareBusinessText",{name:A.getBusiness.name})},children:r.jsx(Oe,{})}),r.jsx(Bu,{}),r.jsx(hu,{onClickDelivery:A.getBusiness.has_delivery?e:void 0,address:A.getBusiness.full_address,phone:A.getBusiness.phone_number||A.getBusiness.secondary_phone_number})]}),background:i&&t.getSize&&D.isMobile?r.jsx(ye,{images:t.getElements,onSelect:A=>{B(A),!t.isLoading&&t.hasMore&&A+1>=t.offset&&t.loadData()},onApiReady:s,onClickCarouselContainer:l}):null,children:t.getSize&&D.isMobile?r.jsx(Cu,{onClick:l,disableElevation:!0,children:r.jsxs(ge,{container:!0,display:"flex",flexWrap:"nowrap",alignItems:"flex-end",justifyContent:"center",children:[r.jsx(tt,{color:"secondary",style:{width:16,height:"auto",marginRight:8}}),r.jsx(pu,{color:"white",size:"small",margin:"0 2px",children:t.getImagesCurrent}),r.jsx(pu,{color:"white",size:"small",margin:"0 2px",children:"/"}),r.jsx(pu,{color:"white",size:"small",margin:"0 2px",children:t.getCount})]})}):null})})),fu=p(b)`
  & {
    line-height: 16px;
    position: relative;
    bottom: -1px;
  }
`,Fu=p(NA)`
  &.MuiButtonBase-root {
    background-color: ${I.black36};
  }
`,Uu={...ct,width:"100%",height:"100%",bgcolor:I.grayMap,"&":{position:"absolute",top:0,left:0,filter:"blur(8px)"},"& img":{height:"auto!important"}};const xu=U((function(){var A,e;const t=o.useContext(oA),n=o.useMemo((()=>D.isDesktop?352:285),[D.width]),[s,i]=o.useState(!1),{getImagesBusinessStr:a}=t,[l,B]=o.useState(a.getImagesCurrent-1||0),[c,u]=o.useState(void 0),[g,d]=o.useState(!1),{onClickViewImages:h,setCurrentImage:w}=a;return o.useLayoutEffect((()=>{d(!0),a.getImagesCurrent-1!==(null==c?void 0:c.selectedScrollSnap())&&(null==c||c.scrollTo(a.getImagesCurrent-1))}),[a.getImagesCurrent]),o.useLayoutEffect((()=>{d(!0)}),[a.getSize]),r.jsxs(E,{onMouseEnter:()=>{i(!0)},onMouseLeave:()=>{i(!1)},width:"100%",sx:{width:`${n}px`,height:n*(3/4)+"px",position:"relative",borderRadius:"18px",overflow:"hidden","& picture":{minWidth:"100%",minHeight:"100%"},"& .enj-image-carousel-upper-container img":{height:"auto!important"}},children:[g&&a.getSize?r.jsxs(r.Fragment,{children:[r.jsx(E,{sx:Uu,children:r.jsx(it,{src:null==(e=String((null==(A=a.getElements[l])?void 0:A.image)||""))?void 0:e.replace(/\.jpg/i,"_tiny.jpg"),width:"100%",height:"100%"})}),r.jsx(ye,{images:a.getElements,onSelect:A=>{w(A),B(A),!a.isLoading&&a.hasMore&&A+1>=a.offset&&a.loadData()},onApiReady:u,onClickCarouselContainer:h,imageHeight:"100%",imageWidth:"100%"})]}):null,a.getSize?r.jsx(Fu,{onClick:h,disableElevation:!0,sx:{position:"absolute",top:"10px",right:"10px"},children:r.jsxs(ge,{container:!0,display:"flex",flexWrap:"nowrap",alignItems:"flex-end",justifyContent:"center",children:[r.jsx(fu,{color:"white",size:"small",margin:"0 2px",children:a.getImagesCurrent}),r.jsx(fu,{color:"white",size:"small",margin:"0 2px",children:"/"}),r.jsx(fu,{color:"white",size:"small",margin:"0 2px",children:a.getCount})]})}):null,a.getSize>1&&s&&D.isDesktop?r.jsxs(r.Fragment,{children:[l>0?r.jsx(ZA,{onClick:()=>{null==c||c.scrollPrev()},sx:{"&.MuiButtonBase-root.MuiIconButton-root":{position:"absolute",top:"48%",left:"10px"}}}):r.jsx(r.Fragment,{}),l<a.getSize-1?r.jsx(tA,{onClick:()=>{null==c||c.scrollNext()},sx:{"&.MuiButtonBase-root.MuiIconButton-root":{position:"absolute",top:"48%",right:"10px"}}}):r.jsx(r.Fragment,{})]}):r.jsx(r.Fragment,{})]})})),mu=p(jA)`
  &.MuiButtonBase-root {
    padding: 0 0 5px;
  }
`;const yu=U((function(){var A;const e=o.useRef(void 0),[t,n]=o.useState("NONE"),[s,i]=o.useState(0),a=null==(A=o.useContext(oA).getTags["tipo-de-cocina"])?void 0:A.items;return o.useLayoutEffect((()=>{var A,t;const r=Array.from((null==(t=null==(A=null==e?void 0:e.current)?void 0:A.getElementsByClassName)?void 0:t.call(A,"ejt-ingredient-item"))||[]);if(null==r?void 0:r.length){let A=0;null==r||r.forEach((e=>{A+=e.getBoundingClientRect().width}));const t=A/e.current.getBoundingClientRect().width;i(t<1?35:70),t>2&&n(!1)}}),[null==a?void 0:a.length]),r.jsx(ge,{container:!0,display:"flex",alignItems:"center",justifyContent:"center",margin:`18px auto ${"NONE"!==t?0:"20px"}`,children:(null==a?void 0:a.length)?r.jsxs(r.Fragment,{children:[r.jsx(ge,{ref:e,container:!0,display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",height:t&&"NONE"!==t?"max-content":`${s}px`,minHeight:`${s}px`,overflow:"hidden",children:null==a?void 0:a.map((({name:A,slug:e})=>r.jsx(He,{label:A,className:"ejt-ingredient-item"},e)))}),"NONE"!==t?r.jsx(mu,{onClick:()=>n(!t),children:t?r.jsx(be,{}):r.jsx(Ee,{})}):null]}):null})}));const Hu=U((function(){const A=o.useContext(oA);return r.jsx(rA,{label:x(D.isMobile?"reviewBusinessMenu":"addReview"),onClick:A.onCLickAddReview})}));const bu=U((function(){const A=o.useContext(nA),e=o.useContext(oA),{onClickFilter:t,onClickSort:n}=A;if(!A.getActivities.length&&!A.hasFilters)return r.jsx(r.Fragment,{});const s=L.isUserOwner(e.getSlug);return r.jsxs(ge,{container:!0,justifyContent:s?"space-around":"space-between",paddingTop:"5px",marginBottom:"10px",sx:{"@media(min-width:768px)":{mx:"auto","&& .MuiChip-root":{minWidth:"168px"}},"@media(min-width:1366px)":{width:"608px"}},children:[!s&&r.jsx(Hu,{}),r.jsx(gt,{onClick:t,count:A.getFilterCount}),r.jsx(dt,{onClick:n})]})})),Eu={"& .MuiDivider-root":{gridColumn:"1/3",m:"18px 0"},"& > span:not(.MuiRating-root)":{justifySelf:"start",width:"100%",fontWeight:500,alignSelf:"center"},"& span.MuiRating-root":{justifySelf:"end",touchAction:"none","& .MuiRating-icon":{m:"0 2px"},"& .MuiSvgIcon-root":{width:"auto",height:"22px"},"& .MuiRating-iconEmpty .MuiSvgIcon-root":{color:I.grayLighter}},"@media(min-width:768px)":{alignSelf:"center","& .MuiDivider-root":{m:"30px 0  0"},"& .MuiSvgIcon-root":{height:"20px"},"& > span.MuiRating-root":{alignSelf:"flex-start"},"&:nth-child(3) .MuiDivider-root":{display:"none"}}};const Iu=U((function({label:A,value:e=0,divider:t=!0,isCoin:n=!1}){return r.jsxs(E,{sx:Eu,children:[r.jsxs(E,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[r.jsx(b,{align:"start",margin:"0",children:A}),r.jsx(at,{max:5,readOnly:!0,value:e,icon:n?r.jsx(GA,{fontSize:"inherit"}):r.jsx(lt,{fontSize:"inherit"}),emptyIcon:n?r.jsx(GA,{fontSize:"inherit"}):r.jsx(Bt,{fontSize:"inherit"})})]}),t?r.jsx(ue,{variant:"fullWidth",sx:{m:"10px 0 20px 0"}}):r.jsx(r.Fragment,{})]})})),vu={"&.MuiBox-root":{m:"12px auto",display:"grid",width:"98%",height:"var(--rr-expand-h)",overflow:"hidden",transition:"height 200ms ease","@media(min-width:768px)":{gridTemplateColumns:"repeat(2, 1fr)",gap:"0 65px",height:"130px",mb:"25px"}}};const Ku=U((function(){const A=o.useContext(oA),{service_rating:e,price_rating:t,covid_rating:n,venue_rating:s}=A.getBusiness;return r.jsxs(r.Fragment,{children:[r.jsxs(E,{sx:vu,style:{"--rr-expand-h":(A.isExpanded?223:94)+"px"},children:[r.jsx(Iu,{label:x("service"),value:e}),r.jsx(Iu,{label:x("local"),value:s}),r.jsx(Iu,{label:x("antiCovidMeasures"),value:n}),r.jsx(Iu,{label:x("price"),value:t,divider:!1,isCoin:!0})]}),r.jsx(wt,{onClick:A.onToggleExpand,expanded:!A.isExpanded,color:"red"})]})})),Lu="--cnt-business-act-h",Du="--w-business-act-h",ju={overflow:"hidden",overflowY:"auto",height:`var(${Lu})`,"& .enj-cnt-list-review":{height:`var(${Du})`},"@media(min-width:768px)":{px:"20px","& .enj-btn-expand":{display:"none"}},"@media(min-width:1366px)":{height:"auto"}},Su={position:"sticky",top:"0","& .enj-activity-list":{height:.78*D.height-50+"px","@media(min-width:768px)":{height:D.height-400+"px"},"@media(min-width:1366px)":{height:D.height-300+"px"}}};const Mu=U((function(){const A=D.height,e=o.useContext(oA),t=o.useMemo((()=>{const e=.78*A;return{[Lu]:`${e}px`,[Du]:e-172+"px"}}),[A]);return r.jsxs(E,{sx:ju,style:t,className:"collections-padding",children:[r.jsx(Ku,{}),r.jsx(E,{sx:Su,children:r.jsxs(nA.Provider,{value:e.getActivityStr,children:[r.jsx(bu,{}),r.jsx(ut,{})]})})]})}));function ku(A){return r.jsx(S,{...A,children:r.jsx("path",{d:"m1 16.5 2.5-9.4 1.1 9.4H1zM4.9 5.8h15.5L23 18.2H6.6L4.9 5.8zm13.6 5.3H10v1.2h8.5v-1.2z"})})}const Tu={display:"grid",gridTemplateColumns:"repeat(var(--inf-actions-length),1fr)",gap:"6px",mb:"10px","@media(min-width:768px)":{pt:"25px",gap:"16px"}};const Ou=U((function(){const A=o.useContext(oA),e=A.getIFrames,t=j((()=>A.getIFrames.size)).get(),[n,s,i]=o.useMemo((()=>{const{getWebsiteUrl:e,getReservationUrl:t,getMenuUrl:r}=A;return[e,t,r]}),[A.getBusiness]),a=o.useMemo((()=>({"--inf-actions-length":t})),[t]),l=o.useCallback((()=>window.open(n,"_blank")),[n]),B=o.useCallback((()=>window.open(s,"_blank")),[s]),c=o.useCallback((()=>window.open(i,"_blank")),[i]);return r.jsx(r.Fragment,{children:r.jsxs(E,{sx:Tu,style:a,children:[e.has("website")?r.jsxs(r.Fragment,{children:[r.jsx(Qt,{route:n,origin:!1}),r.jsx(Ct,{icon:r.jsx(ft,{}),label:x("website",{count:t}),onClick:l})]}):r.jsx(r.Fragment,{}),e.has("reservation")?r.jsxs(r.Fragment,{children:[r.jsx(Qt,{route:s,origin:!1}),r.jsx(Ct,{icon:r.jsx(ku,{}),label:x("reservation",{count:t}),onClick:B})]}):r.jsx(r.Fragment,{}),e.has("menus")?r.jsxs(r.Fragment,{children:[r.jsx(Qt,{route:i,origin:!1}),r.jsx(Ct,{icon:r.jsx(cu,{}),label:x("menus",{count:t}),onClick:c})]}):r.jsx(r.Fragment,{})]})})})),Ru={display:"flex","&":{p:"20px 0",borderBottom:`1px solid ${I.whiteBorder}`}},Pu={"&":{position:"absolute",bottom:7,right:7,color:I.white,bgcolor:I.black,fontSize:M.minis,padding:"5px 9px",opacity:.5,borderRadius:16,letterSpacing:"0.05em"}},Gu={"&":{position:"relative",mb:"15px",borderRadius:"18px",overflow:"hidden","-webkit-mask-image":"-webkit-radial-gradient(white,black)","-webkit-backface-visibility":"hidden","-moz-backface-visibility":"hidden","-webkit-transform":"translate3d(0,0,0)","-moz-transform":"translate3d(0,0,0)",willChange:"transform","& > picture":{width:"100%",height:"100%",borderRadius:"18px"},"@media(min-width:768px)":{mr:"16px",mb:0}}};const Vu=U((function({slug:A,name:e="",main_picture:t="",rating:n,price:s,price_currency:i,num_reviews:a,imgHeight:l,businessSlug:B,city:c="-",main_type_str:u="no-business-type",has_more_pictures:g,main_picture_info:d,is_bookmarked:h,business:w,description:p}){const C=o.useContext(oA),Q=o.useMemo((()=>T("route.product.build",{business:u,city:c,slug:A,businessSlug:B})),[]),f=We(),F=()=>{C.setExpandAllCategories(),C.setFromProducts(),R.push(Q)},U=()=>{C.getByCategory?(C.setFromProducts(),C.onClickAddProductReview(A,!0)):C.onClickAddProductReview(A)};return r.jsxs(E,{sx:{...Ru,flexDirection:C.getExpandProductCards?"column":"row",gap:1},className:"product-padding",children:[r.jsx(Qt,{route:Q}),r.jsxs(E,{sx:{...Gu,...C.getExpandProductCards&&{mr:"0 !important"}},height:C.getExpandProductCards?l:D.isMobile?64:150,width:C.getExpandProductCards?void 0:D.isMobile?72:200,minWidth:C.getExpandProductCards?void 0:D.isMobile?72:200,children:[r.jsx(it,{sx:{cursor:"pointer"},src:t,onClick:F,alt:x("alt.business.menu",{name:e,business_type:u,city:c,business_name:w})}),d&&!D.isMobile?r.jsx(SA,{sx:Pu,onClick:()=>C.onShowMoreProductImg(null==d?void 0:d.uuid),children:x(g?"morePictures":"zoomPicture")}):r.jsx(r.Fragment,{}),r.jsx(E,{sx:{...D.isMobile&&!C.getExpandProductCards&&{"& .MuiButtonBase-root":{width:"18px",height:"18px"},"& .MuiSvgIcon-root":{height:"15px"}}},children:r.jsx(Te,{is_bookmarked:h,listType:At.TYPE_PRODUCT,name:e,rating:n,num_reviews:a,src:t,item_identifier:A||B||"",cb:C.onBookmarkMenuCb})})]}),r.jsxs(E,{sx:{width:"100%"},children:[r.jsxs(ge,{container:!0,display:"flex",justifyContent:"space-between",alignItems:"flex-start",flexWrap:"nowrap",position:"relative",children:[r.jsx(et,{onClick:F,rating:n,title:e,titleVariant:"h3",reviews:a??0,titleMargin:"0 5px 4px 2px",subTitleMargin:"6px 5px 0 2px",mt:"10px",mr:"40px",sx:{"&":{minWidth:"calc(100% - 102px)",maxWidth:"180px"},"& .enj-rr-with-right":{position:"relative",mt:"10px"}},ratingRightCmp:D.isMobile||C.getExpandProductCards?void 0:r.jsx(Ct,{onClick:U,sx:{position:"absolute",top:"-3px",left:"100%",width:"102px"},icon:r.jsx(Et,{}),label:x("rate")}),onClickRating:()=>{f.delete("productSlug"),f.append("productSlug",A??""),R.replace({search:f.toString()}),k("RATE_PRODUCT")},showReviewNumber:!C.getExpandProductCards&&D.isMobile,forCard:!0}),r.jsxs(E,{children:[r.jsx(LA,{text:isNaN(s)||-1===s?"":O(s,i??"EUR"),margin:"0 0 8px",align:"end",size:"small"}),D.isMobile&&C.getExpandProductCards?r.jsx(bt,{onClick:U,style:{marginLeft:12},children:r.jsx(Et,{})}):!D.isMobile&&C.getExpandProductCards?r.jsx(Ct,{onClick:U,sx:{width:"102px",marginLeft:"12px"},icon:r.jsx(Et,{}),label:x("rate")}):null]})]}),D.isMobile&&!C.getExpandProductCards?r.jsx(r.Fragment,{}):r.jsx(E,{sx:{fontSize:M.mini,mt:"24px"},children:p})]})]})}));const Nu=U((function({items:A,singleExpand:e,defaultAllExpanded:t,maxHeight:n,expandAll:s,someExpanded:i,expandable:a=!0}){const l=o.useContext(oA),B=o.useCallback((({items:A,singleExpand:e,defaultAllExpanded:t})=>{var r;return t?e?[`${String(null==(r=A[0])?void 0:r.key)}_panel`]:A.filter((({defaultExpanded:A})=>"boolean"!=typeof A||A)).map((({key:A})=>`${String(A)}_panel`)):[]}),[t,A,e]),[c,u]=o.useState(B({items:A,singleExpand:e,defaultAllExpanded:t})),g=A=>(t,r)=>{e?u(r?[A]:[]):(r&&l.handleScrollBehavior(t.currentTarget),u(r?[A,...c]:c.filter((e=>e!==A))))};o.useEffect((()=>{const r=B({items:A,singleExpand:e,defaultAllExpanded:t});t&&JSON.stringify(r)!==JSON.stringify(c)&&u(r)}),[A]);const d=o.useCallback((()=>s?A.map((({key:A})=>`${String(A)}_panel`)):[]),[s]);return o.useEffect((()=>{void 0!==s&&u(d()??[])}),[s]),o.useEffect((()=>{u(void 0!==s&&s?d()??[]:[])}),[i]),r.jsx(ge,{sx:{maxHeight:n,overflow:"hidden",overflowY:"auto",width:"100%"},className:"enj-accordion",children:null==A?void 0:A.map((({key:A,title:e,depth:t,children:n,titleSuffix:s=r.jsx(r.Fragment,{}),sxTitle:o})=>{const i=`${String(A)}_panel`;return r.jsxs(It,{expanded:c.includes(i),onChange:a?g(i):()=>{},id:`panel-${String(A)}-${t||0}`,children:[r.jsx(vt,{className:`acc-${Number(t)}`,"aria-controls":`${i}-content`,id:`${i}-header`,expandIcon:a?r.jsx(jA,{children:c.includes(i)?r.jsx(re,{color:"disabled"}):r.jsx(ne,{color:"disabled"})}):r.jsx(r.Fragment,{}),children:r.jsxs(ge,{sx:o,children:[r.jsx(LA,{text:e,size:"micro",color:"gray",weight:600,variant:"h3"}),s]})}),r.jsx(Kt,{children:n})]},i)}))})})),Xu={maxWidth:"375px",width:"100%",overflowY:"auto",height:"var(--cnt-businessmenu-h)",m:"15px auto 0","& > .MuiBox-root:first-of-type":{pt:0},"& img":{width:"100%",height:"var(--cnt-product-i-h)",position:"absolute",objectFit:"cover",borderRadius:"20px"},"@media(min-width:768px)":{maxWidth:"608px",px:"12px"},".enj-accordion > .MuiPaper-elevation:not(:first-of-type)":{borderTop:0,borderBottom:0},".enj-accordion > .MuiPaper-elevation:last-child":{borderTop:0,borderBottom:0},".Mui-expanded":{margin:"0!important"},".acc-1":{backgroundColor:"#dd490614",borderRadius:"18px",border:"solid 2px #fff"},".acc-2":{backgroundColor:"#ffecc673",borderRadius:"18px",border:"solid 2px #fff"},".acc-3":{backgroundColor:"#8888881a",borderRadius:"18px",border:"solid 2px #fff"},".product-padding":{paddingRight:"14.9px"},"& .MuiAccordionDetails-root":{padding:"0 0 16px 14.9px"},"& h3":{color:"black"}},Wu=(A,e,t,n,s=!1)=>{const o=A.map(((A,t)=>({title:A.name,key:t.toString(),depth:A.depth,children:r.jsx(Ju,{imgHeight:e,products:A.products,sub_collections:A.sub_collections,defaultAllExpanded:s})})));return r.jsx(Nu,{items:o,expandAll:t,defaultAllExpanded:s,someExpanded:n,expandable:!1})};U((function({expandAll:A,someExpanded:e,isReady:t}){var n;const s=o.useContext(oA),i=o.useMemo((()=>P(s.getCategories)),[s.getCategories]),a=o.useRef(),l=null==(n=a.current)?void 0:n.getBoundingClientRect().width,B=ce(l),c=o.useMemo((()=>{const A=document.getElementsByClassName("bottom-navbar-container")[0];return D.isDesktop?{"--cnt-businessmenu-h":.78*D.height+"px","--cnt-product-i-h":`${B}px`}:D.isTablet?{"--cnt-businessmenu-h":.78*D.height-165-(null==A?void 0:A.getBoundingClientRect().height)+"px","--cnt-product-i-h":`${B}px`}:{"--cnt-businessmenu-h":.78*D.height-100-(null==A?void 0:A.getBoundingClientRect().height)+"px","--cnt-product-i-h":`${B}px`}}),[D.height,B]);return t?r.jsx(E,{ref:a,sx:Xu,style:c,className:"collections-accordion-container",children:Wu(i,B,A,e)}):s.fromProducts?r.jsx(r.Fragment,{}):r.jsx(MA,{})}));const Ju=U((function({products:A,sub_collections:e,imgHeight:t,defaultAllExpanded:n}){return r.jsxs(r.Fragment,{children:[A.map(((A,e)=>r.jsx(Vu,{imgHeight:t,index:e,...A},e))),Wu(e,t,!0,!1,n)]})})),Yu={maxWidth:"375px",width:"100%",overflowY:"auto",height:"var(--cnt-businessmenu-h)",m:"0 auto ","& > .MuiBox-root:first-of-type":{pt:0},"& img":{width:"100%",height:"var(--cnt-product-i-h)",position:"absolute",objectFit:"cover",borderRadius:"20px"},"@media(min-width:768px)":{maxWidth:"608px",px:"12px"},".enj-accordion > .MuiPaper-elevation:not(:first-of-type)":{borderTop:0,borderBottom:0},".enj-accordion > .MuiPaper-elevation:last-child":{borderTop:0,borderBottom:0},".Mui-expanded":{margin:"0!important"},".acc-1":{backgroundColor:"#dd490614",borderRadius:"18px",border:"solid 2px #fff"},".acc-2":{backgroundColor:"#ffecc673",borderRadius:"18px",border:"solid 2px #fff"},".acc-3":{backgroundColor:"#8888881a",borderRadius:"18px",border:"solid 2px #fff"},".product-padding":{paddingRight:"14.9px"},"& .MuiAccordionDetails-root":{padding:"0 0 16px 14.9px"},"& h3":{color:"black"}};function _u({collection:A,expandAll:e,someExpanded:t,expandable:n}){var s;const i=o.useRef(),a=null==(s=i.current)?void 0:s.getBoundingClientRect().width,l=ce(a),B={title:A.name,key:A.uuid,depth:A.depth,children:r.jsx(Ju,{imgHeight:l,products:A.products,sub_collections:A.sub_collections,defaultAllExpanded:!0})};return r.jsx(r.Fragment,{children:r.jsx(E,{ref:i,sx:Yu,className:"collections-accordion-container",children:r.jsx(Nu,{items:[B],expandAll:e,defaultAllExpanded:!0,someExpanded:t,expandable:n})})})}p(ze)`
  background-color: ${I.white};
  &.MuiPaper-root.MuiAppBar-root {
    border-radius: 28px;
    margin-bottom: 10px;

    .MuiTabs-root {
      min-height: 42px;

      .MuiTabs-flexContainer {
        justify-content: space-evenly;

        button.MuiButtonBase-root {
          min-height: 42px;
          padding: 6px 0;
          min-width: fit-content;
          font-size: 14px;

          .MuiTab-wrapper {
            width: fit-content;
          }
        }
      }

      .MuiTabs-indicator {
        background-color: ${I.red};
        height: 1.5px;
        bottom: 9px;
      }
      .Mui-selected {
        .MuiTypography-root {
          color: ${I.red};
        }
      }
    }
  }
`;const Zu=U((function({categories:A,defaultTab:e=0}){const[t,n]=o.useState(0),s=o.useContext(mt),i=o.useRef(null),a=o.useContext(oA);return o.useEffect((()=>{let e,t=0;const r=()=>{const r=i.current?i.current.scrollTop:0,s=r>t,o=r<t;t=r,e=setTimeout((()=>{if(i.current){const e=i.current.getBoundingClientRect().top;A.forEach((({uuid:A},t)=>{const r=document.getElementById(`${String(A)}_panel-header`).getBoundingClientRect();r.top>=e&&r.bottom<=window.innerHeight&&(s?n(t):o&&t>=1&&n(t-1))}))}}),500)};if(i.current)return i.current.addEventListener("scroll",r),()=>{var A;null==(A=i.current)||A.removeEventListener("scroll",r),clearTimeout(e)}}),[]),o.useEffect((()=>{n(e)}),[s.getProfile.username]),o.useEffect((()=>{(async()=>{let A;do{A=await a.loadBusinessProduct(!1,!1)}while(A)})()}),[]),r.jsx(r.Fragment,{children:-1===t?r.jsx(r.Fragment,{}):r.jsxs(r.Fragment,{children:[r.jsx(E,{id:"enj-tab-panel",pb:2,children:r.jsx(ze,{sx:{minHeight:"42px",".MuiTabs-flexContainer":{justifyContent:"start",px:D.isDesktop?8:2,"button.MuiButtonBase-root":{minHeight:"42px",pb:0,fontSize:"14px"},".MuiTabs-indicator":{backgroundColor:I.red,height:"1.5px"},".Mui-selected":{".MuiTypography-root":{color:I.red}}}},value:t,onChange:(e,t)=>{var r;const s=A[t],o=document.getElementById(`panel-${String(s.uuid)}-${String(s.depth||0)}`);o&&(n(t),null==(r=i.current)||r.scrollTo({top:o.offsetTop-140,behavior:"smooth"}))},indicatorColor:"primary",variant:"scrollable",scrollButtons:"auto",textColor:"inherit",children:A.map(((A,e)=>r.jsx(qe,{sx:{minWidth:"fit-content",px:1},"data-test":`enj-business-info-${A.name}`,label:r.jsx(DA,{weight:500,color:"gray",size:"micro",text:A.name,variant:"h2"})},`enj-bss-tab-${e}`)))})}),r.jsx(E,{id:"enj-product-category-container",ref:i,maxHeight:`calc(100vh - ${D.isDesktop?220:270}px)`,overflow:"scroll",sx:{overflowX:"hidden",overflowY:"auto"},children:A.map((A=>r.jsx(_u,{collection:A,expandAll:!0,someExpanded:!0,expandable:!1},`enj-bss-tab-item-${A.name}`)))})]})})}));const zu=U((function(){const A=o.useMemo((()=>D.isMobile),[D.device]),e=o.useContext(oA),{onClickAddDish:t,onClickAddDrink:n}=e,s=e.hasFilters;return e.hasProducts&&m.isLoading&&e.getSearchedProducts.length?r.jsx(r.Fragment,{}):r.jsxs(VA,{alignItems:"center",children:[r.jsx(b,{size:"mini",maxWidth:A?"280px":"374px",margin:"21px auto auto",children:x(s?"searchNoFilterResults":"businessProductsNoResults",{lottery:r.jsx(Re,{})})}),s?r.jsx(NA,{startIcon:r.jsx(qA,{}),variant:"outlined",onClick:()=>s&&e.onClickRestartSortFilter(!0),sx:{my:"15px"},children:x("removeFilters")}):r.jsxs(E,{children:[r.jsx(NA,{startIcon:r.jsx(nt,{}),variant:"outlined",onClick:t,sx:{my:"15px",mr:"15px"},children:x("addDish")}),r.jsx(NA,{startIcon:r.jsx(st,{}),variant:"outlined",onClick:n,sx:{my:"15px"},children:x("addDrink")})]}),r.jsx(Lt,{height:A?"180px":"220px"})]})})),qu={maxWidth:"375px",width:"100%",overflow:"hidden",overflowY:"auto",height:"var(--cnt-businessmenu-h)",m:"15px auto 0","& > .MuiBox-root:first-of-type":{pt:0},"& img":{width:"100%",height:"var(--cnt-product-i-h)",position:"absolute",objectFit:"cover",borderRadius:"20px"},"@media(min-width:768px)":{maxWidth:"608px",px:"12px"}},$u=U((()=>o.useContext(oA).isLoading?null:r.jsx(zu,{}))),Ag=U((()=>{const A=o.useContext(oA);return A.hasMore&&A.isLoading?r.jsx(yt,{}):r.jsx(r.Fragment,{})}));const eg=U((function(){var A;const e=o.useContext(oA),t=o.useMemo((()=>e.getProductsLength-G),[e.getProductsLength]),n=o.useCallback((()=>e.loadBusinessProduct()),[]),s=o.useMemo((()=>P(e.getCategories)),[e.getCategories]),i=o.useRef(),a=null==(A=i.current)?void 0:A.getBoundingClientRect().width,l=ce(a),c=o.useMemo((()=>({"--cnt-businessmenu-h":`calc(100vh - ${D.isDesktop?180:200}px)`,"--cnt-product-i-h":`${l}px`})),[D.height,l]);return e.getByCategory?Boolean(s.length)&&r.jsx(Zu,{draggable:!D.isDesktop,categories:s}):r.jsx(E,{ref:i,sx:qu,style:c,className:"collections-padding",children:r.jsx(B,{style:{height:"100%",width:"100%"},data:e.getProducts,endReached:n,overscan:1.25*D.height,itemContent:(A,e)=>r.jsx(Vu,{index:A,...e,imgHeight:l}),rangeChanged:e.hasMore?({endIndex:A})=>{A>=t&&!e.isLoading&&e.loadBusinessProduct()}:void 0,components:{Footer:Ag,EmptyPlaceholder:$u}})})})),tg=p((({value:A,onChangeView:e,disabled:t,...n})=>r.jsx("div",{style:{position:"relative",height:"28px",cursor:"pointer"},onClick:e,children:r.jsx(EA,{checked:A,focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,disabled:t,...n,sx:{width:"100%"}})})))((({value:A,afterLabel:e,beforeLabel:t,disabled:r})=>({width:D.isMobile?"140px":"100%",height:30,padding:0,position:"relative","& .MuiSwitch-switchBase":{width:A?"145px":"none",padding:0,margin:2,transitionDuration:"300ms",transform:"translateX(0px)"},"& .MuiSwitch-switchBase.Mui-checked":{transform:`translateX(${D.isMobile?8:42}px)`,color:"white","& .MuiSwitch-thumb:before":{content:'""',...!D.isMobile&&{top:0}},"& .MuiSwitch-thumb:after":{content:`"${e}"`,left:D.isMobile?26:10,top:2,backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 20 20"><path fill="${encodeURIComponent(I.red)}" d="M1.33333 12.1437C0.966667 12.1437 0.652778 12.0131 0.391667 11.752C0.130556 11.4909 0 11.177 0 10.8103V1.47701C0 1.11034 0.130556 0.796455 0.391667 0.535343C0.652778 0.274232 0.966667 0.143677 1.33333 0.143677H10.6667C11.0333 0.143677 11.3472 0.274232 11.6083 0.535343C11.8694 0.796455 12 1.11034 12 1.47701V10.8103C12 11.177 11.8694 11.4909 11.6083 11.752C11.3472 12.0131 11.0333 12.1437 10.6667 12.1437H1.33333ZM1.33333 10.8103H10.6667V1.47701H1.33333V10.8103ZM2 9.47701H10L7.5 6.14368L5.5 8.81034L4 6.81034L2 9.47701ZM3.66667 4.81034C3.94444 4.81034 4.18056 4.71312 4.375 4.51868C4.56944 4.32423 4.66667 4.08812 4.66667 3.81034C4.66667 3.53257 4.56944 3.29645 4.375 3.10201C4.18056 2.90757 3.94444 2.81034 3.66667 2.81034C3.38889 2.81034 3.15278 2.90757 2.95833 3.10201C2.76389 3.29645 2.66667 3.53257 2.66667 3.81034C2.66667 4.08812 2.76389 4.32423 2.95833 4.51868C3.15278 4.71312 3.38889 4.81034 3.66667 4.81034Z"/></svg>')`}},"& .MuiSwitch-thumb":{color:I.red,top:"1%",boxSizing:"border-box",backgroundColor:"white",width:D.isMobile?110:143,height:26,borderRadius:"20px",fontSize:D.isMobile?"10px":"14px",textWrap:"nowrap","&::before":{...D.isMobile&&{top:3},content:`"${t}"`,position:"absolute",width:"100%",height:"100%",left:5,padding:D.isMobile?"2px 20px":"2px 25px",backgroundRepeat:"no-repeat",backgroundPosition:"left"},"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",left:10,top:D.isMobile?3:4,padding:D.isMobile?"2px 14px":"0 16px",backgroundRepeat:"no-repeat",backgroundPosition:"left",backgroundImage:'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 20 20"><path d="M4.16667 1.14036H11.5M4.16667 5.14036H11.5M4.16667 9.14036H11.5M1.5 1.14036V1.14702M1.5 5.14036V5.14703M1.5 9.14036V9.14703" stroke="%23D64300" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\')'}},"& .MuiSwitch-track":{borderRadius:25,backgroundColor:`${I.red}!important`,opacity:r?"0.4!important":"1!important","&:before":{content:'""',position:"absolute",top:8,left:D.isMobile?10:20,width:14,height:14,opacity:.5,backgroundRepeat:"no-repeat",backgroundPosition:"left",backgroundImage:'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" width="14" viewBox="0 0 14 14"><path d="M3.9975 1.14368H12.2406M3.9975 5.63993H12.2406M3.9975 10.1362H12.2406M1 1.14368V1.15117M1 5.63993V5.64742M1 10.1362V10.1437" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\')'},"&:after":{content:'""',position:"absolute",right:D.isMobile?10:16,top:8,width:14,height:14,opacity:.5,backgroundRepeat:"no-repeat",backgroundPosition:"left",backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="14" width="14" viewBox="0 0 14 14"><path fill="${encodeURIComponent(I.white)}" d="M1.33333 12.1437C0.966667 12.1437 0.652778 12.0131 0.391667 11.752C0.130556 11.4909 0 11.177 0 10.8103V1.47701C0 1.11034 0.130556 0.796455 0.391667 0.535343C0.652778 0.274232 0.966667 0.143677 1.33333 0.143677H10.6667C11.0333 0.143677 11.3472 0.274232 11.6083 0.535343C11.8694 0.796455 12 1.11034 12 1.47701V10.8103C12 11.177 11.8694 11.4909 11.6083 11.752C11.3472 12.0131 11.0333 12.1437 10.6667 12.1437H1.33333ZM1.33333 10.8103H10.6667V1.47701H1.33333V10.8103ZM2 9.47701H10L7.5 6.14368L5.5 8.81034L4 6.81034L2 9.47701ZM3.66667 4.81034C3.94444 4.81034 4.18056 4.71312 4.375 4.51868C4.56944 4.32423 4.66667 4.08812 4.66667 3.81034C4.66667 3.53257 4.56944 3.29645 4.375 3.10201C4.18056 2.90757 3.94444 2.81034 3.66667 2.81034C3.38889 2.81034 3.15278 2.90757 2.95833 3.10201C2.76389 3.29645 2.66667 3.53257 2.66667 3.81034C2.66667 4.08812 2.76389 4.32423 2.95833 4.51868C3.15278 4.71312 3.38889 4.81034 3.66667 4.81034Z"/></svg>')`}},"& .MuiTypography-root.MuiSwitch-label":{position:"absolute",width:"100%",top:"50%",left:"150%",transform:"translate(-50%, -50%)",color:I.red,zIndex:1}})));const rg=U((function({beforeLabel:A,afterLabel:e,disabled:t,onChangeView:n,value:s}){return r.jsx(tg,{beforeLabel:A,afterLabel:e,value:s,disabled:t,onChangeView:n})})),ng={maxWidth:"375px",width:"100%",overflow:"hidden",overflowY:"auto",height:"var(--cnt-businessmenu-h)",m:"15px auto 0","& > .MuiBox-root:first-of-type":{pt:0},"& img":{width:"100%",height:"var(--cnt-product-i-h)",position:"absolute",objectFit:"cover",borderRadius:"20px"},"@media(min-width:768px)":{maxWidth:"608px",px:"12px"}},sg=U((()=>o.useContext(oA).isLoading?null:r.jsx(zu,{}))),og=U((()=>o.useContext(oA).isLoading?r.jsx(yt,{}):r.jsx(r.Fragment,{})));const ig=U((function(){var A;const e=o.useContext(oA),t=o.useMemo((()=>e.getProductsLength-G),[e.getProductsLength]),n=o.useCallback((()=>e.loadBusinessProduct()),[]),s=o.useRef(),i=null==(A=s.current)?void 0:A.getBoundingClientRect().width,a=ce(i),l=o.useMemo((()=>({"--cnt-businessmenu-h":.78*D.height-120+"px","--cnt-product-i-h":`${a}px`})),[D.height,a]);return r.jsx(E,{ref:s,sx:ng,style:l,className:"collections-padding",children:r.jsx(B,{style:{height:"100%",width:"100%"},data:e.getSearchedProducts,endReached:n,overscan:570,itemContent:(A,e)=>r.jsx(Vu,{index:A,...e,imgHeight:a}),rangeChanged:e.hasMore?({endIndex:A})=>{A>=t&&!e.isLoading&&e.loadBusinessProduct()}:void 0,components:{Footer:og,EmptyPlaceholder:sg}})})})),ag={"&&.MuiChip-root":{minWidth:"unset",width:"32px",pl:"14px"}},lg={"&&.MuiChip-root":{minWidth:"90px",width:"100%",pl:"1px","& .MuiChip-label":{pr:"6px",pl:"8px"},"@media(min-width:768px)":{minWidth:"115px"}}},Bg={"&&.MuiChip-root":{minWidth:"90px",pl:"1px","& .MuiChip-label":{pr:"6px",pl:"11px"}}};const cg=U((function(){const A=o.useContext(oA),e=o.useContext(UA),{onClickShowSort:t,onClickShowFilter:n,onAddProduct:s}=A,i=o.useCallback((()=>window.open(A.getCartaUrl,"_blank")),[A.getCartaUrl]),a=U((()=>r.jsx(St,{"aria-label":"clear",onClick:()=>{A.getSearch.onChange("")},style:{"--visible":A.getSearch.value?"visible":"hidden"},children:r.jsx(kA,{})})));return r.jsxs(r.Fragment,{children:[r.jsxs(E,{sx:{display:"flex",justifyContent:"space-between",maxWidth:"525px",mx:"auto",p:"0 15px ",gap:"5px"},children:[r.jsxs(E,{sx:{display:"flex",flexDirection:"column",gap:"11px",flexGrow:1},children:[r.jsxs(E,{sx:{display:"flex",gap:"5px"},children:[r.jsx(Ct,{icon:r.jsx(tt,{}),disabled:!A.getImagesMenuStr.getSize,onClick:()=>A.setWebPict(!0),label:x("showImg"),sx:lg}),r.jsx(Ct,{icon:r.jsx(ft,{}),disabled:!A.getCartaUrl,onClick:i,label:x("showWeb"),sx:lg})]}),r.jsx(jt,{onInputChange:e=>{e||A.setSearchedProducts([]),V((()=>A.loadBusinessProduct(!0,!0)),500)()},fieldState:A.getSearch,hiddenLabel:!0,placeholder:x("searchCart"),sx:{".MuiInputBase-root":{height:"35px",pl:"5px"},"fieldset.MuiOutlinedInput-notchedOutline":{border:`1px solid ${I.red}`}},InputProps:{startAdornment:r.jsx(Mt,{position:"start",children:r.jsx(Dt,{})}),endAdornment:r.jsx(Mt,{sx:{"& .MuiSvgIcon-root":{width:"20px",height:"20px"}},position:"end",children:r.jsx(a,{})})}})]}),r.jsxs(E,{sx:{display:"flex",flexDirection:"column",gap:2,width:D.isMobile?"140px":"190px"},children:[r.jsx(rg,{beforeLabel:x("simpleCard"),afterLabel:x("extendCard"),value:A.getExpandProductCards,onChangeView:A.setExpandProductCards}),r.jsxs(E,{sx:{display:"flex",gap:"5px"},children:[r.jsx(gt,{onClick:n,count:A.getFilterCount,sx:{...Bg,width:"100%"}}),r.jsx(Ct,{onClick:t,icon:r.jsx(ht,{}),sx:D.isMobile?ag:Bg,label:D.isMobile?void 0:x("sort"),disabled:0===A.getProductsLength&&!A.hasCategories})]})]})]}),A.getSearch.value?r.jsx(ig,{}):r.jsx(eg,{}),r.jsx(xA.Provider,{value:A.getAddProductStr(),children:r.jsx(Ft,{onAddProduct:s})}),r.jsxs(mA.Provider,{value:e.getReviewStr,children:[r.jsx(pt,{}),r.jsx(Ut,{})]})]})})),ug={"&":{"@media(min-width:768px)":{maxWidth:"490px",mx:"auto"},"@media(min-width:1366px)":{maxWidth:"534px"}}},gg={"&":{"@media(min-width:768px)":{maxWidth:"450px",mx:"auto","& .MuiButtonBase-root":{pointerEvents:"none"},"& .MuiAccordionSummary-expandIconWrapper":{display:"none"},"& .MuiAccordionDetails-root":{pb:"30px","& .enj-accordion-detail":{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:"0 10px"}},"& .MuiAccordionSummary-content.Mui-expanded":{mt:"25px",mb:"20px"}},"@media(min-width:1366px)":{maxWidth:"530px"}},maxHeight:"calc(100vh - 320px)"},dg=p("div")`
  .collections-padding {
    padding: 0 15px;
  }
`;const hg=U((function({showReviewsFunc:A,showMapFunc:e}){const t=Ie();return r.jsx(dg,{children:r.jsx(uA,{showReviewsFunc:A,showMapFunc:e,defaultTab:t,draggable:!D.isDesktop,tabs:[r.jsx(qe,{"data-test":"enj-business-info",label:r.jsx(DA,{weight:500,color:"white",size:"micro",text:x("information"),variant:"h2"})},"enj-bss-tab-1"),r.jsx(qe,{"data-test":"enj-business-menu",label:r.jsx(DA,{weight:500,color:"white",size:"micro",text:x("menu1"),variant:"h2"})},"enj-bss-tab-2"),r.jsx(qe,{"data-test":"enj-business-reviews",label:r.jsx(DA,{weight:500,color:"white",size:"micro",text:x("reviews"),variant:"h2"})},"enj-bss-tab-3")],tabItems:[r.jsx(gA,{children:r.jsxs(E,{sx:ug,className:"collections-padding",children:[r.jsx(Ou,{}),r.jsx(E,{sx:gg,children:r.jsx(ve,{context:oA})})]})},"enj-bss-tab-1"),r.jsx(gA,{children:r.jsx(cg,{})},"enj-bss-tab-2"),r.jsx(gA,{children:r.jsx(Mu,{})},"enj-bss-tab-3")]})})}));const wg=U((function(){const A=o.useContext(oA);return r.jsx(xt,{onPublish:()=>A.onPublishProductReview()})}));const pg=kt.div`
  height: ${({headerH:A})=>A}px;
  position: sticky;
  top: -${({headerT:A})=>A}px;
  z-index: 2;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  @media (min-width: 768px) {
    height: 78px;
    top: 0;
    background: ${I.red};
    .enj-header-sticky-container {
      max-width: 608px;
      margin: 0 auto;
    }
  }
  @media (min-width: 1366px) {
    border-radius: 0;
    .enj-header-sticky-container {
      max-width: 720px;
    }
  }
`,Cg=kt.div`
  height: ${({bodyH:A})=>A}px;
  position: sticky;
  top: ${({bodyT:A})=>A}px;
  @media (min-width: 768px) {
    max-width: 608px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 10px;
  }
  @media (min-width: 1366px) {
    max-width: 720px;
    padding-bottom: 0;
    height: auto;
  }
`,Qg={"&":{mx:"auto","& .enj-btn-base-address .MuiSvgIcon-root":{top:"-3px"},"@media(min-width:768px)":{maxWidth:"608px",mx:"auto",p:0},"@media(min-width:1366px)":{maxWidth:"720px"}}},fg={"& .enj-btn-base-address":{mt:"13px"},mb:"34px",display:"grid",gridTemplateColumns:"min-content auto",gap:"28px","@media(min-width:1366px)":{gap:"50px"}},Fg={"&.MuiBox-root .enj-btn-base-address .MuiSvgIcon-root":{width:"30px",height:"30px"}},Ug={display:"flex",alignItems:"center",width:"100%",gap:"4px","& .enj-btn-base-address":{mt:0}};const xg=U((function(){const A=c(),e=o.useContext(oA),{headerH:t,headerT:n,bodyH:s,bodyT:i}=o.useMemo((()=>{return{headerH:.33*(A=D.height),headerT:.2*A,bodyH:.98*A,bodyT:.15*A};var A}),[D.height]),l=o.useMemo((()=>D.isMobile),[D.device]),B=We();o.useLayoutEffect((()=>{var A,t,r,n,s;if(e.getBusiness.name){aA("business",{...e.getBusiness,image:e.getBusiness.main_picture,services:null==(t=null==(A=e.getTags["instalaciones-y-servicios"])?void 0:A.items)?void 0:t.map((({name:A})=>A)).join(", "),types:null==(n=null==(r=e.getTags["tipo-de-negocio"])?void 0:r.items)?void 0:n.map((({name:A})=>A)).join(", "),ogtitle:"business.ogtitle"});const o=null==(s=Object.entries(N[X.language]).find((([,A])=>A===e.getBusiness.main_type_str)))?void 0:s[0];lA("route.business.build",{businessSlug:e.getBusiness.slug,business:o,city:e.getBusiness.city})}return BA}),[e.getBusiness,e.getTags]);const{enjoty_rating:u,name:g,num_reviews:d,open_now:h,has_delivery:w,phone_number:p,secondary_phone_number:C,address:Q,full_address:f,city:F,location_picture:U}=o.useMemo((()=>e.getBusiness),[e.getBusiness]),{loadData:y,onClickDelivery:H}=e,v=a.useRef(),K=a.useRef();return o.useLayoutEffect((()=>(W(J.ACTIVITY),e.clear(),e.onChangeByCategory(!0),e.setExpandAllCategories(!1),y(A),"RATE_PRODUCT"!==m.current&&(B.delete("productSlug"),R.replace({search:B.toString()})),()=>{document.getElementById("enj-main-layout-id").scrollTop=0})),[]),o.useLayoutEffect((()=>{L.isAuth&&e.loadGeneratedText()}),[L.isAuth]),r.jsx("div",{children:r.jsxs(E,{children:[r.jsx(pg,{headerH:t,headerT:n,children:r.jsx(Qu,{})}),r.jsxs(E,{padding:l?"20px 20px 0":"20px 0 0",mt:l?void 0:"34px",sx:{...Qg,...l?{}:fg},children:[l?r.jsx(r.Fragment,{}):r.jsx(xu,{}),r.jsxs(E,{sx:l?{}:Fg,children:[r.jsxs(ge,{container:!0,display:"flex",justifyContent:"space-between",alignItems:"flex-start",flexWrap:"nowrap",mb:"16px",children:[r.jsx(et,{titleSize:"medium",titleVariant:"h1",rating:u,title:g,reviews:d,onClickRating:()=>{if(v&&(v.current(!1),!D.isDesktop)){const A=document.getElementById("enj-tab-panel");fe(A,{behavior:"smooth",block:"start"},{duration:600})}},titleMargin:l?"0 5px 4px 2px":"0 5px 16px 2px",subTitleMargin:"6px 5px 0 2px",dataTestRating:"enj-entity-rating",titleStart:e.isVerified?r.jsx(Tt,{title:x("claimed"),placement:"top-start",children:r.jsx(Ge,{sx:{color:I.black,width:"auto",height:"20px"}})}):void 0,titleEnd:l?void 0:r.jsx(b,{margin:"3px auto 16px 8px",fontStyle:"italic",size:"mini",color:h?"green":"red",children:x(h?"open":"close")}),sx:{"& .rating-icon":{ml:"17px!important"},"@media (max-width: 1366px)":{width:"calc(100% - 112px)"}}}),l&&L.isUserOwner(e.getSlug)?r.jsx(NA,{onClick:()=>e.onClickEdit(),sx:{width:"112px"},children:x("editProfile")}):r.jsx(r.Fragment,{})]}),r.jsxs(E,{sx:Ug,children:[r.jsx($e,{address:Q,full_address:f,viewInMapOnClick:!0,textMargin:l?"0 0 0 5px":"5px 0 0 10px!important",city:F}),U&&r.jsx(Ht,{onClick:()=>{K.current(!1),fe(document.getElementById("enj-tab-location-panel"),{behavior:"smooth",block:"center"})},label:x("viewMap"),variant:"outlined",size:"small",sx:{height:"15px",fontSize:"10px",fontStyle:"italic",fontWeight:300,cursor:"pointer",px:0,"& .MuiChip-label":{px:"5px"}}})]}),l?r.jsx(r.Fragment,{}):r.jsx(Ce,{showText:!0,phone:p,secondary_phone:C,hasDelivery:w,onClickDelivery:H,sx:{mt:"15px","&.MuiGrid-root, &.MuiGrid-root .MuiGrid-root":{alignSelf:"flex-start"},"&& button.MuiButtonBase-root":{borderRadius:"28px",borderColor:I.red,"&:last-of-type":{m:"0 0 0 16px!important"}},"& .MuiIconButton-root":{"@media(min-width:1366px)":{width:"136px"},height:"36px",width:"120px"}}}),!l&&L.isUserOwner(e.getSlug)?r.jsx(NA,{sx:{"@media(min-width:1366px)":{width:"288px"},width:"256px",mt:2},onClick:()=>e.onClickEdit(),children:x("editProfile")}):r.jsx(r.Fragment,{})]}),l?r.jsx(yu,{}):r.jsx(r.Fragment,{})]}),l?r.jsx(r.Fragment,{}):r.jsx(E,{sx:{maxWidth:"608px",mx:"auto",width:"100%",p:0,mb:"34px","& .MuiGrid-root .MuiGrid-root":{justifyContent:"flex-start"},"@media(min-width:1366px)":{maxWidth:"720px"}},children:r.jsx(yu,{})}),r.jsxs(UA.Provider,{value:e.getProductStr,children:[r.jsx(Cg,{bodyH:s,bodyT:i,children:r.jsx(hg,{showReviewsFunc:v,showMapFunc:K})}),r.jsx(wg,{})]})]})})}));const mg=U((function(){const A=o.useContext(oA);return r.jsx(E,{sx:{display:"flex",justifyContent:"center",width:"100%",bgcolor:I.red,height:"88px",py:"30px",px:"15px",borderRadius:D.isDesktop?0:"0 0 28px 28px",position:"sticky",top:0},children:r.jsxs(E,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",height:"28px",maxWidth:720},children:[r.jsx(ZA,{onClick:A.goBack}),r.jsx(b,{color:"white",size:"small",weight:500,"data-test":"enj-profile-title",children:x(A.getTitle)})]})})}));const yg=U((function(){const A=o.useContext(oA),e=o.useMemo((()=>Y({city:"",setCity(A=""){this.city=A}})),[]),t=()=>{e.setCity()};return r.jsx(Pt,{validateOnBlur:!0,hiddenLabel:!1,label:x("city"),fieldState:A.businessGeneralInfoForm.city,options:A.cities,renderOption:(A,e)=>r.jsx("li",{...A,children:r.jsxs(TA,{gutterBottom:!0,sx:{"&":{fontSize:"13px"}},children:[e.label," (",e.data,")"]})}),placeholder:x("writeACity"),onChangeInput:(t,r)=>{e.setCity("input"===r?t:""),A.setLoadingCities(!0),A.onCitiesChanged(t)},loading:A.isLoadingCities,onBlur:t,onChange:t})})),Hg=kt.img`
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15%;
`;const bg=U((function(){const A=o.useContext(oA),[e,t]=o.useState(A.businessGeneralInfoForm.main_picture.value),n=o.useMemo((()=>A.getImgsToCrop.find((e=>e.id===A.getImgToEdit))),[A.getImgsToCrop,A.getImgToEdit]);return o.useEffect((()=>{A.businessGeneralInfoForm.main_picture.value instanceof File?_(A.businessGeneralInfoForm.main_picture.value,t):t(A.businessGeneralInfoForm.main_picture.value)}),[A.businessGeneralInfoForm.main_picture.value]),o.useEffect((()=>(A.initGeneralInfoForm(),A.initGeneralInfoForm)),[]),o.useEffect((()=>{A.businessGeneralInfoForm.main_picture.value instanceof File?_(A.businessGeneralInfoForm.main_picture.value,t):t(A.businessGeneralInfoForm.main_picture.value)}),[A.businessGeneralInfoForm.main_picture.value]),r.jsxs(E,{sx:{display:"flex",flexDirection:"column",alignItems:"center",my:3,px:2,mb:10},children:[r.jsx(DA,{color:"lightGray",size:"mini",text:x("pictureProfile")}),r.jsxs(Ot,{children:[r.jsx(Hg,{loading:"lazy",src:e}),r.jsx(E,{sx:{position:"absolute",bottom:"-10px",right:"-10px",backgroundColor:"white !important"," & .MuiIconButton-root":{backgroundColor:"white !important",width:"41px;",height:"41px",padding:"4px",position:"absolute",bottom:"-5px",right:"-10px"," & .MuiSvgIcon-root":{width:"30px",height:"30px",padding:"6px",borderRadius:"50%",border:"1px solid red"}}},children:r.jsx(HA,{onChange:A.onHandleUploadClick,children:r.jsx(jA,{component:"span",children:r.jsx(Rt,{})})})})]}),r.jsxs(E,{sx:{display:"flex",gap:2,justifyContent:"center",flexDirection:"column",mb:3,width:D.isMobile?"344px":"400px"},children:[r.jsx(jt,{required:!0,validateOnBlur:!0,fieldState:A.businessGeneralInfoForm.name,hiddenLabel:!1,label:x("businessName")}),r.jsx(yg,{}),r.jsx(jt,{required:!0,validateOnBlur:!0,fieldState:A.businessGeneralInfoForm.address,hiddenLabel:!1,label:x("address")}),r.jsx(jt,{validateOnBlur:!0,fieldState:A.businessGeneralInfoForm.phone_number,hiddenLabel:!1,label:x("mainPhone")}),r.jsx(jt,{validateOnBlur:!0,fieldState:A.businessGeneralInfoForm.email,hiddenLabel:!1,label:x("email")}),r.jsx(jt,{validateOnBlur:!0,fieldState:A.businessGeneralInfoForm.chef,hiddenLabel:!1,label:x("chefName")})]}),r.jsx(NA,{disabled:A.disabledGeneralInfoButton(),onClick:A.onEditBusinessGeneralInfo,sx:{width:"120px"},children:x("save")}),r.jsx(yA,{onClickAccept:()=>{A.onHandleProfileImgClick((null==n?void 0:n.croppedImage)??(null==n?void 0:n.image))},src:n,extension:A.getExtension,images:A.getImgsToCrop,onDelete:A.onHandleDelete,onChange:A.onHandleClickEdit,onCropImage:A.onHandleCropImage,onClose:A.onHandleClose,limit:1,forOneImage:!0,actionJustification:"flex-end"})]})}));const Eg=o.createContext(new class extends oe{constructor(){super(),e(this,"loadDataByFilter",(async A=>Fe.loadTagsByCategory({...A,category:"pagos-aceptados"})))}});const Ig=U((function({fieldState:A,required:e=!1,placeholderId:t="selectAcceptedPayments",labelId:n="paymentType",limit:s}){const i=o.useContext(Eg);return o.useLayoutEffect((()=>{i.loadInitData()}),[]),r.jsx(ie.Provider,{value:i,children:r.jsx(ae,{limit:s,label:x(n),placeholder:x(t),required:e,fieldState:A})})}));const vg=o.createContext(new class extends oe{constructor(){super(),e(this,"loadDataByFilter",(async A=>Fe.loadTagsByCategory({...A,category:"reconocimientos"})))}});const Kg=U((function({fieldState:A,required:e=!1,placeholderId:t="selectRecognition",labelId:n="recognition",limit:s}){const i=o.useContext(vg);return o.useLayoutEffect((()=>{i.loadInitData()}),[]),r.jsx(ie.Provider,{value:i,children:r.jsx(ae,{limit:s,label:x(n),placeholder:x(t),required:e,fieldState:A})})}));const Lg=U((function(){const A=o.useContext(oA);return o.useEffect((()=>(A.initDetailsForm(),A.initDetailsForm)),[A.getSlug]),r.jsxs(E,{sx:{display:"flex",flexDirection:"column",alignItems:"center",my:3,mb:10},children:[r.jsxs(E,{sx:{display:"flex",gap:2,justifyContent:"center",flexDirection:"column",mb:3,width:D.isMobile?"344px":"400px",px:2},children:[r.jsx(Jt,{hiddenLabel:!1,label:x("presentation"),fieldState:A.businessDetailsForm.presentation}),r.jsx(Gt,{limit:Vt,fieldState:A.businessDetailsForm.businessType,required:!0}),r.jsx(se,{limit:Nt,fieldState:A.businessDetailsForm.kitchenType,required:!0,type:"business"}),r.jsx(Xt,{limit:Wt,fieldState:A.businessDetailsForm.serviceType}),r.jsx(Ig,{fieldState:A.businessDetailsForm.acceptedPayments}),r.jsx(Kg,{limit:10,fieldState:A.businessDetailsForm.appreciations})]}),r.jsx(NA,{disabled:A.disabledBusinessDetailsButton(),sx:{width:"120px"},onClick:A.editProductTags,children:x("save")})]})})),Dg={"&.MuiIconButton-root":{width:"28px",height:"28px",bgcolor:I.red,borderRadius:"50%",position:"relative","&:disabled":{backgroundColor:"gray"},"& .MuiSvgIcon-root":{width:"20px",height:"16px",position:"relative",color:I.white}}};const jg=U((function(){const A=o.useContext(oA);return o.useEffect((()=>(A.initSocialNetwork(),A.initSocialNetwork)),[A.getSlug]),r.jsxs(E,{sx:{display:"flex",flexDirection:"column",alignItems:"center",my:3},children:[r.jsxs(E,{sx:{display:"flex",gap:2,justifyContent:"center",flexDirection:"column",mb:3,px:3},children:[r.jsxs(E,{sx:{display:"flex",gap:1,justifyContent:"center",alignItems:"center"},children:[r.jsx(jt,{placeholder:"username",sx:{"& .MuiInputAdornment-root":{marginRight:"0px"},width:"312px"},fieldState:A.businessSocialForm.facebook,InputProps:{startAdornment:r.jsxs(Mt,{position:"start",children:[r.jsx(_t,{sx:{width:20,height:20}}),r.jsx(b,{margin:"0 0 0 8px !important",children:"@"})]})}}),r.jsx(jA,{onClick:()=>A.businessSocialForm.facebook.onChange(""),disabled:!A.businessSocialForm.facebook.value,sx:{...Dg},children:r.jsx(Yt,{})})]}),r.jsxs(E,{sx:{display:"flex",gap:1,justifyContent:"center",alignItems:"center"},children:[r.jsx(jt,{placeholder:"username",sx:{"& .MuiInputAdornment-root":{marginRight:"0px"},width:"312px"},fieldState:A.businessSocialForm.instagram,InputProps:{startAdornment:r.jsxs(Mt,{position:"start",children:[r.jsx(Zt,{sx:{width:20,height:20}}),r.jsx(b,{margin:"0 0 0 8px !important",children:"@"})]})}}),r.jsx(jA,{onClick:()=>A.businessSocialForm.instagram.onChange(""),disabled:!A.businessSocialForm.instagram.value,sx:{...Dg},children:r.jsx(Yt,{})})]}),r.jsxs(E,{sx:{display:"flex",gap:1,justifyContent:"center",alignItems:"center"},children:[r.jsx(jt,{placeholder:"username",sx:{"& .MuiInputAdornment-root":{marginRight:"0px"},width:"312px"},fieldState:A.businessSocialForm.twitter,InputProps:{startAdornment:r.jsxs(Mt,{position:"start",children:[r.jsx(zt,{sx:{width:20,height:20}}),r.jsx(b,{margin:"0 0 0 8px !important",children:"@"})]})}}),r.jsx(jA,{onClick:()=>A.businessSocialForm.twitter.onChange(""),disabled:!A.businessSocialForm.twitter.value,sx:{...Dg},children:r.jsx(Yt,{})})]})]}),r.jsx(NA,{disabled:A.disabledSocialNetworkButton(),sx:{width:"120px"},onClick:A.onEditSocialNetworks,children:x("save")})]})}));function Sg(A){return r.jsx(S,{...A,viewBox:"0 0 24 24",children:r.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.89119 13.43H5.13989H5.3886H5.5544H5.80311H20.8912C20.8912 13.1813 20.8912 12.8497 20.8912 12.601C20.8912 7.46114 17.2435 3.31606 12.4352 2.73575C12.7668 2.48705 12.9326 1.98963 12.9326 1.57512C12.9326 0.663207 12.1865 0 11.3575 0C10.5285 0 9.78238 0.746109 9.78238 1.57512C9.78238 1.98963 9.94818 2.48705 10.2798 2.73575C5.3886 3.23316 1.65803 7.46114 1.65803 12.601C1.65803 12.8497 1.74093 13.0984 1.74093 13.43H2.73575H4.89119ZM0 16H22.6321V13.9275H0V16Z",fill:"#D64300"})})}function Mg(A){return r.jsxs(S,{...A,children:[r.jsx("g",{clipPath:"url(#clip0_1073_42025)",children:r.jsx("path",{d:"M15.7499 12.6563V0.843419C15.7501 0.732585 15.7285 0.62279 15.6862 0.520341C15.6439 0.417892 15.5818 0.324808 15.5034 0.246437C15.4251 0.168065 15.332 0.105949 15.2295 0.0636585C15.1271 0.0213676 15.0173 -0.000265262 14.9065 2.45474e-06H3.37468C2.47974 0.000271488 1.62154 0.355904 0.988719 0.988721C0.355901 1.62154 0.000269033 2.47975 0 3.37469L0 14.6253C0.000269033 15.5203 0.355901 16.3785 0.988719 17.0113C1.62154 17.6441 2.47974 17.9997 3.37468 18H14.9065C15.0173 18.0003 15.1271 17.9786 15.2295 17.9363C15.332 17.8941 15.4251 17.8319 15.5034 17.7536C15.5818 17.6752 15.6439 17.5821 15.6862 17.4797C15.7285 17.3772 15.7501 17.2674 15.7499 17.1566V16.5943C15.7497 16.4684 15.7216 16.3441 15.6675 16.2303C15.6135 16.1166 15.5348 16.0163 15.4373 15.9366C15.2896 15.0673 15.2896 14.1793 15.4373 13.31C15.535 13.2314 15.6138 13.1318 15.6679 13.0187C15.722 12.9056 15.75 12.7817 15.7499 12.6563ZM4.50025 4.71136C4.50025 4.65537 4.5225 4.60168 4.56209 4.56209C4.60168 4.5225 4.65537 4.50026 4.71136 4.50026H12.1641C12.1918 4.50026 12.2193 4.50572 12.2449 4.51633C12.2705 4.52693 12.2938 4.54248 12.3134 4.56209C12.333 4.58169 12.3485 4.60496 12.3591 4.63058C12.3697 4.65619 12.3752 4.68364 12.3752 4.71136V5.41472C12.3752 5.44244 12.3697 5.46989 12.3591 5.49551C12.3485 5.52112 12.333 5.54439 12.3134 5.56399C12.2938 5.5836 12.2705 5.59915 12.2449 5.60976C12.2193 5.62037 12.1918 5.62583 12.1641 5.62583H4.71136C4.65537 5.62583 4.60168 5.60359 4.56209 5.56399C4.5225 5.5244 4.50025 5.47071 4.50025 5.41472V4.71136ZM4.50025 6.96149C4.50025 6.9055 4.5225 6.85181 4.56209 6.81221C4.60168 6.77262 4.65537 6.75038 4.71136 6.75038H12.1641C12.1918 6.75038 12.2193 6.75584 12.2449 6.76645C12.2705 6.77706 12.2938 6.79261 12.3134 6.81221C12.333 6.83182 12.3485 6.85509 12.3591 6.8807C12.3697 6.90632 12.3752 6.93377 12.3752 6.96149V7.66485C12.3752 7.69257 12.3697 7.72002 12.3591 7.74563C12.3485 7.77125 12.333 7.79452 12.3134 7.81412C12.2938 7.83372 12.2705 7.84927 12.2449 7.85988C12.2193 7.87049 12.1918 7.87595 12.1641 7.87595H4.71136C4.65537 7.87595 4.60168 7.85371 4.56209 7.81412C4.5225 7.77453 4.50025 7.72084 4.50025 7.66485V6.96149ZM13.4094 15.7509H3.37468C3.0763 15.7509 2.79013 15.6324 2.57914 15.4214C2.36815 15.2104 2.24962 14.9242 2.24962 14.6258C2.24962 14.3274 2.36815 14.0413 2.57914 13.8303C2.79013 13.6193 3.0763 13.5008 3.37468 13.5008H13.4084C13.3417 14.249 13.3417 15.0017 13.4084 15.7499L13.4094 15.7509Z",fill:"#DD4906"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"clip0_1073_42025",children:r.jsx("rect",{width:"15.7499",height:"18",fill:"white"})})})]})}const kg={mt:2,"&.MuiIconButton-root":{width:"28px",height:"28px",bgcolor:I.red,borderRadius:"50%",position:"relative","&:disabled":{backgroundColor:"gray"},"& .MuiSvgIcon-root":{width:"20px",height:"16px",position:"relative",color:I.white}}};const Tg=U((function(){const A=o.useContext(oA);return o.useEffect((()=>(A.initWebForm(),A.initWebForm)),[A.getSlug]),r.jsx(E,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-between",my:3,mb:10},children:r.jsxs(E,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[r.jsxs(E,{sx:{display:"flex",gap:2,justifyContent:"center",flexDirection:"column",mb:3,width:D.isMobile?"344px":"400px"},children:[r.jsx(E,{children:r.jsxs(E,{sx:{display:"flex",gap:1,justifyContent:"center",alignItems:"center"},children:[r.jsx(E,{children:r.jsx(jt,{sx:{width:"312px"},hiddenLabel:!1,label:x("webPage"),fieldState:A.businessWebForm.website_url,placeholder:x("webpagePlaceholder"),InputProps:{startAdornment:r.jsx(qt,{sx:{width:20,height:20,mr:1}})}})}),r.jsx(jA,{disabled:!A.businessWebForm.website_url.value,sx:kg,onClick:()=>A.businessWebForm.website_url.onChange(""),children:r.jsx(Yt,{})})]})}),r.jsx(E,{children:r.jsxs(E,{sx:{display:"flex",gap:1,justifyContent:"center",alignItems:"center"},children:[r.jsx(E,{children:r.jsx(jt,{sx:{width:"312px"},hiddenLabel:!1,label:x("menuPage"),fieldState:A.businessWebForm.menu_url,placeholder:x("webpagePlaceholder"),InputProps:{startAdornment:r.jsx(Sg,{sx:{width:20,height:20,mr:1}})}})}),r.jsx(jA,{disabled:!A.businessWebForm.menu_url.value,sx:kg,onClick:()=>A.businessWebForm.menu_url.onChange(""),children:r.jsx(Yt,{})})]})}),r.jsx(E,{children:r.jsxs(E,{sx:{display:"flex",gap:1,justifyContent:"center",alignItems:"center"},children:[r.jsx(E,{children:r.jsx(jt,{sx:{width:"312px"},hiddenLabel:!1,label:x("cartPage"),fieldState:A.businessWebForm.carta_url,placeholder:x("webpagePlaceholder"),InputProps:{startAdornment:r.jsx(Mg,{sx:{width:20,height:20,mr:1}})}})}),r.jsx(jA,{disabled:!A.businessWebForm.carta_url.value,sx:kg,onClick:()=>A.businessWebForm.carta_url.onChange(""),children:r.jsx(Yt,{})})]})}),r.jsx(E,{children:r.jsxs(E,{sx:{display:"flex",gap:1,justifyContent:"center",alignItems:"center"},children:[r.jsx(E,{children:r.jsx(jt,{sx:{width:"312px"},hiddenLabel:!1,label:x("bookPage"),fieldState:A.businessWebForm.reservation_url,placeholder:x("webpagePlaceholder"),InputProps:{startAdornment:r.jsx(ku,{sx:{width:20,height:20,mr:1}})}})}),r.jsx(jA,{disabled:!A.businessWebForm.reservation_url.value,sx:kg,onClick:()=>A.businessWebForm.reservation_url.onChange(""),children:r.jsx(Yt,{})})]})})]}),r.jsx(NA,{disabled:A.disabledWebSiteButton(),onClick:A.onEditWebsInfo,sx:{width:"120px"},children:x("save")})]})})}));function Og(A){return r.jsx(S,{...A,viewBox:"0 0 13 8",children:r.jsx("path",{d:"M1.33203 3.99967H10.6654M10.6654 3.99967L7.9987 6.66634M10.6654 3.99967L7.9987 1.33301",stroke:"#D64300",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}const Rg={display:"flex",justifyContent:"center",".MuiDialogContent-root":{p:0},".MuiDialog-container":{".MuiTypography-root":{margin:0}},"& .MuiPaper-root":{width:D.isMobile?"311px":"415px",m:"32px 0",maxWidth:D.isMobile?"311px":"415px",".MuiDialogContent-root":{overflowY:"hidden"}}};const Pg=U((function({isFirstDate:A}){var e,t;const n=o.useContext(oA);return r.jsx(KA,{sx:Rg,open:m.isSelectHourModal,onClose:H,children:r.jsx(yr,{sx:{width:"100%"},openTo:"hours",onChange:e=>{A?n.businessOpenHoursForm.initTime.onChange(e):n.businessOpenHoursForm.endTime.onChange(e)},slotProps:{toolbar:{sx:{py:0}},actionBar:{sx:{pb:"16px",pr:"16px"},actions:["cancel","accept"],onCancel:()=>{H()},onAccept:()=>{H()}}},value:Z(A?null==(e=n.businessOpenHoursForm.initTime)?void 0:e.value:null==(t=n.businessOpenHoursForm.endTime)?void 0:t.value,"HH:mm:ss"),ampm:!1,minutesStep:5})})})),Gg={width:"100%",height:"44px",borderRadius:"24px",border:"1px solid #E0E0E0",display:"flex",alignItems:"center",cursor:"pointer"};const Vg=U((function(){const A=o.useContext(oA),[e,t]=o.useState(!0),[n,s]=o.useState([]),i=A=>{t(A),m.setPrevious("ADD_OPEN_HOUR"),k("SELECT_OPEN_HOUR")},a=(A,e)=>{A&&!n.includes(e)?s([...n,e]):!A&&n.includes(e)&&s(n.filter((A=>A!==e)))};return r.jsxs(r.Fragment,{children:[r.jsx(KA,{open:m.isAddOpenHoursModal,onClose:k,title:x("addHour"),sx:{"& .MuiPaper-root":{maxWidth:D.isMobile?"311px":"415px"}},children:r.jsxs(VA,{spacing:3,children:[r.jsx(E,{children:r.jsx(DA,{color:"gray",text:x("selectDay")})}),r.jsxs(E,{sx:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",columnGap:4,gridAutoRows:"auto"},children:[r.jsxs(E,{sx:{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between",alignItems:"center"},children:[r.jsx(cr,{onChange:(A,e)=>a(e,1)}),r.jsx(DA,{margin:0,text:x("monday")})]}),r.jsxs(E,{sx:{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between",alignItems:"center"},children:[r.jsx(cr,{onChange:(A,e)=>a(e,5)}),r.jsx(DA,{margin:0,text:x("friday")})]}),r.jsxs(E,{sx:{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between",alignItems:"center"},children:[r.jsx(cr,{onChange:(A,e)=>a(e,2)}),r.jsx(DA,{margin:0,text:x("tuesday")})]}),r.jsxs(E,{sx:{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between",alignItems:"center"},children:[r.jsx(cr,{onChange:(A,e)=>a(e,6)}),r.jsx(DA,{margin:0,text:x("saturday")})]}),r.jsxs(E,{sx:{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between",alignItems:"center"},children:[r.jsx(cr,{onChange:(A,e)=>a(e,3)}),r.jsx(DA,{margin:0,text:x("wednesday")})]}),r.jsxs(E,{sx:{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between",alignItems:"center"},children:[r.jsx(cr,{onChange:(A,e)=>a(e,0)}),r.jsx(DA,{margin:0,text:x("sunday")})]}),r.jsxs(E,{sx:{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between",alignItems:"center"},children:[r.jsx(cr,{onChange:(A,e)=>a(e,4)}),r.jsx(DA,{margin:0,text:x("thursday")})]}),r.jsxs(E,{sx:{display:"flex",flexDirection:"row-reverse",justifyContent:"space-between",alignItems:"center"},children:[r.jsx(cr,{onChange:(A,e)=>a(e,7)}),r.jsx(DA,{margin:0,text:x("holidays")})]})]}),r.jsxs(VA,{spacing:1,children:[r.jsx(DA,{margin:0,align:"start",color:"gray",text:x("hourRange")}),r.jsxs(E,{sx:{display:"flex",alignItems:"center",gap:1},children:[r.jsx(E,{sx:Gg,onClick:()=>i(!0),children:r.jsx(DA,{text:Z(A.businessOpenHoursForm.initTime.value,"HH:mm:ss").format("HH:mm")})}),r.jsx(DA,{color:"red",text:"a"}),r.jsx(E,{sx:Gg,onClick:()=>i(!1),children:r.jsx(DA,{text:Z(A.businessOpenHoursForm.endTime.value,"HH:mm:ss").format("HH:mm")})})]})]}),r.jsxs(E,{sx:{display:"flex",justifyContent:"center",gap:2},children:[r.jsx(NA,{sx:{width:"120px"},variant:"outlined",onClick:()=>k(),children:x("cancel")}),r.jsx(NA,{onClick:()=>{A.addNewHours(n),m.setPrevious(),s([]),H()},sx:{width:"120px"},children:x("save")})]})]})}),r.jsx(Pg,{isFirstDate:e})]})})),Ng={display:"flex",justifyContent:"center",".MuiDialogContent-root":{p:0},".MuiDialog-container":{".MuiTypography-root":{margin:0}},"& .MuiPaper-root":{width:D.isMobile?"311px":"415px",m:"32px 0",maxWidth:D.isMobile?"311px":"415px",".MuiDialogContent-root":{overflowY:"hidden"}}};const Xg=U((function({isFirstDate:A,open:e,onAccept:t,onClose:n}){var s,i;const a=o.useContext(oA);return r.jsx(KA,{sx:Ng,open:e,onClose:n,children:r.jsx(yr,{sx:{width:"100%"},openTo:"hours",onChange:e=>{A?a.businessOpenHoursForm.initTime.onChange(e):a.businessOpenHoursForm.endTime.onChange(e)},slotProps:{toolbar:{sx:{py:0}},actionBar:{sx:{pb:"16px",pr:"16px"},actions:["cancel","accept"],onCancel:()=>{null==n||n()},onAccept:()=>{null==t||t(A?a.businessOpenHoursForm.initTime.value:a.businessOpenHoursForm.endTime.value),a.initBusinessOpenHoursForm(),null==n||n()}}},value:Z(A?null==(s=a.businessOpenHoursForm.initTime)?void 0:s.value:null==(i=a.businessOpenHoursForm.endTime)?void 0:i.value,"HH:mm:ss"),ampm:!1,minutesStep:5})})})),Wg={"&.MuiIconButton-root":{width:"28px",height:"28px",bgcolor:I.red,borderRadius:"50%",position:"relative","&:disabled":{backgroundColor:"gray"},"& .MuiSvgIcon-root":{width:"20px",height:"16px",position:"relative",color:I.white}}},Jg={width:"74px",height:"44px",borderRadius:"24px",border:"1px solid #E0E0E0",display:"flex",alignItems:"center",cursor:"pointer","@media(min-width:768px)":{width:"102px"}};const Yg=U((function(){var A;const e=o.useContext(oA),[t,n]=o.useState(!0),[s,i]=o.useState(!1),[a,l]=o.useState(0);o.useEffect((()=>(e.initOpenHours(),e.initOpenHours)),[e.getSlug]);const B=(A,t)=>{var r,s;t?e.businessOpenHoursForm.initTime.onChange(null==(r=e.clonedHours)?void 0:r[A].init_time):e.businessOpenHoursForm.endTime.onChange(null==(s=e.clonedHours)?void 0:s[A].finish_time),n(t),i(!0),l(A)};return r.jsxs(r.Fragment,{children:[r.jsxs(E,{sx:{display:"flex",flexDirection:"column",alignItems:"center",my:3,mb:10},children:[r.jsx(E,{sx:{display:"flex",gap:2,justifyContent:"center",alignItems:"center",flexDirection:"column",mb:3,width:D.isMobile?"344px":"400px"},children:r.jsx(E,{sx:{display:"flex",flexDirection:"column",gap:2},children:null==(A=e.clonedHours)?void 0:A.map((({week_day:A,init_time:t,finish_time:n},s)=>r.jsxs(E,{sx:{display:"flex",gap:2,justifyContent:"space-between",alignItems:"center",width:D.isMobile?"300px":"360px"},children:[r.jsx(E,{sx:{width:"54px"},children:r.jsx(OA,{sx:{width:"54px"},maxWidth:80,weight:"unset !important",text:7===Number(A)?x("holiday"):z()[Number(A)]})}),r.jsx(E,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center"},children:r.jsxs(E,{sx:{display:"flex",alignItems:"center",px:1,gap:1},children:[r.jsx(E,{sx:Jg,onClick:()=>B(s,!0),children:r.jsx(DA,{text:Z(t,"HH:mm:ss").format("HH:mm")})}),r.jsx(Og,{sx:{width:"16px",height:"16px"}}),r.jsx(E,{sx:Jg,onClick:()=>B(s,!1),children:r.jsx(DA,{text:Z(n,"HH:mm:ss").format("HH:mm")})})]})}),r.jsx(jA,{onClick:()=>e.deleteClonedHour(s),sx:Wg,children:r.jsx(Yt,{})})]},s)))})}),r.jsxs(E,{sx:{display:"flex",gap:2},children:[r.jsx(NA,{variant:"outlined",onClick:()=>k("ADD_OPEN_HOUR"),children:x("addHour")}),r.jsx(NA,{disabled:e.disableOpenHoursButton(),onClick:e.onSaveNewHours,sx:{width:"120px"},children:x("save")})]})]}),r.jsx(Vg,{}),r.jsx(Xg,{onAccept:A=>{t&&e.clonedHours?e.clonedHours[a].init_time=Z(A,"HH:mm:ss").format("HH:mm:ss"):e.clonedHours&&(e.clonedHours[a].finish_time=Z(A,"HH:mm:ss").format("HH:mm:ss"))},onClose:()=>{e.initBusinessOpenHoursForm(),i(!1)},open:s,isFirstDate:t})]})}));var _g={exports:{}};!function(A,e){function t(A){return"object"!=typeof A||"toString"in A?A:Object.prototype.toString.call(A).slice(8,-1)}Object.defineProperty(e,"__esModule",{value:!0});var r="object"==typeof process&&!0;function n(A,e){if(!A){if(r)throw new Error("Invariant failed");throw new Error(e())}}e.invariant=n;var s=Object.prototype.hasOwnProperty,o=Array.prototype.splice,i=Object.prototype.toString;function a(A){return i.call(A).slice(8,-1)}var l=Object.assign||function(A,e){return B(e).forEach((function(t){s.call(e,t)&&(A[t]=e[t])})),A},B="function"==typeof Object.getOwnPropertySymbols?function(A){return Object.keys(A).concat(Object.getOwnPropertySymbols(A))}:function(A){return Object.keys(A)};function c(A){return Array.isArray(A)?l(A.constructor(A.length),A):"Map"===a(A)?new Map(A):"Set"===a(A)?new Set(A):A&&"object"==typeof A?l(Object.create(Object.getPrototypeOf(A)),A):A}var u=function(){function A(){this.commands=l({},g),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(A,e){return A===e},this.update.newContext=function(){return(new A).update}}return Object.defineProperty(A.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(A){this.update.isEquals=A},enumerable:!0,configurable:!0}),A.prototype.extend=function(A,e){this.commands[A]=e},A.prototype.update=function(A,e){var t=this,r="function"==typeof e?{$apply:e}:e;Array.isArray(A)&&Array.isArray(r)||n(!Array.isArray(r),(function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."})),n("object"==typeof r&&null!==r,(function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(t.commands).join(", ")+"."}));var o=A;return B(r).forEach((function(e){if(s.call(t.commands,e)){var n=A===o;o=t.commands[e](r[e],o,r,A),n&&t.isEquals(o,A)&&(o=A)}else{var i="Map"===a(A)?t.update(A.get(e),r[e]):t.update(A[e],r[e]),l="Map"===a(o)?o.get(e):o[e];t.isEquals(i,l)&&(void 0!==i||s.call(A,e))||(o===A&&(o=c(A)),"Map"===a(o)?o.set(e,i):o[e]=i)}})),o},A}();e.Context=u;var g={$push:function(A,e,t){return h(e,t,"$push"),A.length?e.concat(A):e},$unshift:function(A,e,t){return h(e,t,"$unshift"),A.length?A.concat(e):e},$splice:function(A,e,r,s){return function(A,e){n(Array.isArray(A),(function(){return"Expected $splice target to be an array; got "+t(A)})),p(e.$splice)}(e,r),A.forEach((function(A){p(A),e===s&&A.length&&(e=c(s)),o.apply(e,A)})),e},$set:function(A,e,t){return function(A){n(1===Object.keys(A).length,(function(){return"Cannot have more than one key in an object with $set"}))}(t),A},$toggle:function(A,e){w(A,"$toggle");var t=A.length?c(e):e;return A.forEach((function(A){t[A]=!e[A]})),t},$unset:function(A,e,t,r){return w(A,"$unset"),A.forEach((function(A){Object.hasOwnProperty.call(e,A)&&(e===r&&(e=c(r)),delete e[A])})),e},$add:function(A,e,t,r){return C(e,"$add"),w(A,"$add"),"Map"===a(e)?A.forEach((function(A){var t=A[0],n=A[1];e===r&&e.get(t)!==n&&(e=c(r)),e.set(t,n)})):A.forEach((function(A){e!==r||e.has(A)||(e=c(r)),e.add(A)})),e},$remove:function(A,e,t,r){return C(e,"$remove"),w(A,"$remove"),A.forEach((function(A){e===r&&e.has(A)&&(e=c(r)),e.delete(A)})),e},$merge:function(A,e,r,s){var o,i;return o=e,n((i=A)&&"object"==typeof i,(function(){return"update(): $merge expects a spec of type 'object'; got "+t(i)})),n(o&&"object"==typeof o,(function(){return"update(): $merge expects a target of type 'object'; got "+t(o)})),B(A).forEach((function(t){A[t]!==e[t]&&(e===s&&(e=c(s)),e[t]=A[t])})),e},$apply:function(A,e){var r;return n("function"==typeof(r=A),(function(){return"update(): expected spec of $apply to be a function; got "+t(r)+"."})),A(e)}},d=new u;function h(A,e,r){n(Array.isArray(A),(function(){return"update(): expected target of "+t(r)+" to be an array; got "+t(A)+"."})),w(e[r],r)}function w(A,e){n(Array.isArray(A),(function(){return"update(): expected spec of "+t(e)+" to be an array; got "+t(A)+". Did you forget to wrap your parameter in an array?"}))}function p(A){n(Array.isArray(A),(function(){return"update(): expected spec of $splice to be an array of arrays; got "+t(A)+". Did you forget to wrap your parameters in an array?"}))}function C(A,e){var r=a(A);n("Map"===r||"Set"===r,(function(){return"update(): "+t(e)+" expects a target of type Set or Map; got "+t(r)}))}e.isEquals=d.update.isEquals,e.extend=d.extend,e.default=d.update,e.default.default=A.exports=l(e.default,e)}(_g,_g.exports);const Zg=i(_g.exports),zg="card";function qg(A){return r.jsx(S,{...A,width:"16",height:"16",viewBox:"0 0 16 16",children:r.jsx("path",{d:"M5.12 12L8 9.12L10.88 12L12 10.88L9.12 8L12 5.12L10.88 4L8 6.88L5.12 4L4 5.12L6.88 8L4 10.88L5.12 12ZM8 16C6.89333 16 5.85333 15.79 4.88 15.37C3.90667 14.95 3.06 14.38 2.34 13.66C1.62 12.94 1.05 12.0933 0.63 11.12C0.21 10.1467 0 9.10667 0 8C0 6.89333 0.21 5.85333 0.63 4.88C1.05 3.90667 1.62 3.06 2.34 2.34C3.06 1.62 3.90667 1.05 4.88 0.63C5.85333 0.21 6.89333 0 8 0C9.10667 0 10.1467 0.21 11.12 0.63C12.0933 1.05 12.94 1.62 13.66 2.34C14.38 3.06 14.95 3.90667 15.37 4.88C15.79 5.85333 16 6.89333 16 8C16 9.10667 15.79 10.1467 15.37 11.12C14.95 12.0933 14.38 12.94 13.66 13.66C12.94 14.38 12.0933 14.95 11.12 15.37C10.1467 15.79 9.10667 16 8 16ZM8 14.4C9.78667 14.4 11.3 13.78 12.54 12.54C13.78 11.3 14.4 9.78667 14.4 8C14.4 6.21333 13.78 4.7 12.54 3.46C11.3 2.22 9.78667 1.6 8 1.6C6.21333 1.6 4.7 2.22 3.46 3.46C2.22 4.7 1.6 6.21333 1.6 8C1.6 9.78667 2.22 11.3 3.46 12.54C4.7 13.78 6.21333 14.4 8 14.4Z",fill:"#D64300"})})}function $g(A){return r.jsx(S,{...A,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:r.jsx("path",{d:"M8 16C6.89333 16 5.85333 15.79 4.88 15.37C3.90667 14.95 3.06 14.38 2.34 13.66C1.62 12.94 1.05 12.0933 0.63 11.12C0.21 10.1467 0 9.10667 0 8C0 6.89333 0.21 5.85333 0.63 4.88C1.05 3.90667 1.62 3.06 2.34 2.34C3.06 1.62 3.90667 1.05 4.88 0.63C5.85333 0.21 6.89333 0 8 0C8.86667 0 9.68667 0.126667 10.46 0.38C11.2333 0.633333 11.9467 0.986667 12.6 1.44L11.44 2.62C10.9333 2.3 10.3933 2.05 9.82 1.87C9.24667 1.69 8.64 1.6 8 1.6C6.22667 1.6 4.71667 2.22333 3.47 3.47C2.22333 4.71667 1.6 6.22667 1.6 8C1.6 9.77333 2.22333 11.2833 3.47 12.53C4.71667 13.7767 6.22667 14.4 8 14.4C9.77333 14.4 11.2833 13.7767 12.53 12.53C13.7767 11.2833 14.4 9.77333 14.4 8C14.4 7.76 14.3867 7.52 14.36 7.28C14.3333 7.04 14.2933 6.80667 14.24 6.58L15.54 5.28C15.6867 5.70667 15.8 6.14667 15.88 6.6C15.96 7.05333 16 7.52 16 8C16 9.10667 15.79 10.1467 15.37 11.12C14.95 12.0933 14.38 12.94 13.66 13.66C12.94 14.38 12.0933 14.95 11.12 15.37C10.1467 15.79 9.10667 16 8 16ZM6.88 11.68L3.48 8.28L4.6 7.16L6.88 9.44L14.88 1.42L16 2.54L6.88 11.68Z",fill:"#D64300"})})}const Ad=p(Ve)`
  &.MuiMenu-root .MuiMenu-paper {
    & .MuiPaper-root {
      border-radius: 18px 0 18px 18px;
    }
  }
`;const ed=U((function({anchorEl:A,active:e=!0,onClose:t,onDelete:n,onDisable:s,onEdit:o}){return r.jsxs(Ad,{anchorEl:A,open:Boolean(A),onClose:t,TransitionComponent:Xe,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"right"},sx:{"& .MuiPaper-root":{borderRadius:"18px 0 18px 18px"},"& .MuiSvgIcon-root":{marginRight:"12px"},"& li.MuiButtonBase-root":{color:I.red,fontSize:M.micro}},children:[r.jsxs(ot,{onClick:o,style:{minHeight:28,color:I.gray},children:[r.jsx(Rt,{}),x("edit")]}),r.jsxs(ot,{onClick:s,style:{minHeight:28,color:I.gray},children:[e?r.jsx(qg,{sx:{height:"22px"}}):r.jsx($g,{sx:{height:"22px"}}),x(e?"disable":"enable")]}),r.jsxs(ot,{onClick:n,style:{minHeight:28,color:I.gray},children:[r.jsx(Yt,{}),x("delete")]})]})}));function td(A){return r.jsxs(S,{...A,children:[r.jsx("path",{d:"M5.11969 8.63977C5.91498 8.63977 6.55969 7.99506 6.55969 7.19977C6.55969 6.40448 5.91498 5.75977 5.11969 5.75977C4.3244 5.75977 3.67969 6.40448 3.67969 7.19977C3.67969 7.99506 4.3244 8.63977 5.11969 8.63977Z",fill:"#D64300"}),r.jsx("path",{d:"M5.11969 14.3998C5.91498 14.3998 6.55969 13.7551 6.55969 12.9598C6.55969 12.1645 5.91498 11.5198 5.11969 11.5198C4.3244 11.5198 3.67969 12.1645 3.67969 12.9598C3.67969 13.7551 4.3244 14.3998 5.11969 14.3998Z",fill:"#D64300"}),r.jsx("path",{d:"M5.11969 19.6798C5.91498 19.6798 6.55969 19.0351 6.55969 18.2398C6.55969 17.4445 5.91498 16.7998 5.11969 16.7998C4.3244 16.7998 3.67969 17.4445 3.67969 18.2398C3.67969 19.0351 4.3244 19.6798 5.11969 19.6798Z",fill:"#D64300"}),r.jsx("path",{d:"M10.8814 8.63977C11.6767 8.63977 12.3214 7.99506 12.3214 7.19977C12.3214 6.40448 11.6767 5.75977 10.8814 5.75977C10.0861 5.75977 9.44141 6.40448 9.44141 7.19977C9.44141 7.99506 10.0861 8.63977 10.8814 8.63977Z",fill:"#D64300"}),r.jsx("path",{d:"M10.8814 14.3998C11.6767 14.3998 12.3214 13.7551 12.3214 12.9598C12.3214 12.1645 11.6767 11.5198 10.8814 11.5198C10.0861 11.5198 9.44141 12.1645 9.44141 12.9598C9.44141 13.7551 10.0861 14.3998 10.8814 14.3998Z",fill:"#D64300"}),r.jsx("path",{d:"M10.8814 19.6798C11.6767 19.6798 12.3214 19.0351 12.3214 18.2398C12.3214 17.4445 11.6767 16.7998 10.8814 16.7998C10.0861 16.7998 9.44141 17.4445 9.44141 18.2398C9.44141 19.0351 10.0861 19.6798 10.8814 19.6798Z",fill:"#D64300"})]})}const rd={"&.MuiAvatar-root":{width:"32px",height:"32px",borderRadius:"5px",mr:"8px","& .MuiAvatar-img":{objectFit:"unset",width:"32px",height:"32px"}}},nd=({card:A,index:e,moveCard:t,onDelete:n,onDisable:s,onEdit:i})=>{const a=o.useRef(null),[l,B]=o.useState(null),[{handlerId:c},d]=u({accept:zg,collect:A=>({handlerId:A.getHandlerId()}),hover(A,r){var n;if(!a.current)return;const s=A.index,o=e;if(s===o)return;const i=null==(n=a.current)?void 0:n.getBoundingClientRect(),l=(i.bottom-i.top)/2,B=r.getClientOffset().y-i.top;s<o&&B<l||s>o&&B>l||(t(s,o),A.index=o)}}),[{isDragging:h},w]=g({type:zg,item:()=>({id:A.slug,index:e}),collect:A=>({isDragging:A.isDragging()})}),p=A=>()=>{B(null),null==A||A()};o.useEffect((()=>{const A=A=>{A.preventDefault()};return h?document.addEventListener("touchmove",A,{passive:!1}):document.removeEventListener("touchmove",A),()=>document.removeEventListener("touchmove",A)}),[h]);const C=h?{display:"flex",alignItems:"center",justifyContent:"space-between",borderRadius:"8px",boxShadow:"0px 4px 12px rgba(0, 0, 0, 0.15)",transform:"scale(1.05)",backgroundColor:"white",opacity:.8}:{display:"flex",alignItems:"center",justifyContent:"space-between",opacity:1,backgroundColor:"transparent"},Q={display:"flex",alignItems:"center",justifyContent:"space-between",opacity:h?.8:1,backgroundColor:"transparent"};return w(d(a)),r.jsxs(E,{sx:D.isDesktop?Q:C,"data-handler-id":c,children:[r.jsxs(E,{ref:a,sx:{display:"flex",alignItems:"center",opacity:A.active?1:.4,backgroundColor:"white",cursor:"move",p:.5,pr:2,borderRadius:"8px",width:"100%"},children:[r.jsx(td,{}),r.jsx(ur,{src:A.icon,variant:"square",sx:rd}),r.jsx(b,{margin:"auto 0px",children:A.name})]}),r.jsxs(E,{children:[r.jsx(xe,{onClick:A=>B(A.currentTarget)}),r.jsx(ed,{active:A.active,anchorEl:l,onClose:()=>B(null),onDelete:p(n),onDisable:p(s),onEdit:p(i)})]})]})};const sd=U((function(){const A=o.useContext(oA),e=o.useMemo((()=>Y({platform:"",setPlatform(A=""){this.platform=A}})),[]),t=()=>{e.setPlatform()};return o.useEffect((()=>()=>{q((()=>{e.platform=""})),A.getDeliveryPlatform()}),[]),r.jsx(Pt,{disabled:A.businessDeliveryForm.isEdit.value,required:!0,validateOnBlur:!0,hiddenLabel:!1,label:x("platform"),fieldState:A.businessDeliveryForm.platform,options:A.getDeliveryPlatformOptions,renderOption:(A,e)=>r.jsx("li",{...A,children:r.jsx(TA,{gutterBottom:!0,sx:{"&":{fontSize:"13px"}},children:e.label})}),placeholder:x("deliveryPlatform"),onChangeInput:(t,r)=>{e.setPlatform("input"===r?t:""),A.setLoadingCities(!0),t&&A.getDeliveryPlatform(t)},loading:A.isLoadingCities,onBlur:t,onChange:t})}));const od=U((function(){const A=o.useContext(oA),e=()=>{A.resetDeliveryForm(),k()};return r.jsx(KA,{open:m.isAddDeliveryService,onClose:e,title:x("addDelivery"),sx:{"& .MuiPaper-root":{maxWidth:D.isMobile?"311px":"415px"}},children:r.jsxs(VA,{spacing:3,children:[r.jsxs(E,{children:[r.jsx(sd,{}),r.jsx(jt,{required:!0,hiddenLabel:!1,label:x("url"),fieldState:A.businessDeliveryForm.url})]}),r.jsxs(E,{sx:{display:"flex",justifyContent:"center",gap:2},children:[r.jsx(NA,{sx:{width:"120px"},variant:"outlined",onClick:e,children:x("cancel")}),r.jsx(NA,{onClick:A.saveDeliveryPlatforms,sx:{width:"120px"},disabled:!A.businessDeliveryForm.url.value||!A.businessDeliveryForm.platform.value,children:x("save")})]})]})})}));const id=U((function({textId:A}){return r.jsxs(VA,{sx:{display:"flex",flexDirection:"column",alignItems:"center",my:3,gap:3,width:D.isMobile?"311px":"367px"},children:[r.jsx(Lt,{height:240}),r.jsx(VA,{children:r.jsx(b,{size:"mini",margin:"0",children:x(A)})})]})}));const ad=U((function(){const A=o.useContext(oA);o.useEffect((()=>(A.initDeliveryPlatforms(),()=>{A.initDeliveryPlatforms()})),[A.getSlug]);const e=o.useCallback(((e,t)=>{A.setDeliveryPlatforms(Zg(A.getDeliveryPlatforms,{$splice:[[e,1],[t,0,A.getDeliveryPlatforms[e]]]}))}),[]),t=e=>()=>{A.setDeliveryPlatforms(A.getDeliveryPlatforms.filter((A=>A.uuid!==e.uuid||A.new_uuid!==e.new_uuid)))},n=e=>()=>{A.setDeliveryPlatforms(A.getDeliveryPlatforms.map((A=>A.uuid&&A.uuid===e.uuid||e.new_uuid&&A.new_uuid===e.new_uuid?{...A,active:!A.active}:A)))},s=e=>()=>{A.businessDeliveryForm.platform.onChange(e.slug),A.businessDeliveryForm.url.onChange(e.url),A.businessDeliveryForm.isEdit.onChange(!0),A.businessDeliveryForm.uuid.onChange(e.uuid),A.businessDeliveryForm.new_uuid.onChange(e.new_uuid),k("ADD_DELIVERY_SERVICE")},i=o.useCallback(((A,o)=>r.jsx(nd,{card:A,index:o,moveCard:e,onDelete:t(A),onDisable:n(A),onEdit:s(A)},A.slug)),[]);return r.jsxs(E,{sx:{display:"flex",flexDirection:"column",alignItems:"center",my:3,mb:10},children:[0===A.getDeliveryPlatforms.length?r.jsx(id,{textId:"noDeliveryServices"}):r.jsx(E,{sx:{display:"flex",flexDirection:"column",gap:1,width:D.isMobile?"334px":"400px",px:2},children:A.getDeliveryPlatforms.map(((A,e)=>i(A,e)))}),r.jsxs(E,{sx:{display:"flex",gap:2,mt:3},children:[r.jsx(NA,{variant:"outlined",onClick:()=>k("ADD_DELIVERY_SERVICE"),children:x("addService")}),r.jsx(NA,{disabled:A.disabledDeliveryServiceButton(A.getDeliveryPlatforms),onClick:()=>{A.editBusinessDeliveryPlatform()},sx:{width:"120px"},children:x("save")})]}),r.jsx(od,{})]})}));const ld=U((function(){const A=o.useContext(oA),e=o.useMemo((()=>Y({platform:"",setPlatform(A=""){this.platform=A}})),[]),t=()=>{e.setPlatform()};return r.jsx(Pt,{disabled:A.businessBookingForm.isEdit.value,required:!0,validateOnBlur:!0,hiddenLabel:!1,label:x("platform"),fieldState:A.businessBookingForm.platform,options:A.getBookingPlatformOptions,renderOption:(A,e)=>r.jsx("li",{...A,children:r.jsx(TA,{gutterBottom:!0,sx:{"&":{fontSize:"13px"}},children:e.label})}),placeholder:x("bookingPlatform"),onChangeInput:(t,r)=>{e.setPlatform("input"===r?t:""),A.setLoadingCities(!0),t&&A.getBookingPlatform(t)},loading:A.isLoadingCities,onBlur:t,onChange:t})}));const Bd=U((function(){const A=o.useContext(oA),e=()=>{A.resetBookingForm(),k()};return r.jsx(KA,{open:m.isAddBookingService,onClose:e,title:x("addBookingService"),sx:{"& .MuiPaper-root":{maxWidth:D.isMobile?"311px":"415px"}},children:r.jsxs(VA,{spacing:3,children:[r.jsxs(E,{children:[r.jsx(ld,{}),r.jsx(jt,{required:!0,hiddenLabel:!1,label:x("url"),fieldState:A.businessBookingForm.url})]}),r.jsxs(E,{sx:{display:"flex",justifyContent:"center",gap:2},children:[r.jsx(NA,{sx:{width:"120px"},variant:"outlined",onClick:e,children:x("cancel")}),r.jsx(NA,{onClick:A.saveBookingPlatforms,sx:{width:"120px"},disabled:!A.businessBookingForm.url.value||!A.businessBookingForm.platform.value,children:x("save")})]})]})})}));const cd=U((function(){const A=o.useContext(oA);o.useEffect((()=>(A.initBookingPlatforms(),A.initBookingPlatforms)),[A.getSlug]);const e=o.useCallback(((e,t)=>{A.setBookingPlatforms(Zg(A.bookingPlatForms,{$splice:[[e,1],[t,0,A.bookingPlatForms[e]]]}))}),[]),t=e=>()=>{A.setBookingPlatforms(A.bookingPlatForms.filter((A=>A.uuid!==e.uuid||A.new_uuid!==e.new_uuid)))},n=e=>()=>{A.setBookingPlatforms(A.bookingPlatForms.map((A=>A.uuid&&A.uuid===e.uuid||e.new_uuid&&A.new_uuid===e.new_uuid?{...A,active:!A.active}:A)))},s=e=>()=>{A.businessBookingForm.platform.onChange(e.slug),A.businessBookingForm.url.onChange(e.url),A.businessBookingForm.isEdit.onChange(!0),A.businessBookingForm.uuid.onChange(e.uuid),A.businessBookingForm.new_uuid.onChange(e.new_uuid),k("ADD_BOOKING_SERVICE")},i=o.useCallback(((A,o)=>r.jsx(nd,{card:A,index:o,moveCard:e,onDelete:t(A),onEdit:s(A),onDisable:n(A)},A.slug)),[]);return r.jsxs(E,{sx:{display:"flex",flexDirection:"column",alignItems:"center",my:3,mb:10},children:[0===A.bookingPlatForms.length?r.jsx(id,{textId:"noBookingServices"}):r.jsx(r.Fragment,{children:r.jsx(E,{sx:{display:"flex",flexDirection:"column",gap:1,width:D.isMobile?"334px":"400px",px:2},children:A.bookingPlatForms.map(((A,e)=>i(A,e)))})}),r.jsxs(E,{sx:{display:"flex",gap:2,mt:3},children:[r.jsx(NA,{variant:"outlined",onClick:()=>k("ADD_BOOKING_SERVICE"),children:x("addService")}),r.jsx(NA,{disabled:A.disabledBookingServiceButton(A.bookingPlatForms),onClick:()=>{A.setBookingPlatforms(A.bookingPlatForms),A.editBusinessBookingPlatform()},sx:{width:"120px"},children:x("save")})]}),r.jsx(Bd,{})]})})),ud=kt(gr)`
  &.MuiSvgIcon-root {
    width: auto;
    height: 200px;
    margin-bottom: 30px;
  }
`;const gd=U((function(){return r.jsx(KA,{open:m.isEditProfileSuccessfully,onClose:H,children:r.jsxs(ge,{direction:"column",display:"flex",alignItems:"center",container:!0,children:[r.jsx(ud,{}),r.jsx(b,{size:"small",color:"black",margin:"20px 0",weight:500,children:x("editProfileSuccess")})]})})}));const dd=U((function(){const A=o.useContext(oA);return r.jsxs(r.Fragment,{children:[r.jsxs(Ye,{value:A.getEditTab,children:[r.jsx(_e,{value:"GENERAL_INFO",children:r.jsx(bg,{})}),r.jsx(_e,{value:"BUSINESS_DETAILS",children:r.jsx(Lg,{})}),r.jsx(_e,{value:"WEB_SITES",children:r.jsx(Tg,{})}),r.jsx(_e,{value:"SOCIAL_NETWORKS",children:r.jsx(jg,{})}),r.jsx(_e,{value:"OPENING_HOURS",children:r.jsx(Yg,{})}),r.jsx(_e,{value:"DELIVERY_SERVICES",children:r.jsx(d,{backend:D.isDesktop?h:w,children:r.jsx(ad,{})})}),r.jsx(_e,{value:"BOOKING_SERVICES",children:r.jsx(d,{backend:D.isDesktop?h:w,children:r.jsx(cd,{})})})]}),r.jsx(gd,{})]})}));const hd=U((function(){const[A,e]=o.useState(null),t=Boolean(A),n=()=>e(null),s=o.useContext(oA);return r.jsxs(r.Fragment,{children:[r.jsx(E,{sx:{display:"flex",justifyContent:"center",mt:3},children:r.jsxs(VA,{gap:1,children:[r.jsx(DA,{text:x("editSection"),size:"mini",align:"start",color:"gray",margin:"0 0 0 15px !important"}),r.jsxs(E,{sx:{display:"flex",justifyContent:"space-between",bgcolor:I.yellowLight,borderRadius:"20px",width:D.isMobile?"344px":"400px",height:"41px",py:1,px:2,cursor:"pointer"},onClick:A=>e(A.currentTarget),children:[r.jsx(DA,{margin:"0 !important",text:x(s.getEditTitle),size:"small",align:"center",color:"red"}),r.jsx(jA,{children:r.jsx(Ke,{})})]})]})}),r.jsxs(Ve,{anchorEl:A,open:t,onClose:()=>n(),TransitionComponent:Xe,sx:{mt:1,"& .MuiPaper-root":{borderRadius:"18px",p:"5px 8px",width:D.isMobile?"344px":"400px"},"& .MuiList-root":{py:1.5,display:"flex",flexDirection:"column",gap:2},"& li.MuiButtonBase-root":{fontSize:M.micro,px:0}},children:[r.jsx(ot,{onClick:()=>{s.checkChanges(Ue.GENERAL_INFO,(()=>{s.onClickGeneralInfo()})),n()},style:{minHeight:28,color:I.gray},children:r.jsx(DA,{margin:"0 !important",text:x("generalInfo"),sx:{px:1.5},size:"small",align:"start",color:"gray",...s.getEditTab===Ue.GENERAL_INFO&&{weight:"bold"}})},"businessGeneralInfo"),r.jsx(ot,{onClick:()=>{s.checkChanges(Ue.BUSINESS_DETAILS,(()=>{s.onClickDetails()})),n()},style:{minHeight:28,color:I.gray},children:r.jsx(DA,{margin:"0 !important",text:x("businessDetails"),sx:{px:1.5},size:"small",align:"start",color:"gray",...s.getEditTab===Ue.BUSINESS_DETAILS&&{weight:"bold"}})},"businessDetails"),r.jsx(ot,{onClick:()=>{s.checkChanges(Ue.WEB_SITES,(()=>{s.onClickWebSites()})),n()},style:{minHeight:28,color:I.gray},children:r.jsx(DA,{margin:"0 !important",text:x("webSites"),sx:{px:1.5},size:"small",align:"start",color:"gray",...s.getEditTab===Ue.WEB_SITES&&{weight:"bold"}})},"webSites"),r.jsx(ot,{onClick:()=>{s.checkChanges(Ue.SOCIAL_NETWORKS,(()=>{s.onClickSocial()})),n()},style:{minHeight:28,color:I.gray},children:r.jsx(DA,{margin:"0 !important",text:x("socialNetworks"),sx:{px:1.5},size:"small",align:"start",color:"gray",...s.getEditTab===Ue.SOCIAL_NETWORKS&&{weight:"bold"}})},"socialNetworks"),r.jsx(ot,{onClick:()=>{s.checkChanges(Ue.OPENING_HOURS,(()=>{s.onClickOpening()})),n()},style:{minHeight:28,color:I.gray},children:r.jsx(DA,{margin:"0 !important",text:x("openHours"),sx:{px:1.5},size:"small",align:"start",color:"gray",...s.getEditTab===Ue.OPENING_HOURS&&{weight:"bold"}})},"openHours"),r.jsx(ot,{onClick:()=>{s.checkChanges(Ue.DELIVERY_SERVICES,(()=>{s.onClickDeliveryServices()})),n()},style:{minHeight:28,color:I.gray},children:r.jsx(DA,{margin:"0 !important",text:x("deliveryServices"),sx:{px:1.5},size:"small",align:"start",color:"gray",...s.getEditTab===Ue.DELIVERY_SERVICES&&{weight:"bold"}})},"deliveryServices"),r.jsx(ot,{onClick:()=>{s.checkChanges(Ue.BOOKING_SERVICES,(()=>{s.onClickBooking()})),n()},style:{minHeight:28,color:I.gray},children:r.jsx(DA,{margin:"0 !important",text:x("bookingServices"),size:"small",sx:{px:1.5},align:"start",color:"gray",...s.getEditTab===Ue.BOOKING_SERVICES&&{weight:"bold"}})},"bookingServices")]}),r.jsx(Le,{onAccept:()=>{s.continueNavigation(),n(),H()}})]})}));const wd=U((function(){return r.jsxs(E,{position:"relative",children:[r.jsx(mg,{}),r.jsx(hd,{}),r.jsx(dd,{})]})}));const pd=U((function(){const A=o.useContext(oA);return r.jsxs(Ye,{value:A.getTab,children:[r.jsx(_e,{value:"MAIN",children:r.jsx(xg,{})}),r.jsx(_e,{value:"EDIT",children:r.jsx(wd,{})})]})}));const Cd=U((function(){const A=c(),e=o.useContext(oA),t=We();o.useLayoutEffect((()=>{var A,t,r,n,s;if(e.getBusiness.name){aA("business",{...e.getBusiness,image:e.getBusiness.main_picture,services:null==(t=null==(A=e.getTags["instalaciones-y-servicios"])?void 0:A.items)?void 0:t.map((({name:A})=>A)).join(", "),types:null==(n=null==(r=e.getTags["tipo-de-negocio"])?void 0:r.items)?void 0:n.map((({name:A})=>A)).join(", "),ogtitle:"business.ogtitle"});const o=null==(s=Object.entries(N[X.language]).find((([,A])=>A===e.getBusiness.main_type_str)))?void 0:s[0];lA("route.business.build",{businessSlug:e.getBusiness.slug,business:o,city:e.getBusiness.city})}return BA}),[e.getBusiness,e.getTags]);const{loadData:n,onClickLikeImage:s,getImagesBusinessStr:i}=e;return o.useEffect((()=>(W(J.ACTIVITY),e.clear(),e.onChangeByCategory(!0),e.setExpandAllCategories(!1),n(A),"RATE_PRODUCT"!==m.current&&(t.delete("productSlug"),R.replace({search:t.toString()})),()=>{document.getElementById("enj-main-layout-id").scrollTop=0,e.clear(),e.resetNavigation()})),[]),o.useEffect((()=>{L.isAuth&&e.loadGeneratedText()}),[L.isAuth]),r.jsxs(E,{sx:{height:"100%"},children:[r.jsx(pd,{}),r.jsx(br,{}),i.getSize?r.jsx(AA.Provider,{value:{name:e.getBusiness.name},children:r.jsx(eA,{open:m.isImageDetailUserGeneric,images:i.getElements,defaultImage:i.getImagesCurrent-1,onClickLikeImage:A=>{s(A,"","IMAGE_DETAIL_USER_GENERIC")},totalElements:i.getCount,onCloseImageDetail:i.onCloseImageDetail,onCallNextItem:A=>{!i.isLoading&&i.hasMore&&A+1>=i.offset&&i.loadData()}})}):r.jsx(r.Fragment,{}),e.haveServices?r.jsx(sA,{services:e.getServices}):r.jsx(r.Fragment,{}),e.getUrl?r.jsx(Hr,{}):r.jsx(r.Fragment,{}),r.jsx(dA,{}),r.jsx(Lr,{}),r.jsx(vr,{}),r.jsx(Kr,{}),e.isVerified?r.jsx(r.Fragment,{}):r.jsxs(r.Fragment,{children:[r.jsx(Er,{}),r.jsx(WA,{}),r.jsx(De,{}),r.jsx(je,{}),r.jsx(lu,{})]}),r.jsx(Se.Provider,{value:{title:"shareBusiness",text:x("shareBusinessText",{name:e.getBusiness.name}),url:window.location.href},children:r.jsx(iu,{})})]})}));export{Cd as default};